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

Home » Public Forums » archive » Re: ms2gt .gpd and .mpp file creation
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: ms2gt .gpd and .mpp file creation [message #71739 is a reply to message #71301] Thu, 15 July 2010 22:46 Go to previous message
katb is currently offline  katb
Messages: 4
Registered: June 2010
Junior Member
OK so I finally have it all working now so here is a post for others
having similar issues with ms2gt reprojection tool for MODIS data!

There were two problems:
1) ms2gt likes to run in tcsh (i was using bash with a few work
arounds)

2) the gpd file needs to be fine tuned for your particular area

Map Origin X and Map Origin Y (top left corner of desired projected
grid space) is distance in metres from prescribed Map Origin Lat/Long
point (-32.7, 146.1) to the desired lat/long coordinates for the top-
left corner (in this case i wanted the top-left corner of my
reprojection area to be -34.23, 143.51) of the area you wish to
reproject data to. So for this case the top left corner of the
projected grid is to the west (negative X or left) and to the south
(negative Y or down).

for a reprojection grid bound by top-left lat/long of -34.23, 143.51
and bottom-right lat/long -43.89, 151.0 in Lambert Conformal Conic
reprojection space the gpd file ended up looking like this

Map Projection: Lambert Conic Conformal Ellipsoid
Map Reference Latitude: -27.5
Map Second Reference Latitude: -35.0
Map Reference Longitude: 146.1
Map Equatorial Radius: 6378137.0
Map Eccentricity: 0.081819190843
Map Origin Latitude: -32.7
Map Origin Longitude: 146.1
Map Origin X: -238500
Map Origin Y: -172500
Grid Map Units per Cell: 500
Grid Width: 1400
Grid Height: 2300
Grid Map Origin Column: -0.5
Grid Map Origin Row: -0.5

use crtest and xytest to test your .gpd file reprojection coordinates
and lat/longs prior to running ms2gt.

hope this is useful to someone, somewhere, sometime.

cheers
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Problem running an IDL VM application
Next Topic: Re: Problem running an IDL VM application

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

Current Time: Sun Oct 12 00:06:55 PDT 2025

Total time taken to generate the page: 1.76197 seconds