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

[IDV #GBB-964494]: IDV - reading .nc file



Hi Michelle,

The 2003.BAMEX.NRL_P3*.nc file uses the "NCAR-RAF/nimbus"
convention version 1.2 but it doesn't contain a variable called "ALT"
which the 1.2 version expects. You can wrap the dataset in NcML to rename
the "GALT" variable to "ALT". There are a few changes in the units as well
that will help. Below is some NcML I put together.

Looks like the other file is similar but the version is "1". We support
"1.2" and "1.3". The "NCAR-RAF/nimbus" convention document is available
at http://www.eol.ucar.edu/raf/Software/netCDF.html.

Here is the NcML so far for the 2003.BAMEX.*.nc file:


<?xml version="1.0" encoding="UTF-8"?>
<netcdf xmlns="http://www.unidata.ucar.edu/namespaces/netcdf/ncml-2.2"; 
location="2003.BAMEX.NRL_P3.LRT.RF04.20030602.154500_014050.PNI.nc">
  <variable name="ALT" orgName="GGALT">
    <attribute name="units" value="meters" />
  </variable>
  <variable name="LAT">
    <attribute name="units" value="degrees_north" />
  </variable>
  <variable name="LON">
    <attribute name="units" value="degrees_east" />
  </variable>

</netcdf>

I'm getting further but still having some trouble getting that to read in.

I'm out of town till next Wednesday. I'll dig into this a bit more then. Sorry 
for the delay.

Ethan


> Hello,
> 
> Thanks for your quick response - much appreciated.
> 
> Here is a link to download both the NOAA P-3 and NRL P-3 flight tracks:
> 
> http://thunder.atmos.colostate.edu/~mharrold/
> 
> Thank you,
> Michelle Harrold

Ticket Details
===================
Ticket ID: GBB-964494
Department: Support netCDF Java
Priority: Normal
Status: Open