Skip to content

Commit

Permalink
Merge branch 'develop'
Browse files Browse the repository at this point in the history
  • Loading branch information
sbrunato committed Jul 30, 2021
2 parents 32c8d91 + ed3f618 commit a8b9009
Show file tree
Hide file tree
Showing 13 changed files with 791 additions and 33 deletions.
9 changes: 9 additions & 0 deletions CHANGES.rst
Original file line number Diff line number Diff line change
@@ -1,6 +1,15 @@
Release history
---------------

0.2.0 (2021-07-30)
++++++++++++++++++

- AWS credentials usage with rasterio (#19)
- Rioxarray usage to read data (#18)
- New StacAssets driver (#17)
- `get_data()` now accepts the same types of geometries as `eodag.search()` (#16)
- New notebook and readme example (#20)

0.1.2 (2021-06-18)
++++++++++++++++++

Expand Down
34 changes: 34 additions & 0 deletions NOTICE
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
EODAG-cube
Copyright 2021 CS GROUP - France

This software is distributed under the Apache Software License (ASL) v2.0, see LICENSE
file or http://www.apache.org/licenses/LICENSE-2.0 for details.


This software includes code from many other open source projects. See below for details
about the license of each project.


================================================================
The Apache 2.0 License
================================================================

The following components are provided under the Apache 2.0 License (https://opensource.org/licenses/Apache-2.0).
See project link for details.

https://grpc.io/
https://github.com/pydata/xarray
https://github.com/corteva/rioxarray
https://github.com/CS-SI/eodag


================================================================
The BSD-3-Clause Licence
================================================================

The following components are provided under the BSD-3-Clause License (https://opensource.org/licenses/BSD-3-Clause).
See project link for details.

http://www.numpy.org/
https://github.com/mapbox/rasterio
https://github.com/google/protobuf
30 changes: 21 additions & 9 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@
.. image:: https://img.shields.io/pypi/pyversions/eodag-cube.svg
:target: https://pypi.org/project/eodag-cube/

.. image:: https://mybinder.org/badge_logo.svg
:target: https://mybinder.org/v2/git/https%3A%2F%2Fgithub.com%2FCS-SI%2Feodag-cube.git/develop?filepath=docs%2Fnotebooks%2Fget_data_basic.ipynb

EODAG-cube
==========

Expand Down Expand Up @@ -36,7 +39,7 @@ Example usage for interacting with the api in your Python code:
from rasterio.crs import CRS
dag = EODataAccessGateway()
product_type = 'S2_MSI_L1C'
product_type = 'S2_MSI_L2A_COG'
footprint = {'lonmin': 1, 'latmin': 43.5, 'lonmax': 2, 'latmax': 44}
start, end = '2020-06-04', '2020-06-05'
search_results, _ = dag.search(productType=product_type, geom=footprint, start=start, end=end)
Expand All @@ -48,14 +51,23 @@ Example usage for interacting with the api in your Python code:
)
print(data)
<xarray.DataArray (dim_0: 750, dim_1: 566)>
array([[1426, 1577, 1672, ..., 6219, 5916, 5281],
[1416, 1668, 1830, ..., 6277, 6022, 5621],
[1502, 1896, 2107, ..., 6287, 6081, 5890],
...,
[1878, 2475, 2922, ..., 1605, 1604, 1654],
[1732, 2219, 2630, ..., 1670, 1659, 1664],
[1548, 1832, 2134, ..., 1722, 1732, 1718]], dtype=uint16)
<xarray.DataArray (band: 1, y: 833, x: 1666)>
array([[[ 432, 407, 430, ..., 0, 0, 0],
[ 587, 573, 589, ..., 0, 0, 0],
[ 742, 690, 622, ..., 0, 0, 0],
...,
[15264, 15247, 15214, ..., 0, 0, 0],
[15069, 15084, 15073, ..., 0, 0, 0],
[14686, 14701, 14722, ..., 0, 0, 0]]], dtype=uint16)
Coordinates:
* x (x) float64 0.9999 1.0 1.001 1.002 ... 1.887 1.887 1.888 1.888
* y (y) float64 44.0 44.0 44.0 44.0 44.0 ... 43.5 43.5 43.5 43.5
* band (band) int64 1
spatial_ref int64 0
Attributes:
scale_factor: 1.0
add_offset: 0.0
_FillValue: 0
Contribute
==========
Expand Down
1 change: 1 addition & 0 deletions binder/requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
eodag[tutorials]
Loading

0 comments on commit a8b9009

Please sign in to comment.