Git Product home page Git Product logo

Comments (4)

samapriya avatar samapriya commented on September 26, 2024

Could you share the geojson file for me to run tests?

from porder.

rbavery avatar rbavery commented on September 26, 2024

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
selection_536

But in the next iteration of the while loop

selection_537

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.

samapriya avatar samapriya commented on September 26, 2024

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.

rbavery avatar rbavery commented on September 26, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.