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

Home » Public Forums » archive » Re: I have the craziest idea...
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: I have the craziest idea... [message #23743 is a reply to message #23731] Wed, 14 February 2001 12:27 Go to previous messageGo to previous message
Paul van Delst is currently offline  Paul van Delst
Messages: 364
Registered: March 1997
Senior Member
tbowers wrote:
>
> I've written a widget program that I've tried to design as a general data
> import interface.

Cool.

<snip>

> Feedback would be appreciated.

Your snippet of code under the EXAMPLE: heading scared me away. I would pare it down to:

; sImported = ngDataImporter()
;
; ;//Let's say the data imported was a US ARMY GMS 3D grid file
; IDL> help, sImported, /STRUCT
; ** Structure <1354308>, 13 tags, length=2022472, refs=1:
; DATA DOUBLE Array[101, 61, 41]
; XDATA DOUBLE Array[101]
; YDATA DOUBLE Array[61]
; ZDATA DOUBLE Array[41]
; TDATA BYTE 0
; ANCILLARYDATA BYTE 0
; DATANAME STRING 'c532(1/m)'
; FILENAME STRING Array[1]
; DATACLASS STRING 'SCAL_GRID_3S0T'
; DATATYPE STRING 'USA_GMS3DG'
; POLYLINES BYTE 0
; ERROR BYTE 0
; CANCEL BYTE 0

So how would you enable it to read netCDF and HDF data files and all their associated
attributes? Would that be a simple addition? I have a netCDF reader function, that returns
data in a structure sorta like your, to plug in if you'd like to try it. I'm sure others
out there have similar for HDF.

paulv

--
Paul van Delst A little learning is a dangerous thing;
CIMSS @ NOAA/NCEP Drink deep, or taste not the Pierian spring;
Ph: (301)763-8000 x7274 There shallow draughts intoxicate the brain,
Fax:(301)763-8545 And drinking largely sobers us again.
pvandelst@ncep.noaa.gov Alexander Pope.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Read and Write IDL SAVE files!
Next Topic: JHU/APL/S1R IDL Library update.

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

Current Time: Fri Oct 10 16:09:30 PDT 2025

Total time taken to generate the page: 1.75831 seconds