environmental-modeling-workflows / watershed-workflow

Python workflows for data-rich, hyper-resolution simulations of hydrologic models on watersheds.
Other
67 stars 29 forks source link

NLCD spelled incorrectly #65

Closed ecoon closed 1 year ago

ecoon commented 1 year ago

As reported by Maria Contreras-Vargas on the user group:

2) I am creating a mesh and I'm getting a "NotImplementedError" when downloading the NLCD land cover (see the error below). How can I add it?

NotImplementedError: Not yet implemented (but trivial to add, just ask!): nlcd_2016_Land_Cover_L48

This looks like a bug in master and 1.4 release. The fix is to change line 17 of watershed_workflow/sources/manager_nlcd.py to ‘nlcd_2016_Land_Cover_L48': (note the capitalization error!) and it will hopefully work!