@@ -45,9 +45,8 @@ module MOM_surface_forcing
45
45
use user_surface_forcing, only : USER_surface_forcing_init, user_surface_forcing_CS
46
46
use user_revise_forcing, only : user_alter_forcing, user_revise_forcing_init
47
47
use user_revise_forcing, only : user_revise_forcing_CS
48
- use idealized_hurricane, only : idealized_hurricane_wind_init
49
- use idealized_hurricane, only : idealized_hurricane_wind_forcing, SCM_idealized_hurricane_wind_forcing
50
- use idealized_hurricane, only : idealized_hurricane_CS
48
+ use idealized_hurricane, only : idealized_hurricane_wind_forcing
49
+ use idealized_hurricane, only : idealized_hurricane_wind_init, idealized_hurricane_CS
51
50
use SCM_CVmix_tests, only : SCM_CVmix_tests_surface_forcing_init
52
51
use SCM_CVmix_tests, only : SCM_CVmix_tests_wind_forcing
53
52
use SCM_CVmix_tests, only : SCM_CVmix_tests_buoyancy_forcing
@@ -297,7 +296,8 @@ subroutine set_forcing(sfc_state, forces, fluxes, day_start, day_interval, G, US
297
296
elseif (trim (CS% wind_config) == " ideal_hurr" ) then
298
297
call idealized_hurricane_wind_forcing(sfc_state, forces, day_center, G, US, CS% idealized_hurricane_CSp)
299
298
elseif (trim (CS% wind_config) == " SCM_ideal_hurr" ) then
300
- call SCM_idealized_hurricane_wind_forcing(sfc_state, forces, day_center, G, US, CS% idealized_hurricane_CSp)
299
+ call MOM_error(FATAL, " MOM_surface_forcing (set_forcing): " // &
300
+ ' WIND_CONFIG = "SCM_ideal_hurr" is a depricated option.' )
301
301
elseif (trim (CS% wind_config) == " SCM_CVmix_tests" ) then
302
302
call SCM_CVmix_tests_wind_forcing(sfc_state, forces, day_center, G, US, CS% SCM_CVmix_tests_CSp)
303
303
elseif (trim (CS% wind_config) == " USER" ) then
@@ -1780,8 +1780,8 @@ subroutine surface_forcing_init(Time, G, US, param_file, diag, CS, tracer_flow_C
1780
1780
call get_param(param_file, mdl, " WIND_CONFIG" , CS% wind_config, &
1781
1781
" The character string that indicates how wind forcing is specified. Valid " // &
1782
1782
" options include (file), (data_override), (2gyre), (1gyre), (gyres), (zero), " // &
1783
- " (const), (Neverworld), (scurves), (ideal_hurr), (SCM_ideal_hurr), " // &
1784
- " (SCM_CVmix_tests) and (USER). " , default= " zero" )
1783
+ " (const), (Neverworld), (scurves), (ideal_hurr), (SCM_CVmix_tests) and (USER). " , &
1784
+ default= " zero" )
1785
1785
if (trim (CS% wind_config) == " file" ) then
1786
1786
call get_param(param_file, mdl, " WIND_FILE" , CS% wind_file, &
1787
1787
" The file in which the wind stresses are found in " // &
@@ -1990,9 +1990,13 @@ subroutine surface_forcing_init(Time, G, US, param_file, diag, CS, tracer_flow_C
1990
1990
call dumbbell_surface_forcing_init(Time, G, US, param_file, diag, CS% dumbbell_forcing_CSp)
1991
1991
elseif (trim (CS% wind_config) == " MESO" .or. trim (CS% buoy_config) == " MESO" ) then
1992
1992
call MESO_surface_forcing_init(Time, G, US, param_file, diag, CS% MESO_forcing_CSp)
1993
- elseif (trim (CS% wind_config) == " ideal_hurr" .or. &
1994
- trim (CS% wind_config) == " SCM_ideal_hurr" ) then
1993
+ elseif (trim (CS% wind_config) == " ideal_hurr" ) then
1995
1994
call idealized_hurricane_wind_init(Time, G, US, param_file, CS% idealized_hurricane_CSp)
1995
+ elseif (trim (CS% wind_config) == " SCM_ideal_hurr" ) then
1996
+ call MOM_error(FATAL, " MOM_surface_forcing (surface_forcing_init): " // &
1997
+ ' WIND_CONFIG = "SCM_ideal_hurr" is a depricated option. ' // &
1998
+ ' To obtain mathematically equivalent results set ' // &
1999
+ ' WIND_CONFIG = "ideal_hurr", IDL_HURR_SCM = True and IDL_HURR_X0 = 6.48e+05.' )
1996
2000
elseif (trim (CS% wind_config) == " const" ) then
1997
2001
call get_param(param_file, mdl, " CONST_WIND_TAUX" , CS% tau_x0, &
1998
2002
" With wind_config const, this is the constant zonal wind-stress" , &
0 commit comments