NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.
To learn about what's going on, see About the Archive Site.
Hi All, A version of ncdump by Hoop used to be able to convert ncdump dates into dates that can be read easily. I lost that functionality recently, and the cdcncdump was hard to compile using a newer version of netCDF. I wrote a short program that filters the output of ncdump and replaces the dates using udunits. It seems to work for NCEP Reanalysis data files. A perl script illustrates how it could be used on multiple NetCDF files: #!/usr/bin/perl -w for ($a = 0; $a < scalar(@ARGV); $a++) { $command = "ncdump -c $ARGV[$a] | read.ncdump\n"; system($command); } In case there are others in the same boat, the "read.ncdump.c" is available in the contributed netCDF software catalog: http://www.unidata.ucar.edu/packages/netcdf/Contrib.html Cheers, Rick Danielson
netcdfgroup
archives: