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

Home » Public Forums » archive » The good way to use cdfid's
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: The good way to use cdfid's [message #76506 is a reply to message #76410] Mon, 06 June 2011 07:13 Go to previous messageGo to previous message
Fabzou is currently offline  Fabzou
Messages: 76
Registered: November 2010
Member
Well, I just made the simplest test ever on my linux computer:

PRO bug_ncdf
file = '/home/fab/disk/Data/TRMM/TRMM_3B42_Rashmi/3B42.081001.18.6A .nc'
FOR j=0L, 33000 DO BEGIN
cdfid = NCDF_OPEN(file)
inq = NCDF_INQUIRE(cdfid)
NCDF_CLOSE, cdfid
ENDFOR
END

% Compiled module: BUG_NCDF.
IDL> BUG_NCDF
% Loaded DLM: NCDF.
% NCDF_INQUIRE: -2147483648 is not a valid cdfid.
% Execution halted at: BUG_NCDF 5
/home/fab/disk/IDLWorkspace/ze_Dev/bug_ncdf.pro
% $MAIN$
IDL> print, j
32767
IDL> print, !version
{ x86_64 linux unix linux 7.1.1 Aug 21 2009 64 64}

I cannot open more than 32766 files on my computer.

I'll make the test on Windows when I can...

Fabien


On 06/06/2011 03:44 PM, David Fanning wrote:
> Fabzou writes:
>
>> I am sorry, I made a mistake in my previous mail. The computer on which
>> the error is happening is:
>>
>> { x86_64 Win32 Windows Microsoft Windows 7.1.2 Oct 28 2009 64 64}
>
> Well, here is the code I used. No problem running the program
> on my identical Windows machine:
>
> file = "C:\IDL\data\netCDF\VECTORS.20070321_041224.nc"
> FOR j=0L, 16500 DO BEGIN
> o = Obj_New('NCDF_FILE', file)
> obj_destroy, o
> print, j
> ENDFOR
> END
>
>
> IDL> print, !version
> { x86_64 Win32 Windows Microsoft Windows 7.1.2 Oct 28 2009 64 64}
>
>
> Cheers,
>
> David
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: point inside/outside of 3D object.
Next Topic: Re: Venn Diagram in IDL?

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

Current Time: Fri Oct 10 06:59:11 PDT 2025

Total time taken to generate the page: 1.03907 seconds