tyson-swetnam / porder

Simple CLI for Planet ordersV2 API
https://tyson-swetnam.github.io/porder/
Apache License 2.0
48 stars 12 forks source link

idlist command not completeing, no error message #32

Closed katherinehess closed 4 years ago

katherinehess commented 5 years ago

Hi,

I used porder a lot in May and it worked great, but now I'm coming back to it and having an issue. I tried running: porder idlist --input "Y:/duncansongp/Planet/geojsons/amazondeg.geojson" --start "2014-01-01" --end "2019-09-04" --item "PSScene4Band" --asset "analytic" --cmax 0.1 --overlap 100 --outfile "Y:/duncansongp/Planet/orderids/amazondeg.csv"

This same code worked quickly/ easily when I ran it in May, but now I hit enter and it doesn't fail or give me any error messages, but it never completes.

I tried some old order and multipart download commands and those are working normally, it seems to just be idlist.

Any idea what could be going on here? Thanks! Kate

samapriya commented 5 years ago

Hi @katherinehess Could you tell me your porder version you can get that by typing

pip show porder

and also attach your geometry and search parameters to test it out?

samapriya commented 4 years ago

Hi @katherinehess Since I have not heard back from you, I am hoping this has resolved. If not please attach the information I requested and feel free to reopen the issue.

katherinehess commented 4 years ago

Hi @samapriya I have version 0.2.9 Here is the geometry: amazondeg.zip

And the search parameters: dates: "2014-01-01" to "2019-09-04" (I've tried smaller date ranges and they also don't go through) PlanetScope 4 band, analytic cloud max .1 (I tried it without a cloud max or overlap parameter and also didn't get anywhere) overlap 100%

Thanks for taking a look at this!

samapriya commented 4 years ago

Hi @katherinehess Your geometry seems to be the issue here. There are line intersections and you would need to repair the geometry. I used an online tool called mapshaper to get rid of the issues (screenshot attached). I am also attaching the correct geometry geojson file in a zip file and now it returns results as expected. I got a total of 724 images for the time period you used when I rerun the search using the correct geometry. Hope this resolves your issues, in the future I would start debugging with checking your geometry.

geometry_repair

amazondeg.zip

katherinehess commented 4 years ago

Ah my mistake- its working now. Thanks for your help!

On Tue, Sep 10, 2019 at 12:46 PM Samapriya Roy notifications@github.com wrote:

Hi @katherinehess https://github.com/katherinehess Your geometry seems to be the issue here. There are line intersections and you would need to repair the geometry. I used an online tool called mapshaper https://mapshaper.org/ to get rid of the issues (screenshot attached). I am also attaching the correct geometry geojson file in a zip file and now it returns results as expected. I got a total of 724 images for the time period you used when I rerun the search using the correct geometry. Hope this resolves your issues, in the future I would start debugging with checking your geometry.

[image: geometry_repair] https://user-images.githubusercontent.com/6677629/64633231-d27f7880-d3c8-11e9-8b05-b3396bf546eb.PNG

amazondeg.zip https://github.com/samapriya/porder/files/3596824/amazondeg.zip

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/samapriya/porder/issues/32?email_source=notifications&email_token=AIRH4YCMXWFO6PEDLKW7UMLQI7FOHA5CNFSM4IUL76RKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOD6LYIUI#issuecomment-530023505, or mute the thread https://github.com/notifications/unsubscribe-auth/AIRH4YD655Y3RAOQ74IGB73QI7FOHANCNFSM4IUL76RA .