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

Home » Public Forums » archive » Re: Variable sized bins in histogram, or find a bounding lat/lon box
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: Variable sized bins in histogram, or find a bounding lat/lon box [message #53470 is a reply to message #53455] Wed, 11 April 2007 09:49 Go to previous messageGo to previous message
Matt[2] is currently offline  Matt[2]
Messages: 69
Registered: March 2007
Member
On Apr 11, 10:13 am, Paolo Grigis <pgri...@astro.phys.ethz.ch> wrote:
> Because the grid is orthogonal and sorted, you could try
>
> res1=value_locate(lats,target_lats)
> res2=value_locate(lons,target_lons)
>
> IDL> print,res1,res2
> 0 3 2
> 4 2 4
>
> Is that what you need?

Wow, it's easy to find that solution now that I know the keyword
"value_locate". That was incredibly helpful and exactly what I
needed. I
just grepped my entire library of idl programs and I've never once
used that
routine. Now that I've got a hammer, maybe everything will look like
a nail?

Thanks so much.

Matt

--
Matthew Savoie - Scientific Programmer
National Snow and Ice Data Center
(303) 735-0785 http://nsidc.org
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: May anyone share his IDLwave configuration file with me ?
Next Topic: idl segfaults in FC5

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

Current Time: Fri Oct 10 12:54:00 PDT 2025

Total time taken to generate the page: 0.40284 seconds