SCALE-RM
Functions/Subroutines | Variables
mod_atmos_phy_sf_vars Module Reference

module ATMOSPHERIC Surface Variables More...

Functions/Subroutines

subroutine, public atmos_phy_sf_vars_setup
 Setup. More...
 
subroutine, public atmos_phy_sf_vars_fillhalo
 HALO Communication. More...
 
subroutine, public atmos_phy_sf_vars_restart_open
 Open restart file for read. More...
 
subroutine, public atmos_phy_sf_vars_restart_read
 Read restart. More...
 
subroutine, public atmos_phy_sf_vars_restart_create
 Create restart file. More...
 
subroutine, public atmos_phy_sf_vars_restart_enddef
 Exit netCDF define mode. More...
 
subroutine, public atmos_phy_sf_vars_restart_close
 Close restart file. More...
 
subroutine, public atmos_phy_sf_vars_restart_def_var
 Write restart. More...
 
subroutine, public atmos_phy_sf_vars_restart_write
 Write variables to restart file. More...
 
subroutine atmos_phy_sf_vars_check
 

Variables

logical, public atmos_phy_sf_restart_output = .false.
 output restart file? More...
 
character(len=h_long), public atmos_phy_sf_restart_in_basename = ''
 Basename of the input file. More...
 
logical, public atmos_phy_sf_restart_in_aggregate
 Switch to use aggregate file. More...
 
logical, public atmos_phy_sf_restart_in_postfix_timelabel = .false.
 Add timelabel to the basename of input file? More...
 
character(len=h_long), public atmos_phy_sf_restart_out_basename = ''
 Basename of the output file. More...
 
logical, public atmos_phy_sf_restart_out_aggregate
 Switch to use aggregate file. More...
 
logical, public atmos_phy_sf_restart_out_postfix_timelabel = .true.
 Add timelabel to the basename of output file? More...
 
character(len=h_mid), public atmos_phy_sf_restart_out_title = 'ATMOS_PHY_SF restart'
 title of the output file More...
 
character(len=h_short), public atmos_phy_sf_restart_out_dtype = 'DEFAULT'
 REAL4 or REAL8. More...
 
real(rp), dimension(:,:), allocatable, public atmos_phy_sf_dens_t
 
real(rp), dimension(:,:), allocatable, public atmos_phy_sf_momz_t
 
real(rp), dimension(:,:), allocatable, public atmos_phy_sf_rhou_t
 
real(rp), dimension(:,:), allocatable, public atmos_phy_sf_rhov_t
 
real(rp), dimension(:,:), allocatable, public atmos_phy_sf_rhoh
 
real(rp), dimension(:,:,:), allocatable, public atmos_phy_sf_rhoq_t
 
real(rp), dimension(:,:), allocatable, public atmos_phy_sf_sfc_temp
 
real(rp), dimension(:,:,:,:), allocatable, public atmos_phy_sf_sfc_albedo
 
real(rp), dimension(:,:), allocatable, public atmos_phy_sf_sfc_z0m
 
real(rp), dimension(:,:), allocatable, public atmos_phy_sf_sfc_z0h
 
real(rp), dimension(:,:), allocatable, public atmos_phy_sf_sfc_z0e
 
real(rp), dimension(:,:), allocatable, public atmos_phy_sf_sfc_dens
 
real(rp), dimension(:,:), allocatable, public atmos_phy_sf_sfc_pres
 
real(rp), dimension(:,:), allocatable, public atmos_phy_sf_prec_mass
 
real(rp), dimension(:,:), allocatable, public atmos_phy_sf_prec_engi
 
real(rp), dimension(:,:), allocatable, public atmos_phy_sf_sflx_mw
 
real(rp), dimension(:,:), allocatable, public atmos_phy_sf_sflx_mu
 
real(rp), dimension(:,:), allocatable, public atmos_phy_sf_sflx_mv
 
real(rp), dimension(:,:), allocatable, public atmos_phy_sf_sflx_sh
 
real(rp), dimension(:,:), allocatable, public atmos_phy_sf_sflx_lh
 
real(rp), dimension(:,:), allocatable, public atmos_phy_sf_sflx_shex
 
real(rp), dimension(:,:), allocatable, public atmos_phy_sf_sflx_qvex
 
real(rp), dimension(:,:), allocatable, public atmos_phy_sf_sflx_gh
 
real(rp), dimension(:,:,:), allocatable, target, public atmos_phy_sf_sflx_qtrc
 
real(rp), dimension(:,:), allocatable, public atmos_phy_sf_sflx_engi
 
real(rp), dimension(:,:), pointer, public atmos_phy_sf_sflx_qv
 
real(rp), dimension(:,:), allocatable, public atmos_phy_sf_ustar
 
real(rp), dimension(:,:), allocatable, public atmos_phy_sf_tstar
 
real(rp), dimension(:,:), allocatable, public atmos_phy_sf_qstar
 
real(rp), dimension(:,:), allocatable, public atmos_phy_sf_wstar
 
real(rp), dimension(:,:), allocatable, public atmos_phy_sf_u10
 
real(rp), dimension(:,:), allocatable, public atmos_phy_sf_v10
 
real(rp), dimension(:,:), allocatable, public atmos_phy_sf_t2
 
real(rp), dimension(:,:), allocatable, public atmos_phy_sf_q2
 
real(rp), dimension(:,:), allocatable, public atmos_phy_sf_rlmo
 

Detailed Description

module ATMOSPHERIC Surface Variables

Description
Container for mod_atmos_phy_sf
Author
Team SCALE
NAMELIST
  • PARAM_ATMOS_PHY_SF_VARS
    nametypedefault valuecomment
    ATMOS_PHY_SF_RESTART_IN_BASENAME character(len=H_LONG) '' Basename of the input file
    ATMOS_PHY_SF_RESTART_IN_AGGREGATE logical Switch to use aggregate file
    ATMOS_PHY_SF_RESTART_IN_POSTFIX_TIMELABEL logical .false. Add timelabel to the basename of input file?
    ATMOS_PHY_SF_RESTART_OUTPUT logical .false. output restart file?
    ATMOS_PHY_SF_RESTART_OUT_BASENAME character(len=H_LONG) '' Basename of the output file
    ATMOS_PHY_SF_RESTART_OUT_AGGREGATE logical Switch to use aggregate file
    ATMOS_PHY_SF_RESTART_OUT_POSTFIX_TIMELABEL logical .true. Add timelabel to the basename of output file?
    ATMOS_PHY_SF_RESTART_OUT_TITLE character(len=H_MID) 'ATMOS_PHY_SF restart' title of the output file
    ATMOS_PHY_SF_RESTART_OUT_DTYPE character(len=H_SHORT) 'DEFAULT' REAL4 or REAL8
    ATMOS_PHY_SF_DEFAULT_SFC_TEMP real(RP) 300.0_RP
    ATMOS_PHY_SF_DEFAULT_SFC_ALBEDO_LW real(RP) 0.04_RP
    ATMOS_PHY_SF_DEFAULT_SFC_ALBEDO_SW real(RP) 0.10_RP
    ATMOS_PHY_SF_DEFAULT_SFC_Z0M real(RP) 1E-4_RP
    ATMOS_PHY_SF_DEFAULT_SFC_Z0H real(RP) 1E-5_RP
    ATMOS_PHY_SF_DEFAULT_SFC_Z0E real(RP) 1E-5_RP

History Output
No history output

Function/Subroutine Documentation

◆ atmos_phy_sf_vars_setup()

subroutine, public mod_atmos_phy_sf_vars::atmos_phy_sf_vars_setup

Setup.

Definition at line 189 of file mod_atmos_phy_sf_vars.F90.

189  use scale_prc, only: &
190  prc_abort
191  use scale_const, only: &
192  undef => const_undef
193  use scale_atmos_hydrometeor, only: &
194  i_qv
195  implicit none
196 
197  namelist / param_atmos_phy_sf_vars / &
198  atmos_phy_sf_restart_in_basename, &
199  atmos_phy_sf_restart_in_aggregate, &
200  atmos_phy_sf_restart_in_postfix_timelabel, &
201  atmos_phy_sf_restart_output, &
202  atmos_phy_sf_restart_out_basename, &
203  atmos_phy_sf_restart_out_aggregate, &
204  atmos_phy_sf_restart_out_postfix_timelabel, &
205  atmos_phy_sf_restart_out_title, &
206  atmos_phy_sf_restart_out_dtype, &
207  atmos_phy_sf_default_sfc_temp, &
208  atmos_phy_sf_default_sfc_albedo_lw, &
209  atmos_phy_sf_default_sfc_albedo_sw, &
210  atmos_phy_sf_default_sfc_z0m, &
211  atmos_phy_sf_default_sfc_z0h, &
212  atmos_phy_sf_default_sfc_z0e
213 
214  integer :: ierr
215  integer :: iv
216  !---------------------------------------------------------------------------
217 
218  log_newline
219  log_info("ATMOS_PHY_SF_vars_setup",*) 'Setup'
220 
221  !--- read namelist
222  rewind(io_fid_conf)
223  read(io_fid_conf,nml=param_atmos_phy_sf_vars,iostat=ierr)
224  if( ierr < 0 ) then !--- missing
225  log_info("ATMOS_PHY_SF_vars_setup",*) 'Not found namelist. Default used.'
226  elseif( ierr > 0 ) then !--- fatal error
227  log_error("ATMOS_PHY_SF_vars_setup",*) 'Not appropriate names in namelist PARAM_ATMOS_PHY_SF_VARS. Check!'
228  call prc_abort
229  endif
230  log_nml(param_atmos_phy_sf_vars)
231 
232 
233  allocate( atmos_phy_sf_dens_t(ia,ja) )
234  allocate( atmos_phy_sf_momz_t(ia,ja) )
235  allocate( atmos_phy_sf_rhou_t(ia,ja) )
236  allocate( atmos_phy_sf_rhov_t(ia,ja) )
237  allocate( atmos_phy_sf_rhoh(ia,ja) )
238  allocate( atmos_phy_sf_rhoq_t(ia,ja,qa) )
239  atmos_phy_sf_dens_t(:,:) = undef
240  atmos_phy_sf_momz_t(:,:) = undef
241  atmos_phy_sf_rhou_t(:,:) = undef
242  atmos_phy_sf_rhov_t(:,:) = undef
243  atmos_phy_sf_rhoh(:,:) = undef
244  atmos_phy_sf_rhoq_t(:,:,:) = undef
245 
246  allocate( atmos_phy_sf_sfc_temp(ia,ja) )
247  allocate( atmos_phy_sf_sfc_albedo(ia,ja,n_rad_dir,n_rad_rgn) )
248  allocate( atmos_phy_sf_sfc_z0m(ia,ja) )
249  allocate( atmos_phy_sf_sfc_z0h(ia,ja) )
250  allocate( atmos_phy_sf_sfc_z0e(ia,ja) )
251  atmos_phy_sf_sfc_temp(:,:) = atmos_phy_sf_default_sfc_temp
252  atmos_phy_sf_sfc_albedo(:,:,i_r_direct ,i_r_ir ) = atmos_phy_sf_default_sfc_albedo_lw
253  atmos_phy_sf_sfc_albedo(:,:,i_r_diffuse,i_r_ir ) = atmos_phy_sf_default_sfc_albedo_lw
254  atmos_phy_sf_sfc_albedo(:,:,i_r_direct ,i_r_nir) = atmos_phy_sf_default_sfc_albedo_sw
255  atmos_phy_sf_sfc_albedo(:,:,i_r_diffuse,i_r_nir) = atmos_phy_sf_default_sfc_albedo_sw
256  atmos_phy_sf_sfc_albedo(:,:,i_r_direct ,i_r_vis) = atmos_phy_sf_default_sfc_albedo_sw
257  atmos_phy_sf_sfc_albedo(:,:,i_r_diffuse,i_r_vis) = atmos_phy_sf_default_sfc_albedo_sw
258  atmos_phy_sf_sfc_z0m(:,:) = atmos_phy_sf_default_sfc_z0m
259  atmos_phy_sf_sfc_z0h(:,:) = atmos_phy_sf_default_sfc_z0h
260  atmos_phy_sf_sfc_z0e(:,:) = atmos_phy_sf_default_sfc_z0e
261 
262  allocate( atmos_phy_sf_sfc_dens(ia,ja) )
263  allocate( atmos_phy_sf_sfc_pres(ia,ja) )
264  atmos_phy_sf_sfc_dens(:,:) = undef
265  atmos_phy_sf_sfc_pres(:,:) = undef
266 
267  allocate( atmos_phy_sf_prec_mass(ia,ja) )
268  allocate( atmos_phy_sf_prec_engi(ia,ja) )
269  atmos_phy_sf_prec_mass(:,:) = undef
270  atmos_phy_sf_prec_engi(:,:) = undef
271 
272  allocate( atmos_phy_sf_sflx_mw(ia,ja) )
273  allocate( atmos_phy_sf_sflx_mu(ia,ja) )
274  allocate( atmos_phy_sf_sflx_mv(ia,ja) )
275  allocate( atmos_phy_sf_sflx_sh(ia,ja) )
276  allocate( atmos_phy_sf_sflx_lh(ia,ja) )
277  allocate( atmos_phy_sf_sflx_shex(ia,ja) )
278  allocate( atmos_phy_sf_sflx_qvex(ia,ja) )
279  allocate( atmos_phy_sf_sflx_gh(ia,ja) )
280  allocate( atmos_phy_sf_sflx_qtrc(ia,ja,max(qa,1)) )
281  allocate( atmos_phy_sf_sflx_engi(ia,ja) )
282  atmos_phy_sf_sflx_mw(:,:) = undef
283  atmos_phy_sf_sflx_mu(:,:) = undef
284  atmos_phy_sf_sflx_mv(:,:) = undef
285  atmos_phy_sf_sflx_sh(:,:) = undef
286  atmos_phy_sf_sflx_lh(:,:) = undef
287  atmos_phy_sf_sflx_shex(:,:) = undef
288  atmos_phy_sf_sflx_qvex(:,:) = undef
289  atmos_phy_sf_sflx_gh(:,:) = undef
290  atmos_phy_sf_sflx_qtrc(:,:,:) = undef
291  atmos_phy_sf_sflx_engi(:,:) = undef
292 
293  allocate( atmos_phy_sf_ustar(ia,ja) )
294  allocate( atmos_phy_sf_tstar(ia,ja) )
295  allocate( atmos_phy_sf_qstar(ia,ja) )
296  allocate( atmos_phy_sf_wstar(ia,ja) )
297  atmos_phy_sf_ustar(:,:) = undef
298  atmos_phy_sf_tstar(:,:) = undef
299  atmos_phy_sf_wstar(:,:) = undef
300 
301  allocate( atmos_phy_sf_u10(ia,ja) )
302  allocate( atmos_phy_sf_v10(ia,ja) )
303  allocate( atmos_phy_sf_t2(ia,ja) )
304  allocate( atmos_phy_sf_q2(ia,ja) )
305  allocate( atmos_phy_sf_rlmo(ia,ja) )
306  atmos_phy_sf_u10(:,:) = undef
307  atmos_phy_sf_v10(:,:) = undef
308  atmos_phy_sf_t2(:,:) = undef
309  atmos_phy_sf_q2(:,:) = undef
310  atmos_phy_sf_rlmo(:,:) = undef
311 
312 
313  log_newline
314  log_info("ATMOS_PHY_SF_vars_setup",*) '[ATMOS_PHY_SF] prognostic/diagnostic variables'
315  log_info_cont('(1x,A,A24,A,A48,A,A12,A)') &
316  ' |', 'VARNAME ','|', &
317  'DESCRIPTION ', '[', 'UNIT ', ']'
318  do iv = 1, vmax
319  log_info_cont('(1x,A,I3,A,A24,A,A48,A,A12,A)') &
320  'NO.',iv,'|',var_name(iv),'|',var_desc(iv),'[',var_unit(iv),']'
321  enddo
322 
323  log_newline
324  if ( atmos_phy_sf_restart_in_basename /= '' ) then
325  log_info("ATMOS_PHY_SF_vars_setup",*) 'Restart input? : YES, file = ', trim(atmos_phy_sf_restart_in_basename)
326  log_info("ATMOS_PHY_SF_vars_setup",*) 'Add timelabel? : ', atmos_phy_sf_restart_in_postfix_timelabel
327  else
328  log_info("ATMOS_PHY_SF_vars_setup",*) 'Restart input? : NO'
329  endif
330  if ( atmos_phy_sf_restart_output &
331  .AND. atmos_phy_sf_restart_out_basename /= '' ) then
332  log_info("ATMOS_PHY_SF_vars_setup",*) 'Restart output? : YES, file = ', trim(atmos_phy_sf_restart_out_basename)
333  log_info("ATMOS_PHY_SF_vars_setup",*) 'Add timelabel? : ', atmos_phy_sf_restart_out_postfix_timelabel
334  else
335  log_info("ATMOS_PHY_SF_vars_setup",*) 'Restart output? : NO'
336  atmos_phy_sf_restart_output = .false.
337  endif
338 
339  if ( i_qv > 0 ) then
340  atmos_phy_sf_sflx_qv => atmos_phy_sf_sflx_qtrc(:,:,i_qv)
341  else
342  allocate( zero(ia,ja) )
343  atmos_phy_sf_sflx_qv => zero
344  end if
345 
346  return

References atmos_phy_sf_dens_t, atmos_phy_sf_momz_t, atmos_phy_sf_prec_engi, atmos_phy_sf_prec_mass, atmos_phy_sf_q2, atmos_phy_sf_qstar, atmos_phy_sf_restart_in_aggregate, atmos_phy_sf_restart_in_basename, atmos_phy_sf_restart_in_postfix_timelabel, atmos_phy_sf_restart_out_aggregate, atmos_phy_sf_restart_out_basename, atmos_phy_sf_restart_out_dtype, atmos_phy_sf_restart_out_postfix_timelabel, atmos_phy_sf_restart_out_title, atmos_phy_sf_restart_output, atmos_phy_sf_rhoh, atmos_phy_sf_rhoq_t, atmos_phy_sf_rhou_t, atmos_phy_sf_rhov_t, atmos_phy_sf_rlmo, atmos_phy_sf_sfc_albedo, atmos_phy_sf_sfc_dens, atmos_phy_sf_sfc_pres, atmos_phy_sf_sfc_temp, atmos_phy_sf_sfc_z0e, atmos_phy_sf_sfc_z0h, atmos_phy_sf_sfc_z0m, atmos_phy_sf_sflx_engi, atmos_phy_sf_sflx_gh, atmos_phy_sf_sflx_lh, atmos_phy_sf_sflx_mu, atmos_phy_sf_sflx_mv, atmos_phy_sf_sflx_mw, atmos_phy_sf_sflx_qtrc, atmos_phy_sf_sflx_qv, atmos_phy_sf_sflx_qvex, atmos_phy_sf_sflx_sh, atmos_phy_sf_sflx_shex, atmos_phy_sf_t2, atmos_phy_sf_tstar, atmos_phy_sf_u10, atmos_phy_sf_ustar, atmos_phy_sf_v10, atmos_phy_sf_wstar, scale_const::const_undef, 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_atmos_grid_cartesc_index::ia, scale_io::io_fid_conf, scale_atmos_grid_cartesc_index::ja, scale_cpl_sfc_index::n_rad_dir, scale_cpl_sfc_index::n_rad_rgn, scale_prc::prc_abort(), and scale_tracer::qa.

Referenced by mod_atmos_vars::atmos_vars_setup().

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

◆ atmos_phy_sf_vars_fillhalo()

subroutine, public mod_atmos_phy_sf_vars::atmos_phy_sf_vars_fillhalo

HALO Communication.

Definition at line 352 of file mod_atmos_phy_sf_vars.F90.

352  use scale_comm_cartesc, only: &
353  comm_vars8, &
354  comm_wait
355  implicit none
356 
357  integer :: n ,idir, irgn
358  !---------------------------------------------------------------------------
359 
360  call comm_vars8( atmos_phy_sf_sfc_temp(:,:), 1 )
361  call comm_vars8( atmos_phy_sf_sfc_z0m(:,:), 2 )
362  call comm_vars8( atmos_phy_sf_sfc_z0h(:,:), 3 )
363  call comm_vars8( atmos_phy_sf_sfc_z0e(:,:), 4 )
364 
365  n = 4
366  do irgn = i_r_ir, i_r_vis
367  do idir = i_r_direct, i_r_diffuse
368  n = n + 1
369  call comm_vars8( atmos_phy_sf_sfc_albedo(:,:,idir,irgn), n )
370  enddo
371  enddo
372 
373  call comm_wait ( atmos_phy_sf_sfc_temp(:,:), 1 )
374  call comm_wait ( atmos_phy_sf_sfc_z0m(:,:), 2 )
375  call comm_wait ( atmos_phy_sf_sfc_z0h(:,:), 3 )
376  call comm_wait ( atmos_phy_sf_sfc_z0e(:,:), 4 )
377 
378  n = 4
379  do irgn = i_r_ir, i_r_vis
380  do idir = i_r_direct, i_r_diffuse
381  n = n + 1
382  call comm_wait ( atmos_phy_sf_sfc_albedo(:,:,idir,irgn), n )
383  enddo
384  enddo
385 
386  return

References atmos_phy_sf_sfc_albedo, atmos_phy_sf_sfc_temp, atmos_phy_sf_sfc_z0e, atmos_phy_sf_sfc_z0h, atmos_phy_sf_sfc_z0m, scale_cpl_sfc_index::i_r_diffuse, scale_cpl_sfc_index::i_r_direct, scale_cpl_sfc_index::i_r_ir, and scale_cpl_sfc_index::i_r_vis.

Referenced by atmos_phy_sf_vars_restart_read(), and atmos_phy_sf_vars_restart_write().

Here is the caller graph for this function:

◆ atmos_phy_sf_vars_restart_open()

subroutine, public mod_atmos_phy_sf_vars::atmos_phy_sf_vars_restart_open

Open restart file for read.

Definition at line 392 of file mod_atmos_phy_sf_vars.F90.

392  use scale_time, only: &
394  use scale_file_cartesc, only: &
396  implicit none
397 
398  character(len=19) :: timelabel
399  character(len=H_LONG) :: basename
400  !---------------------------------------------------------------------------
401 
402  log_newline
403  log_info("ATMOS_PHY_SF_vars_restart_open",*) 'Open restart file (ATMOS_PHY_SF) '
404 
405  if ( atmos_phy_sf_restart_in_basename /= '' ) then
406 
407  if ( atmos_phy_sf_restart_in_postfix_timelabel ) then
408  call time_gettimelabel( timelabel )
409  basename = trim(atmos_phy_sf_restart_in_basename)//'_'//trim(timelabel)
410  else
411  basename = trim(atmos_phy_sf_restart_in_basename)
412  endif
413 
414  log_info("ATMOS_PHY_SF_vars_restart_open",*) 'basename: ', trim(basename)
415 
416  call file_cartesc_open( basename, restart_fid, aggregate=atmos_phy_sf_restart_in_aggregate )
417 
418  else
419  log_info("ATMOS_PHY_SF_vars_restart_open",*) 'restart file for ATMOS_PHY_SF is not specified.'
420  endif
421 
422  return

References atmos_phy_sf_restart_in_aggregate, atmos_phy_sf_restart_in_basename, atmos_phy_sf_restart_in_postfix_timelabel, scale_file_cartesc::file_cartesc_open(), and scale_time::time_gettimelabel().

Referenced by mod_atmos_vars::atmos_vars_restart_open().

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

◆ atmos_phy_sf_vars_restart_read()

subroutine, public mod_atmos_phy_sf_vars::atmos_phy_sf_vars_restart_read

Read restart.

Definition at line 428 of file mod_atmos_phy_sf_vars.F90.

428  use scale_file, only: &
430  use scale_file_cartesc, only: &
431  file_cartesc_read, &
433  implicit none
434  !---------------------------------------------------------------------------
435 
436  if ( restart_fid /= -1 ) then
437  log_newline
438  log_info("ATMOS_PHY_SF_vars_restart_read",*) 'Read from restart file (ATMOS_PHY_SF) '
439 
440  call file_cartesc_read( restart_fid, var_name(i_sfc_temp), 'XY', & ! [IN]
441  atmos_phy_sf_sfc_temp(:,:) ) ! [OUT]
442  call file_cartesc_read( restart_fid, var_name(i_sfc_alb_ir_dir), 'XY', & ! [IN]
443  atmos_phy_sf_sfc_albedo(:,:,i_r_direct ,i_r_ir ) ) ! [OUT]
444  call file_cartesc_read( restart_fid, var_name(i_sfc_alb_ir_dif), 'XY', & ! [IN]
445  atmos_phy_sf_sfc_albedo(:,:,i_r_diffuse,i_r_ir ) ) ! [OUT]
446  call file_cartesc_read( restart_fid, var_name(i_sfc_alb_nir_dir), 'XY', & ! [IN]
447  atmos_phy_sf_sfc_albedo(:,:,i_r_direct ,i_r_nir) ) ! [OUT]
448  call file_cartesc_read( restart_fid, var_name(i_sfc_alb_nir_dif), 'XY', & ! [IN]
449  atmos_phy_sf_sfc_albedo(:,:,i_r_diffuse,i_r_nir) ) ! [OUT]
450  call file_cartesc_read( restart_fid, var_name(i_sfc_alb_vis_dir), 'XY', & ! [IN]
451  atmos_phy_sf_sfc_albedo(:,:,i_r_direct ,i_r_vis) ) ! [OUT]
452  call file_cartesc_read( restart_fid, var_name(i_sfc_alb_vis_dif), 'XY', & ! [IN]
453  atmos_phy_sf_sfc_albedo(:,:,i_r_diffuse,i_r_vis) ) ! [OUT]
454  call file_cartesc_read( restart_fid, var_name(i_sfc_z0m), 'XY', & ! [IN]
455  atmos_phy_sf_sfc_z0m(:,:) ) ! [OUT]
456  call file_cartesc_read( restart_fid, var_name(i_sfc_z0h), 'XY', & ! [IN]
457  atmos_phy_sf_sfc_z0h(:,:) ) ! [OUT]
458  call file_cartesc_read( restart_fid, var_name(i_sfc_z0e), 'XY', & ! [IN]
459  atmos_phy_sf_sfc_z0e(:,:) ) ! [OUT]
460 
461  if ( file_get_aggregate(restart_fid) ) then
462  call file_cartesc_flush( restart_fid ) ! X/Y halos have been read from file
463  else
464  call atmos_phy_sf_vars_fillhalo
465  end if
466 
467  call atmos_phy_sf_vars_check
468 
469  else
470  log_info("ATMOS_PHY_SF_vars_restart_read",*) 'invalid restart file ID for ATMOS_PHY_SF.'
471  endif
472 
473  return

References atmos_phy_sf_sfc_albedo, atmos_phy_sf_sfc_temp, atmos_phy_sf_sfc_z0e, atmos_phy_sf_sfc_z0h, atmos_phy_sf_sfc_z0m, atmos_phy_sf_vars_check(), atmos_phy_sf_vars_fillhalo(), 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, and scale_cpl_sfc_index::i_r_vis.

Referenced by mod_atmos_vars::atmos_vars_restart_read().

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

◆ atmos_phy_sf_vars_restart_create()

subroutine, public mod_atmos_phy_sf_vars::atmos_phy_sf_vars_restart_create

Create restart file.

Definition at line 479 of file mod_atmos_phy_sf_vars.F90.

479  use scale_time, only: &
481  use scale_file_cartesc, only: &
483  implicit none
484 
485  character(len=19) :: timelabel
486  character(len=H_LONG) :: basename
487  !---------------------------------------------------------------------------
488 
489  if ( atmos_phy_sf_restart_out_basename /= '' ) then
490 
491  log_newline
492  log_info("ATMOS_PHY_SF_vars_restart_create",*) 'Create restart file (ATMOS_PHY_AE) '
493 
494  if ( atmos_phy_sf_restart_out_postfix_timelabel ) then
495  call time_gettimelabel( timelabel )
496  basename = trim(atmos_phy_sf_restart_out_basename)//'_'//trim(timelabel)
497  else
498  basename = trim(atmos_phy_sf_restart_out_basename)
499  endif
500 
501  log_info("ATMOS_PHY_SF_vars_restart_create",*) 'basename: ', trim(basename)
502 
503  call file_cartesc_create( &
504  basename, atmos_phy_sf_restart_out_title, atmos_phy_sf_restart_out_dtype, & ! [IN]
505  restart_fid, & ! [OUT]
506  aggregate=atmos_phy_sf_restart_out_aggregate ) ! [IN]
507  endif
508 
509  return

References atmos_phy_sf_restart_out_aggregate, atmos_phy_sf_restart_out_basename, atmos_phy_sf_restart_out_dtype, atmos_phy_sf_restart_out_postfix_timelabel, atmos_phy_sf_restart_out_title, scale_file_cartesc::file_cartesc_create(), and scale_time::time_gettimelabel().

Referenced by mod_atmos_vars::atmos_vars_restart_create().

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

◆ atmos_phy_sf_vars_restart_enddef()

subroutine, public mod_atmos_phy_sf_vars::atmos_phy_sf_vars_restart_enddef

Exit netCDF define mode.

Definition at line 515 of file mod_atmos_phy_sf_vars.F90.

515  use scale_file_cartesc, only: &
517  implicit none
518 
519  if ( restart_fid /= -1 ) then
520  call file_cartesc_enddef( restart_fid ) ! [IN]
521  endif
522 
523  return

References scale_file_cartesc::file_cartesc_enddef().

Referenced by mod_atmos_vars::atmos_vars_restart_enddef().

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

◆ atmos_phy_sf_vars_restart_close()

subroutine, public mod_atmos_phy_sf_vars::atmos_phy_sf_vars_restart_close

Close restart file.

Definition at line 529 of file mod_atmos_phy_sf_vars.F90.

529  use scale_file_cartesc, only: &
531  implicit none
532  !---------------------------------------------------------------------------
533 
534  if ( restart_fid /= -1 ) then
535  log_newline
536  log_info("ATMOS_PHY_SF_vars_restart_close",*) 'Close restart file (ATMOS_PHY_SF) '
537 
538  call file_cartesc_close( restart_fid ) ! [IN]
539 
540  restart_fid = -1
541  endif
542 
543  return

References scale_file_cartesc::file_cartesc_close().

Referenced by mod_atmos_vars::atmos_vars_restart_close().

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

◆ atmos_phy_sf_vars_restart_def_var()

subroutine, public mod_atmos_phy_sf_vars::atmos_phy_sf_vars_restart_def_var

Write restart.

Definition at line 549 of file mod_atmos_phy_sf_vars.F90.

549  use scale_file_cartesc, only: &
551  implicit none
552 
553  integer :: i
554  !---------------------------------------------------------------------------
555 
556  if ( restart_fid /= -1 ) then
557 
558  do i = 1, vmax
559  call file_cartesc_def_var( restart_fid, & ! [IN]
560  var_name(i), var_desc(i), var_unit(i), & ! [IN]
561  'XY', atmos_phy_sf_restart_out_dtype, & ! [IN]
562  var_id(i), & ! [OUT]
563  standard_name=var_stdn(i) ) ! [IN]
564  end do
565 
566  endif
567 
568  return

References atmos_phy_sf_restart_out_dtype, and scale_file_cartesc::file_cartesc_def_var().

Referenced by mod_atmos_vars::atmos_vars_restart_def_var().

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

◆ atmos_phy_sf_vars_restart_write()

subroutine, public mod_atmos_phy_sf_vars::atmos_phy_sf_vars_restart_write

Write variables to restart file.

Definition at line 574 of file mod_atmos_phy_sf_vars.F90.

574  use scale_file_cartesc, only: &
575  file_cartesc_write_var
576  implicit none
577  !---------------------------------------------------------------------------
578 
579  if ( restart_fid /= -1 ) then
580 
581  call atmos_phy_sf_vars_fillhalo
582 
583  call atmos_phy_sf_vars_check
584 
585  call file_cartesc_write_var( restart_fid, var_id(i_sfc_temp), & ! [IN]
586  atmos_phy_sf_sfc_temp(:,:), & ! [IN]
587  var_name(i_sfc_temp), 'XY' ) ! [IN]
588  call file_cartesc_write_var( restart_fid, var_id(i_sfc_alb_ir_dir), & ! [IN]
589  atmos_phy_sf_sfc_albedo(:,:,i_r_direct ,i_r_ir ), & ! [IN]
590  var_name(i_sfc_alb_ir_dir), 'XY' ) ! [IN]
591  call file_cartesc_write_var( restart_fid, var_id(i_sfc_alb_ir_dif), & ! [IN]
592  atmos_phy_sf_sfc_albedo(:,:,i_r_diffuse,i_r_ir ), & ! [IN]
593  var_name(i_sfc_alb_ir_dif), 'XY' ) ! [IN]
594  call file_cartesc_write_var( restart_fid, var_id(i_sfc_alb_nir_dir), & ! [IN]
595  atmos_phy_sf_sfc_albedo(:,:,i_r_direct ,i_r_nir), & ! [IN]
596  var_name(i_sfc_alb_nir_dir), 'XY' ) ! [IN]
597  call file_cartesc_write_var( restart_fid, var_id(i_sfc_alb_nir_dif), & ! [IN]
598  atmos_phy_sf_sfc_albedo(:,:,i_r_diffuse,i_r_nir), & ! [IN]
599  var_name(i_sfc_alb_nir_dif), 'XY' ) ! [IN]
600  call file_cartesc_write_var( restart_fid, var_id(i_sfc_alb_vis_dir), & ! [IN]
601  atmos_phy_sf_sfc_albedo(:,:,i_r_direct ,i_r_vis), & ! [IN]
602  var_name(i_sfc_alb_vis_dir), 'XY' ) ! [IN]
603  call file_cartesc_write_var( restart_fid, var_id(i_sfc_alb_vis_dif), & ! [IN]
604  atmos_phy_sf_sfc_albedo(:,:,i_r_diffuse,i_r_vis), & ! [IN]
605  var_name(i_sfc_alb_vis_dif), 'XY' ) ! [IN]
606  call file_cartesc_write_var( restart_fid, var_id(i_sfc_z0m), & ! [IN]
607  atmos_phy_sf_sfc_z0m(:,:), & ! [IN]
608  var_name(i_sfc_z0m), 'XY' ) ! [IN]
609  call file_cartesc_write_var( restart_fid, var_id(i_sfc_z0h), & ! [IN]
610  atmos_phy_sf_sfc_z0h(:,:), & ! [IN]
611  var_name(i_sfc_z0h), 'XY' ) ! [IN]
612  call file_cartesc_write_var( restart_fid, var_id(i_sfc_z0e), & ! [IN]
613  atmos_phy_sf_sfc_z0e(:,:), & ! [IN]
614  var_name(i_sfc_z0e), 'XY' ) ! [IN]
615  endif
616 
617  return

References atmos_phy_sf_sfc_albedo, atmos_phy_sf_sfc_temp, atmos_phy_sf_sfc_z0e, atmos_phy_sf_sfc_z0h, atmos_phy_sf_sfc_z0m, atmos_phy_sf_vars_check(), atmos_phy_sf_vars_fillhalo(), 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, and scale_cpl_sfc_index::i_r_vis.

Referenced by mod_atmos_vars::atmos_vars_restart_write().

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

◆ atmos_phy_sf_vars_check()

subroutine mod_atmos_phy_sf_vars::atmos_phy_sf_vars_check

Definition at line 622 of file mod_atmos_phy_sf_vars.F90.

622  use scale_statistics, only: &
623  statistics_total
624  use scale_atmos_grid_cartesc_real, only: &
627  implicit none
628  !---------------------------------------------------------------------------
629 
630  call valcheck( ia, is, ie, ja, js, je, &
631  atmos_phy_sf_sfc_temp(:,:), & ! (in)
632  0.0_rp, 1.0e3_rp, var_name(i_sfc_temp), & ! (in)
633  __file__, __line__ ) ! (in)
634  call valcheck( ia, is, ie, ja, js, je, &
635  atmos_phy_sf_sfc_albedo(:,:,i_r_direct ,i_r_ir ), & ! (in)
636  0.0_rp, 1.0e0_rp, var_name(i_sfc_alb_ir_dir), & ! (in)
637  __file__, __line__ ) ! (in)
638  call valcheck( ia, is, ie, ja, js, je, &
639  atmos_phy_sf_sfc_albedo(:,:,i_r_diffuse,i_r_ir ), & ! (in)
640  0.0_rp, 1.0e0_rp, var_name(i_sfc_alb_ir_dif), & ! (in)
641  __file__, __line__ ) ! (in)
642  call valcheck( ia, is, ie, ja, js, je, &
643  atmos_phy_sf_sfc_albedo(:,:,i_r_direct ,i_r_nir), & ! (in)
644  0.0_rp, 1.0e0_rp, var_name(i_sfc_alb_nir_dir), & ! (in)
645  __file__, __line__ ) ! (in)
646  call valcheck( ia, is, ie, ja, js, je, &
647  atmos_phy_sf_sfc_albedo(:,:,i_r_diffuse,i_r_nir), & ! (in)
648  0.0_rp, 1.0e0_rp, var_name(i_sfc_alb_nir_dif), & ! (in)
649  __file__, __line__ ) ! (in)
650  call valcheck( ia, is, ie, ja, js, je, &
651  atmos_phy_sf_sfc_albedo(:,:,i_r_direct ,i_r_vis), & ! (in)
652  0.0_rp, 1.0e0_rp, var_name(i_sfc_alb_vis_dir), & ! (in)
653  __file__, __line__ ) ! (in)
654  call valcheck( ia, is, ie, ja, js, je, &
655  atmos_phy_sf_sfc_albedo(:,:,i_r_diffuse,i_r_vis), & ! (in)
656  0.0_rp, 1.0e0_rp, var_name(i_sfc_alb_vis_dif), & ! (in)
657  __file__, __line__ ) ! (in)
658  call valcheck( ia, is, ie, ja, js, je, &
659  atmos_phy_sf_sfc_z0m(:,:), & ! (in)
660  0.0_rp, 1.0e2_rp, var_name(i_sfc_z0m), & ! (in)
661  __file__, __line__ ) ! (in)
662  call valcheck( ia, is, ie, ja, js, je, &
663  atmos_phy_sf_sfc_z0h(:,:), & ! (in)
664  0.0_rp, 1.0e2_rp, var_name(i_sfc_z0h), & ! (in)
665  __file__, __line__ ) ! (in)
666  call valcheck( ia, is, ie, ja, js, je, &
667  atmos_phy_sf_sfc_z0e(:,:), & ! (in)
668  0.0_rp, 1.0e2_rp, var_name(i_sfc_z0e), & ! (in)
669  __file__, __line__ ) ! (in)
670 
671  call statistics_total( ia, is, ie, ja, js, je, & ! [IN]
672  atmos_phy_sf_sfc_temp(:,:), & ! [IN]
673  var_name(i_sfc_temp), & ! [IN]
674  atmos_grid_cartesc_real_area(:,:), & ! [IN]
676  call statistics_total( ia, is, ie, ja, js, je, & ! [IN]
677  atmos_phy_sf_sfc_albedo(:,:,i_r_direct ,i_r_ir ), & ! [IN]
678  var_name(i_sfc_alb_ir_dir), & ! [IN]
679  atmos_grid_cartesc_real_area(:,:), & ! [IN]
681  call statistics_total( ia, is, ie, ja, js, je, & ! [IN]
682  atmos_phy_sf_sfc_albedo(:,:,i_r_diffuse,i_r_ir ), & ! [IN]
683  var_name(i_sfc_alb_ir_dif), & ! [IN]
684  atmos_grid_cartesc_real_area(:,:), & ! [IN]
686  call statistics_total( ia, is, ie, ja, js, je, & ! [IN]
687  atmos_phy_sf_sfc_albedo(:,:,i_r_direct ,i_r_nir), & ! [IN]
688  var_name(i_sfc_alb_nir_dir), & ! [IN]
689  atmos_grid_cartesc_real_area(:,:), & ! [IN]
691  call statistics_total( ia, is, ie, ja, js, je, & ! [IN]
692  atmos_phy_sf_sfc_albedo(:,:,i_r_diffuse,i_r_nir), & ! [IN]
693  var_name(i_sfc_alb_nir_dif), & ! [IN]
694  atmos_grid_cartesc_real_area(:,:), & ! [IN]
696  call statistics_total( ia, is, ie, ja, js, je, & ! [IN]
697  atmos_phy_sf_sfc_albedo(:,:,i_r_direct ,i_r_vis), & ! [IN]
698  var_name(i_sfc_alb_vis_dir), & ! [IN]
699  atmos_grid_cartesc_real_area(:,:), & ! [IN]
701  call statistics_total( ia, is, ie, ja, js, je, & ! [IN]
702  atmos_phy_sf_sfc_albedo(:,:,i_r_diffuse,i_r_vis), & ! [IN]
703  var_name(i_sfc_alb_vis_dif), & ! [IN]
704  atmos_grid_cartesc_real_area(:,:), & ! [IN]
706  call statistics_total( ia, is, ie, ja, js, je, & ! [IN]
707  atmos_phy_sf_sfc_z0m(:,:), & ! [IN]
708  var_name(i_sfc_z0m), & ! [IN]
709  atmos_grid_cartesc_real_area(:,:), & ! [IN]
711  call statistics_total( ia, is, ie, ja, js, je, & ! [IN]
712  atmos_phy_sf_sfc_z0h(:,:), & ! [IN]
713  var_name(i_sfc_z0h), & ! [IN]
714  atmos_grid_cartesc_real_area(:,:), & ! [IN]
716  call statistics_total( ia, is, ie, ja, js, je, & ! [IN]
717  atmos_phy_sf_sfc_z0e(:,:), & ! [IN]
718  var_name(i_sfc_z0e), & ! [IN]
719  atmos_grid_cartesc_real_area(:,:), & ! [IN]
721 
722  return

References scale_atmos_grid_cartesc_real::atmos_grid_cartesc_real_area, scale_atmos_grid_cartesc_real::atmos_grid_cartesc_real_totarea, atmos_phy_sf_sfc_albedo, atmos_phy_sf_sfc_temp, atmos_phy_sf_sfc_z0e, atmos_phy_sf_sfc_z0h, atmos_phy_sf_sfc_z0m, 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_atmos_grid_cartesc_index::ia, scale_atmos_grid_cartesc_index::ie, scale_atmos_grid_cartesc_index::is, scale_atmos_grid_cartesc_index::ja, scale_atmos_grid_cartesc_index::je, and scale_atmos_grid_cartesc_index::js.

Referenced by atmos_phy_sf_vars_restart_read(), and atmos_phy_sf_vars_restart_write().

Here is the caller graph for this function:

Variable Documentation

◆ atmos_phy_sf_restart_output

logical, public mod_atmos_phy_sf_vars::atmos_phy_sf_restart_output = .false.

output restart file?

Definition at line 46 of file mod_atmos_phy_sf_vars.F90.

46  logical, public :: ATMOS_PHY_SF_RESTART_OUTPUT = .false.

Referenced by mod_admin_restart::admin_restart_setup(), and atmos_phy_sf_vars_setup().

◆ atmos_phy_sf_restart_in_basename

character(len=h_long), public mod_atmos_phy_sf_vars::atmos_phy_sf_restart_in_basename = ''

Basename of the input file.

Definition at line 48 of file mod_atmos_phy_sf_vars.F90.

48  character(len=H_LONG), public :: ATMOS_PHY_SF_RESTART_IN_BASENAME = ''

Referenced by mod_admin_restart::admin_restart_setup(), atmos_phy_sf_vars_restart_open(), and atmos_phy_sf_vars_setup().

◆ atmos_phy_sf_restart_in_aggregate

logical, public mod_atmos_phy_sf_vars::atmos_phy_sf_restart_in_aggregate

Switch to use aggregate file.

Definition at line 49 of file mod_atmos_phy_sf_vars.F90.

49  logical, public :: ATMOS_PHY_SF_RESTART_IN_AGGREGATE

Referenced by mod_admin_restart::admin_restart_setup(), atmos_phy_sf_vars_restart_open(), and atmos_phy_sf_vars_setup().

◆ atmos_phy_sf_restart_in_postfix_timelabel

logical, public mod_atmos_phy_sf_vars::atmos_phy_sf_restart_in_postfix_timelabel = .false.

Add timelabel to the basename of input file?

Definition at line 50 of file mod_atmos_phy_sf_vars.F90.

50  logical, public :: ATMOS_PHY_SF_RESTART_IN_POSTFIX_TIMELABEL = .false.

Referenced by mod_admin_restart::admin_restart_setup(), atmos_phy_sf_vars_restart_open(), and atmos_phy_sf_vars_setup().

◆ atmos_phy_sf_restart_out_basename

character(len=h_long), public mod_atmos_phy_sf_vars::atmos_phy_sf_restart_out_basename = ''

Basename of the output file.

Definition at line 51 of file mod_atmos_phy_sf_vars.F90.

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

Referenced by mod_admin_restart::admin_restart_setup(), atmos_phy_sf_vars_restart_create(), and atmos_phy_sf_vars_setup().

◆ atmos_phy_sf_restart_out_aggregate

logical, public mod_atmos_phy_sf_vars::atmos_phy_sf_restart_out_aggregate

Switch to use aggregate file.

Definition at line 52 of file mod_atmos_phy_sf_vars.F90.

52  logical, public :: ATMOS_PHY_SF_RESTART_OUT_AGGREGATE

Referenced by mod_admin_restart::admin_restart_setup(), atmos_phy_sf_vars_restart_create(), and atmos_phy_sf_vars_setup().

◆ atmos_phy_sf_restart_out_postfix_timelabel

logical, public mod_atmos_phy_sf_vars::atmos_phy_sf_restart_out_postfix_timelabel = .true.

Add timelabel to the basename of output file?

Definition at line 53 of file mod_atmos_phy_sf_vars.F90.

53  logical, public :: ATMOS_PHY_SF_RESTART_OUT_POSTFIX_TIMELABEL = .true.

Referenced by mod_admin_restart::admin_restart_setup(), atmos_phy_sf_vars_restart_create(), and atmos_phy_sf_vars_setup().

◆ atmos_phy_sf_restart_out_title

character(len=h_mid), public mod_atmos_phy_sf_vars::atmos_phy_sf_restart_out_title = 'ATMOS_PHY_SF restart'

title of the output file

Definition at line 54 of file mod_atmos_phy_sf_vars.F90.

54  character(len=H_MID), public :: ATMOS_PHY_SF_RESTART_OUT_TITLE = 'ATMOS_PHY_SF restart'

Referenced by mod_admin_restart::admin_restart_setup(), atmos_phy_sf_vars_restart_create(), and atmos_phy_sf_vars_setup().

◆ atmos_phy_sf_restart_out_dtype

character(len=h_short), public mod_atmos_phy_sf_vars::atmos_phy_sf_restart_out_dtype = 'DEFAULT'

REAL4 or REAL8.

Definition at line 55 of file mod_atmos_phy_sf_vars.F90.

55  character(len=H_SHORT), public :: ATMOS_PHY_SF_RESTART_OUT_DTYPE = 'DEFAULT'

Referenced by mod_admin_restart::admin_restart_setup(), atmos_phy_sf_vars_restart_create(), atmos_phy_sf_vars_restart_def_var(), and atmos_phy_sf_vars_setup().

◆ atmos_phy_sf_dens_t

real(rp), dimension (:,:), allocatable, public mod_atmos_phy_sf_vars::atmos_phy_sf_dens_t

Definition at line 57 of file mod_atmos_phy_sf_vars.F90.

57  real(RP), public, allocatable :: ATMOS_PHY_SF_DENS_t (:,:) ! tendency DENS [ kg/m3/s]

Referenced by mod_atmos_phy_sf_driver::atmos_phy_sf_driver_calc_tendency(), and atmos_phy_sf_vars_setup().

◆ atmos_phy_sf_momz_t

real(rp), dimension (:,:), allocatable, public mod_atmos_phy_sf_vars::atmos_phy_sf_momz_t

Definition at line 58 of file mod_atmos_phy_sf_vars.F90.

58  real(RP), public, allocatable :: ATMOS_PHY_SF_MOMZ_t (:,:) ! tendency MOMZ [m/s*kg/m2/s]

Referenced by mod_atmos_phy_sf_driver::atmos_phy_sf_driver_calc_tendency(), and atmos_phy_sf_vars_setup().

◆ atmos_phy_sf_rhou_t

real(rp), dimension (:,:), allocatable, public mod_atmos_phy_sf_vars::atmos_phy_sf_rhou_t

Definition at line 59 of file mod_atmos_phy_sf_vars.F90.

59  real(RP), public, allocatable :: ATMOS_PHY_SF_RHOU_t (:,:) ! tendency rho*U [m/s*kg/m2/s]

Referenced by mod_atmos_phy_sf_driver::atmos_phy_sf_driver_calc_tendency(), and atmos_phy_sf_vars_setup().

◆ atmos_phy_sf_rhov_t

real(rp), dimension (:,:), allocatable, public mod_atmos_phy_sf_vars::atmos_phy_sf_rhov_t

Definition at line 60 of file mod_atmos_phy_sf_vars.F90.

60  real(RP), public, allocatable :: ATMOS_PHY_SF_RHOV_t (:,:) ! tendency rho*V [m/s*kg/m2/s]

Referenced by mod_atmos_phy_sf_driver::atmos_phy_sf_driver_calc_tendency(), and atmos_phy_sf_vars_setup().

◆ atmos_phy_sf_rhoh

real(rp), dimension (:,:), allocatable, public mod_atmos_phy_sf_vars::atmos_phy_sf_rhoh

Definition at line 61 of file mod_atmos_phy_sf_vars.F90.

61  real(RP), public, allocatable :: ATMOS_PHY_SF_RHOH (:,:) ! diabatic heating [J/m3/s]

Referenced by mod_atmos_phy_sf_driver::atmos_phy_sf_driver_calc_tendency(), and atmos_phy_sf_vars_setup().

◆ atmos_phy_sf_rhoq_t

real(rp), dimension (:,:,:), allocatable, public mod_atmos_phy_sf_vars::atmos_phy_sf_rhoq_t

Definition at line 62 of file mod_atmos_phy_sf_vars.F90.

62  real(RP), public, allocatable :: ATMOS_PHY_SF_RHOQ_t (:,:,:) ! tendency rho*QTRC [ kg/kg/s]

Referenced by mod_atmos_phy_sf_driver::atmos_phy_sf_driver_calc_tendency(), and atmos_phy_sf_vars_setup().

◆ atmos_phy_sf_sfc_temp

real(rp), dimension (:,:), allocatable, public mod_atmos_phy_sf_vars::atmos_phy_sf_sfc_temp

◆ atmos_phy_sf_sfc_albedo

real(rp), dimension(:,:,:,:), allocatable, public mod_atmos_phy_sf_vars::atmos_phy_sf_sfc_albedo

◆ atmos_phy_sf_sfc_z0m

real(rp), dimension (:,:), allocatable, public mod_atmos_phy_sf_vars::atmos_phy_sf_sfc_z0m

◆ atmos_phy_sf_sfc_z0h

real(rp), dimension (:,:), allocatable, public mod_atmos_phy_sf_vars::atmos_phy_sf_sfc_z0h

◆ atmos_phy_sf_sfc_z0e

real(rp), dimension (:,:), allocatable, public mod_atmos_phy_sf_vars::atmos_phy_sf_sfc_z0e

◆ atmos_phy_sf_sfc_dens

real(rp), dimension (:,:), allocatable, public mod_atmos_phy_sf_vars::atmos_phy_sf_sfc_dens

Definition at line 71 of file mod_atmos_phy_sf_vars.F90.

71  real(RP), public, allocatable :: ATMOS_PHY_SF_SFC_DENS (:,:) ! surface atmosphere density [kg/m3]

Referenced by mod_atmos_phy_bl_driver::atmos_phy_bl_driver_calc_tendency(), mod_atmos_phy_sf_driver::atmos_phy_sf_driver_calc_tendency(), atmos_phy_sf_vars_setup(), and mod_atmos_phy_sf_driver::history_output().

◆ atmos_phy_sf_sfc_pres

real(rp), dimension (:,:), allocatable, public mod_atmos_phy_sf_vars::atmos_phy_sf_sfc_pres

Definition at line 72 of file mod_atmos_phy_sf_vars.F90.

72  real(RP), public, allocatable :: ATMOS_PHY_SF_SFC_PRES (:,:) ! surface atmosphere pressure [Pa]

Referenced by mod_atmos_phy_sf_driver::atmos_phy_sf_driver_calc_tendency(), atmos_phy_sf_vars_setup(), and mod_atmos_phy_sf_driver::history_output().

◆ atmos_phy_sf_prec_mass

real(rp), dimension (:,:), allocatable, public mod_atmos_phy_sf_vars::atmos_phy_sf_prec_mass

Definition at line 74 of file mod_atmos_phy_sf_vars.F90.

74  real(RP), public, allocatable :: ATMOS_PHY_SF_PREC_MASS (:,:) ! mass flux of the precipitation [kg/m2/s]

Referenced by atmos_phy_sf_vars_setup().

◆ atmos_phy_sf_prec_engi

real(rp), dimension (:,:), allocatable, public mod_atmos_phy_sf_vars::atmos_phy_sf_prec_engi

Definition at line 75 of file mod_atmos_phy_sf_vars.F90.

75  real(RP), public, allocatable :: ATMOS_PHY_SF_PREC_ENGI (:,:) ! internal energy flux of the precipitation [J/m2/s]

Referenced by atmos_phy_sf_vars_setup().

◆ atmos_phy_sf_sflx_mw

real(rp), dimension (:,:), allocatable, public mod_atmos_phy_sf_vars::atmos_phy_sf_sflx_mw

◆ atmos_phy_sf_sflx_mu

real(rp), dimension (:,:), allocatable, public mod_atmos_phy_sf_vars::atmos_phy_sf_sflx_mu

◆ atmos_phy_sf_sflx_mv

real(rp), dimension (:,:), allocatable, public mod_atmos_phy_sf_vars::atmos_phy_sf_sflx_mv

◆ atmos_phy_sf_sflx_sh

real(rp), dimension (:,:), allocatable, public mod_atmos_phy_sf_vars::atmos_phy_sf_sflx_sh

◆ atmos_phy_sf_sflx_lh

real(rp), dimension (:,:), allocatable, public mod_atmos_phy_sf_vars::atmos_phy_sf_sflx_lh

◆ atmos_phy_sf_sflx_shex

real(rp), dimension (:,:), allocatable, public mod_atmos_phy_sf_vars::atmos_phy_sf_sflx_shex

Definition at line 81 of file mod_atmos_phy_sf_vars.F90.

81  real(RP), public, allocatable :: ATMOS_PHY_SF_SFLX_SHEX (:,:) ! extra sensible heat flux [J/m2/s]

Referenced by mod_atmos_phy_sf_driver::atmos_phy_sf_driver_calc_tendency(), mod_atmos_phy_sf_driver::atmos_phy_sf_driver_setup(), atmos_phy_sf_vars_setup(), and mod_atmos_driver::atmos_surface_get().

◆ atmos_phy_sf_sflx_qvex

real(rp), dimension (:,:), allocatable, public mod_atmos_phy_sf_vars::atmos_phy_sf_sflx_qvex

Definition at line 82 of file mod_atmos_phy_sf_vars.F90.

82  real(RP), public, allocatable :: ATMOS_PHY_SF_SFLX_QVEX (:,:) ! extra latent heat flux [kg/kg/m2/s]

Referenced by mod_atmos_phy_sf_driver::atmos_phy_sf_driver_calc_tendency(), mod_atmos_phy_sf_driver::atmos_phy_sf_driver_setup(), atmos_phy_sf_vars_setup(), and mod_atmos_driver::atmos_surface_get().

◆ atmos_phy_sf_sflx_gh

real(rp), dimension (:,:), allocatable, public mod_atmos_phy_sf_vars::atmos_phy_sf_sflx_gh

Definition at line 83 of file mod_atmos_phy_sf_vars.F90.

83  real(RP), public, allocatable :: ATMOS_PHY_SF_SFLX_GH (:,:) ! ground heat flux [J/m2/s] (downward)

Referenced by atmos_phy_sf_vars_setup(), mod_atmos_driver::atmos_surface_get(), and mod_atmos_phy_sf_driver::history_output().

◆ atmos_phy_sf_sflx_qtrc

real(rp), dimension (:,:,:), allocatable, target, public mod_atmos_phy_sf_vars::atmos_phy_sf_sflx_qtrc

◆ atmos_phy_sf_sflx_engi

real(rp), dimension (:,:), allocatable, public mod_atmos_phy_sf_vars::atmos_phy_sf_sflx_engi

◆ atmos_phy_sf_sflx_qv

real(rp), dimension (:,:), pointer, public mod_atmos_phy_sf_vars::atmos_phy_sf_sflx_qv

Definition at line 86 of file mod_atmos_phy_sf_vars.F90.

86  real(RP), public, pointer :: ATMOS_PHY_SF_SFLX_QV (:,:)

Referenced by mod_atmos_phy_bl_driver::atmos_phy_bl_driver_calc_tendency(), and atmos_phy_sf_vars_setup().

◆ atmos_phy_sf_ustar

real(rp), dimension (:,:), allocatable, public mod_atmos_phy_sf_vars::atmos_phy_sf_ustar

◆ atmos_phy_sf_tstar

real(rp), dimension (:,:), allocatable, public mod_atmos_phy_sf_vars::atmos_phy_sf_tstar

◆ atmos_phy_sf_qstar

real(rp), dimension (:,:), allocatable, public mod_atmos_phy_sf_vars::atmos_phy_sf_qstar

◆ atmos_phy_sf_wstar

real(rp), dimension (:,:), allocatable, public mod_atmos_phy_sf_vars::atmos_phy_sf_wstar

Definition at line 91 of file mod_atmos_phy_sf_vars.F90.

91  real(RP), public, allocatable :: ATMOS_PHY_SF_Wstar (:,:) ! convective velocity scale [m/s]

Referenced by mod_atmos_phy_sf_driver::atmos_phy_sf_driver_calc_tendency(), mod_atmos_phy_sf_driver::atmos_phy_sf_driver_setup(), atmos_phy_sf_vars_setup(), and mod_atmos_phy_sf_driver::history_output().

◆ atmos_phy_sf_u10

real(rp), dimension (:,:), allocatable, public mod_atmos_phy_sf_vars::atmos_phy_sf_u10

Definition at line 93 of file mod_atmos_phy_sf_vars.F90.

93  real(RP), public, allocatable :: ATMOS_PHY_SF_U10 (:,:) ! 10m x-wind [m/s]

Referenced by mod_atmos_phy_sf_driver::atmos_phy_sf_driver_calc_tendency(), atmos_phy_sf_vars_setup(), mod_atmos_driver::atmos_surface_get(), and mod_atmos_phy_sf_driver::history_output().

◆ atmos_phy_sf_v10

real(rp), dimension (:,:), allocatable, public mod_atmos_phy_sf_vars::atmos_phy_sf_v10

Definition at line 94 of file mod_atmos_phy_sf_vars.F90.

94  real(RP), public, allocatable :: ATMOS_PHY_SF_V10 (:,:) ! 10m y-wind [m/s]

Referenced by mod_atmos_phy_sf_driver::atmos_phy_sf_driver_calc_tendency(), atmos_phy_sf_vars_setup(), mod_atmos_driver::atmos_surface_get(), and mod_atmos_phy_sf_driver::history_output().

◆ atmos_phy_sf_t2

real(rp), dimension (:,:), allocatable, public mod_atmos_phy_sf_vars::atmos_phy_sf_t2

Definition at line 95 of file mod_atmos_phy_sf_vars.F90.

95  real(RP), public, allocatable :: ATMOS_PHY_SF_T2 (:,:) ! 2m temperature [K]

Referenced by mod_atmos_phy_sf_driver::atmos_phy_sf_driver_calc_tendency(), atmos_phy_sf_vars_setup(), mod_atmos_driver::atmos_surface_get(), and mod_atmos_phy_sf_driver::history_output().

◆ atmos_phy_sf_q2

real(rp), dimension (:,:), allocatable, public mod_atmos_phy_sf_vars::atmos_phy_sf_q2

Definition at line 96 of file mod_atmos_phy_sf_vars.F90.

96  real(RP), public, allocatable :: ATMOS_PHY_SF_Q2 (:,:) ! 2m specific humidity [kg/kg]

Referenced by mod_atmos_phy_sf_driver::atmos_phy_sf_driver_calc_tendency(), atmos_phy_sf_vars_setup(), mod_atmos_driver::atmos_surface_get(), and mod_atmos_phy_sf_driver::history_output().

◆ atmos_phy_sf_rlmo

real(rp), dimension (:,:), allocatable, public mod_atmos_phy_sf_vars::atmos_phy_sf_rlmo
mod_atmos_phy_sf_vars::atmos_phy_sf_sfc_z0m
real(rp), dimension(:,:), allocatable, public atmos_phy_sf_sfc_z0m
Definition: mod_atmos_phy_sf_vars.F90:66
scale_statistics
module Statistics
Definition: scale_statistics.F90:11
mod_atmos_phy_sf_vars::atmos_phy_sf_sfc_dens
real(rp), dimension(:,:), allocatable, public atmos_phy_sf_sfc_dens
Definition: mod_atmos_phy_sf_vars.F90:71
mod_atmos_phy_sf_vars::atmos_phy_sf_sflx_mu
real(rp), dimension(:,:), allocatable, public atmos_phy_sf_sflx_mu
Definition: mod_atmos_phy_sf_vars.F90:77
scale_prc::prc_abort
subroutine, public prc_abort
Abort Process.
Definition: scale_prc.F90:342
mod_atmos_phy_sf_vars::atmos_phy_sf_v10
real(rp), dimension(:,:), allocatable, public atmos_phy_sf_v10
Definition: mod_atmos_phy_sf_vars.F90:94
scale_file_cartesc::file_cartesc_enddef
subroutine, public file_cartesc_enddef(fid)
Exit netCDF file define mode.
Definition: scale_file_cartesC.F90:943
mod_atmos_phy_sf_vars::atmos_phy_sf_sfc_z0e
real(rp), dimension(:,:), allocatable, public atmos_phy_sf_sfc_z0e
Definition: mod_atmos_phy_sf_vars.F90:68
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_atmos_phy_sf_vars::atmos_phy_sf_qstar
real(rp), dimension(:,:), allocatable, public atmos_phy_sf_qstar
Definition: mod_atmos_phy_sf_vars.F90:90
mod_atmos_phy_sf_vars::atmos_phy_sf_ustar
real(rp), dimension(:,:), allocatable, public atmos_phy_sf_ustar
Definition: mod_atmos_phy_sf_vars.F90:88
mod_atmos_phy_sf_vars::atmos_phy_sf_wstar
real(rp), dimension(:,:), allocatable, public atmos_phy_sf_wstar
Definition: mod_atmos_phy_sf_vars.F90:91
scale_atmos_grid_cartesc_real::atmos_grid_cartesc_real_totarea
real(rp), public atmos_grid_cartesc_real_totarea
total area (xy, local) [m2]
Definition: scale_atmos_grid_cartesC_real.F90:77
scale_atmos_hydrometeor
module atmosphere / hydrometeor
Definition: scale_atmos_hydrometeor.F90:12
mod_atmos_phy_sf_vars::atmos_phy_sf_sflx_mv
real(rp), dimension(:,:), allocatable, public atmos_phy_sf_sflx_mv
Definition: mod_atmos_phy_sf_vars.F90:78
mod_atmos_phy_sf_vars::atmos_phy_sf_sflx_mw
real(rp), dimension(:,:), allocatable, public atmos_phy_sf_sflx_mw
Definition: mod_atmos_phy_sf_vars.F90:76
mod_atmos_phy_sf_vars::atmos_phy_sf_sfc_z0h
real(rp), dimension(:,:), allocatable, public atmos_phy_sf_sfc_z0h
Definition: mod_atmos_phy_sf_vars.F90:67
scale_atmos_grid_cartesc_real
module Atmosphere GRID CartesC Real(real space)
Definition: scale_atmos_grid_cartesC_real.F90:11
mod_atmos_phy_sf_vars::atmos_phy_sf_sfc_temp
real(rp), dimension(:,:), allocatable, public atmos_phy_sf_sfc_temp
Definition: mod_atmos_phy_sf_vars.F90:64
scale_file
module file
Definition: scale_file.F90:15
scale_prc
module PROCESS
Definition: scale_prc.F90:11
mod_atmos_phy_sf_vars::atmos_phy_sf_u10
real(rp), dimension(:,:), allocatable, public atmos_phy_sf_u10
Definition: mod_atmos_phy_sf_vars.F90:93
scale_const
module CONSTANT
Definition: scale_const.F90:11
mod_atmos_phy_sf_vars::atmos_phy_sf_sfc_albedo
real(rp), dimension(:,:,:,:), allocatable, public atmos_phy_sf_sfc_albedo
Definition: mod_atmos_phy_sf_vars.F90:65
scale_file_cartesc::file_cartesc_close
subroutine, public file_cartesc_close(fid)
Close a netCDF file.
Definition: scale_file_cartesC.F90:1023
mod_atmos_phy_sf_vars::atmos_phy_sf_rlmo
real(rp), dimension(:,:), allocatable, public atmos_phy_sf_rlmo
Definition: mod_atmos_phy_sf_vars.F90:98
scale_atmos_grid_cartesc_real::atmos_grid_cartesc_real_area
real(rp), dimension(:,:), allocatable, public atmos_grid_cartesc_real_area
horizontal area ( xy, normal z) [m2]
Definition: scale_atmos_grid_cartesC_real.F90:65
scale_time
module TIME
Definition: scale_time.F90:11
mod_atmos_phy_sf_vars::atmos_phy_sf_sflx_qtrc
real(rp), dimension(:,:,:), allocatable, target, public atmos_phy_sf_sflx_qtrc
Definition: mod_atmos_phy_sf_vars.F90:84
scale_atmos_hydrometeor::i_qv
integer, public i_qv
Definition: scale_atmos_hydrometeor.F90:77
mod_atmos_phy_sf_vars::atmos_phy_sf_sflx_engi
real(rp), dimension(:,:), allocatable, public atmos_phy_sf_sflx_engi
Definition: mod_atmos_phy_sf_vars.F90:85
mod_atmos_phy_sf_vars::atmos_phy_sf_t2
real(rp), dimension(:,:), allocatable, public atmos_phy_sf_t2
Definition: mod_atmos_phy_sf_vars.F90:95
mod_atmos_phy_sf_vars::atmos_phy_sf_sflx_lh
real(rp), dimension(:,:), allocatable, public atmos_phy_sf_sflx_lh
Definition: mod_atmos_phy_sf_vars.F90:80
mod_atmos_phy_sf_vars::atmos_phy_sf_sfc_pres
real(rp), dimension(:,:), allocatable, public atmos_phy_sf_sfc_pres
Definition: mod_atmos_phy_sf_vars.F90:72
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_file_cartesc::file_cartesc_flush
subroutine, public file_cartesc_flush(fid)
Flush all pending requests to a netCDF file (PnetCDF only)
Definition: scale_file_cartesC.F90:997
scale_time::time_gettimelabel
subroutine, public time_gettimelabel(timelabel)
generate time label
Definition: scale_time.F90:91
scale_comm_cartesc
module COMMUNICATION
Definition: scale_comm_cartesC.F90:11
mod_atmos_phy_sf_vars::atmos_phy_sf_sflx_sh
real(rp), dimension(:,:), allocatable, public atmos_phy_sf_sflx_sh
Definition: mod_atmos_phy_sf_vars.F90:79
scale_file::file_get_aggregate
logical function, public file_get_aggregate(fid)
Definition: scale_file.F90:4844
mod_atmos_phy_sf_vars::atmos_phy_sf_q2
real(rp), dimension(:,:), allocatable, public atmos_phy_sf_q2
Definition: mod_atmos_phy_sf_vars.F90:96
mod_atmos_phy_sf_vars::atmos_phy_sf_sflx_gh
real(rp), dimension(:,:), allocatable, public atmos_phy_sf_sflx_gh
Definition: mod_atmos_phy_sf_vars.F90:83
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
mod_atmos_phy_sf_vars::atmos_phy_sf_tstar
real(rp), dimension(:,:), allocatable, public atmos_phy_sf_tstar
Definition: mod_atmos_phy_sf_vars.F90:89