KMarkert / hydrate

Python package to setup and run hydrologic models using data from Earth Engine
GNU General Public License v3.0
17 stars 6 forks source link

KeyError when trying to add MODIS Leaf Area Index (LAI) data #5

Open poudelp opened 2 years ago

poudelp commented 2 years ago

When I use the code lai = hyd.Parameter(session, "earthengine-public", 'MODIS/061/MOD15A2H', bands=['Lai_500m']) basinLai = lai.getModelDomain(model, scaleFactor=10)

there is a KeyError: 'properties'.

The original code is as follows lai = hyd.Parameter(session, "earthengine-legacy", "users/kelmarkert/public/lai_climatology_2002_2019")

Is there a way to work directly with the MODIS dataset in Earth Engine for Leaf Area Index and Albedo instead of accessing your repository?

shrijwal commented 1 year ago

Apologies for writing in this issue: Could you shed some light on creating the credentials for ee api to access the resource?