domain mismatch error message for CLM-DART
Describe the bug
- List the steps someone needs to take to reproduce the bug.
When executing
filter_restartwithin an CLM-DART assimilation a user can get astart+count exceeds dimension bound errorif the number of domains specified within the&model_nml: ( 3 possible: restart, history and vector) is different than what is defined within the&fill_inflation_restart_nml: .. .. input_state_files = 'clm_restart.nc','clm_history.nc','clm_vector_history.nc'
and/or the &filter_nml:
..
..
input_state_file_list = 'restart_files.txt',
'history_files.txt',
'vector_files.txt'
output_state_file_list = 'restart_files.txt',
'history_files.txt',
'vector_files.txt'
-
What was the expected outcome? An error or warning is definitely needed here, but the current error message is not very intuitive. Needs something that directs the user to check for domain consistency.
-
What actually happened?
See error message example below:
Error Message
An example when only restart and history domain variables are needed in &model_nml, but user does not update the &fill_inflation_restart_nml or the &filter_nml settings:
fill_inflation_restart: - Reading File : clm_restart.nc fill_inflation_restart: - Reading File : clm_history.nc ERROR FROM: source : netcdf_utilities_mod.f90 routine: read_variables: nf90_get_var message: TLAI: NetCDF: Start+count exceeds dimension bound message: ...
Which model(s) are you working with?
CLM
Version of DART
Which version of DART are you using? latest
Have you modified the DART code?
No