Skip to content

Commit

Permalink
Add needed trim to default_model_mod.f90
Browse files Browse the repository at this point in the history
Co-authored-by: Helen Kershaw <20047007+hkershaw-brown@users.noreply.github.com>
  • Loading branch information
mjs2369 and hkershaw-brown authored Jan 13, 2025
1 parent a4b10d6 commit 79cd8ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion models/utilities/default_model_mod.f90
Original file line number Diff line number Diff line change
Expand Up @@ -344,7 +344,7 @@ function parse_variables_clamp(vars_table) result(state_vars)
! Make sure DART qty is valid
state_vars%qtys(i) = get_index_for_quantity(dart_qty_str)
if( state_vars%qtys(i) < 0 ) then
write(string1,*) 'The quantity specified in the &model_nml "', dart_qty_str, '", is not present in obs_kind_mod.f90'
write(string1,*) 'The quantity specified in the &model_nml "', trim(dart_qty_str), '", is not present in obs_kind_mod.f90'
call error_handler(E_ERR,'get_state_variables_clamp',string1)
endif

Expand Down

0 comments on commit 79cd8ea

Please sign in to comment.