mirror of
https://github.com/heyarne/earth-observation-for-journalism.git
synced 2026-05-06 19:13:40 +02:00
Remove unnecessary helper scihub_product_ids
This commit is contained in:
parent
c1fe0f31d4
commit
99678b9792
5 changed files with 4973 additions and 1006 deletions
|
|
@ -307,7 +307,6 @@
|
|||
],
|
||||
"source": [
|
||||
"from tqdm.notebook import tqdm\n",
|
||||
"from sentinel_helpers import scihub_product_ids\n",
|
||||
"\n",
|
||||
"gdf = gdf.sort_values(by='cloudcoverpercentage', ascending=False)\n",
|
||||
"geometry = footprint.iloc[0].geometry\n",
|
||||
|
|
@ -551,7 +550,7 @@
|
|||
},
|
||||
{
|
||||
"cell_type": "code",
|
||||
"execution_count": 11,
|
||||
"execution_count": 19,
|
||||
"metadata": {},
|
||||
"outputs": [],
|
||||
"source": [
|
||||
|
|
@ -559,8 +558,8 @@
|
|||
"dst_path = Path('input/raster/true_color_pipeline')\n",
|
||||
"! mkdir -p {dst_path}\n",
|
||||
"\n",
|
||||
"subset = scihub_product_ids(gdf.loc[:idx])\n",
|
||||
"downloads = api.download_all(subset, dst_path)"
|
||||
"product_ids = gdf.loc[:idx, 'uuid'].values\n",
|
||||
"downloads, _m _ = api.download_all(subset, dst_path)"
|
||||
]
|
||||
},
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue