ai2cm / fv3config

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

Add enable_restart functionality #9

Closed oliverwm1 closed 4 years ago

oliverwm1 commented 4 years ago

Closes #4

Add a function that takes a config dictionary and changes the relevant namelist parameters so that it is valid for a model run initialized from restart files.

mcgibbon commented 4 years ago

Ah we also need tests that the returned dictionary is a copy (changing it doesn't change the input dictionary, the input dictionary is unchanged, etc.)

oliverwm1 commented 4 years ago

Ah we also need tests that the returned dictionary is a copy (changing it doesn't change the input dictionary, the input dictionary is unchanged, etc.)

Tests added.