⇐ ⇒

[CF-metadata] Need help writing point netCDF 3 dataset

From: Mark Ohrenschall <Mark.A.Ohrenschall>
Date: Tue, 28 Nov 2006 10:05:10 -0700

Thanks Ethan, I appreciate it. Here's the current CDL and the attached
test file (I wasn't toggling the flower pot icon, just what I was
writing to the header):

netcdf D:/test.nc {
 dimensions:
   recNum = UNLIMITED; // (99 currently)
 variables:
   short sst(recNum=99);
     :standard_name = "sea_surface_temperature aerosol-corrected";
     :long_name = "Aerosol Corrected SST";
     :units = "degC";
     :add_offset = 0.0f; // float
     :scale_factor = 0.1f; // float
     :valid_range = -20s, 350s; // short
     :coordinates = "latitude longitude obstime";
   short latitude(recNum=99);
     :standard_name = "latitude";
     :long_name = "Latitude";
     :units = "degrees_north";
     :add_offset = 0.0f; // float
     :scale_factor = 0.01f; // float
     :valid_range = -9000s, 9000s; // short
     :_CoordinateAxisType = "Lat";
   int obstime(recNum=99);
     :standard_name = "time";
     :long_name = "Date and Time of Observation";
     :units = "seconds since 1970-01-01 00:00:00 GMT";
     :_CoordinateAxisType = "Time";
   short longitude(recNum=99);
     :standard_name = "longitude";
     :long_name = "Longitude";
     :units = "degrees_east";
     :add_offset = 0.0f; // float
     :scale_factor = 0.01f; // float
     :valid_range = -18000s, 17999s; // short
     :_CoordinateAxisType = "Lon";

 :Conventions = "Unidata Observation Dataset v1.0";
 :title = "Sea Surface Temperatures calculated at points based on satellite observations.";
 :cdm_datatype = "Point";
 :observationDimension = "recNum";
 :geospatial_lat_max = 90; // int
 :geospatial_lat_min = -90; // int
 :geospatial_lon_max = 180; // int
 :geospatial_lon_min = -180; // int
 :time_coverage_start = "2000-01-01 00:00:00 UTC";
 :time_coverage_end = "2007-01-01 00:00:00 UTC";
}

Cheers *--* Mark

Ethan Davis wrote:
> Nothing wrong jumps out at me in your first CDL. Can you send me a
> sample data file so I can take a closer look at it?
>
> Your new CDL doesn't have some of the required global conventions
> (like the Conventions attribute containing "Unidata Observation
> Dataset v1.0"). Also, there aren't any "_Coordionate" variable
> attributes. Are both CDLs output from ToolsUI? Did you de-select the
> "flower pot" icon (at least that's what it looks like to me) for the
> second CDL dump?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.cgd.ucar.edu/pipermail/cf-metadata/attachments/20061128/72c84da4/attachment-0002.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test.nc
Type: application/octet-stream
Size: 3188 bytes
Desc: not available
URL: <http://mailman.cgd.ucar.edu/pipermail/cf-metadata/attachments/20061128/72c84da4/attachment.obj>
Received on Tue Nov 28 2006 - 10:05:10 GMT

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

⇐ ⇒