Comments (4)
Could you share the geojson file for me to run tests?
from porder.
Sure here it is (github doesn't allow geojson file upload)
{
"type": "FeatureCollection",
"name": "test_tile_half",
"crs": { "type": "name", "properties": { "name": "urn:ogc:def:crs:OGC:1.3:CRS84" } },
"features": [
{ "type": "Feature", "properties": { "id": 0 }, "geometry": { "type": "Polygon", "coordinates": [ [ [ -0.831053947078279, 5.733240915104465 ], [ -0.798653947078279, 5.733240915104465 ], [ -0.7986, 5.71 ], [ -0.831, 5.71 ], [ -0.831053947078279, 5.733240915104465 ] ] ] } }
]
}
I've figured out some of what is happening, on the first iteration of the paging while loop in geojson2id.py..
while page['_links'].get('_next') is not None:
page_url = page['_links'].get('_next')
page = SESSION.get(page_url).json()
ids = handle_page(page,asset,num,outfile,gmain,ovp)
page does have a _links
key with results
But in the next iteration of the while loop
It looks like my credentials are forgotten/dropped from memory? Then the while loop fails here because now page has no _links
, only errors
and messages
from porder.
I am able to run the tools for your AOI on both windows and a Linux machine, am not really sure what is going on there. I could not replicate your error. For the query, you made within that one month period and with an overlap of 50, there are 8 assets.
20180726_095804_103d
20180712_103425_0f21
20180709_103420_100d
20180710_095700_0e0f
20180711_103459_0f2a
20180707_095733_103e
20180703_095732_1015
20180702_095725_101f
from porder.
I found the problem, my PL_API_KEY was exported as a shell variable and was set to my old key. I think the script might have been picking up my new key from planet init
and then the old key from my shell environment, thanks for checking.
from porder.
Related Issues (20)
- Missing import progressbar in async_down.py HOT 1
- can't seem to get gcs delievery working HOT 1
- can't seem to switch subscriptions HOT 1
- AOI clip error HOT 1
- Missing files after download HOT 2
- idlist command not completeing, no error message HOT 5
- order download link HOT 1
- zipped cloud delivery KeyError HOT 2
- AttributeError: 'Namespace' object has no attribute 'func' for python 3.6 or greater HOT 5
- init deprecation warnings for each scene that is searched with porder search HOT 2
- support n string or range filters HOT 2
- UDM2 mask download HOT 1
- bad request, no acceptable assets even though asset set to "visual" or "analytic" HOT 4
- unexpected behavior of porder idlist - returning empty file HOT 4
- Suggestion: filter by acquisition time HOT 3
- When downloading an order, manifest.json sometime overwrites contents of another file HOT 7
- accessing analytic_8b_sr_udm2
- Error converting to geojson from shapefile
- Issues with MultiPolygon AOI and Order Command
- Support for PSScene
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from porder.