Git Product home page Git Product logo

Comments (4)

batic avatar batic commented on July 19, 2024

At the moment the oldest S-1 data on AWS is from mid 2017, while the data on eo-cloud (used on EO-Browser) goes back to 2014. Sentinelhub-py uses data from AWS by default, as to use data from eo-cloud requires additional access to our prototype system on eo-cloud. For that access, send us an e-mail to [email protected].

Then you would enable access to eo-cloud data by fixing the base url in the config.json (in sentinelhub-py)

We have an example on how to do that on our "todo" list.

from eo-learn.

GalacticF avatar GalacticF commented on July 19, 2024

Hi, I've got acces, but with new access I still cannot get sentinel-1 data.
I've tried to connect to new instance to get Sentinel-1 results but using this code I got "No value present" error.
Is the any way to use new instance to connect via python?
I've tried both change INSTANCE_ID in code and in config.json, but it doesn't works.

from eolearn.io.sentinelhub_service import S1IWWCSInput

INSTANCE_ID =  '2a10eb2a...'

key = 'TRUECOLOR'
input_task = S1IWWCSInput(key, resx='10m', resy='10m', instance_id=INSTANCE_ID)

workflow = LinearWorkflow(input_task)
time_interval = ['2018-01-01','2018-12-31']
from sentinelhub import WebFeatureService, BBox, CRS, DataSource
bbox = BBox(bbox=[ 150.6450033,-32.4219569,150.6583071,-32.4383657], crs=CRS.WGS84)

results = workflow.execute({input_task:{'bbox':bbox, 'time_interval':time_interval}})

from eo-learn.

AleksMat avatar AleksMat commented on July 19, 2024

Hi @GalacticF,

eo-learn package uses sentinelhub Python package for downloading data. In order to download data from EOCloud you also have to change base url in package's configuration file. Please check this forum post for further explanation.

We are also planning to prepare some examples about this in documentation.

from eo-learn.

GalacticF avatar GalacticF commented on July 19, 2024

It works, thank you!

from eo-learn.

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.