class eocrops.inputs.vhrs.DownloadVHRSSentinelHub(shapefile, time_stamp, config, maxCloudCoverage, url='https://services.sentinel-hub.com/api/v1/dataimport/')[source]#

Bases: object

Download VHRS data from Sentinelhub

Methods

confirm_order(order_id)

Confirm the order after the having ordered the query

execute_query(provider[, name_query])

Execute workflow to get commercial data

get_data(order_id, collection_id, provider, ...)

Download the data from Sentinelhub using eo-learn package

get_quotas()

Get quota from you SH account

reset_workflow()

Reset workflow to make any new order

check_status

get_quotas()[source]#

Get quota from you SH account

execute_query(provider, name_query='')[source]#

Execute workflow to get commercial data

Parameters:
providertuple

choice between (‘AIRBUS’, ‘PHR’), (‘AIRBUS’, ‘SPOT’),(‘PLANET’, ‘PSScene4Band’)

name_querystr

name that you can specify to retrieve easily on init_param_query

Returns:
order and collection id to download the data, accessible as well in https://apps.sentinel-hub.com/dashboard/#/tpdi
confirm_order(order_id)[source]#

Confirm the order after the having ordered the query

Parameters:
order_idstr

id of the order

Returns:
collection_id for SH
check_status(order_id)[source]#
reset_workflow()[source]#

Reset workflow to make any new order

get_data(order_id, collection_id, provider, resolution, pansharpen=False, otb_path=None)[source]#

Download the data from Sentinelhub using eo-learn package

Parameters:
order_idstr

order id from the 3rd party import https://apps.sentinel-hub.com/dashboard/#/tpdi

collection_idstr

collection id that we get when we order the data.You can also copy/paste it from your SentinelHub account (see ingested data)

pansharpenbool

Apply pansharpening using OTB

otb_pathstr

path where you have your OTB bin installed

Returns:
EOPatch