It’s been a while since I used Sunpy, but I know that this piece of code was working when I used it last. The relevant parts are:
m = sunpy.map.Map(file)
m.plot()
this leads to an error:
WARNING: FITSFixedWarning: ‘datfix’ made the change ‘Set MJD-OBS to 55888.840631 from DATE-OBS’. [astropy.wcs.wcs]
ScaleValueError Traceback (most recent call last)
/export/slavin/Solar/XRT_Level1/browse_l1_images.py in
83 fig.clf()
84 #m.rotate()
—> 85 m.plot()
86 m.draw_limb()
87 m.draw_grid()
…
ScaleValueError: Scale ‘utc (tbr)’ is not in the allowed scales [‘local’, ‘tai’, ‘tcb’, ‘tcg’, ‘tdb’, ‘tt’, ‘ut1’, ‘utc’]
It seems that it might have to do with the value of TIMESYS in the fits header:
TIMESYS = ‘UTC (TBR)’ /
Is there a workaround for this? Is this a known problem. I’m trying to view a Hinode XRT image.
Thanks,
Jon