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_total
 Budget monitor for urban. More...
 
subroutine, public urban_vars_external_in (URBAN_TC_in, URBAN_QC_in, URBAN_UC_in, URBAN_SFC_TEMP_in, URBAN_SFC_albedo_in)
 Input from External I/O. 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_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_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_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_trl
 
real(rp), dimension(:,:,:), allocatable, public urban_tbl
 
real(rp), dimension(:,:,:), allocatable, public urban_tgl
 
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_roff
 
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_t
 
real(rp), dimension(:,:), allocatable, public urban_sfc_temp
 
real(rp), dimension(:,:,:), allocatable, public urban_sfc_albedo
 
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_gh
 
real(rp), dimension(:,:), allocatable, public urban_sflx_evap
 
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_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_pres
 
real(rp), dimension(:,:,:), allocatable, public atmos_sflx_lw
 
real(rp), dimension(:,:,:), allocatable, public atmos_sflx_sw
 
real(rp), dimension(:,:), allocatable, public atmos_cossza
 
real(rp), dimension(:,:), allocatable, public atmos_sflx_prec
 

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_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_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_ALB_LW urban grid average of albedo LW 1 URBAN_SFC_albedo
URBAN_ALB_SW urban grid average of albedo SW 1 URBAN_SFC_albedo
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_ROFF urban runoff kg/m2 URBAN_ROFF
URBAN_SFC_TEMP urban grid average of temperature K URBAN_SFC_TEMP
URBAN_SFLX_GH urban grid average of ground heat flux W/m2 URBAN_SFLX_GH
URBAN_SFLX_LH urban grid average of latent heat flux 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 W/m2 URBAN_SFLX_SH
URBAN_SFLX_evap urban grid average of water vapor flux kg/m2/s URBAN_SFLX_evap
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 244 of file mod_urban_vars.f90.

References atmos_cossza, atmos_dens, atmos_pbl, atmos_pres, atmos_qv, atmos_sfc_pres, atmos_sflx_lw, atmos_sflx_prec, atmos_sflx_sw, atmos_temp, atmos_u, atmos_v, atmos_w, scale_const::const_undef, scale_grid_index::ia, scale_stdio::io_fid_conf, scale_stdio::io_fid_log, scale_stdio::io_fid_nml, scale_stdio::io_l, scale_stdio::io_nml, scale_grid_index::ja, scale_process::prc_mpistop(), scale_urban_grid_index::uke, scale_urban_grid_index::uks, urban_q2, urban_qc, urban_qc_t, urban_rainb, urban_rainb_t, urban_raing, urban_raing_t, urban_rainr, urban_rainr_t, urban_restart_in_basename, urban_restart_in_postfix_timelabel, urban_restart_out_basename, urban_restart_out_dtype, urban_restart_out_postfix_timelabel, urban_restart_out_title, urban_restart_output, urban_roff, urban_roff_t, urban_sfc_albedo, urban_sfc_temp, urban_sflx_evap, urban_sflx_gh, urban_sflx_lh, urban_sflx_mu, urban_sflx_mv, urban_sflx_mw, urban_sflx_sh, 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_u10, urban_uc, urban_uc_t, urban_v10, urban_z0e, urban_z0h, and urban_z0m.

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

244  use scale_process, only: &
246  use scale_const, only: &
247  undef => const_undef
248  implicit none
249 
250  namelist / param_urban_vars / &
251  urban_restart_in_basename, &
252  urban_restart_in_postfix_timelabel, &
253  urban_restart_in_check_coordinates, &
254  urban_restart_output, &
255  urban_restart_out_basename, &
256  urban_restart_out_postfix_timelabel, &
257  urban_restart_out_title, &
258  urban_restart_out_dtype, &
259  urban_vars_checkrange
260 
261  integer :: ierr
262  integer :: iv
263  !---------------------------------------------------------------------------
264 
265  if( io_l ) write(io_fid_log,*)
266  if( io_l ) write(io_fid_log,*) '++++++ Module[VARS] / Categ[URBAN] / Origin[SCALE-RM]'
267 
268  allocate( urban_tr(ia,ja) )
269  allocate( urban_tb(ia,ja) )
270  allocate( urban_tg(ia,ja) )
271  allocate( urban_tc(ia,ja) )
272  allocate( urban_qc(ia,ja) )
273  allocate( urban_uc(ia,ja) )
274  allocate( urban_trl(uks:uke,ia,ja) )
275  allocate( urban_tbl(uks:uke,ia,ja) )
276  allocate( urban_tgl(uks:uke,ia,ja) )
277  allocate( urban_rainr(ia,ja) )
278  allocate( urban_rainb(ia,ja) )
279  allocate( urban_raing(ia,ja) )
280  allocate( urban_roff(ia,ja) )
281  urban_tr(:,:) = undef
282  urban_tb(:,:) = undef
283  urban_tg(:,:) = undef
284  urban_tc(:,:) = undef
285  urban_qc(:,:) = undef
286  urban_uc(:,:) = undef
287  urban_trl(:,:,:) = undef
288  urban_tbl(:,:,:) = undef
289  urban_tgl(:,:,:) = undef
290  urban_rainr(:,:) = undef
291  urban_rainb(:,:) = undef
292  urban_raing(:,:) = undef
293  urban_roff(:,:) = undef
294 
295  allocate( urban_tr_t(ia,ja) )
296  allocate( urban_tb_t(ia,ja) )
297  allocate( urban_tg_t(ia,ja) )
298  allocate( urban_tc_t(ia,ja) )
299  allocate( urban_qc_t(ia,ja) )
300  allocate( urban_uc_t(ia,ja) )
301  allocate( urban_trl_t(uks:uke,ia,ja) )
302  allocate( urban_tbl_t(uks:uke,ia,ja) )
303  allocate( urban_tgl_t(uks:uke,ia,ja) )
304  allocate( urban_rainr_t(ia,ja) )
305  allocate( urban_rainb_t(ia,ja) )
306  allocate( urban_raing_t(ia,ja) )
307  allocate( urban_roff_t(ia,ja) )
308  urban_tr_t(:,:) = undef
309  urban_tb_t(:,:) = undef
310  urban_tg_t(:,:) = undef
311  urban_tc_t(:,:) = undef
312  urban_qc_t(:,:) = undef
313  urban_uc_t(:,:) = undef
314  urban_trl_t(:,:,:) = undef
315  urban_tbl_t(:,:,:) = undef
316  urban_tgl_t(:,:,:) = undef
317  urban_rainr_t(:,:) = undef
318  urban_rainb_t(:,:) = undef
319  urban_raing_t(:,:) = undef
320  urban_roff_t(:,:) = undef
321 
322  allocate( urban_sfc_temp(ia,ja) )
323  allocate( urban_sfc_albedo(ia,ja,2) )
324  allocate( urban_sflx_mw(ia,ja) )
325  allocate( urban_sflx_mu(ia,ja) )
326  allocate( urban_sflx_mv(ia,ja) )
327  allocate( urban_sflx_sh(ia,ja) )
328  allocate( urban_sflx_lh(ia,ja) )
329  allocate( urban_sflx_gh(ia,ja) )
330  allocate( urban_sflx_evap(ia,ja) )
331  urban_sfc_temp(:,:) = undef
332  urban_sfc_albedo(:,:,:) = undef
333  urban_sflx_mw(:,:) = undef
334  urban_sflx_mu(:,:) = undef
335  urban_sflx_mv(:,:) = undef
336  urban_sflx_sh(:,:) = undef
337  urban_sflx_lh(:,:) = undef
338  urban_sflx_gh(:,:) = undef
339  urban_sflx_evap(:,:) = undef
340 
341  allocate( urban_z0m(ia,ja) )
342  allocate( urban_z0h(ia,ja) )
343  allocate( urban_z0e(ia,ja) )
344  allocate( urban_u10(ia,ja) )
345  allocate( urban_v10(ia,ja) )
346  allocate( urban_t2(ia,ja) )
347  allocate( urban_q2(ia,ja) )
348  urban_z0m(:,:) = undef
349  urban_z0h(:,:) = undef
350  urban_z0e(:,:) = undef
351  urban_u10(:,:) = undef
352  urban_v10(:,:) = undef
353  urban_t2(:,:) = undef
354  urban_q2(:,:) = undef
355 
356  allocate( atmos_temp(ia,ja) )
357  allocate( atmos_pres(ia,ja) )
358  allocate( atmos_w(ia,ja) )
359  allocate( atmos_u(ia,ja) )
360  allocate( atmos_v(ia,ja) )
361  allocate( atmos_dens(ia,ja) )
362  allocate( atmos_qv(ia,ja) )
363  allocate( atmos_pbl(ia,ja) )
364  allocate( atmos_sfc_pres(ia,ja) )
365  allocate( atmos_sflx_lw(ia,ja,2) )
366  allocate( atmos_sflx_sw(ia,ja,2) )
367  allocate( atmos_cossza(ia,ja) )
368  allocate( atmos_sflx_prec(ia,ja) )
369  atmos_temp(:,:) = undef
370  atmos_pres(:,:) = undef
371  atmos_w(:,:) = undef
372  atmos_u(:,:) = undef
373  atmos_v(:,:) = undef
374  atmos_dens(:,:) = undef
375  atmos_qv(:,:) = undef
376  atmos_pbl(:,:) = undef
377  atmos_sfc_pres(:,:) = undef
378  atmos_sflx_lw(:,:,:) = undef
379  atmos_sflx_sw(:,:,:) = undef
380  atmos_cossza(:,:) = undef
381  atmos_sflx_prec(:,:) = undef
382 
383  !--- read namelist
384  rewind(io_fid_conf)
385  read(io_fid_conf,nml=param_urban_vars,iostat=ierr)
386  if( ierr < 0 ) then !--- missing
387  if( io_l ) write(io_fid_log,*) '*** Not found namelist. Default used.'
388  elseif( ierr > 0 ) then !--- fatal error
389  write(*,*) 'xxx Not appropriate names in namelist PARAM_URBAN_VARS. Check!'
390  call prc_mpistop
391  endif
392  if( io_nml ) write(io_fid_nml,nml=param_urban_vars)
393 
394  if( io_l ) write(io_fid_log,*)
395  if( io_l ) write(io_fid_log,*) '*** List of prognostic variables (URBAN) ***'
396  if( io_l ) write(io_fid_log,'(1x,A,A24,A,A48,A,A12,A)') &
397  '*** |', 'VARNAME ','|', &
398  'DESCRIPTION ', '[', 'UNIT ', ']'
399  do iv = 1, vmax
400  if( io_l ) write(io_fid_log,'(1x,A,I3,A,A24,A,A48,A,A12,A)') &
401  '*** NO.',iv,'|',var_name(iv),'|',var_desc(iv),'[',var_unit(iv),']'
402  enddo
403 
404  if( io_l ) write(io_fid_log,*)
405  if ( urban_restart_in_basename /= '' ) then
406  if( io_l ) write(io_fid_log,*) '*** Restart input? : YES, file = ', trim(urban_restart_in_basename)
407  if( io_l ) write(io_fid_log,*) '*** Add timelabel? : ', urban_restart_in_postfix_timelabel
408  else
409  if( io_l ) write(io_fid_log,*) '*** Restart input? : NO'
410  endif
411  if ( urban_restart_output &
412  .AND. urban_restart_out_basename /= '' ) then
413  if( io_l ) write(io_fid_log,*) '*** Restart output? : YES, file = ', trim(urban_restart_out_basename)
414  if( io_l ) write(io_fid_log,*) '*** Add timelabel? : ', urban_restart_out_postfix_timelabel
415  else
416  if( io_l ) write(io_fid_log,*) '*** Restart output? : NO'
417  urban_restart_output = .false.
418  endif
419 
420  return
real(rp), dimension(:,:), allocatable, public urban_qc_t
subroutine, public prc_mpistop
Abort MPI.
real(rp), dimension(:,:), allocatable, public urban_qc
real(rp), dimension(:,:), allocatable, public urban_rainr_t
real(rp), dimension(:,:,:), allocatable, public urban_trl_t
real(rp), dimension(:,:), allocatable, public urban_tg_t
real(rp), dimension(:,:), allocatable, public urban_u10
real(rp), dimension(:,:), allocatable, public urban_v10
real(rp), dimension(:,:), allocatable, public urban_raing_t
real(rp), dimension(:,:), allocatable, public urban_z0e
real(rp), dimension(:,:), allocatable, public urban_sflx_mu
real(rp), dimension(:,:), allocatable, public urban_sflx_evap
real(rp), dimension(:,:), allocatable, public urban_z0m
real(rp), dimension(:,:), allocatable, public urban_tb_t
real(rp), dimension(:,:), allocatable, public urban_t2
real(rp), dimension(:,:), allocatable, public urban_tb
real(rp), dimension(:,:), allocatable, public urban_raing
real(rp), dimension(:,:), allocatable, public urban_uc
real(rp), dimension(:,:), allocatable, public atmos_sflx_prec
real(rp), public const_undef
Definition: scale_const.F90:43
real(rp), dimension(:,:), allocatable, public atmos_pbl
real(rp), dimension(:,:), allocatable, public urban_sflx_sh
real(rp), dimension(:,:), allocatable, public urban_tr
real(rp), dimension(:,:,:), allocatable, public urban_tgl
real(rp), dimension(:,:), allocatable, public atmos_qv
real(rp), dimension(:,:), allocatable, public atmos_sfc_pres
real(rp), dimension(:,:), allocatable, public urban_uc_t
real(rp), dimension(:,:), allocatable, public urban_z0h
real(rp), dimension(:,:,:), allocatable, public atmos_sflx_sw
real(rp), dimension(:,:), allocatable, public atmos_v
real(rp), dimension(:,:), allocatable, public urban_roff
module PROCESS
real(rp), dimension(:,:), allocatable, public atmos_dens
module CONSTANT
Definition: scale_const.F90:14
real(rp), dimension(:,:,:), allocatable, public urban_sfc_albedo
real(rp), dimension(:,:), allocatable, public urban_sflx_lh
real(rp), dimension(:,:), allocatable, public urban_tc
real(rp), dimension(:,:), allocatable, public atmos_pres
real(rp), dimension(:,:), allocatable, public urban_rainr
real(rp), dimension(:,:), allocatable, public atmos_temp
real(rp), dimension(:,:), allocatable, public urban_q2
real(rp), dimension(:,:), allocatable, public urban_tg
real(rp), dimension(:,:), allocatable, public atmos_u
real(rp), dimension(:,:), allocatable, public urban_sfc_temp
real(rp), dimension(:,:,:), allocatable, public urban_trl
real(rp), dimension(:,:), allocatable, public urban_rainb_t
real(rp), dimension(:,:,:), allocatable, public atmos_sflx_lw
real(rp), dimension(:,:,:), allocatable, public urban_tbl
real(rp), dimension(:,:), allocatable, public urban_tr_t
real(rp), dimension(:,:,:), allocatable, public urban_tgl_t
real(rp), dimension(:,:), allocatable, public urban_sflx_gh
real(rp), dimension(:,:), allocatable, public urban_sflx_mv
real(rp), dimension(:,:), allocatable, public atmos_w
real(rp), dimension(:,:), allocatable, public urban_rainb
real(rp), dimension(:,:), allocatable, public urban_tc_t
real(rp), dimension(:,:), allocatable, public urban_roff_t
real(rp), dimension(:,:,:), allocatable, public urban_tbl_t
real(rp), dimension(:,:), allocatable, public urban_sflx_mw
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 426 of file mod_urban_vars.f90.

References scale_fileio::fileio_open(), scale_stdio::io_fid_log, scale_stdio::io_l, scale_time::time_gettimelabel(), urban_restart_in_basename, urban_restart_in_postfix_timelabel, and mod_urban_admin::urban_sw.

Referenced by mod_admin_restart::admin_restart_read().

426  use scale_time, only: &
428  use scale_fileio, only: &
429  fileio_open, &
430  fileio_check_coordinates
431  use mod_urban_admin, only: &
432  urban_sw
433  implicit none
434 
435  character(len=19) :: timelabel
436  character(len=H_LONG) :: basename
437  !---------------------------------------------------------------------------
438 
439  if( io_l ) write(io_fid_log,*)
440  if( io_l ) write(io_fid_log,*) '*** Open restart file (URBAN) ***'
441 
442  if ( urban_sw .and. urban_restart_in_basename /= '' ) then
443 
444  if ( urban_restart_in_postfix_timelabel ) then
445  call time_gettimelabel( timelabel )
446  basename = trim(urban_restart_in_basename)//'_'//trim(timelabel)
447  else
448  basename = trim(urban_restart_in_basename)
449  endif
450 
451  if( io_l ) write(io_fid_log,*) '*** basename: ', trim(basename)
452 
453  call fileio_open( restart_fid, & ! [OUT]
454  basename ) ! [IN]
455 
456  if ( urban_restart_in_check_coordinates ) then
457  call fileio_check_coordinates( restart_fid, urban=.true. )
458  end if
459 
460  else
461  if( io_l ) write(io_fid_log,*) '*** restart file for urban is not specified.'
462  endif
463 
464  return
logical, public urban_sw
module FILE I/O (netcdf)
subroutine, public time_gettimelabel(timelabel)
generate time label
Definition: scale_time.F90:90
module TIME
Definition: scale_time.F90:15
subroutine, public fileio_open(fid, basename)
open a netCDF file for read
module Urban admin
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 470 of file mod_urban_vars.f90.

References scale_fileio::fileio_flush(), scale_stdio::io_aggregate, scale_stdio::io_fid_log, scale_stdio::io_l, urban_qc, urban_rainb, urban_raing, urban_rainr, urban_roff, urban_sfc_albedo, urban_sfc_temp, urban_sflx_evap, urban_sflx_gh, urban_sflx_lh, urban_sflx_mu, urban_sflx_mv, urban_sflx_mw, urban_sflx_sh, urban_tb, urban_tbl, urban_tc, urban_tg, urban_tgl, urban_tr, urban_trl, urban_uc, and urban_vars_total().

Referenced by mod_admin_restart::admin_restart_read(), and mod_rm_driver::resume_state().

470  use scale_fileio, only: &
471  fileio_read, &
473  implicit none
474  !---------------------------------------------------------------------------
475 
476  if ( restart_fid /= -1 ) then
477  if( io_l ) write(io_fid_log,*)
478  if( io_l ) write(io_fid_log,*) '*** Read from restart file (URBAN) ***'
479 
480  call fileio_read( urban_tr(:,:), & ! [OUT]
481  restart_fid, var_name(i_tr), 'XY', step=1 ) ! [IN]
482  call fileio_read( urban_tb(:,:), & ! [OUT]
483  restart_fid, var_name(i_tb), 'XY', step=1 ) ! [IN]
484  call fileio_read( urban_tg(:,:), & ! [OUT]
485  restart_fid, var_name(i_tg), 'XY', step=1 ) ! [IN]
486  call fileio_read( urban_tc(:,:), & ! [OUT]
487  restart_fid, var_name(i_tc), 'XY', step=1 ) ! [IN]
488  call fileio_read( urban_qc(:,:), & ! [OUT]
489  restart_fid, var_name(i_qc), 'XY', step=1 ) ! [IN]
490  call fileio_read( urban_uc(:,:), & ! [OUT]
491  restart_fid, var_name(i_uc), 'XY', step=1 ) ! [IN]
492 
493  call fileio_read( urban_trl(:,:,:), & ! [OUT]
494  restart_fid, var_name(i_trl), 'Urban', step=1 ) ! [IN]
495  call fileio_read( urban_tbl(:,:,:), & ! [OUT]
496  restart_fid, var_name(i_tbl), 'Urban', step=1 ) ! [IN]
497  call fileio_read( urban_tgl(:,:,:), & ! [OUT]
498  restart_fid, var_name(i_tgl), 'Urban', step=1 ) ! [IN]
499 
500  call fileio_read( urban_rainr(:,:), & ! [OUT]
501  restart_fid, var_name(i_rainr), 'XY', step=1 ) ! [IN]
502  call fileio_read( urban_rainb(:,:), & ! [OUT]
503  restart_fid, var_name(i_rainb), 'XY', step=1 ) ! [IN]
504  call fileio_read( urban_raing(:,:), & ! [OUT]
505  restart_fid, var_name(i_raing), 'XY', step=1 ) ! [IN]
506  call fileio_read( urban_roff(:,:), & ! [OUT]
507  restart_fid, var_name(i_roff), 'XY', step=1 ) ! [IN]
508 
509  call fileio_read( urban_sfc_temp(:,:), & ! [OUT]
510  restart_fid, var_name(i_sfc_temp), 'XY', step=1 ) ! [IN]
511  call fileio_read( urban_sfc_albedo(:,:,i_lw), & ! [OUT]
512  restart_fid, var_name(i_alb_lw), 'XY', step=1 ) ! [IN]
513  call fileio_read( urban_sfc_albedo(:,:,i_sw), & ! [OUT]
514  restart_fid, var_name(i_alb_sw), 'XY', step=1 ) ! [IN]
515 
516  call fileio_read( urban_sflx_mw(:,:), & ! [OUT]
517  restart_fid, var_name(i_sflx_mw), 'XY', step=1 ) ! [IN]
518  call fileio_read( urban_sflx_mu(:,:), & ! [OUT]
519  restart_fid, var_name(i_sflx_mu), 'XY', step=1 ) ! [IN]
520  call fileio_read( urban_sflx_mv(:,:), & ! [OUT]
521  restart_fid, var_name(i_sflx_mv), 'XY', step=1 ) ! [IN]
522  call fileio_read( urban_sflx_sh(:,:), & ! [OUT]
523  restart_fid, var_name(i_sflx_sh), 'XY', step=1 ) ! [IN]
524  call fileio_read( urban_sflx_lh(:,:), & ! [OUT]
525  restart_fid, var_name(i_sflx_lh), 'XY', step=1 ) ! [IN]
526  call fileio_read( urban_sflx_gh(:,:), & ! [OUT]
527  restart_fid, var_name(i_sflx_gh), 'XY', step=1 ) ! [IN]
528  call fileio_read( urban_sflx_evap(:,:), & ! [OUT]
529  restart_fid, var_name(i_sflx_evap), 'XY', step=1 ) ! [IN]
530 
531  if( io_aggregate ) call fileio_flush( restart_fid ) ! commit all pending read requests
532 
533  call urban_vars_total
534  else
535  if( io_l ) write(io_fid_log,*) '*** invalid restart file ID for urban.'
536  endif
537 
538  return
real(rp), dimension(:,:), allocatable, public urban_qc
real(rp), dimension(:,:), allocatable, public urban_sflx_mu
subroutine, public fileio_flush(fid)
Flush all pending requests to a netCDF file (PnetCDF only)
real(rp), dimension(:,:), allocatable, public urban_sflx_evap
real(rp), dimension(:,:), allocatable, public urban_tb
real(rp), dimension(:,:), allocatable, public urban_raing
module FILE I/O (netcdf)
real(rp), dimension(:,:), allocatable, public urban_uc
integer, parameter, public i_lw
integer, parameter, public i_sw
real(rp), dimension(:,:), allocatable, public urban_sflx_sh
real(rp), dimension(:,:), allocatable, public urban_tr
real(rp), dimension(:,:,:), allocatable, public urban_tgl
real(rp), dimension(:,:), allocatable, public urban_roff
real(rp), dimension(:,:,:), allocatable, public urban_sfc_albedo
real(rp), dimension(:,:), allocatable, public urban_sflx_lh
real(rp), dimension(:,:), allocatable, public urban_tc
real(rp), dimension(:,:), allocatable, public urban_rainr
real(rp), dimension(:,:), allocatable, public urban_tg
real(rp), dimension(:,:), allocatable, public urban_sfc_temp
real(rp), dimension(:,:,:), allocatable, public urban_trl
real(rp), dimension(:,:,:), allocatable, public urban_tbl
real(rp), dimension(:,:), allocatable, public urban_sflx_gh
real(rp), dimension(:,:), allocatable, public urban_sflx_mv
real(rp), dimension(:,:), allocatable, public urban_rainb
real(rp), dimension(:,:), allocatable, public urban_sflx_mw
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 544 of file mod_urban_vars.f90.

References scale_grid_index::ie, scale_grid_index::is, scale_grid_index::je, scale_grid_index::js, urban_qc, urban_rainb, urban_raing, urban_rainr, urban_roff, urban_sfc_albedo, urban_sfc_temp, urban_sflx_evap, urban_sflx_gh, urban_sflx_lh, urban_sflx_mu, urban_sflx_mv, urban_sflx_mw, urban_sflx_sh, urban_tb, urban_tbl, urban_tc, urban_tg, urban_tgl, urban_tr, urban_trl, and urban_uc.

Referenced by mod_urban_driver::urban_driver(), and mod_urban_driver::urban_driver_resume().

544  use scale_history, only: &
545  hist_in
546  implicit none
547  !---------------------------------------------------------------------------
548 
549  if ( urban_vars_checkrange ) then
550  call valcheck( urban_tr(is:ie,js:je), 0.0_rp, 1000.0_rp, var_name(i_tr), &
551  __file__, __line__ )
552  call valcheck( urban_tb(is:ie,js:je), 0.0_rp, 1000.0_rp, var_name(i_tb), &
553  __file__, __line__ )
554  call valcheck( urban_tg(is:ie,js:je), 0.0_rp, 1000.0_rp, var_name(i_tg), &
555  __file__, __line__ )
556  call valcheck( urban_tc(is:ie,js:je), 0.0_rp, 1000.0_rp, var_name(i_tc), &
557  __file__, __line__ )
558  call valcheck( urban_qc(is:ie,js:je), 0.0_rp, 1000.0_rp, var_name(i_qc), &
559  __file__, __line__ )
560  call valcheck( urban_uc(is:ie,js:je), 0.0_rp, 1000.0_rp, var_name(i_uc), &
561  __file__, __line__ )
562  call valcheck( urban_trl(:,is:ie,js:je), 0.0_rp, 1000.0_rp, var_name(i_trl), &
563  __file__, __line__ )
564  call valcheck( urban_tbl(:,is:ie,js:je), 0.0_rp, 1000.0_rp, var_name(i_tbl), &
565  __file__, __line__ )
566  call valcheck( urban_tgl(:,is:ie,js:je), 0.0_rp, 1000.0_rp, var_name(i_tgl), &
567  __file__, __line__ )
568  call valcheck( urban_rainr(is:ie,js:je), -1000.0_rp, 1000.0_rp, var_name(i_rainr), &
569  __file__, __line__ )
570  call valcheck( urban_rainb(is:ie,js:je), -1000.0_rp, 1000.0_rp, var_name(i_rainb), &
571  __file__, __line__ )
572  call valcheck( urban_raing(is:ie,js:je), -1000.0_rp, 1000.0_rp, var_name(i_raing), &
573  __file__, __line__ )
574  call valcheck( urban_roff(is:ie,js:je), -1000.0_rp, 1000.0_rp, var_name(i_roff), &
575  __file__, __line__ )
576  call valcheck( urban_sfc_temp(is:ie,js:je), 0.0_rp, 1000.0_rp, var_name(i_sfc_temp), &
577  __file__, __line__ )
578  call valcheck( urban_sfc_albedo(is:ie,js:je,i_lw), 0.0_rp, 2.0_rp, var_name(i_alb_lw), &
579  __file__, __line__ )
580  call valcheck( urban_sfc_albedo(is:ie,js:je,i_sw), 0.0_rp, 2.0_rp, var_name(i_alb_sw), &
581  __file__, __line__ )
582  endif
583 
584  call hist_in( urban_tr(:,:), var_name(i_tr), var_desc(i_tr), var_unit(i_tr) )
585  call hist_in( urban_tb(:,:), var_name(i_tb), var_desc(i_tb), var_unit(i_tb) )
586  call hist_in( urban_tg(:,:), var_name(i_tg), var_desc(i_tg), var_unit(i_tg) )
587  call hist_in( urban_tc(:,:), var_name(i_tc), var_desc(i_tc), var_unit(i_tc) )
588  call hist_in( urban_qc(:,:), var_name(i_qc), var_desc(i_qc), var_unit(i_qc) )
589  call hist_in( urban_uc(:,:), var_name(i_uc), var_desc(i_uc), var_unit(i_uc) )
590 
591  call hist_in( urban_trl(:,:,:), var_name(i_trl), var_desc(i_trl), var_unit(i_trl), zdim='urban' )
592  call hist_in( urban_tbl(:,:,:), var_name(i_tbl), var_desc(i_tbl), var_unit(i_tbl), zdim='urban' )
593  call hist_in( urban_tgl(:,:,:), var_name(i_tgl), var_desc(i_tgl), var_unit(i_tgl), zdim='urban' )
594 
595  call hist_in( urban_rainr(:,:), var_name(i_rainr), var_desc(i_rainr), var_unit(i_rainr) )
596  call hist_in( urban_rainb(:,:), var_name(i_rainb), var_desc(i_rainb), var_unit(i_rainb) )
597  call hist_in( urban_raing(:,:), var_name(i_raing), var_desc(i_raing), var_unit(i_raing) )
598  call hist_in( urban_roff(:,:), var_name(i_roff), var_desc(i_roff), var_unit(i_roff) )
599 
600  call hist_in( urban_sfc_temp(:,:), var_name(i_sfc_temp), var_desc(i_sfc_temp), var_unit(i_sfc_temp) )
601  call hist_in( urban_sfc_albedo(:,:,i_lw), var_name(i_alb_lw), var_desc(i_alb_lw), var_unit(i_alb_lw) )
602  call hist_in( urban_sfc_albedo(:,:,i_sw), var_name(i_alb_sw), var_desc(i_alb_sw), var_unit(i_alb_sw) )
603 
604  call hist_in( urban_sflx_mw(:,:), var_name(i_sflx_mw), var_desc(i_sflx_mw), var_unit(i_sflx_mw) )
605  call hist_in( urban_sflx_mu(:,:), var_name(i_sflx_mu), var_desc(i_sflx_mu), var_unit(i_sflx_mu) )
606  call hist_in( urban_sflx_mv(:,:), var_name(i_sflx_mv), var_desc(i_sflx_mv), var_unit(i_sflx_mv) )
607  call hist_in( urban_sflx_sh(:,:), var_name(i_sflx_sh), var_desc(i_sflx_sh), var_unit(i_sflx_sh) )
608  call hist_in( urban_sflx_lh(:,:), var_name(i_sflx_lh), var_desc(i_sflx_lh), var_unit(i_sflx_lh) )
609  call hist_in( urban_sflx_gh(:,:), var_name(i_sflx_gh), var_desc(i_sflx_gh), var_unit(i_sflx_gh) )
610  call hist_in( urban_sflx_evap(:,:), var_name(i_sflx_evap), var_desc(i_sflx_evap), var_unit(i_sflx_evap) )
611 
612  return
real(rp), dimension(:,:), allocatable, public urban_qc
real(rp), dimension(:,:), allocatable, public urban_sflx_mu
real(rp), dimension(:,:), allocatable, public urban_sflx_evap
real(rp), dimension(:,:), allocatable, public urban_tb
real(rp), dimension(:,:), allocatable, public urban_raing
real(rp), dimension(:,:), allocatable, public urban_uc
integer, parameter, public i_lw
integer, parameter, public i_sw
real(rp), dimension(:,:), allocatable, public urban_sflx_sh
real(rp), dimension(:,:), allocatable, public urban_tr
real(rp), dimension(:,:,:), allocatable, public urban_tgl
real(rp), dimension(:,:), allocatable, public urban_roff
real(rp), dimension(:,:,:), allocatable, public urban_sfc_albedo
real(rp), dimension(:,:), allocatable, public urban_sflx_lh
real(rp), dimension(:,:), allocatable, public urban_tc
real(rp), dimension(:,:), allocatable, public urban_rainr
module HISTORY
real(rp), dimension(:,:), allocatable, public urban_tg
real(rp), dimension(:,:), allocatable, public urban_sfc_temp
real(rp), dimension(:,:,:), allocatable, public urban_trl
real(rp), dimension(:,:,:), allocatable, public urban_tbl
real(rp), dimension(:,:), allocatable, public urban_sflx_gh
real(rp), dimension(:,:), allocatable, public urban_sflx_mv
real(rp), dimension(:,:), allocatable, public urban_rainb
real(rp), dimension(:,:), allocatable, public urban_sflx_mw
Here is the caller graph for this function:

◆ urban_vars_total()

subroutine, public mod_urban_vars::urban_vars_total ( )

Budget monitor for urban.

Definition at line 618 of file mod_urban_vars.f90.

References scale_rm_statistics::statistics_checktotal, scale_urban_grid_index::uke, scale_urban_grid_index::uks, urban_qc, urban_rainb, urban_raing, urban_rainr, urban_roff, urban_sfc_albedo, urban_sfc_temp, urban_sflx_evap, urban_sflx_gh, urban_sflx_lh, urban_sflx_mu, urban_sflx_mv, urban_sflx_mw, urban_sflx_sh, urban_tb, urban_tbl, urban_tc, urban_tg, urban_tgl, urban_tr, urban_trl, and urban_uc.

Referenced by mod_urban_driver::urban_driver(), urban_vars_external_in(), urban_vars_restart_read(), and urban_vars_restart_write().

618  use scale_rm_statistics, only: &
620  stat_total
621  implicit none
622 
623  real(RP) :: total
624  integer :: k
625  !---------------------------------------------------------------------------
626 
627  if ( statistics_checktotal ) then
628  call stat_total( total, urban_tr(:,:), var_name(i_tr) )
629  call stat_total( total, urban_tb(:,:), var_name(i_tb) )
630  call stat_total( total, urban_tg(:,:), var_name(i_tg) )
631  call stat_total( total, urban_tc(:,:), var_name(i_tc) )
632  call stat_total( total, urban_qc(:,:), var_name(i_qc) )
633  call stat_total( total, urban_uc(:,:), var_name(i_uc) )
634 
635  do k = uks, uke
636  call stat_total( total, urban_trl(k,:,:), var_name(i_trl) )
637  call stat_total( total, urban_tbl(k,:,:), var_name(i_tbl) )
638  call stat_total( total, urban_tgl(k,:,:), var_name(i_tgl) )
639  enddo
640 
641  call stat_total( total, urban_rainr(:,:), var_name(i_rainr) )
642  call stat_total( total, urban_rainb(:,:), var_name(i_rainb) )
643  call stat_total( total, urban_raing(:,:), var_name(i_raing) )
644  call stat_total( total, urban_roff(:,:), var_name(i_roff) )
645 
646  call stat_total( total, urban_sfc_temp(:,:), var_name(i_sfc_temp) )
647  call stat_total( total, urban_sfc_albedo(:,:,i_lw), var_name(i_alb_lw) )
648  call stat_total( total, urban_sfc_albedo(:,:,i_sw), var_name(i_alb_sw) )
649 
650  call stat_total( total, urban_sflx_mw(:,:), var_name(i_sflx_mw) )
651  call stat_total( total, urban_sflx_mu(:,:), var_name(i_sflx_mu) )
652  call stat_total( total, urban_sflx_mv(:,:), var_name(i_sflx_mv) )
653  call stat_total( total, urban_sflx_sh(:,:), var_name(i_sflx_sh) )
654  call stat_total( total, urban_sflx_lh(:,:), var_name(i_sflx_lh) )
655  call stat_total( total, urban_sflx_gh(:,:), var_name(i_sflx_gh) )
656  call stat_total( total, urban_sflx_evap(:,:), var_name(i_sflx_evap) )
657 
658  endif
659 
660  return
logical, public statistics_checktotal
calc&report variable totals to logfile?
real(rp), dimension(:,:), allocatable, public urban_qc
real(rp), dimension(:,:), allocatable, public urban_sflx_mu
real(rp), dimension(:,:), allocatable, public urban_sflx_evap
real(rp), dimension(:,:), allocatable, public urban_tb
real(rp), dimension(:,:), allocatable, public urban_raing
real(rp), dimension(:,:), allocatable, public urban_uc
integer, parameter, public i_lw
module Statistics
integer, parameter, public i_sw
real(rp), dimension(:,:), allocatable, public urban_sflx_sh
real(rp), dimension(:,:), allocatable, public urban_tr
real(rp), dimension(:,:,:), allocatable, public urban_tgl
real(rp), dimension(:,:), allocatable, public urban_roff
real(rp), dimension(:,:,:), allocatable, public urban_sfc_albedo
real(rp), dimension(:,:), allocatable, public urban_sflx_lh
real(rp), dimension(:,:), allocatable, public urban_tc
real(rp), dimension(:,:), allocatable, public urban_rainr
real(rp), dimension(:,:), allocatable, public urban_tg
real(rp), dimension(:,:), allocatable, public urban_sfc_temp
real(rp), dimension(:,:,:), allocatable, public urban_trl
real(rp), dimension(:,:,:), allocatable, public urban_tbl
real(rp), dimension(:,:), allocatable, public urban_sflx_gh
real(rp), dimension(:,:), allocatable, public urban_sflx_mv
real(rp), dimension(:,:), allocatable, public urban_rainb
real(rp), dimension(:,:), allocatable, public urban_sflx_mw
Here is the caller graph for this function:

◆ urban_vars_external_in()

subroutine, public mod_urban_vars::urban_vars_external_in ( real(rp), dimension (ia,ja), intent(in)  URBAN_TC_in,
real(rp), dimension (ia,ja), intent(in)  URBAN_QC_in,
real(rp), dimension (ia,ja), intent(in)  URBAN_UC_in,
real(rp), dimension (ia,ja), intent(in)  URBAN_SFC_TEMP_in,
real(rp), dimension(ia,ja,2), intent(in)  URBAN_SFC_albedo_in 
)

Input from External I/O.

Definition at line 671 of file mod_urban_vars.f90.

References scale_stdio::io_fid_log, scale_stdio::io_l, scale_urban_grid_index::uke, scale_urban_grid_index::uks, urban_qc, urban_rainb, urban_raing, urban_rainr, urban_roff, urban_sfc_albedo, urban_sfc_temp, urban_sflx_evap, urban_sflx_gh, urban_sflx_lh, urban_sflx_mu, urban_sflx_mv, urban_sflx_mw, urban_sflx_sh, urban_tb, urban_tbl, urban_tc, urban_tg, urban_tgl, urban_tr, urban_trl, urban_uc, urban_vars_total(), urban_z0e, urban_z0h, and urban_z0m.

671  implicit none
672 
673  real(RP), intent(in) :: URBAN_TC_in (IA,JA)
674  real(RP), intent(in) :: URBAN_QC_in (IA,JA)
675  real(RP), intent(in) :: URBAN_UC_in (IA,JA)
676  real(RP), intent(in) :: URBAN_SFC_TEMP_in (IA,JA)
677  real(RP), intent(in) :: URBAN_SFC_albedo_in(IA,JA,2)
678 
679  integer :: k
680  !---------------------------------------------------------------------------
681 
682  if( io_l ) write(io_fid_log,*)
683  if( io_l ) write(io_fid_log,*) '*** External Input (coupler) ***'
684 
685  urban_tr(:,:) = urban_sfc_temp_in(:,:)
686  urban_tb(:,:) = urban_sfc_temp_in(:,:)
687  urban_tg(:,:) = urban_sfc_temp_in(:,:)
688 
689  urban_tc(:,:) = urban_tc_in(:,:)
690  urban_qc(:,:) = urban_qc_in(:,:)
691  urban_uc(:,:) = urban_uc_in(:,:)
692 
693  do k = uks, uke
694  urban_trl(k,:,:) = urban_sfc_temp_in(:,:)
695  urban_tbl(k,:,:) = urban_sfc_temp_in(:,:)
696  urban_tgl(k,:,:) = urban_sfc_temp_in(:,:)
697  end do
698 
699  urban_rainr(:,:) = 0.0_rp
700  urban_rainb(:,:) = 0.0_rp
701  urban_raing(:,:) = 0.0_rp
702  urban_roff(:,:) = 0.0_rp
703 
704  urban_sfc_temp(:,:) = urban_sfc_temp_in(:,:)
705  urban_sfc_albedo(:,:,:) = urban_sfc_albedo_in(:,:,:)
706 
707  urban_z0m(:,:) = 2.0_rp ! tentative, will be replace in urban scheme
708  urban_z0h(:,:) = 0.2_rp ! tentative, will be replace in urban scheme
709  urban_z0e(:,:) = 0.2_rp ! tentative, will be replace in urban scheme
710  urban_sflx_mw(:,:) = 0.0_rp
711  urban_sflx_mu(:,:) = 0.0_rp
712  urban_sflx_mv(:,:) = 0.0_rp
713  urban_sflx_sh(:,:) = 0.0_rp
714  urban_sflx_lh(:,:) = 0.0_rp
715  urban_sflx_gh(:,:) = 0.0_rp
716  urban_sflx_evap(:,:) = 0.0_rp
717 
718  call urban_vars_total
719 
720  return
real(rp), dimension(:,:), allocatable, public urban_qc
real(rp), dimension(:,:), allocatable, public urban_z0e
real(rp), dimension(:,:), allocatable, public urban_sflx_mu
real(rp), dimension(:,:), allocatable, public urban_sflx_evap
real(rp), dimension(:,:), allocatable, public urban_z0m
real(rp), dimension(:,:), allocatable, public urban_tb
real(rp), dimension(:,:), allocatable, public urban_raing
real(rp), dimension(:,:), allocatable, public urban_uc
real(rp), dimension(:,:), allocatable, public urban_sflx_sh
real(rp), dimension(:,:), allocatable, public urban_tr
real(rp), dimension(:,:,:), allocatable, public urban_tgl
real(rp), dimension(:,:), allocatable, public urban_z0h
real(rp), dimension(:,:), allocatable, public urban_roff
real(rp), dimension(:,:,:), allocatable, public urban_sfc_albedo
real(rp), dimension(:,:), allocatable, public urban_sflx_lh
real(rp), dimension(:,:), allocatable, public urban_tc
real(rp), dimension(:,:), allocatable, public urban_rainr
real(rp), dimension(:,:), allocatable, public urban_tg
real(rp), dimension(:,:), allocatable, public urban_sfc_temp
real(rp), dimension(:,:,:), allocatable, public urban_trl
real(rp), dimension(:,:,:), allocatable, public urban_tbl
real(rp), dimension(:,:), allocatable, public urban_sflx_gh
real(rp), dimension(:,:), allocatable, public urban_sflx_mv
real(rp), dimension(:,:), allocatable, public urban_rainb
real(rp), dimension(:,:), allocatable, public urban_sflx_mw
Here is the call graph for this function:

◆ urban_vars_restart_create()

subroutine, public mod_urban_vars::urban_vars_restart_create ( )

Create urban restart file.

Definition at line 726 of file mod_urban_vars.f90.

References scale_fileio::fileio_create(), scale_stdio::io_fid_log, scale_stdio::io_l, scale_time::time_gettimelabel(), urban_restart_out_basename, urban_restart_out_dtype, urban_restart_out_postfix_timelabel, urban_restart_out_title, and mod_urban_admin::urban_sw.

Referenced by mod_admin_restart::admin_restart_write().

726  use scale_time, only: &
728  use scale_fileio, only: &
730  use mod_urban_admin, only: &
731  urban_sw
732  implicit none
733 
734  character(len=19) :: timelabel
735  character(len=H_LONG) :: basename
736  !---------------------------------------------------------------------------
737 
738  if ( urban_sw .and. urban_restart_out_basename /= '' ) then
739 
740  if( io_l ) write(io_fid_log,*)
741  if( io_l ) write(io_fid_log,*) '*** Create restart file (URBAN) ***'
742 
743  if ( urban_restart_out_postfix_timelabel ) then
744  call time_gettimelabel( timelabel )
745  basename = trim(urban_restart_out_basename)//'_'//trim(timelabel)
746  else
747  basename = trim(urban_restart_out_basename)
748  endif
749 
750  if( io_l ) write(io_fid_log,*) '*** basename: ', trim(basename)
751 
752  call fileio_create( restart_fid, & ! [OUT]
753  basename, urban_restart_out_title, urban_restart_out_dtype ) ! [IN]
754 
755  endif
756 
757  return
logical, public urban_sw
module FILE I/O (netcdf)
subroutine, public time_gettimelabel(timelabel)
generate time label
Definition: scale_time.F90:90
subroutine, public fileio_create(fid, basename, title, datatype, date, subsec, append, nozcoord)
Create/open a netCDF file.
module TIME
Definition: scale_time.F90:15
module Urban admin
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 763 of file mod_urban_vars.f90.

References scale_fileio::fileio_enddef().

Referenced by mod_admin_restart::admin_restart_write().

763  use scale_fileio, only: &
765  implicit none
766 
767  if ( restart_fid /= -1 ) then
768  call fileio_enddef( restart_fid ) ! [IN]
769  endif
770 
771  return
module FILE I/O (netcdf)
subroutine, public fileio_enddef(fid)
Exit netCDF file define mode.
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 777 of file mod_urban_vars.f90.

References scale_fileio::fileio_close(), scale_stdio::io_fid_log, and scale_stdio::io_l.

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

777  use scale_fileio, only: &
779  implicit none
780  !---------------------------------------------------------------------------
781 
782  if ( restart_fid /= -1 ) then
783  if( io_l ) write(io_fid_log,*)
784  if( io_l ) write(io_fid_log,*) '*** Close restart file (URBAN) ***'
785 
786  call fileio_close( restart_fid ) ! [IN]
787 
788  restart_fid = -1
789  endif
790 
791  return
module FILE I/O (netcdf)
subroutine, public fileio_close(fid)
Close a netCDF file.
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 797 of file mod_urban_vars.f90.

References scale_fileio::fileio_def_var(), and urban_restart_out_dtype.

Referenced by mod_admin_restart::admin_restart_write().

797  use scale_fileio, only: &
799  implicit none
800  !---------------------------------------------------------------------------
801 
802  if ( restart_fid /= -1 ) then
803 
804  call fileio_def_var( restart_fid, var_id(i_tr), var_name(i_tr), var_desc(i_tr), &
805  var_unit(i_tr), 'XY', urban_restart_out_dtype )
806  call fileio_def_var( restart_fid, var_id(i_tb), var_name(i_tb), var_desc(i_tb), &
807  var_unit(i_tb), 'XY', urban_restart_out_dtype )
808  call fileio_def_var( restart_fid, var_id(i_tg), var_name(i_tg), var_desc(i_tg), &
809  var_unit(i_tg), 'XY', urban_restart_out_dtype )
810  call fileio_def_var( restart_fid, var_id(i_tc), var_name(i_tc), var_desc(i_tc), &
811  var_unit(i_tc), 'XY', urban_restart_out_dtype )
812  call fileio_def_var( restart_fid, var_id(i_qc), var_name(i_qc), var_desc(i_qc), &
813  var_unit(i_qc), 'XY', urban_restart_out_dtype )
814  call fileio_def_var( restart_fid, var_id(i_uc), var_name(i_uc), var_desc(i_uc), &
815  var_unit(i_uc), 'XY', urban_restart_out_dtype )
816 
817  call fileio_def_var( restart_fid, var_id(i_trl), var_name(i_trl), var_desc(i_trl), &
818  var_unit(i_trl), 'Urban', urban_restart_out_dtype )
819  call fileio_def_var( restart_fid, var_id(i_tbl), var_name(i_tbl), var_desc(i_tbl), &
820  var_unit(i_tbl), 'Urban', urban_restart_out_dtype )
821  call fileio_def_var( restart_fid, var_id(i_tgl), var_name(i_tgl), var_desc(i_tgl), &
822  var_unit(i_tgl), 'Urban', urban_restart_out_dtype )
823 
824  call fileio_def_var( restart_fid, var_id(i_rainr), var_name(i_rainr), var_desc(i_rainr), &
825  var_unit(i_rainr), 'XY', urban_restart_out_dtype )
826  call fileio_def_var( restart_fid, var_id(i_rainb), var_name(i_rainb), var_desc(i_rainb), &
827  var_unit(i_rainb), 'XY', urban_restart_out_dtype )
828  call fileio_def_var( restart_fid, var_id(i_raing), var_name(i_raing), var_desc(i_raing), &
829  var_unit(i_raing), 'XY', urban_restart_out_dtype )
830  call fileio_def_var( restart_fid, var_id(i_roff), var_name(i_roff), var_desc(i_roff), &
831  var_unit(i_roff), 'XY', urban_restart_out_dtype )
832 
833  call fileio_def_var( restart_fid, var_id(i_sfc_temp), var_name(i_sfc_temp), var_desc(i_sfc_temp), &
834  var_unit(i_sfc_temp), 'XY', urban_restart_out_dtype )
835  call fileio_def_var( restart_fid, var_id(i_alb_lw), var_name(i_alb_lw), var_desc(i_alb_lw), &
836  var_unit(i_alb_lw), 'XY', urban_restart_out_dtype )
837  call fileio_def_var( restart_fid, var_id(i_alb_sw), var_name(i_alb_sw), var_desc(i_alb_sw), &
838  var_unit(i_alb_sw), 'XY', urban_restart_out_dtype )
839 
840  call fileio_def_var( restart_fid, var_id(i_sflx_mw), var_name(i_sflx_mw), var_desc(i_sflx_mw), &
841  var_unit(i_sflx_mw), 'XY', urban_restart_out_dtype )
842  call fileio_def_var( restart_fid, var_id(i_sflx_mu), var_name(i_sflx_mu), var_desc(i_sflx_mu), &
843  var_unit(i_sflx_mu), 'XY', urban_restart_out_dtype )
844  call fileio_def_var( restart_fid, var_id(i_sflx_mv), var_name(i_sflx_mv), var_desc(i_sflx_mv), &
845  var_unit(i_sflx_mv), 'XY', urban_restart_out_dtype )
846  call fileio_def_var( restart_fid, var_id(i_sflx_sh), var_name(i_sflx_sh), var_desc(i_sflx_sh), &
847  var_unit(i_sflx_sh), 'XY', urban_restart_out_dtype )
848  call fileio_def_var( restart_fid, var_id(i_sflx_lh), var_name(i_sflx_lh), var_desc(i_sflx_lh), &
849  var_unit(i_sflx_lh), 'XY', urban_restart_out_dtype )
850  call fileio_def_var( restart_fid, var_id(i_sflx_gh), var_name(i_sflx_gh), var_desc(i_sflx_gh), &
851  var_unit(i_sflx_gh), 'XY', urban_restart_out_dtype )
852  call fileio_def_var( restart_fid, var_id(i_sflx_evap), var_name(i_sflx_evap), var_desc(i_sflx_evap), &
853  var_unit(i_sflx_evap), 'XY', urban_restart_out_dtype )
854 
855  endif
856 
857  return
module FILE I/O (netcdf)
subroutine, public fileio_def_var(fid, vid, varname, desc, unit, axistype, datatype, timeintv, nsteps)
Define a variable to file.
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 863 of file mod_urban_vars.f90.

References urban_qc, urban_rainb, urban_raing, urban_rainr, urban_roff, urban_sfc_albedo, urban_sfc_temp, urban_sflx_evap, urban_sflx_gh, urban_sflx_lh, urban_sflx_mu, urban_sflx_mv, urban_sflx_mw, urban_sflx_sh, urban_tb, urban_tbl, urban_tc, urban_tg, urban_tgl, urban_tr, urban_trl, urban_uc, and urban_vars_total().

Referenced by mod_admin_restart::admin_restart_write().

863  use scale_fileio, only: &
864  fileio_write_var
865  implicit none
866  !---------------------------------------------------------------------------
867 
868  if ( restart_fid /= -1 ) then
869 
870  call urban_vars_total
871 
872  call fileio_write_var( restart_fid, var_id(i_tr), urban_tr(:,:), & ! [IN]
873  var_name(i_tr), 'XY', nohalo=.true. ) ! [IN]
874  call fileio_write_var( restart_fid, var_id(i_tb), urban_tb(:,:), & ! [IN]
875  var_name(i_tb), 'XY', nohalo=.true. ) ! [IN]
876  call fileio_write_var( restart_fid, var_id(i_tg), urban_tg(:,:), & ! [IN]
877  var_name(i_tg), 'XY', nohalo=.true. ) ! [IN]
878  call fileio_write_var( restart_fid, var_id(i_tc), urban_tc(:,:), & ! [IN]
879  var_name(i_tc), 'XY', nohalo=.true. ) ! [IN]
880  call fileio_write_var( restart_fid, var_id(i_qc), urban_qc(:,:), & ! [IN]
881  var_name(i_qc), 'XY', nohalo=.true. ) ! [IN]
882  call fileio_write_var( restart_fid, var_id(i_uc), urban_uc(:,:), & ! [IN]
883  var_name(i_uc), 'XY', nohalo=.true. ) ! [IN]
884 
885  call fileio_write_var( restart_fid, var_id(i_trl), urban_trl(:,:,:), & ! [IN]
886  var_name(i_trl), 'Urban', nohalo=.true. ) ! [IN]
887  call fileio_write_var( restart_fid, var_id(i_tbl), urban_tbl(:,:,:), & ! [IN]
888  var_name(i_tbl), 'Urban', nohalo=.true. ) ! [IN]
889  call fileio_write_var( restart_fid, var_id(i_tgl), urban_tgl(:,:,:), & ! [IN]
890  var_name(i_tgl), 'Urban', nohalo=.true. ) ! [IN]
891 
892  call fileio_write_var( restart_fid, var_id(i_rainr), urban_rainr(:,:), & ! [IN]
893  var_name(i_rainr), 'XY', nohalo=.true. ) ! [IN]
894  call fileio_write_var( restart_fid, var_id(i_rainb), urban_rainb(:,:), & ! [IN]
895  var_name(i_rainb), 'XY', nohalo=.true. ) ! [IN]
896  call fileio_write_var( restart_fid, var_id(i_raing), urban_raing(:,:), & ! [IN]
897  var_name(i_raing), 'XY', nohalo=.true. ) ! [IN]
898  call fileio_write_var( restart_fid, var_id(i_roff), urban_roff(:,:), & ! [IN]
899  var_name(i_roff), 'XY', nohalo=.true. ) ! [IN]
900 
901  call fileio_write_var( restart_fid, var_id(i_sfc_temp), urban_sfc_temp(:,:), & ! [IN]
902  var_name(i_sfc_temp), 'XY', nohalo=.true. ) ! [IN]
903  call fileio_write_var( restart_fid, var_id(i_alb_lw), urban_sfc_albedo(:,:,i_lw), & ! [IN]
904  var_name(i_alb_lw), 'XY', nohalo=.true. ) ! [IN]
905  call fileio_write_var( restart_fid, var_id(i_alb_sw), urban_sfc_albedo(:,:,i_sw), & ! [IN]
906  var_name(i_alb_sw), 'XY', nohalo=.true. ) ! [IN]
907 
908  call fileio_write_var( restart_fid, var_id(i_sflx_mw), urban_sflx_mw(:,:), & ! [IN]
909  var_name(i_sflx_mw), 'XY', nohalo=.true. ) ! [IN]
910  call fileio_write_var( restart_fid, var_id(i_sflx_mu), urban_sflx_mu(:,:), & ! [IN]
911  var_name(i_sflx_mu), 'XY', nohalo=.true. ) ! [IN]
912  call fileio_write_var( restart_fid, var_id(i_sflx_mv), urban_sflx_mv(:,:), & ! [IN]
913  var_name(i_sflx_mv), 'XY', nohalo=.true. ) ! [IN]
914  call fileio_write_var( restart_fid, var_id(i_sflx_sh), urban_sflx_sh(:,:), & ! [IN]
915  var_name(i_sflx_sh), 'XY', nohalo=.true. ) ! [IN]
916  call fileio_write_var( restart_fid, var_id(i_sflx_lh), urban_sflx_lh(:,:), & ! [IN]
917  var_name(i_sflx_lh), 'XY', nohalo=.true. ) ! [IN]
918  call fileio_write_var( restart_fid, var_id(i_sflx_gh), urban_sflx_gh(:,:), & ! [IN]
919  var_name(i_sflx_gh), 'XY', nohalo=.true. ) ! [IN]
920  call fileio_write_var( restart_fid, var_id(i_sflx_evap), urban_sflx_evap(:,:), & ! [IN]
921  var_name(i_sflx_evap), 'XY', nohalo=.true. ) ! [IN]
922 
923  endif
924 
925  return
real(rp), dimension(:,:), allocatable, public urban_qc
real(rp), dimension(:,:), allocatable, public urban_sflx_mu
real(rp), dimension(:,:), allocatable, public urban_sflx_evap
real(rp), dimension(:,:), allocatable, public urban_tb
real(rp), dimension(:,:), allocatable, public urban_raing
module FILE I/O (netcdf)
real(rp), dimension(:,:), allocatable, public urban_uc
integer, parameter, public i_lw
integer, parameter, public i_sw
real(rp), dimension(:,:), allocatable, public urban_sflx_sh
real(rp), dimension(:,:), allocatable, public urban_tr
real(rp), dimension(:,:,:), allocatable, public urban_tgl
real(rp), dimension(:,:), allocatable, public urban_roff
real(rp), dimension(:,:,:), allocatable, public urban_sfc_albedo
real(rp), dimension(:,:), allocatable, public urban_sflx_lh
real(rp), dimension(:,:), allocatable, public urban_tc
real(rp), dimension(:,:), allocatable, public urban_rainr
real(rp), dimension(:,:), allocatable, public urban_tg
real(rp), dimension(:,:), allocatable, public urban_sfc_temp
real(rp), dimension(:,:,:), allocatable, public urban_trl
real(rp), dimension(:,:,:), allocatable, public urban_tbl
real(rp), dimension(:,:), allocatable, public urban_sflx_gh
real(rp), dimension(:,:), allocatable, public urban_sflx_mv
real(rp), dimension(:,:), allocatable, public urban_rainb
real(rp), dimension(:,:), allocatable, public urban_sflx_mw
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 50 of file mod_urban_vars.f90.

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

50  logical, public :: URBAN_RESTART_OUTPUT = .false.

◆ urban_restart_in_basename

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

Basename of the input file.

Definition at line 52 of file mod_urban_vars.f90.

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

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

◆ 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 53 of file mod_urban_vars.f90.

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

53  logical, public :: URBAN_RESTART_IN_POSTFIX_TIMELABEL = .false.

◆ urban_restart_out_basename

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

Basename of the output file.

Definition at line 54 of file mod_urban_vars.f90.

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

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

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

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

55  logical, public :: URBAN_RESTART_OUT_POSTFIX_TIMELABEL = .true.

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

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

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

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

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

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

◆ 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_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_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_roff

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

◆ urban_trl_t

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

Definition at line 75 of file mod_urban_vars.f90.

Referenced by mod_urban_driver::urban_driver(), mod_urban_phy_driver::urban_phy_driver(), and urban_vars_setup().

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

◆ urban_tbl_t

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

Definition at line 76 of file mod_urban_vars.f90.

Referenced by mod_urban_driver::urban_driver(), mod_urban_phy_driver::urban_phy_driver(), and urban_vars_setup().

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

◆ urban_tgl_t

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

Definition at line 77 of file mod_urban_vars.f90.

Referenced by mod_urban_driver::urban_driver(), mod_urban_phy_driver::urban_phy_driver(), and urban_vars_setup().

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

◆ urban_tc_t

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

Definition at line 78 of file mod_urban_vars.f90.

Referenced by mod_urban_driver::urban_driver(), mod_urban_phy_driver::urban_phy_driver(), and urban_vars_setup().

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

◆ urban_uc_t

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

Definition at line 79 of file mod_urban_vars.f90.

Referenced by mod_urban_driver::urban_driver(), mod_urban_phy_driver::urban_phy_driver(), and urban_vars_setup().

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

◆ urban_qc_t

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

Definition at line 80 of file mod_urban_vars.f90.

Referenced by mod_urban_driver::urban_driver(), mod_urban_phy_driver::urban_phy_driver(), and urban_vars_setup().

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

◆ urban_tr_t

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

Definition at line 81 of file mod_urban_vars.f90.

Referenced by mod_urban_driver::urban_driver(), mod_urban_phy_driver::urban_phy_driver(), and urban_vars_setup().

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

◆ urban_tb_t

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

Definition at line 82 of file mod_urban_vars.f90.

Referenced by mod_urban_driver::urban_driver(), mod_urban_phy_driver::urban_phy_driver(), and urban_vars_setup().

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

◆ urban_tg_t

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

Definition at line 83 of file mod_urban_vars.f90.

Referenced by mod_urban_driver::urban_driver(), mod_urban_phy_driver::urban_phy_driver(), and urban_vars_setup().

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

◆ urban_rainr_t

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

Definition at line 84 of file mod_urban_vars.f90.

Referenced by mod_urban_driver::urban_driver(), mod_urban_phy_driver::urban_phy_driver(), and urban_vars_setup().

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

◆ urban_rainb_t

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

Definition at line 85 of file mod_urban_vars.f90.

Referenced by mod_urban_driver::urban_driver(), mod_urban_phy_driver::urban_phy_driver(), and urban_vars_setup().

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

◆ urban_raing_t

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

Definition at line 86 of file mod_urban_vars.f90.

Referenced by mod_urban_driver::urban_driver(), mod_urban_phy_driver::urban_phy_driver(), and urban_vars_setup().

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

◆ urban_roff_t

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

Definition at line 87 of file mod_urban_vars.f90.

Referenced by mod_urban_driver::urban_driver(), mod_urban_phy_driver::urban_phy_driver(), and urban_vars_setup().

87  real(RP), public, allocatable :: URBAN_ROFF_t (:,:) ! tendency of URBAN_ROFF

◆ 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

◆ urban_sflx_mw

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

Definition at line 92 of file mod_urban_vars.f90.

Referenced by mod_urban_phy_driver::urban_phy_driver(), mod_urban_driver::urban_surface_set(), urban_vars_external_in(), urban_vars_history(), urban_vars_restart_read(), urban_vars_restart_write(), urban_vars_setup(), and urban_vars_total().

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

◆ urban_sflx_mu

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

Definition at line 93 of file mod_urban_vars.f90.

Referenced by mod_urban_phy_driver::urban_phy_driver(), mod_urban_driver::urban_surface_set(), urban_vars_external_in(), urban_vars_history(), urban_vars_restart_read(), urban_vars_restart_write(), urban_vars_setup(), and urban_vars_total().

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

◆ urban_sflx_mv

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

Definition at line 94 of file mod_urban_vars.f90.

Referenced by mod_urban_phy_driver::urban_phy_driver(), mod_urban_driver::urban_surface_set(), urban_vars_external_in(), urban_vars_history(), urban_vars_restart_read(), urban_vars_restart_write(), urban_vars_setup(), and urban_vars_total().

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

◆ urban_sflx_sh

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

Definition at line 95 of file mod_urban_vars.f90.

Referenced by mod_urban_phy_driver::urban_phy_driver(), mod_urban_driver::urban_surface_set(), urban_vars_external_in(), urban_vars_history(), urban_vars_restart_read(), urban_vars_restart_write(), urban_vars_setup(), and urban_vars_total().

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

◆ urban_sflx_lh

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

Definition at line 96 of file mod_urban_vars.f90.

Referenced by mod_urban_phy_driver::urban_phy_driver(), mod_urban_driver::urban_surface_set(), urban_vars_external_in(), urban_vars_history(), urban_vars_restart_read(), urban_vars_restart_write(), urban_vars_setup(), and urban_vars_total().

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

◆ urban_sflx_gh

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

Definition at line 97 of file mod_urban_vars.f90.

Referenced by mod_urban_phy_driver::urban_phy_driver(), mod_urban_driver::urban_surface_set(), urban_vars_external_in(), urban_vars_history(), urban_vars_restart_read(), urban_vars_restart_write(), urban_vars_setup(), and urban_vars_total().

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

◆ urban_sflx_evap

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

Definition at line 98 of file mod_urban_vars.f90.

Referenced by mod_urban_phy_driver::urban_phy_driver(), mod_urban_driver::urban_surface_set(), urban_vars_external_in(), urban_vars_history(), urban_vars_restart_read(), urban_vars_restart_write(), urban_vars_setup(), and urban_vars_total().

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

◆ urban_z0m

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

Definition at line 101 of file mod_urban_vars.f90.

Referenced by mod_urban_phy_driver::urban_phy_driver(), mod_urban_phy_driver::urban_phy_driver_setup(), mod_urban_driver::urban_surface_set(), urban_vars_external_in(), and urban_vars_setup().

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

◆ urban_z0h

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

Definition at line 102 of file mod_urban_vars.f90.

Referenced by mod_urban_phy_driver::urban_phy_driver(), mod_urban_phy_driver::urban_phy_driver_setup(), mod_urban_driver::urban_surface_set(), urban_vars_external_in(), and urban_vars_setup().

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

◆ urban_z0e

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

Definition at line 103 of file mod_urban_vars.f90.

Referenced by mod_urban_phy_driver::urban_phy_driver(), mod_urban_phy_driver::urban_phy_driver_setup(), mod_urban_driver::urban_surface_set(), urban_vars_external_in(), and urban_vars_setup().

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

◆ urban_u10

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

Definition at line 104 of file mod_urban_vars.f90.

Referenced by mod_urban_phy_driver::urban_phy_driver(), mod_urban_driver::urban_surface_set(), and urban_vars_setup().

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

◆ urban_v10

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

Definition at line 105 of file mod_urban_vars.f90.

Referenced by mod_urban_phy_driver::urban_phy_driver(), mod_urban_driver::urban_surface_set(), and urban_vars_setup().

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

◆ urban_t2

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

Definition at line 106 of file mod_urban_vars.f90.

Referenced by mod_urban_phy_driver::urban_phy_driver(), mod_urban_driver::urban_surface_set(), and urban_vars_setup().

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

◆ urban_q2

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

Definition at line 107 of file mod_urban_vars.f90.

Referenced by mod_urban_phy_driver::urban_phy_driver(), mod_urban_driver::urban_surface_set(), and urban_vars_setup().

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

◆ atmos_temp

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

Definition at line 110 of file mod_urban_vars.f90.

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

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

◆ atmos_pres

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

Definition at line 111 of file mod_urban_vars.f90.

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

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

◆ atmos_w

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

Definition at line 112 of file mod_urban_vars.f90.

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

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

◆ atmos_u

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

Definition at line 113 of file mod_urban_vars.f90.

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

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

◆ atmos_v

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

Definition at line 114 of file mod_urban_vars.f90.

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

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

◆ atmos_dens

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

Definition at line 115 of file mod_urban_vars.f90.

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

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

◆ atmos_qv

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

Definition at line 116 of file mod_urban_vars.f90.

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

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

◆ atmos_pbl

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

Definition at line 117 of file mod_urban_vars.f90.

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

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

◆ atmos_sfc_pres

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

Definition at line 118 of file mod_urban_vars.f90.

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

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

◆ atmos_sflx_lw

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

Definition at line 119 of file mod_urban_vars.f90.

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

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

◆ atmos_sflx_sw

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

Definition at line 120 of file mod_urban_vars.f90.

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

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

◆ atmos_cossza

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

Definition at line 121 of file mod_urban_vars.f90.

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

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

◆ atmos_sflx_prec

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

Definition at line 122 of file mod_urban_vars.f90.

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

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