Convert planetary sinusoidal map image to (lat,lon,value) array [message #31643] |
Mon, 29 July 2002 10:06 |
wk43
Messages: 1 Registered: July 2002
|
Junior Member |
|
|
I have a sinusoidal equal area map projection image in the form of a
byte array. The image is rectangular, 1440 pixels (length) X 720
pixels (height). I am able to read the file and store it as an array
of dimensions 1440(columns)X720(rows).
I need to convert the planetary portion of the image (all other points
have value 0 in the image array) into a table of form (latitude,
longitude, value). I am also uncertain which type of array I should
construct from the planetary portion of the image in order to apply
the conversion.
I am using IDL version 5.5a (Linux OS).
I would really appreciate any help on this matter. I would benefit
greatly from a detailed description, since I have been using IDL for
only 2 weeks (using Liam Gumley's "practical IDL programming" text).
Sincerely,
Suniti
|
|
|