Repository navigation
Conversation
07631e4 to
a26cacc
Compare
|
Pinging @rhattersley. Let me know if there is anything else I need to do in this PR |
|
👍 - though I have 0 knowledge of this part of the codebase. |
|
The CF spec for something like ocean sigma over z defines the derived coordinate as "height, positive upwards, relative to ocean datum (e.g. mean sea level)". I note the use of the vague term "ocean datum" and "e.g." which implies the ability to use any well defined vertical datum. So even with complete CF compliance the standard name of the derived coordinate is not limited to a single value. (It might not even have a standard name!) But the source coordinates such as |
That is not OK for me. I interpret Pinging @rsignell-usgs to help interpret the CF-conventions (or maybe we should call a lawyer?) |
|
I was just talking to Jonathan Gregory about this. The CF documentation is very vague on the calculation of dimensionless vertical coordinates. We agreed that we need a way to say that the output of the calculated vertical coordinate is "height_above_geopotential_surface" and then be able to specify that this geopotential surface is something like NAVD88 or ODN. @ocefpaf is correct that the water level and water depth variable are not coordinates, but since those variables are the only way to get the units of the computed vertical coordinate, that's where they come from in the computation of |
|
Because |
|
That's right. I will propose a new attribute on a CF ticket. I was thinking of making it sound more general such as |
|
By the way, I agree with Richard's interpretation. The |
That makes sense - I over simplified in haste. They're both the height of something relative to the same datum, but one is explicitly the height of the sea surface and the other is the height of the phenomenon. They will have different standard names. So in the absence of any extensions to CF, how about a map from
We'd also want to include the aliases. |
Better than what we have now. I will change this PR to reflect that. |
a26cacc to
76d6d1f
Compare
|
Here are all possible derived_names = dict(
sea_surface_elevation='elevation',
sea_surface_height='height',
sea_surface_height_above_geoid='altitude', # or 'height_above_geoid' ?
sea_surface_height_above_reference_ellipsoid='height_above_reference_ellipsoid',
sea_surface_height_above_sea_level='height_above_sea_level',
water_surface_height_above_reference_datum='height_above_reference_datum'
)After some thinking I have to say that I do not like this extra complexity. I think that calling all the derived My problem with this complexity is the difficulty to access the * In an ideal world What do you think @rsignell-usgs and @rhattersley? |
|
Dear @rsignell-usgs, @ocefpaf and @rhattersley Following my conversation with Rich and this discussion, please have a look at the proposal I have made in CF ticket http://cf-trac.llnl.gov/trac/ticket/143. Jonathan |
|
By the way, can you tell me if I can request github to copy my own comments back to me by email (for the record)? Thanks. |
|
@JonathanGregory , github does not send you notifications of your own changes. So I always go to the top of the e-mail thread and click on the "View it on GitHub" link at the bottom of the 1st notification. By viewing the convervation on github issues instead of in your e-mail you can see your comments and also benefit from the embedded images, code syntax highlighting, etc. Just like on Trac issues. |
|
I am closing this. The CF way will be http://cf-trac.llnl.gov/trac/ticket/143. For now I will keep using the wrong and awfully long |
|
Agreed. |
|
The CF way: we should encourage the use of |
After a whole day banging my head against the wall to figure out why a
sea surfacefilter I created was removing my z coord I realized we made a mistake in thestandard_namefor the derived z coord in ocean models. (See #509 and my reckless copying-and-pasting after that!)This PR changes
sea_surface_height_above_reference_ellipsoidtoaltitude. From the CF-1.6 document:PS: -z is altitude 😉