mirror of
https://github.com/heyarne/earth-observation-for-journalism.git
synced 2026-05-06 19:13:40 +02:00
plot_downloaded_products → plot_product_extent
This commit is contained in:
parent
f5e22013c4
commit
3d50f4a014
6 changed files with 22 additions and 22 deletions
|
|
@ -131,8 +131,8 @@
|
|||
}
|
||||
],
|
||||
"source": [
|
||||
"from sentinel_helpers import plot_downloaded_products\n",
|
||||
"plot_downloaded_products(products, brandenburg, figsize=(9,9))"
|
||||
"from sentinel_helpers import plot_product_extent\n",
|
||||
"plot_product_extent(products, brandenburg, figsize=(9,9))"
|
||||
]
|
||||
},
|
||||
{
|
||||
|
|
@ -252,8 +252,8 @@
|
|||
"# plot subset of tiles left and right\n",
|
||||
"ax1.set_title('Tiles starting with T32')\n",
|
||||
"ax2.set_title('Tiles starting with T33')\n",
|
||||
"plot_downloaded_products(t32_tiles, brandenburg, ax=ax1)\n",
|
||||
"plot_downloaded_products(t33_tiles, brandenburg, ax=ax2)\n",
|
||||
"plot_product_extent(t32_tiles, brandenburg, ax=ax1)\n",
|
||||
"plot_product_extent(t33_tiles, brandenburg, ax=ax2)\n",
|
||||
"plt.tight_layout()"
|
||||
]
|
||||
},
|
||||
|
|
@ -310,7 +310,7 @@
|
|||
" ax.set_xlim(xmin=bounds[0], xmax=bounds[2])\n",
|
||||
" ax.set_ylim(ymin=bounds[1], ymax=bounds[3])\n",
|
||||
" per_orbit = products[products['orbitnumber'] == orbit]\n",
|
||||
" plot_downloaded_products(per_orbit, brandenburg, ax=ax, alpha=0.2)\n",
|
||||
" plot_product_extent(per_orbit, brandenburg, ax=ax, alpha=0.2)\n",
|
||||
" \n",
|
||||
"# hide empty subplots\n",
|
||||
"for ax in axs[len(orbits):]:\n",
|
||||
|
|
@ -524,7 +524,7 @@
|
|||
"cell_type": "markdown",
|
||||
"metadata": {},
|
||||
"source": [
|
||||
"The function `plot_downloaded_products` is reused to get a visual impression of the area of the union of tiles just created:"
|
||||
"The function `plot_product_extent` is reused to get a visual impression of the area of the union of tiles just created:"
|
||||
]
|
||||
},
|
||||
{
|
||||
|
|
@ -556,7 +556,7 @@
|
|||
}
|
||||
],
|
||||
"source": [
|
||||
"plot_downloaded_products(union, brandenburg, figsize=(9,9))"
|
||||
"plot_product_extent(union, brandenburg, figsize=(9,9))"
|
||||
]
|
||||
},
|
||||
{
|
||||
|
|
@ -719,7 +719,7 @@
|
|||
" if union.contains(brandenburg_geometry):\n",
|
||||
" break\n",
|
||||
" \n",
|
||||
"plot_downloaded_products(union, brandenburg)"
|
||||
"plot_product_extent(union, brandenburg)"
|
||||
]
|
||||
},
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue