Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hirs_orbit_map fails for full range #371

Open
gerritholl opened this issue Jan 20, 2019 · 0 comments
Open

hirs_orbit_map fails for full range #371

gerritholl opened this issue Jan 20, 2019 · 0 comments

Comments

@gerritholl
Copy link
Contributor

gerritholl commented Jan 20, 2019

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

end=self.ds.isel(y=self.end)["time"].values.astype("datetime64[ms]").item()) +

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant