Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion extern/stim
3 changes: 1 addition & 2 deletions src/airsea/airsea.F90
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,6 @@ module airsea_driver
!
! Meteorological forcing variables
integer, public :: hum_method
integer, public :: back_radiation_method
character(len=PATH_MAX) :: meteo_file
type (type_scalar_input), public, target :: u10,v10
type (type_scalar_input), public, target :: airp,airt
Expand Down Expand Up @@ -263,7 +262,7 @@ subroutine init_airsea_nml(namlst, fn)
REALTYPE :: const_tx,const_ty
REALTYPE :: const_precip
REALTYPE :: precip_factor
!integer :: back_radiation_method jp--> to be used in ice must be declared as public outside of this subroutine.
integer :: back_radiation_method
integer :: heat_method

namelist /airsea/ calc_fluxes, &
Expand Down
4 changes: 2 additions & 2 deletions src/gotm/gotm.F90
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ module gotm
use airsea_driver, only: wind=>w,tx,ty,hum,I_0,cloud,heat,precip,evap,airp,albedo
use airsea_driver, only: bio_albedo,bio_drag_scale
use airsea_driver, only: u10,v10,airt,sst,sss
use airsea_driver, only: back_radiation_method,hum_method,fluxes_method
use airsea_driver, only: ql,hum_method,fluxes_method
use airsea_variables, only: qa,ta

#ifdef _ICE_
Expand Down Expand Up @@ -747,7 +747,7 @@ subroutine integrate_gotm()
call do_ice(h(nlev),dt,T(nlev),S(nlev),ta,precip%value,Qsw, &
surface_fluxes,julianday,secondsofday,longitude, &
latitude,I_0%value,airt%value,airp%value,hum%value, &
u10%value,v10%value,cloud%value,rho(nlev),rho_0,back_radiation_method, & !sst,sss%value,
u10%value,v10%value,cloud%value,rho(nlev),rho_0,ql%method, & !sst,sss%value, !ql%method == longwave_radiation_method
hum_method,fluxes_method,albedo,heat%value)
#endif

Expand Down