Skip to content
Merged
Changes from 1 commit
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
4 changes: 2 additions & 2 deletions cicecore/drivers/nuopc/cmeps/ice_mesh_mod.F90
Original file line number Diff line number Diff line change
Expand Up @@ -559,7 +559,7 @@ subroutine ice_mesh_check(gcomp, ice_mesh, rc)

! Check CICE mesh

use ice_constants, only : c1,c0,c360
use ice_constants, only : c1,c0,c2,c360
use ice_grid , only : tlon, tlat, hm

! input/output parameters
Expand Down Expand Up @@ -641,7 +641,7 @@ subroutine ice_mesh_check(gcomp, ice_mesh, rc)
if(tmplon < c0)tmplon = tmplon + c360

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tmplon can be removed


! error check differences between internally generated lons and those read in
diff_lon = abs(mod(lonMesh(n) - tmplon,360.0))
diff_lon = abs(mod(c2*c360+lonMesh(n),c360) - mod(c2*c360+lon(n),c360))
if (diff_lon > eps_imesh ) then
write(6,100)n,lonMesh(n),tmplon, diff_lon
!call abort_ice(error_message=subname, file=__FILE__, line=__LINE__)
Expand Down