⇐ ⇒

[CF-metadata] vertical coordinates and positive attributes

From: John Graybeal <jbgraybeal>
Date: Wed, 29 Jan 2014 09:40:42 -0800

it will be interesting to see if/how others on the list weigh in. I agree with Jonathan on the implication of the words, and the importance of people using the standard correctly. At the same time, the CF Standard Names specification language is 'soft' -- I do not recall an explicit statement in the standard name definition (or anywhere else) that the axis units are always positive down when standard name is depth. (This ambiguity exists in other standard names as well.)

John

On Jan 29, 2014, at 09:26, Jonathan Gregory <j.m.gregory at reading.ac.uk> wrote:

> Dear Steve
>
>> In practice I do not think that
>> standard_name=depth and positive=up are necessarily in conflict (see
>> bold text below). We fairly commonly encounter ocean model outputs
>> in which the depths are encoded as negatives:
>>
>> 0
>> -10
>> -20
>> ...
>>
>> There are merits to this encoding -- especially apparent in coupled
>> ocean/atmosphere situations. (Also it preserves the right-handed
>> coordinate system.) It would be quite peculiar (and a frequent
>> source of error) to insist that an ocean model output file name its
>> Z axis as "altitude", simply because it has encoded the depth values
>> as negatives. The purpose of the 'positive' attribute is to inform
>> the application when the encoding of values and the physical
>> interpretation of the Z axis are reversed from one another.
>
> Maybe it's annoying, but I can't agree with that. I would say that such depth
> values are wrong. The standard_name depth is defined as "the vertical distance
> below the surface". -10 m means 10 m above the surface. There's no point in
> having standard names unless we use them correctly, and this is one of the
> kinds of imprecision standard names can help eliminate. It's fine for the ocean
> model to encode -10 m for 10 m below the surface if it wants to, but then it
> should use the standard_name of height instead (or altitude, since distance
> above the surface and above the geoid is approx the same thing in ocean areas).
> In all the ocean model data I work with (mostly from CMIP), depth is a positive
> number, as it should be.
>
> Best wishes
>
> Jonathan
> _______________________________________________
> CF-metadata mailing list
> CF-metadata at cgd.ucar.edu
> http://mailman.cgd.ucar.edu/mailman/listinfo/cf-metadata
Received on Wed Jan 29 2014 - 10:40:42 GMT

This archive was generated by hypermail 2.3.0 : Tue Sep 13 2022 - 23:02:41 BST

⇐ ⇒