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 #71203 is a reply to message #71199] Mon, 07 June 2010 02:53 Go to previous messageGo to previous message
Klemen is currently offline  Klemen
Messages: 80
Registered: July 2009
Member
Hi Kat, I have never used ms2gt, I use IDL to project the data. So
just a question - why don't you use IDL?

Otherwise, I would expect that ms2gt needs also some input about the
resolution. And I don't see such an input in your files.

Cheers, Klemen



On Jun 7, 7:20 am, katb <katborm...@gmail.com> wrote:
> 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
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: Fri Oct 10 14:14:05 PDT 2025

Total time taken to generate the page: 1.35674 seconds