> Hello: > > I'm searching for a C program that gathers information about netCDF4 > files. This C program knows nothing about the particular netCDF4 file > it's reading and therefore must make inquiries to the file to find out > the number of groups/sub-groups, dimensions, variables, attributes it > contains, the names of all the above, the variable shapes, etc. My > question: Does such a C program exist? Can you tell me where I can > download it? If it does not exist I will take a crack at writing one. > I've been searching online but so far haven't found anything. > > ---Thanx > ---Tony Conrad > ---World Weather Building > ---NOAA/OSDPD/NPOESS > ---Camp Springs, Maryland 20746 > > Howdy Tony! There are several such programs, including ncdump, the canonical dumper of netCDF files, which comes with the library and is written here at the Unidata Program Center by Russ Rew. Full documentation can be found here: http://www.unidata.ucar.edu/software/netcdf/docs/netcdf/ncdump.html Basically, ncdump -h to get just metadata, or without the -h to get the data dumped as well (inadvisable with large files). There is another utility called ncgen, which takes the output of ncdump and generates the binary file. Are you producing NPOESS data or using it? Thanks, Ed Ticket Details =================== Ticket ID: DYM-330271 Department: Support netCDF Priority: Normal Status: Closed
NOTE: All email exchanges with Unidata User Support are recorded in the Unidata inquiry tracking system and then made publicly available through the web. If you do not want to have your interactions made available in this way, you must let us know in each email you send to us.