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

Home » Public Forums » archive » Re: Irregular Satellite data plotting
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: Irregular Satellite data plotting [message #64203] Fri, 05 December 2008 13:53
Chris[6] is currently offline  Chris[6]
Messages: 84
Registered: July 2008
Member
> I have been working on something similar, but for astronomical
> purposes. You may find this code useful:
>
> http://www.ifa.hawaii.edu/users/beaumont/code/raw/smoothmap. pro
>

I should mention that, since I use it for astronomy purposes, it
outputs files in the FITS image format. Also, it uses routines form
the IDL astronomy user's library

chris
Re: Irregular Satellite data plotting [message #64204 is a reply to message #64203] Fri, 05 December 2008 13:47 Go to previous message
Chris[6] is currently offline  Chris[6]
Messages: 84
Registered: July 2008
Member
On Dec 5, 8:24 am, Ed Hyer <ejh...@gmail.com> wrote:
> Katie,
>
> OPLOT bizarrely doesn't allow this, but fortunately someone stepped up
> and wrote the OPLOTS routine that will get the job done:http://groups.google.com/group/comp.lang.idl-pvwave/bro wse_thread/thr...
>
> If you don't like the selection of symbols available natively, there
> is also SYMCAT, which will give you just about anything:http://www.dfanning.com/programs/symcat.pro
>
> So you'd end up with
>
> OPLOTS,lons,lats,psym=SYMCAT(15),color=BYTSCL(temperature)
>
> A little dickering with the SYMSIZE and THICK keywords, and you can
> probably get what you want.
>
> --Edward H.

I have been working on something similar, but for astronomical
purposes. You may find this code useful:

http://www.ifa.hawaii.edu/users/beaumont/code/raw/smoothmap. pro

It creates a smoothed map from a set of measurements on a spherical
surface. The code is still being refined, but has been behaving for me
lately.

Chris
Re: Irregular Satellite data plotting [message #64205 is a reply to message #64204] Fri, 05 December 2008 10:24 Go to previous message
MarioIncandenza is currently offline  MarioIncandenza
Messages: 231
Registered: February 2005
Senior Member
Katie,

OPLOT bizarrely doesn't allow this, but fortunately someone stepped up
and wrote the OPLOTS routine that will get the job done:
http://groups.google.com/group/comp.lang.idl-pvwave/browse_t hread/thread/e11a9c983151e0f3/2bbaddec12f5b8d5?hl=en&lnk =gst&q=oplots#2bbaddec12f5b8d5

If you don't like the selection of symbols available natively, there
is also SYMCAT, which will give you just about anything:
http://www.dfanning.com/programs/symcat.pro

So you'd end up with

OPLOTS,lons,lats,psym=SYMCAT(15),color=BYTSCL(temperature)

A little dickering with the SYMSIZE and THICK keywords, and you can
probably get what you want.

--Edward H.
Re: Irregular Satellite data plotting [message #64215 is a reply to message #64205] Thu, 04 December 2008 18:21 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Craig Markwardt writes:

> P.S. David, I used [] array notation against my better judgement.

And I noticed that *immediately*. ;-)

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Sepore ma de ni thui. ("Perhaps thou speakest truth.")
Re: Irregular Satellite data plotting [message #64216 is a reply to message #64215] Thu, 04 December 2008 18:09 Go to previous message
Craig Markwardt is currently offline  Craig Markwardt
Messages: 1869
Registered: November 1996
Senior Member
On Dec 4, 8:22 pm, greer.katel...@gmail.com wrote:
> I have some satellite temperature measurements that are taken at
> regular latitude intervals but irregular longitude intervals.
> Eventually, I will interpolate everything, but first I would like to
> make a plot with a square indicating the location of the measurement
> (longitude and latitude) that is colored to indicate the relative
> temperature.  Does anyone know how to do this?  It seems simple to me
> in concept, but have been unable to come up with a solution.  (I keep
> getting advice about how to do this in matlab with pcolor, but I need
> to stay in idl with this one) Thanks in advance for any advice you
> might have!

I'm sure that something like this,
for i = 0, n_points-1 do begin
oplot, [lon[i]], [lat[i]], psym=6, color=(temp[i]-MINTEMP)/
(MAXTEMP-MINTEMP)*255
endfor
will be a good place to start. You will have to play around with how
the color is calculated.

Craig

P.S. David, I used [] array notation against my better judgement.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Assigning Coordinates in NetCDF
Next Topic: map_set and clip

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

Current Time: Sun Oct 12 19:44:34 PDT 2025

Total time taken to generate the page: 0.01263 seconds