Tool for truncating NetCDF files?

I was storing output from a numerical model at successive time steps 
along the unlimited time dimension in my NetCDF file, and by mistake,
I let the model run too long and the NetCDF file got too large to 
fit on a CD-ROM.  

Does anyone have a tool that would effectively allow me to "clip" the
end off my netCDF file?  In other words, create a 
file with all the same variables and attributes, but just fewer
steps along the "unlimited" dimension? 

I know how I would write it myself, but it seems like this might be
a problem someone has already solved....

Thanks,
-- 
Rich Signell               |  rsignell@xxxxxxxxxxxxxxxxxx
U.S. Geological Survey     |  (508) 457-2229  |  FAX (508) 457-2310
384 Woods Hole Road        |  http://crusty.er.usgs.gov/rsignell.html
Woods Hole, MA  02543-1598 |   


  • 1994 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the netcdfgroup archives: