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

Home » Public Forums » archive » IDL & reading headers of netCDF 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
IDL & reading headers of netCDF files [message #57902] Tue, 08 January 2008 02:46 Go to previous message
chloesharrocks is currently offline  chloesharrocks
Messages: 16
Registered: January 2008
Junior Member
I'm a 4th year Physics UG trying to get to grips with IDL ready for my
research project involving atmospheric data next term. I'm trying to
read the header contents of some netCDF files and am at a complete
loss (it doens't help that I have never worked with netCDF files
before and don't know what I'm actually trying to look for!). I have
done some very basic C-Programming before, but am a novice at
programming and have no exerience with UNIX.

I've been using Liam Gumley's book and have read the section on
reading and writing netCDF files but can't get the information I
want. I've managed to obtain a list of the variables my files
contain, but my supervisors have asked me to use the ncdump -h command
to read what the header is. So here are my problems:

1. I'm a Mac OS X user so have tried during the ncdump - h command in
my terminal but it fails. I understand this is because I need some
netCDF software on my computer. I tried to download this but got
completely lost in the detailed instructions relating to Unix - it
seemed to imply that I required a C-compiler on my computer for the
installation to work (I don't have a C-compiler) and the files it told
me to use did not exist in the folder I had just downloaded.

2. Is there any way of avoiding UNIX and being able to read the
contents of the header directly in IDL's Development Environment?

3. I have downloaded Panoply ( http://www.giss.nasa.gov/tools/panoply/)
which seems to open the netCDF files very easily and provides me with
information about the variables contained and also seems to be able to
plot data onto maps very easily. Is this essentially doing what the
ncdump - h command does?

If anyone could guide me through a step-by-step guide to downloading
the netCDF software onto my Mac and also letting me know whether I can
do the equivalent command directly in IDLDE I would be very grateful.

Thanks
ChloƩ
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: image statistics without the NaN
Next Topic: New netCDF Browser

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

Current Time: Wed Oct 08 19:01:48 PDT 2025

Total time taken to generate the page: 0.00449 seconds