I would check the usage of:
> ENVI_CONVERT_File_COORDINATES, fid, xF, yF,xcoord, ycoord
If I understand correctly, you are trying to get the xF and yF values
from the hard coded Xmap and Ymap coordinates. Therefore you would
use:
output=data[xF,yF,*]
Not sure if you need a "+" or "-" for your Degree coordinates
indicating North/South(Latitude) or East/West(Longitude).
Hope this helps.
Pete


|