-
Notifications
You must be signed in to change notification settings - Fork 64
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
capgen must implement the unit conversion module (50 hours) #329
Comments
The current design for this feature includes infrastructure for all known variable transforms (currently units, kind, and dimension ordering). |
@gold2718 Both @dustinswales and myself started looking into enabling these var actions in the auto-generated code, but we were wondering if you have time to meet with us and share how you would have approached it. Clearly you must have had a path in mind when you coded up the various bits and pieces, but it's a little hard to follow for someone who didn't write the code ... and we want to get it right. |
I would love to meet but would like to include @peverwhee who has been doing the majority of the capgen coding these days. |
Thanks Steve, and yes, Courtney, Dustin and I talked just yesterday about meeting with you. Since I don't have your current email address, would you mind sending an email to me (my NOAA address still works) and I'll organize something. Thanks very much! |
This PR adds automatic conversions for supported unit and type transforms. Also, included is a new ccpp variable property to indicate a scheme variables vertical orientation vertical, top_at_one. As default, top_at_one is set to .false.(GFS ordering convention). Adding top_at_one = .true. to a variable in a schemes metadata file will trigger automatic array flipping: Addresses #329 and #403 Conversions supported: https://github.com/NCAR/ccpp-framework/blob/main/scripts/conversion_tools/unit_conversion.py --------- Co-authored-by: dustinswales <dswales@ucar.edu> Co-authored-by: Grant Firl <grantf@ucar.edu> Co-authored-by: Dom Heinzeller <dom.heinzeller@icloud.com>
Closed via #504 |
capgen
must implement automatic unit conversions.The set of known unit conversions is already in conversion_tools/unit_conversion.py
The text was updated successfully, but these errors were encountered: