This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.
Peter, Is this a NetCDF file that you had previously succeeded in decoding? If not, then the file itself may be the problem. My guess would be that it is not finding the NetCDF attribute: GRIB_name in the NetCDF file, or that the nvars variable is returning zero. Both conditions would cause the program to loop through the variables without processing them. The output of "ncdump -h slp.nc" would provide the cdl information. I found that some people had obtained different "reanalysis" files from Columbia's LDEO which did not have the same format as the NCAR/NCEP files that I originally wrote the program for- apparently they had a CGI/web interface that extracted data sets, but used their own file conventions. I since have provided dcreanal2 for what I discovered with those files. Steve Chiswell Unidata User Support On Mon, 3 Dec 2001, Peter Sousounis wrote: > Hello Steve, > > I recently moved an HP (C3000) workstation from the University of > Michigan to the Great Lakes Environmental Research laboratory and > learned that the dcreanal program/package that you had provided to a > student of mine (Emily Grover - address@hidden) a few years ago is > not working properly. I am hoping that after I give you some of the > vitals and symptoms that you can identify the problem quickly. > > Note that I did change the definition for $NAWIPS in my Gemenviron file from > > > /nfs/ventisca.engin.umich.edu/l3/grovere/Nawips > > to > > /d3/grovere/Nawips > > > on ventisca.glerl.noaa.gov. > > > When I run the dcreanal program I get the following: > > ventisca 47: dcreanal slp1980.nc YYYYMM_slp.gem > Changing center table to cntrgrib1.tbl > Changing vertical coord table to vcrdgrib1.tbl > Changing WMO parameter table to ncarncep1.tbl > Changing center parameter table to ncarncep1.tbl > ventisca 48: > > > In other words it looks like the program is not even opening the > slp1980.nc file to begin processing it. I tried remaking dcreanal but > got the same thing. Are there definitions for other files that I have > overlooked or is it some other problem? I look forward to your > response. > > Regards, > > Peter > > -- > Peter J. Sousounis > Associate Professor of Meteorology > Michigan State University > East Lansing, MI > Phone: (517) 355 0231 > Email: address@hidden > http://www.msu.edu/user/sousou >