You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
First of all, thanks for the nice tutorial and it is available openly. I have been trying to use your method using MCD43A1.061 data.
These are the current crs details:
Hi,
First of all, thanks for the nice tutorial and it is available openly. I have been trying to use your method using MCD43A1.061 data.
These are the current
crs
details:`xarray.DataArray
'crs'
I tried the same code as in your tutorial:
`getpar = lambda a: str(ds.crs.attrs[a])
inproj = Proj(" ".join([
"+proj=sinu",
"+lon_0="+getpar("longitude_of_central_meridian"),
"+x_0="+getpar("false_easting"),
"+y_0="+getpar("false_northing"),
"+a="+getpar("radius_of_sphere"),
"+b="+getpar("radius_of_sphere"),
"+units="+"meter +no_defs"]))
outproj = Proj(init="epsg:4326")
inproj`
It shows error:
CRSError: Invalid projection: +proj=sinu +lon_0=0 +x_0=0 +y_0=0 +a=6371007.181 +b=6371007.181 +units=meter +no_defs +type=crs: (Internal Proj Error: proj_create: Error 1027 (Invalid value for an argument): sinu: Invalid value for units)
I am using pyproj==3.4.1. Do you have any idea why this is not working?
Thank you.
The text was updated successfully, but these errors were encountered: