comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » How to check if a file is indeed a NetCDF file?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
How to check if a file is indeed a NetCDF file? [message #15034] Mon, 19 April 1999 00:00
Paul van Delst is currently offline  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
[Message index]
 
Read Message
Previous Topic: Re: How to check if a file is indeed a NetCDF file?
Next Topic: MIN_CURVE_SURF vs. TRI_SURF - Problem

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Sat Oct 11 10:33:22 PDT 2025

Total time taken to generate the page: 0.84030 seconds