NCAR / DART

Data Assimilation Research Testbed
https://dart.ucar.edu/
Apache License 2.0
187 stars 140 forks source link

domain mismatch error message for CLM-DART #560

Open braczka opened 10 months ago

braczka commented 10 months ago

Describe the bug

  1. List the steps someone needs to take to reproduce the bug. When executing filter_restart within an CLM-DART assimilation a user can get a start+count exceeds dimension bound error if 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'

  2. 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.

  3. 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