Due to the current gap in continued funding from the U.S. National Science Foundation (NSF), the NSF Unidata Program Center has temporarily paused most operations. See NSF Unidata Pause in Most Operations for details.

[IDV #NYY-367135]: updates - netCDF / CF / IDV

Hi Mark:

COARDS does not support 2D lat/lon coordinates. You will need to use CF:

  1. change "Conventions" to "CF-1.0"
  2. lat/lon coordinates need units of "degrees_north", "degrees_east", not 
"degrees"
  3. data variables need an attribute "coordinates" with value "latitcrs 
longicrs"

the equivilent NcML:

<?xml version="1.0" encoding="UTF-8"?>
<netcdf xmlns="http://www.unidata.ucar.edu/namespaces/netcdf/ncml-2.2"; 
location="C:/data/2005052500_012-mss.nc">
 
  <attribute name="Conventions" type="String" value="CF-1.0" />
 
  <variable name="latitcrs">
    <attribute name="units" type="String" value="degrees_north" />
  </variable>

  <variable name="longicrs" >
    <attribute name="units" type="String" value="degrees_east" />
  </variable>
 
  <variable name="t" >
    <attribute name="coordinates" type="String" value="latitcrs longicrs" />
  </variable>
 
</netcdf>



Ticket Details
==================
Ticket ID: NYY-367135
Department: Support netCDF Java
Priority: Emergency
Status: Open


  • 2007 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the netcdf-java archives: