Skip to content
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

Add fill_value keyword argument for AreaDefinition.get_lonlats #318

Closed
sfinkens opened this issue Dec 2, 2020 · 1 comment
Closed

Add fill_value keyword argument for AreaDefinition.get_lonlats #318

sfinkens opened this issue Dec 2, 2020 · 1 comment

Comments

@sfinkens
Copy link
Member

sfinkens commented Dec 2, 2020

Problem description

AreaDefinition.get_lonlats() returns Inf for space pixels in the geostationary projection (coming from PROJ). Since NaN may be preferred in some situations (see #302 for examples), add a new fill_value keyword argument to get_lonlats which can be used to change the fill value. In order to stay consistent with pyproj/PROJ, the default should remain Inf.

@sfinkens
Copy link
Member Author

sfinkens commented Dec 6, 2021

Closing, see #302 (comment) for the reasons.

@sfinkens sfinkens closed this as completed Dec 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants