SCALE-RM
Functions/Subroutines | Variables
mod_land_vars Module Reference

module LAND Variables More...

Functions/Subroutines

subroutine, public land_vars_setup
 Setup. More...
 
subroutine, public land_vars_restart_read
 Read land restart. More...
 
subroutine, public land_vars_restart_write
 Write land restart. More...
 
subroutine, public land_vars_history
 History output set for land variables. More...
 
subroutine, public land_vars_total
 Budget monitor for land. More...
 
subroutine, public land_vars_external_in (LAND_TEMP_in, LAND_WATER_in, LAND_SFC_TEMP_in, LAND_SFC_albedo_in)
 Input from External I/O. More...
 
real(rp) function, dimension(ia, ja), public convert_ws2vwc (WS, critical)
 conversion from water saturation [fraction] to volumetric water content [m3/m3] More...
 

Variables

logical, public land_restart_output = .false.
 output restart file? More...
 
character(len=h_long), public land_restart_in_basename = ''
 basename of the restart file More...
 
character(len=h_long), public land_restart_out_basename = ''
 basename of the output file More...
 
character(len=h_mid), public land_restart_out_title = 'LAND restart'
 title of the output file More...
 
character(len=h_mid), public land_restart_out_dtype = 'DEFAULT'
 REAL4 or REAL8. More...
 
real(rp), dimension(:,:,:), allocatable, public land_temp
 temperature of each soil layer [K] More...
 
real(rp), dimension(:,:,:), allocatable, public land_water
 moisture of each soil layer [m3/m3] More...
 
real(rp), dimension(:,:), allocatable, public land_sfc_temp
 land surface skin temperature [K] More...
 
real(rp), dimension(:,:,:), allocatable, public land_sfc_albedo
 land surface albedo [0-1] More...
 
real(rp), dimension(:,:,:), allocatable, public land_temp_t
 tendency of LAND_TEMP More...
 
real(rp), dimension(:,:,:), allocatable, public land_water_t
 tendency of LAND_WATER More...
 
real(rp), dimension(:,:), allocatable, public land_sfc_temp_t
 tendency of LAND_SFC_TEMP More...
 
real(rp), dimension(:,:,:), allocatable, public land_sfc_albedo_t
 tendency of LAND_SFC_albedo More...
 
real(rp), dimension(:,:), allocatable, public land_sflx_mw
 land surface w-momentum flux [kg/m2/s] More...
 
real(rp), dimension(:,:), allocatable, public land_sflx_mu
 land surface u-momentum flux [kg/m2/s] More...
 
real(rp), dimension(:,:), allocatable, public land_sflx_mv
 land surface v-momentum flux [kg/m2/s] More...
 
real(rp), dimension(:,:), allocatable, public land_sflx_sh
 land surface sensible heat flux [J/m2/s] More...
 
real(rp), dimension(:,:), allocatable, public land_sflx_lh
 land surface latent heat flux [J/m2/s] More...
 
real(rp), dimension(:,:), allocatable, public land_sflx_gh
 land surface heat flux [J/m2/s] More...
 
real(rp), dimension(:,:), allocatable, public land_sflx_evap
 land surface water vapor flux [kg/m2/s] More...
 
real(rp), dimension(:,:), allocatable, public land_u10
 land surface velocity u at 10m [m/s] More...
 
real(rp), dimension(:,:), allocatable, public land_v10
 land surface velocity v at 10m [m/s] More...
 
real(rp), dimension(:,:), allocatable, public land_t2
 land surface temperature at 2m [K] More...
 
real(rp), dimension(:,:), allocatable, public land_q2
 land surface water vapor at 2m [kg/kg] More...
 
real(rp), dimension(:,:), allocatable, public atmos_temp
 
real(rp), dimension(:,:), allocatable, public atmos_pres
 
real(rp), dimension(:,:), allocatable, public atmos_w
 
real(rp), dimension(:,:), allocatable, public atmos_u
 
real(rp), dimension(:,:), allocatable, public atmos_v
 
real(rp), dimension(:,:), allocatable, public atmos_dens
 
real(rp), dimension(:,:), allocatable, public atmos_qv
 
real(rp), dimension(:,:), allocatable, public atmos_pbl
 
real(rp), dimension(:,:), allocatable, public atmos_sfc_pres
 
real(rp), dimension(:,:), allocatable, public atmos_sflx_lw
 
real(rp), dimension(:,:), allocatable, public atmos_sflx_sw
 
real(rp), dimension(:,:), allocatable, public atmos_cossza
 
real(rp), dimension(:,:), allocatable, public atmos_sflx_prec
 
real(rp), dimension(:,:,:), allocatable, public land_property
 land surface property More...
 
character(len=h_long), public land_property_in_filename = ''
 the file of land parameter table More...
 
integer, parameter, public land_property_nmax = 8
 
integer, parameter, public i_waterlimit = 1
 
integer, parameter, public i_watercritical = 2
 
integer, parameter, public i_thermalcond = 3
 
integer, parameter, public i_heatcapacity = 4
 
integer, parameter, public i_waterdiff = 5
 
integer, parameter, public i_z0m = 6
 
integer, parameter, public i_z0h = 7
 
integer, parameter, public i_z0e = 8
 

Detailed Description

module LAND Variables

Description
Container for land variables
Author
Team SCALE
  • 2013-08-31 (T.Yamaura) [new]
NAMELIST
  • PARAM_LAND_VARS
    nametypedefault valuecomment
    LAND_RESTART_IN_BASENAME character(len=H_LONG) '' basename of the restart file
    LAND_RESTART_OUTPUT logical .false. output restart file?
    LAND_RESTART_OUT_BASENAME character(len=H_LONG) '' basename of the output file
    LAND_RESTART_OUT_TITLE character(len=H_MID) 'LAND restart' title of the output file
    LAND_RESTART_OUT_DTYPE character(len=H_MID) 'DEFAULT' REAL4 or REAL8
    LAND_VARS_CHECKRANGE logical .false.

  • PARAM_LAND_PROPERTY
    nametypedefault valuecomment
    LAND_PROPERTY_IN_FILENAME character(len=H_LONG) '' the file of land parameter table

  • PARAM_LAND_DATA
    nametypedefault valuecomment
    INDEX integer
    DESCRIPTION character(len=H_LONG)
    STRGMAX real(RP)
    STRGCRT real(RP)
    TCS real(RP)
    HCS real(RP)
    DFW real(RP)
    Z0M real(RP)
    Z0H real(RP)
    Z0E real(RP)

History Output
namedescriptionunitvariable
LAND_ALB_LW land surface albedo (longwave) 0-1 LAND_SFC_albedo
LAND_ALB_SW land surface albedo (shortwave) 0-1 LAND_SFC_albedo
LAND_SFC_TEMP land surface skin temperature K LAND_SFC_TEMP
LAND_SFLX_GH land surface ground heat flux J/m2/s LAND_SFLX_GH
LAND_SFLX_LH land surface latent heat flux J/m2/s LAND_SFLX_LH
LAND_SFLX_MU land surface u-momentum flux kg/m2/s LAND_SFLX_MU
LAND_SFLX_MV land surface v-momentum flux kg/m2/s LAND_SFLX_MV
LAND_SFLX_MW land surface w-momentum flux kg/m2/s LAND_SFLX_MW
LAND_SFLX_SH land surface sensible heat flux J/m2/s LAND_SFLX_SH
LAND_SFLX_evap land surface water vapor flux kg/m2/s LAND_SFLX_evap
LAND_TEMP temperature at each soil layer K LAND_TEMP
LAND_WATER moisture at each soil layer m3/m3 LAND_WATER
LAND_DSAT degree of saturation at each soil layer 0-1 LAND_WATERDS

Function/Subroutine Documentation

◆ land_vars_setup()

subroutine, public mod_land_vars::land_vars_setup ( )

Setup.

Definition at line 190 of file mod_land_vars.f90.

References atmos_cossza, atmos_dens, atmos_pbl, atmos_pres, atmos_qv, atmos_sfc_pres, atmos_sflx_lw, atmos_sflx_prec, atmos_sflx_sw, atmos_temp, atmos_u, atmos_v, atmos_w, scale_const::const_undef, scale_grid_index::ia, scale_grid_index::ie, scale_stdio::io_fid_conf, scale_stdio::io_fid_log, scale_stdio::io_l, scale_stdio::io_lnml, scale_grid_index::is, scale_grid_index::ja, scale_grid_index::je, scale_grid_index::js, land_property, land_property_nmax, land_q2, land_restart_in_basename, land_restart_out_basename, land_restart_out_dtype, land_restart_out_title, land_restart_output, land_sfc_albedo, land_sfc_albedo_t, land_sfc_temp, land_sfc_temp_t, land_sflx_evap, land_sflx_gh, land_sflx_lh, land_sflx_mu, land_sflx_mv, land_sflx_mw, land_sflx_sh, land_t2, land_temp, land_temp_t, land_u10, land_v10, land_water, land_water_t, scale_landuse::landuse_index_pft, scale_landuse::landuse_pft_nmax, scale_land_grid_index::lkmax, and scale_process::prc_mpistop().

Referenced by mod_rm_driver::scalerm(), and mod_rm_prep::scalerm_prep().

190  use scale_process, only: &
192  use scale_const, only: &
193  undef => const_undef
194  use scale_comm, only: &
195  comm_vars8, &
196  comm_wait
197  use scale_landuse, only: &
200  implicit none
201 
202  namelist / param_land_vars / &
203  land_restart_in_basename, &
204  land_restart_output, &
205  land_restart_out_basename, &
206  land_restart_out_title, &
207  land_restart_out_dtype, &
208  land_vars_checkrange
209 
210  integer :: ierr
211  integer :: i, j, iv, p
212  !---------------------------------------------------------------------------
213 
214  if( io_l ) write(io_fid_log,*)
215  if( io_l ) write(io_fid_log,*) '++++++ Module[VARS] / Categ[LAND] / Origin[SCALE-RM]'
216 
217  allocate( land_temp(lkmax,ia,ja) )
218  allocate( land_water(lkmax,ia,ja) )
219  allocate( land_sfc_temp(ia,ja) )
220  allocate( land_sfc_albedo(ia,ja,2) )
221  land_temp(:,:,:) = undef
222  land_water(:,:,:) = undef
223  land_sfc_temp(:,:) = undef
224  land_sfc_albedo(:,:,:) = undef
225 
226  allocate( land_temp_t(lkmax,ia,ja) )
227  allocate( land_water_t(lkmax,ia,ja) )
228  allocate( land_sfc_temp_t(ia,ja) )
229  allocate( land_sfc_albedo_t(ia,ja,2) )
230  land_temp_t(:,:,:) = undef
231  land_water_t(:,:,:) = undef
232  land_sfc_temp_t(:,:) = undef
233  land_sfc_albedo_t(:,:,:) = undef
234 
235  allocate( land_sflx_mw(ia,ja) )
236  allocate( land_sflx_mu(ia,ja) )
237  allocate( land_sflx_mv(ia,ja) )
238  allocate( land_sflx_sh(ia,ja) )
239  allocate( land_sflx_lh(ia,ja) )
240  allocate( land_sflx_gh(ia,ja) )
241  allocate( land_sflx_evap(ia,ja) )
242  land_sflx_mw(:,:) = undef
243  land_sflx_mu(:,:) = undef
244  land_sflx_mv(:,:) = undef
245  land_sflx_sh(:,:) = undef
246  land_sflx_lh(:,:) = undef
247  land_sflx_gh(:,:) = undef
248  land_sflx_evap(:,:) = undef
249 
250  allocate( land_u10(ia,ja) )
251  allocate( land_v10(ia,ja) )
252  allocate( land_t2(ia,ja) )
253  allocate( land_q2(ia,ja) )
254  land_u10(:,:) = undef
255  land_v10(:,:) = undef
256  land_t2(:,:) = undef
257  land_q2(:,:) = undef
258 
259  allocate( atmos_temp(ia,ja) )
260  allocate( atmos_pres(ia,ja) )
261  allocate( atmos_w(ia,ja) )
262  allocate( atmos_u(ia,ja) )
263  allocate( atmos_v(ia,ja) )
264  allocate( atmos_dens(ia,ja) )
265  allocate( atmos_qv(ia,ja) )
266  allocate( atmos_pbl(ia,ja) )
267  allocate( atmos_sfc_pres(ia,ja) )
268  allocate( atmos_sflx_lw(ia,ja) )
269  allocate( atmos_sflx_sw(ia,ja) )
270  allocate( atmos_cossza(ia,ja) )
271  allocate( atmos_sflx_prec(ia,ja) )
272  atmos_temp(:,:) = undef
273  atmos_pres(:,:) = undef
274  atmos_w(:,:) = undef
275  atmos_u(:,:) = undef
276  atmos_v(:,:) = undef
277  atmos_dens(:,:) = undef
278  atmos_qv(:,:) = undef
279  atmos_pbl(:,:) = undef
280  atmos_sfc_pres(:,:) = undef
281  atmos_sflx_lw(:,:) = undef
282  atmos_sflx_sw(:,:) = undef
283  atmos_cossza(:,:) = undef
284  atmos_sflx_prec(:,:) = undef
285 
286  land_qa_comm = lkmax &
287  + lkmax &
288  + 1 &
289  + 2
290 
291  allocate( work_comm(ia,ja,land_qa_comm) )
292 
293  !--- read namelist
294  rewind(io_fid_conf)
295  read(io_fid_conf,nml=param_land_vars,iostat=ierr)
296  if( ierr < 0 ) then !--- missing
297  if( io_l ) write(io_fid_log,*) '*** Not found namelist. Default used.'
298  elseif( ierr > 0 ) then !--- fatal error
299  write(*,*) 'xxx Not appropriate names in namelist PARAM_LAND_VARS. Check!'
300  call prc_mpistop
301  endif
302  if( io_lnml ) write(io_fid_log,nml=param_land_vars)
303 
304  if( io_l ) write(io_fid_log,*)
305  if( io_l ) write(io_fid_log,*) '*** List of prognostic variables (LAND) ***'
306  if( io_l ) write(io_fid_log,'(1x,A,A15,A,A32,3(A))') &
307  '*** |','VARNAME ','|', 'DESCRIPTION ','[', 'UNIT ',']'
308  do iv = 1, vmax
309  if( io_l ) write(io_fid_log,'(1x,A,i3,A,A15,A,A32,3(A))') &
310  '*** NO.',iv,'|',var_name(iv),'|',var_desc(iv),'[',var_unit(iv),']'
311  enddo
312 
313  if( io_l ) write(io_fid_log,*)
314  if ( land_restart_in_basename /= '' ) then
315  if( io_l ) write(io_fid_log,*) '*** Restart input? : ', trim(land_restart_in_basename)
316  else
317  if( io_l ) write(io_fid_log,*) '*** Restart input? : NO'
318  endif
319  if ( land_restart_output &
320  .AND. land_restart_out_basename /= '' ) then
321  if( io_l ) write(io_fid_log,*) '*** Restart output? : ', trim(land_restart_out_basename)
322  else
323  if( io_l ) write(io_fid_log,*) '*** Restart output? : NO'
324  land_restart_output = .false.
325  endif
326 
327  ! Read land property table
328  allocate( land_property_table(landuse_pft_nmax,land_property_nmax) )
329  land_property_table(:,:) = undef
330 
331  call land_param_read
332 
333  ! Apply land property to 2D map
334  allocate( land_property(ia,ja,land_property_nmax) )
335 
336  ! tentative, mosaic is off
337  do p = 1, land_property_nmax
338  do j = js, je
339  do i = is, ie
340  land_property(i,j,p) = land_property_table( landuse_index_pft(i,j,1), p )
341  enddo
342  enddo
343  enddo
344 
345  do p = 1, land_property_nmax
346  call comm_vars8( land_property(:,:,p), p )
347  enddo
348  do p = 1, land_property_nmax
349  call comm_wait ( land_property(:,:,p), p )
350  enddo
351 
352  return
integer, public is
start point of inner domain: x, local
real(rp), dimension(:,:), allocatable, public land_v10
land surface velocity v at 10m [m/s]
integer, public je
end point of inner domain: y, local
real(rp), dimension(:,:), allocatable, public land_sflx_mw
land surface w-momentum flux [kg/m2/s]
subroutine, public prc_mpistop
Abort MPI.
real(rp), dimension(:,:), allocatable, public atmos_qv
real(rp), dimension(:,:), allocatable, public land_sflx_sh
land surface sensible heat flux [J/m2/s]
logical, public io_l
output log or not? (this process)
Definition: scale_stdio.F90:59
real(rp), dimension(:,:), allocatable, public atmos_pbl
real(rp), dimension(:,:), allocatable, public atmos_sflx_prec
real(rp), dimension(:,:), allocatable, public atmos_u
real(rp), dimension(:,:,:), allocatable, public land_sfc_albedo_t
tendency of LAND_SFC_albedo
real(rp), dimension(:,:), allocatable, public land_sflx_lh
land surface latent heat flux [J/m2/s]
real(rp), dimension(:,:), allocatable, public atmos_w
real(rp), dimension(:,:), allocatable, public land_sflx_evap
land surface water vapor flux [kg/m2/s]
real(rp), public const_undef
Definition: scale_const.F90:43
real(rp), dimension(:,:), allocatable, public atmos_sfc_pres
real(rp), dimension(:,:), allocatable, public atmos_pres
real(rp), dimension(:,:), allocatable, public land_sfc_temp
land surface skin temperature [K]
real(rp), dimension(:,:), allocatable, public atmos_temp
real(rp), dimension(:,:), allocatable, public land_sflx_mu
land surface u-momentum flux [kg/m2/s]
real(rp), dimension(:,:), allocatable, public land_q2
land surface water vapor at 2m [kg/kg]
integer, public ia
of x whole cells (local, with HALO)
real(rp), dimension(:,:), allocatable, public land_t2
land surface temperature at 2m [K]
module LANDUSE
real(rp), dimension(:,:,:), allocatable, public land_temp
temperature of each soil layer [K]
module COMMUNICATION
Definition: scale_comm.F90:23
integer, public js
start point of inner domain: y, local
module PROCESS
real(rp), dimension(:,:), allocatable, public land_u10
land surface velocity u at 10m [m/s]
integer, dimension(:,:,:), allocatable, public landuse_index_pft
index of PFT for each mosaic
real(rp), dimension(:,:,:), allocatable, public land_water_t
tendency of LAND_WATER
real(rp), dimension(:,:,:), allocatable, public land_sfc_albedo
land surface albedo [0-1]
real(rp), dimension(:,:), allocatable, public land_sfc_temp_t
tendency of LAND_SFC_TEMP
module CONSTANT
Definition: scale_const.F90:14
real(rp), dimension(:,:), allocatable, public atmos_dens
real(rp), dimension(:,:), allocatable, public land_sflx_gh
land surface heat flux [J/m2/s]
real(rp), dimension(:,:), allocatable, public atmos_v
real(rp), dimension(:,:,:), allocatable, public land_water
moisture of each soil layer [m3/m3]
real(rp), dimension(:,:), allocatable, public land_sflx_mv
land surface v-momentum flux [kg/m2/s]
integer, public ie
end point of inner domain: x, local
real(rp), dimension(:,:,:), allocatable, public land_temp_t
tendency of LAND_TEMP
logical, public io_lnml
output log or not? (for namelist, this process)
Definition: scale_stdio.F90:60
integer, public landuse_pft_nmax
number of plant functional type(PFT)
integer, public io_fid_conf
Config file ID.
Definition: scale_stdio.F90:55
integer, public io_fid_log
Log file ID.
Definition: scale_stdio.F90:56
real(rp), dimension(:,:), allocatable, public atmos_sflx_sw
real(rp), dimension(:,:,:), allocatable, public land_property
land surface property
real(rp), dimension(:,:), allocatable, public atmos_sflx_lw
integer, public ja
of y whole cells (local, with HALO)
Here is the call graph for this function:
Here is the caller graph for this function:

◆ land_vars_restart_read()

subroutine, public mod_land_vars::land_vars_restart_read ( )

Read land restart.

Definition at line 358 of file mod_land_vars.f90.

References scale_stdio::io_fid_log, scale_stdio::io_l, land_restart_in_basename, land_sfc_albedo, land_sfc_temp, land_sflx_evap, land_sflx_gh, land_sflx_lh, land_sflx_mu, land_sflx_mv, land_sflx_mw, land_sflx_sh, mod_land_admin::land_sw, land_temp, land_vars_total(), and land_water.

Referenced by mod_rm_driver::resume_state().

358  use scale_fileio, only: &
359  fileio_read
360  use mod_land_admin, only: &
361  land_sw
362  implicit none
363  !---------------------------------------------------------------------------
364 
365  if( io_l ) write(io_fid_log,*)
366  if( io_l ) write(io_fid_log,*) '*** Input restart file (LAND) ***'
367 
368  if ( land_sw .and. land_restart_in_basename /= '' ) then
369  if( io_l ) write(io_fid_log,*) '*** basename: ', trim(land_restart_in_basename)
370 
371  call fileio_read( land_temp(:,:,:), & ! [OUT]
372  land_restart_in_basename, var_name(i_temp), 'Land', step=1 ) ! [IN]
373  call fileio_read( land_water(:,:,:), & ! [OUT]
374  land_restart_in_basename, var_name(i_water), 'Land', step=1 ) ! [IN]
375  call fileio_read( land_sfc_temp(:,:), & ! [OUT]
376  land_restart_in_basename, var_name(i_sfc_temp), 'XY', step=1 ) ! [IN]
377  call fileio_read( land_sfc_albedo(:,:,i_lw), & ! [OUT]
378  land_restart_in_basename, var_name(i_alb_lw), 'XY', step=1 ) ! [IN]
379  call fileio_read( land_sfc_albedo(:,:,i_sw), & ! [OUT]
380  land_restart_in_basename, var_name(i_alb_sw), 'XY', step=1 ) ! [IN]
381  call fileio_read( land_sflx_mw(:,:), & ! [OUT]
382  land_restart_in_basename, var_name(i_sflx_mw), 'XY', step=1 ) ! [IN]
383  call fileio_read( land_sflx_mu(:,:), & ! [OUT]
384  land_restart_in_basename, var_name(i_sflx_mu), 'XY', step=1 ) ! [IN]
385  call fileio_read( land_sflx_mv(:,:), & ! [OUT]
386  land_restart_in_basename, var_name(i_sflx_mv), 'XY', step=1 ) ! [IN]
387  call fileio_read( land_sflx_sh(:,:), & ! [OUT]
388  land_restart_in_basename, var_name(i_sflx_sh), 'XY', step=1 ) ! [IN]
389  call fileio_read( land_sflx_lh(:,:), & ! [OUT]
390  land_restart_in_basename, var_name(i_sflx_lh), 'XY', step=1 ) ! [IN]
391  call fileio_read( land_sflx_gh(:,:), & ! [OUT]
392  land_restart_in_basename, var_name(i_sflx_gh), 'XY', step=1 ) ! [IN]
393  call fileio_read( land_sflx_evap(:,:), & ! [OUT]
394  land_restart_in_basename, var_name(i_sflx_evap), 'XY', step=1 ) ! [IN]
395 
396  call land_vars_total
397  else
398  if( io_l ) write(io_fid_log,*) '*** restart file for land is not specified.'
399  endif
400 
401  return
module Land admin
real(rp), dimension(:,:), allocatable, public land_sflx_mw
land surface w-momentum flux [kg/m2/s]
real(rp), dimension(:,:), allocatable, public land_sflx_sh
land surface sensible heat flux [J/m2/s]
logical, public io_l
output log or not? (this process)
Definition: scale_stdio.F90:59
real(rp), dimension(:,:), allocatable, public land_sflx_lh
land surface latent heat flux [J/m2/s]
module FILE I/O (netcdf)
real(rp), dimension(:,:), allocatable, public land_sflx_evap
land surface water vapor flux [kg/m2/s]
integer, parameter, public i_lw
real(rp), dimension(:,:), allocatable, public land_sfc_temp
land surface skin temperature [K]
integer, parameter, public i_sw
real(rp), dimension(:,:), allocatable, public land_sflx_mu
land surface u-momentum flux [kg/m2/s]
real(rp), dimension(:,:,:), allocatable, public land_temp
temperature of each soil layer [K]
real(rp), dimension(:,:,:), allocatable, public land_sfc_albedo
land surface albedo [0-1]
real(rp), dimension(:,:), allocatable, public land_sflx_gh
land surface heat flux [J/m2/s]
real(rp), dimension(:,:,:), allocatable, public land_water
moisture of each soil layer [m3/m3]
real(rp), dimension(:,:), allocatable, public land_sflx_mv
land surface v-momentum flux [kg/m2/s]
logical, public land_sw
integer, public io_fid_log
Log file ID.
Definition: scale_stdio.F90:56
Here is the call graph for this function:
Here is the caller graph for this function:

◆ land_vars_restart_write()

subroutine, public mod_land_vars::land_vars_restart_write ( )

Write land restart.

Definition at line 407 of file mod_land_vars.f90.

References scale_stdio::io_fid_log, scale_stdio::io_l, land_restart_out_basename, land_restart_out_dtype, land_restart_out_title, land_sfc_albedo, land_sfc_temp, land_sflx_evap, land_sflx_gh, land_sflx_lh, land_sflx_mu, land_sflx_mv, land_sflx_mw, land_sflx_sh, mod_land_admin::land_sw, land_temp, land_vars_total(), land_water, and scale_time::time_gettimelabel().

Referenced by mod_mkinit::mkinit(), and mod_rm_driver::scalerm().

407  use scale_time, only: &
409  use scale_fileio, only: &
410  fileio_write
411  use mod_land_admin, only: &
412  land_sw
413  implicit none
414 
415  character(len=20) :: timelabel
416  character(len=H_LONG) :: basename
417  !---------------------------------------------------------------------------
418 
419  if ( land_sw .and. land_restart_out_basename /= '' ) then
420 
421  call time_gettimelabel( timelabel )
422  write(basename,'(A,A,A)') trim(land_restart_out_basename), '_', trim(timelabel)
423 
424  if( io_l ) write(io_fid_log,*)
425  if( io_l ) write(io_fid_log,*) '*** Output restart file (LAND) ***'
426  if( io_l ) write(io_fid_log,*) '*** basename: ', trim(basename)
427 
428  call land_vars_total
429 
430  call fileio_write( land_temp(:,:,:), basename, land_restart_out_title, & ! [IN]
431  var_name(i_temp), var_desc(i_temp), var_unit(i_temp), & ! [IN]
432  'Land', land_restart_out_dtype, nohalo=.true. ) ! [IN]
433  call fileio_write( land_water(:,:,:), basename, land_restart_out_title, & ! [IN]
434  var_name(i_water), var_desc(i_water), var_unit(i_water), & ! [IN]
435  'Land', land_restart_out_dtype, nohalo=.true. ) ! [IN]
436  call fileio_write( land_sfc_temp(:,:), basename, land_restart_out_title, & ! [IN]
437  var_name(i_sfc_temp), var_desc(i_sfc_temp), var_unit(i_sfc_temp), & ! [IN]
438  'XY', land_restart_out_dtype, nohalo=.true. ) ! [IN]
439  call fileio_write( land_sfc_albedo(:,:,i_lw), basename, land_restart_out_title, & ! [IN]
440  var_name(i_alb_lw), var_desc(i_alb_lw), var_unit(i_alb_lw), & ! [IN]
441  'XY', land_restart_out_dtype, nohalo=.true. ) ! [IN]
442  call fileio_write( land_sfc_albedo(:,:,i_sw), basename, land_restart_out_title, & ! [IN]
443  var_name(i_alb_sw), var_desc(i_alb_sw), var_unit(i_alb_sw), & ! [IN]
444  'XY', land_restart_out_dtype, nohalo=.true. ) ! [IN]
445  call fileio_write( land_sflx_mw(:,:), basename, land_restart_out_title, & ! [IN]
446  var_name(i_sflx_mw), var_desc(i_sflx_mw), var_unit(i_sflx_mw), & ! [IN]
447  'XY', land_restart_out_dtype, nohalo=.true. ) ! [IN]
448  call fileio_write( land_sflx_mu(:,:), basename, land_restart_out_title, & ! [IN]
449  var_name(i_sflx_mu), var_desc(i_sflx_mu), var_unit(i_sflx_mu), & ! [IN]
450  'XY', land_restart_out_dtype, nohalo=.true. ) ! [IN]
451  call fileio_write( land_sflx_mv(:,:), basename, land_restart_out_title, & ! [IN]
452  var_name(i_sflx_mv), var_desc(i_sflx_mv), var_unit(i_sflx_mv), & ! [IN]
453  'XY', land_restart_out_dtype, nohalo=.true. ) ! [IN]
454  call fileio_write( land_sflx_sh(:,:), basename, land_restart_out_title, & ! [IN]
455  var_name(i_sflx_sh), var_desc(i_sflx_sh), var_unit(i_sflx_sh), & ! [IN]
456  'XY', land_restart_out_dtype, nohalo=.true. ) ! [IN]
457  call fileio_write( land_sflx_lh(:,:), basename, land_restart_out_title, & ! [IN]
458  var_name(i_sflx_lh), var_desc(i_sflx_lh), var_unit(i_sflx_lh), & ! [IN]
459  'XY', land_restart_out_dtype, nohalo=.true. ) ! [IN]
460  call fileio_write( land_sflx_gh(:,:), basename, land_restart_out_title, & ! [IN]
461  var_name(i_sflx_gh), var_desc(i_sflx_gh), var_unit(i_sflx_gh), & ! [IN]
462  'XY', land_restart_out_dtype, nohalo=.true. ) ! [IN]
463  call fileio_write( land_sflx_evap(:,:), basename, land_restart_out_title, & ! [IN]
464  var_name(i_sflx_evap), var_desc(i_sflx_evap), var_unit(i_sflx_evap), & ! [IN]
465  'XY', land_restart_out_dtype, nohalo=.true. ) ! [IN]
466 
467  endif
468 
469  return
module Land admin
real(rp), dimension(:,:), allocatable, public land_sflx_mw
land surface w-momentum flux [kg/m2/s]
real(rp), dimension(:,:), allocatable, public land_sflx_sh
land surface sensible heat flux [J/m2/s]
logical, public io_l
output log or not? (this process)
Definition: scale_stdio.F90:59
real(rp), dimension(:,:), allocatable, public land_sflx_lh
land surface latent heat flux [J/m2/s]
module FILE I/O (netcdf)
real(rp), dimension(:,:), allocatable, public land_sflx_evap
land surface water vapor flux [kg/m2/s]
integer, parameter, public i_lw
real(rp), dimension(:,:), allocatable, public land_sfc_temp
land surface skin temperature [K]
integer, parameter, public i_sw
real(rp), dimension(:,:), allocatable, public land_sflx_mu
land surface u-momentum flux [kg/m2/s]
subroutine, public time_gettimelabel(timelabel)
generate time label
Definition: scale_time.F90:90
real(rp), dimension(:,:,:), allocatable, public land_temp
temperature of each soil layer [K]
module TIME
Definition: scale_time.F90:15
real(rp), dimension(:,:,:), allocatable, public land_sfc_albedo
land surface albedo [0-1]
real(rp), dimension(:,:), allocatable, public land_sflx_gh
land surface heat flux [J/m2/s]
real(rp), dimension(:,:,:), allocatable, public land_water
moisture of each soil layer [m3/m3]
real(rp), dimension(:,:), allocatable, public land_sflx_mv
land surface v-momentum flux [kg/m2/s]
logical, public land_sw
integer, public io_fid_log
Log file ID.
Definition: scale_stdio.F90:56
Here is the call graph for this function:
Here is the caller graph for this function:

◆ land_vars_history()

subroutine, public mod_land_vars::land_vars_history ( )

History output set for land variables.

Definition at line 475 of file mod_land_vars.f90.

References i_waterlimit, scale_grid_index::ie, scale_grid_index::is, scale_grid_index::je, scale_grid_index::js, land_property, land_sfc_albedo, land_sfc_temp, land_sflx_evap, land_sflx_gh, land_sflx_lh, land_sflx_mu, land_sflx_mv, land_sflx_mw, land_sflx_sh, land_temp, land_water, and scale_land_grid_index::lkmax.

Referenced by mod_land_driver::land_driver(), and mod_land_driver::land_driver_resume().

475  use scale_history, only: &
476  hist_in
477  implicit none
478 
479  real(RP) :: land_waterds(lkmax,ia,ja)
480  integer :: k, i, j
481  !---------------------------------------------------------------------------
482 
483  if ( land_vars_checkrange ) then
484  call valcheck( land_temp(:,is:ie,js:je), 0.0_rp, 1000.0_rp, var_name(i_temp), &
485  __file__, __line__ )
486  call valcheck( land_water(:,is:ie,js:je), 0.0_rp, 1000.0_rp, var_name(i_water), &
487  __file__, __line__ )
488  call valcheck( land_sfc_temp(is:ie,js:je), 0.0_rp, 1000.0_rp, var_name(i_sfc_temp), &
489  __file__, __line__ )
490  call valcheck( land_sfc_albedo(is:ie,js:je,i_lw), 0.0_rp, 2.0_rp, var_name(i_alb_lw), &
491  __file__, __line__ )
492  call valcheck( land_sfc_albedo(is:ie,js:je,i_sw), 0.0_rp, 2.0_rp, var_name(i_alb_sw), &
493  __file__, __line__ )
494  endif
495 
496  call hist_in( land_temp(:,:,:), var_name(i_temp), var_desc(i_temp), var_unit(i_temp), zdim='land' )
497  call hist_in( land_water(:,:,:), var_name(i_water), var_desc(i_water), var_unit(i_water), zdim='land' )
498  do j = js, je
499  do i = is, ie
500  do k = 1, lkmax
501  land_waterds(k,i,j) = land_water(k,i,j) / land_property(i,j,i_waterlimit)
502  end do
503  end do
504  end do
505  call hist_in( land_waterds(:,:,:), var_name(i_waterds), var_desc(i_waterds), var_unit(i_waterds), zdim='land', nohalo=.true. )
506 
507 
508  call hist_in( land_sfc_temp(:,:), var_name(i_sfc_temp), var_desc(i_sfc_temp), var_unit(i_sfc_temp) )
509  call hist_in( land_sfc_albedo(:,:,i_lw), var_name(i_alb_lw), var_desc(i_alb_lw), var_unit(i_alb_lw) )
510  call hist_in( land_sfc_albedo(:,:,i_sw), var_name(i_alb_sw), var_desc(i_alb_sw), var_unit(i_alb_sw) )
511 
512  call hist_in( land_sflx_mw(:,:), var_name(i_sflx_mw), var_desc(i_sflx_mw), var_unit(i_sflx_mw) )
513  call hist_in( land_sflx_mu(:,:), var_name(i_sflx_mu), var_desc(i_sflx_mu), var_unit(i_sflx_mu) )
514  call hist_in( land_sflx_mv(:,:), var_name(i_sflx_mv), var_desc(i_sflx_mv), var_unit(i_sflx_mv) )
515  call hist_in( land_sflx_sh(:,:), var_name(i_sflx_sh), var_desc(i_sflx_sh), var_unit(i_sflx_sh) )
516  call hist_in( land_sflx_lh(:,:), var_name(i_sflx_lh), var_desc(i_sflx_lh), var_unit(i_sflx_lh) )
517  call hist_in( land_sflx_gh(:,:), var_name(i_sflx_gh), var_desc(i_sflx_gh), var_unit(i_sflx_gh) )
518  call hist_in( land_sflx_evap(:,:), var_name(i_sflx_evap), var_desc(i_sflx_evap), var_unit(i_sflx_evap) )
519 
520  return
integer, public is
start point of inner domain: x, local
integer, public je
end point of inner domain: y, local
real(rp), dimension(:,:), allocatable, public land_sflx_mw
land surface w-momentum flux [kg/m2/s]
integer, parameter, public i_waterlimit
real(rp), dimension(:,:), allocatable, public land_sflx_sh
land surface sensible heat flux [J/m2/s]
real(rp), dimension(:,:), allocatable, public land_sflx_lh
land surface latent heat flux [J/m2/s]
real(rp), dimension(:,:), allocatable, public land_sflx_evap
land surface water vapor flux [kg/m2/s]
integer, parameter, public i_lw
real(rp), dimension(:,:), allocatable, public land_sfc_temp
land surface skin temperature [K]
integer, parameter, public i_sw
real(rp), dimension(:,:), allocatable, public land_sflx_mu
land surface u-momentum flux [kg/m2/s]
integer, public ia
of x whole cells (local, with HALO)
real(rp), dimension(:,:,:), allocatable, public land_temp
temperature of each soil layer [K]
integer, public js
start point of inner domain: y, local
real(rp), dimension(:,:,:), allocatable, public land_sfc_albedo
land surface albedo [0-1]
real(rp), dimension(:,:), allocatable, public land_sflx_gh
land surface heat flux [J/m2/s]
real(rp), dimension(:,:,:), allocatable, public land_water
moisture of each soil layer [m3/m3]
real(rp), dimension(:,:), allocatable, public land_sflx_mv
land surface v-momentum flux [kg/m2/s]
integer, public ie
end point of inner domain: x, local
module HISTORY
real(rp), dimension(:,:,:), allocatable, public land_property
land surface property
integer, public ja
of y whole cells (local, with HALO)
Here is the caller graph for this function:

◆ land_vars_total()

subroutine, public mod_land_vars::land_vars_total ( )

Budget monitor for land.

Definition at line 526 of file mod_land_vars.f90.

References land_sfc_albedo, land_sfc_temp, land_temp, land_water, scale_land_grid_index::lke, scale_land_grid_index::lks, and scale_rm_statistics::statistics_checktotal.

Referenced by mod_land_driver::land_driver(), land_vars_external_in(), land_vars_restart_read(), and land_vars_restart_write().

526  use scale_rm_statistics, only: &
528  stat_total
529  implicit none
530 
531  real(RP) :: total
532 
533  character(len=2) :: sk
534  integer :: k
535  !---------------------------------------------------------------------------
536 
537  if ( statistics_checktotal ) then
538 
539  do k = lks, lke
540  write(sk,'(I2.2)') k
541 
542  call stat_total( total, land_temp(k,:,:), trim(var_name(i_temp) )//sk )
543  call stat_total( total, land_water(k,:,:), trim(var_name(i_water))//sk )
544  enddo
545 
546  call stat_total( total, land_sfc_temp(:,:), var_name(i_sfc_temp) )
547  call stat_total( total, land_sfc_albedo(:,:,i_lw), var_name(i_alb_lw) )
548  call stat_total( total, land_sfc_albedo(:,:,i_sw), var_name(i_alb_sw) )
549 
550  endif
551 
552  return
logical, public statistics_checktotal
calc&report variable totals to logfile?
integer, parameter, public i_lw
module Statistics
real(rp), dimension(:,:), allocatable, public land_sfc_temp
land surface skin temperature [K]
integer, parameter, public i_sw
real(rp), dimension(:,:,:), allocatable, public land_temp
temperature of each soil layer [K]
real(rp), dimension(:,:,:), allocatable, public land_sfc_albedo
land surface albedo [0-1]
real(rp), dimension(:,:,:), allocatable, public land_water
moisture of each soil layer [m3/m3]
Here is the caller graph for this function:

◆ land_vars_external_in()

subroutine, public mod_land_vars::land_vars_external_in ( real(rp), dimension (:,:,:), intent(in)  LAND_TEMP_in,
real(rp), dimension(:,:,:), intent(in)  LAND_WATER_in,
real(rp), dimension (ia,ja), intent(in)  LAND_SFC_TEMP_in,
real(rp), dimension(ia,ja,2), intent(in)  LAND_SFC_albedo_in 
)

Input from External I/O.

Definition at line 562 of file mod_land_vars.f90.

References i_heatcapacity, i_thermalcond, i_watercritical, i_waterdiff, i_waterlimit, i_z0e, i_z0h, i_z0m, scale_stdio::io_fid_conf, scale_stdio::io_fid_log, scale_stdio::io_get_available_fid(), scale_stdio::io_l, scale_stdio::io_lnml, land_property_in_filename, land_sfc_albedo, land_sfc_temp, land_sflx_evap, land_sflx_gh, land_sflx_lh, land_sflx_mu, land_sflx_mv, land_sflx_mw, land_sflx_sh, land_temp, land_vars_total(), land_water, scale_landuse::landuse_pft_nmax, and scale_process::prc_mpistop().

562  implicit none
563 
564  real(RP), intent(in) :: land_temp_in (:,:,:)
565  real(RP), intent(in) :: land_water_in(:,:,:)
566  real(RP), intent(in) :: land_sfc_temp_in (ia,ja)
567  real(RP), intent(in) :: land_sfc_albedo_in(ia,ja,2)
568  !---------------------------------------------------------------------------
569 
570  if( io_l ) write(io_fid_log,*)
571  if( io_l ) write(io_fid_log,*) '*** External Input (land) ***'
572 
573  land_temp(:,:,:) = land_temp_in(:,:,:)
574  land_water(:,:,:) = land_water_in(:,:,:)
575  land_sfc_temp(:,:) = land_sfc_temp_in(:,:)
576  land_sfc_albedo(:,:,:) = land_sfc_albedo_in(:,:,:)
577 
578  land_sflx_mw(:,:) = 0.0_rp
579  land_sflx_mu(:,:) = 0.0_rp
580  land_sflx_mv(:,:) = 0.0_rp
581  land_sflx_sh(:,:) = 0.0_rp
582  land_sflx_lh(:,:) = 0.0_rp
583  land_sflx_gh(:,:) = 0.0_rp
584  land_sflx_evap(:,:) = 0.0_rp
585 
586  call land_vars_total
587 
588  return
real(rp), dimension(:,:), allocatable, public land_sflx_mw
land surface w-momentum flux [kg/m2/s]
real(rp), dimension(:,:), allocatable, public land_sflx_sh
land surface sensible heat flux [J/m2/s]
logical, public io_l
output log or not? (this process)
Definition: scale_stdio.F90:59
real(rp), dimension(:,:), allocatable, public land_sflx_lh
land surface latent heat flux [J/m2/s]
real(rp), dimension(:,:), allocatable, public land_sflx_evap
land surface water vapor flux [kg/m2/s]
real(rp), dimension(:,:), allocatable, public land_sfc_temp
land surface skin temperature [K]
real(rp), dimension(:,:), allocatable, public land_sflx_mu
land surface u-momentum flux [kg/m2/s]
integer, public ia
of x whole cells (local, with HALO)
real(rp), dimension(:,:,:), allocatable, public land_temp
temperature of each soil layer [K]
real(rp), dimension(:,:,:), allocatable, public land_sfc_albedo
land surface albedo [0-1]
real(rp), dimension(:,:), allocatable, public land_sflx_gh
land surface heat flux [J/m2/s]
real(rp), dimension(:,:,:), allocatable, public land_water
moisture of each soil layer [m3/m3]
real(rp), dimension(:,:), allocatable, public land_sflx_mv
land surface v-momentum flux [kg/m2/s]
integer, public io_fid_log
Log file ID.
Definition: scale_stdio.F90:56
integer, public ja
of y whole cells (local, with HALO)
Here is the call graph for this function:

◆ convert_ws2vwc()

real(rp) function, dimension(ia,ja), public mod_land_vars::convert_ws2vwc ( real(rp), dimension(ia,ja), intent(in)  WS,
logical, intent(in)  critical 
)

conversion from water saturation [fraction] to volumetric water content [m3/m3]

Definition at line 731 of file mod_land_vars.f90.

References i_watercritical, i_waterlimit, scale_grid_index::ie, scale_grid_index::is, scale_grid_index::je, scale_grid_index::js, and land_property.

Referenced by mod_realinput::land_interporation().

731  implicit none
732 
733  real(RP), intent(in) :: ws(ia,ja) ! water saturation [fraction]
734  logical, intent(in) :: critical ! is I_WaterCritical used?
735 
736  real(RP) :: vwc(ia,ja) ! volumetric water content [m3/m3]
737 
738  ! work
739  integer :: i, j, num
740  !---------------------------------------------------------------------------
741 
742  if( critical ) then
743  num = i_watercritical
744  else
745  num = i_waterlimit
746  end if
747 
748  do j = js, je
749  do i = is, ie
750  vwc(i,j) = max( min( ws(i,j)*land_property(i,j,num), land_property(i,j,num) ), 0.0_rp )
751  end do
752  end do
753 
754  return
integer, public is
start point of inner domain: x, local
integer, public je
end point of inner domain: y, local
integer, parameter, public i_waterlimit
integer, parameter, public i_watercritical
integer, public ia
of x whole cells (local, with HALO)
integer, public js
start point of inner domain: y, local
integer, public ie
end point of inner domain: x, local
real(rp), dimension(:,:,:), allocatable, public land_property
land surface property
integer, public ja
of y whole cells (local, with HALO)
Here is the caller graph for this function:

Variable Documentation

◆ land_restart_output

logical, public mod_land_vars::land_restart_output = .false.

output restart file?

Definition at line 46 of file mod_land_vars.f90.

Referenced by mod_admin_restart::admin_restart_setup(), land_vars_setup(), mod_mkinit::mkinit(), and mod_rm_driver::scalerm().

46  logical, public :: land_restart_output = .false.

◆ land_restart_in_basename

character(len=h_long), public mod_land_vars::land_restart_in_basename = ''

basename of the restart file

Definition at line 48 of file mod_land_vars.f90.

Referenced by mod_admin_restart::admin_restart_setup(), land_vars_restart_read(), and land_vars_setup().

48  character(len=H_LONG), public :: land_restart_in_basename = ''

◆ land_restart_out_basename

character(len=h_long), public mod_land_vars::land_restart_out_basename = ''

basename of the output file

Definition at line 49 of file mod_land_vars.f90.

Referenced by mod_admin_restart::admin_restart_setup(), land_vars_restart_write(), and land_vars_setup().

49  character(len=H_LONG), public :: land_restart_out_basename = ''

◆ land_restart_out_title

character(len=h_mid), public mod_land_vars::land_restart_out_title = 'LAND restart'

title of the output file

Definition at line 50 of file mod_land_vars.f90.

Referenced by mod_admin_restart::admin_restart_setup(), land_vars_restart_write(), and land_vars_setup().

50  character(len=H_MID), public :: land_restart_out_title = 'LAND restart'

◆ land_restart_out_dtype

character(len=h_mid), public mod_land_vars::land_restart_out_dtype = 'DEFAULT'

REAL4 or REAL8.

Definition at line 51 of file mod_land_vars.f90.

Referenced by mod_admin_restart::admin_restart_setup(), land_vars_restart_write(), and land_vars_setup().

51  character(len=H_MID), public :: land_restart_out_dtype = 'DEFAULT'

◆ land_temp

real(rp), dimension (:,:,:), allocatable, public mod_land_vars::land_temp

temperature of each soil layer [K]

Definition at line 54 of file mod_land_vars.f90.

Referenced by mod_land_driver::land_driver(), mod_land_phy_driver::land_phy_driver(), mod_mkinit::land_setup(), land_vars_external_in(), land_vars_history(), land_vars_restart_read(), land_vars_restart_write(), land_vars_setup(), land_vars_total(), and mod_realinput::realinput_surface().

54  real(RP), public, allocatable :: land_temp (:,:,:)
real(rp), dimension(:,:,:), allocatable, public land_temp
temperature of each soil layer [K]

◆ land_water

real(rp), dimension (:,:,:), allocatable, public mod_land_vars::land_water

moisture of each soil layer [m3/m3]

Definition at line 55 of file mod_land_vars.f90.

Referenced by mod_land_driver::land_driver(), mod_land_phy_driver::land_phy_driver(), mod_mkinit::land_setup(), land_vars_external_in(), land_vars_history(), land_vars_restart_read(), land_vars_restart_write(), land_vars_setup(), land_vars_total(), and mod_realinput::realinput_surface().

55  real(RP), public, allocatable :: land_water (:,:,:)
real(rp), dimension(:,:,:), allocatable, public land_water
moisture of each soil layer [m3/m3]

◆ land_sfc_temp

real(rp), dimension (:,:), allocatable, public mod_land_vars::land_sfc_temp

land surface skin temperature [K]

Definition at line 56 of file mod_land_vars.f90.

Referenced by mod_land_driver::land_driver(), mod_land_phy_driver::land_phy_driver(), mod_mkinit::land_setup(), mod_land_driver::land_surface_set(), land_vars_external_in(), land_vars_history(), land_vars_restart_read(), land_vars_restart_write(), land_vars_setup(), land_vars_total(), and mod_realinput::realinput_surface().

56  real(RP), public, allocatable :: land_sfc_temp (:,:)
real(rp), dimension(:,:), allocatable, public land_sfc_temp
land surface skin temperature [K]

◆ land_sfc_albedo

real(rp), dimension(:,:,:), allocatable, public mod_land_vars::land_sfc_albedo

◆ land_temp_t

real(rp), dimension (:,:,:), allocatable, public mod_land_vars::land_temp_t

tendency of LAND_TEMP

Definition at line 60 of file mod_land_vars.f90.

Referenced by mod_land_driver::land_driver(), mod_land_phy_driver::land_phy_driver(), and land_vars_setup().

60  real(RP), public, allocatable :: land_temp_t (:,:,:)
real(rp), dimension(:,:,:), allocatable, public land_temp_t
tendency of LAND_TEMP

◆ land_water_t

real(rp), dimension (:,:,:), allocatable, public mod_land_vars::land_water_t

tendency of LAND_WATER

Definition at line 61 of file mod_land_vars.f90.

Referenced by mod_land_driver::land_driver(), mod_land_phy_driver::land_phy_driver(), and land_vars_setup().

61  real(RP), public, allocatable :: land_water_t (:,:,:)
real(rp), dimension(:,:,:), allocatable, public land_water_t
tendency of LAND_WATER

◆ land_sfc_temp_t

real(rp), dimension (:,:), allocatable, public mod_land_vars::land_sfc_temp_t

tendency of LAND_SFC_TEMP

Definition at line 62 of file mod_land_vars.f90.

Referenced by mod_land_driver::land_driver(), mod_land_phy_driver::land_phy_driver(), and land_vars_setup().

62  real(RP), public, allocatable :: land_sfc_temp_t (:,:)
real(rp), dimension(:,:), allocatable, public land_sfc_temp_t
tendency of LAND_SFC_TEMP

◆ land_sfc_albedo_t

real(rp), dimension(:,:,:), allocatable, public mod_land_vars::land_sfc_albedo_t

tendency of LAND_SFC_albedo

Definition at line 63 of file mod_land_vars.f90.

Referenced by mod_land_driver::land_driver(), mod_land_phy_driver::land_phy_driver(), and land_vars_setup().

63  real(RP), public, allocatable :: land_sfc_albedo_t(:,:,:)
real(rp), dimension(:,:,:), allocatable, public land_sfc_albedo_t
tendency of LAND_SFC_albedo

◆ land_sflx_mw

real(rp), dimension (:,:), allocatable, public mod_land_vars::land_sflx_mw

land surface w-momentum flux [kg/m2/s]

Definition at line 66 of file mod_land_vars.f90.

Referenced by mod_land_phy_driver::land_phy_driver(), mod_land_driver::land_surface_set(), land_vars_external_in(), land_vars_history(), land_vars_restart_read(), land_vars_restart_write(), and land_vars_setup().

66  real(RP), public, allocatable :: land_sflx_mw (:,:)
real(rp), dimension(:,:), allocatable, public land_sflx_mw
land surface w-momentum flux [kg/m2/s]

◆ land_sflx_mu

real(rp), dimension (:,:), allocatable, public mod_land_vars::land_sflx_mu

land surface u-momentum flux [kg/m2/s]

Definition at line 67 of file mod_land_vars.f90.

Referenced by mod_land_phy_driver::land_phy_driver(), mod_land_driver::land_surface_set(), land_vars_external_in(), land_vars_history(), land_vars_restart_read(), land_vars_restart_write(), and land_vars_setup().

67  real(RP), public, allocatable :: land_sflx_mu (:,:)
real(rp), dimension(:,:), allocatable, public land_sflx_mu
land surface u-momentum flux [kg/m2/s]

◆ land_sflx_mv

real(rp), dimension (:,:), allocatable, public mod_land_vars::land_sflx_mv

land surface v-momentum flux [kg/m2/s]

Definition at line 68 of file mod_land_vars.f90.

Referenced by mod_land_phy_driver::land_phy_driver(), mod_land_driver::land_surface_set(), land_vars_external_in(), land_vars_history(), land_vars_restart_read(), land_vars_restart_write(), and land_vars_setup().

68  real(RP), public, allocatable :: land_sflx_mv (:,:)
real(rp), dimension(:,:), allocatable, public land_sflx_mv
land surface v-momentum flux [kg/m2/s]

◆ land_sflx_sh

real(rp), dimension (:,:), allocatable, public mod_land_vars::land_sflx_sh

land surface sensible heat flux [J/m2/s]

Definition at line 69 of file mod_land_vars.f90.

Referenced by mod_land_phy_driver::land_phy_driver(), mod_land_driver::land_surface_set(), land_vars_external_in(), land_vars_history(), land_vars_restart_read(), land_vars_restart_write(), and land_vars_setup().

69  real(RP), public, allocatable :: land_sflx_sh (:,:)
real(rp), dimension(:,:), allocatable, public land_sflx_sh
land surface sensible heat flux [J/m2/s]

◆ land_sflx_lh

real(rp), dimension (:,:), allocatable, public mod_land_vars::land_sflx_lh

land surface latent heat flux [J/m2/s]

Definition at line 70 of file mod_land_vars.f90.

Referenced by mod_land_phy_driver::land_phy_driver(), mod_land_driver::land_surface_set(), land_vars_external_in(), land_vars_history(), land_vars_restart_read(), land_vars_restart_write(), and land_vars_setup().

70  real(RP), public, allocatable :: land_sflx_lh (:,:)
real(rp), dimension(:,:), allocatable, public land_sflx_lh
land surface latent heat flux [J/m2/s]

◆ land_sflx_gh

real(rp), dimension (:,:), allocatable, public mod_land_vars::land_sflx_gh

land surface heat flux [J/m2/s]

Definition at line 71 of file mod_land_vars.f90.

Referenced by mod_land_phy_driver::land_phy_driver(), mod_land_driver::land_surface_set(), land_vars_external_in(), land_vars_history(), land_vars_restart_read(), land_vars_restart_write(), and land_vars_setup().

71  real(RP), public, allocatable :: land_sflx_gh (:,:)
real(rp), dimension(:,:), allocatable, public land_sflx_gh
land surface heat flux [J/m2/s]

◆ land_sflx_evap

real(rp), dimension(:,:), allocatable, public mod_land_vars::land_sflx_evap

land surface water vapor flux [kg/m2/s]

Definition at line 72 of file mod_land_vars.f90.

Referenced by mod_land_phy_driver::land_phy_driver(), mod_land_driver::land_surface_set(), land_vars_external_in(), land_vars_history(), land_vars_restart_read(), land_vars_restart_write(), and land_vars_setup().

72  real(RP), public, allocatable :: land_sflx_evap(:,:)
real(rp), dimension(:,:), allocatable, public land_sflx_evap
land surface water vapor flux [kg/m2/s]

◆ land_u10

real(rp), dimension(:,:), allocatable, public mod_land_vars::land_u10

land surface velocity u at 10m [m/s]

Definition at line 75 of file mod_land_vars.f90.

Referenced by mod_land_phy_driver::land_phy_driver(), mod_land_driver::land_surface_set(), and land_vars_setup().

75  real(RP), public, allocatable :: land_u10(:,:)
real(rp), dimension(:,:), allocatable, public land_u10
land surface velocity u at 10m [m/s]

◆ land_v10

real(rp), dimension(:,:), allocatable, public mod_land_vars::land_v10

land surface velocity v at 10m [m/s]

Definition at line 76 of file mod_land_vars.f90.

Referenced by mod_land_phy_driver::land_phy_driver(), mod_land_driver::land_surface_set(), and land_vars_setup().

76  real(RP), public, allocatable :: land_v10(:,:)
real(rp), dimension(:,:), allocatable, public land_v10
land surface velocity v at 10m [m/s]

◆ land_t2

real(rp), dimension (:,:), allocatable, public mod_land_vars::land_t2

land surface temperature at 2m [K]

Definition at line 77 of file mod_land_vars.f90.

Referenced by mod_land_phy_driver::land_phy_driver(), mod_land_driver::land_surface_set(), and land_vars_setup().

77  real(RP), public, allocatable :: land_t2 (:,:)
real(rp), dimension(:,:), allocatable, public land_t2
land surface temperature at 2m [K]

◆ land_q2

real(rp), dimension (:,:), allocatable, public mod_land_vars::land_q2

land surface water vapor at 2m [kg/kg]

Definition at line 78 of file mod_land_vars.f90.

Referenced by mod_land_phy_driver::land_phy_driver(), mod_land_driver::land_surface_set(), and land_vars_setup().

78  real(RP), public, allocatable :: land_q2 (:,:)
real(rp), dimension(:,:), allocatable, public land_q2
land surface water vapor at 2m [kg/kg]

◆ atmos_temp

real(rp), dimension (:,:), allocatable, public mod_land_vars::atmos_temp

Definition at line 81 of file mod_land_vars.f90.

Referenced by mod_land_phy_driver::land_phy_driver(), mod_land_driver::land_surface_get(), and land_vars_setup().

81  real(RP), public, allocatable :: atmos_temp (:,:)
real(rp), dimension(:,:), allocatable, public atmos_temp

◆ atmos_pres

real(rp), dimension (:,:), allocatable, public mod_land_vars::atmos_pres

Definition at line 82 of file mod_land_vars.f90.

Referenced by mod_land_phy_driver::land_phy_driver(), mod_land_driver::land_surface_get(), and land_vars_setup().

82  real(RP), public, allocatable :: atmos_pres (:,:)
real(rp), dimension(:,:), allocatable, public atmos_pres

◆ atmos_w

real(rp), dimension (:,:), allocatable, public mod_land_vars::atmos_w

Definition at line 83 of file mod_land_vars.f90.

Referenced by mod_land_phy_driver::land_phy_driver(), mod_land_driver::land_surface_get(), and land_vars_setup().

83  real(RP), public, allocatable :: atmos_w (:,:)
real(rp), dimension(:,:), allocatable, public atmos_w

◆ atmos_u

real(rp), dimension (:,:), allocatable, public mod_land_vars::atmos_u

Definition at line 84 of file mod_land_vars.f90.

Referenced by mod_land_phy_driver::land_phy_driver(), mod_land_driver::land_surface_get(), and land_vars_setup().

84  real(RP), public, allocatable :: atmos_u (:,:)
real(rp), dimension(:,:), allocatable, public atmos_u

◆ atmos_v

real(rp), dimension (:,:), allocatable, public mod_land_vars::atmos_v

Definition at line 85 of file mod_land_vars.f90.

Referenced by mod_land_phy_driver::land_phy_driver(), mod_land_driver::land_surface_get(), and land_vars_setup().

85  real(RP), public, allocatable :: atmos_v (:,:)
real(rp), dimension(:,:), allocatable, public atmos_v

◆ atmos_dens

real(rp), dimension (:,:), allocatable, public mod_land_vars::atmos_dens

Definition at line 86 of file mod_land_vars.f90.

Referenced by mod_land_phy_driver::land_phy_driver(), mod_land_driver::land_surface_get(), and land_vars_setup().

86  real(RP), public, allocatable :: atmos_dens (:,:)
real(rp), dimension(:,:), allocatable, public atmos_dens

◆ atmos_qv

real(rp), dimension (:,:), allocatable, public mod_land_vars::atmos_qv

Definition at line 87 of file mod_land_vars.f90.

Referenced by mod_land_phy_driver::land_phy_driver(), mod_land_driver::land_surface_get(), and land_vars_setup().

87  real(RP), public, allocatable :: atmos_qv (:,:)
real(rp), dimension(:,:), allocatable, public atmos_qv

◆ atmos_pbl

real(rp), dimension (:,:), allocatable, public mod_land_vars::atmos_pbl

Definition at line 88 of file mod_land_vars.f90.

Referenced by mod_land_phy_driver::land_phy_driver(), mod_land_driver::land_surface_get(), and land_vars_setup().

88  real(RP), public, allocatable :: atmos_pbl (:,:)
real(rp), dimension(:,:), allocatable, public atmos_pbl

◆ atmos_sfc_pres

real(rp), dimension (:,:), allocatable, public mod_land_vars::atmos_sfc_pres

Definition at line 89 of file mod_land_vars.f90.

Referenced by mod_land_phy_driver::land_phy_driver(), mod_land_driver::land_surface_get(), and land_vars_setup().

89  real(RP), public, allocatable :: atmos_sfc_pres (:,:)
real(rp), dimension(:,:), allocatable, public atmos_sfc_pres

◆ atmos_sflx_lw

real(rp), dimension (:,:), allocatable, public mod_land_vars::atmos_sflx_lw

Definition at line 90 of file mod_land_vars.f90.

Referenced by mod_land_phy_driver::land_phy_driver(), mod_land_driver::land_surface_get(), and land_vars_setup().

90  real(RP), public, allocatable :: atmos_sflx_lw (:,:)
real(rp), dimension(:,:), allocatable, public atmos_sflx_lw

◆ atmos_sflx_sw

real(rp), dimension (:,:), allocatable, public mod_land_vars::atmos_sflx_sw

Definition at line 91 of file mod_land_vars.f90.

Referenced by mod_land_phy_driver::land_phy_driver(), mod_land_driver::land_surface_get(), and land_vars_setup().

91  real(RP), public, allocatable :: atmos_sflx_sw (:,:)
real(rp), dimension(:,:), allocatable, public atmos_sflx_sw

◆ atmos_cossza

real(rp), dimension (:,:), allocatable, public mod_land_vars::atmos_cossza

Definition at line 92 of file mod_land_vars.f90.

Referenced by mod_land_driver::land_surface_get(), and land_vars_setup().

92  real(RP), public, allocatable :: atmos_cossza (:,:)

◆ atmos_sflx_prec

real(rp), dimension(:,:), allocatable, public mod_land_vars::atmos_sflx_prec

Definition at line 93 of file mod_land_vars.f90.

Referenced by mod_land_phy_driver::land_phy_driver(), mod_land_driver::land_surface_get(), and land_vars_setup().

93  real(RP), public, allocatable :: atmos_sflx_prec(:,:)
real(rp), dimension(:,:), allocatable, public atmos_sflx_prec

◆ land_property

real(rp), dimension (:,:,:), allocatable, public mod_land_vars::land_property

land surface property

Definition at line 95 of file mod_land_vars.f90.

Referenced by convert_ws2vwc(), mod_land_phy_driver::land_phy_driver(), mod_land_driver::land_surface_set(), land_vars_history(), and land_vars_setup().

95  real(RP), public, allocatable :: land_property (:,:,:)
real(rp), dimension(:,:,:), allocatable, public land_property
land surface property

◆ land_property_in_filename

character(len=h_long), public mod_land_vars::land_property_in_filename = ''

the file of land parameter table

Definition at line 97 of file mod_land_vars.f90.

Referenced by land_vars_external_in().

97  character(len=H_LONG), public :: land_property_in_filename = ''

◆ land_property_nmax

integer, parameter, public mod_land_vars::land_property_nmax = 8

Definition at line 99 of file mod_land_vars.f90.

Referenced by land_vars_setup().

99  integer, public, parameter :: land_property_nmax = 8

◆ i_waterlimit

integer, parameter, public mod_land_vars::i_waterlimit = 1

Definition at line 100 of file mod_land_vars.f90.

Referenced by convert_ws2vwc(), mod_land_phy_driver::land_phy_driver(), land_vars_external_in(), and land_vars_history().

100  integer, public, parameter :: i_waterlimit = 1 ! maximum soil moisture [m3/m3]
integer, parameter, public i_waterlimit

◆ i_watercritical

integer, parameter, public mod_land_vars::i_watercritical = 2

Definition at line 101 of file mod_land_vars.f90.

Referenced by convert_ws2vwc(), mod_land_phy_driver::land_phy_driver(), and land_vars_external_in().

101  integer, public, parameter :: i_watercritical = 2 ! critical soil moisture [m3/m3]
integer, parameter, public i_watercritical

◆ i_thermalcond

integer, parameter, public mod_land_vars::i_thermalcond = 3

Definition at line 102 of file mod_land_vars.f90.

Referenced by mod_land_phy_driver::land_phy_driver(), and land_vars_external_in().

102  integer, public, parameter :: i_thermalcond = 3 ! thermal conductivity for soil [W/K/m]
integer, parameter, public i_thermalcond

◆ i_heatcapacity

integer, parameter, public mod_land_vars::i_heatcapacity = 4

Definition at line 103 of file mod_land_vars.f90.

Referenced by mod_land_phy_driver::land_phy_driver(), and land_vars_external_in().

103  integer, public, parameter :: i_heatcapacity = 4 ! heat capacity for soil [J/K/m3]
integer, parameter, public i_heatcapacity

◆ i_waterdiff

integer, parameter, public mod_land_vars::i_waterdiff = 5

Definition at line 104 of file mod_land_vars.f90.

Referenced by mod_land_phy_driver::land_phy_driver(), and land_vars_external_in().

104  integer, public, parameter :: i_waterdiff = 5 ! moisture diffusivity in the soil [m2/s]
integer, parameter, public i_waterdiff

◆ i_z0m

integer, parameter, public mod_land_vars::i_z0m = 6

Definition at line 105 of file mod_land_vars.f90.

Referenced by mod_land_phy_driver::land_phy_driver(), mod_land_driver::land_surface_set(), and land_vars_external_in().

105  integer, public, parameter :: i_z0m = 6 ! roughness length for momemtum [m]
integer, parameter, public i_z0m

◆ i_z0h

integer, parameter, public mod_land_vars::i_z0h = 7

Definition at line 106 of file mod_land_vars.f90.

Referenced by mod_land_phy_driver::land_phy_driver(), mod_land_driver::land_surface_set(), and land_vars_external_in().

106  integer, public, parameter :: i_z0h = 7 ! roughness length for heat [m]
integer, parameter, public i_z0h

◆ i_z0e

integer, parameter, public mod_land_vars::i_z0e = 8

Definition at line 107 of file mod_land_vars.f90.

Referenced by mod_land_phy_driver::land_phy_driver(), mod_land_driver::land_surface_set(), and land_vars_external_in().

107  integer, public, parameter :: i_z0e = 8 ! roughness length for vapor [m]
integer, parameter, public i_z0e