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

Reparing netCDF files

Hi,

I have a few netCDF files needing repair. I was running this model for
many days on my workstation. A power failure made my job terminate in
the middle. I have several netCDF output files which have data in them
(I can tell from their sizes) but the unlimited dimension is still set
to zero. If I try to read the files with the the netCDF library it
does let me read anything, because the library checks the requested
dimensions, and it thinks there is no data in it.

My question: Is there a simple way for me to change "by hand" the
             unlimited dimenion *time*. I know what it should be.


I am pretty sure I am not the first one running into this kind of
problems. In any event, would it be adding too much overhead to have
netCDF updating the unlimited dimension on file everytime it writes a
hyperslab?

Any help greatly appreciated.

    Arlindo.

-- 

   *---------------------------------------------------------------------*
   |                                                                     |
   |             ^|^                ARLINDO MORAES DA SILVA, JR.         |
   |              |                 Data Assimilation Office, NASA/GSFC  |
   |             _|_                7501 Forbes Blvd, Suite 200          |
   |      @  ___|___|__             Seabrook, MD 20706                   |
   |     _|_|__________|_______/                                         |
   |    \  o o o o o o o  /         Office: (301) 805-7959               |
   |     \_______________/             FAX: (301) 805-7960               |
   |  ^^^^^^^^^^^^^^^^^^^^^^^^                                           |
   | E-mail: dasilva@xxxxxxxxxxxxx    Home: (301) 754-1121               |
   |                                                                     |
   *---------------------------------------------------------------------*
                                  



 
 
  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