IDL "expert" needs help BAD! [message #7860] |
Wed, 22 January 1997 00:00  |
davidf
Messages: 2866 Registered: September 1996
|
Senior Member |
|
|
Folks,
Several people have asked me about writing HDF files, so I
thought I would sit down and write a short tutorial about
it. Here is what I am trying to do:
I have three vectors that represent randomly distributed
longitude and latitude temperature data. Thus, I have three
variables lat, lon, and temp that are all the same length
and data type. I want to store them as a VDATA table
in an HDF file.
Then, I want to grid this data and make a regularly-spaced
2D array. I want to store this data in the same HDF file
as a scientific dataset.
This would seem to be straightforward (even with the
decidedly unhelpful IDL examples, which use an
archaic API), but I am struggling. It has gotten to the
point that I am swearing at my computer. :-)
This is probably programmer error, but does anyone
have an example that they can show me that they know
works. Perhaps if I could see working code and compare
it to my own I could figure out what I am doing wrong.
Many thanks,
David
-----------------------------------------------------------
David Fanning, Ph.D.
Fanning Software Consulting
2642 Bradbury Court, Fort Collins, CO 80521
Phone: 970-221-0438 Fax: 970-221-4762
E-Mail: davidf@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com
-----------------------------------------------------------
|
|
|
Re: IDL "expert" needs help BAD! [message #7936 is a reply to message #7860] |
Thu, 23 January 1997 00:00  |
grunes
Messages: 68 Registered: September 1993
|
Member |
|
|
Please ignore my previous post. Those routines contained at least
one error.
------------------------------------------------------------ --------
Mitchell R Grunes, grunes@imsy1.nrl.navy.mil. Opinions are mine alone.
|
|
|