Skip to content

Commit

Permalink
In response to NOAA-GFDL#178
Browse files Browse the repository at this point in the history
  • Loading branch information
MJHarrison-GFDL committed Sep 29, 2022
1 parent c565ec3 commit a53922a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/ice_ridge.F90
Original file line number Diff line number Diff line change
Expand Up @@ -239,7 +239,11 @@ subroutine ice_ridging(IST, G, IG, mca_ice, mca_snow, mca_pond, TrReg, CS, US, d

call icepack_query_tracer_sizes(ncat_out=ncat_out,ntrcr_out=ntrcr_out, nilyr_out=nilyr_out, nslyr_out=nslyr_out)

if (nIlyr .ne. nilyr_out .or. nSlyr .ne. nslyr_out ) call SIS_error(FATAL,'nilyr or nslyr mismatch with Icepack')
if (nIlyr .ne. nilyr_out .or. nSlyr .ne. nslyr_out ) &
call SIS_error(FATAL,"Oops!! It looks like you are trying to use sea-ice ridging "//&
"but did not include the Icepack (https://github.com/CICE-Consortium/Icepack)"//&
"source code repository in your compilation procedure, and are instead using the default "//&
"stub routine contained in config_src/external. Adjust your compilation accordingly." )

! copy strain calculation code from SIS_C_dynamics; might be a more elegant way ...
!
Expand Down

0 comments on commit a53922a

Please sign in to comment.