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 'level' to DatasetID #279

Closed
djhoese opened this issue May 2, 2018 · 6 comments
Closed

Add 'level' to DatasetID #279

djhoese opened this issue May 2, 2018 · 6 comments
Assignees
Labels
enhancement code enhancements, features, improvements

Comments

@djhoese
Copy link
Member

djhoese commented May 2, 2018

Problem description

We currently have no way of describing data at certain pressure levels. In the NUCAPS reader I do something semi-hacky where I append the pressure level (in millibars) to the dataset name. This results in ~100 new dataset entries for each dataset that can only be identified by knowing the exact name. Due to how NUCAPS does things these datasets are 1D arrays iirc. It is also possible to request the generic dataset and get a 2D array that is (pressure level, rows * cols).

Proposed Solution

Add a level field to DatasetID. Default value can be None, otherwise it is a number of the millibars pressure level of the dataset. Biggest issue with this is we should really only support one type of "level": Do we do millibar pressure level or do we do altitude in meters?

@djhoese djhoese added the enhancement code enhancements, features, improvements label May 2, 2018
@pnuu
Copy link
Member

pnuu commented May 2, 2018

Often NWP data (and IASI L2 soundings) are on "hybrid" levels. Don't really know what they are, but there are 137 of them in the ECMWF model (same levels are used in IASI L2 data).

@djhoese
Copy link
Member Author

djhoese commented May 2, 2018

What does "hybrid" mean in this case?

@pnuu
Copy link
Member

pnuu commented May 2, 2018

Don't really know. That's what the NWP people call them.

Quick search forwarded me to this: https://en.wikipedia.org/wiki/Sigma_coordinate_system

@djhoese djhoese mentioned this issue May 4, 2018
6 tasks
@djhoese
Copy link
Member Author

djhoese commented May 7, 2018

@pnuu If someone makes a vague request for a dataset (ex. by name, but it has multiple levels), should the highest level (highest pressure, lowest altitude) be returned or the lowest level (lowest pressure, highest altitude)?

@pnuu
Copy link
Member

pnuu commented May 7, 2018

I would go for the lowest level (highest pressure, lowest altitude). But the user might except something else, e.g. when the data is something upper-atmosphere stuff. But at least the lowest level often shows something recognizable, like land/sea areas, clouds, etc.

@djhoese
Copy link
Member Author

djhoese commented May 22, 2018

This was added by #283

@djhoese djhoese closed this as completed May 22, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement code enhancements, features, improvements
Projects
None yet
Development

No branches or pull requests

4 participants