scottstanie / sentineleof

Download Sentinel 1 precise orbit files
MIT License
97 stars 18 forks source link

`query_orbit_by_dt` fails for scenes for which no precision orbit is available #39

Closed asjohnston-asf closed 1 year ago

asjohnston-asf commented 1 year ago

See https://github.com/dbekaert/RAiDER/issues/576

_select_orbit defined at https://github.com/scottstanie/sentineleof/blob/master/eof/scihubclient.py#L88 has no orbit_type parameter, but it's called with that parameter at https://github.com/scottstanie/sentineleof/blob/master/eof/scihubclient.py#L168 . This results in a TypeError: ScihubGnssClient._select_orbit() got an unexpected keyword argument 'orbit_type' exception for scenes for which no precision orbit is available.

scottstanie commented 1 year ago

Very sorry about that. I've pushed a fix https://github.com/scottstanie/sentineleof/pull/40

It'll be up on pypi shortly, and i'll bump the conda-forge version once that's in.