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

Home » Public Forums » archive » Hovmoller
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: Hovmoller [message #94946 is a reply to message #94944] Fri, 29 December 2017 14:22 Go to previous messageGo to previous message
laura.hike is currently offline  laura.hike
Messages: 87
Registered: September 2013
Member
On Wednesday, December 27, 2017 at 6:52:46 PM UTC-8, Jim P wrote:
> On Wednesday, December 27, 2017 at 1:30:05 PM UTC-7, laura...@gmail.com wrote:
>> No disrespect intended, but what if we want to make said plot without using Coyote graphics?
>>
>>
>> On Friday, July 25, 2014 at 1:49:02 PM UTC-7, David Fanning wrote:
>>> tjc0010@uah.edu writes:
>>>
>>>> Well I have about 20 files and will want to show eastward propagation with time
>>>
>>> Ah, so you have more than one file. As Wesley says in the Princess
>>> Bride, "Why didn't you mention the wheelbarrow among our assets the
>>> first time?"
>>>
>>> Presumably these files contain data points at different times. Perhaps
>>> you have 20 such times. Now we are getting somewhere!
>>>
>>> What you have to do is build up a 2D array by selecting for longitude
>>> and saving the temperatures at those longitudes.
>>>
>>> ntimes = 20
>>>
>>> ; Read the first file, just to see how big array has to be.
>>> ... read the data file, extract variables, etc.
>>> lonIndices = where(lons gt -25 and lons lt 40)
>>>
>>> ; Temperature at longitude and time
>>> data = FltArr(N_Elements(lonIndices), ntimes)
>>> temps = temps[lonIndices]
>>> times = FltArr(ntimes)
>>>
>>> ; Read the files in a loop and extract info for Hovmoller plot.
>>> for j=0,19 DO BEGIN
>>> ... Read file, extract variables, etc.
>>> times = time[0]
>>> data[*,j] = temps[lonIndices]
>>> endfor
>>>
>>> Now, make your plot...
>>>
>>> cgContour, data, times, lons[lonIndices], ... ; Hovmoller plot
>>>
>>> Cheers,
>>>
>>> David
>>> --
>>> David Fanning, Ph.D.
>>> Fanning Software Consulting, Inc.
>>> Coyote's Guide to IDL Programming: http://www.idlcoyote.com/
>>> Sepore ma de ni thue. ("Perhaps thou speakest truth.")
>
> IDL has a built-in CONTOUR function that doesn't rely on the David's Coyote library.
>
> https://www.harrisgeospatial.com/docs/contour.html

I don't think contour is what I want. Doesn't it always filter/interpolate the data? Maybe "image" will do.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: spam is destroying this group
Next Topic: New Google Group: idl-pvwave

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

Current Time: Wed Oct 08 15:56:51 PDT 2025

Total time taken to generate the page: 0.00430 seconds