From d2e9f512abc4b6c82e91fbfb8878b875410be7ec Mon Sep 17 00:00:00 2001 From: Philippe Blain Date: Mon, 11 Mar 2024 15:17:19 -0400 Subject: [PATCH] ice_forcing: do allow 'use_leap_years' with 'atm_data_type=default' MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit In e81f7102 (Added JRA55 forcing for gx3 grid; modified ice-forcing.F90 to now han… (#408), 2020-02-28), ice_forcing::init_forcing_atmo was modified to allow 'atm_data_type=JRA55_gx3' to be used with 'use_leap_years', but by mistake it removed 'default' from the allowed values of 'atm_data_type' when 'use_leap_years' is used. Put it back so that atm_data_type=default and use_leap_years can be used together again. --- cicecore/cicedyn/general/ice_forcing.F90 | 1 + 1 file changed, 1 insertion(+) diff --git a/cicecore/cicedyn/general/ice_forcing.F90 b/cicecore/cicedyn/general/ice_forcing.F90 index b977f54aa..f11b002a9 100755 --- a/cicecore/cicedyn/general/ice_forcing.F90 +++ b/cicecore/cicedyn/general/ice_forcing.F90 @@ -283,6 +283,7 @@ subroutine init_forcing_atmo endif if (use_leap_years .and. (index(trim(atm_data_type),'JRA55') == 0 .and. & + trim(atm_data_type) /= 'default' .and. & trim(atm_data_type) /= 'hycom' .and. & trim(atm_data_type) /= 'box2001')) then write(nu_diag,*) 'use_leap_years option is currently only supported for'