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

Home » Public Forums » archive » Error opening 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
Re: Error opening netCDF file [message #86968 is a reply to message #86964] Tue, 17 December 2013 13:38 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Dan Westervelt writes:

> Thanks for the suggestion. Just tried this - code crashes at the same point as with NCDF_READ. Pops up a dialog box with NC_ERROR = -31.
>
> Maybe the netCDF files themselves are corrupted somehow?

You can find nCDF_isValidFile here:

http://www.idlcoyote.com/programs/ncdf_isvalidfile.pro

It might shed some light.

; CALLING SEQUENCE:
;
; result = NCDF_IsValidFile(filename)
;
; INPUTS:
;
; filename: The name of a filename to open to see if it is a valid
netCDF file.
;
; RETURN VALUE:
;
; result: A 1 if the file can be opened as a netCDF file. A 0
otherwise.

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
Sepore ma de ni thue. ("Perhaps thou speakest truth.")
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: PNG output quality degraded after RHEL6 patch
Next Topic: Issue with long integer arrays

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

Current Time: Wed Oct 08 15:16:29 PDT 2025

Total time taken to generate the page: 0.22020 seconds