Skip to content

PLUMBER2 site usermods: Get values from .csv file #4121

Description

@samsrabin

There are a ton of PLUMBER2 user mod directories with things like this in shell_commands:

./xmlchange PTS_LON=-66.459808
./xmlchange PTS_LAT=-33.464802
./xmlchange DATM_YR_END=2010
./xmlchange DATM_YR_START_FILENAME=2010
./xmlchange START_TOD=10800
./xmlchange ATM_NCPL=48

Instead of hard-coding these, most could be determined programmatically from tools/site_and_regional/PLUMBER2_sites.csv. This would allow the CSV file to serve as the single source of truth, avoiding possible errors due to typos in the shell_commands files.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Fields

    No fields configured for Code Health.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions