USDA-ARS-NWRC / smrf

SMRF was designed to increase the flexibility of taking measured weather data, or atmospheric models, and distributing the data across a watershed.
Other
12 stars 4 forks source link

Add in a "Recipes" ability to config #52

Closed micahjohnson150 closed 6 years ago

micahjohnson150 commented 6 years ago

As our config file grows we should start to think about how to limit the amount of parameters that land in a a final config file. As of right now, the config file recieves the default for all the vaules possible in config after the user is done with it. @scotthavens has started to add some more options and suggested using "Hidden sections" in the core config to manage this.

E.G.

Input parameters

[air_temp] distribution: idw

CoreConfig Recipes

[_distribution_idw] slope: = -1

The would be seen by smrf the same as [air_temp] distribution: idw slope: -1

The trick here will be managing the options associate with an option that is set in the recipe and can be set by the module.

Questions to answer:

micahjohnson150 commented 6 years ago

This was fixed with inicheck 0.2.0.