Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 3 additions & 4 deletions diag_manager/fms_diag_file_object.F90
Original file line number Diff line number Diff line change
Expand Up @@ -889,10 +889,9 @@ subroutine add_axes(this, axis_ids, diag_axis, naxis, yaml_id, buffer_id, output
if (.not. axis_found) then
if (is_x_or_y) then
if (subregion_gridtype .eq. latlon_gridtype .and. is_cube_sphere) &
call mpp_error(FATAL, "If using the cube sphere and defining the subregion with latlon "//&
"the variable need to have the same x and y axis. Please check the variables in the file "//&
trim(this%get_file_fname())//" or use indices to define the subregion.")

call mpp_error(FATAL, "The axis for the variable:"//trim(field_yaml%get_var_varname())//&
"in the file: "//trim(this%get_file_fname())//" differ from the axes for the other "//&
"variables in the file. All variables in a file need to be registed with the same axes.")
select case (subregion_gridtype)
case (index_gridtype)
call define_new_subaxis_index(parent_axis, this%get_file_sub_region(), diag_axis, naxis, &
Expand Down
Loading