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

NetCDF metadata and selected data variables

This message is in MIME format. Since your mail reader does not understand
this format, some or all of this message may not be legible.

Content-Type: text/plain

Hi All,
I posted the same question last Friday, but I didn't get any response so I
am going to rephrase it now that I have explored the problem myself a little
more.

My program is applying subset and reduction criteria to a netcdf file and
outputting another netcdf file.  I am also allowing the user to choose which
data variables they get in the output.  The problem I am having is that when
I write out the metadata I have conflicting requirements for how that
metadata will look.  How do I reconcile differences in the subset and
reduction criteria which has ben applied to the data variables.  This does
not seem to be posible given the structure of the netcdf file.

When looking closely at the metadata which is written to the output netcdf
file I can see that the length of each coordinate variable is set.   This
doesn't make sense when I am subsequently gong to write out data variables
which either don't use one of the coordinate dimensions at all, or have
different lengths for the coordinate variables.

I suspect I am trying to do something that the netCDF file format does not
support.

Thanks
Brian

------_=_NextPart_001_01C5BD1D.14CC39A8


 
 
  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