-
Notifications
You must be signed in to change notification settings - Fork 95
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow proj strings for area definition intialization #29
Comments
This isn't really a solution to this issue at all, but @mraspaud and I have also talked about allowing different numbers of parameters too (figuring parameters out on the fly). As part of mpop 2 we had talked about a new Areas definition file format (INI or other), however since pyresample has utilities for loading from a file I guess this would affect pyresample more than mpop. |
Why not. string to dict conversion can be done like this: dict(item.strip().split("=") for item in p4string.split("+")[1:]) So then it's just a matter of testing in if the argument is a string or a dict and make the conversion if necessary |
Yeah, it's not dificult. Let's see if the build passes :) |
Can I close this issue ? |
yes, please |
Currently AreaDefinition accepts only proj4 dicts. Would be useful to pass proj4 strings, since Proj can parse both.
The text was updated successfully, but these errors were encountered: