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

Home » Public Forums » archive » ERROR 31
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 31 [message #93757 is a reply to message #93743] Wed, 12 October 2016 21:13 Go to previous messageGo to previous message
Michael Galloy is currently offline  Michael Galloy
Messages: 1114
Registered: April 2006
Senior Member
On 10/11/16 3:52 PM, John Sofiadis wrote:
> i have written a program in order to read a nc file..i am sure tha
> the path is correct,complile is ok,but when it runs occurs an
> error,called error-31,at third line(the line where i command opening
> thw nc file)..???thanks in advance
>

I'm not sure what it really means, but the netCDF C header defines the
following:

#define NC_SYSERR (-31)

That seems pretty vague. Does the file exist? Is it really a netCDF file?

Update: I tried to open a non-existent file:

IDL> id = ncdf_open('test.nc')
% Loaded DLM: NCDF.
% NCDF_OPEN: Unable to open the file "test.nc". (NC_ERROR=-31)

Mike
--
Michael Galloy
www.michaelgalloy.com
Modern IDL: A Guide to IDL Programming (http://modernidl.idldev.com)
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: How to supress dialog popup when netcdf file is corrupt?
Next Topic: which Video Codec is lossless?

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

Current Time: Wed Oct 08 20:10:06 PDT 2025

Total time taken to generate the page: 0.00215 seconds