⇐ ⇒

[CF-metadata] How to include EPSG codes or WKT information in a CF file [SEC=UNCLASSIFIED]

From: Jonathan Gregory <j.m.gregory>
Date: Mon, 30 Jul 2012 10:10:31 +0100

Dear Tim

There are two open CF trac tickets that relate to this issue, proposing to
add new conventions to store OGC information in different ways in CF. Ticket
80 https://cf-pcmdi.llnl.gov/trac/ticket/80 proposes several new attributes
which correspond to WKT elements that currently do not have grid_mapping
equivalents. Ticket 69 https://cf-pcmdi.llnl.gov/trac/ticket/69 proposed to
add an attribute to record the WKT information without translation. Personally
I prefer the former because I am concerned about duplication and possible
inconsistency of information, but please have a look at the tickets and form
your own view, and add comments if you like. So the answer to your question
is that there is not yet a CF standard way to do it, but there will be.

Best wishes

Jonathan


----- Forwarded message from Timothy Hume <T.Hume at bom.gov.au> -----

> Date: Mon, 30 Jul 2012 11:36:19 +1000
> From: Timothy Hume <T.Hume at bom.gov.au>
> To: "cf-metadata at cgd.ucar.edu" <cf-metadata at cgd.ucar.edu>
> Subject: [CF-metadata] How to include EPSG codes or WKT information in a CF
> file [SEC=UNCLASSIFIED]
>
> Hi,
>
> I am adding grid mapping information to my NetCDF files. My data are on a lon-lat grid on a spherical Earth. I can put in the standard CF attributes, grid_mapping_name etc, but also want to include the EPSG and WKT codes to help software applications that might want these. I have not been able to find out how this is done in NetCDF-CF, so am using this format:
> =
> int crs ;
> crs:grid_mapping_name = "latitude_longitude" ;
> crs:earth_radius = 6371007.0 ;
> crs:prime_meridian = 0.0 ;
> crs:epsg_code = 4047 ;
> crs:wkt = "GEOGCS[\"Unspecified datum based upon the GRS 1980 Authalic Sphere\",DATUM[\"Not_specified_based_on
> _GRS_1980_Authalic_Sphere\",SPHEROID[\"GRS 1980 Authalic Sphere\",6371007,0,AUTHORITY[\"EPSG\",\"7048\"]],AUTHORITY[\"EPSG\",\
> "6047\"]],PRIMEM[\"Greenwich\",0,AUTHORITY[\"EPSG\",\"8901\"]],UNIT[\"degree\",0.01745329251994328,AUTHORITY[\"EPSG\",\"9122\"]],AUTHORITY[\"EPSG\",\"4047\"]]" ;
>
> What do other people do when including this extra grid information?
>
> Cheers,
>
> Tim Hume
> Centre for Australian Weather and Climate Research
> Bureau of Meteorology
> Melbourne
> Australia
> _______________________________________________
> CF-metadata mailing list
> CF-metadata at cgd.ucar.edu
> http://mailman.cgd.ucar.edu/mailman/listinfo/cf-metadata

----- End forwarded message -----
Received on Mon Jul 30 2012 - 03:10:31 BST

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

⇐ ⇒