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

Home » Public Forums » archive » Re: Oceans
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: Oceans [message #43818 is a reply to message #43748] Sat, 30 April 2005 10:37 Go to previous messageGo to previous message
Ken Mankoff is currently offline  Ken Mankoff
Messages: 158
Registered: February 2000
Senior Member
On Thu, 28 Apr 2005, naics wrote:
> ...looking at the thunderstorm demo as a starting point.
>
> I was just courious about what format the demo reads and how you
> went about converting your data to this .

If you look in the stormtrack code (I think it is d_vectrack.pro)
you will find a line that looks like this:

restore, demo_filepath('storm25.sav', SUBDIR=['examples','demo','demodata'])

Go restore that file, and I see it contains: P,T,U,V,W, all of type
FLOAT = Array[61, 61, 25]

I made a SAV file that contained the same variable names as above.
My dimensions were different (still 3, but (36,24,13)) and the demo
handles this without a problem. Actually, I do not have vector data,
so I left U and V as empty (all zero) arrays.

Copy d_vectrack somewhere local, and replace the restore command to
work with your own file, and voila!

-k.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: non-integer binsize
Next Topic: Oceans

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

Current Time: Fri Oct 10 10:42:01 PDT 2025

Total time taken to generate the page: 3.04321 seconds