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_monitor
 monitor output More...
 
subroutine, public land_vars_check (force)
 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_ice
 ice 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_ice_t
 tendency of LAND_ICE 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_engi
 land surface internal energy flux [J/m2/s] 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_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, target, public land_ustar
 friction velocity [m/s] More...
 
real(rp), dimension(:,:), allocatable, target, public land_tstar
 temperature scale [K] More...
 
real(rp), dimension(:,:), allocatable, target, public land_qstar
 moisture scale [kg/kg] More...
 
real(rp), dimension(:,:), allocatable, target, public land_wstar
 convective velocity scale [m/s] More...
 
real(rp), dimension(:,:), allocatable, target, public land_rlmo
 inversed Obukhov length [1/m] More...
 
real(rp), dimension(:,:), pointer, public soil_ustar
 
real(rp), dimension(:,:), pointer, public soil_tstar
 
real(rp), dimension(:,:), pointer, public soil_qstar
 
real(rp), dimension(:,:), pointer, public soil_wstar
 
real(rp), dimension(:,:), pointer, public soil_rlmo
 
real(rp), dimension(:,:), allocatable, public snow_ustar
 
real(rp), dimension(:,:), allocatable, public snow_tstar
 
real(rp), dimension(:,:), allocatable, public snow_qstar
 
real(rp), dimension(:,:), allocatable, public snow_wstar
 
real(rp), dimension(:,:), allocatable, public snow_rlmo
 
real(rp), dimension(:,:), allocatable, public land_runoff
 runoff of the land water [kg/m2/s] More...
 
real(rp), dimension(:,:), allocatable, public land_runoff_engi
 internal energy of the runoff [J/m2/s] 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_water
 
real(rp), dimension(:,:), allocatable, public atmos_sflx_engi
 
logical, public snow_flag
 
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) Water Limit [0-1]
    STRGCRT real(RP) Water Critical [0-1]
    RSTOMA real(RP) Stomata Resistance [0-1]
    TCS real(RP) Thermal Conductivity [W m-1 K-1]
    HCS real(RP) Dencity x Heat Capacity [J m-3 K-1]
    DFW real(RP) Water Diffusivity [m2 s-1]
    ALBLW real(RP) Albedo Long Wave [0-1]
    ALBSW real(RP) Albedo Short Wave [0-1]
    Z0M real(RP) Z0 for momentum [m]
    Z0H real(RP) Z0 for heat [m]
    Z0E real(RP) Z0 for vapor [m]

History Output
namedescriptionunitvariable
LAND_Q2 land 2m specific humidity kg/kg LAND_Q2
LAND_Qstar land moisture scale kg/kg LAND_Qstar
LAND_RLmo land inversed Obukhov length 1/m LAND_RLmo
LAND_RUNOFF runoff water kg/m2/s LAND_RUNOFF
LAND_RUNOFF_ENGI internal energy of runoff water J/m2/s LAND_RUNOFF_ENGI
LAND_SFLX_ENGI land surface internal energy flux (downward) kg/m2/s LAND_SFLX_ENGI
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_water land surface water mass flux (downward) kg/m2/s LAND_SFLX_water
LAND_T2 land 2m temperature K LAND_T2
LAND_Tstar land temperature scale K LAND_Tstar
LAND_U10 land 10m x-wind m/s LAND_U10
LAND_Ustar land friction velocity m/s LAND_Ustar
LAND_V10 land 10m y-wind m/s LAND_V10
LAND_Wstar land convective velocity scale m/s LAND_Wstar
SNOW_Qstar snow moisture scale kg/kg SNOW_Qstar
SNOW_RLmo snow inversed Obukhov length 1/m SNOW_RLmo
SNOW_Tstar snow temperature scale K SNOW_Tstar
SNOW_Ustar snow friction velocity m/s SNOW_Ustar
SNOW_Wstar snow convective velocity scale m/s SNOW_Wstar
SOIL_Qstar soil moisture scale kg/kg SOIL_Qstar
SOIL_RLmo soil inversed Obukhov length 1/m SOIL_RLmo
SOIL_Tstar soil temperature scale K SOIL_Tstar
SOIL_Ustar soil friction velocity m/s SOIL_Ustar
SOIL_Wstar soil convective velocity scale m/s SOIL_Wstar
LAND_ICE ice at each soil layer m3/m3 LAND_ICE
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_SNOW_Depth Snow depth m SNOW_Depth
LAND_SNOW_Dzero Snow depth at melting point m SNOW_Dzero
LAND_SNOW_SFC_TEMP Snow surface temperature K SNOW_SFC_TEMP
LAND_SNOW_SWE Snow water equivalent kg/m2 SNOW_SWE
LAND_SNOW_nosnowsec Time duration without snow s SNOW_nosnowsec
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 284 of file mod_land_vars.F90.

284  use scale_prc, only: &
285  prc_abort
286  use scale_const, only: &
287  undef => const_undef
288  use scale_comm_cartesc, only: &
289  comm_vars8, &
290  comm_wait
291  use scale_landuse, only: &
295  use mod_land_admin, only: &
296  snow_type
297  use scale_monitor, only: &
299  implicit none
300 
301  namelist / param_land_vars / &
302  land_restart_in_basename, &
303  land_restart_in_aggregate, &
304  land_restart_in_postfix_timelabel, &
305  land_restart_in_check_coordinates, &
306  land_restart_output, &
307  land_restart_out_basename, &
308  land_restart_out_aggregate, &
309  land_restart_out_postfix_timelabel, &
310  land_restart_out_title, &
311  land_restart_out_dtype, &
312  land_vars_checkrange
313 
314  integer :: ierr
315  integer :: i, j, iv, p
316  !---------------------------------------------------------------------------
317 
318  log_newline
319  log_info("LAND_vars_setup",*) 'Setup'
320 
321  select case ( snow_type )
322  case ( 'NONE', 'OFF' )
323  snow_flag = .false.
324  case default
325  snow_flag = .true.
326  end select
327 
328  allocate( land_temp(lkmax,lia,lja) )
329  allocate( land_water(lkmax,lia,lja) )
330  allocate( land_ice(lkmax,lia,lja) )
331  allocate( land_sfc_temp(lia,lja) )
332  allocate( land_sfc_albedo(lia,lja,n_rad_dir,n_rad_rgn) )
333 
334  land_temp(:,:,:) = undef
335  land_water(:,:,:) = undef
336  land_ice(:,:,:) = undef
337  land_sfc_temp(:,:) = undef
338  land_sfc_albedo(:,:,:,:) = undef
339 
340  if ( snow_flag ) then
341  allocate( snow_sfc_temp(lia,lja) )
342  allocate( snow_swe(lia,lja) )
343  allocate( snow_depth(lia,lja) )
344  allocate( snow_dzero(lia,lja) )
345  allocate( snow_nosnowsec(lia,lja) )
346  snow_sfc_temp(:,:) = undef
347  snow_swe(:,:) = undef
348  snow_depth(:,:) = undef
349  snow_dzero(:,:) = undef
350  snow_nosnowsec(:,:) = undef
351  end if
352 
353  allocate( land_temp_t(lkmax,lia,lja) )
354  allocate( land_water_t(lkmax,lia,lja) )
355  allocate( land_ice_t(lkmax,lia,lja) )
356  land_temp_t(:,:,:) = undef
357  land_water_t(:,:,:) = undef
358  land_ice_t(:,:,:) = undef
359 
360  allocate( land_sflx_gh(lia,lja) )
361  allocate( land_sflx_water(lia,lja) )
362  allocate( land_sflx_engi(lia,lja) )
363  land_sflx_gh(:,:) = undef
364  land_sflx_water(:,:) = undef
365  land_sflx_engi(:,:) = undef
366 
367  allocate( land_runoff(lia,lja) )
368  allocate( land_runoff_engi(lia,lja) )
369  land_runoff(:,:) = undef
370  land_runoff_engi(:,:) = undef
371 
372  allocate( land_sflx_mw(lia,lja) )
373  allocate( land_sflx_mu(lia,lja) )
374  allocate( land_sflx_mv(lia,lja) )
375  allocate( land_sflx_sh(lia,lja) )
376  allocate( land_sflx_lh(lia,lja) )
377  allocate( land_sflx_qtrc(lia,lja,qa) )
378  land_sflx_mw(:,:) = undef
379  land_sflx_mu(:,:) = undef
380  land_sflx_mv(:,:) = undef
381  land_sflx_sh(:,:) = undef
382  land_sflx_lh(:,:) = undef
383  land_sflx_qtrc(:,:,:) = undef
384 
385  allocate( land_u10(lia,lja) )
386  allocate( land_v10(lia,lja) )
387  allocate( land_t2(lia,lja) )
388  allocate( land_q2(lia,lja) )
389  land_u10(:,:) = undef
390  land_v10(:,:) = undef
391  land_t2(:,:) = undef
392  land_q2(:,:) = undef
393 
394  allocate( land_ustar(lia,lja) )
395  allocate( land_tstar(lia,lja) )
396  allocate( land_qstar(lia,lja) )
397  allocate( land_wstar(lia,lja) )
398  allocate( land_rlmo(lia,lja) )
399  land_ustar(:,:) = undef
400  land_tstar(:,:) = undef
401  land_qstar(:,:) = undef
402  land_wstar(:,:) = undef
403  land_rlmo(:,:) = undef
404  if ( snow_flag ) then
405  allocate( soil_ustar(lia,lja) )
406  allocate( soil_tstar(lia,lja) )
407  allocate( soil_qstar(lia,lja) )
408  allocate( soil_wstar(lia,lja) )
409  allocate( soil_rlmo(lia,lja) )
410  soil_ustar(:,:) = undef
411  soil_tstar(:,:) = undef
412  soil_qstar(:,:) = undef
413  soil_wstar(:,:) = undef
414  soil_rlmo(:,:) = undef
415  else
416  soil_ustar => land_ustar
417  soil_tstar => land_tstar
418  soil_qstar => land_qstar
419  soil_wstar => land_wstar
420  soil_rlmo => land_rlmo
421  end if
422  if ( snow_flag ) then
423  allocate( snow_ustar(lia,lja) )
424  allocate( snow_tstar(lia,lja) )
425  allocate( snow_qstar(lia,lja) )
426  allocate( snow_wstar(lia,lja) )
427  allocate( snow_rlmo(lia,lja) )
428  snow_ustar(:,:) = undef
429  snow_tstar(:,:) = undef
430  snow_qstar(:,:) = undef
431  snow_wstar(:,:) = undef
432  snow_rlmo(:,:) = undef
433  end if
434 
435  allocate( atmos_temp(lia,lja) )
436  allocate( atmos_pres(lia,lja) )
437  allocate( atmos_w(lia,lja) )
438  allocate( atmos_u(lia,lja) )
439  allocate( atmos_v(lia,lja) )
440  allocate( atmos_dens(lia,lja) )
441  allocate( atmos_qv(lia,lja) )
442  allocate( atmos_pbl(lia,lja) )
443  allocate( atmos_sfc_dens(lia,lja) )
444  allocate( atmos_sfc_pres(lia,lja) )
445  allocate( atmos_sflx_rad_dn(lia,lja,n_rad_dir,n_rad_rgn) )
446  allocate( atmos_cossza(lia,lja) )
447  allocate( atmos_sflx_water(lia,lja) )
448  allocate( atmos_sflx_engi(lia,lja) )
449  atmos_temp(:,:) = undef
450  atmos_pres(:,:) = undef
451  atmos_w(:,:) = undef
452  atmos_u(:,:) = undef
453  atmos_v(:,:) = undef
454  atmos_dens(:,:) = undef
455  atmos_qv(:,:) = undef
456  atmos_pbl(:,:) = undef
457  atmos_sfc_dens(:,:) = undef
458  atmos_sfc_pres(:,:) = undef
459  atmos_sflx_rad_dn(:,:,:,:) = undef
460  atmos_cossza(:,:) = undef
461  atmos_sflx_water(:,:) = undef
462  atmos_sflx_engi(:,:) = undef
463 
464  !--- read namelist
465  rewind(io_fid_conf)
466  read(io_fid_conf,nml=param_land_vars,iostat=ierr)
467  if( ierr < 0 ) then !--- missing
468  log_info("LAND_vars_setup",*) 'Not found namelist. Default used.'
469  elseif( ierr > 0 ) then !--- fatal error
470  log_error("LAND_vars_setup",*) 'Not appropriate names in namelist PARAM_LAND_VARS. Check!'
471  call prc_abort
472  endif
473  log_nml(param_land_vars)
474 
475  log_newline
476  log_info("LAND_vars_setup",*) 'List of prognostic variables (LAND) '
477  log_info_cont('(1x,A,A24,A,A48,A,A12,A)') &
478  ' |', 'VARNAME ','|', &
479  'DESCRIPTION ', '[', 'UNIT ', ']'
480  do iv = 1, vmax
481  log_info_cont('(1x,A,I3,A,A24,A,A48,A,A12,A)') &
482  'NO.',iv,'|',var_name(iv),'|',var_desc(iv),'[',var_unit(iv),']'
483  enddo
484 
485  log_newline
486  if ( land_restart_in_basename /= '' ) then
487  log_info("LAND_vars_setup",*) 'Restart input? : YES, file = ', trim(land_restart_in_basename)
488  log_info("LAND_vars_setup",*) 'Add timelabel? : ', land_restart_in_postfix_timelabel
489  else
490  log_info("LAND_vars_setup",*) 'Restart input? : NO'
491  endif
492  if ( land_restart_output &
493  .AND. land_restart_out_basename /= '' ) then
494  log_info("LAND_vars_setup",*) 'Restart output? : YES, file = ', trim(land_restart_out_basename)
495  log_info("LAND_vars_setup",*) 'Add timelabel? : ', land_restart_out_postfix_timelabel
496  else
497  log_info("LAND_vars_setup",*) 'Restart output? : NO'
498  land_restart_output = .false.
499  endif
500 
501  ! Read land property table
502  allocate( land_property_table(landuse_pft_nmin:landuse_pft_nmax,land_property_nmax) )
503  land_property_table(:,:) = undef
504 
505  call land_param_read
506 
507  ! Apply land property to 2D map
508  allocate( land_property(lia,lja,land_property_nmax) )
509 
510  ! tentative, mosaic is off
511  do p = 1, land_property_nmax
512  do j = ljs, lje
513  do i = lis, lie
514  land_property(i,j,p) = land_property_table( landuse_index_pft(i,j,1), p )
515  enddo
516  enddo
517  enddo
518 
519  do p = 1, land_property_nmax
520  call comm_vars8( land_property(:,:,p), p )
521  enddo
522  do p = 1, land_property_nmax
523  call comm_wait ( land_property(:,:,p), p )
524  enddo
525 
526  ! monitor
527  call monitor_reg( 'LND_TEMP', 'land temperature', 'K m3', & ! (in)
528  monit_id(im_temp), & ! (out)
529  dim_type='LXY', is_tendency=.false. ) ! (in)
530  call monitor_reg( 'LND_WATER', 'land water', 'kg', & ! (in)
531  monit_id(im_water), & ! (out)
532  dim_type='LXY', is_tendency=.false. ) ! (in)
533  call monitor_reg( 'LND_ICE', 'land ice', 'kg', & ! (in)
534  monit_id(im_ice), & ! (out)
535  dim_type='LXY', is_tendency=.false. ) ! (in)
536  call monitor_reg( 'LND_MASSFC', 'SFC water flux', 'kg', & ! (in)
537  monit_id(im_sfc), & ! (out)
538  dim_type='XY', is_tendency=.true. ) ! (in)
539  call monitor_reg( 'LND_ROFF', 'runoff water', 'kg', & ! (in)
540  monit_id(im_roff), & ! (out)
541  dim_type='XY', is_tendency=.true. ) ! (in)
542  call monitor_reg( 'LND_MASFLX', 'total mass change', 'kg', & ! (in)
543  monit_id(im_masflx), & ! (out)
544  dim_type='XY', is_tendency=.true. ) ! (in)
545  call monitor_reg( 'LND_ENGI', 'total internal energy', 'J', & ! (in)
546  monit_id(im_engi), & ! (out)
547  dim_type='LXY', is_tendency=.false. ) ! (in)
548  call monitor_reg( 'LND_WTR_ENGI', 'water internal energy', 'J', & ! (in)
549  monit_id(im_w_engi), & ! (out)
550  dim_type='LXY', is_tendency=.false. ) ! (in)
551  call monitor_reg( 'LND_ICE_ENGI', 'ice internal energy', 'J', & ! (in)
552  monit_id(im_i_engi), & ! (out)
553  dim_type='LXY', is_tendency=.false. ) ! (in)
554  call monitor_reg( 'LND_ENGSFC_GH', 'SFC ground heat flux', 'J', & ! (in)
555  monit_id(im_engsfc_gh), & ! (out)
556  dim_type='XY', is_tendency=.true. ) ! (in)
557  call monitor_reg( 'LND_ENGSFC_EI', 'SFC internal energy flux', 'J', & ! (in)
558  monit_id(im_engsfc_ei), & ! (out)
559  dim_type='XY', is_tendency=.true. ) ! (in)
560  call monitor_reg( 'LND_ROFF_EI', 'internal energy of runoff water', 'J', & ! (in)
561  monit_id(im_roff_ei), & ! (out)
562  dim_type='XY', is_tendency=.true. ) ! (in)
563  call monitor_reg( 'LND_ENGFLX', 'total internal energy change', 'J', & ! (in)
564  monit_id(im_engflx), & ! (out)
565  dim_type='XY', is_tendency=.true. ) ! (in)
566 
567  return

References atmos_cossza, atmos_dens, atmos_pbl, atmos_pres, atmos_qv, atmos_sfc_dens, atmos_sfc_pres, atmos_sflx_engi, atmos_sflx_rad_dn, atmos_sflx_water, atmos_temp, atmos_u, atmos_v, atmos_w, scale_const::const_undef, scale_io::io_fid_conf, land_ice, land_ice_t, land_property, land_property_nmax, land_q2, land_qstar, 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_rlmo, land_runoff, land_runoff_engi, land_sfc_albedo, land_sfc_temp, land_sflx_engi, land_sflx_gh, 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_tstar, land_u10, land_ustar, land_v10, land_water, land_water_t, land_wstar, 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_monitor::monitor_reg(), 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_flag, snow_nosnowsec, snow_qstar, snow_rlmo, snow_sfc_temp, snow_swe, snow_tstar, mod_land_admin::snow_type, snow_ustar, snow_wstar, soil_qstar, soil_rlmo, soil_tstar, soil_ustar, and soil_wstar.

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

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

573  use scale_time, only: &
575  use scale_file_cartesc, only: &
577  file_cartesc_check_coordinates
578  use mod_land_admin, only: &
579  land_do
580  implicit none
581 
582  character(len=19) :: timelabel
583  character(len=H_LONG) :: basename
584  !---------------------------------------------------------------------------
585 
586  log_newline
587  log_info("LAND_vars_restart_open",*) 'Open restart file (LAND) '
588 
589  if ( land_do .and. land_restart_in_basename /= '' ) then
590 
591  if ( land_restart_in_postfix_timelabel ) then
592  call time_gettimelabel( timelabel )
593  basename = trim(land_restart_in_basename)//'_'//trim(timelabel)
594  else
595  basename = trim(land_restart_in_basename)
596  endif
597 
598  log_info("LAND_vars_restart_open",*) 'basename: ', trim(basename)
599 
600  call file_cartesc_open( basename, restart_fid, aggregate=land_restart_in_aggregate )
601 
602  if ( land_restart_in_check_coordinates ) then
603  call file_cartesc_check_coordinates( restart_fid, land=.true. )
604  end if
605 
606  else
607  log_info("LAND_vars_restart_open",*) 'restart file for land is not specified.'
608  endif
609 
610  return

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().

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

616  use scale_prc, only: &
617  prc_abort
618  use scale_file, only: &
620  use scale_file_cartesc, only: &
621  file_cartesc_read, &
623  implicit none
624  !---------------------------------------------------------------------------
625 
626  if ( restart_fid /= -1 ) then
627  log_newline
628  log_info("LAND_vars_restart_read",*) 'Read from restart file (LAND) '
629 
630  call file_cartesc_read( restart_fid, var_name(i_temp), 'LXY', & ! [IN]
631  land_temp(:,:,:) ) ! [OUT]
632  call file_cartesc_read( restart_fid, var_name(i_water), 'LXY', & ! [IN]
633  land_water(:,:,:) ) ! [OUT]
634  call file_cartesc_read( restart_fid, var_name(i_ice), 'LXY', & ! [IN]
635  land_ice(:,:,:), & ! [OUT]
636  allow_missing = .true. ) ! [IN]
637  call file_cartesc_read( restart_fid, var_name(i_sfc_temp), 'XY', & ! [IN]
638  land_sfc_temp(:,:) ) ! [OUT]
639  call file_cartesc_read( restart_fid, var_name(i_sfc_alb_ir_dir), 'XY', & ! [IN]
640  land_sfc_albedo(:,:,i_r_direct ,i_r_ir ) ) ! [OUT]
641  call file_cartesc_read( restart_fid, var_name(i_sfc_alb_ir_dif), 'XY', & ! [IN]
642  land_sfc_albedo(:,:,i_r_diffuse,i_r_ir ) ) ! [OUT]
643  call file_cartesc_read( restart_fid, var_name(i_sfc_alb_nir_dir), 'XY', & ! [IN]
644  land_sfc_albedo(:,:,i_r_direct ,i_r_nir) ) ! [OUT]
645  call file_cartesc_read( restart_fid, var_name(i_sfc_alb_nir_dif), 'XY', & ! [IN]
646  land_sfc_albedo(:,:,i_r_diffuse,i_r_nir) ) ! [OUT]
647  call file_cartesc_read( restart_fid, var_name(i_sfc_alb_vis_dir), 'XY', & ! [IN]
648  land_sfc_albedo(:,:,i_r_direct ,i_r_vis) ) ! [OUT]
649  call file_cartesc_read( restart_fid, var_name(i_sfc_alb_vis_dif), 'XY', & ! [IN]
650  land_sfc_albedo(:,:,i_r_diffuse,i_r_vis) ) ! [OUT]
651 
652  if ( snow_flag ) then
653  call file_cartesc_read( restart_fid, var_name(i_snow_sfc_temp), 'XY', & ! [OUT]
654  snow_sfc_temp(:,:) ) ! [IN]
655  call file_cartesc_read( restart_fid, var_name(i_snow_swe), 'XY', & ! [OUT]
656  snow_swe(:,:) ) ! [IN]
657  call file_cartesc_read( restart_fid, var_name(i_snow_depth), 'XY', & ! [OUT]
658  snow_depth(:,:) ) ! [IN]
659  call file_cartesc_read( restart_fid, var_name(i_snow_dzero), 'XY', & ! [OUT]
660  snow_dzero(:,:) ) ! [IN]
661  call file_cartesc_read( restart_fid, var_name(i_snow_nosnowsec), 'XY', & ! [OUT]
662  snow_nosnowsec(:,:) ) ! [IN]
663  end if
664 
665  if( file_get_aggregate(restart_fid) ) call file_cartesc_flush( restart_fid ) ! commit all pending read requests
666 
667  call land_vars_check( force = .true. )
668  else
669  log_error("LAND_vars_restart_read",*) 'invalid restart file ID for land.'
670  call prc_abort
671  endif
672 
673  return

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_ice, land_sfc_albedo, land_sfc_temp, land_temp, land_vars_check(), land_water, scale_prc::prc_abort(), snow_depth, snow_dzero, snow_flag, snow_nosnowsec, snow_sfc_temp, and snow_swe.

Referenced by mod_admin_restart::admin_restart_read().

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

679  use scale_file_history, only: &
680  file_history_in
681  use scale_atmos_hydrometeor, only: &
682  i_qv
683  implicit none
684 
685  real(RP) :: LAND_WATERDS(LKMAX,LIA,LJA)
686  integer :: k, i, j
687  !---------------------------------------------------------------------------
688 
689  call prof_rapstart('LND_History', 1)
690 
691 
692  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) )
693  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) )
694  call file_history_in( land_ice(:,:,:), var_name(i_ice), var_desc(i_ice), var_unit(i_ice), dim_type='LXY', standard_name=var_stdn(i_ice) )
695  do j = ljs, lje
696  do i = lis, lie
697  do k = 1, lkmax
698  land_waterds(k,i,j) = land_water(k,i,j) / land_property(i,j,i_waterlimit)
699  end do
700  end do
701  end do
702  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) )
703 
704 
705  call file_history_in( land_sfc_temp(:,:), var_name(i_sfc_temp), &
706  var_desc(i_sfc_temp), var_unit(i_sfc_temp), standard_name=var_stdn(i_sfc_temp) )
707  call file_history_in( land_sfc_albedo(:,:,i_r_direct ,i_r_ir ), var_name(i_sfc_alb_ir_dir), &
708  var_desc(i_sfc_alb_ir_dir), var_unit(i_sfc_alb_ir_dir), standard_name=var_stdn(i_sfc_alb_ir_dir) )
709  call file_history_in( land_sfc_albedo(:,:,i_r_diffuse,i_r_ir ), var_name(i_sfc_alb_ir_dif), &
710  var_desc(i_sfc_alb_ir_dif), var_unit(i_sfc_alb_ir_dif), standard_name=var_stdn(i_sfc_alb_ir_dif) )
711  call file_history_in( land_sfc_albedo(:,:,i_r_direct ,i_r_nir), var_name(i_sfc_alb_nir_dir), &
712  var_desc(i_sfc_alb_nir_dir), var_unit(i_sfc_alb_nir_dir), standard_name=var_stdn(i_sfc_alb_nir_dir) )
713  call file_history_in( land_sfc_albedo(:,:,i_r_diffuse,i_r_nir), var_name(i_sfc_alb_nir_dif), &
714  var_desc(i_sfc_alb_nir_dif), var_unit(i_sfc_alb_nir_dif), standard_name=var_stdn(i_sfc_alb_nir_dif) )
715  call file_history_in( land_sfc_albedo(:,:,i_r_direct ,i_r_vis), var_name(i_sfc_alb_vis_dir), &
716  var_desc(i_sfc_alb_vis_dir), var_unit(i_sfc_alb_vis_dir), standard_name=var_stdn(i_sfc_alb_vis_dir) )
717  call file_history_in( land_sfc_albedo(:,:,i_r_diffuse,i_r_vis), var_name(i_sfc_alb_vis_dif), &
718  var_desc(i_sfc_alb_vis_dif), var_unit(i_sfc_alb_vis_dif), standard_name=var_stdn(i_sfc_alb_vis_dif) )
719  if ( snow_flag ) then
720  ! snow model
721  call file_history_in( snow_sfc_temp(:,:), var_name(i_snow_sfc_temp), &
722  var_desc(i_snow_sfc_temp), var_unit(i_snow_sfc_temp), standard_name=var_stdn(i_snow_sfc_temp) )
723  call file_history_in( snow_swe(:,:), var_name(i_snow_swe), &
724  var_desc(i_snow_swe), var_unit(i_snow_swe), standard_name=var_stdn(i_snow_swe) )
725  call file_history_in( snow_depth(:,:), var_name(i_snow_depth), &
726  var_desc(i_snow_depth), var_unit(i_snow_depth), standard_name=var_stdn(i_snow_depth) )
727  call file_history_in( snow_dzero(:,:), var_name(i_snow_dzero), &
728  var_desc(i_snow_dzero), var_unit(i_snow_dzero), standard_name=var_stdn(i_snow_dzero) )
729  call file_history_in( snow_nosnowsec(:,:), var_name(i_snow_nosnowsec), &
730  var_desc(i_snow_nosnowsec), var_unit(i_snow_nosnowsec), standard_name=var_stdn(i_snow_nosnowsec) )
731  end if
732 
733  call file_history_in( land_sflx_gh(:,:), 'LAND_SFLX_GH', &
734  'land subsurface heat flux (downward)', 'J/m2/s' )
735  call file_history_in( land_sflx_water(:,:), 'LAND_SFLX_water', &
736  'land surface water mass flux (downward)', 'kg/m2/s' )
737  call file_history_in( land_sflx_engi(:,:), 'LAND_SFLX_ENGI', &
738  'land surface internal energy flux (downward)', 'kg/m2/s' )
739 
740  call file_history_in( land_runoff(:,:), 'LAND_RUNOFF', &
741  'runoff water', 'kg/m2/s' )
742  call file_history_in( land_runoff_engi(:,:), 'LAND_RUNOFF_ENGI', &
743  'internal energy of runoff water', 'J/m2/s' )
744 
745  call file_history_in( land_sflx_mw(:,:), 'LAND_SFLX_MW', &
746  'land surface w-momentum flux (upward)', 'kg/m2/s' )
747  call file_history_in( land_sflx_mu(:,:), 'LAND_SFLX_MU', &
748  'land surface u-momentum flux (upward)', 'kg/m2/s' )
749  call file_history_in( land_sflx_mv(:,:), 'LAND_SFLX_MV', &
750  'land surface v-momentum flux (upward)', 'kg/m2/s' )
751  call file_history_in( land_sflx_sh(:,:), 'LAND_SFLX_SH', &
752  'land surface sensible heat flux (upward)', 'J/m2/s' )
753  call file_history_in( land_sflx_lh(:,:), 'LAND_SFLX_LH', &
754  'land surface latent heat flux (upward)', 'J/m2/s' )
755  if ( i_qv > 0 ) &
756  call file_history_in( land_sflx_qtrc(:,:,i_qv), 'LAND_SFLX_evap', &
757  'land surface water vapor flux (upward)', 'kg/m2/s' )
758 
759  call file_history_in( land_u10(:,:), 'LAND_U10', &
760  'land 10m x-wind', 'm/s' )
761  call file_history_in( land_v10(:,:), 'LAND_V10', &
762  'land 10m y-wind', 'm/s' )
763  call file_history_in( land_t2(:,:), 'LAND_T2', &
764  'land 2m temperature', 'K' )
765  call file_history_in( land_q2(:,:), 'LAND_Q2', &
766  'land 2m specific humidity', 'kg/kg' )
767 
768  call file_history_in( land_ustar(:,:), 'LAND_Ustar', &
769  'land friction velocity', 'm/s' )
770  call file_history_in( land_tstar(:,:), 'LAND_Tstar', &
771  'land temperature scale', 'K' )
772  call file_history_in( land_qstar(:,:), 'LAND_Qstar', &
773  'land moisture scale', 'kg/kg' )
774  call file_history_in( land_wstar(:,:), 'LAND_Wstar', &
775  'land convective velocity scale', 'm/s' )
776  call file_history_in( land_rlmo(:,:), 'LAND_RLmo', &
777  'land inversed Obukhov length', '1/m' )
778  if ( snow_flag ) then
779  ! soil
780  call file_history_in( soil_ustar(:,:), 'SOIL_Ustar', &
781  'soil friction velocity', 'm/s' )
782  call file_history_in( soil_tstar(:,:), 'SOIL_Tstar', &
783  'soil temperature scale', 'K' )
784  call file_history_in( soil_qstar(:,:), 'SOIL_Qstar', &
785  'soil moisture scale', 'kg/kg' )
786  call file_history_in( soil_wstar(:,:), 'SOIL_Wstar', &
787  'soil convective velocity scale', 'm/s' )
788  call file_history_in( soil_rlmo(:,:), 'SOIL_RLmo', &
789  'soil inversed Obukhov length', '1/m' )
790  ! snow pack
791  call file_history_in( snow_ustar(:,:), 'SNOW_Ustar', &
792  'snow friction velocity', 'm/s' )
793  call file_history_in( snow_tstar(:,:), 'SNOW_Tstar', &
794  'snow temperature scale', 'K' )
795  call file_history_in( snow_qstar(:,:), 'SNOW_Qstar', &
796  'snow moisture scale', 'kg/kg' )
797  call file_history_in( snow_wstar(:,:), 'SNOW_Wstar', &
798  'snow convective velocity scale', 'm/s' )
799  call file_history_in( snow_rlmo(:,:), 'SNOW_RLmo', &
800  'snow inversed Obukhov length', '1/m' )
801  end if
802 
803  call prof_rapend ('LND_History', 1)
804 
805  return

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, scale_tracer::k, land_ice, land_property, land_q2, land_qstar, land_rlmo, land_runoff, land_runoff_engi, land_sfc_albedo, land_sfc_temp, land_sflx_engi, land_sflx_gh, 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_tstar, land_u10, land_ustar, land_v10, land_water, land_wstar, 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::lkmax, scale_prof::prof_rapend(), scale_prof::prof_rapstart(), snow_depth, snow_dzero, snow_flag, snow_nosnowsec, snow_qstar, snow_rlmo, snow_sfc_temp, snow_swe, snow_tstar, snow_ustar, snow_wstar, soil_qstar, soil_rlmo, soil_tstar, soil_ustar, and soil_wstar.

Referenced by mod_rm_driver::restart_read(), and mod_rm_driver::rm_driver().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ land_vars_monitor()

subroutine, public mod_land_vars::land_vars_monitor

monitor output

Definition at line 811 of file mod_land_vars.F90.

811  use scale_const, only: &
812  dwatr => const_dwatr, &
813  dice => const_dice
814  use scale_atmos_hydrometeor, only: &
815  cv_water, &
816  cv_ice, &
817  lhf
818  use scale_monitor, only: &
819  monitor_put
820  implicit none
821 
822  real(RP) :: WORK3D(LKA,LIA,LJA)
823  real(RP) :: WORK2D(LIA,LJA)
824 
825  integer :: k, i, j
826  !---------------------------------------------------------------------------
827 
828  call monitor_put( monit_id(im_temp), land_temp(:,:,:) )
829  if ( monit_id(im_water) > 0 ) then
830  !$omp parallel do
831  do j = ljs, lje
832  do i = lis, lie
833  do k = lks, lke
834  work3d(k,i,j) = land_water(k,i,j) * dwatr
835  end do
836  end do
837  end do
838  call monitor_put( monit_id(im_water), work3d(:,:,:) )
839  end if
840  if ( monit_id(im_ice) > 0 ) then
841  !$omp parallel do
842  do j = ljs, lje
843  do i = lis, lie
844  do k = lks, lke
845  work3d(k,i,j) = land_ice(k,i,j) * dice
846  end do
847  end do
848  end do
849  call monitor_put( monit_id(im_ice), work3d(:,:,:) )
850  end if
851 
852 
853  ! mass budget
854  call monitor_put( monit_id(im_sfc), land_sflx_water(:,:) )
855  call monitor_put( monit_id(im_roff), land_runoff(:,:) )
856  if ( monit_id(im_masflx) > 0 ) then
857  !$omp parallel do
858  do j = ljs, lje
859  do i = lis, lie
860  work2d(i,j) = land_sflx_water(i,j) - land_runoff(i,j)
861  end do
862  end do
863  call monitor_put( monit_id(im_masflx), work2d(:,:) )
864  end if
865 
866  ! energy budget
867  if ( monit_id(im_engi) > 0 ) then
868  !$omp parallel do
869  do j = ljs, lje
870  do i = lis, lie
871  do k = lks, lke
872  work3d(k,i,j) = ( land_property(i,j,i_heatcapacity) * ( 1.0_rp - land_property(i,j,i_waterlimit) ) & ! soil particles
873  + cv_water * dwatr * land_water(k,i,j) & ! land water
874  + cv_ice * dice * land_ice(k,i,j) & ! land ice
875  ) * land_temp(k,i,j) &
876  - lhf * dice * land_ice(k,i,j)
877  end do
878  end do
879  end do
880  call monitor_put( monit_id(im_engi), work3d(:,:,:) )
881  end if
882  if ( monit_id(im_w_engi) > 0 ) then
883  !$omp parallel do
884  do j = ljs, lje
885  do i = lis, lie
886  do k = lks, lke
887  work3d(k,i,j) = cv_water * dwatr * land_water(k,i,j) * land_temp(k,i,j)
888  end do
889  end do
890  end do
891  call monitor_put( monit_id(im_w_engi), work3d(:,:,:) )
892  end if
893  if ( monit_id(im_i_engi) > 0 ) then
894  !$omp parallel do
895  do j = ljs, lje
896  do i = lis, lie
897  do k = lks, lke
898  work3d(k,i,j) = ( cv_ice * land_temp(k,i,j) - lhf ) * dice * land_ice(k,i,j)
899  end do
900  end do
901  end do
902  call monitor_put( monit_id(im_i_engi), work3d(:,:,:) )
903  end if
904 
905 
906  call monitor_put( monit_id(im_engsfc_gh), land_sflx_gh(:,:) )
907  call monitor_put( monit_id(im_engsfc_ei), land_sflx_engi(:,:) )
908  call monitor_put( monit_id(im_roff_ei), land_runoff_engi(:,:) )
909  if ( monit_id(im_engflx) > 0 ) then
910  !$omp parallel do
911  do j = ljs, lje
912  do i = lis, lie
913  work2d(i,j) = land_sflx_gh(i,j) + land_sflx_engi(i,j) &
914  - land_runoff_engi(i,j)
915  end do
916  end do
917  call monitor_put( monit_id(im_engflx), work2d(:,:) )
918  end if
919 
920 
921  return

References scale_const::const_dice, scale_const::const_dwatr, scale_atmos_hydrometeor::cv_ice, scale_atmos_hydrometeor::cv_water, i_heatcapacity, i_waterlimit, scale_tracer::k, land_ice, land_property, land_runoff, land_runoff_engi, land_sflx_engi, land_sflx_gh, land_sflx_water, land_temp, land_water, scale_atmos_hydrometeor::lhf, 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, and scale_land_grid_cartesc_index::lks.

Referenced by mod_rm_driver::restart_read(), and mod_rm_driver::rm_driver().

Here is the caller graph for this function:

◆ land_vars_check()

subroutine, public mod_land_vars::land_vars_check ( logical, intent(in), optional  force)

Budget monitor for land.

Definition at line 927 of file mod_land_vars.F90.

927  use scale_statistics, only: &
929  statistics_total
930  use scale_land_grid_cartesc_real, only: &
935  use scale_landuse, only: &
937  implicit none
938  logical, intent(in), optional :: force
939  logical :: check
940  !---------------------------------------------------------------------------
941 
942  if ( present(force) ) then
943  check = force
944  else
945  check = land_vars_checkrange
946  end if
947 
948  if ( check ) then
949  call valcheck( lka, lks, lke, lia, lis, lie, lja, ljs, lje, &
950  land_temp(:,:,:), 0.0_rp, 1000.0_rp, &
951  var_name(i_temp), __file__, __line__, &
952  mask = landuse_exists_land(:,:) )
953  call valcheck( lka, lks, lke, lia, lis, lie, lja, ljs, lje, &
954  land_water(:,:,:), 0.0_rp, 1.0_rp, &
955  var_name(i_water), __file__, __line__, &
956  mask = landuse_exists_land(:,:) )
957  call valcheck( lka, lks, lke, lia, lis, lie, lja, ljs, lje, &
958  land_ice(:,:,:), 0.0_rp, 1.0_rp, &
959  var_name(i_ice), __file__, __line__, &
960  mask = landuse_exists_land(:,:) )
961  call valcheck( lia, lis, lie, lja, ljs, lje, &
962  land_sfc_temp(:,:), 0.0_rp, 1000.0_rp, &
963  var_name(i_sfc_temp), __file__, __line__, &
964  mask = landuse_exists_land(:,:) )
965  call valcheck( lia, lis, lie, lja, ljs, lje, &
966  land_sfc_albedo(:,:,i_r_direct ,i_r_ir ), 0.0_rp, 2.0_rp, &
967  var_name(i_sfc_alb_ir_dir ), __file__, __line__, &
968  mask = landuse_exists_land(:,:) )
969  call valcheck( lia, lis, lie, lja, ljs, lje, &
970  land_sfc_albedo(:,:,i_r_diffuse,i_r_ir ), 0.0_rp, 2.0_rp, &
971  var_name(i_sfc_alb_ir_dif ), __file__, __line__, &
972  mask = landuse_exists_land(:,:) )
973  call valcheck( lia, lis, lie, lja, ljs, lje, &
974  land_sfc_albedo(:,:,i_r_direct ,i_r_nir), 0.0_rp, 2.0_rp, &
975  var_name(i_sfc_alb_nir_dir), __file__, __line__, &
976  mask = landuse_exists_land(:,:) )
977  call valcheck( lia, lis, lie, lja, ljs, lje, &
978  land_sfc_albedo(:,:,i_r_diffuse,i_r_nir), 0.0_rp, 2.0_rp, &
979  var_name(i_sfc_alb_nir_dif), __file__, __line__, &
980  mask = landuse_exists_land(:,:) )
981  call valcheck( lia, lis, lie, lja, ljs, lje, &
982  land_sfc_albedo(:,:,i_r_direct ,i_r_vis), 0.0_rp, 2.0_rp, &
983  var_name(i_sfc_alb_vis_dir), __file__, __line__, &
984  mask = landuse_exists_land(:,:) )
985  call valcheck( lia, lis, lie, lja, ljs, lje, &
986  land_sfc_albedo(:,:,i_r_diffuse,i_r_vis), 0.0_rp, 2.0_rp, &
987  var_name(i_sfc_alb_vis_dif), __file__, __line__, &
988  mask = landuse_exists_land(:,:) )
989 
990  if ( snow_flag ) then
991  call valcheck( lia, lis, lie, lja, ljs, lje, &
992  snow_sfc_temp(:,:), 0.0_rp, 1000.0_rp, &
993  var_name(i_snow_sfc_temp), __file__, __line__, &
994  mask = landuse_exists_land(:,:) )
995  call valcheck( lia, lis, lie, lja, ljs, lje, &
996  snow_swe(:,:), 0.0_rp, 1000.0_rp, &
997  var_name(i_snow_swe), __file__, __line__, &
998  mask = landuse_exists_land(:,:) )
999  call valcheck( lia, lis, lie, lja, ljs, lje, &
1000  snow_depth(:,:), 0.0_rp, 1000.0_rp, &
1001  var_name(i_snow_depth), __file__, __line__, &
1002  mask = landuse_exists_land(:,:) )
1003 
1004  call valcheck( lia, lis, lie, lja, ljs, lje, &
1005  snow_dzero(:,:), 0.0_rp, 1000.0_rp, &
1006  var_name(i_snow_dzero), __file__, __line__, &
1007  mask = landuse_exists_land(:,:) )
1008  endif
1009 
1010  end if
1011 
1012  if ( present(force) ) then
1013  check = force
1014  else
1015  check = statistics_checktotal
1016  end if
1017 
1018  if ( check ) then
1019 
1020  ! 3D
1021  call statistics_total( lka, lks, lke, lia, lis, lie, lja, ljs, lje, &
1022  land_temp(:,:,:), var_name(i_temp), & ! (in)
1023  land_grid_cartesc_real_vol(:,:,:), & ! (in)
1025  call statistics_total( lka, lks, lke, lia, lis, lie, lja, ljs, lje, &
1026  land_water(:,:,:), var_name(i_water), & ! (in)
1027  land_grid_cartesc_real_vol(:,:,:), & ! (in)
1029  call statistics_total( lka, lks, lke, lia, lis, lie, lja, ljs, lje, &
1030  land_ice(:,:,:), var_name(i_ice), & ! (in)
1031  land_grid_cartesc_real_vol(:,:,:), & ! (in)
1033 
1034  ! 2D
1035  call statistics_total( lia, lis, lie, lja, ljs, lje, & ! [IN]
1036  land_sfc_temp(:,:), var_name(i_sfc_temp), & ! [IN]
1037  land_grid_cartesc_real_area(:,:), & ! [IN]
1039  call statistics_total( lia, lis, lie, lja, ljs, lje, & ! [IN]
1040  land_sfc_albedo(:,:,i_r_direct ,i_r_ir ), var_name(i_sfc_alb_ir_dir), & ! [IN]
1041  land_grid_cartesc_real_area(:,:), & ! [IN]
1043  call statistics_total( lia, lis, lie, lja, ljs, lje, & ! [IN]
1044  land_sfc_albedo(:,:,i_r_diffuse,i_r_ir ), var_name(i_sfc_alb_ir_dif), & ! [IN]
1045  land_grid_cartesc_real_area(:,:), & ! [IN]
1047  call statistics_total( lia, lis, lie, lja, ljs, lje, & ! [IN]
1048  land_sfc_albedo(:,:,i_r_direct ,i_r_nir), var_name(i_sfc_alb_nir_dir), & ! [IN]
1049  land_grid_cartesc_real_area(:,:), & ! [IN]
1051  call statistics_total( lia, lis, lie, lja, ljs, lje, & ! [IN]
1052  land_sfc_albedo(:,:,i_r_diffuse,i_r_nir), var_name(i_sfc_alb_nir_dif), & ! [IN]
1053  land_grid_cartesc_real_area(:,:), & ! [IN]
1055  call statistics_total( lia, lis, lie, lja, ljs, lje, & ! [IN]
1056  land_sfc_albedo(:,:,i_r_direct ,i_r_vis), var_name(i_sfc_alb_vis_dir), & ! [IN]
1057  land_grid_cartesc_real_area(:,:), & ! [IN]
1059  call statistics_total( lia, lis, lie, lja, ljs, lje, & ! [IN]
1060  land_sfc_albedo(:,:,i_r_diffuse,i_r_vis), var_name(i_sfc_alb_vis_dif), & ! [IN]
1061  land_grid_cartesc_real_area(:,:), & ! [IN]
1063 
1064  if ( snow_flag ) then
1065  call statistics_total( lia, lis, lie, lja, ljs, lje, &
1066  snow_sfc_temp(:,:), var_name(i_snow_sfc_temp), & ! (in)
1067  land_grid_cartesc_real_area(:,:), & ! (in)
1069  call statistics_total( lia, lis, lie, lja, ljs, lje, &
1070  snow_swe(:,:), var_name(i_snow_swe), & ! (in)
1071  land_grid_cartesc_real_area(:,:), & ! (in)
1073  call statistics_total( lia, lis, lie, lja, ljs, lje, &
1074  snow_depth(:,:), var_name(i_snow_depth), & ! (in)
1075  land_grid_cartesc_real_area(:,:), & ! (in)
1077  call statistics_total( lia, lis, lie, lja, ljs, lje, &
1078  snow_dzero(:,:), var_name(i_snow_dzero), & ! (in)
1079  land_grid_cartesc_real_area(:,:), & ! (in)
1081  call statistics_total( lia, lis, lie, lja, ljs, lje, &
1082  snow_nosnowsec(:,:), var_name(i_snow_nosnowsec), & ! (in)
1083  land_grid_cartesc_real_area(:,:), & ! (in)
1085  end if
1086 
1087  endif
1088 
1089  return

References scale_debug::check(), scale_tracer::description, 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_ice, land_property_in_filename, land_sfc_albedo, land_sfc_temp, land_temp, land_water, scale_landuse::landuse_exists_land, 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_flag, snow_nosnowsec, 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().

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

1253  implicit none
1254 
1255  real(RP), intent(in) :: WS(LIA,LJA) ! water saturation [fraction]
1256  logical, intent(in) :: critical ! is I_WaterCritical used?
1257 
1258  real(RP) :: VWC(LIA,LJA) ! volumetric water content [m3/m3]
1259 
1260  ! work
1261  integer :: i, j, num
1262  !---------------------------------------------------------------------------
1263 
1264  if( critical ) then
1265  num = i_watercritical
1266  else
1267  num = i_waterlimit
1268  end if
1269 
1270  do j = ljs, lje
1271  do i = lis, lie
1272  vwc(i,j) = max( min( ws(i,j)*land_property(i,j,num), land_property(i,j,num) ), 0.0_rp )
1273  end do
1274  end do
1275 
1276  return

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().

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

1282  use scale_time, only: &
1284  use scale_file_cartesc, only: &
1286  use mod_land_admin, only: &
1287  land_do
1288  implicit none
1289 
1290  character(len=19) :: timelabel
1291  character(len=H_LONG) :: basename
1292  !---------------------------------------------------------------------------
1293 
1294  if ( land_do .and. land_restart_out_basename /= '' ) then
1295 
1296  log_newline
1297  log_info("LAND_vars_restart_create",*) 'Create restart file (LAND) '
1298 
1299  if ( land_restart_out_postfix_timelabel ) then
1300  call time_gettimelabel( timelabel )
1301  basename = trim(land_restart_out_basename)//'_'//trim(timelabel)
1302  else
1303  basename = trim(land_restart_out_basename)
1304  endif
1305 
1306  log_info("LAND_vars_restart_create",*) 'basename: ', trim(basename)
1307 
1308  call file_cartesc_create( &
1309  basename, land_restart_out_title, land_restart_out_dtype, & ! [IN]
1310  restart_fid, & ! [OUT]
1311  aggregate=land_restart_out_aggregate ) ! [IN]
1312 
1313  endif
1314 
1315  return

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().

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

1321  use scale_file_cartesc, only: &
1323  implicit none
1324 
1325  if ( restart_fid /= -1 ) then
1326  call file_cartesc_enddef( restart_fid ) ! [IN]
1327  endif
1328 
1329  return

References scale_file_cartesc::file_cartesc_enddef().

Referenced by mod_admin_restart::admin_restart_write().

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

1335  use scale_file_cartesc, only: &
1337  implicit none
1338  !---------------------------------------------------------------------------
1339 
1340  if ( restart_fid /= -1 ) then
1341  log_newline
1342  log_info("LAND_vars_restart_close",*) 'Close restart file (LAND) '
1343 
1344  call file_cartesc_close( restart_fid ) ! [IN]
1345 
1346  restart_fid = -1
1347  endif
1348 
1349  return

References scale_file_cartesc::file_cartesc_close().

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

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

1355  use scale_file_cartesc, only: &
1357  implicit none
1358  integer :: i
1359  !---------------------------------------------------------------------------
1360 
1361  if ( restart_fid /= -1 ) then
1362 
1363  do i = i_temp, i_ice
1364  call file_cartesc_def_var( restart_fid, & ! [IN]
1365  var_name(i), var_desc(i), var_unit(i), & ! [IN]
1366  'LXY', land_restart_out_dtype, & ! [IN]
1367  var_id(i), & ! [OUT]
1368  standard_name=var_stdn(i) ) ! [IN]
1369  end do
1370  do i = i_sfc_temp, i_sfc_alb_vis_dif
1371  call file_cartesc_def_var( restart_fid, & ! [IN]
1372  var_name(i), var_desc(i), var_unit(i), & ! [IN]
1373  'XY', land_restart_out_dtype, & ! [IN]
1374  var_id(i), & ! [OUT]
1375  standard_name=var_stdn(i) ) ! [IN]
1376  end do
1377 
1378  if ( snow_flag ) then
1379  do i = i_snow_sfc_temp, i_snow_nosnowsec
1380  call file_cartesc_def_var( restart_fid, & ! [IN]
1381  var_name(i), var_desc(i), var_unit(i), & ! [IN]
1382  'XY', land_restart_out_dtype, & ! [IN]
1383  var_id(i), & ! [OUT]
1384  standard_name=var_stdn(i) ) ! [IN]
1385  end do
1386  end if
1387 
1388  endif
1389 
1390  return

References scale_file_cartesc::file_cartesc_def_var(), land_restart_out_dtype, and snow_flag.

Referenced by mod_admin_restart::admin_restart_write().

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

1396  use scale_file_cartesc, only: &
1397  file_cartesc_write_var
1398  implicit none
1399  !---------------------------------------------------------------------------
1400 
1401  if ( restart_fid /= -1 ) then
1402 
1403  call land_vars_check( force = .true. )
1404 
1405  call file_cartesc_write_var( restart_fid, var_id(i_temp), & ! [IN]
1406  land_temp(:,:,:), & ! [IN]
1407  var_name(i_temp), 'LXY', fill_halo=.true. ) ! [IN]
1408  call file_cartesc_write_var( restart_fid, var_id(i_water), & ! [IN]
1409  land_water(:,:,:), & ! [IN]
1410  var_name(i_water), 'LXY', fill_halo=.true. ) ! [IN]
1411  call file_cartesc_write_var( restart_fid, var_id(i_ice), & ! [IN]
1412  land_ice(:,:,:), & ! [IN]
1413  var_name(i_ice), 'LXY', fill_halo=.true. ) ! [IN]
1414  call file_cartesc_write_var( restart_fid, var_id(i_sfc_temp), & ! [IN]
1415  land_sfc_temp(:,:), & ! [IN]
1416  var_name(i_sfc_temp), 'XY', fill_halo=.true. ) ! [IN]
1417  call file_cartesc_write_var( restart_fid, var_id(i_sfc_alb_ir_dir), & ! [IN]
1418  land_sfc_albedo(:,:,i_r_direct ,i_r_ir ), & ! [IN]
1419  var_name(i_sfc_alb_ir_dir), 'XY', fill_halo=.true. ) ! [IN]
1420  call file_cartesc_write_var( restart_fid, var_id(i_sfc_alb_ir_dif), & ! [IN]
1421  land_sfc_albedo(:,:,i_r_diffuse,i_r_ir ), & ! [IN]
1422  var_name(i_sfc_alb_ir_dif), 'XY', fill_halo=.true. ) ! [IN]
1423  call file_cartesc_write_var( restart_fid, var_id(i_sfc_alb_nir_dir), & ! [IN]
1424  land_sfc_albedo(:,:,i_r_direct ,i_r_nir), & ! [IN]
1425  var_name(i_sfc_alb_nir_dir), 'XY', fill_halo=.true. ) ! [IN]
1426  call file_cartesc_write_var( restart_fid, var_id(i_sfc_alb_nir_dif), & ! [IN]
1427  land_sfc_albedo(:,:,i_r_diffuse,i_r_nir), & ! [IN]
1428  var_name(i_sfc_alb_nir_dif), 'XY', fill_halo=.true. ) ! [IN]
1429  call file_cartesc_write_var( restart_fid, var_id(i_sfc_alb_vis_dir), & ! [IN]
1430  land_sfc_albedo(:,:,i_r_direct ,i_r_vis), & ! [IN]
1431  var_name(i_sfc_alb_vis_dir), 'XY', fill_halo=.true. ) ! [IN]
1432  call file_cartesc_write_var( restart_fid, var_id(i_sfc_alb_vis_dif), & ! [IN]
1433  land_sfc_albedo(:,:,i_r_diffuse,i_r_vis), & ! [IN]
1434  var_name(i_sfc_alb_vis_dif), 'XY', fill_halo=.true. ) ! [IN]
1435 
1436  if ( snow_flag ) then
1437  call file_cartesc_write_var( restart_fid, var_id(i_snow_sfc_temp), snow_sfc_temp(:,:), &
1438  var_name(i_snow_sfc_temp), 'XY', fill_halo=.true. )
1439  call file_cartesc_write_var( restart_fid, var_id(i_snow_swe), snow_swe(:,:), &
1440  var_name(i_snow_swe), 'XY', fill_halo=.true. )
1441  call file_cartesc_write_var( restart_fid, var_id(i_snow_depth), snow_depth(:,:), &
1442  var_name(i_snow_depth), 'XY', fill_halo=.true. )
1443  call file_cartesc_write_var( restart_fid, var_id(i_snow_dzero), snow_dzero(:,:), &
1444  var_name(i_snow_dzero), 'XY', fill_halo=.true. )
1445  call file_cartesc_write_var( restart_fid, var_id(i_snow_nosnowsec), snow_nosnowsec(:,:), &
1446  var_name(i_snow_nosnowsec), 'XY', fill_halo=.true. )
1447  end if
1448 
1449  endif
1450 
1451  return

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_ice, land_sfc_albedo, land_sfc_temp, land_temp, land_vars_check(), land_water, snow_depth, snow_dzero, snow_flag, snow_nosnowsec, snow_sfc_temp, and snow_swe.

Referenced by mod_admin_restart::admin_restart_write().

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

49  logical, public :: LAND_RESTART_OUTPUT = .false.

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

◆ land_restart_in_basename

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

Basename of the input file.

Definition at line 51 of file mod_land_vars.F90.

51  character(len=H_LONG), public :: LAND_RESTART_IN_BASENAME = ''

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

◆ land_restart_in_aggregate

logical, public mod_land_vars::land_restart_in_aggregate

Switch to use aggregate file.

Definition at line 52 of file mod_land_vars.F90.

52  logical, public :: LAND_RESTART_IN_AGGREGATE

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

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

53  logical, public :: LAND_RESTART_IN_POSTFIX_TIMELABEL = .false.

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

◆ land_restart_out_basename

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

Basename of the output file.

Definition at line 54 of file mod_land_vars.F90.

54  character(len=H_LONG), public :: LAND_RESTART_OUT_BASENAME = ''

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

◆ land_restart_out_aggregate

logical, public mod_land_vars::land_restart_out_aggregate

Switch to use aggregate file.

Definition at line 55 of file mod_land_vars.F90.

55  logical, public :: LAND_RESTART_OUT_AGGREGATE

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

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

56  logical, public :: LAND_RESTART_OUT_POSTFIX_TIMELABEL = .true.

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

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

57  character(len=H_MID), public :: LAND_RESTART_OUT_TITLE = 'LAND restart'

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

◆ land_restart_out_dtype

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

REAL4 or REAL8.

Definition at line 58 of file mod_land_vars.F90.

58  character(len=H_SHORT), public :: LAND_RESTART_OUT_DTYPE = 'DEFAULT'

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

◆ 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_ice

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

◆ land_sfc_temp

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

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

65  real(RP), public, allocatable :: LAND_SFC_albedo(:,:,:,:)

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

◆ snow_sfc_temp

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

snow surface temperature [K]

Definition at line 68 of file mod_land_vars.F90.

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

Referenced by mod_land_driver::land_driver_calc_tendency(), mod_mkinit::land_setup(), land_vars_check(), land_vars_history(), land_vars_restart_read(), land_vars_restart_write(), and land_vars_setup().

◆ snow_swe

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

snow water equivalent [kg/m2]

Definition at line 69 of file mod_land_vars.F90.

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

Referenced by mod_land_driver::land_driver_calc_tendency(), mod_mkinit::land_setup(), land_vars_check(), land_vars_history(), land_vars_restart_read(), land_vars_restart_write(), and land_vars_setup().

◆ snow_depth

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

snow depth [m]

Definition at line 70 of file mod_land_vars.F90.

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

Referenced by mod_land_driver::land_driver_calc_tendency(), mod_mkinit::land_setup(), land_vars_check(), land_vars_history(), land_vars_restart_read(), land_vars_restart_write(), and land_vars_setup().

◆ snow_dzero

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

snow depth at melting point [m]

Definition at line 71 of file mod_land_vars.F90.

71  real(RP), public, allocatable :: SNOW_Dzero (:,:)

Referenced by mod_land_driver::land_driver_calc_tendency(), mod_mkinit::land_setup(), land_vars_check(), land_vars_history(), land_vars_restart_read(), land_vars_restart_write(), and land_vars_setup().

◆ snow_nosnowsec

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

sec while no snow [s]

Definition at line 72 of file mod_land_vars.F90.

72  real(RP), public, allocatable :: SNOW_nosnowsec(:,:)

Referenced by mod_land_driver::land_driver_calc_tendency(), mod_mkinit::land_setup(), land_vars_check(), land_vars_history(), land_vars_restart_read(), land_vars_restart_write(), and land_vars_setup().

◆ land_temp_t

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

tendency of LAND_TEMP

Definition at line 75 of file mod_land_vars.F90.

75  real(RP), public, allocatable :: LAND_TEMP_t (:,:,:)

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

◆ land_water_t

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

tendency of LAND_WATER

Definition at line 76 of file mod_land_vars.F90.

76  real(RP), public, allocatable :: LAND_WATER_t(:,:,:)

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

◆ land_ice_t

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

tendency of LAND_ICE

Definition at line 77 of file mod_land_vars.F90.

77  real(RP), public, allocatable :: LAND_ICE_t (:,:,:)

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

◆ land_sflx_gh

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

land surface heat flux [J/m2/s]

Definition at line 80 of file mod_land_vars.F90.

80  real(RP), public, allocatable :: LAND_SFLX_GH (:,:)

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

◆ land_sflx_water

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

land surface water flux [kg/m2/s]

Definition at line 81 of file mod_land_vars.F90.

81  real(RP), public, allocatable :: LAND_SFLX_water(:,:)

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

◆ land_sflx_engi

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

land surface internal energy flux [J/m2/s]

Definition at line 82 of file mod_land_vars.F90.

82  real(RP), public, allocatable :: LAND_SFLX_ENGI (:,:)

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

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

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

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

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

86  real(RP), public, allocatable :: LAND_SFLX_MU (:,:)

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

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

87  real(RP), public, allocatable :: LAND_SFLX_MV (:,:)

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

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

88  real(RP), public, allocatable :: LAND_SFLX_SH (:,:)

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

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

89  real(RP), public, allocatable :: LAND_SFLX_LH (:,:)

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

◆ land_sflx_qtrc

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

land surface tracer flux [kg/m2/s]

Definition at line 90 of file mod_land_vars.F90.

90  real(RP), public, allocatable :: LAND_SFLX_QTRC(:,:,:)

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

◆ land_u10

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

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

Definition at line 91 of file mod_land_vars.F90.

91  real(RP), public, allocatable :: LAND_U10 (:,:)

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

◆ land_v10

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

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

Definition at line 92 of file mod_land_vars.F90.

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

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

◆ land_t2

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

land surface temperature at 2m [K]

Definition at line 93 of file mod_land_vars.F90.

93  real(RP), public, allocatable :: LAND_T2 (:,:)

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

◆ land_q2

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

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

Definition at line 94 of file mod_land_vars.F90.

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

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

◆ land_ustar

real(rp), dimension(:,:), allocatable, target, public mod_land_vars::land_ustar

friction velocity [m/s]

Definition at line 95 of file mod_land_vars.F90.

95  real(RP), public, allocatable, target :: LAND_Ustar(:,:)

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

◆ land_tstar

real(rp), dimension(:,:), allocatable, target, public mod_land_vars::land_tstar

temperature scale [K]

Definition at line 96 of file mod_land_vars.F90.

96  real(RP), public, allocatable, target :: LAND_Tstar(:,:)

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

◆ land_qstar

real(rp), dimension(:,:), allocatable, target, public mod_land_vars::land_qstar

moisture scale [kg/kg]

Definition at line 97 of file mod_land_vars.F90.

97  real(RP), public, allocatable, target :: LAND_Qstar(:,:)

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

◆ land_wstar

real(rp), dimension(:,:), allocatable, target, public mod_land_vars::land_wstar

convective velocity scale [m/s]

Definition at line 98 of file mod_land_vars.F90.

98  real(RP), public, allocatable, target :: LAND_Wstar(:,:)

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

◆ land_rlmo

real(rp), dimension (:,:), allocatable, target, public mod_land_vars::land_rlmo

inversed Obukhov length [1/m]

Definition at line 99 of file mod_land_vars.F90.

99  real(RP), public, allocatable, target :: LAND_RLmo (:,:)

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

◆ soil_ustar

real(rp), dimension(:,:), pointer, public mod_land_vars::soil_ustar

Definition at line 100 of file mod_land_vars.F90.

100  real(RP), public, pointer :: SOIL_Ustar(:,:)

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

◆ soil_tstar

real(rp), dimension(:,:), pointer, public mod_land_vars::soil_tstar

Definition at line 101 of file mod_land_vars.F90.

101  real(RP), public, pointer :: SOIL_Tstar(:,:)

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

◆ soil_qstar

real(rp), dimension(:,:), pointer, public mod_land_vars::soil_qstar

Definition at line 102 of file mod_land_vars.F90.

102  real(RP), public, pointer :: SOIL_Qstar(:,:)

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

◆ soil_wstar

real(rp), dimension(:,:), pointer, public mod_land_vars::soil_wstar

Definition at line 103 of file mod_land_vars.F90.

103  real(RP), public, pointer :: SOIL_Wstar(:,:)

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

◆ soil_rlmo

real(rp), dimension (:,:), pointer, public mod_land_vars::soil_rlmo

Definition at line 104 of file mod_land_vars.F90.

104  real(RP), public, pointer :: SOIL_RLmo (:,:)

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

◆ snow_ustar

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

Definition at line 105 of file mod_land_vars.F90.

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

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

◆ snow_tstar

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

Definition at line 106 of file mod_land_vars.F90.

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

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

◆ snow_qstar

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

Definition at line 107 of file mod_land_vars.F90.

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

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

◆ snow_wstar

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

Definition at line 108 of file mod_land_vars.F90.

108  real(RP), public, allocatable :: SNOW_Wstar(:,:)

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

◆ snow_rlmo

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

Definition at line 109 of file mod_land_vars.F90.

109  real(RP), public, allocatable :: SNOW_RLmo (:,:)

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

◆ land_runoff

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

runoff of the land water [kg/m2/s]

Definition at line 111 of file mod_land_vars.F90.

111  real(RP), public, allocatable :: LAND_RUNOFF (:,:)

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

◆ land_runoff_engi

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

internal energy of the runoff [J/m2/s]

Definition at line 112 of file mod_land_vars.F90.

112  real(RP), public, allocatable :: LAND_RUNOFF_ENGI(:,:)

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

◆ atmos_temp

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

Definition at line 116 of file mod_land_vars.F90.

116  real(RP), public, allocatable :: ATMOS_TEMP (:,:)

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

◆ atmos_pres

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

Definition at line 117 of file mod_land_vars.F90.

117  real(RP), public, allocatable :: ATMOS_PRES (:,:)

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

◆ atmos_w

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

Definition at line 118 of file mod_land_vars.F90.

118  real(RP), public, allocatable :: ATMOS_W (:,:)

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

◆ atmos_u

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

Definition at line 119 of file mod_land_vars.F90.

119  real(RP), public, allocatable :: ATMOS_U (:,:)

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

◆ atmos_v

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

Definition at line 120 of file mod_land_vars.F90.

120  real(RP), public, allocatable :: ATMOS_V (:,:)

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

◆ atmos_dens

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

Definition at line 121 of file mod_land_vars.F90.

121  real(RP), public, allocatable :: ATMOS_DENS (:,:)

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

◆ atmos_qv

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

Definition at line 122 of file mod_land_vars.F90.

122  real(RP), public, allocatable :: ATMOS_QV (:,:)

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

◆ atmos_pbl

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

Definition at line 123 of file mod_land_vars.F90.

123  real(RP), public, allocatable :: ATMOS_PBL (:,:)

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

◆ atmos_sfc_dens

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

Definition at line 124 of file mod_land_vars.F90.

124  real(RP), public, allocatable :: ATMOS_SFC_DENS (:,:)

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

◆ atmos_sfc_pres

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

Definition at line 125 of file mod_land_vars.F90.

125  real(RP), public, allocatable :: ATMOS_SFC_PRES (:,:)

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

◆ atmos_sflx_rad_dn

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

Definition at line 126 of file mod_land_vars.F90.

126  real(RP), public, allocatable :: ATMOS_SFLX_rad_dn(:,:,:,:)

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

◆ atmos_cossza

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

Definition at line 127 of file mod_land_vars.F90.

127  real(RP), public, allocatable :: ATMOS_cosSZA (:,:)

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

◆ atmos_sflx_water

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

Definition at line 128 of file mod_land_vars.F90.

128  real(RP), public, allocatable :: ATMOS_SFLX_water (:,:)

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

◆ atmos_sflx_engi

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

Definition at line 129 of file mod_land_vars.F90.

129  real(RP), public, allocatable :: ATMOS_SFLX_ENGI (:,:)

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

◆ snow_flag

logical, public mod_land_vars::snow_flag

◆ land_property

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

land surface property

Definition at line 135 of file mod_land_vars.F90.

135  real(RP), public, allocatable :: LAND_PROPERTY(:,:,:)

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(), land_vars_monitor(), and land_vars_setup().

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

137  character(len=H_LONG), public :: LAND_PROPERTY_IN_FILENAME = ''

Referenced by land_vars_check().

◆ land_property_nmax

integer, parameter, public mod_land_vars::land_property_nmax = 11

Definition at line 139 of file mod_land_vars.F90.

139  integer, public, parameter :: LAND_PROPERTY_nmax = 11

Referenced by land_vars_setup().

◆ i_waterlimit

integer, parameter, public mod_land_vars::i_waterlimit = 1

Definition at line 140 of file mod_land_vars.F90.

140  integer, public, parameter :: I_WaterLimit = 1 ! maximum soil moisture [m3/m3]

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

◆ i_watercritical

integer, parameter, public mod_land_vars::i_watercritical = 2

Definition at line 141 of file mod_land_vars.F90.

141  integer, public, parameter :: I_WaterCritical = 2 ! critical soil moisture [m3/m3]

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

◆ i_stomataresist

integer, parameter, public mod_land_vars::i_stomataresist = 3

Definition at line 142 of file mod_land_vars.F90.

142  integer, public, parameter :: I_StomataResist = 3 ! stomata resistance [1/s]

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

◆ i_thermalcond

integer, parameter, public mod_land_vars::i_thermalcond = 4

Definition at line 143 of file mod_land_vars.F90.

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

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

◆ i_heatcapacity

integer, parameter, public mod_land_vars::i_heatcapacity = 5

Definition at line 144 of file mod_land_vars.F90.

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

Referenced by mod_land_driver::land_driver_calc_tendency(), mod_land_driver::land_driver_update(), land_vars_check(), and land_vars_monitor().

◆ i_waterdiff

integer, parameter, public mod_land_vars::i_waterdiff = 6

Definition at line 145 of file mod_land_vars.F90.

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

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

◆ i_alblw

integer, parameter, public mod_land_vars::i_alblw = 7

Definition at line 146 of file mod_land_vars.F90.

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

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

◆ i_albsw

integer, parameter, public mod_land_vars::i_albsw = 8

Definition at line 147 of file mod_land_vars.F90.

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

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

◆ i_z0m

integer, parameter, public mod_land_vars::i_z0m = 9

Definition at line 148 of file mod_land_vars.F90.

148  integer, public, parameter :: I_Z0M = 9 ! roughness length for momemtum [m]

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

◆ i_z0h

integer, parameter, public mod_land_vars::i_z0h = 10

Definition at line 149 of file mod_land_vars.F90.

149  integer, public, parameter :: I_Z0H = 10 ! roughness length for heat [m]

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

◆ i_z0e

integer, parameter, public mod_land_vars::i_z0e = 11

Definition at line 150 of file mod_land_vars.F90.

150  integer, public, parameter :: I_Z0E = 11 ! roughness length for vapor [m]

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

scale_statistics
module Statistics
Definition: scale_statistics.F90:11
scale_prc::prc_abort
subroutine, public prc_abort
Abort Process.
Definition: scale_prc.F90:342
scale_land_grid_cartesc_index::ljs
integer, public ljs
Definition: scale_land_grid_cartesC_index.F90:45
scale_land_grid_cartesc_index::lia
integer, public lia
Definition: scale_land_grid_cartesC_index.F90:37
mod_land_vars::land_sflx_mu
real(rp), dimension(:,:), allocatable, public land_sflx_mu
land surface u-momentum flux [kg/m2/s]
Definition: mod_land_vars.F90:86
scale_land_grid_cartesc_index::lja
integer, public lja
Definition: scale_land_grid_cartesC_index.F90:38
scale_file_cartesc::file_cartesc_enddef
subroutine, public file_cartesc_enddef(fid)
Exit netCDF file define mode.
Definition: scale_file_cartesC.F90:943
scale_file_cartesc::file_cartesc_def_var
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.
Definition: scale_file_cartesC.F90:3307
mod_land_vars::land_sfc_albedo
real(rp), dimension(:,:,:,:), allocatable, public land_sfc_albedo
land surface albedo (direct/diffuse,IR/near-IR/VIS) (0-1)
Definition: mod_land_vars.F90:65
scale_land_grid_cartesc_index::lkmax
integer, public lkmax
Definition: scale_land_grid_cartesC_index.F90:32
scale_land_grid_cartesc_index::lje
integer, public lje
Definition: scale_land_grid_cartesC_index.F90:46
scale_atmos_hydrometeor
module atmosphere / hydrometeor
Definition: scale_atmos_hydrometeor.F90:12
mod_land_vars::land_sflx_mv
real(rp), dimension(:,:), allocatable, public land_sflx_mv
land surface v-momentum flux [kg/m2/s]
Definition: mod_land_vars.F90:87
scale_land_grid_cartesc_real::land_grid_cartesc_real_totarea
real(rp), public land_grid_cartesc_real_totarea
total area
Definition: scale_land_grid_cartesC_real.F90:36
scale_landuse::landuse_exists_land
logical, dimension(:,:), allocatable, public landuse_exists_land
land calculation flag
Definition: scale_landuse.F90:50
scale_file_history
module file_history
Definition: scale_file_history.F90:15
mod_land_admin::snow_type
character(len=h_short), public snow_type
Definition: mod_land_admin.F90:38
scale_file
module file
Definition: scale_file.F90:15
scale_land_grid_cartesc_real::land_grid_cartesc_real_totvol
real(rp), public land_grid_cartesc_real_totvol
total volume
Definition: scale_land_grid_cartesC_real.F90:38
mod_land_vars::land_sflx_gh
real(rp), dimension(:,:), allocatable, public land_sflx_gh
land surface heat flux [J/m2/s]
Definition: mod_land_vars.F90:80
scale_prc
module PROCESS
Definition: scale_prc.F90:11
mod_land_vars::land_sflx_mw
real(rp), dimension(:,:), allocatable, public land_sflx_mw
land surface w-momentum flux [kg/m2/s]
Definition: mod_land_vars.F90:85
scale_const
module CONSTANT
Definition: scale_const.F90:11
mod_land_vars::land_sflx_sh
real(rp), dimension(:,:), allocatable, public land_sflx_sh
land surface sensible heat flux [J/m2/s]
Definition: mod_land_vars.F90:88
mod_land_admin
module Land admin
Definition: mod_land_admin.F90:11
mod_land_vars::land_property
real(rp), dimension(:,:,:), allocatable, public land_property
land surface property
Definition: mod_land_vars.F90:135
scale_land_grid_cartesc_index::lie
integer, public lie
Definition: scale_land_grid_cartesC_index.F90:44
scale_land_grid_cartesc_real
module land / grid / cartesianC / real
Definition: scale_land_grid_cartesC_real.F90:11
scale_landuse::landuse_index_pft
integer, dimension(:,:,:), allocatable, public landuse_index_pft
index of PFT for each mosaic
Definition: scale_landuse.F90:67
scale_file_cartesc::file_cartesc_close
subroutine, public file_cartesc_close(fid)
Close a netCDF file.
Definition: scale_file_cartesC.F90:1023
scale_landuse::landuse_pft_nmax
integer, public landuse_pft_nmax
number of plant functional type(PFT)
Definition: scale_landuse.F90:63
scale_monitor::monitor_reg
subroutine, public monitor_reg(name, desc, unit, itemid, ndims, dim_type, is_tendency)
Search existing item, or matching check between requested and registered item.
Definition: scale_monitor.F90:241
scale_time
module TIME
Definition: scale_time.F90:11
scale_land_grid_cartesc_index::lis
integer, public lis
Definition: scale_land_grid_cartesC_index.F90:42
mod_land_vars::land_q2
real(rp), dimension(:,:), allocatable, public land_q2
land surface water vapor at 2m [kg/kg]
Definition: mod_land_vars.F90:94
scale_atmos_hydrometeor::i_qv
integer, public i_qv
Definition: scale_atmos_hydrometeor.F90:77
scale_const::const_dwatr
real(rp), parameter, public const_dwatr
density of water [kg/m3]
Definition: scale_const.F90:82
scale_land_grid_cartesc_real::land_grid_cartesc_real_vol
real(rp), dimension(:,:,:), allocatable, public land_grid_cartesc_real_vol
volume of grid cell
Definition: scale_land_grid_cartesC_real.F90:37
mod_land_vars::land_sfc_temp
real(rp), dimension(:,:), allocatable, public land_sfc_temp
land surface skin temperature [K]
Definition: mod_land_vars.F90:64
scale_file_cartesc::file_cartesc_create
subroutine, public file_cartesc_create(basename, title, datatype, fid, date, subsec, haszcoord, append, aggregate, single)
Create/open a netCDF file.
Definition: scale_file_cartesC.F90:780
scale_file_cartesc::file_cartesc_open
subroutine, public file_cartesc_open(basename, fid, aggregate)
open a netCDF file for read
Definition: scale_file_cartesC.F90:746
scale_statistics::statistics_checktotal
logical, public statistics_checktotal
calc&report variable totals to logfile?
Definition: scale_statistics.F90:64
scale_file_cartesc::file_cartesc_flush
subroutine, public file_cartesc_flush(fid)
Flush all pending requests to a netCDF file (PnetCDF only)
Definition: scale_file_cartesC.F90:997
scale_time::time_gettimelabel
subroutine, public time_gettimelabel(timelabel)
generate time label
Definition: scale_time.F90:91
scale_comm_cartesc
module COMMUNICATION
Definition: scale_comm_cartesC.F90:11
mod_land_admin::land_do
logical, public land_do
Definition: mod_land_admin.F90:41
mod_land_vars::land_u10
real(rp), dimension(:,:), allocatable, public land_u10
land surface velocity u at 10m [m/s]
Definition: mod_land_vars.F90:91
scale_atmos_hydrometeor::lhf
real(rp), public lhf
latent heat of fusion for use [J/kg]
Definition: scale_atmos_hydrometeor.F90:128
scale_file::file_get_aggregate
logical function, public file_get_aggregate(fid)
Definition: scale_file.F90:4844
mod_land_vars::land_sflx_lh
real(rp), dimension(:,:), allocatable, public land_sflx_lh
land surface latent heat flux [J/m2/s]
Definition: mod_land_vars.F90:89
mod_land_vars::land_v10
real(rp), dimension(:,:), allocatable, public land_v10
land surface velocity v at 10m [m/s]
Definition: mod_land_vars.F90:92
scale_land_grid_cartesc_index::lke
integer, public lke
Definition: scale_land_grid_cartesC_index.F90:41
scale_landuse
module LANDUSE
Definition: scale_landuse.F90:19
scale_const::const_dice
real(rp), parameter, public const_dice
density of ice [kg/m3]
Definition: scale_const.F90:83
mod_land_vars::land_t2
real(rp), dimension(:,:), allocatable, public land_t2
land surface temperature at 2m [K]
Definition: mod_land_vars.F90:93
scale_const::const_undef
real(rp), public const_undef
Definition: scale_const.F90:41
scale_land_grid_cartesc_index::lks
integer, public lks
Definition: scale_land_grid_cartesC_index.F90:40
scale_file_cartesc
module file / cartesianC
Definition: scale_file_cartesC.F90:11
scale_atmos_hydrometeor::cv_water
real(rp), public cv_water
CV for water [J/kg/K].
Definition: scale_atmos_hydrometeor.F90:132
mod_land_vars::land_sflx_qtrc
real(rp), dimension(:,:,:), allocatable, public land_sflx_qtrc
land surface tracer flux [kg/m2/s]
Definition: mod_land_vars.F90:90
scale_atmos_hydrometeor::cv_ice
real(rp), public cv_ice
CV for ice [J/kg/K].
Definition: scale_atmos_hydrometeor.F90:134
scale_land_grid_cartesc_index::lka
integer, public lka
Definition: scale_land_grid_cartesC_index.F90:36
scale_land_grid_cartesc_real::land_grid_cartesc_real_area
real(rp), dimension(:,:), allocatable, public land_grid_cartesc_real_area
area of grid cell
Definition: scale_land_grid_cartesC_real.F90:35
scale_landuse::landuse_pft_nmin
integer, parameter, public landuse_pft_nmin
minimum number of PFT type
Definition: scale_landuse.F90:62
scale_monitor
module MONITOR
Definition: scale_monitor.F90:12