mirror of
https://github.com/heyarne/earth-observation-for-journalism.git
synced 2026-05-06 19:13:40 +02:00
Fix 03c dNBR
This commit is contained in:
parent
63fd961cda
commit
2acc753091
9 changed files with 1096 additions and 495 deletions
|
|
@ -39,9 +39,11 @@ def plot_downloaded_products(products, area_of_interest, **kwargs):
|
|||
grey = '#777777'
|
||||
purple = '#988ED5'
|
||||
|
||||
# allow plotting raw shapely geometries
|
||||
if 'plot' not in dir(products):
|
||||
# allow plotting raw shapely geometries
|
||||
products = gpd.GeoSeries(products)
|
||||
if 'plot' not in dir(area_of_interest):
|
||||
area_of_interest = gpd.GeoSeries(area_of_interest)
|
||||
|
||||
# area of interest in background
|
||||
a = area_of_interest.plot(ax=ax, facecolor=grey)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue