ErikNixdorf / sbat

The Repo for the Surface Water Balance Analysis Tool
BSD 3-Clause "New" or "Revised" License
3 stars 0 forks source link

merging gauge_meta and gauge_meta decadal functions #50

Closed ErikNixdorf closed 1 year ago

ErikNixdorf commented 1 year ago

currently gauge_meta stores computed data per gauge if in the yml file compute_each_decade is set to false and in the other case a variable gauge_meta_decadal is created which stores the same but has a nother flag column named decade

This double structure is very annoying and overcoming it will save many lines of code

Idea is to write all gauge_meta data to a single variable called gauge_meta which has a column decade which is set to -9999 if compute_each_decade is set to false