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_checktotal
 

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_rhot_t
 
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_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_gh
 
real(rp), dimension(:,:,:), allocatable, target, public atmos_phy_sf_sflx_qtrc
 
real(rp), dimension(:,:), pointer, public atmos_phy_sf_sflx_qv
 
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_l_mo
 

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_Z0 real(RP) 1E-4_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 177 of file mod_atmos_phy_sf_vars.F90.

References atmos_phy_sf_dens_t, atmos_phy_sf_l_mo, atmos_phy_sf_momz_t, atmos_phy_sf_q2, 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_rhot_t, atmos_phy_sf_rhou_t, atmos_phy_sf_rhov_t, 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_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_sh, atmos_phy_sf_t2, atmos_phy_sf_u10, atmos_phy_sf_v10, 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().

177  use scale_prc, only: &
178  prc_abort
179  use scale_const, only: &
180  undef => const_undef
181  use scale_atmos_hydrometeor, only: &
182  i_qv
183  implicit none
184 
185  namelist / param_atmos_phy_sf_vars / &
186  atmos_phy_sf_restart_in_basename, &
187  atmos_phy_sf_restart_in_aggregate, &
188  atmos_phy_sf_restart_in_postfix_timelabel, &
189  atmos_phy_sf_restart_output, &
190  atmos_phy_sf_restart_out_basename, &
191  atmos_phy_sf_restart_out_aggregate, &
192  atmos_phy_sf_restart_out_postfix_timelabel, &
193  atmos_phy_sf_restart_out_title, &
194  atmos_phy_sf_restart_out_dtype, &
195  atmos_phy_sf_default_sfc_temp, &
196  atmos_phy_sf_default_sfc_albedo_lw, &
197  atmos_phy_sf_default_sfc_albedo_sw, &
198  atmos_phy_sf_default_sfc_z0
199 
200  integer :: ierr
201  integer :: iv
202  !---------------------------------------------------------------------------
203 
204  log_newline
205  log_info("ATMOS_PHY_SF_vars_setup",*) 'Setup'
206 
207  allocate( atmos_phy_sf_dens_t(ia,ja) )
208  allocate( atmos_phy_sf_momz_t(ia,ja) )
209  allocate( atmos_phy_sf_rhou_t(ia,ja) )
210  allocate( atmos_phy_sf_rhov_t(ia,ja) )
211  allocate( atmos_phy_sf_rhot_t(ia,ja) )
212  allocate( atmos_phy_sf_rhoh(ia,ja) )
213  allocate( atmos_phy_sf_rhoq_t(ia,ja,qa) )
214  atmos_phy_sf_dens_t(:,:) = undef
215  atmos_phy_sf_momz_t(:,:) = undef
216  atmos_phy_sf_rhou_t(:,:) = undef
217  atmos_phy_sf_rhov_t(:,:) = undef
218  atmos_phy_sf_rhot_t(:,:) = undef
219  atmos_phy_sf_rhoh(:,:) = undef
220  atmos_phy_sf_rhoq_t(:,:,:) = undef
221 
222  allocate( atmos_phy_sf_sfc_temp(ia,ja) )
223  allocate( atmos_phy_sf_sfc_albedo(ia,ja,n_rad_dir,n_rad_rgn) )
224  allocate( atmos_phy_sf_sfc_z0m(ia,ja) )
225  allocate( atmos_phy_sf_sfc_z0h(ia,ja) )
226  allocate( atmos_phy_sf_sfc_z0e(ia,ja) )
227  atmos_phy_sf_sfc_temp(:,:) = atmos_phy_sf_default_sfc_temp
228  atmos_phy_sf_sfc_albedo(:,:,i_r_direct ,i_r_ir ) = atmos_phy_sf_default_sfc_albedo_lw
229  atmos_phy_sf_sfc_albedo(:,:,i_r_diffuse,i_r_ir ) = atmos_phy_sf_default_sfc_albedo_lw
230  atmos_phy_sf_sfc_albedo(:,:,i_r_direct ,i_r_nir) = atmos_phy_sf_default_sfc_albedo_sw
231  atmos_phy_sf_sfc_albedo(:,:,i_r_diffuse,i_r_nir) = atmos_phy_sf_default_sfc_albedo_sw
232  atmos_phy_sf_sfc_albedo(:,:,i_r_direct ,i_r_vis) = atmos_phy_sf_default_sfc_albedo_sw
233  atmos_phy_sf_sfc_albedo(:,:,i_r_diffuse,i_r_vis) = atmos_phy_sf_default_sfc_albedo_sw
234  atmos_phy_sf_sfc_z0m(:,:) = atmos_phy_sf_default_sfc_z0
235  atmos_phy_sf_sfc_z0h(:,:) = atmos_phy_sf_default_sfc_z0
236  atmos_phy_sf_sfc_z0e(:,:) = atmos_phy_sf_default_sfc_z0
237 
238  allocate( atmos_phy_sf_sfc_dens(ia,ja) )
239  allocate( atmos_phy_sf_sfc_pres(ia,ja) )
240  atmos_phy_sf_sfc_dens(:,:) = undef
241  atmos_phy_sf_sfc_pres(:,:) = undef
242 
243  allocate( atmos_phy_sf_sflx_mw(ia,ja) )
244  allocate( atmos_phy_sf_sflx_mu(ia,ja) )
245  allocate( atmos_phy_sf_sflx_mv(ia,ja) )
246  allocate( atmos_phy_sf_sflx_sh(ia,ja) )
247  allocate( atmos_phy_sf_sflx_lh(ia,ja) )
248  allocate( atmos_phy_sf_sflx_gh(ia,ja) )
249  allocate( atmos_phy_sf_sflx_qtrc(ia,ja,max(qa,1)) )
250  atmos_phy_sf_sflx_mw(:,:) = undef
251  atmos_phy_sf_sflx_mu(:,:) = undef
252  atmos_phy_sf_sflx_mv(:,:) = undef
253  atmos_phy_sf_sflx_sh(:,:) = undef
254  atmos_phy_sf_sflx_lh(:,:) = undef
255  atmos_phy_sf_sflx_gh(:,:) = undef
256  atmos_phy_sf_sflx_qtrc(:,:,:) = undef
257 
258  allocate( atmos_phy_sf_u10(ia,ja) )
259  allocate( atmos_phy_sf_v10(ia,ja) )
260  allocate( atmos_phy_sf_t2(ia,ja) )
261  allocate( atmos_phy_sf_q2(ia,ja) )
262  allocate( atmos_phy_sf_l_mo(ia,ja) )
263  atmos_phy_sf_u10(:,:) = undef
264  atmos_phy_sf_v10(:,:) = undef
265  atmos_phy_sf_t2(:,:) = undef
266  atmos_phy_sf_q2(:,:) = undef
267  atmos_phy_sf_l_mo(:,:) = undef
268 
269  !--- read namelist
270  rewind(io_fid_conf)
271  read(io_fid_conf,nml=param_atmos_phy_sf_vars,iostat=ierr)
272  if( ierr < 0 ) then !--- missing
273  log_info("ATMOS_PHY_SF_vars_setup",*) 'Not found namelist. Default used.'
274  elseif( ierr > 0 ) then !--- fatal error
275  log_error("ATMOS_PHY_SF_vars_setup",*) 'Not appropriate names in namelist PARAM_ATMOS_PHY_SF_VARS. Check!'
276  call prc_abort
277  endif
278  log_nml(param_atmos_phy_sf_vars)
279 
280  log_newline
281  log_info("ATMOS_PHY_SF_vars_setup",*) '[ATMOS_PHY_SF] prognostic/diagnostic variables'
282  log_info_cont('(1x,A,A24,A,A48,A,A12,A)') &
283  ' |', 'VARNAME ','|', &
284  'DESCRIPTION ', '[', 'UNIT ', ']'
285  do iv = 1, vmax
286  log_info_cont('(1x,A,I3,A,A24,A,A48,A,A12,A)') &
287  'NO.',iv,'|',var_name(iv),'|',var_desc(iv),'[',var_unit(iv),']'
288  enddo
289 
290  log_newline
291  if ( atmos_phy_sf_restart_in_basename /= '' ) then
292  log_info("ATMOS_PHY_SF_vars_setup",*) 'Restart input? : YES, file = ', trim(atmos_phy_sf_restart_in_basename)
293  log_info("ATMOS_PHY_SF_vars_setup",*) 'Add timelabel? : ', atmos_phy_sf_restart_in_postfix_timelabel
294  else
295  log_info("ATMOS_PHY_SF_vars_setup",*) 'Restart input? : NO'
296  endif
297  if ( atmos_phy_sf_restart_output &
298  .AND. atmos_phy_sf_restart_out_basename /= '' ) then
299  log_info("ATMOS_PHY_SF_vars_setup",*) 'Restart output? : YES, file = ', trim(atmos_phy_sf_restart_out_basename)
300  log_info("ATMOS_PHY_SF_vars_setup",*) 'Add timelabel? : ', atmos_phy_sf_restart_out_postfix_timelabel
301  else
302  log_info("ATMOS_PHY_SF_vars_setup",*) 'Restart output? : NO'
303  atmos_phy_sf_restart_output = .false.
304  endif
305 
306  if ( i_qv > 0 ) then
307  atmos_phy_sf_sflx_qv => atmos_phy_sf_sflx_qtrc(:,:,i_qv)
308  else
309  allocate( zero(ia,ja) )
310  atmos_phy_sf_sflx_qv => zero
311  end if
312 
313  return
real(rp), dimension(:,:), allocatable, public atmos_phy_sf_sfc_z0e
real(rp), dimension(:,:), allocatable, public atmos_phy_sf_sflx_mw
real(rp), dimension(:,:), allocatable, public atmos_phy_sf_v10
real(rp), dimension(:,:), allocatable, public atmos_phy_sf_sfc_temp
integer, public io_fid_conf
Config file ID.
Definition: scale_io.F90:55
real(rp), dimension(:,:), allocatable, public atmos_phy_sf_sflx_mv
real(rp), public const_undef
Definition: scale_const.F90:41
real(rp), dimension(:,:,:,:), allocatable, public atmos_phy_sf_sfc_albedo
real(rp), dimension(:,:), allocatable, public atmos_phy_sf_u10
module atmosphere / hydrometeor
real(rp), dimension(:,:), allocatable, public atmos_phy_sf_sfc_z0h
module PROCESS
Definition: scale_prc.F90:11
real(rp), dimension(:,:), allocatable, public atmos_phy_sf_sflx_lh
real(rp), dimension(:,:), allocatable, public atmos_phy_sf_sfc_pres
real(rp), dimension(:,:,:), allocatable, target, public atmos_phy_sf_sflx_qtrc
subroutine, public prc_abort
Abort Process.
Definition: scale_prc.F90:338
module CONSTANT
Definition: scale_const.F90:11
real(rp), dimension(:,:), allocatable, public atmos_phy_sf_sflx_sh
real(rp), dimension(:,:), allocatable, public atmos_phy_sf_q2
real(rp), dimension(:,:), allocatable, public atmos_phy_sf_sfc_z0m
real(rp), dimension(:,:), allocatable, public atmos_phy_sf_t2
real(rp), dimension(:,:), allocatable, public atmos_phy_sf_sfc_dens
real(rp), dimension(:,:), allocatable, public atmos_phy_sf_sflx_gh
real(rp), dimension(:,:), allocatable, public atmos_phy_sf_sflx_mu
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 319 of file mod_atmos_phy_sf_vars.F90.

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

319  use scale_comm_cartesc, only: &
320  comm_vars8, &
321  comm_wait
322  implicit none
323 
324  integer :: n ,idir, irgn
325  !---------------------------------------------------------------------------
326 
327  call comm_vars8( atmos_phy_sf_sfc_temp(:,:), 1 )
328  call comm_vars8( atmos_phy_sf_sfc_z0m(:,:), 2 )
329  call comm_vars8( atmos_phy_sf_sfc_z0h(:,:), 3 )
330  call comm_vars8( atmos_phy_sf_sfc_z0e(:,:), 4 )
331 
332  n = 4
333  do irgn = i_r_ir, i_r_vis
334  do idir = i_r_direct, i_r_diffuse
335  n = n + 1
336  call comm_vars8( atmos_phy_sf_sfc_albedo(:,:,idir,irgn), n )
337  enddo
338  enddo
339 
340  call comm_wait ( atmos_phy_sf_sfc_temp(:,:), 1 )
341  call comm_wait ( atmos_phy_sf_sfc_z0m(:,:), 2 )
342  call comm_wait ( atmos_phy_sf_sfc_z0h(:,:), 3 )
343  call comm_wait ( atmos_phy_sf_sfc_z0e(:,:), 4 )
344 
345  n = 4
346  do irgn = i_r_ir, i_r_vis
347  do idir = i_r_direct, i_r_diffuse
348  n = n + 1
349  call comm_wait ( atmos_phy_sf_sfc_albedo(:,:,idir,irgn), n )
350  enddo
351  enddo
352 
353  return
real(rp), dimension(:,:), allocatable, public atmos_phy_sf_sfc_z0e
real(rp), dimension(:,:), allocatable, public atmos_phy_sf_sfc_temp
module COMMUNICATION
real(rp), dimension(:,:,:,:), allocatable, public atmos_phy_sf_sfc_albedo
real(rp), dimension(:,:), allocatable, public atmos_phy_sf_sfc_z0h
real(rp), dimension(:,:), allocatable, public atmos_phy_sf_sfc_z0m
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 359 of file mod_atmos_phy_sf_vars.F90.

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

359  use scale_time, only: &
361  use scale_file_cartesc, only: &
363  implicit none
364 
365  character(len=19) :: timelabel
366  character(len=H_LONG) :: basename
367  !---------------------------------------------------------------------------
368 
369  log_newline
370  log_info("ATMOS_PHY_SF_vars_restart_open",*) 'Open restart file (ATMOS_PHY_SF) '
371 
372  if ( atmos_phy_sf_restart_in_basename /= '' ) then
373 
374  if ( atmos_phy_sf_restart_in_postfix_timelabel ) then
375  call time_gettimelabel( timelabel )
376  basename = trim(atmos_phy_sf_restart_in_basename)//'_'//trim(timelabel)
377  else
378  basename = trim(atmos_phy_sf_restart_in_basename)
379  endif
380 
381  log_info("ATMOS_PHY_SF_vars_restart_open",*) 'basename: ', trim(basename)
382 
383  call file_cartesc_open( basename, restart_fid, aggregate=atmos_phy_sf_restart_in_aggregate )
384 
385  else
386  log_info("ATMOS_PHY_SF_vars_restart_open",*) 'restart file for ATMOS_PHY_SF is not specified.'
387  endif
388 
389  return
subroutine, public time_gettimelabel(timelabel)
generate time label
Definition: scale_time.F90:94
module TIME
Definition: scale_time.F90:16
module file / cartesianC
subroutine, public file_cartesc_open(basename, fid, aggregate)
open a netCDF file for read
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 395 of file mod_atmos_phy_sf_vars.F90.

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

395  use scale_file, only: &
397  use scale_file_cartesc, only: &
398  file_cartesc_read, &
400  implicit none
401  !---------------------------------------------------------------------------
402 
403  if ( restart_fid /= -1 ) then
404  log_newline
405  log_info("ATMOS_PHY_SF_vars_restart_read",*) 'Read from restart file (ATMOS_PHY_SF) '
406 
407  call file_cartesc_read( restart_fid, var_name(i_sfc_temp), 'XY', & ! [IN]
408  atmos_phy_sf_sfc_temp(:,:) ) ! [OUT]
409  call file_cartesc_read( restart_fid, var_name(i_sfc_alb_ir_dir), 'XY', & ! [IN]
410  atmos_phy_sf_sfc_albedo(:,:,i_r_direct ,i_r_ir ) ) ! [OUT]
411  call file_cartesc_read( restart_fid, var_name(i_sfc_alb_ir_dif), 'XY', & ! [IN]
412  atmos_phy_sf_sfc_albedo(:,:,i_r_diffuse,i_r_ir ) ) ! [OUT]
413  call file_cartesc_read( restart_fid, var_name(i_sfc_alb_nir_dir), 'XY', & ! [IN]
414  atmos_phy_sf_sfc_albedo(:,:,i_r_direct ,i_r_nir) ) ! [OUT]
415  call file_cartesc_read( restart_fid, var_name(i_sfc_alb_nir_dif), 'XY', & ! [IN]
416  atmos_phy_sf_sfc_albedo(:,:,i_r_diffuse,i_r_nir) ) ! [OUT]
417  call file_cartesc_read( restart_fid, var_name(i_sfc_alb_vis_dir), 'XY', & ! [IN]
418  atmos_phy_sf_sfc_albedo(:,:,i_r_direct ,i_r_vis) ) ! [OUT]
419  call file_cartesc_read( restart_fid, var_name(i_sfc_alb_vis_dif), 'XY', & ! [IN]
420  atmos_phy_sf_sfc_albedo(:,:,i_r_diffuse,i_r_vis) ) ! [OUT]
421  call file_cartesc_read( restart_fid, var_name(i_sfc_z0m), 'XY', & ! [IN]
422  atmos_phy_sf_sfc_z0m(:,:) ) ! [OUT]
423  call file_cartesc_read( restart_fid, var_name(i_sfc_z0h), 'XY', & ! [IN]
424  atmos_phy_sf_sfc_z0h(:,:) ) ! [OUT]
425  call file_cartesc_read( restart_fid, var_name(i_sfc_z0e), 'XY', & ! [IN]
426  atmos_phy_sf_sfc_z0e(:,:) ) ! [OUT]
427 
428  if ( file_get_aggregate(restart_fid) ) then
429  call file_cartesc_flush( restart_fid ) ! X/Y halos have been read from file
430  else
431  call atmos_phy_sf_vars_fillhalo
432  end if
433 
434  call atmos_phy_sf_vars_checktotal
435 
436  else
437  log_info("ATMOS_PHY_SF_vars_restart_read",*) 'invalid restart file ID for ATMOS_PHY_SF.'
438  endif
439 
440  return
real(rp), dimension(:,:), allocatable, public atmos_phy_sf_sfc_z0e
real(rp), dimension(:,:), allocatable, public atmos_phy_sf_sfc_temp
module file
Definition: scale_file.F90:15
real(rp), dimension(:,:,:,:), allocatable, public atmos_phy_sf_sfc_albedo
real(rp), dimension(:,:), allocatable, public atmos_phy_sf_sfc_z0h
logical function, public file_get_aggregate(fid)
module file / cartesianC
real(rp), dimension(:,:), allocatable, public atmos_phy_sf_sfc_z0m
subroutine, public file_cartesc_flush(fid)
Flush all pending requests to a netCDF file (PnetCDF only)
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 446 of file mod_atmos_phy_sf_vars.F90.

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

446  use scale_time, only: &
448  use scale_file_cartesc, only: &
450  implicit none
451 
452  character(len=19) :: timelabel
453  character(len=H_LONG) :: basename
454  !---------------------------------------------------------------------------
455 
456  if ( atmos_phy_sf_restart_out_basename /= '' ) then
457 
458  log_newline
459  log_info("ATMOS_PHY_SF_vars_restart_create",*) 'Create restart file (ATMOS_PHY_AE) '
460 
461  if ( atmos_phy_sf_restart_out_postfix_timelabel ) then
462  call time_gettimelabel( timelabel )
463  basename = trim(atmos_phy_sf_restart_out_basename)//'_'//trim(timelabel)
464  else
465  basename = trim(atmos_phy_sf_restart_out_basename)
466  endif
467 
468  log_info("ATMOS_PHY_SF_vars_restart_create",*) 'basename: ', trim(basename)
469 
470  call file_cartesc_create( &
471  basename, atmos_phy_sf_restart_out_title, atmos_phy_sf_restart_out_dtype, & ! [IN]
472  restart_fid, & ! [OUT]
473  aggregate=atmos_phy_sf_restart_out_aggregate ) ! [IN]
474  endif
475 
476  return
subroutine, public file_cartesc_create(basename, title, datatype, fid, date, subsec, haszcoord, append, aggregate, single)
Create/open a netCDF file.
subroutine, public time_gettimelabel(timelabel)
generate time label
Definition: scale_time.F90:94
module TIME
Definition: scale_time.F90:16
module file / cartesianC
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 482 of file mod_atmos_phy_sf_vars.F90.

References scale_file_cartesc::file_cartesc_enddef().

Referenced by mod_atmos_vars::atmos_vars_restart_enddef().

482  use scale_file_cartesc, only: &
484  implicit none
485 
486  if ( restart_fid /= -1 ) then
487  call file_cartesc_enddef( restart_fid ) ! [IN]
488  endif
489 
490  return
subroutine, public file_cartesc_enddef(fid)
Exit netCDF file define mode.
module file / cartesianC
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 496 of file mod_atmos_phy_sf_vars.F90.

References scale_file_cartesc::file_cartesc_close().

Referenced by mod_atmos_vars::atmos_vars_restart_close().

496  use scale_file_cartesc, only: &
498  implicit none
499  !---------------------------------------------------------------------------
500 
501  if ( restart_fid /= -1 ) then
502  log_newline
503  log_info("ATMOS_PHY_SF_vars_restart_close",*) 'Close restart file (ATMOS_PHY_SF) '
504 
505  call file_cartesc_close( restart_fid ) ! [IN]
506 
507  restart_fid = -1
508  endif
509 
510  return
module file / cartesianC
subroutine, public file_cartesc_close(fid)
Close a netCDF file.
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 516 of file mod_atmos_phy_sf_vars.F90.

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

516  use scale_file_cartesc, only: &
518  implicit none
519 
520  integer :: i
521  !---------------------------------------------------------------------------
522 
523  if ( restart_fid /= -1 ) then
524 
525  do i = i_sfc_temp, i_sfc_z0e
526  call file_cartesc_def_var( restart_fid, & ! [IN]
527  var_name(i), var_desc(i), var_unit(i), & ! [IN]
528  'XY', atmos_phy_sf_restart_out_dtype, & ! [IN]
529  var_id(i), & ! [OUT]
530  standard_name=var_stdn(i) ) ! [IN]
531  end do
532 
533  endif
534 
535  return
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.
module file / cartesianC
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 541 of file mod_atmos_phy_sf_vars.F90.

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

541  use scale_file_cartesc, only: &
542  file_cartesc_write_var
543  implicit none
544  !---------------------------------------------------------------------------
545 
546  if ( restart_fid /= -1 ) then
547 
548  call atmos_phy_sf_vars_fillhalo
549 
550  call atmos_phy_sf_vars_checktotal
551 
552  call file_cartesc_write_var( restart_fid, var_id(i_sfc_temp), & ! [IN]
553  atmos_phy_sf_sfc_temp(:,:), & ! [IN]
554  var_name(i_sfc_temp), 'XY' ) ! [IN]
555  call file_cartesc_write_var( restart_fid, var_id(i_sfc_alb_ir_dir), & ! [IN]
556  atmos_phy_sf_sfc_albedo(:,:,i_r_direct ,i_r_ir ), & ! [IN]
557  var_name(i_sfc_alb_ir_dir), 'XY' ) ! [IN]
558  call file_cartesc_write_var( restart_fid, var_id(i_sfc_alb_ir_dif), & ! [IN]
559  atmos_phy_sf_sfc_albedo(:,:,i_r_diffuse,i_r_ir ), & ! [IN]
560  var_name(i_sfc_alb_ir_dif), 'XY' ) ! [IN]
561  call file_cartesc_write_var( restart_fid, var_id(i_sfc_alb_nir_dir), & ! [IN]
562  atmos_phy_sf_sfc_albedo(:,:,i_r_direct ,i_r_nir), & ! [IN]
563  var_name(i_sfc_alb_nir_dir), 'XY' ) ! [IN]
564  call file_cartesc_write_var( restart_fid, var_id(i_sfc_alb_nir_dif), & ! [IN]
565  atmos_phy_sf_sfc_albedo(:,:,i_r_diffuse,i_r_nir), & ! [IN]
566  var_name(i_sfc_alb_nir_dif), 'XY' ) ! [IN]
567  call file_cartesc_write_var( restart_fid, var_id(i_sfc_alb_vis_dir), & ! [IN]
568  atmos_phy_sf_sfc_albedo(:,:,i_r_direct ,i_r_vis), & ! [IN]
569  var_name(i_sfc_alb_vis_dir), 'XY' ) ! [IN]
570  call file_cartesc_write_var( restart_fid, var_id(i_sfc_alb_vis_dif), & ! [IN]
571  atmos_phy_sf_sfc_albedo(:,:,i_r_diffuse,i_r_vis), & ! [IN]
572  var_name(i_sfc_alb_vis_dif), 'XY' ) ! [IN]
573  call file_cartesc_write_var( restart_fid, var_id(i_sfc_z0m), & ! [IN]
574  atmos_phy_sf_sfc_z0m(:,:), & ! [IN]
575  var_name(i_sfc_z0m), 'XY' ) ! [IN]
576  call file_cartesc_write_var( restart_fid, var_id(i_sfc_z0h), & ! [IN]
577  atmos_phy_sf_sfc_z0h(:,:), & ! [IN]
578  var_name(i_sfc_z0h), 'XY' ) ! [IN]
579  call file_cartesc_write_var( restart_fid, var_id(i_sfc_z0e), & ! [IN]
580  atmos_phy_sf_sfc_z0e(:,:), & ! [IN]
581  var_name(i_sfc_z0e), 'XY' ) ! [IN]
582 
583  endif
584 
585  return
real(rp), dimension(:,:), allocatable, public atmos_phy_sf_sfc_z0e
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_z0h
module file / cartesianC
real(rp), dimension(:,:), allocatable, public atmos_phy_sf_sfc_z0m
Here is the call graph for this function:
Here is the caller graph for this function:

◆ atmos_phy_sf_vars_checktotal()

subroutine mod_atmos_phy_sf_vars::atmos_phy_sf_vars_checktotal ( )

Definition at line 590 of file mod_atmos_phy_sf_vars.F90.

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, scale_atmos_grid_cartesc_index::js, and scale_statistics::statistics_checktotal.

Referenced by atmos_phy_sf_vars_restart_read(), and atmos_phy_sf_vars_restart_write().

590  use scale_statistics, only: &
592  statistics_total
593  use scale_atmos_grid_cartesc_real, only: &
596  implicit none
597  !---------------------------------------------------------------------------
598 
599  if ( statistics_checktotal ) then
600  call statistics_total( ia, is, ie, ja, js, je, & ! [IN]
601  atmos_phy_sf_sfc_temp(:,:), & ! [IN]
602  var_name(i_sfc_temp), & ! [IN]
603  atmos_grid_cartesc_real_area(:,:), & ! [IN]
605  call statistics_total( ia, is, ie, ja, js, je, & ! [IN]
606  atmos_phy_sf_sfc_albedo(:,:,i_r_direct ,i_r_ir ), & ! [IN]
607  var_name(i_sfc_alb_ir_dir), & ! [IN]
608  atmos_grid_cartesc_real_area(:,:), & ! [IN]
610  call statistics_total( ia, is, ie, ja, js, je, & ! [IN]
611  atmos_phy_sf_sfc_albedo(:,:,i_r_diffuse,i_r_ir ), & ! [IN]
612  var_name(i_sfc_alb_ir_dif), & ! [IN]
613  atmos_grid_cartesc_real_area(:,:), & ! [IN]
615  call statistics_total( ia, is, ie, ja, js, je, & ! [IN]
616  atmos_phy_sf_sfc_albedo(:,:,i_r_direct ,i_r_nir), & ! [IN]
617  var_name(i_sfc_alb_nir_dir), & ! [IN]
618  atmos_grid_cartesc_real_area(:,:), & ! [IN]
620  call statistics_total( ia, is, ie, ja, js, je, & ! [IN]
621  atmos_phy_sf_sfc_albedo(:,:,i_r_diffuse,i_r_nir), & ! [IN]
622  var_name(i_sfc_alb_nir_dif), & ! [IN]
623  atmos_grid_cartesc_real_area(:,:), & ! [IN]
625  call statistics_total( ia, is, ie, ja, js, je, & ! [IN]
626  atmos_phy_sf_sfc_albedo(:,:,i_r_direct ,i_r_vis), & ! [IN]
627  var_name(i_sfc_alb_vis_dir), & ! [IN]
628  atmos_grid_cartesc_real_area(:,:), & ! [IN]
630  call statistics_total( ia, is, ie, ja, js, je, & ! [IN]
631  atmos_phy_sf_sfc_albedo(:,:,i_r_diffuse,i_r_vis), & ! [IN]
632  var_name(i_sfc_alb_vis_dif), & ! [IN]
633  atmos_grid_cartesc_real_area(:,:), & ! [IN]
635  call statistics_total( ia, is, ie, ja, js, je, & ! [IN]
636  atmos_phy_sf_sfc_z0m(:,:), & ! [IN]
637  var_name(i_sfc_z0m), & ! [IN]
638  atmos_grid_cartesc_real_area(:,:), & ! [IN]
640  call statistics_total( ia, is, ie, ja, js, je, & ! [IN]
641  atmos_phy_sf_sfc_z0h(:,:), & ! [IN]
642  var_name(i_sfc_z0h), & ! [IN]
643  atmos_grid_cartesc_real_area(:,:), & ! [IN]
645  call statistics_total( ia, is, ie, ja, js, je, & ! [IN]
646  atmos_phy_sf_sfc_z0e(:,:), & ! [IN]
647  var_name(i_sfc_z0e), & ! [IN]
648  atmos_grid_cartesc_real_area(:,:), & ! [IN]
650  endif
651 
652  return
real(rp), dimension(:,:), allocatable, public atmos_phy_sf_sfc_z0e
real(rp), dimension(:,:), allocatable, public atmos_phy_sf_sfc_temp
logical, public statistics_checktotal
calc&report variable totals to logfile?
real(rp), dimension(:,:,:,:), allocatable, public atmos_phy_sf_sfc_albedo
real(rp), dimension(:,:), allocatable, public atmos_phy_sf_sfc_z0h
module Atmosphere GRID CartesC Real(real space)
real(rp), dimension(:,:), allocatable, public atmos_grid_cartesc_real_area
horizontal area ( xy, normal z) [m2]
real(rp), dimension(:,:), allocatable, public atmos_phy_sf_sfc_z0m
module Statistics
real(rp), public atmos_grid_cartesc_real_totarea
total area (xy, local) [m2]
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 45 of file mod_atmos_phy_sf_vars.F90.

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

45  logical, public :: atmos_phy_sf_restart_output = .false.

◆ 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 47 of file mod_atmos_phy_sf_vars.F90.

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

47  character(len=H_LONG), public :: atmos_phy_sf_restart_in_basename = ''

◆ 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 48 of file mod_atmos_phy_sf_vars.F90.

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

48  logical, public :: atmos_phy_sf_restart_in_aggregate

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

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

49  logical, public :: atmos_phy_sf_restart_in_postfix_timelabel = .false.

◆ 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 50 of file mod_atmos_phy_sf_vars.F90.

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

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

◆ 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 51 of file mod_atmos_phy_sf_vars.F90.

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

51  logical, public :: atmos_phy_sf_restart_out_aggregate

◆ 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 52 of file mod_atmos_phy_sf_vars.F90.

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

52  logical, public :: atmos_phy_sf_restart_out_postfix_timelabel = .true.

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

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

53  character(len=H_MID), public :: atmos_phy_sf_restart_out_title = 'ATMOS_PHY_SF restart'

◆ 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 54 of file mod_atmos_phy_sf_vars.F90.

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

54  character(len=H_SHORT), public :: atmos_phy_sf_restart_out_dtype = 'DEFAULT'

◆ atmos_phy_sf_dens_t

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

Definition at line 56 of file mod_atmos_phy_sf_vars.F90.

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

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

◆ atmos_phy_sf_momz_t

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

Definition at line 57 of file mod_atmos_phy_sf_vars.F90.

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

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

◆ atmos_phy_sf_rhou_t

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

Definition at line 58 of file mod_atmos_phy_sf_vars.F90.

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

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

◆ atmos_phy_sf_rhov_t

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

Definition at line 59 of file mod_atmos_phy_sf_vars.F90.

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

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

◆ atmos_phy_sf_rhoh

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

Definition at line 60 of file mod_atmos_phy_sf_vars.F90.

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

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

◆ atmos_phy_sf_rhot_t

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

Definition at line 61 of file mod_atmos_phy_sf_vars.F90.

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

61  real(RP), public, allocatable :: atmos_phy_sf_rhot_t (:,:) ! tendency RHOT [K *kg/m3/s]

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

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

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

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

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

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

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

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

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

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

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

Definition at line 79 of file mod_atmos_phy_sf_vars.F90.

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

79  real(RP), public, allocatable :: atmos_phy_sf_sflx_gh (:,:) ! ground heat flux [J/m2/s]
real(rp), dimension(:,:), allocatable, public atmos_phy_sf_sflx_gh

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

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

Definition at line 81 of file mod_atmos_phy_sf_vars.F90.

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

81  real(RP), public, pointer :: atmos_phy_sf_sflx_qv (:,:)

◆ atmos_phy_sf_u10

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

Definition at line 83 of file mod_atmos_phy_sf_vars.F90.

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

83  real(RP), public, allocatable :: atmos_phy_sf_u10 (:,:) ! 10m x-wind [m/s]
real(rp), dimension(:,:), allocatable, public atmos_phy_sf_u10

◆ atmos_phy_sf_v10

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

Definition at line 84 of file mod_atmos_phy_sf_vars.F90.

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

84  real(RP), public, allocatable :: atmos_phy_sf_v10 (:,:) ! 10m y-wind [m/s]
real(rp), dimension(:,:), allocatable, public atmos_phy_sf_v10

◆ atmos_phy_sf_t2

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

Definition at line 85 of file mod_atmos_phy_sf_vars.F90.

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

85  real(RP), public, allocatable :: atmos_phy_sf_t2 (:,:) ! 2m temperature [K]
real(rp), dimension(:,:), allocatable, public atmos_phy_sf_t2

◆ atmos_phy_sf_q2

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

Definition at line 86 of file mod_atmos_phy_sf_vars.F90.

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

86  real(RP), public, allocatable :: atmos_phy_sf_q2 (:,:) ! 2m specific humidity [kg/kg]
real(rp), dimension(:,:), allocatable, public atmos_phy_sf_q2

◆ atmos_phy_sf_l_mo

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

Definition at line 88 of file mod_atmos_phy_sf_vars.F90.

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

88  real(RP), public, allocatable :: atmos_phy_sf_l_mo (:,:) ! monin-obukov length