Home »
Public Forums »
archive »
How to check if a file is indeed a NetCDF file?
How to check if a file is indeed a NetCDF file? [message #15034] |
Mon, 19 April 1999 00:00 |
Paul van Delst
Messages: 364 Registered: March 1997
|
Senior Member |
|
|
Hello,
In trying to read NetCDF data files in IDL, I've discovered that the
NCDF_OPEN crashes on me if the file I ask it to open is not a nCDF file.
It crashes somewhat gracefully in that it tells me that NCDF_OPEN
couldn't open the file and the error # is 19. Does anyone out there know
how to use the IDL NCDF library to determine whether or not a file is in
NetCDF format? The fact that the most obvious solution (i.e. NCDF_OPEN
*returns* an error # rather than falling in a heap) doesn't work like I
would expect doesn't make me too hopeful.
Any info appreciated.
paulv
--
Paul van Delst
Space Science and Engineering Center | Ph/Fax: (608) 265-5357, 262-5974
University of Wisconsin-Madison | Email: paul.vandelst@ssec.wisc.edu
1225 W. Dayton St., Madison WI 53706 | Web: http://airs2.ssec.wisc.edu/~paulv
|
|
|
Current Time: Sat Oct 11 16:46:06 PDT 2025
Total time taken to generate the page: 0.56395 seconds