[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Fwd: Re: Fwd: netCDF and IDV for the Deepwater Horizon]

This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.


  • Subject: Re: [Fwd: Re: Fwd: netCDF and IDV for the Deepwater Horizon]
  • Date: Tue, 25 May 2010 17:40:32 -0600

On 5/25/2010 5:26 PM, Ansley Manke wrote:
Hi John,
Actually the way the data is organized, LON and LAT are not coordinate axes but dependent variables, so wouldn't it be

<?xml version="1.0" encoding="UTF-8"?>
<netcdf xmlns="http://www.unidata.ucar.edu/namespaces/netcdf/ncml-2.2" location="E:/work/deepwater/drifter_example.nc">
<attribute name="Conventions" value="CF-1.5" />
<attribute name="CF:featureType" value="trajectory" />
<variable name="LON">
<attribute name="units" value="degrees_east" />
<attribute name="coordinates" value="TAXIS" />
</variable>
<variable name="LAT">
<attribute name="units" value="degrees_north" />
<attribute name="coordinates" value="TAXIS" />
</variable>
<variable name="SST">
<attribute name="coordinates" value="TAXIS" />
</variable>
<variable name="SPEED">
<attribute name="coordinates" value="TAXIS" />
</variable>
<variable name="DIR">
<attribute name="coordinates" value="TAXIS" />
</variable>
</netcdf>


You could say that the fact that they are "dependent variables" is expressed by the dimensionality LAT(TAXIS), LON(TAXIS), rather than LAT(LAT), LON(LON).

anyway, coordinates here means the georefrenceing coordinates and you do need them in that attribute.