-
Notifications
You must be signed in to change notification settings - Fork 23
Compute non-parametric vertical coordinates #158
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
Conversation
Co-authored-by: Sadie L. Bartholomew <sadie.bartholomew@ncas.ac.uk>
Co-authored-by: Sadie L. Bartholomew <sadie.bartholomew@ncas.ac.uk>
Co-authored-by: Sadie L. Bartholomew <sadie.bartholomew@ncas.ac.uk>
Co-authored-by: Sadie L. Bartholomew <sadie.bartholomew@ncas.ac.uk>
Co-authored-by: Sadie L. Bartholomew <sadie.bartholomew@ncas.ac.uk>
Co-authored-by: Sadie L. Bartholomew <sadie.bartholomew@ncas.ac.uk>
Co-authored-by: Sadie L. Bartholomew <sadie.bartholomew@ncas.ac.uk>
…thon into formula_terms
Co-authored-by: Sadie L. Bartholomew <sadie.bartholomew@ncas.ac.uk>
Co-authored-by: Sadie L. Bartholomew <sadie.bartholomew@ncas.ac.uk>
Co-authored-by: Sadie L. Bartholomew <sadie.bartholomew@ncas.ac.uk>
Co-authored-by: Sadie L. Bartholomew <sadie.bartholomew@ncas.ac.uk>
|
Note NCAS-CMS/cfdm#109 |
sadielbartholomew
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have a small number of further minor comments (some of which should really be addressed pre-merge though will be very quick to fix), but overall this looks great: well tested and well-designed in terms of static methods to provide the code reuse for the logic required for the class methods corresponding to the various standard names with formulas (atmosphere_ln_pressure_coordinate, atmosphere_sigma_coordinate etc.). 🔥
Co-authored-by: Sadie L. Bartholomew <sadie.bartholomew@ncas.ac.uk>
Co-authored-by: Sadie L. Bartholomew <sadie.bartholomew@ncas.ac.uk>
Co-authored-by: Sadie L. Bartholomew <sadie.bartholomew@ncas.ac.uk>
Co-authored-by: Sadie L. Bartholomew <sadie.bartholomew@ncas.ac.uk>
…thon into formula_terms
|
Hi Sadie, Thanks as ever for the careful review. I've accepted all of your suggestions - hopefully implementing them correctly! Are we good to go? |
|
Thanks David. Yes this is definitely good to go! Please merge away. |
|
Great! |
Fixes #142
The method is (roughly)
For each coordinate reference construct,
Field.compute_vertical_coordinatescalls functionformulaThe
formulafunction calls the appropriate coordinate-calculator function (e.g.atmosphere_hybrid_height_coordinate) and returns eitherNoneif the vertical coordinates can not be calculated from the coordinate reference constructor
If coordinates were computed then they are inserted into the field construct