Unidata - To provide the data services, tools, and cyberinfrastructure leadership that advance Earth system science, enhance educational opportunities, and broaden participation. Unidata
         
  advanced  
 

Re: [netcdfgroup] 2D coordinate variables

Thank you, Ed. We're using C API, and I believe we will not use Java for
this conversion. However, if Java has some special features regarding
coordinate variables, please let me know.

Also, we're using netCDF4 snapshot with --enable-netcdf4 option so that the
generated file is an HDF5 file.

Thanks,
Choonghwan

-----Original Message-----
From: Ed Hartnett [mailto:ed@xxxxxxxxxxxxxxxx] 
Sent: Wednesday, April 09, 2008 6:26 AM
To: Choonghwan Lee
Cc: netcdfgroup@xxxxxxxxxxxxxxxx
Subject: Re: [netcdfgroup] 2D coordinate variables

"Choonghwan Lee" <cholee@xxxxxxxxxxxx> writes:

> Thank you for correcting my mistake. I forgot to make XDim and YDim
> coordinate variables.
>
> However, my question still remains. Regardless of this modification,
ncdump
> can open and dump data. However, I don't know if this is standardized way
> and netCDF4 recognizes "lon" and "lat".
>
> Thanks,
> Choonghwan Lee
>

Howdy!

Sorry it took so long to answer this question, but I was on a family
vacation. (And it was wonderful! ;-)

First I must ask if you are approaching this problem from C or Java?

The simple answer is that the netCDF data format does not make any
special accommodation for coordinate variables. They are treated like
any other variable.

The special handling of coordinate variables happens at the level of
software above netCDF. If you are using software at that level, it is
not always clear where the netCDF format ends, and the conventions
begin.

Thanks,

Ed


-- 
Ed Hartnett  -- ed@xxxxxxxxxxxxxxxx



 
 
  Contact Us     Site Map     Search     Terms and Conditions     Privacy Policy     Participation Policy
 
National Science Foundation (NSF) UCAR Community Programs   Unidata is a member of the UCAR Community Programs, is managed by the University Corporation for Atmospheric Research, and is sponsored by the National Science Foundation.
P.O. Box 3000     Boulder, CO 80307-3000 USA     Tel: 303-497-8643     Fax: 303-497-8690