SCALE-RM
Functions/Subroutines | Variables
mod_urban_vars Module Reference

module URBAN Variables More...

Functions/Subroutines

subroutine, public urban_vars_setup
 Setup. More...
 
subroutine, public urban_vars_restart_open
 Open urban restart file for read. More...
 
subroutine, public urban_vars_restart_read
 Read urban restart. More...
 
subroutine, public urban_vars_history
 History output set for urban variables. More...
 
subroutine, public urban_vars_monitor
 monitor output More...
 
subroutine, public urban_vars_check (force)
 Budget monitor for urban. More...
 
subroutine, public urban_vars_restart_create
 Create urban restart file. More...
 
subroutine, public urban_vars_restart_enddef
 Exit netCDF define mode. More...
 
subroutine, public urban_vars_restart_close
 Close restart file. More...
 
subroutine, public urban_vars_restart_def_var
 Define urban variables in restart file. More...
 
subroutine, public urban_vars_restart_write
 Write urban restart. More...
 

Variables

logical, public urban_restart_output = .false.
 Output restart file? More...
 
character(len=h_long), public urban_restart_in_basename = ''
 Basename of the input file. More...
 
logical, public urban_restart_in_aggregate
 Switch to use aggregate file. More...
 
logical, public urban_restart_in_postfix_timelabel = .false.
 Add timelabel to the basename of input file? More...
 
character(len=h_long), public urban_restart_out_basename = ''
 Basename of the output file. More...
 
logical, public urban_restart_out_aggregate
 Switch to use aggregate file. More...
 
logical, public urban_restart_out_postfix_timelabel = .true.
 Add timelabel to the basename of output file? More...
 
character(len=h_mid), public urban_restart_out_title = 'URBAN restart'
 Title of the output file. More...
 
character(len=h_short), public urban_restart_out_dtype = 'DEFAULT'
 REAL4 or REAL8. More...
 
real(rp), dimension(:,:,:), allocatable, public urban_trl
 
real(rp), dimension(:,:,:), allocatable, public urban_tbl
 
real(rp), dimension(:,:,:), allocatable, public urban_tgl
 
real(rp), dimension(:,:), allocatable, public urban_tr
 
real(rp), dimension(:,:), allocatable, public urban_tb
 
real(rp), dimension(:,:), allocatable, public urban_tg
 
real(rp), dimension(:,:), allocatable, public urban_tc
 
real(rp), dimension(:,:), allocatable, public urban_qc
 
real(rp), dimension(:,:), allocatable, public urban_uc
 
real(rp), dimension(:,:), allocatable, public urban_rainr
 
real(rp), dimension(:,:), allocatable, public urban_rainb
 
real(rp), dimension(:,:), allocatable, public urban_raing
 
real(rp), dimension(:,:), allocatable, public urban_sfc_temp
 
real(rp), dimension(:,:,:,:), allocatable, public urban_sfc_albedo
 
real(rp), dimension(:,:,:), allocatable, public urban_trl_t
 
real(rp), dimension(:,:,:), allocatable, public urban_tbl_t
 
real(rp), dimension(:,:,:), allocatable, public urban_tgl_t
 
real(rp), dimension(:,:), allocatable, public urban_tc_t
 
real(rp), dimension(:,:), allocatable, public urban_uc_t
 
real(rp), dimension(:,:), allocatable, public urban_qc_t
 
real(rp), dimension(:,:), allocatable, public urban_tr_t
 
real(rp), dimension(:,:), allocatable, public urban_tb_t
 
real(rp), dimension(:,:), allocatable, public urban_tg_t
 
real(rp), dimension(:,:), allocatable, public urban_rainr_t
 
real(rp), dimension(:,:), allocatable, public urban_rainb_t
 
real(rp), dimension(:,:), allocatable, public urban_raing_t
 
real(rp), dimension(:,:), allocatable, public urban_roff
 
real(rp), dimension(:,:), allocatable, public urban_sflx_mw
 
real(rp), dimension(:,:), allocatable, public urban_sflx_mu
 
real(rp), dimension(:,:), allocatable, public urban_sflx_mv
 
real(rp), dimension(:,:), allocatable, public urban_sflx_sh
 
real(rp), dimension(:,:), allocatable, public urban_sflx_lh
 
real(rp), dimension(:,:), allocatable, public urban_sflx_shex
 
real(rp), dimension(:,:), allocatable, public urban_sflx_qvex
 
real(rp), dimension(:,:,:), allocatable, public urban_sflx_qtrc
 
real(rp), dimension(:,:), allocatable, public urban_sflx_gh
 
real(rp), dimension(:,:), allocatable, public urban_z0m
 
real(rp), dimension(:,:), allocatable, public urban_z0h
 
real(rp), dimension(:,:), allocatable, public urban_z0e
 
real(rp), dimension(:,:), allocatable, public urban_zd
 
real(rp), dimension(:,:), allocatable, public urban_ah
 
real(rp), dimension(:,:), allocatable, public urban_ahl
 
real(rp), dimension(:,:), allocatable, public urban_ustar
 
real(rp), dimension(:,:), allocatable, public urban_tstar
 
real(rp), dimension(:,:), allocatable, public urban_qstar
 
real(rp), dimension(:,:), allocatable, public urban_wstar
 
real(rp), dimension(:,:), allocatable, public urban_rlmo
 
real(rp), dimension(:,:), allocatable, public urban_u10
 
real(rp), dimension(:,:), allocatable, public urban_v10
 
real(rp), dimension(:,:), allocatable, public urban_t2
 
real(rp), dimension(:,:), allocatable, public urban_q2
 
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_lw
 
real(rp), dimension(:,:,:), allocatable, public atmos_sflx_sw
 
real(rp), dimension(:,:), allocatable, public atmos_cossza
 
real(rp), dimension(:,:), allocatable, public atmos_sflx_water
 
real(rp), dimension(:,:), allocatable, public atmos_sflx_engi
 

Detailed Description

module URBAN Variables

Description
Container for urban variables
Author
Team SCALE
NAMELIST
  • PARAM_URBAN_VARS
    nametypedefault valuecomment
    URBAN_RESTART_IN_BASENAME character(len=H_LONG) '' Basename of the input file
    URBAN_RESTART_IN_AGGREGATE logical Switch to use aggregate file
    URBAN_RESTART_IN_POSTFIX_TIMELABEL logical .false. Add timelabel to the basename of input file?
    URBAN_RESTART_IN_CHECK_COORDINATES logical .true.
    URBAN_RESTART_OUTPUT logical .false. Output restart file?
    URBAN_RESTART_OUT_BASENAME character(len=H_LONG) '' Basename of the output file
    URBAN_RESTART_OUT_AGGREGATE logical Switch to use aggregate file
    URBAN_RESTART_OUT_POSTFIX_TIMELABEL logical .true. Add timelabel to the basename of output file?
    URBAN_RESTART_OUT_TITLE character(len=H_MID) 'URBAN restart' Title of the output file
    URBAN_RESTART_OUT_DTYPE character(len=H_SHORT) 'DEFAULT' REAL4 or REAL8
    URBAN_VARS_CHECKRANGE logical .false.

History Output
namedescriptionunitvariable
URBAN_AH urban parameter of anthropogenic sensible heat W/m2 URBAN_AH
URBAN_AHL urban parameter of anthropogenic latent heat W/m2 URBAN_AHL
URBAN_Q2 urban 2m specific humidity kg/kg URBAN_Q2
URBAN_Qstar urban moisture scale kg/kg URBAN_Qstar
URBAN_RLmo urban inversed Obukhov length 1/m URBAN_RLmo
URBAN_RUNOFF urban runoff water kg/m2/s URBAN_ROFF
URBAN_SFLX_GH urban grid average of subsurface heat flux (downward) W/m2 URBAN_SFLX_GH
URBAN_SFLX_LH urban grid average of latent heat flux (upward) W/m2 URBAN_SFLX_LH
URBAN_SFLX_MU urban grid average of u-momentum flux kg/m2/s URBAN_SFLX_MU
URBAN_SFLX_MV urban grid average of v-momentum flux kg/m2/s URBAN_SFLX_MV
URBAN_SFLX_MW urban grid average of w-momentum flux kg/m2/s URBAN_SFLX_MW
URBAN_SFLX_SH urban grid average of sensible heat flux (upward) W/m2 URBAN_SFLX_SH
URBAN_SFLX_evap urban grid average of water vapor flux (upward) kg/m2/s URBAN_SFLX_QTRC
URBAN_T2 urban 2m temprerature K URBAN_T2
URBAN_Tstar urban temperature scale K URBAN_Tstar
URBAN_U10 urban 10m x-wind m/s URBAN_U10
URBAN_Ustar urban friction velocity m/s URBAN_Ustar
URBAN_V10 urban 10m y-wind m/s URBAN_V10
URBAN_Wstar urban convective velocity scale m/s URBAN_Wstar
URBAN_Z0E urban parameter of rougness length for vapor m URBAN_Z0E
URBAN_Z0H urban parameter of rougness length for heat m URBAN_Z0H
URBAN_Z0M urban parameter of rougness length for momentum m URBAN_Z0M
URBAN_ZD urban parameter of displacement height m URBAN_ZD
URBAN_QC urban canopy humidity kg/kg URBAN_QC
URBAN_RAINB urban rain strage on wall kg/m2 URBAN_RAINB
URBAN_RAING urban rain strage on road kg/m2 URBAN_RAING
URBAN_RAINR urban rain strage on roof kg/m2 URBAN_RAINR
URBAN_SFC_ALB_IR_dif urban grid average of albedo for IR (diffuse) 1 URBAN_SFC_albedo
URBAN_SFC_ALB_IR_dir urban grid average of albedo for IR (direct) 1 URBAN_SFC_albedo
URBAN_SFC_ALB_NIR_dif urban grid average of albedo for NIR (diffuse) 1 URBAN_SFC_albedo
URBAN_SFC_ALB_NIR_dir urban grid average of albedo for NIR (direct) 1 URBAN_SFC_albedo
URBAN_SFC_ALB_VIS_dif urban grid average of albedo for VIS (diffuse) 1 URBAN_SFC_albedo
URBAN_SFC_ALB_VIS_dir urban grid average of albedo for VIS (direct) 1 URBAN_SFC_albedo
URBAN_SFC_TEMP urban grid average of temperature K URBAN_SFC_TEMP
URBAN_TB urban surface temperature of wall K URBAN_TB
URBAN_TBL urban temperature in layer of wall K URBAN_TBL
URBAN_TC urban canopy air temperature K URBAN_TC
URBAN_TG urban surface temperature of road K URBAN_TG
URBAN_TGL urban temperature in layer of road K URBAN_TGL
URBAN_TR urban surface temperature of roof K URBAN_TR
URBAN_TRL urban temperature in layer of roof K URBAN_TRL
URBAN_UC urban canopy wind m/s URBAN_UC

Function/Subroutine Documentation

◆ urban_vars_setup()

subroutine, public mod_urban_vars::urban_vars_setup

Setup.

Definition at line 304 of file mod_urban_vars.F90.

304  use scale_prc, only: &
305  prc_abort
306  use scale_const, only: &
307  undef => const_undef
308  use scale_monitor, only: &
310  implicit none
311 
312  namelist / param_urban_vars / &
313  urban_restart_in_basename, &
314  urban_restart_in_aggregate, &
315  urban_restart_in_postfix_timelabel, &
316  urban_restart_in_check_coordinates, &
317  urban_restart_output, &
318  urban_restart_out_basename, &
319  urban_restart_out_aggregate, &
320  urban_restart_out_postfix_timelabel, &
321  urban_restart_out_title, &
322  urban_restart_out_dtype, &
323  urban_vars_checkrange
324 
325  integer :: ierr
326  integer :: iv
327  !---------------------------------------------------------------------------
328 
329  log_newline
330  log_info("URBAN_vars_setup",*) 'Setup'
331 
332  allocate( urban_trl(uks:uke,uia,uja) )
333  allocate( urban_tbl(uks:uke,uia,uja) )
334  allocate( urban_tgl(uks:uke,uia,uja) )
335  allocate( urban_tr(uia,uja) )
336  allocate( urban_tb(uia,uja) )
337  allocate( urban_tg(uia,uja) )
338  allocate( urban_tc(uia,uja) )
339  allocate( urban_qc(uia,uja) )
340  allocate( urban_uc(uia,uja) )
341  allocate( urban_rainr(uia,uja) )
342  allocate( urban_rainb(uia,uja) )
343  allocate( urban_raing(uia,uja) )
344  allocate( urban_roff(uia,uja) )
345  urban_trl(:,:,:) = undef
346  urban_tbl(:,:,:) = undef
347  urban_tgl(:,:,:) = undef
348  urban_tr(:,:) = undef
349  urban_tb(:,:) = undef
350  urban_tg(:,:) = undef
351  urban_tc(:,:) = undef
352  urban_qc(:,:) = undef
353  urban_uc(:,:) = undef
354  urban_rainr(:,:) = undef
355  urban_rainb(:,:) = undef
356  urban_raing(:,:) = undef
357  urban_roff(:,:) = undef
358 
359  allocate( urban_sfc_temp(uia,uja) )
360  allocate( urban_sfc_albedo(uia,uja,n_rad_dir,n_rad_rgn) )
361  urban_sfc_temp(:,:) = undef
362  urban_sfc_albedo(:,:,:,:) = undef
363 
364  allocate( urban_tr_t(uia,uja) )
365  allocate( urban_tb_t(uia,uja) )
366  allocate( urban_tg_t(uia,uja) )
367  allocate( urban_tc_t(uia,uja) )
368  allocate( urban_qc_t(uia,uja) )
369  allocate( urban_uc_t(uia,uja) )
370  allocate( urban_trl_t(uks:uke,uia,uja) )
371  allocate( urban_tbl_t(uks:uke,uia,uja) )
372  allocate( urban_tgl_t(uks:uke,uia,uja) )
373  allocate( urban_rainr_t(uia,uja) )
374  allocate( urban_rainb_t(uia,uja) )
375  allocate( urban_raing_t(uia,uja) )
376  urban_tr_t(:,:) = undef
377  urban_tb_t(:,:) = undef
378  urban_tg_t(:,:) = undef
379  urban_tc_t(:,:) = undef
380  urban_qc_t(:,:) = undef
381  urban_uc_t(:,:) = undef
382  urban_trl_t(:,:,:) = undef
383  urban_tbl_t(:,:,:) = undef
384  urban_tgl_t(:,:,:) = undef
385  urban_rainr_t(:,:) = undef
386  urban_rainb_t(:,:) = undef
387  urban_raing_t(:,:) = undef
388 
389  allocate( urban_sflx_mw(uia,uja) )
390  allocate( urban_sflx_mu(uia,uja) )
391  allocate( urban_sflx_mv(uia,uja) )
392  allocate( urban_sflx_sh(uia,uja) )
393  allocate( urban_sflx_lh(uia,uja) )
394  allocate( urban_sflx_shex(uia,uja) )
395  allocate( urban_sflx_qvex(uia,uja) )
396  allocate( urban_sflx_gh(uia,uja) )
397  allocate( urban_sflx_qtrc(uia,uja,qa) )
398  urban_sflx_mw(:,:) = undef
399  urban_sflx_mu(:,:) = undef
400  urban_sflx_mv(:,:) = undef
401  urban_sflx_sh(:,:) = undef
402  urban_sflx_lh(:,:) = undef
403  urban_sflx_shex(:,:) = undef
404  urban_sflx_qvex(:,:) = undef
405  urban_sflx_gh(:,:) = undef
406  urban_sflx_qtrc(:,:,:) = undef
407 
408  allocate( urban_z0m(uia,uja) )
409  allocate( urban_z0h(uia,uja) )
410  allocate( urban_z0e(uia,uja) )
411  allocate( urban_zd(uia,uja) )
412  allocate( urban_ah(uia,uja) )
413  allocate( urban_ahl(uia,uja) )
414  allocate( urban_ustar(uia,uja) )
415  allocate( urban_tstar(uia,uja) )
416  allocate( urban_qstar(uia,uja) )
417  allocate( urban_wstar(uia,uja) )
418  allocate( urban_rlmo(uia,uja) )
419  allocate( urban_u10(uia,uja) )
420  allocate( urban_v10(uia,uja) )
421  allocate( urban_t2(uia,uja) )
422  allocate( urban_q2(uia,uja) )
423  urban_z0m(:,:) = undef
424  urban_z0h(:,:) = undef
425  urban_z0e(:,:) = undef
426  urban_zd(:,:) = undef
427  urban_ah(:,:) = undef
428  urban_ahl(:,:) = undef
429  urban_ustar(:,:) = undef
430  urban_tstar(:,:) = undef
431  urban_qstar(:,:) = undef
432  urban_wstar(:,:) = undef
433  urban_rlmo(:,:) = undef
434  urban_u10(:,:) = undef
435  urban_v10(:,:) = undef
436  urban_t2(:,:) = undef
437  urban_q2(:,:) = undef
438 
439  allocate( atmos_temp(uia,uja) )
440  allocate( atmos_pres(uia,uja) )
441  allocate( atmos_w(uia,uja) )
442  allocate( atmos_u(uia,uja) )
443  allocate( atmos_v(uia,uja) )
444  allocate( atmos_dens(uia,uja) )
445  allocate( atmos_qv(uia,uja) )
446  allocate( atmos_pbl(uia,uja) )
447  allocate( atmos_sfc_dens(uia,uja) )
448  allocate( atmos_sfc_pres(uia,uja) )
449  allocate( atmos_sflx_lw(uia,uja,2) )
450  allocate( atmos_sflx_sw(uia,uja,2) )
451  allocate( atmos_cossza(uia,uja) )
452  allocate( atmos_sflx_water(uia,uja) )
453  allocate( atmos_sflx_engi(uia,uja) )
454  atmos_temp(:,:) = undef
455  atmos_pres(:,:) = undef
456  atmos_w(:,:) = undef
457  atmos_u(:,:) = undef
458  atmos_v(:,:) = undef
459  atmos_dens(:,:) = undef
460  atmos_qv(:,:) = undef
461  atmos_pbl(:,:) = undef
462  atmos_sfc_dens(:,:) = undef
463  atmos_sfc_pres(:,:) = undef
464  atmos_sflx_lw(:,:,:) = undef
465  atmos_sflx_sw(:,:,:) = undef
466  atmos_cossza(:,:) = undef
467  atmos_sflx_water(:,:) = undef
468  atmos_sflx_engi(:,:) = undef
469 
470  !--- read namelist
471  rewind(io_fid_conf)
472  read(io_fid_conf,nml=param_urban_vars,iostat=ierr)
473  if( ierr < 0 ) then !--- missing
474  log_info("URBAN_vars_setup",*) 'Not found namelist. Default used.'
475  elseif( ierr > 0 ) then !--- fatal error
476  log_error("URBAN_vars_setup",*) 'Not appropriate names in namelist PARAM_URBAN_VARS. Check!'
477  call prc_abort
478  endif
479  log_nml(param_urban_vars)
480 
481  log_newline
482  log_info("URBAN_vars_setup",*) 'List of prognostic variables (URBAN) '
483  log_info_cont('(1x,A,A24,A,A48,A,A12,A)') &
484  ' |', 'VARNAME ','|', &
485  'DESCRIPTION ', '[', 'UNIT ', ']'
486  do iv = 1, vmax
487  log_info_cont('(1x,A,I3,A,A24,A,A48,A,A12,A)') &
488  'NO.',iv,'|',var_name(iv),'|',var_desc(iv),'[',var_unit(iv),']'
489  enddo
490 
491  log_newline
492  if ( urban_restart_in_basename /= '' ) then
493  log_info("URBAN_vars_setup",*) 'Restart input? : YES, file = ', trim(urban_restart_in_basename)
494  log_info("URBAN_vars_setup",*) 'Add timelabel? : ', urban_restart_in_postfix_timelabel
495  else
496  log_info("URBAN_vars_setup",*) 'Restart input? : NO'
497  endif
498  if ( urban_restart_output &
499  .AND. urban_restart_out_basename /= '' ) then
500  log_info("URBAN_vars_setup",*) 'Restart output? : YES, file = ', trim(urban_restart_out_basename)
501  log_info("URBAN_vars_setup",*) 'Add timelabel? : ', urban_restart_out_postfix_timelabel
502  else
503  log_info("URBAN_vars_setup",*) 'Restart output? : NO'
504  urban_restart_output = .false.
505  endif
506 
507  ! monitor
508  call monitor_reg( 'URB_TRL', 'roof temperature', 'K m3', & ! (in)
509  monit_id(im_trl), & ! (out)
510  dim_type='UXY', is_tendency=.false. ) ! (in)
511  call monitor_reg( 'URB_TBL', 'wall temperature', 'K m3', & ! (in)
512  monit_id(im_tbl), & ! (out)
513  dim_type='UXY', is_tendency=.false. ) ! (in)
514  call monitor_reg( 'URB_TGL', 'road temperature', 'K m3', & ! (in)
515  monit_id(im_tgl), & ! (out)
516  dim_type='UXY', is_tendency=.false. ) ! (in)
517  call monitor_reg( 'URB_TR', 'roof surface temperature', 'K m2', & ! (in)
518  monit_id(im_tr), & ! (out)
519  dim_type='XY', is_tendency=.false. ) ! (in)
520  call monitor_reg( 'URB_TB', 'wall surface temperature', 'K m2', & ! (in)
521  monit_id(im_tb), & ! (out)
522  dim_type='XY', is_tendency=.false. ) ! (in)
523  call monitor_reg( 'URB_TG', 'road surface temperature', 'K m2', & ! (in)
524  monit_id(im_tg), & ! (out)
525  dim_type='XY', is_tendency=.false. ) ! (in)
526  call monitor_reg( 'URB_TC', 'canopy temperature', 'K m2', & ! (in)
527  monit_id(im_tc), & ! (out)
528  dim_type='XY', is_tendency=.false. ) ! (in)
529  call monitor_reg( 'URB_UC', 'canopy wind speed', 'm3/s', & ! (in)
530  monit_id(im_uc), & ! (out)
531  dim_type='XY', is_tendency=.false. ) ! (in)
532  call monitor_reg( 'URB_QC', 'canopy humidity', 'kg/m', & ! (in)
533  monit_id(im_qc), & ! (out)
534  dim_type='XY', is_tendency=.false. ) ! (in)
535  call monitor_reg( 'URB_RAINR', 'roof water', 'kg', & ! (in)
536  monit_id(im_rainr), & ! (out)
537  dim_type='XY', is_tendency=.false. ) ! (in)
538  call monitor_reg( 'URB_RAINB', 'wall water', 'kg', & ! (in)
539  monit_id(im_rainb), & ! (out)
540  dim_type='XY', is_tendency=.false. ) ! (in)
541  call monitor_reg( 'URB_RAING', 'road water', 'kg', & ! (in)
542  monit_id(im_raing), & ! (out)
543  dim_type='XY', is_tendency=.false. ) ! (in)
544  call monitor_reg( 'URB_ROFF', 'runoff water', 'kg', & ! (in)
545  monit_id(im_roff), & ! (out)
546  dim_type='XY', is_tendency=.false. ) ! (in)
547 
548  return

References atmos_cossza, atmos_dens, atmos_pbl, atmos_pres, atmos_qv, atmos_sfc_dens, atmos_sfc_pres, atmos_sflx_engi, atmos_sflx_lw, atmos_sflx_sw, atmos_sflx_water, atmos_temp, atmos_u, atmos_v, atmos_w, scale_const::const_undef, scale_io::io_fid_conf, 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, scale_urban_grid_cartesc_index::uia, scale_urban_grid_cartesc_index::uja, scale_urban_grid_cartesc_index::uke, scale_urban_grid_cartesc_index::uks, urban_ah, urban_ahl, urban_q2, urban_qc, urban_qc_t, urban_qstar, urban_rainb, urban_rainb_t, urban_raing, urban_raing_t, urban_rainr, urban_rainr_t, urban_restart_in_aggregate, urban_restart_in_basename, urban_restart_in_postfix_timelabel, urban_restart_out_aggregate, urban_restart_out_basename, urban_restart_out_dtype, urban_restart_out_postfix_timelabel, urban_restart_out_title, urban_restart_output, urban_rlmo, urban_roff, urban_sfc_albedo, urban_sfc_temp, urban_sflx_gh, urban_sflx_lh, urban_sflx_mu, urban_sflx_mv, urban_sflx_mw, urban_sflx_qtrc, urban_sflx_qvex, urban_sflx_sh, urban_sflx_shex, urban_t2, urban_tb, urban_tb_t, urban_tbl, urban_tbl_t, urban_tc, urban_tc_t, urban_tg, urban_tg_t, urban_tgl, urban_tgl_t, urban_tr, urban_tr_t, urban_trl, urban_trl_t, urban_tstar, urban_u10, urban_uc, urban_uc_t, urban_ustar, urban_v10, urban_wstar, urban_z0e, urban_z0h, urban_z0m, and urban_zd.

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:

◆ urban_vars_restart_open()

subroutine, public mod_urban_vars::urban_vars_restart_open

Open urban restart file for read.

Definition at line 554 of file mod_urban_vars.F90.

554  use scale_time, only: &
556  use scale_file_cartesc, only: &
558  file_cartesc_check_coordinates
559  use mod_urban_admin, only: &
560  urban_do
561  implicit none
562 
563  character(len=19) :: timelabel
564  character(len=H_LONG) :: basename
565  !---------------------------------------------------------------------------
566 
567  log_newline
568  log_info("URBAN_vars_restart_open",*) 'Open restart file (URBAN) '
569 
570  if ( urban_do .and. urban_restart_in_basename /= '' ) then
571 
572  if ( urban_restart_in_postfix_timelabel ) then
573  call time_gettimelabel( timelabel )
574  basename = trim(urban_restart_in_basename)//'_'//trim(timelabel)
575  else
576  basename = trim(urban_restart_in_basename)
577  endif
578 
579  log_info("URBAN_vars_restart_open",*) 'basename: ', trim(basename)
580 
581  call file_cartesc_open( basename, restart_fid, aggregate=urban_restart_in_aggregate )
582 
583  if ( urban_restart_in_check_coordinates ) then
584  call file_cartesc_check_coordinates( restart_fid, urban=.true. )
585  end if
586 
587  else
588  log_info("URBAN_vars_restart_open",*) 'restart file for urban is not specified.'
589  endif
590 
591  return

References scale_file_cartesc::file_cartesc_open(), scale_time::time_gettimelabel(), mod_urban_admin::urban_do, urban_restart_in_aggregate, urban_restart_in_basename, and urban_restart_in_postfix_timelabel.

Referenced by mod_admin_restart::admin_restart_read().

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

◆ urban_vars_restart_read()

subroutine, public mod_urban_vars::urban_vars_restart_read

Read urban restart.

Definition at line 597 of file mod_urban_vars.F90.

597  use scale_prc, only: &
598  prc_abort
599  use scale_file, only: &
601  use scale_file_cartesc, only: &
602  file_cartesc_read, &
604  implicit none
605  !---------------------------------------------------------------------------
606 
607  if ( restart_fid /= -1 ) then
608  log_newline
609  log_info("URBAN_vars_restart_read",*) 'Read from restart file (URBAN) '
610 
611  call file_cartesc_read( restart_fid, var_name(i_trl), 'UXY', & ! [IN]
612  urban_trl(:,:,:) ) ! [OUT]
613  call file_cartesc_read( restart_fid, var_name(i_tbl), 'UXY', & ! [IN]
614  urban_tbl(:,:,:) ) ! [OUT]
615  call file_cartesc_read( restart_fid, var_name(i_tgl), 'UXY', & ! [IN]
616  urban_tgl(:,:,:) ) ! [OUT]
617 
618  call file_cartesc_read( restart_fid, var_name(i_tr), 'XY', & ! [IN]
619  urban_tr(:,:) ) ! [OUT]
620  call file_cartesc_read( restart_fid, var_name(i_tb), 'XY', & ! [IN]
621  urban_tb(:,:) ) ! [OUT]
622  call file_cartesc_read( restart_fid, var_name(i_tg), 'XY', & ! [IN]
623  urban_tg(:,:) ) ! [OUT]
624  call file_cartesc_read( restart_fid, var_name(i_tc), 'XY', & ! [IN]
625  urban_tc(:,:) ) ! [OUT]
626  call file_cartesc_read( restart_fid, var_name(i_qc), 'XY', & ! [IN]
627  urban_qc(:,:) ) ! [OUT]
628  call file_cartesc_read( restart_fid, var_name(i_uc), 'XY', & ! [IN]
629  urban_uc(:,:) ) ! [OUT]
630 
631  call file_cartesc_read( restart_fid, var_name(i_rainr), 'XY', & ! [IN]
632  urban_rainr(:,:) ) ! [OUT]
633  call file_cartesc_read( restart_fid, var_name(i_rainb), 'XY', & ! [IN]
634  urban_rainb(:,:) ) ! [OUT]
635  call file_cartesc_read( restart_fid, var_name(i_raing), 'XY', & ! [IN]
636  urban_raing(:,:) ) ! [OUT]
637 
638  call file_cartesc_read( restart_fid, var_name(i_sfc_temp), 'XY', & ! [IN]
639  urban_sfc_temp(:,:) ) ! [OUT]
640  call file_cartesc_read( restart_fid, var_name(i_sfc_alb_ir_dir), 'XY', & ! [IN]
641  urban_sfc_albedo(:,:,i_r_direct ,i_r_ir ) ) ! [OUT]
642  call file_cartesc_read( restart_fid, var_name(i_sfc_alb_ir_dif), 'XY', & ! [IN]
643  urban_sfc_albedo(:,:,i_r_diffuse,i_r_ir ) ) ! [OUT]
644  call file_cartesc_read( restart_fid, var_name(i_sfc_alb_nir_dir), 'XY', & ! [IN]
645  urban_sfc_albedo(:,:,i_r_direct ,i_r_nir) ) ! [OUT]
646  call file_cartesc_read( restart_fid, var_name(i_sfc_alb_nir_dif), 'XY', & ! [IN]
647  urban_sfc_albedo(:,:,i_r_diffuse,i_r_nir) ) ! [OUT]
648  call file_cartesc_read( restart_fid, var_name(i_sfc_alb_vis_dir), 'XY', & ! [IN]
649  urban_sfc_albedo(:,:,i_r_direct ,i_r_vis) ) ! [OUT]
650  call file_cartesc_read( restart_fid, var_name(i_sfc_alb_vis_dif), 'XY', & ! [IN]
651  urban_sfc_albedo(:,:,i_r_diffuse,i_r_vis) ) ! [OUT]
652 
653  if( file_get_aggregate(restart_fid) ) call file_cartesc_flush( restart_fid ) ! commit all pending read requests
654 
655  call urban_vars_check( force = .true. )
656  else
657  log_error("URBAN_vars_restart_read",*) 'invalid restart file ID for urban.'
658  call prc_abort
659  endif
660 
661  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, scale_prc::prc_abort(), urban_qc, urban_rainb, urban_raing, urban_rainr, urban_sfc_albedo, urban_sfc_temp, urban_tb, urban_tbl, urban_tc, urban_tg, urban_tgl, urban_tr, urban_trl, urban_uc, and urban_vars_check().

Referenced by mod_admin_restart::admin_restart_read().

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

◆ urban_vars_history()

subroutine, public mod_urban_vars::urban_vars_history

History output set for urban variables.

Definition at line 667 of file mod_urban_vars.F90.

667  use scale_file_history, only: &
668  file_history_in
669  use scale_atmos_hydrometeor, only: &
670  i_qv
671  implicit none
672  !---------------------------------------------------------------------------
673 
674  call prof_rapstart('URB_History', 1)
675 
676  call file_history_in( urban_trl(:,:,:), var_name(i_trl), var_desc(i_trl), var_unit(i_trl), dim_type='UXY' )
677  call file_history_in( urban_tbl(:,:,:), var_name(i_tbl), var_desc(i_tbl), var_unit(i_tbl), dim_type='UXY' )
678  call file_history_in( urban_tgl(:,:,:), var_name(i_tgl), var_desc(i_tgl), var_unit(i_tgl), dim_type='UXY' )
679 
680  call file_history_in( urban_tr(:,:), var_name(i_tr), var_desc(i_tr), var_unit(i_tr) )
681  call file_history_in( urban_tb(:,:), var_name(i_tb), var_desc(i_tb), var_unit(i_tb) )
682  call file_history_in( urban_tg(:,:), var_name(i_tg), var_desc(i_tg), var_unit(i_tg) )
683  call file_history_in( urban_tc(:,:), var_name(i_tc), var_desc(i_tc), var_unit(i_tc) )
684  call file_history_in( urban_qc(:,:), var_name(i_qc), var_desc(i_qc), var_unit(i_qc) )
685  call file_history_in( urban_uc(:,:), var_name(i_uc), var_desc(i_uc), var_unit(i_uc) )
686 
687  call file_history_in( urban_rainr(:,:), var_name(i_rainr), var_desc(i_rainr), var_unit(i_rainr) )
688  call file_history_in( urban_rainb(:,:), var_name(i_rainb), var_desc(i_rainb), var_unit(i_rainb) )
689  call file_history_in( urban_raing(:,:), var_name(i_raing), var_desc(i_raing), var_unit(i_raing) )
690 
691  call file_history_in( urban_sfc_temp(:,:), var_name(i_sfc_temp), &
692  var_desc(i_sfc_temp), var_unit(i_sfc_temp), standard_name=var_stdn(i_sfc_temp) )
693 
694  call file_history_in( urban_sfc_albedo(:,:,i_r_direct ,i_r_ir ), var_name(i_sfc_alb_ir_dir), &
695  var_desc(i_sfc_alb_ir_dir), var_unit(i_sfc_alb_ir_dir), standard_name=var_stdn(i_sfc_alb_ir_dir) )
696  call file_history_in( urban_sfc_albedo(:,:,i_r_diffuse,i_r_ir ), var_name(i_sfc_alb_ir_dif), &
697  var_desc(i_sfc_alb_ir_dif), var_unit(i_sfc_alb_ir_dif), standard_name=var_stdn(i_sfc_alb_ir_dif) )
698  call file_history_in( urban_sfc_albedo(:,:,i_r_direct ,i_r_nir), var_name(i_sfc_alb_nir_dir), &
699  var_desc(i_sfc_alb_nir_dir), var_unit(i_sfc_alb_nir_dir), standard_name=var_stdn(i_sfc_alb_nir_dir) )
700  call file_history_in( urban_sfc_albedo(:,:,i_r_diffuse,i_r_nir), var_name(i_sfc_alb_nir_dif), &
701  var_desc(i_sfc_alb_nir_dif), var_unit(i_sfc_alb_nir_dif), standard_name=var_stdn(i_sfc_alb_nir_dif) )
702  call file_history_in( urban_sfc_albedo(:,:,i_r_direct ,i_r_vis), var_name(i_sfc_alb_vis_dir), &
703  var_desc(i_sfc_alb_vis_dir), var_unit(i_sfc_alb_vis_dir), standard_name=var_stdn(i_sfc_alb_vis_dir) )
704  call file_history_in( urban_sfc_albedo(:,:,i_r_diffuse,i_r_vis), var_name(i_sfc_alb_vis_dif), &
705  var_desc(i_sfc_alb_vis_dif), var_unit(i_sfc_alb_vis_dif), standard_name=var_stdn(i_sfc_alb_vis_dif) )
706 
707  call file_history_in( urban_roff(:,:), 'URBAN_RUNOFF', &
708  'urban runoff water', 'kg/m2/s' )
709 
710  call file_history_in( urban_sflx_mw(:,:), 'URBAN_SFLX_MW', &
711  'urban grid average of w-momentum flux', 'kg/m2/s' )
712  call file_history_in( urban_sflx_mu(:,:), 'URBAN_SFLX_MU', &
713  'urban grid average of u-momentum flux', 'kg/m2/s' )
714  call file_history_in( urban_sflx_mv(:,:), 'URBAN_SFLX_MV', &
715  'urban grid average of v-momentum flux', 'kg/m2/s' )
716  call file_history_in( urban_sflx_sh(:,:), 'URBAN_SFLX_SH', &
717  'urban grid average of sensible heat flux (upward)', 'W/m2' )
718  call file_history_in( urban_sflx_lh(:,:), 'URBAN_SFLX_LH', &
719  'urban grid average of latent heat flux (upward)', 'W/m2' )
720  call file_history_in( urban_sflx_gh(:,:), 'URBAN_SFLX_GH', &
721  'urban grid average of subsurface heat flux (downward)', 'W/m2' )
722  if ( i_qv > 0 ) &
723  call file_history_in( urban_sflx_qtrc(:,:,i_qv), 'URBAN_SFLX_evap', &
724  'urban grid average of water vapor flux (upward)', 'kg/m2/s' )
725 
726  call file_history_in( urban_ustar(:,:), 'URBAN_Ustar', &
727  'urban friction velocity', 'm/s' )
728  call file_history_in( urban_tstar(:,:), 'URBAN_Tstar', &
729  'urban temperature scale', 'K' )
730  call file_history_in( urban_qstar(:,:), 'URBAN_Qstar', &
731  'urban moisture scale', 'kg/kg' )
732  call file_history_in( urban_wstar(:,:), 'URBAN_Wstar', &
733  'urban convective velocity scale', 'm/s' )
734  call file_history_in( urban_rlmo(:,:), 'URBAN_RLmo', &
735  'urban inversed Obukhov length', '1/m' )
736  call file_history_in( urban_u10(:,:), 'URBAN_U10', &
737  'urban 10m x-wind', 'm/s' )
738  call file_history_in( urban_v10(:,:), 'URBAN_V10', &
739  'urban 10m y-wind', 'm/s' )
740  call file_history_in( urban_t2(:,:), 'URBAN_T2', &
741  'urban 2m temprerature', 'K' )
742  call file_history_in( urban_q2(:,:), 'URBAN_Q2', &
743  'urban 2m specific humidity', 'kg/kg' )
744  call file_history_in( urban_z0m(:,:), 'URBAN_Z0M', &
745  'urban parameter of rougness length for momentum', 'm' )
746  call file_history_in( urban_z0h(:,:), 'URBAN_Z0H', &
747  'urban parameter of rougness length for heat', 'm' )
748  call file_history_in( urban_z0e(:,:), 'URBAN_Z0E', &
749  'urban parameter of rougness length for vapor', 'm' )
750  call file_history_in( urban_zd(:,:), 'URBAN_ZD', &
751  'urban parameter of displacement height', 'm' )
752  call file_history_in( urban_ah(:,:), 'URBAN_AH', &
753  'urban parameter of anthropogenic sensible heat', 'W/m2' )
754  call file_history_in( urban_ahl(:,:), 'URBAN_AHL', &
755  'urban parameter of anthropogenic latent heat', 'W/m2' )
756 
757 
758  call prof_rapend ('URB_History', 1)
759 
760  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, scale_prof::prof_rapend(), scale_prof::prof_rapstart(), urban_ah, urban_ahl, urban_q2, urban_qc, urban_qstar, urban_rainb, urban_raing, urban_rainr, urban_rlmo, urban_roff, urban_sfc_albedo, urban_sfc_temp, urban_sflx_gh, urban_sflx_lh, urban_sflx_mu, urban_sflx_mv, urban_sflx_mw, urban_sflx_qtrc, urban_sflx_sh, urban_t2, urban_tb, urban_tbl, urban_tc, urban_tg, urban_tgl, urban_tr, urban_trl, urban_tstar, urban_u10, urban_uc, urban_ustar, urban_v10, urban_wstar, urban_z0e, urban_z0h, urban_z0m, and urban_zd.

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:

◆ urban_vars_monitor()

subroutine, public mod_urban_vars::urban_vars_monitor

monitor output

Definition at line 766 of file mod_urban_vars.F90.

766  use scale_const, only: &
767  dwatr => const_dwatr
768  use scale_atmos_hydrometeor, only: &
769  cv_water
770  use scale_monitor, only: &
771  monitor_put
772  implicit none
773 
774  real(RP) :: WORK3D(UKA,UIA,UJA)
775  real(RP) :: WORK2D(UIA,UJA)
776 
777  integer :: k, i, j
778  !---------------------------------------------------------------------------
779 
780  call monitor_put( monit_id(im_trl), urban_trl(:,:,:) )
781  call monitor_put( monit_id(im_tbl), urban_tbl(:,:,:) )
782  call monitor_put( monit_id(im_tgl), urban_tgl(:,:,:) )
783 
784  call monitor_put( monit_id(im_tr), urban_tr(:,:) )
785  call monitor_put( monit_id(im_tb), urban_tb(:,:) )
786  call monitor_put( monit_id(im_tg), urban_tg(:,:) )
787  call monitor_put( monit_id(im_tc), urban_tc(:,:) )
788  call monitor_put( monit_id(im_uc), urban_uc(:,:) )
789  if ( monit_id(im_qc) > 0 ) then
790  !$omp parallel do
791  do j = ujs, uje
792  do i = uis, uie
793  work2d(i,j) = urban_qc(i,j) * atmos_dens(i,j)
794  end do
795  end do
796  call monitor_put( monit_id(im_qc), work2d(:,:) )
797  end if
798 
799  ! mass budget
800  call monitor_put( monit_id(im_rainr), urban_rainr(:,:) )
801  call monitor_put( monit_id(im_rainb), urban_rainb(:,:) )
802  call monitor_put( monit_id(im_raing), urban_raing(:,:) )
803  call monitor_put( monit_id(im_roff) , urban_roff(:,:) )
804 !!$ call MONITOR_put( MONIT_id(IM_SFCWR), URBAN_SFLX_waterR(:,:) )
805 !!$ call MONITOR_put( MONIT_id(IM_SFCWB), URBAN_SFLX_waterB(:,:) )
806 !!$ call MONITOR_put( MONIT_id(IM_SFCWG), URBAN_SFLX_waterG(:,:) )
807 !!$ call MONITOR_put( MONIT_id(IM_SFCIR), URBAN_SFLX_iceR (:,:) )
808 !!$ call MONITOR_put( MONIT_id(IM_SFCIB), URBAN_SFLX_iceB (:,:) )
809 !!$ call MONITOR_put( MONIT_id(IM_SFCIG), URBAN_SFLX_iceG (:,:) )
810 !!$ if ( MONIT_id(IM_MASFLX) > 0 ) then
811 !!$ !$omp parallel do
812 !!$ do j = UJS, UJE
813 !!$ do i = UIS, UIE
814 !!$ WORK2D(i,j) = URBAN_SFLX_waterR(i,j) + URBAN_SFLX_iceR(i,j) &
815 !!$ + URBAN_SFLX_waterB(i,j) + URBAN_SFLX_iceB(i,j) &
816 !!$ + URBAN_SFLX_waterG(i,j) + URBAN_SFLX_iceG(i,j) &
817 !!$ - URBAN_RUNOFF(i,j)
818 !!$ end do
819 !!$ end do
820 !!$ call MONITOR_put( MONIT_id(IM_MASFLX), WORK2D(:,:) )
821 !!$ end if
822 
823  ! energy budget
824 !!$ if ( MONIT_id(IM_ENGI_S) > 0 ) then
825 !!$ !$omp parallel do
826 !!$ do j = UJS, UJE
827 !!$ do i = UIS, UIE
828 !!$ do k = UKS, UKE
829 !!$ WORK3D(k,i,j) = CAPR(i,j) * URBAN_TRL(k,i,j) &
830 !!$ + CAPB(i,j) * URBAN_TRB(k,i,j) &
831 !!$ + CAPG(i,j) * URBAN_TRG(k,i,j)
832 !!$ end do
833 !!$ end do
834 !!$ end do
835 !!$ call MONITOR_put( MONIT_id(IM_ENGI_S), WORK3D(:,:,:) )
836 !!$ end if
837 !!$ if ( MONIT_id(IM_ENGI_SR) > 0 ) then
838 !!$ !$omp parallel do
839 !!$ do j = UJS, UJE
840 !!$ do i = UIS, UIE
841 !!$ do k = UKS, UKE
842 !!$ WORK3D(k,i,j) = CAPR(i,j) * URBAN_TRL(k,i,j)
843 !!$ end do
844 !!$ end do
845 !!$ end do
846 !!$ call MONITOR_put( MONIT_id(IM_ENGI_SR), WORK3D(:,:,:) )
847 !!$ end if
848 !!$ if ( MONIT_id(IM_ENGI_SB) > 0 ) then
849 !!$ !$omp parallel do
850 !!$ do j = UJS, UJE
851 !!$ do i = UIS, UIE
852 !!$ do k = UKS, UKE
853 !!$ WORK3D(k,i,j) = CAPB(i,j) * URBAN_TBL(k,i,j)
854 !!$ end do
855 !!$ end do
856 !!$ end do
857 !!$ call MONITOR_put( MONIT_id(IM_ENGI_SB), WORK3D(:,:,:) )
858 !!$ end if
859 !!$ if ( MONIT_id(IM_ENGI_SG) > 0 ) then
860 !!$ !$omp parallel do
861 !!$ do j = UJS, UJE
862 !!$ do i = UIS, UIE
863 !!$ do k = UKS, UKE
864 !!$ WORK3D(k,i,j) = CAPG(i,j) * URBAN_TGL(k,i,j)
865 !!$ end do
866 !!$ end do
867 !!$ end do
868 !!$ call MONITOR_put( MONIT_id(IM_ENGI_SG), WORK3D(:,:,:) )
869 !!$ end if
870 !!$ if ( MONIT_id(IM_ENGI_W) > 0 ) then
871 !!$ !$omp parallel do
872 !!$ do j = UJS, UJE
873 !!$ do i = UIS, UIE
874 !!$ WORK2D(i,j) = CV_WATER * ( URBAN_RAINR(k,i,j) * URBAN_TRL(UKS,i,j) &
875 !!$ + URBAN_RAINB(k,i,j) * URBAN_TBL(UKS,i,j) &
876 !!$ + URBAN_RAING(k,i,j) * URBAN_TGL(UKS,i,j) )
877 !!$ end do
878 !!$ end do
879 !!$ call MONITOR_put( MONIT_id(IM_ENGI_W), WORK2D(:,:) )
880 !!$ end if
881 !!$ if ( MONIT_id(IM_ENGI_WR) > 0 ) then
882 !!$ !$omp parallel do
883 !!$ do j = UJS, UJE
884 !!$ do i = UIS, UIE
885 !!$ WORK2D(i,j) = CV_WATER * URBAN_RAINR(k,i,j) * URBAN_TRL(UKS,i,j)
886 !!$ end do
887 !!$ end do
888 !!$ call MONITOR_put( MONIT_id(IM_ENGI_WR), WORK2D(:,:) )
889 !!$ end if
890 !!$ if ( MONIT_id(IM_ENGI_WB) > 0 ) then
891 !!$ !$omp parallel do
892 !!$ do j = UJS, UJE
893 !!$ do i = UIS, UIE
894 !!$ WORK2D(i,j) = CV_WATER * URBAN_RAINB(k,i,j) * URBAN_TBL(UKS,i,j)
895 !!$ end do
896 !!$ end do
897 !!$ call MONITOR_put( MONIT_id(IM_ENGI_WB), WORK2D(:,:) )
898 !!$ end if
899 !!$ if ( MONIT_id(IM_ENGI_WG) > 0 ) then
900 !!$ !$omp parallel do
901 !!$ do j = UJS, UJE
902 !!$ do i = UIS, UIE
903 !!$ WORK2D(i,j) = CV_WATER * URBAN_RAING(k,i,j) * URBAN_TGL(UKS,i,j)
904 !!$ end do
905 !!$ end do
906 !!$ call MONITOR_put( MONIT_id(IM_ENGI_WG), WORK2D(:,:) )
907 !!$ end if
908 
909 !!$ call MONITOR_put( MONIT_id(IM_ENGSFC_GHR), URBAN_SFLX_GHR (:,:) )
910 !!$ call MONITOR_put( MONIT_id(IM_ENGSFC_GHB), URBAN_SFLX_GHB (:,:) )
911 !!$ call MONITOR_put( MONIT_id(IM_ENGSFC_GHG), URBAN_SFLX_GHG (:,:) )
912 !!$ call MONITOR_put( MONIT_id(IM_ENGSFC_EIR), URBAN_SFLX_ENGIR (:,:) )
913 !!$ call MONITOR_put( MONIT_id(IM_ENGSFC_EIB), URBAN_SFLX_ENGIB (:,:) )
914 !!$ call MONITOR_put( MONIT_id(IM_ENGSFC_EIG), URBAN_SFLX_ENGIG (:,:) )
915 !!$ call MONITOR_put( MONIT_id(IM_ROFF_EIR), URBAN_RUNOFF_ENGIR(:,:) )
916 !!$ call MONITOR_put( MONIT_id(IM_ROFF_EIB), URBAN_RUNOFF_ENGIB(:,:) )
917 !!$ call MONITOR_put( MONIT_id(IM_ROFF_EIG), URBAN_RUNOFF_ENGIG(:,:) )
918 !!$ if ( MONIT_id(IM_ENGFLX) > 0 ) then
919 !!$ !$omp parallel do
920 !!$ do j = UJS, UJE
921 !!$ do i = UIS, UIE
922 !!$ WORK2D(i,j) = URBAN_SFLX_GHR(i,j) + URBAN_SFLX_ENGIR(i,j) &
923 !!$ + URBAN_SFLX_GHB(i,j) + URBAN_SFLX_ENGIB(i,j) &
924 !!$ + URBAN_SFLX_GHG(i,j) + URBAN_SFLX_ENGIG(i,j) &
925 !!$ - URBAN_RUNOFF_ENGIR(i,j) &
926 !!$ - URBAN_RUNOFF_ENGIB(i,j) &
927 !!$ - URBAN_RUNOFF_ENGIG(i,j)
928 !!$ end do
929 !!$ end do
930 !!$ call MONITOR_put( MONIT_id(IM_ENGFLX), WORK2D(:,:) )
931 !!$ end if
932 
933 
934  return

References atmos_dens, scale_const::const_dwatr, scale_atmos_hydrometeor::cv_water, scale_urban_grid_cartesc_index::uie, scale_urban_grid_cartesc_index::uis, scale_urban_grid_cartesc_index::uje, scale_urban_grid_cartesc_index::ujs, urban_qc, urban_rainb, urban_raing, urban_rainr, urban_roff, urban_tb, urban_tbl, urban_tc, urban_tg, urban_tgl, urban_tr, urban_trl, and urban_uc.

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

Here is the caller graph for this function:

◆ urban_vars_check()

subroutine, public mod_urban_vars::urban_vars_check ( logical, intent(in), optional  force)

Budget monitor for urban.

Definition at line 940 of file mod_urban_vars.F90.

940  use scale_statistics, only: &
942  statistics_total
943  use scale_atmos_hydrometeor, only: &
944  i_qv
945  use scale_urban_grid_cartesc_real, only: &
950  use scale_landuse, only: &
952  implicit none
953  logical, intent(in), optional :: force
954  logical :: check
955  !---------------------------------------------------------------------------
956 
957  if ( present(force) ) then
958  check = force
959  else
960  check = urban_vars_checkrange
961  end if
962 
963  if ( check ) then
964  call valcheck( uka, uks, uke, uia, uis, uie, uja, ujs, uje, &
965  urban_trl(:,:,:), 0.0_rp, 1000.0_rp, var_name(i_trl), &
966  __file__, __line__, mask = landuse_exists_urban(:,:) )
967  call valcheck( uka, uks, uke, uia, uis, uie, uja, ujs, uje, &
968  urban_tbl(:,:,:), 0.0_rp, 1000.0_rp, var_name(i_tbl), &
969  __file__, __line__, mask = landuse_exists_urban(:,:) )
970  call valcheck( uka, uks, uke, uia, uis, uie, uja, ujs, uje, &
971  urban_tgl(:,:,:), 0.0_rp, 1000.0_rp, var_name(i_tgl), &
972  __file__, __line__, mask = landuse_exists_urban(:,:) )
973  call valcheck( uia, uis, uie, uja, ujs, uje, &
974  urban_tr(:,:), 0.0_rp, 1000.0_rp, var_name(i_tr), &
975  __file__, __line__, mask = landuse_exists_urban(:,:) )
976  call valcheck( uia, uis, uie, uja, ujs, uje, &
977  urban_tb(:,:), 0.0_rp, 1000.0_rp, var_name(i_tb), &
978  __file__, __line__, mask = landuse_exists_urban(:,:) )
979  call valcheck( uia, uis, uie, uja, ujs, uje, &
980  urban_tg(:,:), 0.0_rp, 1000.0_rp, var_name(i_tg), &
981  __file__, __line__, mask = landuse_exists_urban(:,:) )
982  call valcheck( uia, uis, uie, uja, ujs, uje, &
983  urban_tc(:,:), 0.0_rp, 1000.0_rp, var_name(i_tc), &
984  __file__, __line__, mask = landuse_exists_urban(:,:) )
985  call valcheck( uia, uis, uie, uja, ujs, uje, &
986  urban_qc(:,:), 0.0_rp, 1.0_rp, var_name(i_qc), &
987  __file__, __line__, mask = landuse_exists_urban(:,:) )
988  call valcheck( uia, uis, uie, uja, ujs, uje, &
989  urban_uc(:,:), 0.0_rp, 100.0_rp, var_name(i_uc), &
990  __file__, __line__, mask = landuse_exists_urban(:,:) )
991  call valcheck( uia, uis, uie, uja, ujs, uje, &
992  urban_rainr(:,:), 0.0_rp, 1000.0_rp, var_name(i_rainr), &
993  __file__, __line__, mask = landuse_exists_urban(:,:) )
994  call valcheck( uia, uis, uie, uja, ujs, uje, &
995  urban_rainb(:,:), 0.0_rp, 1000.0_rp, var_name(i_rainb), &
996  __file__, __line__, mask = landuse_exists_urban(:,:) )
997  call valcheck( uia, uis, uie, uja, ujs, uje, &
998  urban_raing(:,:), 0.0_rp, 1000.0_rp, var_name(i_raing), &
999  __file__, __line__, mask = landuse_exists_urban(:,:) )
1000 
1001  call valcheck( uia, uis, uie, uja, ujs, uje, &
1002  urban_sfc_temp(:,:), 0.0_rp, 1000.0_rp, &
1003  var_name(i_sfc_temp), __file__, __line__, &
1004  mask = landuse_exists_urban(:,:) )
1005 
1006  call valcheck( uia, uis, uie, uja, ujs, uje, &
1007  urban_sfc_albedo(:,:,i_r_direct ,i_r_ir ), 0.0_rp, 2.0_rp, &
1008  var_name(i_sfc_alb_ir_dir ), __file__, __line__, &
1009  mask = landuse_exists_urban(:,:) )
1010  call valcheck( uia, uis, uie, uja, ujs, uje, &
1011  urban_sfc_albedo(:,:,i_r_diffuse,i_r_ir ), 0.0_rp, 2.0_rp, &
1012  var_name(i_sfc_alb_ir_dif ), __file__, __line__, &
1013  mask = landuse_exists_urban(:,:) )
1014  call valcheck( uia, uis, uie, uja, ujs, uje, &
1015  urban_sfc_albedo(:,:,i_r_direct ,i_r_nir), 0.0_rp, 2.0_rp, &
1016  var_name(i_sfc_alb_nir_dir), __file__, __line__, &
1017  mask = landuse_exists_urban(:,:) )
1018  call valcheck( uia, uis, uie, uja, ujs, uje, &
1019  urban_sfc_albedo(:,:,i_r_diffuse,i_r_nir), 0.0_rp, 2.0_rp, &
1020  var_name(i_sfc_alb_nir_dif), __file__, __line__, &
1021  mask = landuse_exists_urban(:,:) )
1022  call valcheck( uia, uis, uie, uja, ujs, uje, &
1023  urban_sfc_albedo(:,:,i_r_direct ,i_r_vis), 0.0_rp, 2.0_rp, &
1024  var_name(i_sfc_alb_vis_dir), __file__, __line__, &
1025  mask = landuse_exists_urban(:,:) )
1026  call valcheck( uia, uis, uie, uja, ujs, uje, &
1027  urban_sfc_albedo(:,:,i_r_diffuse,i_r_vis), 0.0_rp, 2.0_rp, &
1028  var_name(i_sfc_alb_vis_dif), __file__, __line__, &
1029  mask = landuse_exists_urban(:,:) )
1030  endif
1031 
1032  if ( present(force) ) then
1033  check = force
1034  else
1035  check = statistics_checktotal
1036  end if
1037 
1038  if ( check ) then
1039 
1040  ! 3D
1041  call statistics_total( uka, uks, uke, uia, uis, uie, uja, ujs, uje, &
1042  urban_trl(:,:,:), var_name(i_trl), & ! (in)
1043  urban_grid_cartesc_real_vol(:,:,:), & ! (in)
1045  call statistics_total( uka, uks, uke, uia, uis, uie, uja, ujs, uje, &
1046  urban_tbl(:,:,:), var_name(i_tbl), & ! (in)
1047  urban_grid_cartesc_real_vol(:,:,:), & ! (in)
1049  call statistics_total( uka, uks, uke, uia, uis, uie, uja, ujs, uje, &
1050  urban_tgl(:,:,:), var_name(i_tgl), & ! (in)
1051  urban_grid_cartesc_real_vol(:,:,:), & ! (in)
1053 
1054  ! 2D
1055  call statistics_total( uia, uis, uie, uja, ujs, uje, &
1056  urban_tr(:,:), var_name(i_tr), & ! (in)
1057  urban_grid_cartesc_real_area(:,:), & ! (in)
1059  call statistics_total( uia, uis, uie, uja, ujs, uje, &
1060  urban_tb(:,:), var_name(i_tb), & ! (in)
1061  urban_grid_cartesc_real_area(:,:), & ! (in)
1063  call statistics_total( uia, uis, uie, uja, ujs, uje, &
1064  urban_tg(:,:), var_name(i_tg), & ! (in)
1065  urban_grid_cartesc_real_area(:,:), & ! (in)
1067  call statistics_total( uia, uis, uie, uja, ujs, uje, &
1068  urban_tc(:,:), var_name(i_tc), & ! (in)
1069  urban_grid_cartesc_real_area(:,:), & ! (in)
1071  call statistics_total( uia, uis, uie, uja, ujs, uje, &
1072  urban_qc(:,:), var_name(i_qc), & ! (in)
1073  urban_grid_cartesc_real_area(:,:), & ! (in)
1075  call statistics_total( uia, uis, uie, uja, ujs, uje, &
1076  urban_uc(:,:), var_name(i_uc), & ! (in)
1077  urban_grid_cartesc_real_area(:,:), & ! (in)
1079 
1080  call statistics_total( uia, uis, uie, uja, ujs, uje, &
1081  urban_rainr(:,:), var_name(i_rainr), & ! (in)
1082  urban_grid_cartesc_real_area(:,:), & ! (in)
1084  call statistics_total( uia, uis, uie, uja, ujs, uje, &
1085  urban_rainb(:,:), var_name(i_rainb), & ! (in)
1086  urban_grid_cartesc_real_area(:,:), & ! (in)
1088  call statistics_total( uia, uis, uie, uja, ujs, uje, &
1089  urban_raing(:,:), var_name(i_raing), & ! (in)
1090  urban_grid_cartesc_real_area(:,:), & ! (in)
1092 
1093  call statistics_total( uia, uis, uie, uja, ujs, uje, & ! [IN]
1094  urban_sfc_temp(:,:), var_name(i_sfc_temp), & ! [IN]
1095  urban_grid_cartesc_real_area(:,:), & ! [IN]
1097  call statistics_total( uia, uis, uie, uja, ujs, uje, & ! [IN]
1098  urban_sfc_albedo(:,:,i_r_direct ,i_r_ir ), var_name(i_sfc_alb_ir_dir), & ! [IN]
1099  urban_grid_cartesc_real_area(:,:), & ! [IN]
1101  call statistics_total( uia, uis, uie, uja, ujs, uje, & ! [IN]
1102  urban_sfc_albedo(:,:,i_r_diffuse,i_r_ir ), var_name(i_sfc_alb_ir_dif), & ! [IN]
1103  urban_grid_cartesc_real_area(:,:), & ! [IN]
1105  call statistics_total( uia, uis, uie, uja, ujs, uje, & ! [IN]
1106  urban_sfc_albedo(:,:,i_r_direct ,i_r_nir), var_name(i_sfc_alb_nir_dir), & ! [IN]
1107  urban_grid_cartesc_real_area(:,:), & ! [IN]
1109  call statistics_total( uia, uis, uie, uja, ujs, uje, & ! [IN]
1110  urban_sfc_albedo(:,:,i_r_diffuse,i_r_nir), var_name(i_sfc_alb_nir_dif), & ! [IN]
1111  urban_grid_cartesc_real_area(:,:), & ! [IN]
1113  call statistics_total( uia, uis, uie, uja, ujs, uje, & ! [IN]
1114  urban_sfc_albedo(:,:,i_r_direct ,i_r_vis), var_name(i_sfc_alb_vis_dir), & ! [IN]
1115  urban_grid_cartesc_real_area(:,:), & ! [IN]
1117  call statistics_total( uia, uis, uie, uja, ujs, uje, & ! [IN]
1118  urban_sfc_albedo(:,:,i_r_diffuse,i_r_vis), var_name(i_sfc_alb_vis_dif), & ! [IN]
1119  urban_grid_cartesc_real_area(:,:), & ! [IN]
1121  endif
1122 
1123  return

References scale_debug::check(), 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, scale_landuse::landuse_exists_urban, scale_statistics::statistics_checktotal, scale_urban_grid_cartesc_index::uia, scale_urban_grid_cartesc_index::uie, scale_urban_grid_cartesc_index::uis, scale_urban_grid_cartesc_index::uja, scale_urban_grid_cartesc_index::uje, scale_urban_grid_cartesc_index::ujs, scale_urban_grid_cartesc_index::uka, scale_urban_grid_cartesc_index::uke, scale_urban_grid_cartesc_index::uks, scale_urban_grid_cartesc_real::urban_grid_cartesc_real_area, scale_urban_grid_cartesc_real::urban_grid_cartesc_real_totarea, scale_urban_grid_cartesc_real::urban_grid_cartesc_real_totvol, scale_urban_grid_cartesc_real::urban_grid_cartesc_real_vol, urban_qc, urban_rainb, urban_raing, urban_rainr, urban_sfc_albedo, urban_sfc_temp, urban_tb, urban_tbl, urban_tc, urban_tg, urban_tgl, urban_tr, urban_trl, and urban_uc.

Referenced by mod_urban_driver::urban_driver_update(), urban_vars_restart_read(), and urban_vars_restart_write().

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

◆ urban_vars_restart_create()

subroutine, public mod_urban_vars::urban_vars_restart_create

Create urban restart file.

Definition at line 1129 of file mod_urban_vars.F90.

1129  use scale_time, only: &
1131  use scale_file_cartesc, only: &
1133  use mod_urban_admin, only: &
1134  urban_do
1135  implicit none
1136 
1137  character(len=19) :: timelabel
1138  character(len=H_LONG) :: basename
1139  !---------------------------------------------------------------------------
1140 
1141  if ( urban_do .and. urban_restart_out_basename /= '' ) then
1142 
1143  log_newline
1144  log_info("URBAN_vars_restart_create",*) 'Create restart file (URBAN) '
1145 
1146  if ( urban_restart_out_postfix_timelabel ) then
1147  call time_gettimelabel( timelabel )
1148  basename = trim(urban_restart_out_basename)//'_'//trim(timelabel)
1149  else
1150  basename = trim(urban_restart_out_basename)
1151  endif
1152 
1153  log_info("URBAN_vars_restart_create",*) 'basename: ', trim(basename)
1154 
1155  call file_cartesc_create( &
1156  basename, urban_restart_out_title, urban_restart_out_dtype, & ! [IN]
1157  restart_fid, & ! [OUT]
1158  aggregate=urban_restart_out_aggregate ) ! [IN]
1159 
1160  endif
1161 
1162  return

References scale_file_cartesc::file_cartesc_create(), scale_time::time_gettimelabel(), mod_urban_admin::urban_do, urban_restart_out_aggregate, urban_restart_out_basename, urban_restart_out_dtype, urban_restart_out_postfix_timelabel, and urban_restart_out_title.

Referenced by mod_admin_restart::admin_restart_write().

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

◆ urban_vars_restart_enddef()

subroutine, public mod_urban_vars::urban_vars_restart_enddef

Exit netCDF define mode.

Definition at line 1168 of file mod_urban_vars.F90.

1168  use scale_file_cartesc, only: &
1170  implicit none
1171 
1172  if ( restart_fid /= -1 ) then
1173  call file_cartesc_enddef( restart_fid ) ! [IN]
1174  endif
1175 
1176  return

References scale_file_cartesc::file_cartesc_enddef().

Referenced by mod_admin_restart::admin_restart_write().

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

◆ urban_vars_restart_close()

subroutine, public mod_urban_vars::urban_vars_restart_close

Close restart file.

Definition at line 1182 of file mod_urban_vars.F90.

1182  use scale_file_cartesc, only: &
1184  implicit none
1185  !---------------------------------------------------------------------------
1186 
1187  if ( restart_fid /= -1 ) then
1188  log_newline
1189  log_info("URBAN_vars_restart_close",*) 'Close restart file (URBAN) '
1190 
1191  call file_cartesc_close( restart_fid ) ! [IN]
1192 
1193  restart_fid = -1
1194  endif
1195 
1196  return

References scale_file_cartesc::file_cartesc_close().

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

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

◆ urban_vars_restart_def_var()

subroutine, public mod_urban_vars::urban_vars_restart_def_var

Define urban variables in restart file.

Definition at line 1202 of file mod_urban_vars.F90.

1202  use scale_file_cartesc, only: &
1204  implicit none
1205 
1206  integer :: i
1207  !---------------------------------------------------------------------------
1208 
1209  if ( restart_fid /= -1 ) then
1210 
1211  do i = i_trl, i_tgl
1212  call file_cartesc_def_var( restart_fid, & ! [IN]
1213  var_name(i), var_desc(i), var_unit(i), & ! [IN]
1214  'UXY', urban_restart_out_dtype, & ! [IN]
1215  var_id(i) ) ! [OUT]
1216  end do
1217  do i = i_tr, i_sfc_alb_vis_dif
1218  call file_cartesc_def_var( restart_fid, & ! [IN]
1219  var_name(i), var_desc(i), var_unit(i), & ! [IN]
1220  'XY', urban_restart_out_dtype, & ! [IN]
1221  var_id(i) ) ! [OUT]
1222  end do
1223 
1224  endif
1225 
1226  return

References scale_file_cartesc::file_cartesc_def_var(), and urban_restart_out_dtype.

Referenced by mod_admin_restart::admin_restart_write().

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

◆ urban_vars_restart_write()

subroutine, public mod_urban_vars::urban_vars_restart_write

Write urban restart.

Definition at line 1232 of file mod_urban_vars.F90.

1232  use scale_file_cartesc, only: &
1233  file_cartesc_write_var
1234  implicit none
1235  !---------------------------------------------------------------------------
1236 
1237  if ( restart_fid /= -1 ) then
1238 
1239  call urban_vars_check( force = .true. )
1240 
1241  call file_cartesc_write_var( restart_fid, var_id(i_trl), urban_trl(:,:,:), & ! [IN]
1242  var_name(i_trl), 'UXY', fill_halo=.true. ) ! [IN]
1243  call file_cartesc_write_var( restart_fid, var_id(i_tbl), urban_tbl(:,:,:), & ! [IN]
1244  var_name(i_tbl), 'UXY', fill_halo=.true. ) ! [IN]
1245  call file_cartesc_write_var( restart_fid, var_id(i_tgl), urban_tgl(:,:,:), & ! [IN]
1246  var_name(i_tgl), 'UXY', fill_halo=.true. ) ! [IN]
1247 
1248  call file_cartesc_write_var( restart_fid, var_id(i_tr), urban_tr(:,:), & ! [IN]
1249  var_name(i_tr), 'XY', fill_halo=.true. ) ! [IN]
1250  call file_cartesc_write_var( restart_fid, var_id(i_tb), urban_tb(:,:), & ! [IN]
1251  var_name(i_tb), 'XY', fill_halo=.true. ) ! [IN]
1252  call file_cartesc_write_var( restart_fid, var_id(i_tg), urban_tg(:,:), & ! [IN]
1253  var_name(i_tg), 'XY', fill_halo=.true. ) ! [IN]
1254  call file_cartesc_write_var( restart_fid, var_id(i_tc), urban_tc(:,:), & ! [IN]
1255  var_name(i_tc), 'XY', fill_halo=.true. ) ! [IN]
1256  call file_cartesc_write_var( restart_fid, var_id(i_qc), urban_qc(:,:), & ! [IN]
1257  var_name(i_qc), 'XY', fill_halo=.true. ) ! [IN]
1258  call file_cartesc_write_var( restart_fid, var_id(i_uc), urban_uc(:,:), & ! [IN]
1259  var_name(i_uc), 'XY', fill_halo=.true. ) ! [IN]
1260 
1261 
1262  call file_cartesc_write_var( restart_fid, var_id(i_rainr), urban_rainr(:,:), & ! [IN]
1263  var_name(i_rainr), 'XY', fill_halo=.true. ) ! [IN]
1264  call file_cartesc_write_var( restart_fid, var_id(i_rainb), urban_rainb(:,:), & ! [IN]
1265  var_name(i_rainb), 'XY', fill_halo=.true. ) ! [IN]
1266  call file_cartesc_write_var( restart_fid, var_id(i_raing), urban_raing(:,:), & ! [IN]
1267  var_name(i_raing), 'XY', fill_halo=.true. ) ! [IN]
1268 
1269  call file_cartesc_write_var( restart_fid, var_id(i_sfc_temp), & ! [IN]
1270  urban_sfc_temp(:,:), & ! [IN]
1271  var_name(i_sfc_temp), 'XY', fill_halo=.true. ) ! [IN]
1272 
1273  call file_cartesc_write_var( restart_fid, var_id(i_sfc_alb_ir_dir), & ! [IN]
1274  urban_sfc_albedo(:,:,i_r_direct ,i_r_ir ), & ! [IN]
1275  var_name(i_sfc_alb_ir_dir), 'XY', fill_halo=.true. ) ! [IN]
1276  call file_cartesc_write_var( restart_fid, var_id(i_sfc_alb_ir_dif), & ! [IN]
1277  urban_sfc_albedo(:,:,i_r_diffuse,i_r_ir ), & ! [IN]
1278  var_name(i_sfc_alb_ir_dif), 'XY', fill_halo=.true. ) ! [IN]
1279  call file_cartesc_write_var( restart_fid, var_id(i_sfc_alb_nir_dir), & ! [IN]
1280  urban_sfc_albedo(:,:,i_r_direct ,i_r_nir), & ! [IN]
1281  var_name(i_sfc_alb_nir_dir), 'XY', fill_halo=.true. ) ! [IN]
1282  call file_cartesc_write_var( restart_fid, var_id(i_sfc_alb_nir_dif), & ! [IN]
1283  urban_sfc_albedo(:,:,i_r_diffuse,i_r_nir), & ! [IN]
1284  var_name(i_sfc_alb_nir_dif), 'XY', fill_halo=.true. ) ! [IN]
1285  call file_cartesc_write_var( restart_fid, var_id(i_sfc_alb_vis_dir), & ! [IN]
1286  urban_sfc_albedo(:,:,i_r_direct ,i_r_vis), & ! [IN]
1287  var_name(i_sfc_alb_vis_dir), 'XY', fill_halo=.true. ) ! [IN]
1288  call file_cartesc_write_var( restart_fid, var_id(i_sfc_alb_vis_dif), & ! [IN]
1289  urban_sfc_albedo(:,:,i_r_diffuse,i_r_vis), & ! [IN]
1290  var_name(i_sfc_alb_vis_dif), 'XY', fill_halo=.true. ) ! [IN]
1291 
1292  endif
1293 
1294  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, urban_qc, urban_rainb, urban_raing, urban_rainr, urban_sfc_albedo, urban_sfc_temp, urban_tb, urban_tbl, urban_tc, urban_tg, urban_tgl, urban_tr, urban_trl, urban_uc, and urban_vars_check().

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

◆ urban_restart_output

logical, public mod_urban_vars::urban_restart_output = .false.

Output restart file?

Definition at line 48 of file mod_urban_vars.F90.

48  logical, public :: URBAN_RESTART_OUTPUT = .false.

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

◆ urban_restart_in_basename

character(len=h_long), public mod_urban_vars::urban_restart_in_basename = ''

Basename of the input file.

Definition at line 50 of file mod_urban_vars.F90.

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

Referenced by mod_admin_restart::admin_restart_setup(), urban_vars_restart_open(), and urban_vars_setup().

◆ urban_restart_in_aggregate

logical, public mod_urban_vars::urban_restart_in_aggregate

Switch to use aggregate file.

Definition at line 51 of file mod_urban_vars.F90.

51  logical, public :: URBAN_RESTART_IN_AGGREGATE

Referenced by mod_admin_restart::admin_restart_setup(), urban_vars_restart_open(), and urban_vars_setup().

◆ urban_restart_in_postfix_timelabel

logical, public mod_urban_vars::urban_restart_in_postfix_timelabel = .false.

Add timelabel to the basename of input file?

Definition at line 52 of file mod_urban_vars.F90.

52  logical, public :: URBAN_RESTART_IN_POSTFIX_TIMELABEL = .false.

Referenced by mod_admin_restart::admin_restart_setup(), urban_vars_restart_open(), and urban_vars_setup().

◆ urban_restart_out_basename

character(len=h_long), public mod_urban_vars::urban_restart_out_basename = ''

Basename of the output file.

Definition at line 53 of file mod_urban_vars.F90.

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

Referenced by mod_admin_restart::admin_restart_setup(), urban_vars_restart_create(), and urban_vars_setup().

◆ urban_restart_out_aggregate

logical, public mod_urban_vars::urban_restart_out_aggregate

Switch to use aggregate file.

Definition at line 54 of file mod_urban_vars.F90.

54  logical, public :: URBAN_RESTART_OUT_AGGREGATE

Referenced by mod_admin_restart::admin_restart_setup(), urban_vars_restart_create(), and urban_vars_setup().

◆ urban_restart_out_postfix_timelabel

logical, public mod_urban_vars::urban_restart_out_postfix_timelabel = .true.

Add timelabel to the basename of output file?

Definition at line 55 of file mod_urban_vars.F90.

55  logical, public :: URBAN_RESTART_OUT_POSTFIX_TIMELABEL = .true.

Referenced by mod_admin_restart::admin_restart_setup(), urban_vars_restart_create(), and urban_vars_setup().

◆ urban_restart_out_title

character(len=h_mid), public mod_urban_vars::urban_restart_out_title = 'URBAN restart'

Title of the output file.

Definition at line 56 of file mod_urban_vars.F90.

56  character(len=H_MID), public :: URBAN_RESTART_OUT_TITLE = 'URBAN restart'

Referenced by mod_admin_restart::admin_restart_setup(), urban_vars_restart_create(), and urban_vars_setup().

◆ urban_restart_out_dtype

character(len=h_short), public mod_urban_vars::urban_restart_out_dtype = 'DEFAULT'

REAL4 or REAL8.

Definition at line 57 of file mod_urban_vars.F90.

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

Referenced by mod_admin_restart::admin_restart_setup(), urban_vars_restart_create(), urban_vars_restart_def_var(), and urban_vars_setup().

◆ urban_trl

real(rp), dimension (:,:,:), allocatable, public mod_urban_vars::urban_trl

◆ urban_tbl

real(rp), dimension (:,:,:), allocatable, public mod_urban_vars::urban_tbl

◆ urban_tgl

real(rp), dimension (:,:,:), allocatable, public mod_urban_vars::urban_tgl

◆ urban_tr

real(rp), dimension (:,:), allocatable, public mod_urban_vars::urban_tr

◆ urban_tb

real(rp), dimension (:,:), allocatable, public mod_urban_vars::urban_tb

◆ urban_tg

real(rp), dimension (:,:), allocatable, public mod_urban_vars::urban_tg

◆ urban_tc

real(rp), dimension (:,:), allocatable, public mod_urban_vars::urban_tc

◆ urban_qc

real(rp), dimension (:,:), allocatable, public mod_urban_vars::urban_qc

◆ urban_uc

real(rp), dimension (:,:), allocatable, public mod_urban_vars::urban_uc

◆ urban_rainr

real(rp), dimension(:,:), allocatable, public mod_urban_vars::urban_rainr

◆ urban_rainb

real(rp), dimension(:,:), allocatable, public mod_urban_vars::urban_rainb

◆ urban_raing

real(rp), dimension(:,:), allocatable, public mod_urban_vars::urban_raing

◆ urban_sfc_temp

real(rp), dimension (:,:), allocatable, public mod_urban_vars::urban_sfc_temp

◆ urban_sfc_albedo

real(rp), dimension(:,:,:,:), allocatable, public mod_urban_vars::urban_sfc_albedo

Definition at line 75 of file mod_urban_vars.F90.

75  real(RP), public, allocatable :: URBAN_SFC_albedo(:,:,:,:) ! urban grid average of albedo (direct/diffuse,IR/near-IR/VIS) (0-1)

Referenced by mod_realinput::realinput_surface(), mod_urban_driver::urban_driver_calc_tendency(), mod_mkinit::urban_setup(), mod_urban_driver::urban_surface_set(), urban_vars_check(), urban_vars_history(), urban_vars_restart_read(), urban_vars_restart_write(), and urban_vars_setup().

◆ urban_trl_t

real(rp), dimension (:,:,:), allocatable, public mod_urban_vars::urban_trl_t

Definition at line 78 of file mod_urban_vars.F90.

78  real(RP), public, allocatable :: URBAN_TRL_t (:,:,:) ! tendency of URBAN_TRL

Referenced by mod_urban_driver::urban_driver_calc_tendency(), mod_urban_driver::urban_driver_update(), and urban_vars_setup().

◆ urban_tbl_t

real(rp), dimension (:,:,:), allocatable, public mod_urban_vars::urban_tbl_t

Definition at line 79 of file mod_urban_vars.F90.

79  real(RP), public, allocatable :: URBAN_TBL_t (:,:,:) ! tendency of URBAN_TBL

Referenced by mod_urban_driver::urban_driver_calc_tendency(), mod_urban_driver::urban_driver_update(), and urban_vars_setup().

◆ urban_tgl_t

real(rp), dimension (:,:,:), allocatable, public mod_urban_vars::urban_tgl_t

Definition at line 80 of file mod_urban_vars.F90.

80  real(RP), public, allocatable :: URBAN_TGL_t (:,:,:) ! tendency of URBAN_TGL

Referenced by mod_urban_driver::urban_driver_calc_tendency(), mod_urban_driver::urban_driver_update(), and urban_vars_setup().

◆ urban_tc_t

real(rp), dimension (:,:), allocatable, public mod_urban_vars::urban_tc_t

Definition at line 81 of file mod_urban_vars.F90.

81  real(RP), public, allocatable :: URBAN_TC_t (:,:) ! tendency of URBAN_TC

Referenced by mod_urban_driver::urban_driver_calc_tendency(), mod_urban_driver::urban_driver_update(), and urban_vars_setup().

◆ urban_uc_t

real(rp), dimension (:,:), allocatable, public mod_urban_vars::urban_uc_t

Definition at line 82 of file mod_urban_vars.F90.

82  real(RP), public, allocatable :: URBAN_UC_t (:,:) ! tendency of URBAN_UC

Referenced by mod_urban_driver::urban_driver_calc_tendency(), mod_urban_driver::urban_driver_update(), and urban_vars_setup().

◆ urban_qc_t

real(rp), dimension (:,:), allocatable, public mod_urban_vars::urban_qc_t

Definition at line 83 of file mod_urban_vars.F90.

83  real(RP), public, allocatable :: URBAN_QC_t (:,:) ! tendency of URBAN_QC

Referenced by mod_urban_driver::urban_driver_calc_tendency(), mod_urban_driver::urban_driver_update(), and urban_vars_setup().

◆ urban_tr_t

real(rp), dimension (:,:), allocatable, public mod_urban_vars::urban_tr_t

Definition at line 84 of file mod_urban_vars.F90.

84  real(RP), public, allocatable :: URBAN_TR_t (:,:) ! tendency of URBAN_TR

Referenced by mod_urban_driver::urban_driver_calc_tendency(), mod_urban_driver::urban_driver_update(), and urban_vars_setup().

◆ urban_tb_t

real(rp), dimension (:,:), allocatable, public mod_urban_vars::urban_tb_t

Definition at line 85 of file mod_urban_vars.F90.

85  real(RP), public, allocatable :: URBAN_TB_t (:,:) ! tendency of URBAN_TB

Referenced by mod_urban_driver::urban_driver_calc_tendency(), mod_urban_driver::urban_driver_update(), and urban_vars_setup().

◆ urban_tg_t

real(rp), dimension (:,:), allocatable, public mod_urban_vars::urban_tg_t

Definition at line 86 of file mod_urban_vars.F90.

86  real(RP), public, allocatable :: URBAN_TG_t (:,:) ! tendency of URBAN_TG

Referenced by mod_urban_driver::urban_driver_calc_tendency(), mod_urban_driver::urban_driver_update(), and urban_vars_setup().

◆ urban_rainr_t

real(rp), dimension(:,:), allocatable, public mod_urban_vars::urban_rainr_t

Definition at line 87 of file mod_urban_vars.F90.

87  real(RP), public, allocatable :: URBAN_RAINR_t(:,:) ! tendency of URBAN_RAINR

Referenced by mod_urban_driver::urban_driver_calc_tendency(), mod_urban_driver::urban_driver_update(), and urban_vars_setup().

◆ urban_rainb_t

real(rp), dimension(:,:), allocatable, public mod_urban_vars::urban_rainb_t

Definition at line 88 of file mod_urban_vars.F90.

88  real(RP), public, allocatable :: URBAN_RAINB_t(:,:) ! tendency of URBAN_RAINB

Referenced by mod_urban_driver::urban_driver_calc_tendency(), mod_urban_driver::urban_driver_update(), and urban_vars_setup().

◆ urban_raing_t

real(rp), dimension(:,:), allocatable, public mod_urban_vars::urban_raing_t

Definition at line 89 of file mod_urban_vars.F90.

89  real(RP), public, allocatable :: URBAN_RAING_t(:,:) ! tendency of URBAN_RAING

Referenced by mod_urban_driver::urban_driver_calc_tendency(), mod_urban_driver::urban_driver_update(), and urban_vars_setup().

◆ urban_roff

real(rp), dimension (:,:), allocatable, public mod_urban_vars::urban_roff

Definition at line 91 of file mod_urban_vars.F90.

91  real(RP), public, allocatable :: URBAN_ROFF (:,:) ! urban runoff [mm/s=kg/m2/s]

Referenced by mod_realinput::realinput_surface(), mod_urban_driver::urban_driver_calc_tendency(), mod_mkinit::urban_setup(), urban_vars_history(), urban_vars_monitor(), and urban_vars_setup().

◆ urban_sflx_mw

real(rp), dimension (:,:), allocatable, public mod_urban_vars::urban_sflx_mw

Definition at line 93 of file mod_urban_vars.F90.

93  real(RP), public, allocatable :: URBAN_SFLX_MW (:,:) ! urban grid average of w-momentum flux [kg/m2/s]

Referenced by mod_urban_driver::urban_driver_calc_tendency(), mod_urban_driver::urban_surface_set(), urban_vars_history(), and urban_vars_setup().

◆ urban_sflx_mu

real(rp), dimension (:,:), allocatable, public mod_urban_vars::urban_sflx_mu

Definition at line 94 of file mod_urban_vars.F90.

94  real(RP), public, allocatable :: URBAN_SFLX_MU (:,:) ! urban grid average of u-momentum flux [kg/m2/s]

Referenced by mod_urban_driver::urban_driver_calc_tendency(), mod_urban_driver::urban_surface_set(), urban_vars_history(), and urban_vars_setup().

◆ urban_sflx_mv

real(rp), dimension (:,:), allocatable, public mod_urban_vars::urban_sflx_mv

Definition at line 95 of file mod_urban_vars.F90.

95  real(RP), public, allocatable :: URBAN_SFLX_MV (:,:) ! urban grid average of v-momentum flux [kg/m2/s]

Referenced by mod_urban_driver::urban_driver_calc_tendency(), mod_urban_driver::urban_surface_set(), urban_vars_history(), and urban_vars_setup().

◆ urban_sflx_sh

real(rp), dimension (:,:), allocatable, public mod_urban_vars::urban_sflx_sh

Definition at line 96 of file mod_urban_vars.F90.

96  real(RP), public, allocatable :: URBAN_SFLX_SH (:,:) ! urban grid average of sensible heat flux [W/m2]

Referenced by mod_urban_driver::urban_driver_calc_tendency(), mod_urban_driver::urban_surface_set(), urban_vars_history(), and urban_vars_setup().

◆ urban_sflx_lh

real(rp), dimension (:,:), allocatable, public mod_urban_vars::urban_sflx_lh

Definition at line 97 of file mod_urban_vars.F90.

97  real(RP), public, allocatable :: URBAN_SFLX_LH (:,:) ! urban grid average of latent heat flux [W/m2]

Referenced by mod_urban_driver::urban_driver_calc_tendency(), mod_urban_driver::urban_surface_set(), urban_vars_history(), and urban_vars_setup().

◆ urban_sflx_shex

real(rp), dimension(:,:), allocatable, public mod_urban_vars::urban_sflx_shex

Definition at line 98 of file mod_urban_vars.F90.

98  real(RP), public, allocatable :: URBAN_SFLX_SHEX(:,:) ! urban grid average of extera sensible heat flux [W/m2]

Referenced by mod_urban_driver::urban_driver_calc_tendency(), mod_urban_driver::urban_surface_set(), and urban_vars_setup().

◆ urban_sflx_qvex

real(rp), dimension(:,:), allocatable, public mod_urban_vars::urban_sflx_qvex

Definition at line 99 of file mod_urban_vars.F90.

99  real(RP), public, allocatable :: URBAN_SFLX_QVEX(:,:) ! urban grid average of extera latent heat flux [kg/kg/m2/s]

Referenced by mod_urban_driver::urban_driver_calc_tendency(), mod_urban_driver::urban_surface_set(), and urban_vars_setup().

◆ urban_sflx_qtrc

real(rp), dimension (:,:,:), allocatable, public mod_urban_vars::urban_sflx_qtrc

Definition at line 100 of file mod_urban_vars.F90.

100  real(RP), public, allocatable :: URBAN_SFLX_QTRC (:,:,:) ! urban grid average of water vapor flux [kg/m2/s]

Referenced by mod_urban_driver::urban_driver_calc_tendency(), mod_urban_driver::urban_surface_set(), urban_vars_history(), and urban_vars_setup().

◆ urban_sflx_gh

real(rp), dimension (:,:), allocatable, public mod_urban_vars::urban_sflx_gh

Definition at line 101 of file mod_urban_vars.F90.

101  real(RP), public, allocatable :: URBAN_SFLX_GH (:,:) ! urban grid average of ground heat flux [W/m2]

Referenced by mod_urban_driver::urban_driver_calc_tendency(), mod_urban_driver::urban_surface_set(), urban_vars_history(), and urban_vars_setup().

◆ urban_z0m

real(rp), dimension (:,:), allocatable, public mod_urban_vars::urban_z0m

Definition at line 104 of file mod_urban_vars.F90.

104  real(RP), public, allocatable :: URBAN_Z0M (:,:) ! urban grid average of rougness length (momentum) [m]

Referenced by mod_urban_driver::urban_driver_calc_tendency(), mod_urban_driver::urban_driver_setup(), mod_urban_driver::urban_surface_set(), urban_vars_history(), and urban_vars_setup().

◆ urban_z0h

real(rp), dimension (:,:), allocatable, public mod_urban_vars::urban_z0h

Definition at line 105 of file mod_urban_vars.F90.

105  real(RP), public, allocatable :: URBAN_Z0H (:,:) ! urban grid average of rougness length (heat) [m]

Referenced by mod_urban_driver::urban_driver_calc_tendency(), mod_urban_driver::urban_driver_setup(), mod_urban_driver::urban_surface_set(), urban_vars_history(), and urban_vars_setup().

◆ urban_z0e

real(rp), dimension (:,:), allocatable, public mod_urban_vars::urban_z0e

Definition at line 106 of file mod_urban_vars.F90.

106  real(RP), public, allocatable :: URBAN_Z0E (:,:) ! urban grid average of rougness length (vapor) [m]

Referenced by mod_urban_driver::urban_driver_calc_tendency(), mod_urban_driver::urban_driver_setup(), mod_urban_driver::urban_surface_set(), urban_vars_history(), and urban_vars_setup().

◆ urban_zd

real(rp), dimension (:,:), allocatable, public mod_urban_vars::urban_zd

Definition at line 107 of file mod_urban_vars.F90.

107  real(RP), public, allocatable :: URBAN_ZD (:,:) ! urban grid average of displacement height [m]

Referenced by mod_urban_driver::urban_driver_calc_tendency(), mod_urban_driver::urban_driver_setup(), urban_vars_history(), and urban_vars_setup().

◆ urban_ah

real(rp), dimension (:,:), allocatable, public mod_urban_vars::urban_ah

Definition at line 108 of file mod_urban_vars.F90.

108  real(RP), public, allocatable :: URBAN_AH (:,:) ! urban grid average of anthropogenic sensible heat [W/m2]

Referenced by mod_urban_driver::urban_driver_calc_tendency(), urban_vars_history(), and urban_vars_setup().

◆ urban_ahl

real(rp), dimension (:,:), allocatable, public mod_urban_vars::urban_ahl

Definition at line 109 of file mod_urban_vars.F90.

109  real(RP), public, allocatable :: URBAN_AHL (:,:) ! urban grid average of anthropogenic latent heat [W/m2]

Referenced by mod_urban_driver::urban_driver_calc_tendency(), urban_vars_history(), and urban_vars_setup().

◆ urban_ustar

real(rp), dimension(:,:), allocatable, public mod_urban_vars::urban_ustar

Definition at line 112 of file mod_urban_vars.F90.

112  real(RP), public, allocatable :: URBAN_Ustar(:,:) ! urban grid average of friction velocity [m/s]

Referenced by mod_urban_driver::urban_driver_calc_tendency(), urban_vars_history(), and urban_vars_setup().

◆ urban_tstar

real(rp), dimension(:,:), allocatable, public mod_urban_vars::urban_tstar

Definition at line 113 of file mod_urban_vars.F90.

113  real(RP), public, allocatable :: URBAN_Tstar(:,:) ! urban grid average of temperature scale [K]

Referenced by mod_urban_driver::urban_driver_calc_tendency(), urban_vars_history(), and urban_vars_setup().

◆ urban_qstar

real(rp), dimension(:,:), allocatable, public mod_urban_vars::urban_qstar

Definition at line 114 of file mod_urban_vars.F90.

114  real(RP), public, allocatable :: URBAN_Qstar(:,:) ! urban grid average of moisture scale [kg/kg]

Referenced by mod_urban_driver::urban_driver_calc_tendency(), urban_vars_history(), and urban_vars_setup().

◆ urban_wstar

real(rp), dimension(:,:), allocatable, public mod_urban_vars::urban_wstar

Definition at line 115 of file mod_urban_vars.F90.

115  real(RP), public, allocatable :: URBAN_Wstar(:,:) ! urban grid average of convective velocity scale [m/s]

Referenced by mod_urban_driver::urban_driver_calc_tendency(), urban_vars_history(), and urban_vars_setup().

◆ urban_rlmo

real(rp), dimension (:,:), allocatable, public mod_urban_vars::urban_rlmo

Definition at line 116 of file mod_urban_vars.F90.

116  real(RP), public, allocatable :: URBAN_RLmo (:,:) ! urban grid average of inversed Obukhov length [1/m]

Referenced by mod_urban_driver::urban_driver_calc_tendency(), urban_vars_history(), and urban_vars_setup().

◆ urban_u10

real(rp), dimension (:,:), allocatable, public mod_urban_vars::urban_u10

Definition at line 117 of file mod_urban_vars.F90.

117  real(RP), public, allocatable :: URBAN_U10 (:,:) ! urban grid average of velocity u at 10m [m/s]

Referenced by mod_urban_driver::urban_driver_calc_tendency(), mod_urban_driver::urban_surface_set(), urban_vars_history(), and urban_vars_setup().

◆ urban_v10

real(rp), dimension (:,:), allocatable, public mod_urban_vars::urban_v10

Definition at line 118 of file mod_urban_vars.F90.

118  real(RP), public, allocatable :: URBAN_V10 (:,:) ! urban grid average of velocity v at 10m [m/s]

Referenced by mod_urban_driver::urban_driver_calc_tendency(), mod_urban_driver::urban_surface_set(), urban_vars_history(), and urban_vars_setup().

◆ urban_t2

real(rp), dimension (:,:), allocatable, public mod_urban_vars::urban_t2

Definition at line 119 of file mod_urban_vars.F90.

119  real(RP), public, allocatable :: URBAN_T2 (:,:) ! urban grid average of temperature at 2m [K]

Referenced by mod_urban_driver::urban_driver_calc_tendency(), mod_urban_driver::urban_surface_set(), urban_vars_history(), and urban_vars_setup().

◆ urban_q2

real(rp), dimension (:,:), allocatable, public mod_urban_vars::urban_q2

Definition at line 120 of file mod_urban_vars.F90.

120  real(RP), public, allocatable :: URBAN_Q2 (:,:) ! urban grid average of water vapor at 2m [kg/kg]

Referenced by mod_urban_driver::urban_driver_calc_tendency(), mod_urban_driver::urban_surface_set(), urban_vars_history(), and urban_vars_setup().

◆ atmos_temp

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

Definition at line 123 of file mod_urban_vars.F90.

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

Referenced by mod_urban_driver::urban_driver_calc_tendency(), mod_urban_driver::urban_surface_get(), and urban_vars_setup().

◆ atmos_pres

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

Definition at line 124 of file mod_urban_vars.F90.

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

Referenced by mod_urban_driver::urban_driver_calc_tendency(), mod_urban_driver::urban_surface_get(), and urban_vars_setup().

◆ atmos_w

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

Definition at line 125 of file mod_urban_vars.F90.

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

Referenced by mod_urban_driver::urban_surface_get(), and urban_vars_setup().

◆ atmos_u

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

Definition at line 126 of file mod_urban_vars.F90.

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

Referenced by mod_urban_driver::urban_driver_calc_tendency(), mod_urban_driver::urban_surface_get(), and urban_vars_setup().

◆ atmos_v

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

Definition at line 127 of file mod_urban_vars.F90.

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

Referenced by mod_urban_driver::urban_driver_calc_tendency(), mod_urban_driver::urban_surface_get(), and urban_vars_setup().

◆ atmos_dens

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

Definition at line 128 of file mod_urban_vars.F90.

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

Referenced by mod_urban_driver::urban_driver_calc_tendency(), mod_urban_driver::urban_surface_get(), urban_vars_monitor(), and urban_vars_setup().

◆ atmos_qv

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

Definition at line 129 of file mod_urban_vars.F90.

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

Referenced by mod_urban_driver::urban_driver_calc_tendency(), mod_urban_driver::urban_surface_get(), and urban_vars_setup().

◆ atmos_pbl

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

Definition at line 130 of file mod_urban_vars.F90.

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

Referenced by mod_urban_driver::urban_driver_calc_tendency(), mod_urban_driver::urban_surface_get(), and urban_vars_setup().

◆ atmos_sfc_dens

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

Definition at line 131 of file mod_urban_vars.F90.

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

Referenced by mod_urban_driver::urban_driver_calc_tendency(), mod_urban_driver::urban_surface_get(), and urban_vars_setup().

◆ atmos_sfc_pres

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

Definition at line 132 of file mod_urban_vars.F90.

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

Referenced by mod_urban_driver::urban_driver_calc_tendency(), mod_urban_driver::urban_surface_get(), and urban_vars_setup().

◆ atmos_sflx_lw

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

Definition at line 133 of file mod_urban_vars.F90.

133  real(RP), public, allocatable :: ATMOS_SFLX_LW (:,:,:)

Referenced by mod_urban_driver::urban_driver_calc_tendency(), mod_urban_driver::urban_surface_get(), and urban_vars_setup().

◆ atmos_sflx_sw

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

Definition at line 134 of file mod_urban_vars.F90.

134  real(RP), public, allocatable :: ATMOS_SFLX_SW (:,:,:)

Referenced by mod_urban_driver::urban_driver_calc_tendency(), mod_urban_driver::urban_surface_get(), and urban_vars_setup().

◆ atmos_cossza

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

Definition at line 135 of file mod_urban_vars.F90.

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

Referenced by mod_urban_driver::urban_driver_calc_tendency(), mod_urban_driver::urban_surface_get(), and urban_vars_setup().

◆ atmos_sflx_water

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

Definition at line 136 of file mod_urban_vars.F90.

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

Referenced by mod_urban_driver::urban_driver_calc_tendency(), mod_urban_driver::urban_surface_get(), and urban_vars_setup().

◆ atmos_sflx_engi

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

Definition at line 137 of file mod_urban_vars.F90.

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

Referenced by mod_urban_driver::urban_driver_calc_tendency(), mod_urban_driver::urban_surface_get(), and urban_vars_setup().

mod_urban_vars::urban_q2
real(rp), dimension(:,:), allocatable, public urban_q2
Definition: mod_urban_vars.F90:120
scale_statistics
module Statistics
Definition: scale_statistics.F90:11
mod_urban_vars::urban_z0m
real(rp), dimension(:,:), allocatable, public urban_z0m
Definition: mod_urban_vars.F90:104
mod_urban_admin::urban_do
logical, public urban_do
Definition: mod_urban_admin.F90:32
mod_urban_vars::urban_sfc_temp
real(rp), dimension(:,:), allocatable, public urban_sfc_temp
Definition: mod_urban_vars.F90:74
scale_urban_grid_cartesc_real::urban_grid_cartesc_real_vol
real(rp), dimension(:,:,:), allocatable, public urban_grid_cartesc_real_vol
volume of grid cell
Definition: scale_urban_grid_cartesC_real.F90:38
scale_prc::prc_abort
subroutine, public prc_abort
Abort Process.
Definition: scale_prc.F90:342
scale_urban_grid_cartesc_real::urban_grid_cartesc_real_totvol
real(rp), public urban_grid_cartesc_real_totvol
total volume
Definition: scale_urban_grid_cartesC_real.F90:39
scale_file_cartesc::file_cartesc_enddef
subroutine, public file_cartesc_enddef(fid)
Exit netCDF file define mode.
Definition: scale_file_cartesC.F90:943
scale_file_cartesc::file_cartesc_def_var
subroutine, public file_cartesc_def_var(fid, varname, desc, unit, dim_type, datatype, vid, standard_name, timeintv, nsteps, cell_measures)
Define a variable to file.
Definition: scale_file_cartesC.F90:3307
mod_urban_vars::urban_sfc_albedo
real(rp), dimension(:,:,:,:), allocatable, public urban_sfc_albedo
Definition: mod_urban_vars.F90:75
scale_atmos_hydrometeor
module atmosphere / hydrometeor
Definition: scale_atmos_hydrometeor.F90:12
mod_urban_vars::urban_sflx_shex
real(rp), dimension(:,:), allocatable, public urban_sflx_shex
Definition: mod_urban_vars.F90:98
mod_urban_vars::urban_sflx_mu
real(rp), dimension(:,:), allocatable, public urban_sflx_mu
Definition: mod_urban_vars.F90:94
mod_urban_vars::urban_z0h
real(rp), dimension(:,:), allocatable, public urban_z0h
Definition: mod_urban_vars.F90:105
scale_file_history
module file_history
Definition: scale_file_history.F90:15
scale_file
module file
Definition: scale_file.F90:15
scale_prc
module PROCESS
Definition: scale_prc.F90:11
mod_urban_vars::urban_sflx_qtrc
real(rp), dimension(:,:,:), allocatable, public urban_sflx_qtrc
Definition: mod_urban_vars.F90:100
mod_urban_vars::urban_t2
real(rp), dimension(:,:), allocatable, public urban_t2
Definition: mod_urban_vars.F90:119
scale_const
module CONSTANT
Definition: scale_const.F90:11
mod_urban_vars::urban_sflx_mv
real(rp), dimension(:,:), allocatable, public urban_sflx_mv
Definition: mod_urban_vars.F90:95
mod_urban_vars::urban_v10
real(rp), dimension(:,:), allocatable, public urban_v10
Definition: mod_urban_vars.F90:118
mod_urban_vars::urban_z0e
real(rp), dimension(:,:), allocatable, public urban_z0e
Definition: mod_urban_vars.F90:106
scale_file_cartesc::file_cartesc_close
subroutine, public file_cartesc_close(fid)
Close a netCDF file.
Definition: scale_file_cartesC.F90:1023
mod_urban_vars::urban_u10
real(rp), dimension(:,:), allocatable, public urban_u10
Definition: mod_urban_vars.F90:117
scale_monitor::monitor_reg
subroutine, public monitor_reg(name, desc, unit, itemid, ndims, dim_type, is_tendency)
Search existing item, or matching check between requested and registered item.
Definition: scale_monitor.F90:241
scale_time
module TIME
Definition: scale_time.F90:11
scale_atmos_hydrometeor::i_qv
integer, public i_qv
Definition: scale_atmos_hydrometeor.F90:77
scale_const::const_dwatr
real(rp), parameter, public const_dwatr
density of water [kg/m3]
Definition: scale_const.F90:82
scale_file_cartesc::file_cartesc_create
subroutine, public file_cartesc_create(basename, title, datatype, fid, date, subsec, haszcoord, append, aggregate, single)
Create/open a netCDF file.
Definition: scale_file_cartesC.F90:780
scale_file_cartesc::file_cartesc_open
subroutine, public file_cartesc_open(basename, fid, aggregate)
open a netCDF file for read
Definition: scale_file_cartesC.F90:746
scale_statistics::statistics_checktotal
logical, public statistics_checktotal
calc&report variable totals to logfile?
Definition: scale_statistics.F90:64
mod_urban_vars::urban_sflx_lh
real(rp), dimension(:,:), allocatable, public urban_sflx_lh
Definition: mod_urban_vars.F90:97
scale_file_cartesc::file_cartesc_flush
subroutine, public file_cartesc_flush(fid)
Flush all pending requests to a netCDF file (PnetCDF only)
Definition: scale_file_cartesC.F90:997
scale_landuse::landuse_exists_urban
logical, dimension(:,:), allocatable, public landuse_exists_urban
urban calculation flag
Definition: scale_landuse.F90:51
scale_time::time_gettimelabel
subroutine, public time_gettimelabel(timelabel)
generate time label
Definition: scale_time.F90:91
mod_urban_vars::urban_sflx_sh
real(rp), dimension(:,:), allocatable, public urban_sflx_sh
Definition: mod_urban_vars.F90:96
scale_file::file_get_aggregate
logical function, public file_get_aggregate(fid)
Definition: scale_file.F90:4844
mod_urban_vars::urban_sflx_qvex
real(rp), dimension(:,:), allocatable, public urban_sflx_qvex
Definition: mod_urban_vars.F90:99
scale_urban_grid_cartesc_real::urban_grid_cartesc_real_totarea
real(rp), public urban_grid_cartesc_real_totarea
total area
Definition: scale_urban_grid_cartesC_real.F90:37
scale_landuse
module LANDUSE
Definition: scale_landuse.F90:19
mod_urban_admin
module Urban admin
Definition: mod_urban_admin.F90:11
mod_urban_vars::urban_sflx_mw
real(rp), dimension(:,:), allocatable, public urban_sflx_mw
Definition: mod_urban_vars.F90:93
scale_urban_grid_cartesc_real
module urban / grid / cartesianC / real
Definition: scale_urban_grid_cartesC_real.F90:12
mod_urban_vars::urban_sflx_gh
real(rp), dimension(:,:), allocatable, public urban_sflx_gh
Definition: mod_urban_vars.F90:101
scale_const::const_undef
real(rp), public const_undef
Definition: scale_const.F90:41
scale_file_cartesc
module file / cartesianC
Definition: scale_file_cartesC.F90:11
scale_atmos_hydrometeor::cv_water
real(rp), public cv_water
CV for water [J/kg/K].
Definition: scale_atmos_hydrometeor.F90:132
scale_urban_grid_cartesc_real::urban_grid_cartesc_real_area
real(rp), dimension(:,:), allocatable, public urban_grid_cartesc_real_area
area of grid cell
Definition: scale_urban_grid_cartesC_real.F90:36
scale_monitor
module MONITOR
Definition: scale_monitor.F90:12