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

Home » Public Forums » archive » on reading NCDF files
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
on reading NCDF files [message #37673] Tue, 20 January 2004 00:01 Go to previous message
leesw is currently offline  leesw
Messages: 3
Registered: August 2003
Junior Member
Hi everyone!

I'm gonna read a NCDF file. It may contain several variables within
itself. When I extract a variable named "image", the procedure is as
follows:

cid=ncdf_open('test.nc')
vid=ncdf_varid(cid,'image')
ncdf_varget,cid,vid,image

But suppose I don't know the name of each variable unfortunately. Is
there any way to figure out the details of the included
variables(name, dimension, etc.)? The second command fails when I put
a wrong variable. And is there any way to read the included variables
all at once? (something like /all keyword)

I wonder if there's any way to figure out all details of the included
variables from an NCDF file directly.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: wavelet code?
Next Topic: write unix textfile with windows idl

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

Current Time: Sat Oct 11 06:36:17 PDT 2025

Total time taken to generate the page: 0.71987 seconds