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_open
 Open land restart file for read. More...
 
subroutine, public land_vars_restart_read
 Read 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...
 
real(rp) function, dimension(lia, lja), public convert_ws2vwc (WS, critical)
 conversion from water saturation [fraction] to volumetric water content [m3/m3] More...
 
subroutine, public land_vars_restart_create
 Create land restart file. More...
 
subroutine, public land_vars_restart_enddef
 Exit netCDF define mode. More...
 
subroutine, public land_vars_restart_close
 Close restart file. More...
 
subroutine, public land_vars_restart_def_var
 Define land variables in restart file. More...
 
subroutine, public land_vars_restart_write
 Write land variables to restart file. More...
 

Variables

logical, public land_restart_output = .false.
 Output restart file? More...
 
character(len=h_long), public land_restart_in_basename = ''
 Basename of the input file. More...
 
logical, public land_restart_in_aggregate
 Switch to use aggregate file. More...
 
logical, public land_restart_in_postfix_timelabel = .false.
 Add timelabel to the basename of input file? More...
 
character(len=h_long), public land_restart_out_basename = ''
 Basename of the output file. More...
 
logical, public land_restart_out_aggregate
 Switch to use aggregate file. More...
 
logical, public land_restart_out_postfix_timelabel = .true.
 Add timelabel to the basename of output file? More...
 
character(len=h_mid), public land_restart_out_title = 'LAND restart'
 Title of the output file. More...
 
character(len=h_short), 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 (direct/diffuse,IR/near-IR/VIS) (0-1) More...
 
real(rp), dimension(:,:), allocatable, public snow_sfc_temp
 snow surface temperature [K] More...
 
real(rp), dimension(:,:), allocatable, public snow_swe
 snow water equivalent [kg/m2] More...
 
real(rp), dimension(:,:), allocatable, public snow_depth
 snow depth [m] More...
 
real(rp), dimension(:,:), allocatable, public snow_dzero
 snow depth at melting point [m] More...
 
real(rp), dimension(:,:), allocatable, public snow_nosnowsec
 sec while no snow [s] 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_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_qtrc
 land surface tracer flux [kg/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_water
 land surface water flux [kg/m2/s] More...
 
real(rp), dimension(:,:), allocatable, public land_sflx_ice
 land surface ice 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_dens
 
real(rp), dimension(:,:), allocatable, public atmos_sfc_pres
 
real(rp), dimension(:,:,:,:), allocatable, public atmos_sflx_rad_dn
 
real(rp), dimension(:,:), allocatable, public atmos_cossza
 
real(rp), dimension(:,:), allocatable, public atmos_sflx_rain
 
real(rp), dimension(:,:), allocatable, public atmos_sflx_snow
 
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 = 11
 
integer, parameter, public i_waterlimit = 1
 
integer, parameter, public i_watercritical = 2
 
integer, parameter, public i_stomataresist = 3
 
integer, parameter, public i_thermalcond = 4
 
integer, parameter, public i_heatcapacity = 5
 
integer, parameter, public i_waterdiff = 6
 
integer, parameter, public i_alblw = 7
 
integer, parameter, public i_albsw = 8
 
integer, parameter, public i_z0m = 9
 
integer, parameter, public i_z0h = 10
 
integer, parameter, public i_z0e = 11
 

Detailed Description

module LAND Variables

Description
Container for land variables
Author
Team SCALE
NAMELIST
  • PARAM_LAND_VARS
    nametypedefault valuecomment
    LAND_RESTART_IN_BASENAME character(len=H_LONG) '' Basename of the input file
    LAND_RESTART_IN_AGGREGATE logical Switch to use aggregate file
    LAND_RESTART_IN_POSTFIX_TIMELABEL logical .false. Add timelabel to the basename of input file?
    LAND_RESTART_IN_CHECK_COORDINATES logical .true.
    LAND_RESTART_OUTPUT logical .false. Output restart file?
    LAND_RESTART_OUT_BASENAME character(len=H_LONG) '' Basename of the output file
    LAND_RESTART_OUT_AGGREGATE logical Switch to use aggregate file
    LAND_RESTART_OUT_POSTFIX_TIMELABEL logical .true. Add timelabel to the basename of output file?
    LAND_RESTART_OUT_TITLE character(len=H_MID) 'LAND restart' Title of the output file
    LAND_RESTART_OUT_DTYPE character(len=H_SHORT) '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_MID)
    STRGMAX real(RP)
    STRGCRT real(RP)
    RSTOMA real(RP)
    TCS real(RP)
    HCS real(RP)
    DFW real(RP)
    ALBLW real(RP)
    ALBSW real(RP)
    Z0M real(RP)
    Z0H real(RP)
    Z0E real(RP)

History Output
namedescriptionunitvariable
SNOW_Depth Snow depth m SNOW_Depth
SNOW_Dzero Snow depth at melting point m SNOW_Dzero
SNOW_SFC_TEMP Snow surface temperature K SNOW_SFC_TEMP
SNOW_SWE Snow water equivalent kg/m2 SNOW_SWE
SNOW_nosnowsec Time duration without snow s SNOW_nosnowsec
LAND_SFC_ALB_IR_dif land surface albedo for IR (diffuse) 1 LAND_SFC_albedo
LAND_SFC_ALB_IR_dir land surface albedo for IR (direct) 1 LAND_SFC_albedo
LAND_SFC_ALB_NIR_dif land surface albedo for NIR (diffuse) 1 LAND_SFC_albedo
LAND_SFC_ALB_NIR_dir land surface albedo for NIR (direct) 1 LAND_SFC_albedo
LAND_SFC_ALB_VIS_dif land surface albedo for VIS (diffuse) 1 LAND_SFC_albedo
LAND_SFC_ALB_VIS_dir land surface albedo for VIS (direct) 1 LAND_SFC_albedo
LAND_SFC_TEMP land surface skin temperature K LAND_SFC_TEMP
LAND_SFLX_GH land subsurface heat flux (downward) J/m2/s LAND_SFLX_GH
LAND_SFLX_LH land surface latent heat flux (upward) J/m2/s LAND_SFLX_LH
LAND_SFLX_MU land surface u-momentum flux (upward) kg/m2/s LAND_SFLX_MU
LAND_SFLX_MV land surface v-momentum flux (upward) kg/m2/s LAND_SFLX_MV
LAND_SFLX_MW land surface w-momentum flux (upward) kg/m2/s LAND_SFLX_MW
LAND_SFLX_SH land surface sensible heat flux (upward) J/m2/s LAND_SFLX_SH
LAND_SFLX_evap land surface water vapor flux (upward) kg/m2/s LAND_SFLX_QTRC
LAND_SFLX_ice land surface ice water flux (downward) kg/m2/s LAND_SFLX_ice
LAND_SFLX_water land surface liquid water flux (downward) kg/m2/s LAND_SFLX_water
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 1 LAND_WATERDS

Function/Subroutine Documentation

◆ land_vars_setup()

subroutine, public mod_land_vars::land_vars_setup ( )

Setup.

Definition at line 252 of file mod_land_vars.F90.

References atmos_cossza, atmos_dens, atmos_pbl, atmos_pres, atmos_qv, atmos_sfc_dens, atmos_sfc_pres, atmos_sflx_rad_dn, atmos_sflx_rain, atmos_sflx_snow, atmos_temp, atmos_u, atmos_v, atmos_w, scale_const::const_undef, scale_io::io_fid_conf, land_property, land_property_nmax, land_q2, land_restart_in_aggregate, land_restart_in_basename, land_restart_in_postfix_timelabel, land_restart_out_aggregate, land_restart_out_basename, land_restart_out_dtype, land_restart_out_postfix_timelabel, land_restart_out_title, land_restart_output, land_sfc_albedo, land_sfc_temp, land_sflx_gh, land_sflx_ice, land_sflx_lh, land_sflx_mu, land_sflx_mv, land_sflx_mw, land_sflx_qtrc, land_sflx_sh, land_sflx_water, 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_landuse::landuse_pft_nmin, scale_land_grid_cartesc_index::lia, scale_land_grid_cartesc_index::lie, scale_land_grid_cartesc_index::lis, scale_land_grid_cartesc_index::lja, scale_land_grid_cartesc_index::lje, scale_land_grid_cartesc_index::ljs, scale_land_grid_cartesc_index::lkmax, scale_cpl_sfc_index::n_rad_dir, scale_cpl_sfc_index::n_rad_rgn, scale_prc::prc_abort(), scale_tracer::qa, snow_depth, snow_dzero, snow_nosnowsec, snow_sfc_temp, and snow_swe.

Referenced by mod_rm_driver::rm_driver(), and mod_rm_prep::rm_prep().

252  use scale_prc, only: &
253  prc_abort
254  use scale_const, only: &
255  undef => const_undef
256  use scale_comm_cartesc, only: &
257  comm_vars8, &
258  comm_wait
259  use scale_landuse, only: &
263  implicit none
264 
265  namelist / param_land_vars / &
266  land_restart_in_basename, &
267  land_restart_in_aggregate, &
268  land_restart_in_postfix_timelabel, &
269  land_restart_in_check_coordinates, &
270  land_restart_output, &
271  land_restart_out_basename, &
272  land_restart_out_aggregate, &
273  land_restart_out_postfix_timelabel, &
274  land_restart_out_title, &
275  land_restart_out_dtype, &
276  land_vars_checkrange
277 
278  integer :: ierr
279  integer :: i, j, iv, p
280  !---------------------------------------------------------------------------
281 
282  log_newline
283  log_info("LAND_vars_setup",*) 'Setup'
284 
285  allocate( land_temp(lkmax,lia,lja) )
286  allocate( land_water(lkmax,lia,lja) )
287  allocate( land_sfc_temp(lia,lja) )
288  allocate( land_sfc_albedo(lia,lja,n_rad_dir,n_rad_rgn) )
289  land_temp(:,:,:) = undef
290  land_water(:,:,:) = undef
291  land_sfc_temp(:,:) = undef
292  land_sfc_albedo(:,:,:,:) = undef
293 
294  allocate( snow_sfc_temp(lia,lja) )
295  allocate( snow_swe(lia,lja) )
296  allocate( snow_depth(lia,lja) )
297  allocate( snow_dzero(lia,lja) )
298  allocate( snow_nosnowsec(lia,lja) )
299  snow_sfc_temp(:,:) = undef
300  snow_swe(:,:) = undef
301  snow_depth(:,:) = undef
302  snow_dzero(:,:) = undef
303  snow_nosnowsec(:,:) = undef
304 
305  allocate( land_temp_t(lkmax,lia,lja) )
306  allocate( land_water_t(lkmax,lia,lja) )
307  land_temp_t(:,:,:) = undef
308  land_water_t(:,:,:) = undef
309 
310  allocate( land_sflx_mw(lia,lja) )
311  allocate( land_sflx_mu(lia,lja) )
312  allocate( land_sflx_mv(lia,lja) )
313  allocate( land_sflx_sh(lia,lja) )
314  allocate( land_sflx_lh(lia,lja) )
315  allocate( land_sflx_gh(lia,lja) )
316  allocate( land_sflx_qtrc(lia,lja,qa) )
317  allocate( land_sflx_water(lia,lja) )
318  allocate( land_sflx_ice(lia,lja) )
319  land_sflx_mw(:,:) = undef
320  land_sflx_mu(:,:) = undef
321  land_sflx_mv(:,:) = undef
322  land_sflx_sh(:,:) = undef
323  land_sflx_lh(:,:) = undef
324  land_sflx_qtrc(:,:,:) = undef
325  land_sflx_gh(:,:) = undef
326  land_sflx_water(:,:) = undef
327  land_sflx_ice(:,:) = undef
328 
329  allocate( land_u10(lia,lja) )
330  allocate( land_v10(lia,lja) )
331  allocate( land_t2(lia,lja) )
332  allocate( land_q2(lia,lja) )
333  land_u10(:,:) = undef
334  land_v10(:,:) = undef
335  land_t2(:,:) = undef
336  land_q2(:,:) = undef
337 
338  allocate( atmos_temp(lia,lja) )
339  allocate( atmos_pres(lia,lja) )
340  allocate( atmos_w(lia,lja) )
341  allocate( atmos_u(lia,lja) )
342  allocate( atmos_v(lia,lja) )
343  allocate( atmos_dens(lia,lja) )
344  allocate( atmos_qv(lia,lja) )
345  allocate( atmos_pbl(lia,lja) )
346  allocate( atmos_sfc_dens(lia,lja) )
347  allocate( atmos_sfc_pres(lia,lja) )
348  allocate( atmos_sflx_rad_dn(lia,lja,n_rad_dir,n_rad_rgn) )
349  allocate( atmos_cossza(lia,lja) )
350  allocate( atmos_sflx_rain(lia,lja) )
351  allocate( atmos_sflx_snow(lia,lja) )
352  atmos_temp(:,:) = undef
353  atmos_pres(:,:) = undef
354  atmos_w(:,:) = undef
355  atmos_u(:,:) = undef
356  atmos_v(:,:) = undef
357  atmos_dens(:,:) = undef
358  atmos_qv(:,:) = undef
359  atmos_pbl(:,:) = undef
360  atmos_sfc_dens(:,:) = undef
361  atmos_sfc_pres(:,:) = undef
362  atmos_sflx_rad_dn(:,:,:,:) = undef
363  atmos_cossza(:,:) = undef
364  atmos_sflx_rain(:,:) = undef
365  atmos_sflx_snow(:,:) = undef
366 
367  !--- read namelist
368  rewind(io_fid_conf)
369  read(io_fid_conf,nml=param_land_vars,iostat=ierr)
370  if( ierr < 0 ) then !--- missing
371  log_info("LAND_vars_setup",*) 'Not found namelist. Default used.'
372  elseif( ierr > 0 ) then !--- fatal error
373  log_error("LAND_vars_setup",*) 'Not appropriate names in namelist PARAM_LAND_VARS. Check!'
374  call prc_abort
375  endif
376  log_nml(param_land_vars)
377 
378  log_newline
379  log_info("LAND_vars_setup",*) 'List of prognostic variables (LAND) '
380  log_info_cont('(1x,A,A24,A,A48,A,A12,A)') &
381  ' |', 'VARNAME ','|', &
382  'DESCRIPTION ', '[', 'UNIT ', ']'
383  do iv = 1, vmax
384  log_info_cont('(1x,A,I3,A,A24,A,A48,A,A12,A)') &
385  'NO.',iv,'|',var_name(iv),'|',var_desc(iv),'[',var_unit(iv),']'
386  enddo
387 
388  log_newline
389  if ( land_restart_in_basename /= '' ) then
390  log_info("LAND_vars_setup",*) 'Restart input? : YES, file = ', trim(land_restart_in_basename)
391  log_info("LAND_vars_setup",*) 'Add timelabel? : ', land_restart_in_postfix_timelabel
392  else
393  log_info("LAND_vars_setup",*) 'Restart input? : NO'
394  endif
395  if ( land_restart_output &
396  .AND. land_restart_out_basename /= '' ) then
397  log_info("LAND_vars_setup",*) 'Restart output? : YES, file = ', trim(land_restart_out_basename)
398  log_info("LAND_vars_setup",*) 'Add timelabel? : ', land_restart_out_postfix_timelabel
399  else
400  log_info("LAND_vars_setup",*) 'Restart output? : NO'
401  land_restart_output = .false.
402  endif
403 
404  ! Read land property table
405  allocate( land_property_table(landuse_pft_nmin:landuse_pft_nmax,land_property_nmax) )
406  land_property_table(:,:) = undef
407 
408  call land_param_read
409 
410  ! Apply land property to 2D map
411  allocate( land_property(lia,lja,land_property_nmax) )
412 
413  ! tentative, mosaic is off
414  do p = 1, land_property_nmax
415  do j = ljs, lje
416  do i = lis, lie
417  land_property(i,j,p) = land_property_table( landuse_index_pft(i,j,1), p )
418  enddo
419  enddo
420  enddo
421 
422  do p = 1, land_property_nmax
423  call comm_vars8( land_property(:,:,p), p )
424  enddo
425  do p = 1, land_property_nmax
426  call comm_wait ( land_property(:,:,p), p )
427  enddo
428 
429  return
real(rp), dimension(:,:,:), allocatable, public land_property
land surface property
integer, public io_fid_conf
Config file ID.
Definition: scale_io.F90:55
real(rp), dimension(:,:), allocatable, public land_q2
land surface water vapor at 2m [kg/kg]
real(rp), dimension(:,:,:), allocatable, public land_sflx_qtrc
land surface tracer flux [kg/m2/s]
real(rp), dimension(:,:), allocatable, public land_sflx_mu
land surface u-momentum flux [kg/m2/s]
integer, parameter, public landuse_pft_nmin
minimum number of PFT type
real(rp), public const_undef
Definition: scale_const.F90:41
module COMMUNICATION
real(rp), dimension(:,:), allocatable, public land_sfc_temp
land surface skin temperature [K]
real(rp), dimension(:,:), allocatable, public land_v10
land surface velocity v at 10m [m/s]
real(rp), dimension(:,:,:,:), allocatable, public land_sfc_albedo
land surface albedo (direct/diffuse,IR/near-IR/VIS) (0-1)
module LANDUSE
real(rp), dimension(:,:), allocatable, public land_t2
land surface temperature at 2m [K]
module PROCESS
Definition: scale_prc.F90:11
real(rp), dimension(:,:), allocatable, public land_sflx_lh
land surface latent heat flux [J/m2/s]
integer, dimension(:,:,:), allocatable, public landuse_index_pft
index of PFT for each mosaic
real(rp), dimension(:,:), allocatable, public land_u10
land surface velocity u at 10m [m/s]
subroutine, public prc_abort
Abort Process.
Definition: scale_prc.F90:338
module CONSTANT
Definition: scale_const.F90:11
real(rp), dimension(:,:), allocatable, public land_sflx_gh
land surface heat flux [J/m2/s]
real(rp), dimension(:,:), allocatable, public land_sflx_mw
land surface w-momentum flux [kg/m2/s]
real(rp), dimension(:,:), allocatable, public land_sflx_mv
land surface v-momentum flux [kg/m2/s]
integer, public landuse_pft_nmax
number of plant functional type(PFT)
real(rp), dimension(:,:), allocatable, public land_sflx_sh
land surface sensible heat flux [J/m2/s]
Here is the call graph for this function:
Here is the caller graph for this function:

◆ land_vars_restart_open()

subroutine, public mod_land_vars::land_vars_restart_open ( )

Open land restart file for read.

Definition at line 435 of file mod_land_vars.F90.

References scale_file_cartesc::file_cartesc_open(), mod_land_admin::land_do, land_restart_in_aggregate, land_restart_in_basename, land_restart_in_postfix_timelabel, and scale_time::time_gettimelabel().

Referenced by mod_admin_restart::admin_restart_read().

435  use scale_time, only: &
437  use scale_file_cartesc, only: &
439  file_cartesc_check_coordinates
440  use mod_land_admin, only: &
441  land_do
442  implicit none
443 
444  character(len=19) :: timelabel
445  character(len=H_LONG) :: basename
446  !---------------------------------------------------------------------------
447 
448  log_newline
449  log_info("LAND_vars_restart_open",*) 'Open restart file (LAND) '
450 
451  if ( land_do .and. land_restart_in_basename /= '' ) then
452 
453  if ( land_restart_in_postfix_timelabel ) then
454  call time_gettimelabel( timelabel )
455  basename = trim(land_restart_in_basename)//'_'//trim(timelabel)
456  else
457  basename = trim(land_restart_in_basename)
458  endif
459 
460  log_info("LAND_vars_restart_open",*) 'basename: ', trim(basename)
461 
462  call file_cartesc_open( basename, restart_fid, aggregate=land_restart_in_aggregate )
463 
464  if ( land_restart_in_check_coordinates ) then
465  call file_cartesc_check_coordinates( restart_fid, land=.true. )
466  end if
467 
468  else
469  log_info("LAND_vars_restart_open",*) 'restart file for land is not specified.'
470  endif
471 
472  return
module Land admin
subroutine, public time_gettimelabel(timelabel)
generate time label
Definition: scale_time.F90:94
module TIME
Definition: scale_time.F90:16
module file / cartesianC
subroutine, public file_cartesc_open(basename, fid, aggregate)
open a netCDF file for read
logical, public land_do
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 478 of file mod_land_vars.F90.

References scale_file_cartesc::file_cartesc_flush(), scale_file::file_get_aggregate(), scale_cpl_sfc_index::i_r_diffuse, scale_cpl_sfc_index::i_r_direct, scale_cpl_sfc_index::i_r_ir, scale_cpl_sfc_index::i_r_nir, scale_cpl_sfc_index::i_r_vis, land_sfc_albedo, land_sfc_temp, land_temp, land_vars_total(), land_water, scale_prc::prc_abort(), snow_depth, snow_dzero, snow_nosnowsec, snow_sfc_temp, and snow_swe.

Referenced by mod_admin_restart::admin_restart_read().

478  use scale_prc, only: &
479  prc_abort
480  use scale_file, only: &
482  use scale_file_cartesc, only: &
483  file_cartesc_read, &
485  implicit none
486  !---------------------------------------------------------------------------
487 
488  if ( restart_fid /= -1 ) then
489  log_newline
490  log_info("LAND_vars_restart_read",*) 'Read from restart file (LAND) '
491 
492  call file_cartesc_read( restart_fid, var_name(i_temp), 'LXY', & ! [IN]
493  land_temp(:,:,:) ) ! [OUT]
494  call file_cartesc_read( restart_fid, var_name(i_water), 'LXY', & ! [IN]
495  land_water(:,:,:) ) ! [OUT]
496  call file_cartesc_read( restart_fid, var_name(i_sfc_temp), 'XY', & ! [IN]
497  land_sfc_temp(:,:) ) ! [OUT]
498  call file_cartesc_read( restart_fid, var_name(i_sfc_alb_ir_dir), 'XY', & ! [IN]
499  land_sfc_albedo(:,:,i_r_direct ,i_r_ir ) ) ! [OUT]
500  call file_cartesc_read( restart_fid, var_name(i_sfc_alb_ir_dif), 'XY', & ! [IN]
501  land_sfc_albedo(:,:,i_r_diffuse,i_r_ir ) ) ! [OUT]
502  call file_cartesc_read( restart_fid, var_name(i_sfc_alb_nir_dir), 'XY', & ! [IN]
503  land_sfc_albedo(:,:,i_r_direct ,i_r_nir) ) ! [OUT]
504  call file_cartesc_read( restart_fid, var_name(i_sfc_alb_nir_dif), 'XY', & ! [IN]
505  land_sfc_albedo(:,:,i_r_diffuse,i_r_nir) ) ! [OUT]
506  call file_cartesc_read( restart_fid, var_name(i_sfc_alb_vis_dir), 'XY', & ! [IN]
507  land_sfc_albedo(:,:,i_r_direct ,i_r_vis) ) ! [OUT]
508  call file_cartesc_read( restart_fid, var_name(i_sfc_alb_vis_dif), 'XY', & ! [IN]
509  land_sfc_albedo(:,:,i_r_diffuse,i_r_vis) ) ! [OUT]
510 
511  !call FILE_CARTESC_read( restart_fid, 'SNOW_SFC_TEMP', 'XY', & ! [OUT]
512  ! SNOW_SFC_TEMP(:,:) ) ! [IN]
513  !call FILE_CARTESC_read( restart_fid, 'SNOW_SWE', 'XY', & ! [OUT]
514  ! SNOW_SWE(:,:) ) ! [IN]
515  !call FILE_CARTESC_read( restart_fid, 'SNOW_Depth', 'XY', & ! [OUT]
516  ! SNOW_Depth(:,:) ) ! [IN]
517  !call FILE_CARTESC_read( restart_fid, 'SNOW_Dzero', 'XY', & ! [OUT]
518  ! SNOW_Dzero(:,:) ) ! [IN]
519  !call FILE_CARTESC_read( restart_fid, 'SNOW_nosnowsec', 'XY' & ! [OUT]
520  ! SNOW_nosnowsec(:,:) ) ! [IN]
521 
522  !!!!! Tentative for snow model !!!!!
523  snow_sfc_temp = 273.15_rp
524  snow_swe = 0.0_rp
525  snow_depth = 0.0_rp
526  snow_dzero = 0.0_rp
527  snow_nosnowsec = 0.0_rp
528 
529  if( file_get_aggregate(restart_fid) ) call file_cartesc_flush( restart_fid ) ! commit all pending read requests
530 
531  call land_vars_total
532  else
533  log_error("LAND_vars_restart_read",*) 'invalid restart file ID for land.'
534  call prc_abort
535  endif
536 
537  return
real(rp), dimension(:,:), allocatable, public land_sfc_temp
land surface skin temperature [K]
module file
Definition: scale_file.F90:15
real(rp), dimension(:,:,:,:), allocatable, public land_sfc_albedo
land surface albedo (direct/diffuse,IR/near-IR/VIS) (0-1)
module PROCESS
Definition: scale_prc.F90:11
subroutine, public prc_abort
Abort Process.
Definition: scale_prc.F90:338
logical function, public file_get_aggregate(fid)
module file / cartesianC
subroutine, public file_cartesc_flush(fid)
Flush all pending requests to a netCDF file (PnetCDF only)
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 543 of file mod_land_vars.F90.

References scale_atmos_hydrometeor::i_qv, scale_cpl_sfc_index::i_r_diffuse, scale_cpl_sfc_index::i_r_direct, scale_cpl_sfc_index::i_r_ir, scale_cpl_sfc_index::i_r_nir, scale_cpl_sfc_index::i_r_vis, i_waterlimit, land_property, land_sfc_albedo, land_sfc_temp, land_sflx_gh, land_sflx_ice, land_sflx_lh, land_sflx_mu, land_sflx_mv, land_sflx_mw, land_sflx_qtrc, land_sflx_sh, land_sflx_water, land_temp, land_water, scale_land_grid_cartesc_index::lie, scale_land_grid_cartesc_index::lis, scale_land_grid_cartesc_index::lje, scale_land_grid_cartesc_index::ljs, scale_land_grid_cartesc_index::lke, scale_land_grid_cartesc_index::lkmax, scale_land_grid_cartesc_index::lks, scale_prof::prof_rapend(), scale_prof::prof_rapstart(), snow_depth, snow_dzero, snow_nosnowsec, snow_sfc_temp, and snow_swe.

Referenced by mod_land_driver::land_driver_update(), and mod_rm_driver::restart_read().

543  use scale_file_history, only: &
544  file_history_in
545  use scale_atmos_hydrometeor, only: &
546  i_qv
547  implicit none
548 
549  real(RP) :: land_waterds(lkmax,lia,lja)
550  integer :: k, i, j
551  !---------------------------------------------------------------------------
552 
553  call prof_rapstart('LND_History', 1)
554 
555 
556  if ( land_vars_checkrange ) then
557  call valcheck( land_temp(lks:lke,lis:lie,ljs:lje), 0.0_rp, 1000.0_rp, &
558  var_name(i_temp), __file__, __line__ )
559  call valcheck( land_water(lks:lke,lis:lie,ljs:lje), 0.0_rp, 1000.0_rp, &
560  var_name(i_water), __file__, __line__ )
561  call valcheck( land_sfc_temp(lis:lie,ljs:lje), 0.0_rp, 1000.0_rp, &
562  var_name(i_sfc_temp), __file__, __line__ )
563  call valcheck( land_sfc_albedo(lis:lie,ljs:lje,i_r_direct ,i_r_ir ), 0.0_rp, 2.0_rp, &
564  var_name(i_sfc_alb_ir_dir ), __file__, __line__ )
565  call valcheck( land_sfc_albedo(lis:lie,ljs:lje,i_r_diffuse,i_r_ir ), 0.0_rp, 2.0_rp, &
566  var_name(i_sfc_alb_ir_dif ), __file__, __line__ )
567  call valcheck( land_sfc_albedo(lis:lie,ljs:lje,i_r_direct ,i_r_nir), 0.0_rp, 2.0_rp, &
568  var_name(i_sfc_alb_nir_dir), __file__, __line__ )
569  call valcheck( land_sfc_albedo(lis:lie,ljs:lje,i_r_diffuse,i_r_nir), 0.0_rp, 2.0_rp, &
570  var_name(i_sfc_alb_nir_dif), __file__, __line__ )
571  call valcheck( land_sfc_albedo(lis:lie,ljs:lje,i_r_direct ,i_r_vis), 0.0_rp, 2.0_rp, &
572  var_name(i_sfc_alb_vis_dir), __file__, __line__ )
573  call valcheck( land_sfc_albedo(lis:lie,ljs:lje,i_r_diffuse,i_r_vis), 0.0_rp, 2.0_rp, &
574  var_name(i_sfc_alb_vis_dif), __file__, __line__ )
575 
576  !call VALCHECK( SNOW_SFC_TEMP (IS:IE,JS:JE), 0.0_RP, 1000.0_RP, 'SNOW_SFC_TEMP', &
577  ! __FILE__, __LINE__ )
578  !call VALCHECK( SNOW_SWE (IS:IE,JS:JE), 0.0_RP, 1000.0_RP, 'SNOW_SWE', &
579  ! __FILE__, __LINE__ )
580  !call VALCHECK( SNOW_Depth (IS:IE,JS:JE), 0.0_RP, 1000.0_RP, 'SNOW_Depth', &
581  ! __FILE__, __LINE__ )
582  !call VALCHECK( SNOW_Dzero (IS:IE,JS:JE), 0.0_RP, 1000.0_RP, 'SNOW_Dzero', &
583  ! __FILE__, __LINE__ )
584  endif
585 
586  call file_history_in( land_temp(:,:,:), var_name(i_temp), var_desc(i_temp), var_unit(i_temp), dim_type='LXY', standard_name=var_stdn(i_temp) )
587  call file_history_in( land_water(:,:,:), var_name(i_water), var_desc(i_water), var_unit(i_water), dim_type='LXY', standard_name=var_stdn(i_water) )
588  do j = ljs, lje
589  do i = lis, lie
590  do k = 1, lkmax
591  land_waterds(k,i,j) = land_water(k,i,j) / land_property(i,j,i_waterlimit)
592  end do
593  end do
594  end do
595  call file_history_in( land_waterds(:,:,:), var_name(i_waterds), var_desc(i_waterds), var_unit(i_waterds), dim_type='LXY', fill_halo=.true., standard_name=var_stdn(i_waterds) )
596 
597 
598  call file_history_in( land_sfc_temp(:,:), var_name(i_sfc_temp), &
599  var_desc(i_sfc_temp), var_unit(i_sfc_temp), standard_name=var_stdn(i_sfc_temp) )
600  call file_history_in( land_sfc_albedo(:,:,i_r_direct ,i_r_ir ), var_name(i_sfc_alb_ir_dir), &
601  var_desc(i_sfc_alb_ir_dir), var_unit(i_sfc_alb_ir_dir), standard_name=var_stdn(i_sfc_alb_ir_dir) )
602  call file_history_in( land_sfc_albedo(:,:,i_r_diffuse,i_r_ir ), var_name(i_sfc_alb_ir_dif), &
603  var_desc(i_sfc_alb_ir_dif), var_unit(i_sfc_alb_ir_dif), standard_name=var_stdn(i_sfc_alb_ir_dif) )
604  call file_history_in( land_sfc_albedo(:,:,i_r_direct ,i_r_nir), var_name(i_sfc_alb_nir_dir), &
605  var_desc(i_sfc_alb_nir_dir), var_unit(i_sfc_alb_nir_dir), standard_name=var_stdn(i_sfc_alb_nir_dir) )
606  call file_history_in( land_sfc_albedo(:,:,i_r_diffuse,i_r_nir), var_name(i_sfc_alb_nir_dif), &
607  var_desc(i_sfc_alb_nir_dif), var_unit(i_sfc_alb_nir_dif), standard_name=var_stdn(i_sfc_alb_nir_dif) )
608  call file_history_in( land_sfc_albedo(:,:,i_r_direct ,i_r_vis), var_name(i_sfc_alb_vis_dir), &
609  var_desc(i_sfc_alb_vis_dir), var_unit(i_sfc_alb_vis_dir), standard_name=var_stdn(i_sfc_alb_vis_dir) )
610  call file_history_in( land_sfc_albedo(:,:,i_r_diffuse,i_r_vis), var_name(i_sfc_alb_vis_dif), &
611  var_desc(i_sfc_alb_vis_dif), var_unit(i_sfc_alb_vis_dif), standard_name=var_stdn(i_sfc_alb_vis_dif) )
612 
613  call file_history_in( land_sflx_mw(:,:), var_name(i_sflx_mw), &
614  var_desc(i_sflx_mw), var_unit(i_sflx_mw), standard_name=var_stdn(i_sflx_mw) )
615  call file_history_in( land_sflx_mu(:,:), var_name(i_sflx_mu), &
616  var_desc(i_sflx_mu), var_unit(i_sflx_mu), standard_name=var_stdn(i_sflx_mu) )
617  call file_history_in( land_sflx_mv(:,:), var_name(i_sflx_mv), &
618  var_desc(i_sflx_mv), var_unit(i_sflx_mv), standard_name=var_stdn(i_sflx_mv) )
619  call file_history_in( land_sflx_sh(:,:), var_name(i_sflx_sh), &
620  var_desc(i_sflx_sh), var_unit(i_sflx_sh), standard_name=var_stdn(i_sflx_sh) )
621  call file_history_in( land_sflx_lh(:,:), var_name(i_sflx_lh), &
622  var_desc(i_sflx_lh), var_unit(i_sflx_lh), standard_name=var_stdn(i_sflx_lh) )
623  if ( i_qv > 0 ) then
624  call file_history_in( land_sflx_qtrc(:,:,i_qv), var_name(i_sflx_evap), &
625  var_desc(i_sflx_evap), var_unit(i_sflx_evap), standard_name=var_stdn(i_sflx_evap) )
626  endif
627  call file_history_in( land_sflx_gh(:,:), var_name(i_sflx_gh), &
628  var_desc(i_sflx_gh), var_unit(i_sflx_gh), standard_name=var_stdn(i_sflx_gh) )
629  call file_history_in( land_sflx_water(:,:), var_name(i_sflx_water), &
630  var_desc(i_sflx_water), var_unit(i_sflx_water), standard_name=var_stdn(i_sflx_water) )
631  call file_history_in( land_sflx_ice(:,:), var_name(i_sflx_ice), &
632  var_desc(i_sflx_ice), var_unit(i_sflx_ice), standard_name=var_stdn(i_sflx_ice) )
633 
634  ! snow model
635  call file_history_in( snow_sfc_temp(:,:), 'SNOW_SFC_TEMP', 'Snow surface temperature', 'K' )
636  call file_history_in( snow_swe(:,:), 'SNOW_SWE', 'Snow water equivalent', 'kg/m2' )
637  call file_history_in( snow_depth(:,:), 'SNOW_Depth', 'Snow depth', 'm' )
638  call file_history_in( snow_dzero(:,:), 'SNOW_Dzero', 'Snow depth at melting point', 'm' )
639  call file_history_in( snow_nosnowsec(:,:), 'SNOW_nosnowsec', 'Time duration without snow', 's' )
640 
641  call prof_rapend ('LND_History', 1)
642 
643  return
real(rp), dimension(:,:,:), allocatable, public land_property
land surface property
real(rp), dimension(:,:,:), allocatable, public land_sflx_qtrc
land surface tracer flux [kg/m2/s]
real(rp), dimension(:,:), allocatable, public land_sflx_mu
land surface u-momentum flux [kg/m2/s]
real(rp), dimension(:,:), allocatable, public land_sfc_temp
land surface skin temperature [K]
module atmosphere / hydrometeor
real(rp), dimension(:,:,:,:), allocatable, public land_sfc_albedo
land surface albedo (direct/diffuse,IR/near-IR/VIS) (0-1)
real(rp), dimension(:,:), allocatable, public land_sflx_lh
land surface latent heat flux [J/m2/s]
real(rp), dimension(:,:), allocatable, public land_sflx_gh
land surface heat flux [J/m2/s]
real(rp), dimension(:,:), allocatable, public land_sflx_mw
land surface w-momentum flux [kg/m2/s]
real(rp), dimension(:,:), allocatable, public land_sflx_mv
land surface v-momentum flux [kg/m2/s]
real(rp), dimension(:,:), allocatable, public land_sflx_sh
land surface sensible heat flux [J/m2/s]
module file_history
Here is the call graph for this function:
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 649 of file mod_land_vars.F90.

References i_alblw, i_albsw, i_heatcapacity, scale_cpl_sfc_index::i_r_diffuse, scale_cpl_sfc_index::i_r_direct, scale_cpl_sfc_index::i_r_ir, scale_cpl_sfc_index::i_r_nir, scale_cpl_sfc_index::i_r_vis, i_stomataresist, i_thermalcond, i_watercritical, i_waterdiff, i_waterlimit, i_z0e, i_z0h, i_z0m, scale_io::io_fid_conf, scale_io::io_get_available_fid(), scale_land_grid_cartesc_real::land_grid_cartesc_real_area, scale_land_grid_cartesc_real::land_grid_cartesc_real_totarea, scale_land_grid_cartesc_real::land_grid_cartesc_real_totvol, scale_land_grid_cartesc_real::land_grid_cartesc_real_vol, land_property_in_filename, land_sfc_albedo, land_sfc_temp, land_temp, land_water, scale_landuse::landuse_pft_nmax, scale_landuse::landuse_pft_nmin, scale_land_grid_cartesc_index::lia, scale_land_grid_cartesc_index::lie, scale_land_grid_cartesc_index::lis, scale_land_grid_cartesc_index::lja, scale_land_grid_cartesc_index::lje, scale_land_grid_cartesc_index::ljs, scale_land_grid_cartesc_index::lka, scale_land_grid_cartesc_index::lke, scale_land_grid_cartesc_index::lks, scale_prc::prc_abort(), snow_depth, snow_dzero, snow_sfc_temp, snow_swe, and scale_statistics::statistics_checktotal.

Referenced by mod_land_driver::land_driver_update(), land_vars_restart_read(), and land_vars_restart_write().

649  use scale_statistics, only: &
651  statistics_total
652  use scale_land_grid_cartesc_real, only: &
657  implicit none
658 
659  !---------------------------------------------------------------------------
660 
661  if ( statistics_checktotal ) then
662 
663  ! 3D
664  call statistics_total( lka, lks, lke, lia, lis, lie, lja, ljs, lje, &
665  land_temp(:,:,:), var_name(i_temp), & ! (in)
666  land_grid_cartesc_real_vol(:,:,:), & ! (in)
668  call statistics_total( lka, lks, lke, lia, lis, lie, lja, ljs, lje, &
669  land_water(:,:,:), var_name(i_water), & ! (in)
670  land_grid_cartesc_real_vol(:,:,:), & ! (in)
672 
673  ! 2D
674  call statistics_total( lia, lis, lie, lja, ljs, lje, & ! [IN]
675  land_sfc_temp(:,:), var_name(i_sfc_temp), & ! [IN]
676  land_grid_cartesc_real_area(:,:), & ! [IN]
678  call statistics_total( lia, lis, lie, lja, ljs, lje, & ! [IN]
679  land_sfc_albedo(:,:,i_r_direct ,i_r_ir ), var_name(i_sfc_alb_ir_dir), & ! [IN]
680  land_grid_cartesc_real_area(:,:), & ! [IN]
682  call statistics_total( lia, lis, lie, lja, ljs, lje, & ! [IN]
683  land_sfc_albedo(:,:,i_r_diffuse,i_r_ir ), var_name(i_sfc_alb_ir_dif), & ! [IN]
684  land_grid_cartesc_real_area(:,:), & ! [IN]
686  call statistics_total( lia, lis, lie, lja, ljs, lje, & ! [IN]
687  land_sfc_albedo(:,:,i_r_direct ,i_r_nir), var_name(i_sfc_alb_nir_dir), & ! [IN]
688  land_grid_cartesc_real_area(:,:), & ! [IN]
690  call statistics_total( lia, lis, lie, lja, ljs, lje, & ! [IN]
691  land_sfc_albedo(:,:,i_r_diffuse,i_r_nir), var_name(i_sfc_alb_nir_dif), & ! [IN]
692  land_grid_cartesc_real_area(:,:), & ! [IN]
694  call statistics_total( lia, lis, lie, lja, ljs, lje, & ! [IN]
695  land_sfc_albedo(:,:,i_r_direct ,i_r_vis), var_name(i_sfc_alb_vis_dir), & ! [IN]
696  land_grid_cartesc_real_area(:,:), & ! [IN]
698  call statistics_total( lia, lis, lie, lja, ljs, lje, & ! [IN]
699  land_sfc_albedo(:,:,i_r_diffuse,i_r_vis), var_name(i_sfc_alb_vis_dif), & ! [IN]
700  land_grid_cartesc_real_area(:,:), & ! [IN]
702 
703  call statistics_total( lia, lis, lie, lja, ljs, lje, &
704  snow_sfc_temp(:,:), 'SNOW_SFC_TEMP', & ! (in)
705  land_grid_cartesc_real_area(:,:), & ! (in)
707  call statistics_total( lia, lis, lie, lja, ljs, lje, &
708  snow_swe(:,:), 'SNOW_SWE', &
709  land_grid_cartesc_real_area(:,:), & ! (in)
711  call statistics_total( lia, lis, lie, lja, ljs, lje, &
712  snow_depth(:,:), 'SNOW_Depth', & ! (in)
713  land_grid_cartesc_real_area(:,:), & ! (in)
715  call statistics_total( lia, lis, lie, lja, ljs, lje, &
716  snow_dzero(:,:), 'SNOW_Dzero', & ! (in)
717  land_grid_cartesc_real_area(:,:), & ! (in)
719  endif
720 
721  return
module land / grid / cartesianC / real
logical, public statistics_checktotal
calc&report variable totals to logfile?
real(rp), dimension(:,:), allocatable, public land_sfc_temp
land surface skin temperature [K]
real(rp), dimension(:,:,:,:), allocatable, public land_sfc_albedo
land surface albedo (direct/diffuse,IR/near-IR/VIS) (0-1)
real(rp), dimension(:,:), allocatable, public land_grid_cartesc_real_area
area of grid cell
real(rp), public land_grid_cartesc_real_totarea
total area
module Statistics
real(rp), public land_grid_cartesc_real_totvol
total volume
real(rp), dimension(:,:,:), allocatable, public land_grid_cartesc_real_vol
volume of grid cell
Here is the call graph for this function:
Here is the caller graph for this function:

◆ convert_ws2vwc()

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

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

Definition at line 885 of file mod_land_vars.F90.

References i_watercritical, i_waterlimit, land_property, scale_land_grid_cartesc_index::lie, scale_land_grid_cartesc_index::lis, scale_land_grid_cartesc_index::lje, and scale_land_grid_cartesc_index::ljs.

Referenced by mod_realinput::land_interporation().

885  implicit none
886 
887  real(RP), intent(in) :: ws(lia,lja) ! water saturation [fraction]
888  logical, intent(in) :: critical ! is I_WaterCritical used?
889 
890  real(RP) :: vwc(lia,lja) ! volumetric water content [m3/m3]
891 
892  ! work
893  integer :: i, j, num
894  !---------------------------------------------------------------------------
895 
896  if( critical ) then
897  num = i_watercritical
898  else
899  num = i_waterlimit
900  end if
901 
902  do j = ljs, lje
903  do i = lis, lie
904  vwc(i,j) = max( min( ws(i,j)*land_property(i,j,num), land_property(i,j,num) ), 0.0_rp )
905  end do
906  end do
907 
908  return
real(rp), dimension(:,:,:), allocatable, public land_property
land surface property
Here is the caller graph for this function:

◆ land_vars_restart_create()

subroutine, public mod_land_vars::land_vars_restart_create ( )

Create land restart file.

Definition at line 914 of file mod_land_vars.F90.

References scale_file_cartesc::file_cartesc_create(), mod_land_admin::land_do, land_restart_out_aggregate, land_restart_out_basename, land_restart_out_dtype, land_restart_out_postfix_timelabel, land_restart_out_title, and scale_time::time_gettimelabel().

Referenced by mod_admin_restart::admin_restart_write().

914  use scale_time, only: &
916  use scale_file_cartesc, only: &
918  use mod_land_admin, only: &
919  land_do
920  implicit none
921 
922  character(len=19) :: timelabel
923  character(len=H_LONG) :: basename
924  !---------------------------------------------------------------------------
925 
926  if ( land_do .and. land_restart_out_basename /= '' ) then
927 
928  log_newline
929  log_info("LAND_vars_restart_create",*) 'Create restart file (LAND) '
930 
931  if ( land_restart_out_postfix_timelabel ) then
932  call time_gettimelabel( timelabel )
933  basename = trim(land_restart_out_basename)//'_'//trim(timelabel)
934  else
935  basename = trim(land_restart_out_basename)
936  endif
937 
938  log_info("LAND_vars_restart_create",*) 'basename: ', trim(basename)
939 
940  call file_cartesc_create( &
941  basename, land_restart_out_title, land_restart_out_dtype, & ! [IN]
942  restart_fid, & ! [OUT]
943  aggregate=land_restart_out_aggregate ) ! [IN]
944 
945  endif
946 
947  return
module Land admin
subroutine, public file_cartesc_create(basename, title, datatype, fid, date, subsec, haszcoord, append, aggregate, single)
Create/open a netCDF file.
subroutine, public time_gettimelabel(timelabel)
generate time label
Definition: scale_time.F90:94
module TIME
Definition: scale_time.F90:16
module file / cartesianC
logical, public land_do
Here is the call graph for this function:
Here is the caller graph for this function:

◆ land_vars_restart_enddef()

subroutine, public mod_land_vars::land_vars_restart_enddef ( )

Exit netCDF define mode.

Definition at line 953 of file mod_land_vars.F90.

References scale_file_cartesc::file_cartesc_enddef().

Referenced by mod_admin_restart::admin_restart_write().

953  use scale_file_cartesc, only: &
955  implicit none
956 
957  if ( restart_fid /= -1 ) then
958  call file_cartesc_enddef( restart_fid ) ! [IN]
959  endif
960 
961  return
subroutine, public file_cartesc_enddef(fid)
Exit netCDF file define mode.
module file / cartesianC
Here is the call graph for this function:
Here is the caller graph for this function:

◆ land_vars_restart_close()

subroutine, public mod_land_vars::land_vars_restart_close ( )

Close restart file.

Definition at line 967 of file mod_land_vars.F90.

References scale_file_cartesc::file_cartesc_close().

Referenced by mod_admin_restart::admin_restart_read(), and mod_admin_restart::admin_restart_write().

967  use scale_file_cartesc, only: &
969  implicit none
970  !---------------------------------------------------------------------------
971 
972  if ( restart_fid /= -1 ) then
973  log_newline
974  log_info("LAND_vars_restart_close",*) 'Close restart file (LAND) '
975 
976  call file_cartesc_close( restart_fid ) ! [IN]
977 
978  restart_fid = -1
979  endif
980 
981  return
module file / cartesianC
subroutine, public file_cartesc_close(fid)
Close a netCDF file.
Here is the call graph for this function:
Here is the caller graph for this function:

◆ land_vars_restart_def_var()

subroutine, public mod_land_vars::land_vars_restart_def_var ( )

Define land variables in restart file.

Definition at line 987 of file mod_land_vars.F90.

References scale_file_cartesc::file_cartesc_def_var(), and land_restart_out_dtype.

Referenced by mod_admin_restart::admin_restart_write().

987  use scale_file_cartesc, only: &
989  implicit none
990  integer :: i
991  !---------------------------------------------------------------------------
992 
993  if ( restart_fid /= -1 ) then
994 
995  do i = i_temp, i_water
996  if ( i == i_waterds ) cycle
997  call file_cartesc_def_var( restart_fid, & ! [IN]
998  var_name(i), var_desc(i), var_unit(i), & ! [IN]
999  'LXY', land_restart_out_dtype, & ! [IN]
1000  var_id(i), & ! [OUT]
1001  standard_name=var_stdn(i) ) ! [IN]
1002  end do
1003  do i = i_sfc_temp, i_sfc_alb_vis_dif
1004  call file_cartesc_def_var( restart_fid, & ! [IN]
1005  var_name(i), var_desc(i), var_unit(i), & ! [IN]
1006  'XY', land_restart_out_dtype, & ! [IN]
1007  var_id(i), & ! [OUT]
1008  standard_name=var_stdn(i) ) ! [IN]
1009  end do
1010 
1011  !call FILE_CARTESC_def_var( restart_fid, 'SNOW_SFC_TEMP', 'Snow surface temperature', &
1012  ! 'K', 'XY', LAND_RESTART_OUT_DTYPE, ????? )
1013  !call FILE_CARTESC_def_var( restart_fid, 'SNOW_SWE', 'Snow water equivalent', &
1014  ! 'kg/m2', 'XY', LAND_RESTART_OUT_DTYPE, ????? )
1015  !call FILE_CARTESC_def_var( restart_fid, 'SNOW_Depth', 'Snow depth', &
1016  ! 'm', 'XY', LAND_RESTART_OUT_DTYPE, ????? )
1017  !call FILE_CARTESC_def_var( restart_fid, 'SNOW_Dzero', 'Snow depth at melting point', &
1018  ! 'm', 'XY', LAND_RESTART_OUT_DTYPE, ????? )
1019  !call FILE_CARTESC_def_var( restart_fid, 'SNOW_nosnowsec', 'Time duration without snow', &
1020  ! 's', 'XY', LAND_RESTART_OUT_DTYPE, ????? )
1021 
1022  endif
1023 
1024  return
subroutine, public file_cartesc_def_var(fid, varname, desc, unit, dim_type, datatype, vid, standard_name, timeintv, nsteps, cell_measures)
Define a variable to file.
module file / cartesianC
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 variables to restart file.

Definition at line 1030 of file mod_land_vars.F90.

References scale_cpl_sfc_index::i_r_diffuse, scale_cpl_sfc_index::i_r_direct, scale_cpl_sfc_index::i_r_ir, scale_cpl_sfc_index::i_r_nir, scale_cpl_sfc_index::i_r_vis, land_sfc_albedo, land_sfc_temp, land_temp, land_vars_total(), and land_water.

Referenced by mod_admin_restart::admin_restart_write().

1030  use scale_file_cartesc, only: &
1031  file_cartesc_write_var
1032  implicit none
1033  !---------------------------------------------------------------------------
1034 
1035  if ( restart_fid /= -1 ) then
1036 
1037  call land_vars_total
1038 
1039  call file_cartesc_write_var( restart_fid, var_id(i_temp), & ! [IN]
1040  land_temp(:,:,:), & ! [IN]
1041  var_name(i_temp), 'LXY', fill_halo=.true. ) ! [IN]
1042  call file_cartesc_write_var( restart_fid, var_id(i_water), & ! [IN]
1043  land_water(:,:,:), & ! [IN]
1044  var_name(i_water), 'LXY', fill_halo=.true. ) ! [IN]
1045  call file_cartesc_write_var( restart_fid, var_id(i_sfc_temp), & ! [IN]
1046  land_sfc_temp(:,:), & ! [IN]
1047  var_name(i_sfc_temp), 'XY', fill_halo=.true. ) ! [IN]
1048  call file_cartesc_write_var( restart_fid, var_id(i_sfc_alb_ir_dir), & ! [IN]
1049  land_sfc_albedo(:,:,i_r_direct ,i_r_ir ), & ! [IN]
1050  var_name(i_sfc_alb_ir_dir), 'XY', fill_halo=.true. ) ! [IN]
1051  call file_cartesc_write_var( restart_fid, var_id(i_sfc_alb_ir_dif), & ! [IN]
1052  land_sfc_albedo(:,:,i_r_diffuse,i_r_ir ), & ! [IN]
1053  var_name(i_sfc_alb_ir_dif), 'XY', fill_halo=.true. ) ! [IN]
1054  call file_cartesc_write_var( restart_fid, var_id(i_sfc_alb_nir_dir), & ! [IN]
1055  land_sfc_albedo(:,:,i_r_direct ,i_r_nir), & ! [IN]
1056  var_name(i_sfc_alb_nir_dir), 'XY', fill_halo=.true. ) ! [IN]
1057  call file_cartesc_write_var( restart_fid, var_id(i_sfc_alb_nir_dif), & ! [IN]
1058  land_sfc_albedo(:,:,i_r_diffuse,i_r_nir), & ! [IN]
1059  var_name(i_sfc_alb_nir_dif), 'XY', fill_halo=.true. ) ! [IN]
1060  call file_cartesc_write_var( restart_fid, var_id(i_sfc_alb_vis_dir), & ! [IN]
1061  land_sfc_albedo(:,:,i_r_direct ,i_r_vis), & ! [IN]
1062  var_name(i_sfc_alb_vis_dir), 'XY', fill_halo=.true. ) ! [IN]
1063  call file_cartesc_write_var( restart_fid, var_id(i_sfc_alb_vis_dif), & ! [IN]
1064  land_sfc_albedo(:,:,i_r_diffuse,i_r_vis), & ! [IN]
1065  var_name(i_sfc_alb_vis_dif), 'XY', fill_halo=.true. ) ! [IN]
1066 
1067  !call FILE_CARTESC_write_var( restart_fid, VMAX+1, SNOW_SFC_TEMP(:,:), &
1068  ! 'SNOW_SFC_TEMP', 'XY', fill_halo=.true. )
1069  !call FILE_CARTESC_write_var( restart_fid, VMAX+2, SNOW_SWE(:,:), &
1070  ! 'SNOW_SWE', 'XY', fill_halo=.true. )
1071  !call FILE_CARTESC_write_var( restart_fid, VMAX+3, SNOW_Depth(:,:), &
1072  ! 'SNOW_Depth', 'XY', fill_halo=.true. )
1073  !call FILE_CARTESC_write_var( restart_fid, VMAX+4, SNOW_Dzero(:,:), &
1074  ! 'SNOW_Dzero', 'XY', fill_halo=.true. )
1075  !call FILE_CARTESC_write_var( restart_fid, VMAX+5, SNOW_nosnowsec(:,:), &
1076  ! 'SNOW_nosnowsec', 'XY', fill_halo=.true. )
1077 
1078  endif
1079 
1080  return
real(rp), dimension(:,:), allocatable, public land_sfc_temp
land surface skin temperature [K]
real(rp), dimension(:,:,:,:), allocatable, public land_sfc_albedo
land surface albedo (direct/diffuse,IR/near-IR/VIS) (0-1)
module file / cartesianC
Here is the call graph for this function:
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 48 of file mod_land_vars.F90.

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

48  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 input file.

Definition at line 50 of file mod_land_vars.F90.

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

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

◆ land_restart_in_aggregate

logical, public mod_land_vars::land_restart_in_aggregate

Switch to use aggregate file.

Definition at line 51 of file mod_land_vars.F90.

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

51  logical, public :: land_restart_in_aggregate

◆ land_restart_in_postfix_timelabel

logical, public mod_land_vars::land_restart_in_postfix_timelabel = .false.

Add timelabel to the basename of input file?

Definition at line 52 of file mod_land_vars.F90.

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

52  logical, public :: land_restart_in_postfix_timelabel = .false.

◆ land_restart_out_basename

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

Basename of the output file.

Definition at line 53 of file mod_land_vars.F90.

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

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

◆ land_restart_out_aggregate

logical, public mod_land_vars::land_restart_out_aggregate

Switch to use aggregate file.

Definition at line 54 of file mod_land_vars.F90.

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

54  logical, public :: land_restart_out_aggregate

◆ land_restart_out_postfix_timelabel

logical, public mod_land_vars::land_restart_out_postfix_timelabel = .true.

Add timelabel to the basename of output file?

Definition at line 55 of file mod_land_vars.F90.

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

55  logical, public :: land_restart_out_postfix_timelabel = .true.

◆ 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 56 of file mod_land_vars.F90.

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

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

◆ land_restart_out_dtype

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

REAL4 or REAL8.

Definition at line 57 of file mod_land_vars.F90.

Referenced by mod_admin_restart::admin_restart_setup(), land_vars_restart_create(), land_vars_restart_def_var(), and land_vars_setup().

57  character(len=H_SHORT), public :: land_restart_out_dtype = 'DEFAULT'

◆ land_temp

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

◆ land_water

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

◆ land_sfc_temp

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

land surface skin temperature [K]

Definition at line 62 of file mod_land_vars.F90.

Referenced by mod_land_driver::land_driver_calc_tendency(), mod_land_driver::land_driver_update(), mod_mkinit::land_setup(), mod_land_driver::land_surface_set(), land_vars_history(), land_vars_restart_read(), land_vars_restart_write(), land_vars_setup(), land_vars_total(), and mod_realinput::realinput_surface().

62  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 surface albedo (direct/diffuse,IR/near-IR/VIS) (0-1)

Definition at line 63 of file mod_land_vars.F90.

Referenced by mod_land_driver::land_driver_calc_tendency(), mod_mkinit::land_setup(), mod_land_driver::land_surface_set(), land_vars_history(), land_vars_restart_read(), land_vars_restart_write(), land_vars_setup(), land_vars_total(), and mod_realinput::realinput_surface().

63  real(RP), public, allocatable :: land_sfc_albedo(:,:,:,:)
real(rp), dimension(:,:,:,:), allocatable, public land_sfc_albedo
land surface albedo (direct/diffuse,IR/near-IR/VIS) (0-1)

◆ snow_sfc_temp

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

snow surface temperature [K]

Definition at line 66 of file mod_land_vars.F90.

Referenced by mod_land_driver::land_driver_calc_tendency(), land_vars_history(), land_vars_restart_read(), land_vars_setup(), and land_vars_total().

66  real(RP), public, allocatable :: snow_sfc_temp (:,:)

◆ snow_swe

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

snow water equivalent [kg/m2]

Definition at line 67 of file mod_land_vars.F90.

Referenced by mod_land_driver::land_driver_calc_tendency(), land_vars_history(), land_vars_restart_read(), land_vars_setup(), and land_vars_total().

67  real(RP), public, allocatable :: snow_swe (:,:)

◆ snow_depth

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

snow depth [m]

Definition at line 68 of file mod_land_vars.F90.

Referenced by mod_land_driver::land_driver_calc_tendency(), land_vars_history(), land_vars_restart_read(), land_vars_setup(), and land_vars_total().

68  real(RP), public, allocatable :: snow_depth (:,:)

◆ snow_dzero

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

snow depth at melting point [m]

Definition at line 69 of file mod_land_vars.F90.

Referenced by mod_land_driver::land_driver_calc_tendency(), land_vars_history(), land_vars_restart_read(), land_vars_setup(), and land_vars_total().

69  real(RP), public, allocatable :: snow_dzero (:,:)

◆ snow_nosnowsec

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

sec while no snow [s]

Definition at line 70 of file mod_land_vars.F90.

Referenced by mod_land_driver::land_driver_calc_tendency(), land_vars_history(), land_vars_restart_read(), and land_vars_setup().

70  real(RP), public, allocatable :: snow_nosnowsec (:,:)

◆ land_temp_t

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

tendency of LAND_TEMP

Definition at line 73 of file mod_land_vars.F90.

Referenced by mod_land_driver::land_driver_calc_tendency(), mod_land_driver::land_driver_update(), and land_vars_setup().

73  real(RP), public, allocatable :: land_temp_t (:,:,:)

◆ land_water_t

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

tendency of LAND_WATER

Definition at line 74 of file mod_land_vars.F90.

Referenced by mod_land_driver::land_driver_calc_tendency(), mod_land_driver::land_driver_update(), and land_vars_setup().

74  real(RP), public, allocatable :: land_water_t (:,:,:)

◆ 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 77 of file mod_land_vars.F90.

Referenced by mod_land_driver::land_driver_calc_tendency(), mod_land_driver::land_surface_set(), land_vars_history(), and land_vars_setup().

77  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 78 of file mod_land_vars.F90.

Referenced by mod_land_driver::land_driver_calc_tendency(), mod_land_driver::land_surface_set(), land_vars_history(), and land_vars_setup().

78  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 79 of file mod_land_vars.F90.

Referenced by mod_land_driver::land_driver_calc_tendency(), mod_land_driver::land_surface_set(), land_vars_history(), and land_vars_setup().

79  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 80 of file mod_land_vars.F90.

Referenced by mod_land_driver::land_driver_calc_tendency(), mod_land_driver::land_surface_set(), land_vars_history(), and land_vars_setup().

80  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 81 of file mod_land_vars.F90.

Referenced by mod_land_driver::land_driver_calc_tendency(), mod_land_driver::land_surface_set(), land_vars_history(), and land_vars_setup().

81  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_qtrc

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

land surface tracer flux [kg/m2/s]

Definition at line 82 of file mod_land_vars.F90.

Referenced by mod_land_driver::land_driver_calc_tendency(), mod_land_driver::land_surface_set(), land_vars_history(), and land_vars_setup().

82  real(RP), public, allocatable :: land_sflx_qtrc (:,:,:)
real(rp), dimension(:,:,:), allocatable, public land_sflx_qtrc
land surface tracer flux [kg/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 83 of file mod_land_vars.F90.

Referenced by mod_land_driver::land_driver_calc_tendency(), mod_land_driver::land_driver_update(), mod_land_driver::land_surface_set(), land_vars_history(), and land_vars_setup().

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

◆ land_sflx_water

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

land surface water flux [kg/m2/s]

Definition at line 84 of file mod_land_vars.F90.

Referenced by mod_land_driver::land_driver_calc_tendency(), mod_land_driver::land_driver_update(), land_vars_history(), and land_vars_setup().

84  real(RP), public, allocatable :: land_sflx_water(:,:)

◆ land_sflx_ice

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

land surface ice flux [kg/m2/s]

Definition at line 85 of file mod_land_vars.F90.

Referenced by mod_land_driver::land_driver_calc_tendency(), mod_land_driver::land_driver_update(), land_vars_history(), and land_vars_setup().

85  real(RP), public, allocatable :: land_sflx_ice (:,:)

◆ land_u10

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

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

Definition at line 88 of file mod_land_vars.F90.

Referenced by mod_land_driver::land_driver_calc_tendency(), mod_land_driver::land_surface_set(), and land_vars_setup().

88  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 89 of file mod_land_vars.F90.

Referenced by mod_land_driver::land_driver_calc_tendency(), mod_land_driver::land_surface_set(), and land_vars_setup().

89  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 90 of file mod_land_vars.F90.

Referenced by mod_land_driver::land_driver_calc_tendency(), mod_land_driver::land_surface_set(), and land_vars_setup().

90  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 91 of file mod_land_vars.F90.

Referenced by mod_land_driver::land_driver_calc_tendency(), mod_land_driver::land_surface_set(), and land_vars_setup().

91  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 94 of file mod_land_vars.F90.

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

94  real(RP), public, allocatable :: atmos_temp (:,:)

◆ atmos_pres

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

Definition at line 95 of file mod_land_vars.F90.

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

95  real(RP), public, allocatable :: atmos_pres (:,:)

◆ atmos_w

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

Definition at line 96 of file mod_land_vars.F90.

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

96  real(RP), public, allocatable :: atmos_w (:,:)

◆ atmos_u

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

Definition at line 97 of file mod_land_vars.F90.

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

97  real(RP), public, allocatable :: atmos_u (:,:)

◆ atmos_v

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

Definition at line 98 of file mod_land_vars.F90.

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

98  real(RP), public, allocatable :: atmos_v (:,:)

◆ atmos_dens

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

Definition at line 99 of file mod_land_vars.F90.

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

99  real(RP), public, allocatable :: atmos_dens (:,:)

◆ atmos_qv

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

Definition at line 100 of file mod_land_vars.F90.

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

100  real(RP), public, allocatable :: atmos_qv (:,:)

◆ atmos_pbl

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

Definition at line 101 of file mod_land_vars.F90.

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

101  real(RP), public, allocatable :: atmos_pbl (:,:)

◆ atmos_sfc_dens

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

Definition at line 102 of file mod_land_vars.F90.

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

102  real(RP), public, allocatable :: atmos_sfc_dens (:,:)

◆ atmos_sfc_pres

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

Definition at line 103 of file mod_land_vars.F90.

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

103  real(RP), public, allocatable :: atmos_sfc_pres (:,:)

◆ atmos_sflx_rad_dn

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

Definition at line 104 of file mod_land_vars.F90.

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

104  real(RP), public, allocatable :: atmos_sflx_rad_dn(:,:,:,:)

◆ atmos_cossza

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

Definition at line 105 of file mod_land_vars.F90.

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

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

◆ atmos_sflx_rain

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

Definition at line 106 of file mod_land_vars.F90.

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

106  real(RP), public, allocatable :: atmos_sflx_rain (:,:)

◆ atmos_sflx_snow

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

Definition at line 107 of file mod_land_vars.F90.

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

107  real(RP), public, allocatable :: atmos_sflx_snow (:,:)

◆ land_property

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

land surface property

Definition at line 109 of file mod_land_vars.F90.

Referenced by convert_ws2vwc(), mod_land_driver::land_driver_calc_tendency(), mod_land_driver::land_driver_update(), mod_land_driver::land_surface_set(), land_vars_history(), and land_vars_setup().

109  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 111 of file mod_land_vars.F90.

Referenced by land_vars_total().

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

◆ land_property_nmax

integer, parameter, public mod_land_vars::land_property_nmax = 11

Definition at line 113 of file mod_land_vars.F90.

Referenced by land_vars_setup().

113  integer, public, parameter :: land_property_nmax = 11

◆ i_waterlimit

integer, parameter, public mod_land_vars::i_waterlimit = 1

Definition at line 114 of file mod_land_vars.F90.

Referenced by convert_ws2vwc(), mod_land_driver::land_driver_calc_tendency(), mod_land_driver::land_driver_update(), land_vars_history(), and land_vars_total().

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

◆ i_watercritical

integer, parameter, public mod_land_vars::i_watercritical = 2

Definition at line 115 of file mod_land_vars.F90.

Referenced by convert_ws2vwc(), mod_land_driver::land_driver_calc_tendency(), and land_vars_total().

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

◆ i_stomataresist

integer, parameter, public mod_land_vars::i_stomataresist = 3

Definition at line 116 of file mod_land_vars.F90.

Referenced by mod_land_driver::land_driver_calc_tendency(), and land_vars_total().

116  integer, public, parameter :: i_stomataresist = 3 ! stomata resistance [1/s]

◆ i_thermalcond

integer, parameter, public mod_land_vars::i_thermalcond = 4

Definition at line 117 of file mod_land_vars.F90.

Referenced by mod_land_driver::land_driver_calc_tendency(), mod_land_driver::land_driver_update(), and land_vars_total().

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

◆ i_heatcapacity

integer, parameter, public mod_land_vars::i_heatcapacity = 5

Definition at line 118 of file mod_land_vars.F90.

Referenced by mod_land_driver::land_driver_calc_tendency(), mod_land_driver::land_driver_update(), and land_vars_total().

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

◆ i_waterdiff

integer, parameter, public mod_land_vars::i_waterdiff = 6

Definition at line 119 of file mod_land_vars.F90.

Referenced by mod_land_driver::land_driver_calc_tendency(), mod_land_driver::land_driver_update(), and land_vars_total().

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

◆ i_alblw

integer, parameter, public mod_land_vars::i_alblw = 7

Definition at line 120 of file mod_land_vars.F90.

Referenced by mod_land_driver::land_driver_calc_tendency(), and land_vars_total().

120  integer, public, parameter :: i_alblw = 7 ! surface albedo for long wave [1]

◆ i_albsw

integer, parameter, public mod_land_vars::i_albsw = 8

Definition at line 121 of file mod_land_vars.F90.

Referenced by mod_land_driver::land_driver_calc_tendency(), and land_vars_total().

121  integer, public, parameter :: i_albsw = 8 ! surface albedo for short wave [1]

◆ i_z0m

integer, parameter, public mod_land_vars::i_z0m = 9

Definition at line 122 of file mod_land_vars.F90.

Referenced by mod_land_driver::land_driver_calc_tendency(), mod_land_driver::land_surface_set(), and land_vars_total().

122  integer, public, parameter :: i_z0m = 9 ! roughness length for momemtum [m]
integer, parameter, public i_z0m

◆ i_z0h

integer, parameter, public mod_land_vars::i_z0h = 10

Definition at line 123 of file mod_land_vars.F90.

Referenced by mod_land_driver::land_driver_calc_tendency(), mod_land_driver::land_surface_set(), and land_vars_total().

123  integer, public, parameter :: i_z0h = 10 ! roughness length for heat [m]
integer, parameter, public i_z0h

◆ i_z0e

integer, parameter, public mod_land_vars::i_z0e = 11

Definition at line 124 of file mod_land_vars.F90.

Referenced by mod_land_driver::land_driver_calc_tendency(), mod_land_driver::land_surface_set(), and land_vars_total().

124  integer, public, parameter :: i_z0e = 11 ! roughness length for vapor [m]
integer, parameter, public i_z0e