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

Use metpy.parse_cf() to detect x/y #17

Open
ahuang11 opened this issue Jul 20, 2023 · 1 comment
Open

Use metpy.parse_cf() to detect x/y #17

ahuang11 opened this issue Jul 20, 2023 · 1 comment

Comments

@ahuang11
Copy link
Contributor

Here, it seems like lat/lon is hardcoded:
https://github.com/developmentseed/titiler-xarray/blob/main/titiler/xarray/reader.py#L52

One way to address finding x/y is using https://unidata.github.io/MetPy/latest/api/generated/metpy.xarray.html

@abarciauskas-bgse
Copy link
Contributor

@ahuang11 thank you for this issue and sorry I never responded. I tried using metpy and it worked quite nicely but I found it was a too heavy a dependency for our lambda at this time. I'll leave this open for now since we may migrate off lambda in the future and could leverage metpy then.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants