Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

i.eodag: add files support #1097

Merged
merged 32 commits into from
Jun 15, 2024
Merged
Show file tree
Hide file tree
Changes from 23 commits
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
ee11103
add some files support, fixing rebase issue
HamedElgizery Jun 9, 2024
7c26ffb
Update src/imagery/i.eodag/i.eodag.py
HamedElgizery Jun 9, 2024
3022b85
Update src/imagery/i.eodag/i.eodag.py
HamedElgizery Jun 10, 2024
8c7da0b
Update src/imagery/i.eodag/i.eodag.py
HamedElgizery Jun 10, 2024
907dd81
Space out the options section
HamedElgizery Jun 10, 2024
96f4a67
Merge branch 'files' of github.com:HamedElgizery/grass-addons into files
HamedElgizery Jun 10, 2024
d2f9d54
Fix enumerate, remove footprint option
HamedElgizery Jun 10, 2024
4200205
Use Path read_text function instead of ids_from_file_txt
HamedElgizery Jun 10, 2024
e9e42cc
Remove parse_file_option function
HamedElgizery Jun 10, 2024
a0943b9
Merge file and id options
HamedElgizery Jun 10, 2024
1553ead
Add AOI from vector map
HamedElgizery Jun 10, 2024
7b1f013
Seperate file and id options exclusively
HamedElgizery Jun 11, 2024
c5d52e9
Code reformatting
HamedElgizery Jun 11, 2024
ff68e86
update manual
HamedElgizery Jun 11, 2024
b1b9286
Add additional filtering layer
HamedElgizery Jun 11, 2024
d303ac4
Delete src/imagery/i.eodag/.i.eodag.py.swp
HamedElgizery Jun 11, 2024
46913ee
Change default provider and dataset
HamedElgizery Jun 11, 2024
4a70d49
Change default dataset to S2_MSI_L1C
HamedElgizery Jun 12, 2024
b1d2fec
Make provider optional
HamedElgizery Jun 12, 2024
98187ef
Update i.eodag.py
HamedElgizery Jun 12, 2024
d178953
Update src/imagery/i.eodag/i.eodag.html
HamedElgizery Jun 14, 2024
d4f5f12
Update src/imagery/i.eodag/i.eodag.html
HamedElgizery Jun 14, 2024
658e5a8
Merge branch 'grass8' into files
HamedElgizery Jun 14, 2024
4d9af90
Update src/imagery/i.eodag/i.eodag.py
HamedElgizery Jun 14, 2024
fb1c3d1
Update src/imagery/i.eodag/i.eodag.py
HamedElgizery Jun 14, 2024
0dd4370
Update src/imagery/i.eodag/i.eodag.py
HamedElgizery Jun 14, 2024
39d0068
Refactor parsing of id and file options
HamedElgizery Jun 14, 2024
179e6fd
Use kwargs in setup_environments_variables
HamedElgizery Jun 14, 2024
f39a6ab
Rename dataframe keys names
HamedElgizery Jun 14, 2024
3e4e50b
Update src/imagery/i.eodag/i.eodag.py
HamedElgizery Jun 14, 2024
d9a601f
Refactor get_bb in get_aoi
HamedElgizery Jun 14, 2024
d1a492f
Add pandas to requirements
HamedElgizery Jun 14, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 12 additions & 4 deletions src/imagery/i.eodag/i.eodag.html
Original file line number Diff line number Diff line change
Expand Up @@ -57,18 +57,26 @@ <h3>WARNING: I.EODAG IS UNDER DEVELOPMENT. THIS IS AN EXPERIMENTAL VERSION.</h3>

<h2>EXAMPLES</h2>

Search and list the available Sentinel 2 scenes in the Copernicus Data Space Ecosystem:
Search and list the available Sentinel 2 scenes in the Copernicus Data Space Ecosystem, using a Vector Map as an AOI:

<div class="code"><pre>
v.extract input=urbanarea where="NAME = 'Durham'" output=durham

i.eodag -l start=2022-05-25 end=2022-06-01 \
HamedElgizery marked this conversation as resolved.
Show resolved Hide resolved
dataset=S2_MSI_L2A provider=cop_dataspace
map=durham dataset=S2_MSI_L2A provider=cop_dataspace
<pre></div>

Download all available scenes in the tmp directory:
Download all available scenes in the tmp directory, with Cloud Coverage not exceeding 50%:

<div class="code"><pre>
i.eodag start=2022-05-25 end=2022-06-01 \
dataset=S2_MSI_L2A provider=cop_dataspace
dataset=S2_MSI_L2A provider=cop_dataspace clouds=50
<pre></div>

Download only selected scenes from a text file of IDs, using the Copernicus Data Space Ecosystem as the provider:

<div class="code"><pre>
i.eodag file=ids_list.txt provider=cop_dataspace
<pre></div>

Download and extract only selected scenes into the <em>download_here</em> directory,
Expand Down
Loading