DHI-GRAS / worldwater-toolbox

WorldWater Toolbox
GNU General Public License v3.0
4 stars 2 forks source link

Worldwater-toolbox not working #6

Closed AlessandroScremin closed 1 year ago

AlessandroScremin commented 1 year ago

Dear I try to run the notebook as it was but was not able to make it run

I copied the repository and run it. I needed to install different libraries first (leaflet and others) and was then able to authenticate throug the openEO account

After that I got an everendind run on the cell

3_worldwater_toolbox_BU notebook

Mexico - Victoria lake

start_date = '2022-05-01' bbox = eoMap.getBbox() spatial_extent = {'west':bbox[0],'east':bbox[2],'south':bbox[1],'north':bbox[3],'crs':4326}

print('west',bbox[0],'\neast',bbox[2],'\nsouth',bbox[1],'\nnorth',bbox[3]) print(spatial_extent)

Get the Sentinel-2 data for a 2 month window.

start_date_dt_object = datetime.strptime(start_date, '%Y-%m-%d') end_date = (start_date_dt_object + relativedelta(months = +1)).date() ## End date, 1 month later (1st Feb. 2021) start_date_exclusion = (start_date_dt_object + relativedelta(months = -1)).date() ## exclusion date, to give a 1 month window.

do you never experienced it