FIDUCEO / FCDR_HIRS

Other
1 stars 2 forks source link

hirs_orbit_map fails for full range #371

Open gerritholl opened 5 years ago

gerritholl commented 5 years ago

hirs_orbit_map fails unless the flag --range instructs it to plot less than the full orbit. The problem is that for an orbit with 900 scanlines, it tries to use line 900 to get the end time — this results in IndexError. A workaround is to pass --range 0 99 when one wants to plot most of the orbit, but the real fix is to adapt

https://github.com/FIDUCEO/FCDR_HIRS/blob/9b7bd632defa9b5feb169a0f8c1997329879dc9f/FCDR_HIRS/analysis/map_single_orbit.py#L201