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_finalize
 Finalize. 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 283 of file mod_land_vars.F90.

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

subroutine, public mod_land_vars::land_vars_finalize

Finalize.

Definition at line 596 of file mod_land_vars.F90.

596  use scale_landuse, only: &
600  use mod_land_admin, only: &
601  snow_type
602  implicit none
603  !---------------------------------------------------------------------------
604 
605  log_newline
606  log_info("LAND_vars_finalize",*) 'Finalize'
607 
608  select case ( snow_type )
609  case ( 'NONE', 'OFF' )
610  snow_flag = .false.
611  case default
612  snow_flag = .true.
613  end select
614 
615  !$acc exit data delete(LAND_TEMP,LAND_WATER,LAND_ICE,LAND_SFC_TEMP,LAND_SFC_albedo)
616  deallocate( land_temp )
617  deallocate( land_water )
618  deallocate( land_ice )
619  deallocate( land_sfc_temp )
620  deallocate( land_sfc_albedo )
621 
622  if ( snow_flag ) then
623  deallocate( snow_sfc_temp )
624  deallocate( snow_swe )
625  deallocate( snow_depth )
626  deallocate( snow_dzero )
627  deallocate( snow_nosnowsec )
628  end if
629 
630  !$acc exit data delete(LAND_TEMP_t,LAND_WATER_t,LAND_ICE_t)
631  deallocate( land_temp_t )
632  deallocate( land_water_t )
633  deallocate( land_ice_t )
634 
635  !$acc exit data delete(LAND_SFLX_GH,LAND_SFLX_water,LAND_SFLX_ENGI)
636  deallocate( land_sflx_gh )
637  deallocate( land_sflx_water )
638  deallocate( land_sflx_engi )
639 
640  !$acc exit data delete(LAND_RUNOFF,LAND_RUNOFF_ENGI)
641  deallocate( land_runoff )
642  deallocate( land_runoff_engi )
643 
644  !$acc exit data delete(LAND_SFLX_MW,LAND_SFLX_MU,LAND_SFLX_MV,LAND_SFLX_SH,LAND_SFLX_LH,LAND_SFLX_QTRC)
645  deallocate( land_sflx_mw )
646  deallocate( land_sflx_mu )
647  deallocate( land_sflx_mv )
648  deallocate( land_sflx_sh )
649  deallocate( land_sflx_lh )
650  deallocate( land_sflx_qtrc )
651 
652  !$acc exit data delete(LAND_U10,LAND_V10,LAND_T2,LAND_Q2)
653  deallocate( land_u10 )
654  deallocate( land_v10 )
655  deallocate( land_t2 )
656  deallocate( land_q2 )
657 
658  !$acc exit data delete(LAND_Ustar,LAND_Tstar,LAND_Qstar,LAND_Wstar,LAND_RLmo)
659  deallocate( land_ustar )
660  deallocate( land_tstar )
661  deallocate( land_qstar )
662  deallocate( land_wstar )
663  deallocate( land_rlmo )
664  if ( snow_flag ) then
665  !$acc exit data delete(SOIL_Ustar,SOIL_Tstar,SOIL_Qstar,SOIL_Wstar,SOIL_RLmo)
666  deallocate( soil_ustar )
667  deallocate( soil_tstar )
668  deallocate( soil_qstar )
669  deallocate( soil_wstar )
670  deallocate( soil_rlmo )
671  end if
672  if ( snow_flag ) then
673  deallocate( snow_ustar )
674  deallocate( snow_tstar )
675  deallocate( snow_qstar )
676  deallocate( snow_wstar )
677  deallocate( snow_rlmo )
678  end if
679 
680  !$acc exit data delete(ATMOS_TEMP,ATMOS_PRES,ATMOS_W,ATMOS_U,ATMOS_V,ATMOS_DENS,ATMOS_QV,ATMOS_PBL,ATMOS_SFC_DENS,ATMOS_SFC_PRES,ATMOS_SFLX_rad_dn,ATMOS_cosSZA,ATMOS_SFLX_water,ATMOS_SFLX_ENGI)
681  deallocate( atmos_temp )
682  deallocate( atmos_pres )
683  deallocate( atmos_w )
684  deallocate( atmos_u )
685  deallocate( atmos_v )
686  deallocate( atmos_dens )
687  deallocate( atmos_qv )
688  deallocate( atmos_pbl )
689  deallocate( atmos_sfc_dens )
690  deallocate( atmos_sfc_pres )
691  deallocate( atmos_sflx_rad_dn )
692  deallocate( atmos_cossza )
693  deallocate( atmos_sflx_water )
694  deallocate( atmos_sflx_engi )
695 
696  !$acc exit data delete(LAND_PROPERTY)
697  deallocate( land_property )
698 
699  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, land_ice, land_ice_t, 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_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, 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 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 705 of file mod_land_vars.F90.

705  use scale_time, only: &
707  use scale_file_cartesc, only: &
709  file_cartesc_check_coordinates
710  use mod_land_admin, only: &
711  land_do
712  implicit none
713 
714  character(len=19) :: timelabel
715  character(len=H_LONG) :: basename
716  !---------------------------------------------------------------------------
717 
718  call prof_rapstart('LND_Restart', 1)
719 
720  log_newline
721  log_info("LAND_vars_restart_open",*) 'Open restart file (LAND) '
722 
723  if ( land_do .and. land_restart_in_basename /= '' ) then
724 
725  if ( land_restart_in_postfix_timelabel ) then
726  call time_gettimelabel( timelabel )
727  basename = trim(land_restart_in_basename)//'_'//trim(timelabel)
728  else
729  basename = trim(land_restart_in_basename)
730  endif
731 
732  log_info("LAND_vars_restart_open",*) 'basename: ', trim(basename)
733 
734  call file_cartesc_open( basename, restart_fid, aggregate=land_restart_in_aggregate )
735 
736  if ( land_restart_in_check_coordinates ) then
737  call file_cartesc_check_coordinates( restart_fid, land=.true. )
738  end if
739 
740  else
741  log_info("LAND_vars_restart_open",*) 'restart file for land is not specified.'
742  endif
743 
744  call prof_rapend('LND_Restart', 1)
745 
746  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, scale_prof::prof_rapend(), scale_prof::prof_rapstart(), 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 752 of file mod_land_vars.F90.

752  use scale_prc, only: &
753  prc_abort
754  use scale_file, only: &
756  use scale_file_cartesc, only: &
757  file_cartesc_read, &
759  implicit none
760  !---------------------------------------------------------------------------
761 
762  call prof_rapstart('LND_Restart', 1)
763 
764  if ( restart_fid /= -1 ) then
765  log_newline
766  log_info("LAND_vars_restart_read",*) 'Read from restart file (LAND) '
767 
768  call file_cartesc_read( restart_fid, var_name(i_temp), 'LXY', & ! [IN]
769  land_temp(:,:,:) ) ! [OUT]
770  call file_cartesc_read( restart_fid, var_name(i_water), 'LXY', & ! [IN]
771  land_water(:,:,:) ) ! [OUT]
772  call file_cartesc_read( restart_fid, var_name(i_ice), 'LXY', & ! [IN]
773  land_ice(:,:,:), & ! [OUT]
774  allow_missing = .true. ) ! [IN]
775  call file_cartesc_read( restart_fid, var_name(i_sfc_temp), 'XY', & ! [IN]
776  land_sfc_temp(:,:) ) ! [OUT]
777  call file_cartesc_read( restart_fid, var_name(i_sfc_alb_ir_dir), 'XY', & ! [IN]
778  land_sfc_albedo(:,:,i_r_direct ,i_r_ir ) ) ! [OUT]
779  call file_cartesc_read( restart_fid, var_name(i_sfc_alb_ir_dif), 'XY', & ! [IN]
780  land_sfc_albedo(:,:,i_r_diffuse,i_r_ir ) ) ! [OUT]
781  call file_cartesc_read( restart_fid, var_name(i_sfc_alb_nir_dir), 'XY', & ! [IN]
782  land_sfc_albedo(:,:,i_r_direct ,i_r_nir) ) ! [OUT]
783  call file_cartesc_read( restart_fid, var_name(i_sfc_alb_nir_dif), 'XY', & ! [IN]
784  land_sfc_albedo(:,:,i_r_diffuse,i_r_nir) ) ! [OUT]
785  call file_cartesc_read( restart_fid, var_name(i_sfc_alb_vis_dir), 'XY', & ! [IN]
786  land_sfc_albedo(:,:,i_r_direct ,i_r_vis) ) ! [OUT]
787  call file_cartesc_read( restart_fid, var_name(i_sfc_alb_vis_dif), 'XY', & ! [IN]
788  land_sfc_albedo(:,:,i_r_diffuse,i_r_vis) ) ! [OUT]
789 
790  if ( snow_flag ) then
791  call file_cartesc_read( restart_fid, var_name(i_snow_sfc_temp), 'XY', & ! [OUT]
792  snow_sfc_temp(:,:) ) ! [IN]
793  call file_cartesc_read( restart_fid, var_name(i_snow_swe), 'XY', & ! [OUT]
794  snow_swe(:,:) ) ! [IN]
795  call file_cartesc_read( restart_fid, var_name(i_snow_depth), 'XY', & ! [OUT]
796  snow_depth(:,:) ) ! [IN]
797  call file_cartesc_read( restart_fid, var_name(i_snow_dzero), 'XY', & ! [OUT]
798  snow_dzero(:,:) ) ! [IN]
799  call file_cartesc_read( restart_fid, var_name(i_snow_nosnowsec), 'XY', & ! [OUT]
800  snow_nosnowsec(:,:) ) ! [IN]
801  end if
802 
803  if( file_get_aggregate(restart_fid) ) call file_cartesc_flush( restart_fid ) ! commit all pending read requests
804 
805  !$acc update device(LAND_TEMP,LAND_WATER,LAND_ICE,LAND_SFC_TEMP,LAND_SFC_albedo)
806 
807  call land_vars_check( force = .true. )
808  else
809  log_error("LAND_vars_restart_read",*) 'invalid restart file ID for land.'
810  call prc_abort
811  endif
812 
813  call prof_rapend('LND_Restart', 1)
814 
815  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(), scale_prof::prof_rapend(), scale_prof::prof_rapstart(), 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 821 of file mod_land_vars.F90.

821  use scale_file_history, only: &
822  file_history_in
823  use scale_atmos_hydrometeor, only: &
824  i_qv
825  implicit none
826 
827  real(RP) :: LAND_WATERDS(LKMAX,LIA,LJA)
828  integer :: k, i, j
829  !---------------------------------------------------------------------------
830 
831  call prof_rapstart('LND_History', 1)
832 
833 
834  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) )
835  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) )
836  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) )
837  !$acc data create(LAND_WATERDS)
838  !$acc kernels
839  do j = ljs, lje
840  do i = lis, lie
841  do k = 1, lkmax
842  land_waterds(k,i,j) = land_water(k,i,j) / land_property(i,j,i_waterlimit)
843  end do
844  end do
845  end do
846  !$acc end kernels
847  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) )
848  !$acc end data
849 
850  call file_history_in( land_sfc_temp(:,:), var_name(i_sfc_temp), &
851  var_desc(i_sfc_temp), var_unit(i_sfc_temp), standard_name=var_stdn(i_sfc_temp) )
852  call file_history_in( land_sfc_albedo(:,:,i_r_direct ,i_r_ir ), var_name(i_sfc_alb_ir_dir), &
853  var_desc(i_sfc_alb_ir_dir), var_unit(i_sfc_alb_ir_dir), standard_name=var_stdn(i_sfc_alb_ir_dir) )
854  call file_history_in( land_sfc_albedo(:,:,i_r_diffuse,i_r_ir ), var_name(i_sfc_alb_ir_dif), &
855  var_desc(i_sfc_alb_ir_dif), var_unit(i_sfc_alb_ir_dif), standard_name=var_stdn(i_sfc_alb_ir_dif) )
856  call file_history_in( land_sfc_albedo(:,:,i_r_direct ,i_r_nir), var_name(i_sfc_alb_nir_dir), &
857  var_desc(i_sfc_alb_nir_dir), var_unit(i_sfc_alb_nir_dir), standard_name=var_stdn(i_sfc_alb_nir_dir) )
858  call file_history_in( land_sfc_albedo(:,:,i_r_diffuse,i_r_nir), var_name(i_sfc_alb_nir_dif), &
859  var_desc(i_sfc_alb_nir_dif), var_unit(i_sfc_alb_nir_dif), standard_name=var_stdn(i_sfc_alb_nir_dif) )
860  call file_history_in( land_sfc_albedo(:,:,i_r_direct ,i_r_vis), var_name(i_sfc_alb_vis_dir), &
861  var_desc(i_sfc_alb_vis_dir), var_unit(i_sfc_alb_vis_dir), standard_name=var_stdn(i_sfc_alb_vis_dir) )
862  call file_history_in( land_sfc_albedo(:,:,i_r_diffuse,i_r_vis), var_name(i_sfc_alb_vis_dif), &
863  var_desc(i_sfc_alb_vis_dif), var_unit(i_sfc_alb_vis_dif), standard_name=var_stdn(i_sfc_alb_vis_dif) )
864  if ( snow_flag ) then
865  ! snow model
866  call file_history_in( snow_sfc_temp(:,:), var_name(i_snow_sfc_temp), &
867  var_desc(i_snow_sfc_temp), var_unit(i_snow_sfc_temp), standard_name=var_stdn(i_snow_sfc_temp) )
868  call file_history_in( snow_swe(:,:), var_name(i_snow_swe), &
869  var_desc(i_snow_swe), var_unit(i_snow_swe), standard_name=var_stdn(i_snow_swe) )
870  call file_history_in( snow_depth(:,:), var_name(i_snow_depth), &
871  var_desc(i_snow_depth), var_unit(i_snow_depth), standard_name=var_stdn(i_snow_depth) )
872  call file_history_in( snow_dzero(:,:), var_name(i_snow_dzero), &
873  var_desc(i_snow_dzero), var_unit(i_snow_dzero), standard_name=var_stdn(i_snow_dzero) )
874  call file_history_in( snow_nosnowsec(:,:), var_name(i_snow_nosnowsec), &
875  var_desc(i_snow_nosnowsec), var_unit(i_snow_nosnowsec), standard_name=var_stdn(i_snow_nosnowsec) )
876  end if
877 
878  call file_history_in( land_sflx_gh(:,:), 'LAND_SFLX_GH', &
879  'land subsurface heat flux (downward)', 'J/m2/s' )
880  call file_history_in( land_sflx_water(:,:), 'LAND_SFLX_water', &
881  'land surface water mass flux (downward)', 'kg/m2/s' )
882  call file_history_in( land_sflx_engi(:,:), 'LAND_SFLX_ENGI', &
883  'land surface internal energy flux (downward)', 'kg/m2/s' )
884 
885  call file_history_in( land_runoff(:,:), 'LAND_RUNOFF', &
886  'runoff water', 'kg/m2/s' )
887  call file_history_in( land_runoff_engi(:,:), 'LAND_RUNOFF_ENGI', &
888  'internal energy of runoff water', 'J/m2/s' )
889 
890  call file_history_in( land_sflx_mw(:,:), 'LAND_SFLX_MW', &
891  'land surface w-momentum flux (upward)', 'kg/m2/s' )
892  call file_history_in( land_sflx_mu(:,:), 'LAND_SFLX_MU', &
893  'land surface u-momentum flux (upward)', 'kg/m2/s' )
894  call file_history_in( land_sflx_mv(:,:), 'LAND_SFLX_MV', &
895  'land surface v-momentum flux (upward)', 'kg/m2/s' )
896  call file_history_in( land_sflx_sh(:,:), 'LAND_SFLX_SH', &
897  'land surface sensible heat flux (upward)', 'J/m2/s' )
898  call file_history_in( land_sflx_lh(:,:), 'LAND_SFLX_LH', &
899  'land surface latent heat flux (upward)', 'J/m2/s' )
900  if ( i_qv > 0 ) &
901  call file_history_in( land_sflx_qtrc(:,:,i_qv), 'LAND_SFLX_evap', &
902  'land surface water vapor flux (upward)', 'kg/m2/s' )
903 
904  call file_history_in( land_u10(:,:), 'LAND_U10', &
905  'land 10m x-wind', 'm/s' )
906  call file_history_in( land_v10(:,:), 'LAND_V10', &
907  'land 10m y-wind', 'm/s' )
908  call file_history_in( land_t2(:,:), 'LAND_T2', &
909  'land 2m temperature', 'K' )
910  call file_history_in( land_q2(:,:), 'LAND_Q2', &
911  'land 2m specific humidity', 'kg/kg' )
912 
913  call file_history_in( land_ustar(:,:), 'LAND_Ustar', &
914  'land friction velocity', 'm/s' )
915  call file_history_in( land_tstar(:,:), 'LAND_Tstar', &
916  'land temperature scale', 'K' )
917  call file_history_in( land_qstar(:,:), 'LAND_Qstar', &
918  'land moisture scale', 'kg/kg' )
919  call file_history_in( land_wstar(:,:), 'LAND_Wstar', &
920  'land convective velocity scale', 'm/s' )
921  call file_history_in( land_rlmo(:,:), 'LAND_RLmo', &
922  'land inversed Obukhov length', '1/m' )
923  if ( snow_flag ) then
924  ! soil
925  call file_history_in( soil_ustar(:,:), 'SOIL_Ustar', &
926  'soil friction velocity', 'm/s' )
927  call file_history_in( soil_tstar(:,:), 'SOIL_Tstar', &
928  'soil temperature scale', 'K' )
929  call file_history_in( soil_qstar(:,:), 'SOIL_Qstar', &
930  'soil moisture scale', 'kg/kg' )
931  call file_history_in( soil_wstar(:,:), 'SOIL_Wstar', &
932  'soil convective velocity scale', 'm/s' )
933  call file_history_in( soil_rlmo(:,:), 'SOIL_RLmo', &
934  'soil inversed Obukhov length', '1/m' )
935  ! snow pack
936  call file_history_in( snow_ustar(:,:), 'SNOW_Ustar', &
937  'snow friction velocity', 'm/s' )
938  call file_history_in( snow_tstar(:,:), 'SNOW_Tstar', &
939  'snow temperature scale', 'K' )
940  call file_history_in( snow_qstar(:,:), 'SNOW_Qstar', &
941  'snow moisture scale', 'kg/kg' )
942  call file_history_in( snow_wstar(:,:), 'SNOW_Wstar', &
943  'snow convective velocity scale', 'm/s' )
944  call file_history_in( snow_rlmo(:,:), 'SNOW_RLmo', &
945  'snow inversed Obukhov length', '1/m' )
946  end if
947 
948  call prof_rapend ('LND_History', 1)
949 
950  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 956 of file mod_land_vars.F90.

956  use scale_const, only: &
957  dwatr => const_dwatr, &
958  dice => const_dice
959  use scale_atmos_hydrometeor, only: &
960  cv_water, &
961  cv_ice, &
962  lhf
963  use scale_monitor, only: &
964  monitor_put
965  implicit none
966 
967  real(RP) :: WORK3D(LKA,LIA,LJA)
968  real(RP) :: WORK2D(LIA,LJA)
969 
970  integer :: k, i, j
971  !---------------------------------------------------------------------------
972 
973  !$acc data create(WORK3D,WORK2D)
974 
975  call monitor_put( monit_id(im_temp), land_temp(:,:,:) )
976  if ( monit_id(im_water) > 0 ) then
977  !$omp parallel do
978  !$acc kernels
979  do j = ljs, lje
980  do i = lis, lie
981  do k = lks, lke
982  work3d(k,i,j) = land_water(k,i,j) * dwatr
983  end do
984  end do
985  end do
986  !$acc end kernels
987  call monitor_put( monit_id(im_water), work3d(:,:,:) )
988  end if
989  if ( monit_id(im_ice) > 0 ) then
990  !$omp parallel do
991  !$acc kernels
992  do j = ljs, lje
993  do i = lis, lie
994  do k = lks, lke
995  work3d(k,i,j) = land_ice(k,i,j) * dice
996  end do
997  end do
998  end do
999  !$acc end kernels
1000  call monitor_put( monit_id(im_ice), work3d(:,:,:) )
1001  end if
1002 
1003 
1004  ! mass budget
1005  call monitor_put( monit_id(im_sfc), land_sflx_water(:,:) )
1006  call monitor_put( monit_id(im_roff), land_runoff(:,:) )
1007  if ( monit_id(im_masflx) > 0 ) then
1008  !$omp parallel do
1009  !$acc kernels
1010  do j = ljs, lje
1011  do i = lis, lie
1012  work2d(i,j) = land_sflx_water(i,j) - land_runoff(i,j)
1013  end do
1014  end do
1015  !$acc end kernels
1016  call monitor_put( monit_id(im_masflx), work2d(:,:) )
1017  end if
1018 
1019  ! energy budget
1020  if ( monit_id(im_engi) > 0 ) then
1021  !$omp parallel do
1022  !$acc kernels
1023  do j = ljs, lje
1024  do i = lis, lie
1025  do k = lks, lke
1026  work3d(k,i,j) = ( land_property(i,j,i_heatcapacity) * ( 1.0_rp - land_property(i,j,i_waterlimit) ) & ! soil particles
1027  + cv_water * dwatr * land_water(k,i,j) & ! land water
1028  + cv_ice * dice * land_ice(k,i,j) & ! land ice
1029  ) * land_temp(k,i,j) &
1030  - lhf * dice * land_ice(k,i,j)
1031  end do
1032  end do
1033  end do
1034  !$acc end kernels
1035  call monitor_put( monit_id(im_engi), work3d(:,:,:) )
1036  end if
1037  if ( monit_id(im_w_engi) > 0 ) then
1038  !$omp parallel do
1039  !$acc kernels
1040  do j = ljs, lje
1041  do i = lis, lie
1042  do k = lks, lke
1043  work3d(k,i,j) = cv_water * dwatr * land_water(k,i,j) * land_temp(k,i,j)
1044  end do
1045  end do
1046  end do
1047  !$acc end kernels
1048  call monitor_put( monit_id(im_w_engi), work3d(:,:,:) )
1049  end if
1050  if ( monit_id(im_i_engi) > 0 ) then
1051  !$omp parallel do
1052  !$acc kernels
1053  do j = ljs, lje
1054  do i = lis, lie
1055  do k = lks, lke
1056  work3d(k,i,j) = ( cv_ice * land_temp(k,i,j) - lhf ) * dice * land_ice(k,i,j)
1057  end do
1058  end do
1059  end do
1060  !$acc end kernels
1061  call monitor_put( monit_id(im_i_engi), work3d(:,:,:) )
1062  end if
1063 
1064 
1065  call monitor_put( monit_id(im_engsfc_gh), land_sflx_gh(:,:) )
1066  call monitor_put( monit_id(im_engsfc_ei), land_sflx_engi(:,:) )
1067  call monitor_put( monit_id(im_roff_ei), land_runoff_engi(:,:) )
1068  if ( monit_id(im_engflx) > 0 ) then
1069  !$omp parallel do
1070  !$acc kernels
1071  do j = ljs, lje
1072  do i = lis, lie
1073  work2d(i,j) = land_sflx_gh(i,j) + land_sflx_engi(i,j) &
1074  - land_runoff_engi(i,j)
1075  end do
1076  end do
1077  !$acc end kernels
1078  call monitor_put( monit_id(im_engflx), work2d(:,:) )
1079  end if
1080 
1081  !$acc end data
1082 
1083  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 1089 of file mod_land_vars.F90.

1089  use scale_statistics, only: &
1091  statistics_total
1092  use scale_land_grid_cartesc_real, only: &
1097  use scale_landuse, only: &
1099  implicit none
1100  logical, intent(in), optional :: force
1101  logical :: check
1102  !---------------------------------------------------------------------------
1103 
1104  if ( present(force) ) then
1105  check = force
1106  else
1107  check = land_vars_checkrange
1108  end if
1109 
1110  if ( check ) then
1111  call valcheck( lka, lks, lke, lia, lis, lie, lja, ljs, lje, &
1112  land_temp(:,:,:), 0.0_rp, 1000.0_rp, &
1113  var_name(i_temp), __file__, __line__, &
1114  mask = landuse_exists_land(:,:) )
1115  call valcheck( lka, lks, lke, lia, lis, lie, lja, ljs, lje, &
1116  land_water(:,:,:), 0.0_rp, 1.0_rp, &
1117  var_name(i_water), __file__, __line__, &
1118  mask = landuse_exists_land(:,:) )
1119  call valcheck( lka, lks, lke, lia, lis, lie, lja, ljs, lje, &
1120  land_ice(:,:,:), 0.0_rp, 1.0_rp, &
1121  var_name(i_ice), __file__, __line__, &
1122  mask = landuse_exists_land(:,:) )
1123  call valcheck( lia, lis, lie, lja, ljs, lje, &
1124  land_sfc_temp(:,:), 0.0_rp, 1000.0_rp, &
1125  var_name(i_sfc_temp), __file__, __line__, &
1126  mask = landuse_exists_land(:,:) )
1127  call valcheck( lia, lis, lie, lja, ljs, lje, &
1128  land_sfc_albedo(:,:,i_r_direct ,i_r_ir ), 0.0_rp, 2.0_rp, &
1129  var_name(i_sfc_alb_ir_dir ), __file__, __line__, &
1130  mask = landuse_exists_land(:,:) )
1131  call valcheck( lia, lis, lie, lja, ljs, lje, &
1132  land_sfc_albedo(:,:,i_r_diffuse,i_r_ir ), 0.0_rp, 2.0_rp, &
1133  var_name(i_sfc_alb_ir_dif ), __file__, __line__, &
1134  mask = landuse_exists_land(:,:) )
1135  call valcheck( lia, lis, lie, lja, ljs, lje, &
1136  land_sfc_albedo(:,:,i_r_direct ,i_r_nir), 0.0_rp, 2.0_rp, &
1137  var_name(i_sfc_alb_nir_dir), __file__, __line__, &
1138  mask = landuse_exists_land(:,:) )
1139  call valcheck( lia, lis, lie, lja, ljs, lje, &
1140  land_sfc_albedo(:,:,i_r_diffuse,i_r_nir), 0.0_rp, 2.0_rp, &
1141  var_name(i_sfc_alb_nir_dif), __file__, __line__, &
1142  mask = landuse_exists_land(:,:) )
1143  call valcheck( lia, lis, lie, lja, ljs, lje, &
1144  land_sfc_albedo(:,:,i_r_direct ,i_r_vis), 0.0_rp, 2.0_rp, &
1145  var_name(i_sfc_alb_vis_dir), __file__, __line__, &
1146  mask = landuse_exists_land(:,:) )
1147  call valcheck( lia, lis, lie, lja, ljs, lje, &
1148  land_sfc_albedo(:,:,i_r_diffuse,i_r_vis), 0.0_rp, 2.0_rp, &
1149  var_name(i_sfc_alb_vis_dif), __file__, __line__, &
1150  mask = landuse_exists_land(:,:) )
1151 
1152  if ( snow_flag ) then
1153  call valcheck( lia, lis, lie, lja, ljs, lje, &
1154  snow_sfc_temp(:,:), 0.0_rp, 1000.0_rp, &
1155  var_name(i_snow_sfc_temp), __file__, __line__, &
1156  mask = landuse_exists_land(:,:) )
1157  call valcheck( lia, lis, lie, lja, ljs, lje, &
1158  snow_swe(:,:), 0.0_rp, 1000.0_rp, &
1159  var_name(i_snow_swe), __file__, __line__, &
1160  mask = landuse_exists_land(:,:) )
1161  call valcheck( lia, lis, lie, lja, ljs, lje, &
1162  snow_depth(:,:), 0.0_rp, 1000.0_rp, &
1163  var_name(i_snow_depth), __file__, __line__, &
1164  mask = landuse_exists_land(:,:) )
1165 
1166  call valcheck( lia, lis, lie, lja, ljs, lje, &
1167  snow_dzero(:,:), 0.0_rp, 1000.0_rp, &
1168  var_name(i_snow_dzero), __file__, __line__, &
1169  mask = landuse_exists_land(:,:) )
1170  endif
1171 
1172  end if
1173 
1174  if ( present(force) ) then
1175  check = force
1176  else
1177  check = statistics_checktotal
1178  end if
1179 
1180  if ( check ) then
1181 
1182  ! 3D
1183  call statistics_total( lka, lks, lke, lia, lis, lie, lja, ljs, lje, &
1184  land_temp(:,:,:), var_name(i_temp), & ! (in)
1185  land_grid_cartesc_real_vol(:,:,:), & ! (in)
1187  call statistics_total( lka, lks, lke, lia, lis, lie, lja, ljs, lje, &
1188  land_water(:,:,:), var_name(i_water), & ! (in)
1189  land_grid_cartesc_real_vol(:,:,:), & ! (in)
1191  call statistics_total( lka, lks, lke, lia, lis, lie, lja, ljs, lje, &
1192  land_ice(:,:,:), var_name(i_ice), & ! (in)
1193  land_grid_cartesc_real_vol(:,:,:), & ! (in)
1195 
1196  ! 2D
1197  call statistics_total( lia, lis, lie, lja, ljs, lje, & ! [IN]
1198  land_sfc_temp(:,:), var_name(i_sfc_temp), & ! [IN]
1199  land_grid_cartesc_real_area(:,:), & ! [IN]
1201  call statistics_total( lia, lis, lie, lja, ljs, lje, & ! [IN]
1202  land_sfc_albedo(:,:,i_r_direct ,i_r_ir ), var_name(i_sfc_alb_ir_dir), & ! [IN]
1203  land_grid_cartesc_real_area(:,:), & ! [IN]
1205  call statistics_total( lia, lis, lie, lja, ljs, lje, & ! [IN]
1206  land_sfc_albedo(:,:,i_r_diffuse,i_r_ir ), var_name(i_sfc_alb_ir_dif), & ! [IN]
1207  land_grid_cartesc_real_area(:,:), & ! [IN]
1209  call statistics_total( lia, lis, lie, lja, ljs, lje, & ! [IN]
1210  land_sfc_albedo(:,:,i_r_direct ,i_r_nir), var_name(i_sfc_alb_nir_dir), & ! [IN]
1211  land_grid_cartesc_real_area(:,:), & ! [IN]
1213  call statistics_total( lia, lis, lie, lja, ljs, lje, & ! [IN]
1214  land_sfc_albedo(:,:,i_r_diffuse,i_r_nir), var_name(i_sfc_alb_nir_dif), & ! [IN]
1215  land_grid_cartesc_real_area(:,:), & ! [IN]
1217  call statistics_total( lia, lis, lie, lja, ljs, lje, & ! [IN]
1218  land_sfc_albedo(:,:,i_r_direct ,i_r_vis), var_name(i_sfc_alb_vis_dir), & ! [IN]
1219  land_grid_cartesc_real_area(:,:), & ! [IN]
1221  call statistics_total( lia, lis, lie, lja, ljs, lje, & ! [IN]
1222  land_sfc_albedo(:,:,i_r_diffuse,i_r_vis), var_name(i_sfc_alb_vis_dif), & ! [IN]
1223  land_grid_cartesc_real_area(:,:), & ! [IN]
1225 
1226  if ( snow_flag ) then
1227  call statistics_total( lia, lis, lie, lja, ljs, lje, &
1228  snow_sfc_temp(:,:), var_name(i_snow_sfc_temp), & ! (in)
1229  land_grid_cartesc_real_area(:,:), & ! (in)
1231  call statistics_total( lia, lis, lie, lja, ljs, lje, &
1232  snow_swe(:,:), var_name(i_snow_swe), & ! (in)
1233  land_grid_cartesc_real_area(:,:), & ! (in)
1235  call statistics_total( lia, lis, lie, lja, ljs, lje, &
1236  snow_depth(:,:), var_name(i_snow_depth), & ! (in)
1237  land_grid_cartesc_real_area(:,:), & ! (in)
1239  call statistics_total( lia, lis, lie, lja, ljs, lje, &
1240  snow_dzero(:,:), var_name(i_snow_dzero), & ! (in)
1241  land_grid_cartesc_real_area(:,:), & ! (in)
1243  call statistics_total( lia, lis, lie, lja, ljs, lje, &
1244  snow_nosnowsec(:,:), var_name(i_snow_nosnowsec), & ! (in)
1245  land_grid_cartesc_real_area(:,:), & ! (in)
1247  end if
1248 
1249  endif
1250 
1251  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_io::io_get_fname(), 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_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 1422 of file mod_land_vars.F90.

1422  implicit none
1423 
1424  real(RP), intent(in) :: WS(LIA,LJA) ! water saturation [fraction]
1425  logical, intent(in) :: critical ! is I_WaterCritical used?
1426 
1427  real(RP) :: VWC(LIA,LJA) ! volumetric water content [m3/m3]
1428 
1429  ! work
1430  integer :: i, j, num
1431  !---------------------------------------------------------------------------
1432 
1433  if( critical ) then
1434  num = i_watercritical
1435  else
1436  num = i_waterlimit
1437  end if
1438 
1439  !$acc kernels
1440  do j = ljs, lje
1441  do i = lis, lie
1442  vwc(i,j) = max( min( ws(i,j)*land_property(i,j,num), land_property(i,j,num) ), 0.0_rp )
1443  end do
1444  end do
1445  !$acc end kernels
1446 
1447  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 1453 of file mod_land_vars.F90.

1453  use scale_time, only: &
1455  use scale_file_cartesc, only: &
1457  use mod_land_admin, only: &
1458  land_do
1459  implicit none
1460 
1461  character(len=19) :: timelabel
1462  character(len=H_LONG) :: basename
1463  !---------------------------------------------------------------------------
1464 
1465  call prof_rapstart('LND_Restart', 1)
1466 
1467  if ( land_do .and. land_restart_out_basename /= '' ) then
1468 
1469  log_newline
1470  log_info("LAND_vars_restart_create",*) 'Create restart file (LAND) '
1471 
1472  if ( land_restart_out_postfix_timelabel ) then
1473  call time_gettimelabel( timelabel )
1474  basename = trim(land_restart_out_basename)//'_'//trim(timelabel)
1475  else
1476  basename = trim(land_restart_out_basename)
1477  endif
1478 
1479  log_info("LAND_vars_restart_create",*) 'basename: ', trim(basename)
1480 
1481  call file_cartesc_create( &
1482  basename, land_restart_out_title, land_restart_out_dtype, & ! [IN]
1483  restart_fid, & ! [OUT]
1484  aggregate=land_restart_out_aggregate ) ! [IN]
1485 
1486  endif
1487 
1488  call prof_rapend('LND_Restart', 1)
1489 
1490  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, scale_prof::prof_rapend(), scale_prof::prof_rapstart(), 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 1496 of file mod_land_vars.F90.

1496  use scale_file_cartesc, only: &
1498  implicit none
1499 
1500  call prof_rapstart('LND_Restart', 1)
1501 
1502  if ( restart_fid /= -1 ) then
1503  call file_cartesc_enddef( restart_fid ) ! [IN]
1504  endif
1505 
1506  call prof_rapend('LND_Restart', 1)
1507 
1508  return

References scale_file_cartesc::file_cartesc_enddef(), scale_prof::prof_rapend(), and scale_prof::prof_rapstart().

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

1514  use scale_file_cartesc, only: &
1516  implicit none
1517  !---------------------------------------------------------------------------
1518 
1519  call prof_rapstart('LND_Restart', 1)
1520 
1521  if ( restart_fid /= -1 ) then
1522  log_newline
1523  log_info("LAND_vars_restart_close",*) 'Close restart file (LAND) '
1524 
1525  call file_cartesc_close( restart_fid ) ! [IN]
1526 
1527  restart_fid = -1
1528  endif
1529 
1530  call prof_rapend('LND_Restart', 1)
1531 
1532  return

References scale_file_cartesc::file_cartesc_close(), scale_prof::prof_rapend(), and scale_prof::prof_rapstart().

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

1538  use scale_file_cartesc, only: &
1540  implicit none
1541  integer :: i
1542  !---------------------------------------------------------------------------
1543 
1544  call prof_rapstart('LND_Restart', 1)
1545 
1546  if ( restart_fid /= -1 ) then
1547 
1548  do i = i_temp, i_ice
1549  call file_cartesc_def_var( restart_fid, & ! [IN]
1550  var_name(i), var_desc(i), var_unit(i), & ! [IN]
1551  'LXY', land_restart_out_dtype, & ! [IN]
1552  var_id(i), & ! [OUT]
1553  standard_name=var_stdn(i) ) ! [IN]
1554  end do
1555  do i = i_sfc_temp, i_sfc_alb_vis_dif
1556  call file_cartesc_def_var( restart_fid, & ! [IN]
1557  var_name(i), var_desc(i), var_unit(i), & ! [IN]
1558  'XY', land_restart_out_dtype, & ! [IN]
1559  var_id(i), & ! [OUT]
1560  standard_name=var_stdn(i) ) ! [IN]
1561  end do
1562 
1563  if ( snow_flag ) then
1564  do i = i_snow_sfc_temp, i_snow_nosnowsec
1565  call file_cartesc_def_var( restart_fid, & ! [IN]
1566  var_name(i), var_desc(i), var_unit(i), & ! [IN]
1567  'XY', land_restart_out_dtype, & ! [IN]
1568  var_id(i), & ! [OUT]
1569  standard_name=var_stdn(i) ) ! [IN]
1570  end do
1571  end if
1572 
1573  endif
1574 
1575  call prof_rapend('LND_Restart', 1)
1576 
1577  return

References scale_file_cartesc::file_cartesc_def_var(), land_restart_out_dtype, scale_prof::prof_rapend(), scale_prof::prof_rapstart(), 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 1583 of file mod_land_vars.F90.

1583  use scale_file_cartesc, only: &
1584  file_cartesc_write_var
1585  implicit none
1586  !---------------------------------------------------------------------------
1587 
1588  call prof_rapstart('LND_Restart', 1)
1589 
1590  if ( restart_fid /= -1 ) then
1591 
1592  call land_vars_check( force = .true. )
1593 
1594  call file_cartesc_write_var( restart_fid, var_id(i_temp), & ! [IN]
1595  land_temp(:,:,:), & ! [IN]
1596  var_name(i_temp), 'LXY', fill_halo=.true. ) ! [IN]
1597  call file_cartesc_write_var( restart_fid, var_id(i_water), & ! [IN]
1598  land_water(:,:,:), & ! [IN]
1599  var_name(i_water), 'LXY', fill_halo=.true. ) ! [IN]
1600  call file_cartesc_write_var( restart_fid, var_id(i_ice), & ! [IN]
1601  land_ice(:,:,:), & ! [IN]
1602  var_name(i_ice), 'LXY', fill_halo=.true. ) ! [IN]
1603  call file_cartesc_write_var( restart_fid, var_id(i_sfc_temp), & ! [IN]
1604  land_sfc_temp(:,:), & ! [IN]
1605  var_name(i_sfc_temp), 'XY', fill_halo=.true. ) ! [IN]
1606  call file_cartesc_write_var( restart_fid, var_id(i_sfc_alb_ir_dir), & ! [IN]
1607  land_sfc_albedo(:,:,i_r_direct ,i_r_ir ), & ! [IN]
1608  var_name(i_sfc_alb_ir_dir), 'XY', fill_halo=.true. ) ! [IN]
1609  call file_cartesc_write_var( restart_fid, var_id(i_sfc_alb_ir_dif), & ! [IN]
1610  land_sfc_albedo(:,:,i_r_diffuse,i_r_ir ), & ! [IN]
1611  var_name(i_sfc_alb_ir_dif), 'XY', fill_halo=.true. ) ! [IN]
1612  call file_cartesc_write_var( restart_fid, var_id(i_sfc_alb_nir_dir), & ! [IN]
1613  land_sfc_albedo(:,:,i_r_direct ,i_r_nir), & ! [IN]
1614  var_name(i_sfc_alb_nir_dir), 'XY', fill_halo=.true. ) ! [IN]
1615  call file_cartesc_write_var( restart_fid, var_id(i_sfc_alb_nir_dif), & ! [IN]
1616  land_sfc_albedo(:,:,i_r_diffuse,i_r_nir), & ! [IN]
1617  var_name(i_sfc_alb_nir_dif), 'XY', fill_halo=.true. ) ! [IN]
1618  call file_cartesc_write_var( restart_fid, var_id(i_sfc_alb_vis_dir), & ! [IN]
1619  land_sfc_albedo(:,:,i_r_direct ,i_r_vis), & ! [IN]
1620  var_name(i_sfc_alb_vis_dir), 'XY', fill_halo=.true. ) ! [IN]
1621  call file_cartesc_write_var( restart_fid, var_id(i_sfc_alb_vis_dif), & ! [IN]
1622  land_sfc_albedo(:,:,i_r_diffuse,i_r_vis), & ! [IN]
1623  var_name(i_sfc_alb_vis_dif), 'XY', fill_halo=.true. ) ! [IN]
1624 
1625  if ( snow_flag ) then
1626  call file_cartesc_write_var( restart_fid, var_id(i_snow_sfc_temp), snow_sfc_temp(:,:), &
1627  var_name(i_snow_sfc_temp), 'XY', fill_halo=.true. )
1628  call file_cartesc_write_var( restart_fid, var_id(i_snow_swe), snow_swe(:,:), &
1629  var_name(i_snow_swe), 'XY', fill_halo=.true. )
1630  call file_cartesc_write_var( restart_fid, var_id(i_snow_depth), snow_depth(:,:), &
1631  var_name(i_snow_depth), 'XY', fill_halo=.true. )
1632  call file_cartesc_write_var( restart_fid, var_id(i_snow_dzero), snow_dzero(:,:), &
1633  var_name(i_snow_dzero), 'XY', fill_halo=.true. )
1634  call file_cartesc_write_var( restart_fid, var_id(i_snow_nosnowsec), snow_nosnowsec(:,:), &
1635  var_name(i_snow_nosnowsec), 'XY', fill_halo=.true. )
1636  end if
1637 
1638  endif
1639 
1640  call prof_rapend('LND_Restart', 1)
1641 
1642  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, scale_prof::prof_rapend(), scale_prof::prof_rapstart(), 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 50 of file mod_land_vars.F90.

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

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

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

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

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

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

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

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

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

66  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_finalize(), 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 69 of file mod_land_vars.F90.

69  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_finalize(), 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 70 of file mod_land_vars.F90.

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

Referenced by mod_land_driver::land_driver_calc_tendency(), mod_mkinit::land_setup(), land_vars_check(), land_vars_finalize(), 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_dzero

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

snow depth at melting point [m]

Definition at line 72 of file mod_land_vars.F90.

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

Referenced by mod_land_driver::land_driver_calc_tendency(), mod_mkinit::land_setup(), land_vars_check(), land_vars_finalize(), 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 73 of file mod_land_vars.F90.

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

Referenced by mod_land_driver::land_driver_calc_tendency(), mod_mkinit::land_setup(), land_vars_check(), land_vars_finalize(), 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 76 of file mod_land_vars.F90.

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

Referenced by mod_land_driver::land_driver_calc_tendency(), mod_land_driver::land_driver_update(), land_vars_finalize(), 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 77 of file mod_land_vars.F90.

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

Referenced by mod_land_driver::land_driver_calc_tendency(), mod_land_driver::land_driver_update(), land_vars_finalize(), 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 78 of file mod_land_vars.F90.

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

Referenced by mod_land_driver::land_driver_calc_tendency(), mod_land_driver::land_driver_update(), land_vars_finalize(), 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 81 of file mod_land_vars.F90.

81  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_finalize(), 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 82 of file mod_land_vars.F90.

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

Referenced by mod_land_driver::land_driver_calc_tendency(), mod_land_driver::land_driver_update(), land_vars_finalize(), 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 83 of file mod_land_vars.F90.

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

Referenced by mod_land_driver::land_driver_calc_tendency(), mod_land_driver::land_driver_update(), land_vars_finalize(), 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 86 of file mod_land_vars.F90.

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

Referenced by mod_land_driver::land_driver_calc_tendency(), mod_land_driver::land_surface_set(), land_vars_finalize(), 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 87 of file mod_land_vars.F90.

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

Referenced by mod_land_driver::land_driver_calc_tendency(), mod_land_driver::land_surface_set(), land_vars_finalize(), 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 88 of file mod_land_vars.F90.

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

Referenced by mod_land_driver::land_driver_calc_tendency(), mod_land_driver::land_surface_set(), land_vars_finalize(), 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 89 of file mod_land_vars.F90.

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

Referenced by mod_land_driver::land_driver_calc_tendency(), mod_land_driver::land_surface_set(), land_vars_finalize(), 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 90 of file mod_land_vars.F90.

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

Referenced by mod_land_driver::land_driver_calc_tendency(), mod_land_driver::land_surface_set(), land_vars_finalize(), 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 91 of file mod_land_vars.F90.

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

Referenced by mod_land_driver::land_driver_calc_tendency(), mod_land_driver::land_surface_set(), land_vars_finalize(), 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 92 of file mod_land_vars.F90.

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

Referenced by mod_land_driver::land_driver_calc_tendency(), mod_land_driver::land_surface_set(), land_vars_finalize(), 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 93 of file mod_land_vars.F90.

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

Referenced by mod_land_driver::land_driver_calc_tendency(), mod_land_driver::land_surface_set(), land_vars_finalize(), 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 94 of file mod_land_vars.F90.

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

Referenced by mod_land_driver::land_driver_calc_tendency(), mod_land_driver::land_surface_set(), land_vars_finalize(), 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 95 of file mod_land_vars.F90.

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

Referenced by mod_land_driver::land_driver_calc_tendency(), mod_land_driver::land_surface_set(), land_vars_finalize(), 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 96 of file mod_land_vars.F90.

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

Referenced by mod_land_driver::land_driver_calc_tendency(), land_vars_finalize(), 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 97 of file mod_land_vars.F90.

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

Referenced by mod_land_driver::land_driver_calc_tendency(), land_vars_finalize(), 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 98 of file mod_land_vars.F90.

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

Referenced by mod_land_driver::land_driver_calc_tendency(), land_vars_finalize(), 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 99 of file mod_land_vars.F90.

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

Referenced by mod_land_driver::land_driver_calc_tendency(), land_vars_finalize(), 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 100 of file mod_land_vars.F90.

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

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

◆ soil_ustar

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

Definition at line 101 of file mod_land_vars.F90.

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

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

◆ soil_tstar

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

Definition at line 102 of file mod_land_vars.F90.

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

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

◆ soil_qstar

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

Definition at line 103 of file mod_land_vars.F90.

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

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

◆ soil_wstar

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

Definition at line 104 of file mod_land_vars.F90.

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

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

◆ soil_rlmo

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

Definition at line 105 of file mod_land_vars.F90.

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

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

◆ snow_ustar

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

Definition at line 106 of file mod_land_vars.F90.

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

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

◆ snow_tstar

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

Definition at line 107 of file mod_land_vars.F90.

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

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

◆ snow_qstar

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

Definition at line 108 of file mod_land_vars.F90.

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

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

◆ snow_wstar

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

Definition at line 109 of file mod_land_vars.F90.

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

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

◆ snow_rlmo

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

Definition at line 110 of file mod_land_vars.F90.

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

Referenced by mod_land_driver::land_driver_calc_tendency(), land_vars_finalize(), 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 112 of file mod_land_vars.F90.

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

Referenced by mod_land_driver::land_driver_update(), land_vars_finalize(), 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 113 of file mod_land_vars.F90.

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

Referenced by mod_land_driver::land_driver_update(), land_vars_finalize(), 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 117 of file mod_land_vars.F90.

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

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

◆ atmos_pres

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

Definition at line 118 of file mod_land_vars.F90.

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

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

◆ atmos_w

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

Definition at line 119 of file mod_land_vars.F90.

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

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

◆ atmos_u

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

Definition at line 120 of file mod_land_vars.F90.

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

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

◆ atmos_v

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

Definition at line 121 of file mod_land_vars.F90.

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

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

◆ atmos_dens

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

Definition at line 122 of file mod_land_vars.F90.

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

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

◆ atmos_qv

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

Definition at line 123 of file mod_land_vars.F90.

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

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

◆ atmos_pbl

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

Definition at line 124 of file mod_land_vars.F90.

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

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

◆ atmos_sfc_dens

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

Definition at line 125 of file mod_land_vars.F90.

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

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

◆ atmos_sfc_pres

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

Definition at line 126 of file mod_land_vars.F90.

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

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

◆ atmos_sflx_rad_dn

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

Definition at line 127 of file mod_land_vars.F90.

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

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

◆ atmos_cossza

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

Definition at line 128 of file mod_land_vars.F90.

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

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

◆ atmos_sflx_water

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

Definition at line 129 of file mod_land_vars.F90.

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

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

◆ atmos_sflx_engi

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

Definition at line 130 of file mod_land_vars.F90.

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

Referenced by mod_land_driver::land_driver_calc_tendency(), mod_land_driver::land_surface_get(), land_vars_finalize(), 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_property_in_filename

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

the file of land parameter table

Definition at line 138 of file mod_land_vars.F90.

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

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

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

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

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

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

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

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

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

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

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

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

151  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:350
scale_land_grid_cartesc_index::ljs
integer, public ljs
Definition: scale_land_grid_cartesC_index.F90:46
scale_tracer::qa
integer, public qa
Definition: scale_tracer.F90:35
scale_land_grid_cartesc_index::lia
integer, public lia
Definition: scale_land_grid_cartesC_index.F90:41
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:87
scale_land_grid_cartesc_index::lja
integer, public lja
Definition: scale_land_grid_cartesC_index.F90:45
scale_file_cartesc::file_cartesc_enddef
subroutine, public file_cartesc_enddef(fid)
Exit netCDF file define mode.
Definition: scale_file_cartesC.F90:964
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:3360
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:66
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:47
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:88
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:37
scale_landuse::landuse_exists_land
logical, dimension(:,:), allocatable, public landuse_exists_land
land calculation flag
Definition: scale_landuse.F90:51
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:39
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:81
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:86
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:89
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:136
scale_land_grid_cartesc_index::lie
integer, public lie
Definition: scale_land_grid_cartesC_index.F90:43
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:68
scale_file_cartesc::file_cartesc_close
subroutine, public file_cartesc_close(fid)
Close a netCDF file.
Definition: scale_file_cartesC.F90:1044
scale_landuse::landuse_pft_nmax
integer, public landuse_pft_nmax
number of plant functional type(PFT)
Definition: scale_landuse.F90:64
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:243
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:95
scale_atmos_hydrometeor::i_qv
integer, public i_qv
Definition: scale_atmos_hydrometeor.F90:93
scale_const::const_dwatr
real(rp), parameter, public const_dwatr
density of water [kg/m3]
Definition: scale_const.F90:89
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:38
mod_land_vars::land_sfc_temp
real(rp), dimension(:,:), allocatable, public land_sfc_temp
land surface skin temperature [K]
Definition: mod_land_vars.F90:65
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:796
scale_statistics::statistics_checktotal
logical, public statistics_checktotal
calc&report variable totals to logfile?
Definition: scale_statistics.F90:109
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:1018
scale_time::time_gettimelabel
subroutine, public time_gettimelabel(timelabel)
generate time label
Definition: scale_time.F90:93
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:92
scale_atmos_hydrometeor::lhf
real(rp), public lhf
latent heat of fusion for use [J/kg]
Definition: scale_atmos_hydrometeor.F90:146
scale_file::file_get_aggregate
logical function, public file_get_aggregate(fid)
Definition: scale_file.F90:6316
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:90
scale_file_cartesc::file_cartesc_open
subroutine, public file_cartesc_open(basename, fid, single, aggregate)
open a netCDF file for read
Definition: scale_file_cartesC.F90:760
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:93
scale_land_grid_cartesc_index::lke
integer, public lke
Definition: scale_land_grid_cartesC_index.F90:39
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:90
mod_land_vars::land_t2
real(rp), dimension(:,:), allocatable, public land_t2
land surface temperature at 2m [K]
Definition: mod_land_vars.F90:94
scale_const::const_undef
real(rp), public const_undef
Definition: scale_const.F90:43
scale_land_grid_cartesc_index::lks
integer, public lks
Definition: scale_land_grid_cartesC_index.F90:38
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:151
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:91
scale_atmos_hydrometeor::cv_ice
real(rp), public cv_ice
CV for ice [J/kg/K].
Definition: scale_atmos_hydrometeor.F90:153
scale_land_grid_cartesc_index::lka
integer, public lka
Definition: scale_land_grid_cartesC_index.F90:37
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:36
scale_landuse::landuse_pft_nmin
integer, parameter, public landuse_pft_nmin
minimum number of PFT type
Definition: scale_landuse.F90:63
scale_monitor
module MONITOR
Definition: scale_monitor.F90:12