Skip to content

Commit

Permalink
Merge branch 'dev/gfdl' into diag_remap_in_Z
Browse files Browse the repository at this point in the history
  • Loading branch information
marshallward authored Mar 11, 2024
2 parents 2c0f4af + 0bd4c16 commit dbf9014
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/initialization/MOM_shared_initialization.F90
Original file line number Diff line number Diff line change
Expand Up @@ -256,8 +256,8 @@ subroutine apply_topography_edits_from_file(D, G, param_file, US)
call close_file_to_read(ncid, topo_edits_file)

do n = 1, n_edits
i = ig(n) - G%isd_global + 2 ! +1 for python indexing and +1 for ig-isd_global+1
j = jg(n) - G%jsd_global + 2
i = ig(n) - G%idg_offset + 1 ! +1 for python indexing
j = jg(n) - G%jdg_offset + 1
if (i>=G%isc .and. i<=G%iec .and. j>=G%jsc .and. j<=G%jec) then
if (new_depth(n) /= mask_depth) then
write(stdout,'(a,3i5,f8.2,a,f8.2,2i4)') &
Expand Down

0 comments on commit dbf9014

Please sign in to comment.