-
Notifications
You must be signed in to change notification settings - Fork 16
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
Mapping of WRF output variables to CF metadata attributes #15
Comments
I would vote for returning the new Dataset with as much useful and as little useless information as possible. So: yes to adding Another thing I'm wondering is: Do we have to worry about different WRF versions wrt metadata? I would expect output fields to be quite robust, but I'm not 100% sure about that. |
RE: the question about different WRF versions and options potentially leading to different output variable names. One way of mitigating the headache this would cause (if it ends up being a headache at all) is to always leave open to the user the option to pass in their own dictionary that maps WRF variable names to standard names. |
Good idea, I'll look into that. Currently working on the implementation but will have to take 1-2 days off due to other commitments at work. |
Should this proposed yaml also include the CF conventions for dimensions on both the coordinates and variables? See discussion in #36 whee Comment by @LejoFlores :
|
Another one of the key features brought up in #2 is being able to describe variables that exist in WRF output with CF metadata attributes. To start, I think that this can be as simple as a yaml file mapping WRF variable names to the corresponding attribute output(s)...although some of the possibilities below may need something more complicated than that? Also, I'm not sure how consistent the variable names are across versions of WRF.
Also, I am wondering how far should we go with metadata manipulation?
standard_name
when such a name is applicable and fixing any broken units?long_name
fields (or renamedescription
tolong_name
)?xwrf
(history)?FieldType
,MemoryOrder
,stagger
)?Finally, based on some other code I have, here's a starting point for that variable -> attr mapping:
The text was updated successfully, but these errors were encountered: