easy_vic_build.build_GlobalParam
Build VIC global_param.txt from a reference template.
Public function
buildGlobalParamLoad the packaged global-parameter reference, fill required EVB paths, and apply user-provided overrides.
Functions
|
Build and write |
- easy_vic_build.build_GlobalParam.buildGlobalParam(evb_dir, GlobalParam_dict)[source]
Build and write
global_param.txtfor one case.The function first sets required default paths from
evb_dir:FORCING1,DOMAIN,PARAMETERS,LOG_DIR, andRESULT_DIR. It then applies values fromGlobalParam_dict.Section handling: -
FORCE_TYPE,DOMAIN_TYPE, andOUTVAR*useset_section_values(replace section content).Other sections are updated key by key with
set.
- Parameters:
evb_dir (Evb_dir) – Directory/path container for the current case.
GlobalParam_dict (dict) – Nested mapping of section names to configuration values.
- Return type:
None