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

Home » Public Forums » archive » 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
ms2gt .gpd and .mpp file creation [message #71205] Sun, 06 June 2010 22:20
katb is currently offline  katb
Messages: 4
Registered: June 2010
Junior Member
Hi,

I am hoping someone can help shed some light on this problem. I am
trying to reproject MODIS MOD02HKM 500m hdf data to Lambert Conic
Conformal Ellipsoid projection at 500m resolution using ms2gt. The
tutorials execute fine so my software configuration (links to IDL) are
ok. I am having difficulties preparing .gpd and .mpp files for
Australia as most of the examples are for Greenland or for another
projection. I also believe the errors are related to the number of
columns and rows I have entered for the .gpd files. I have tried
downloading David Fanning's gpd_viewer however it does not support the
projection I require.

My gpd file is as follows:

test.mpp map projection parameters
Map Projection: Lambert Conic Conformal Ellipsoid
Map Reference Latitude: -35.0
Map Second Reference Latitude: -40.0
Map Reference Longitude: 140.0
Map Scale: 1
Map Equatorial Radius: 6378.137
Map Eccentricity: 0.081819190843
Grid Map Units per Cell: 0.50
Grid Width: 2200
Grid Height: 1700
Grid Map Origin Column: 1099.5
Grid Map Origin Row: 849.5

My .mpp file is as follows:
Lambert Conic Conformal Ellipsoid
-36.5 147.0 lat0 lon0
0.0 rotation
0.50 scale (km/pixel)
-36.5 147.0 center lat lon
-35.0 144.0 lat min max
-38.0 150.0 lon min max
1753 760 grid
0.00 00.00 label lat lon
1 0 0 cil bdy riv

The error I recieve when I execute ms2gt for two adjacent hdf files in
the listfile.txt is as follows:

fornav: ReadImage: error reading tester_cols_02708_00406_00000_20.img
fornav: Success
>>> Mon Jun 7 14:41:32 2010 MOD02: FATAL:
[fornav 1 -v -t f4 -f 65535.0 -F 0 -d 1.2 2708 00406 20
tester_cols_02708_00406_00000_20.img
tester_rows_02708_00406_00000_20.img tester_ref_ch01_2708_08120.img
02030 01354 tester_refa_ch01_02030_01354.img]
failed at /c/z3273429/bin/ms2gt/src/scripts/error_mail.pl line 116

Does anyone have any suggestions on how I can develop .gdp and .mpp
files suitable for Australia?

Thanks in advance,
Kat
[Message index]
 
Read Message
Previous Topic: Re: Program caused arithmetic error: Floating illegal operand ; while using MPFIT
Next Topic: Simple hack to get $800 to your home.

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

Current Time: Sat Oct 11 05:17:57 PDT 2025

Total time taken to generate the page: 1.04168 seconds