⇐ ⇒

[CF-metadata] WRF staggered grids and vertical coordinates

From: Karl Taylor <taylor13>
Date: Tue, 27 Jan 2004 15:07:59 -0800

Dear all,

I agree with Jonathan that it should be sufficient to list the "latForU"
and "lonForU" in the coordinates attribute and then store the lat and
lon values in these variables.

Karl

P.S. by the way are lat, lon, latForU and lonForU really functions of time?


Jonathan Gregory wrote:
> Dear John
>
> If I have understood this correctly, a CF-compliant file would have to include
> the variables latForU and lonForU, because it is mandatory to supply 2D lat and
> lon variables if lat and lon are not axes. These variables should be listed in
> the coordinates attribute of U, so the data of U can be located in latitude
> and longitude. Isn't it OK to do it in this straightforward way?
>
> There would then be no relation shown in the file between the two grids. My
> point is that this relation (the staggering) can be deduced by inspecting the
> coordinates. Given that this is the case, I don't see the need to introduce any
> new convention to indicate it explicitly, because this would be redundant.
>
> Best wishes
>
> Jonathan
>
>
>
>>float x(x);
>>
>>float x_stag(x_stag);
>>
>>
>>float lat(t, y, x);
>>
>>float lon(t, y, x);
>>
>>float U(t, z, y, x_stag);
>>
>>What are the lat, lon coords of U? They are missing, because there is no
>>
>> float latForU(t, y, x_stag);
>>
>> float lonForU(t, y, x_stag);
>>
>>You cant do the "coordinates" attribute for U with lat and lon because
>>they dont share the same dimensions:
>>
>> float U(t, z, y, x_stag);
>> U:coordinates = "lat lon";
>>
>>I dont see how you could deduce x and x_stag are related without further
>>annotation. The idea of the "stagger" attribute is to explicitly say
>>that x and x_stag are values for the same coordinate, so that you can
>>use the coordinates attribute:
>>
>>float U(t, z, y, x_stag);
>> U:coordinates = "lat lon";
>>
>>float x(x);
>>float x_stag(x_stag);
>> x_stag:stagger="x";
>
> _______________________________________________
> CF-metadata mailing list
> CF-metadata at cgd.ucar.edu
> http://www.cgd.ucar.edu/mailman/listinfo/cf-metadata
>
Received on Tue Jan 27 2004 - 16:07:59 GMT

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

⇐ ⇒