Replies: 1 comment 1 reply
-
CRS objects are immutable. But, you can achieve what you want with the functionality to build a CRS: https://pyproj4.github.io/pyproj/stable/build_crs.html |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
One thing we in the pyresample/satpy community sometimes use is the idea of a partial CRS where we will fill in some of the parameters later. We do this currently with PROJ parameter dictionaries. One use case would be: I am going to resample my data to a target projection/grid, but I don't know all of the parameters yet. So maybe I know I want a LCC projection and I want
lat_1
andlat_2
to be25.0
, but I want to center the projection (lon_0
, longitude of natural origin) to the middle of the data.So in the code I could do something like:
Is there any way to do something like this with pyproj without going back to PROJ dicts? Is there any functionality for assigning/replacing parameters on a CRS object?
Beta Was this translation helpful? Give feedback.
All reactions