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

'nf_put_var_*' and UNLIMITED ; 'ncstat' status

Two questions I've gotten from colleagues:

1. "nf_put_var_real" doesn't work properly when one of the dimensions defined 
   for the field being "put" is NF_UNLIMITED, apparently. The solution was to 
   use "nf_put_vara_real", but the gotcha in using "nf_put_var_real" was no-
   where in the netCDF-3 documentation.

2. "ncstat" doesn't work on relatively vanilla netCDF files. I built it myself
   (SunOS 5.6, netCDF 3.4 and ncopers-1.2.1) and it reports the following error
   message:

   ncstat: ncopers: -1 is an invalid netCDF-ID

Thanks.
--
Gary Strand
strandwg@xxxxxxxx                         http://www.cgd.ucar.edu/ccr/strandwg

 
 
  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