I am working with the sample S2a MSI products available from the ESA Data Hub. They are in jpeg2000 format. When I open them using the xml file in ENVI 5.3, the georeference tags come through, so that I can tell where I am in the image:
Geo: 26°21'44.89"N,29°51'28.05"E
Map: 1385878.0078,2946393.8984
MGRS: 35RQK8519018986
Proj: UTM, Zone 34 N, WGS-84
When I open the image in ENVI Classic, the images have no map info. When I use any of my software which call ENVI modules and work with GeoTIFF , it does not read the georeference tags.
map_info = envi_get_map_info( fid=fid )
IDL> print, map_info.proj
{ Arbitrary 0 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000
0.0000000 0.0000000 0.0000000 0.0000000 0.0000000 0.0000000
0.0000000 0.0000000 0.0000000 0.0000000
0 D_Unknown 0 0 0}
I don't know if this is an ENVI problem, a jpeg2000 problem or a S2a problem. Can you please give me some guidance?
Thanks,
Julia
|