Remove unnecessary helper scihub_product_ids

This commit is contained in:
heyarne 2021-02-16 17:02:06 +00:00
commit 99678b9792
5 changed files with 4973 additions and 1006 deletions

View file

@ -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)"
]
},
{