ai2cm / fv3config

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

Uniformative error message for conflicting physics diagnostic frequencies #156

Closed nbren12 closed 2 years ago

nbren12 commented 2 years ago

I recently came across the error:

Traceback (most recent call last):
  File "scripts/test_config.py", line 11, in <module>
    config_fv3config = config.to_fv3config()
  File "/usr/local/lib/python3.8/dist-packages/runtime/segmented_run/prepare_config.py", line 178, in to_fv3config
    file_configs_to_namelist_settings(
  File "/usr/local/lib/python3.8/dist-packages/runtime/diagnostics/fortran.py", line 158, in file_configs_to_namelist_settings
    raise NotImplementedError(
NotImplementedError: Cannot output physics diagnostics at multiple frequencies.

which is not very helpful. It should say what namelist options I need to fix.

nbren12 commented 2 years ago

whoops. wrong repo.