Closed scottstanie closed 2 years ago
@scottstanie thanks for finding and the fix
@jhkennedy @SpicyGarlicAlbacoreRoll would it be possible to put an ariaDownload
run into the testing suite of ASF_search? there are no non-standard dependencies in ariaDownload except for a logging and small function in ariaTools
@bbuzz31 asf_search
just a a major release, meaning they indicated they were possibly making incompatible API changes. Fix is either pinning to the previous major version or updating behavior (typically both; quick fix and then long term fix)
In general it's not the responsibility of a library/package to test behavior of down stream usage. It'd be better to put a unit test in ARIA-tools that would catch an issue like this and regularly run the tests (if development/prs aren't often enough to quickly catch stuff)
Describe the bug A clear and concise description of what the bug is.
Following an example notbook, I ran
ariaDownload.py -b '37.25 38.1 -122.6 -121.75' --track 42
and got this error:The issue is
return geos.WKTReader(geos.lgeos).read(data)
is getting passed a shapely Polygon (from ARIA Tools). I'm not sure if ASF search used to accept/expect that, but now they don't check for that type of input in theirvalidators.py
.Desktop (please complete the following information):