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

Home » Public Forums » archive » Re: extract lat/lon from MOD13Q1
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: extract lat/lon from MOD13Q1 [message #60889] Tue, 17 June 2008 06:31 Go to previous message
wita is currently offline  wita
Messages: 43
Registered: January 2005
Member
mtschnur wrote:
> Hello, I'm experienced in ENVI but new to IDL. I need to extract NDVI,
> EVI, and VI Quality from about 75 datasets at 7 lat/lon coordinates
> per date. I can do this individually in ENVI by opening the images,
> but it is a tedious and error-prone task. I am sure IDL would make
> this easier and more accurate. Can anyone help?
>
> Thanks, Mark

Hi Mark,

If these 7 lat/lon coordinates are the same for each image, then the
job would be easy in ENVI:
- Stack all 75 images, be careful keep the date order correctly in the
stack
- Start a Z-profile and go to the lan/lon of interest
- Export the Z-profile as an IDL variable or ASCII file.

You can do it programatically as well by using
ENVI_CONVERT_PROJECTION_COORDINATES to convert from lat/lon to
whatever projection your image data is in and
ENVI_CONVERT_FILE_COORDINATES to convert from map to file coordinates.
The data values can be retrieved by using the file coordinates as
indexes into the image array.

with best regards,

Allard
[Message index]
 
Read Message
Read Message
Previous Topic: Following a ridgeline
Next Topic: Weird behaviour in SURFACE procedure

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

Current Time: Sat Oct 11 02:37:59 PDT 2025

Total time taken to generate the page: 1.11704 seconds