Skip to content

Sunpy Map doesn't understand Wavelength info


In [45]: m[0]
Out[45]: 
<sunpy.map.mapbase.GenericMap object at 0x7f55d741f0d0>
SunPy Map
---------
Observatory:		 Teide Observatory
Instrument:		 GRIS
Detector:		 
Measurement:		 0.0 Angstrom
Wavelength:		 0.0 Angstrom
Observation Date:	 2020-09-01 08:57:01
Exposure Time:		 0.000000 s
Dimension:		 [10. 10.] pix
Coordinate System:	 helioprojective
Scale:			 [-3.75e-05 -3.75e-05] deg / pix
Reference Pixel:	 [-1. -1.] pix
Reference Coord:	 [ 0.02302444 -0.03129083] deg                   
array([[0., 0., 0., 0., 0., 0., 0., 0., 0., 0.],
       [0., 0., 0., 0., 0., 0., 0., 0., 0., 0.],
       [0., 0., 0., 0., 0., 0., 0., 0., 0., 0.],
       [0., 0., 0., 0., 0., 0., 0., 0., 0., 0.],
       [0., 0., 0., 0., 0., 0., 0., 0., 0., 0.],
       [0., 0., 0., 0., 0., 0., 0., 0., 0., 0.],
       [0., 0., 0., 0., 0., 0., 0., 0., 0., 0.],
       [0., 0., 0., 0., 0., 0., 0., 0., 0., 0.],
       [0., 0., 0., 0., 0., 0., 0., 0., 0., 0.],
       [0., 0., 0., 0., 0., 0., 0., 0., 0., 0.]])

Printing a sunpy Map instance on the terminal seems like it has problem understanding some of the information from the header. the Measurement, Wavelength and Exposure Time fields are not filled in the instance, I suspect they haven't been understood.

Reproduce this issue by using the file from importer_test_data as a map input