Skip to content

Commit

Permalink
refactor: adapt to eodag v3 (#59)
Browse files Browse the repository at this point in the history
  • Loading branch information
sbrunato authored Jun 25, 2024
1 parent 16e3d5e commit c26779d
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ Example usage for interacting with the api in your Python code:
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)
search_results = dag.search(productType=product_type, geom=footprint, start=start, end=end)
data = search_results[0].get_data(
crs=CRS.from_epsg(4326),
resolution=0.0006,
Expand Down
4 changes: 2 additions & 2 deletions docs/notebooks/get_data_basic.ipynb

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
package_data={"": ["LICENSE", "NOTICE"], "eodag_cube": ["py.typed"]},
include_package_data=True,
install_requires=[
"eodag >= 2.12.0",
"eodag >= 3.0.0b1",
"numpy",
"rasterio",
"xarray",
Expand Down

0 comments on commit c26779d

Please sign in to comment.