-
Notifications
You must be signed in to change notification settings - Fork 11
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
Data with coordinate variables (lat, lon, etc.) with names not included in internal_names #293
Comments
Indeed coordinates with similar but different names are so common that we have built a number of commonly-used internal names into aospy (in internal_names.py):
Unlike in the case of In the meantime, it looks like of the examples you listed, we are currently missing only
I think #266 addresses this (though it's not in a released version of aospy yet). I'll let @spencerahill comment more since he is more familiar with the change. |
The first part of this is addressed by #296 , though only ( The second part of this remains open. |
If I'm understanding your use case correctly, the new |
Is your need simply to add an alternate name for the pressure varaible? Is it for pressure-interpolated data, sigma coordinates, or some other coordinate? |
That should work -- everything I'm trying to work with at the moment has been interpolated onto pressure coordinates. And in fact, if time is marked as |
Great idea. Let us know if that doesn't work. What is the name of the pressure coordinate in your data? That could be handled with a rename in your preprocces function as well, but in the future we could also add it to |
Hey @spencerkclark, do you think you might be able to help me figure out what's wrong with the CI for a PR I wrote on this issue? https://github.com/jdossgollin/aospy/branches then see build fail at |
Sure thing @jdossgollin -- could you do me a favor and go ahead and submit a PR from your branch? I think it will be easier for me to access the build log/review the code that way. |
This may be two separate questions, but longitudes are often treated differently across models. Specifically:
alt_names
for a coordinate so that we can deal with something which isX
,lon
, or `longitude?This seems like something which would go in the
model
creationThe text was updated successfully, but these errors were encountered: