NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.
To learn about what's going on, see About the Archive Site.
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
netcdfgroup
archives: