Skip to content

Commit

Permalink
Compare _format variables to the correct default (now 'cdf1') when co…
Browse files Browse the repository at this point in the history
…nfirming PIO settings
  • Loading branch information
anton-seaice committed Feb 20, 2024
1 parent 4f09d1f commit 3cef8e5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cicecore/drivers/nuopc/cmeps/ice_comp_nuopc.F90
Original file line number Diff line number Diff line change
Expand Up @@ -651,11 +651,11 @@ subroutine InitializeAdvertise(gcomp, importState, exportState, clock, rc)
isPresent=isPresent, isSet=isSet, rc=rc)
if (chkerr(rc,__LINE__,u_FILE_u)) return
if (isPresent .and. isSet) then
if (trim(history_format)/='cdf2' .and. mastertask) then
if (trim(history_format)/='cdf1' .and. mastertask) then
write(nu_diag,*) trim(subname)//history_format//'WARNING: history_format from cice_namelist ignored'
write(nu_diag,*) trim(subname)//'WARNING: using '//trim(cvalue)//' from ICE_modelio'
endif
if (trim(restart_format)/='cdf2' .and. mastertask) then
if (trim(restart_format)/='cdf1' .and. mastertask) then
write(nu_diag,*) trim(subname)//restart_format//'WARNING: restart_format from cice_namelist ignored'
write(nu_diag,*) trim(subname)//'WARNING: using '//trim(cvalue)//' from ICE_modelio'
endif
Expand Down

0 comments on commit 3cef8e5

Please sign in to comment.