ai2cm / fv3config

Manipulate FV3GFS run directories
Apache License 2.0
1 stars 0 forks source link

Ensure write_run_directory does not mutate input config #137

Closed oliverwm1 closed 3 years ago

oliverwm1 commented 3 years ago

Currently the write_run_directory function mutates the input if nudging is enabled. It also does so (in a subtle way) if the config["initial_conditions"] entry is a list. This PR adds tests for these cases and fixes them.

Resolves #130