-
Notifications
You must be signed in to change notification settings - Fork 243
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
56 changed files
with
5,848 additions
and
515 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
# Makefile for creating a new release of the package and uploading it to PyPI | ||
# Before the release it resets the config.json file | ||
|
||
help: | ||
@echo "Use 'make release' to upload the package to PyPi" | ||
|
||
release: | ||
sentinelhub.config --instance_id "" --aws_access_key_id "" --aws_access_key_id "" --aws_secret_access_key "" | ||
python setup.py sdist upload -r pypi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
areas | ||
===== | ||
|
||
Module for working with large geographical areas. | ||
|
||
.. module:: sentinelhub.areas | ||
.. autoclass:: AreaSplitter | ||
:members: | ||
.. autoclass:: BBoxSplitter | ||
:members: | ||
.. autoclass:: OsmSplitter | ||
:members: | ||
.. autoclass:: TileSplitter | ||
:members: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
************* | ||
Configuration | ||
************* | ||
|
||
The package contains a configuration file ``config.json``. After the package is installed you can check the initial | ||
configuration parameters in command line:: | ||
|
||
$ sentinelhub.config --show | ||
|
||
Sentinel Hub Capabilities | ||
************************* | ||
|
||
The ``instance_id`` parameter will be empty. In case you would like to use any capabilities of the package that | ||
interact with `Sentinel Hub services`_ you can set your Sentinel Hub instance ID with:: | ||
|
||
$ sentinelhub.config --instance_id <your instance id> | ||
|
||
By doing so the package will use this instance ID to interact with Sentinel Hub unless you purposely specify a | ||
different one in the code. | ||
|
||
Amazon S3 Capabilities | ||
********************** | ||
|
||
The ``aws_access_key_id`` and ``aws_secret_access_key`` will also be empty. In case you would like package to access | ||
Sentinel-2 L2A data from `Amazon S3`_ service you can set these values using your AWS access key:: | ||
|
||
$ sentinelhub.config --aws_access_key_id <your access key> --aws_secret_access_key <your secret access key> | ||
|
||
Other | ||
***** | ||
|
||
For more configuration options check:: | ||
|
||
$ sentinelhub.config --help | ||
|
||
|
||
.. _`Sentinel Hub services`: https://www.sentinel-hub.com/develop/documentation/api/ogc_api/ | ||
.. _`Amazon S3`: https://aws.amazon.com/s3/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,25 @@ | ||
sentinelhub | ||
=========== | ||
*************** | ||
Package content | ||
*************** | ||
|
||
Content of the **sentinelhub** package. | ||
|
||
Modules | ||
~~~~~~~ | ||
|
||
.. toctree:: | ||
aws | ||
aws_safe | ||
common | ||
config | ||
constants | ||
data_request | ||
download | ||
geo_utils | ||
geopedia | ||
io_utils | ||
ogc | ||
opensearch | ||
os_utils | ||
time_utils | ||
areas | ||
aws | ||
aws_safe | ||
common | ||
config | ||
constants | ||
data_request | ||
download | ||
geo_utils | ||
geopedia | ||
io_utils | ||
ogc | ||
opensearch | ||
os_utils | ||
time_utils |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,11 @@ | ||
******** | ||
Examples | ||
======== | ||
******** | ||
|
||
.. toctree:: | ||
:maxdepth: 4 | ||
|
||
examples/ogc_request.ipynb | ||
examples/large_area_utilities.ipynb | ||
examples/aws_request.ipynb | ||
aws_cli |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.