easy_vic_build.build_GlobalParam

Build VIC global_param.txt from a reference template.

Public function

buildGlobalParam

Load the packaged global-parameter reference, fill required EVB paths, and apply user-provided overrides.

Functions

buildGlobalParam(evb_dir, GlobalParam_dict)

Build and write global_param.txt for one case.

easy_vic_build.build_GlobalParam.buildGlobalParam(evb_dir, GlobalParam_dict)[source]

Build and write global_param.txt for one case.

The function first sets required default paths from evb_dir: FORCING1, DOMAIN, PARAMETERS, LOG_DIR, and RESULT_DIR. It then applies values from GlobalParam_dict.

Section handling: - FORCE_TYPE, DOMAIN_TYPE, and OUTVAR* use

set_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