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

Re: Re: GMU WCS Server supports netCDF output

Hi,
I tried to write some code to read grid_mapping as stipulate in Appendix F.

But, I got some problems with the example file RUC.nc.  
Lambert_Conformal_projection did not have a standard_parallel #2 variable, and 
I did not know how to convert it to OGR. (The code is comment out at th e end 
of netcdfdataset.cpp for futur implementation. )

Regards,
Denis

---------- Message transf=E9r=E9 ----------
From: yliu5@xxxxxxx
To: warmerdam@xxxxxxxxx
Date: Thu, 25 Aug 2005 16:07:43 -0400
Subject: Re: GMU WCS Server supports netCDF output
Hi Frank,

I believe the file is correct. Please refer to CF conventions document at

http://www.cgd.ucar.edu/cms/eaton/cf-metadata/CF-1.0.html

Chapter 5.6 and Appendix F.

Actually the data is in UTM projection, but I can't find how to specify
UTM in netCDF. So I used Transverse Mercator instead. Is there any other way
to specify projections?
There are two variables called xdim and ydim. From them you can get the
x-coordinate and y-coordinate of every pixel. Therefore we can get anything
we want such as the offset, origin, etc. And also there are lat/lon
variables storing the lat/lon of every pixel. That makes the netCDF file
much larger than the original HDF-EOS file. If you have any better idea to
avoid those unnecessary variables, please let me know. Thanks.

Regards,
Yang Liu
LAITS,GMU



 
 
  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