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

Home » Public Forums » archive » accessing IDL internal (aka "built-in") routines
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: accessing IDL internal (aka "built-in") routines [message #87382 is a reply to message #87245] Wed, 29 January 2014 22:08 Go to previous messageGo to previous message
Tom Van Niel is currently offline  Tom Van Niel
Messages: 4
Registered: February 2012
Junior Member
Hi Everyone,

Thanks Haje, Luke, and Mike for posting on this topic. The solution we came up with turns out to be quite simple. We installed GDAL and access 'gdalwarp' using 'spawn' from GDL, thus bypassing the need to use IDL internal routines for re-projecting altogether. For example from the GDL prompt to re-project a MODIS image from geographic projection (Lat/Lons) to GDA94 MGA Zone 55 (i.e., ~ UTM 55S):

GDL> infn = '/tmp/MOD09GA.hdf'
GDL> outfn = '/tmp/MOD09GA_MGA55.tif'
GDL> EPSG='EPSG:28355'
GDL> spawn, 'gdalwarp -t_srs '+ EPSG + ' '+infn + ' ' + outfn

Cheers,
Tom
[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
Read Message
Read Message
Read Message
Previous Topic: h5_parse without READ_DATA
Next Topic: name a variable with number

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

Current Time: Wed Oct 08 16:06:57 PDT 2025

Total time taken to generate the page: 0.00412 seconds