eWaterCycle / ewatercycle-lisflood

eWaterCycle plugin for LISFLOOD hydrological model
Apache License 2.0
1 stars 1 forks source link

Handling reindex_forcings in lisflood #7

Open SarahAlidoost opened 3 years ago

SarahAlidoost commented 3 years ago

The extent of lisflood forcings should match the mask.nc map which is provided within parameter_set. I think reindex_forcing can be a generic util function that reindexes any input data according to a target file. But I amnot sure where it should be used: in forcing.lisflood or models.lisflood.

SarahAlidoost commented 3 years ago

hmmm, Lisvap uses the mask.ncmap too and is implemented in forcing.lisflood. Before, passing forcing files to lisvap, reindex_forcing should be applied.