Skip to content

Commit

Permalink
Updating error message.
Browse files Browse the repository at this point in the history
  • Loading branch information
mwaxmonsky committed Aug 16, 2023
1 parent 2b2e2a9 commit cd7cf8a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/physics/utils/physics_data.F90
Original file line number Diff line number Diff line change
Expand Up @@ -205,7 +205,7 @@ subroutine read_field_2d(file, std_name, var_names, timestep, buffer, mark_as_re
end if
else if (.not. error_on_not_found_local) then
if (masterproc) then
write(iulog, *) 'Var not found AND not failing when not found reading ', trim(arr2str(var_names)), ' and ', trim(std_name)
write(iulog, *) trim(std_name), ' not found, also looked for: ', trim(arr2str(var_names))
call shr_sys_flush(iulog)
end if
else
Expand Down Expand Up @@ -298,7 +298,7 @@ subroutine read_field_3d(file, std_name, var_names, vcoord_name, &
end if
else if (.not. error_on_not_found_local) then
if (masterproc) then
write(iulog, *) 'Var not found AND not failing when not found reading ', trim(arr2str(var_names)), ' and ', trim(std_name)
write(iulog, *) trim(std_name), ' not found, also looked for: ', trim(arr2str(var_names))
call shr_sys_flush(iulog)
end if
else
Expand Down

0 comments on commit cd7cf8a

Please sign in to comment.