SCALE-RM
Functions/Subroutines
mod_rm_prep Module Reference

module SCALE-RM prep More...

Functions/Subroutines

subroutine, public rm_prep (comm_world, cnf_fname, path, add_path)
 Setup. More...
 

Detailed Description

module SCALE-RM prep

Description
This program is driver of preprocess tools 1) boundary data (e.g. topography, land use index) 2) initial data for ideal/real test cases
Author
Team SCALE

Function/Subroutine Documentation

◆ rm_prep()

subroutine, public mod_rm_prep::rm_prep ( integer, intent(in)  comm_world,
character(len=*), intent(in)  cnf_fname,
character(len=*), intent(in)  path,
logical, intent(in)  add_path 
)

Setup.

Definition at line 60 of file mod_rm_prep.F90.

60  use scale_file, only: &
61  file_finalize, &
63  use scale_prc, only: &
65  use scale_prc_cartesc, only: &
68  use scale_const, only: &
69  tem00 => const_tem00, &
70  lhv0 => const_lhv0, &
71  lhf0 => const_lhf0, &
72  rdry => const_rdry, &
73  rvap => const_rvap, &
74  cl => const_cl, &
75  ci => const_ci, &
76  karman => const_karman, &
77  grav => const_grav, &
78  stb => const_stb, &
79  const_setup, &
81  use scale_atmos_solarins, only: &
82  solarins_constant => atmos_solarins_constant
83  use scale_calendar, only: &
85  use scale_random, only: &
86  random_setup, &
88  use scale_tracer, only: &
92  ia, ja
93  use scale_atmos_grid_cartesc, only: &
96  domain_center_y => atmos_grid_cartesc_domain_center_y, &
97  cy => atmos_grid_cartesc_cy, &
98  dx, dy
99  use scale_comm_cartesc_nest, only: &
102  use scale_ocean_grid_cartesc_index, only: &
104  use scale_ocean_grid_cartesc, only: &
107  use scale_ocean_grid_cartesc_real, only: &
111  use scale_land_grid_cartesc_index, only: &
113  use scale_land_grid_cartesc, only: &
116  use scale_land_grid_cartesc_real, only: &
120  use scale_urban_grid_cartesc_index, only: &
122  use scale_urban_grid_cartesc, only: &
125  use scale_urban_grid_cartesc_real, only: &
129  use scale_file_cartesc, only: &
132  use scale_file_grads, only: &
134  use scale_comm_cartesc, only: &
135  comm_setup, &
136  comm_regist, &
138  use scale_topography, only: &
142  use scale_landuse, only: &
143  landuse_setup, &
144  landuse_write, &
146  use scale_atmos_grid_cartesc_real, only: &
150  real_lat => atmos_grid_cartesc_real_lat, &
156  use scale_statistics, only: &
158  use scale_coriolis, only: &
159  coriolis_setup, &
161  use scale_atmos_hydrostatic, only: &
163  use scale_atmos_thermodyn, only: &
165  use scale_atmos_hydrometeor, only: &
168  use scale_atmos_saturation, only: &
170  use scale_bulkflux, only: &
172  use mod_atmos_driver, only: &
174  use mod_admin_restart, only: &
176  use mod_admin_versioncheck, only: &
178  use mod_admin_time, only: &
180  use mod_atmos_admin, only: &
183  atmos_do
184  use mod_atmos_vars, only: &
187  use mod_atmos_phy_mp_vars, only: &
188  qa_mp
189  use mod_ocean_admin, only: &
191  ocean_do
192  use mod_ocean_vars, only: &
195  use mod_land_admin, only: &
197  land_do
198  use mod_land_vars, only: &
199  land_vars_setup, &
201  use mod_urban_admin, only: &
203  urban_do, &
204  urban_land
205  use mod_urban_vars, only: &
208  use mod_lake_admin, only: &
210  lake_do
211  use mod_cpl_admin, only: &
212  cpl_admin_setup, &
213  cpl_sw
214  use mod_cpl_vars, only: &
215  cpl_vars_setup, &
217  use mod_convert, only: &
218  convert_setup, &
219  convert
220  use mod_mktopo, only: &
221  mktopo_setup, &
222  mktopo
223  use mod_mkinit, only: &
224  mkinit_setup, &
225  mkinit_finalize, &
226  mkinit
227  use mod_user, only: &
229  user_setup, &
230  user_finalize, &
232  use mod_atmos_driver, only: &
236  use mod_ocean_driver, only: &
238  use mod_land_driver, only: &
240  use mod_urban_driver, only: &
242  use mod_admin_restart, only: &
244  use mod_admin_time, only: &
249 #ifdef JMAPPLIB
250  use pp_print_parm, only: &
251  pp_print_parm_set_flg_out_msg
252  use pp_phys_const, only: &
253  pp_phys_const_set
254 #endif
255  implicit none
256 
257  integer, intent(in) :: comm_world
258  character(len=*), intent(in) :: cnf_fname
259  character(len=*), intent(in) :: path
260  logical, intent(in) :: add_path
261 
262  integer :: myrank
263  logical :: ismaster
264 
265  logical :: output
266 
267  integer :: id
268  !---------------------------------------------------------------------------
269 
270  !########## Initial setup ##########
271 
272  ! setup standard I/O
273  if ( add_path .and. path /= "" ) then
274  call io_setup( modelname, trim(path)//cnf_fname, prefix=path )
275  else
276  call io_setup( modelname, trim(path)//cnf_fname )
277  end if
278 
279  ! setup MPI
280  call prc_local_setup( comm_world, & ! [IN]
281  myrank, & ! [OUT]
282  ismaster ) ! [OUT]
283 
284  ! setup Log
285  call io_log_setup( myrank, ismaster )
286 
287  ! namelist compatibility check
288  call admin_versioncheck
289 
290  ! setup process
291  call prc_cartesc_setup
292 
293  ! setup PROF
294  call prof_setup
295 
296 
297  ! profiler start
298  call prof_setprefx('INIT')
299  call prof_rapstart('Initialize', 0)
300 
301 
302  ! setup constants
303  call const_setup
304 
305  ! setup calendar
306  call calendar_setup
307 
308  ! setup random number
309  call random_setup
310 
311  ! setup submodel administrator
312  call atmos_admin_setup
313  call ocean_admin_setup
314  call land_admin_setup
315  call urban_admin_setup
316  call lake_admin_setup
317  call cpl_admin_setup
318 
319  ! setup horizontal/vertical grid coordinates (cartesian,idealized)
320  if ( atmos_do ) then
323  end if
324 
325  if ( ocean_do ) then
328  end if
329 
330  if ( land_do ) then
333  end if
334 
335  if ( urban_do ) then
338  end if
339 
340  ! setup tracer index
342  call atmos_driver_tracer_setup
343  call user_tracer_setup
344 
345  ! setup file I/O
346  call file_cartesc_setup
347 
348  ! setup mpi communication
349  call comm_setup
350  call comm_regist( ka, ia, ja, ihalo, jhalo, id )
351 
352  ! setup topography
353  call topography_setup
354  ! setup land use category index/fraction
355  call landuse_setup( ocean_do, (.not. urban_land), lake_do )
356 
357  ! setup grid coordinates (real world)
362 
363  ! setup restart
364  call admin_restart_setup
365  ! setup time
366  call admin_time_setup( setup_timeintegration = .false. )
367  ! setup statistics
368  call statistics_setup
369 
370  ! setup nesting grid
372 
373  ! setup coriolis parameter
374  call coriolis_setup( ia, ja, real_lat(:,:), cy(:), domain_center_y )
375 
376  ! setup common tools
380 
381 #ifdef JMAPPLIB
382  call pp_print_parm_set_flg_out_msg( 0 )
383  call pp_phys_const_set( &
384  tkelvn_in = tem00, &
385  hlatnt_in = lhv0, &
386  hlf_in = lhf0, &
387  rd_in = rdry, &
388  rv_in = rvap, &
389  cwater_in = cl, &
390  cice_in = ci, &
391  vkman_in = karman, &
392  grav_in = grav, &
393  stb_in = stb, &
394  sc0_in = solarins_constant)
395 #endif
396 
397  call bulkflux_setup( sqrt(dx**2+dy**2) )
398 
399  ! setup variable container
400  if ( atmos_do ) call atmos_vars_setup
401  if ( ocean_do ) call ocean_vars_setup
402  if ( land_do ) call land_vars_setup
403  if ( urban_do ) call urban_vars_setup
404  if ( cpl_sw ) call cpl_vars_setup
405 
406  ! setup driver
407  if ( atmos_do ) call atmos_driver_setup( .true. )
408 
409  ! setup preprocess converter
410  call convert_setup
411 
412  ! setup mktopo
413  call mktopo_setup
414 
415  ! setup mkinit
416  call mkinit_setup
417 
418  ! setup mod_user
419  call user_setup
420 
421  call prof_rapend('Initialize',0)
422 
423  !########## main ##########
424 
425  call prof_setprefx('MAIN')
426  call prof_rapstart('Main_prep',0)
427 
428  ! execute preprocess
429  call prof_rapstart('Convert',1)
430  call convert
431  call prof_rapend ('Convert',1)
432 
433  ! execute mktopo
434  call prof_rapstart('MkTopo',1)
435  call mktopo
436  call prof_rapend ('MkTopo',1)
437 
438  ! re-setup
445 
446  ! execute mkinit
447  call prof_rapstart('MkInit',1)
448  call mkinit( output )
449  call user_mkinit
450  call prof_rapend ('MkInit',1)
451 
452 
453  ! output
454  call topography_write
455  call landuse_write
456 
457 
458  if ( output ) then
459  call prof_rapstart('MkInit_restart',1)
460 
461  ! setup surface condition
462  call ocean_surface_set( countup = .false. )
463  call land_surface_set ( countup = .false. )
464  call urban_surface_set( countup = .false. )
465  call atmos_surface_get
466 
467  ! output restart file
468  time_doocean_restart = .true.
469  time_doland_restart = .true.
470  time_dourban_restart = .true.
471  time_doatmos_restart = .true.
473 
474  call prof_rapend ('MkInit_restart',1)
475 
476  end if
477 
478  call prof_rapend('Main_prep',0)
479 
480  !########## Finalize ##########
481 
482  ! file I/O
483  call prof_rapstart('File', 1)
486  call file_close_all
487  call file_finalize
488  call prof_rapend ('File', 1)
489 
491 
492  ! finalize mkinit
493  call mkinit_finalize
494 
495  ! finalize atmosphere
496  if ( atmos_do ) call atmos_driver_finalize( .true. )
497 
498  ! finalize variable container
499  if ( atmos_do ) call atmos_vars_finalize
500  if ( ocean_do ) call ocean_vars_finalize
501  if ( land_do ) call land_vars_finalize
502  if ( urban_do ) call urban_vars_finalize
503  if ( cpl_sw ) call cpl_vars_finalize
504 
505  ! finalize coriolis parameter
506  call coriolis_finalize
507 
508  ! finalize nesting grid
510 
511  ! finalize grid coordinates (real world)
516 
517  ! finalize land use category index/fraction
518  call landuse_finalize
519 
520  ! finalize topography
522 
523  ! finalize communication
524  call comm_finalize
525 
526  ! user module
527  call user_finalize
528 
529  ! finalize tracer
531  call tracer_finalize
532 
533  ! finalize horizontal/vertical grid coordinates (cartesian, idealized)
538 
540 
541  call random_finalize
542 
543  call const_finalize
544 
545  call prof_rapreport
546 
547  ! finalize profiler
548  call prof_finalize
549 
550  ! finalize io
551  call io_finalize
552 
553  return

References mod_admin_restart::admin_restart_setup(), mod_admin_restart::admin_restart_write(), mod_admin_time::admin_time_setup(), mod_admin_versioncheck::admin_versioncheck(), mod_atmos_admin::atmos_admin_setup(), mod_atmos_admin::atmos_do, mod_atmos_driver::atmos_driver_finalize(), mod_atmos_driver::atmos_driver_setup(), mod_atmos_driver::atmos_driver_tracer_setup(), scale_atmos_grid_cartesc::atmos_grid_cartesc_cy, scale_atmos_grid_cartesc::atmos_grid_cartesc_domain_center_y, scale_atmos_grid_cartesc::atmos_grid_cartesc_finalize(), scale_atmos_grid_cartesc_index::atmos_grid_cartesc_index_setup(), scale_atmos_grid_cartesc_metric::atmos_grid_cartesc_metric_finalize(), scale_atmos_grid_cartesc_metric::atmos_grid_cartesc_metric_mapf, scale_atmos_grid_cartesc_metric::atmos_grid_cartesc_metric_setup(), scale_atmos_grid_cartesc_real::atmos_grid_cartesc_real_calc_areavol(), scale_atmos_grid_cartesc_real::atmos_grid_cartesc_real_calc_z(), scale_atmos_grid_cartesc_real::atmos_grid_cartesc_real_finalize(), scale_atmos_grid_cartesc_real::atmos_grid_cartesc_real_lat, scale_atmos_grid_cartesc_real::atmos_grid_cartesc_real_setup(), scale_atmos_grid_cartesc::atmos_grid_cartesc_setup(), scale_atmos_hydrometeor::atmos_hydrometeor_finalize(), scale_atmos_hydrometeor::atmos_hydrometeor_setup(), scale_atmos_hydrostatic::atmos_hydrostatic_setup(), mod_atmos_admin::atmos_phy_mp_type, scale_atmos_saturation::atmos_saturation_setup(), scale_atmos_solarins::atmos_solarins_constant, mod_atmos_driver::atmos_surface_get(), scale_atmos_thermodyn::atmos_thermodyn_setup(), mod_atmos_vars::atmos_vars_finalize(), mod_atmos_vars::atmos_vars_setup(), scale_bulkflux::bulkflux_setup(), scale_calendar::calendar_setup(), scale_comm_cartesc_nest::comm_cartesc_nest_finalize(), scale_comm_cartesc_nest::comm_cartesc_nest_setup(), scale_comm_cartesc::comm_finalize(), scale_comm_cartesc::comm_regist(), scale_comm_cartesc::comm_setup(), scale_const::const_ci, scale_const::const_cl, scale_const::const_finalize(), scale_const::const_grav, scale_const::const_karman, scale_const::const_lhf0, scale_const::const_lhv0, scale_const::const_rdry, scale_const::const_rvap, scale_const::const_setup(), scale_const::const_stb, scale_const::const_tem00, mod_convert::convert(), mod_convert::convert_setup(), scale_coriolis::coriolis_finalize(), scale_coriolis::coriolis_setup(), mod_cpl_admin::cpl_admin_setup(), mod_cpl_admin::cpl_sw, mod_cpl_vars::cpl_vars_finalize(), mod_cpl_vars::cpl_vars_setup(), scale_atmos_grid_cartesc::dx, scale_atmos_grid_cartesc::dy, scale_file_cartesc::file_cartesc_finalize(), scale_file_cartesc::file_cartesc_setup(), scale_file::file_close_all(), scale_file::file_finalize(), scale_file_grads::file_grads_finalize(), scale_atmos_grid_cartesc_index::ia, scale_io::io_finalize(), scale_io::io_log_setup(), scale_io::io_setup(), scale_atmos_grid_cartesc_index::ja, mod_lake_admin::lake_admin_setup(), mod_lake_admin::lake_do, mod_land_admin::land_admin_setup(), mod_land_admin::land_do, scale_land_grid_cartesc::land_grid_cartesc_finalize(), scale_land_grid_cartesc_index::land_grid_cartesc_index_setup(), scale_land_grid_cartesc_real::land_grid_cartesc_real_finalize(), scale_land_grid_cartesc_real::land_grid_cartesc_real_set_areavol(), scale_land_grid_cartesc_real::land_grid_cartesc_real_setup(), scale_land_grid_cartesc::land_grid_cartesc_setup(), mod_land_driver::land_surface_set(), mod_land_vars::land_vars_finalize(), mod_land_vars::land_vars_setup(), scale_landuse::landuse_finalize(), scale_landuse::landuse_setup(), scale_landuse::landuse_write(), mod_mkinit::mkinit(), mod_mkinit::mkinit_finalize(), mod_mkinit::mkinit_setup(), mod_mktopo::mktopo(), mod_mktopo::mktopo_setup(), mod_ocean_admin::ocean_admin_setup(), mod_ocean_admin::ocean_do, scale_ocean_grid_cartesc::ocean_grid_cartesc_finalize(), scale_ocean_grid_cartesc_index::ocean_grid_cartesc_index_setup(), scale_ocean_grid_cartesc_real::ocean_grid_cartesc_real_finalize(), scale_ocean_grid_cartesc_real::ocean_grid_cartesc_real_set_areavol(), scale_ocean_grid_cartesc_real::ocean_grid_cartesc_real_setup(), scale_ocean_grid_cartesc::ocean_grid_cartesc_setup(), mod_ocean_driver::ocean_surface_set(), mod_ocean_vars::ocean_vars_finalize(), mod_ocean_vars::ocean_vars_setup(), scale_prc_cartesc::prc_cartesc_finalize(), scale_prc_cartesc::prc_cartesc_setup(), scale_prc::prc_local_setup(), scale_prof::prof_finalize(), scale_prof::prof_rapend(), scale_prof::prof_rapreport(), scale_prof::prof_rapstart(), scale_prof::prof_setprefx(), scale_prof::prof_setup(), mod_atmos_phy_mp_vars::qa_mp, scale_random::random_finalize(), scale_random::random_setup(), scale_statistics::statistics_setup(), mod_admin_time::time_doatmos_restart, mod_admin_time::time_doland_restart, mod_admin_time::time_doocean_restart, mod_admin_time::time_dourban_restart, scale_topography::topography_finalize(), scale_topography::topography_setup(), scale_topography::topography_write(), scale_tracer::tracer_finalize(), mod_urban_admin::urban_admin_setup(), mod_urban_admin::urban_do, scale_urban_grid_cartesc::urban_grid_cartesc_finalize(), scale_urban_grid_cartesc_index::urban_grid_cartesc_index_setup(), scale_urban_grid_cartesc_real::urban_grid_cartesc_real_finalize(), scale_urban_grid_cartesc_real::urban_grid_cartesc_real_set_areavol(), scale_urban_grid_cartesc_real::urban_grid_cartesc_real_setup(), scale_urban_grid_cartesc::urban_grid_cartesc_setup(), mod_urban_admin::urban_land, mod_urban_driver::urban_surface_set(), mod_urban_vars::urban_vars_finalize(), mod_urban_vars::urban_vars_setup(), mod_user::user_finalize(), mod_user::user_mkinit(), mod_user::user_setup(), and mod_user::user_tracer_setup().

Referenced by mod_launcher::launcher().

Here is the caller graph for this function:
scale_const::const_grav
real(rp), public const_grav
standard acceleration of gravity [m/s2]
Definition: scale_const.F90:49
mod_ocean_driver
module OCEAN driver
Definition: mod_ocean_driver.F90:11
scale_comm_cartesc::comm_setup
subroutine, public comm_setup
Setup.
Definition: scale_comm_cartesC.F90:200
scale_land_grid_cartesc_real::land_grid_cartesc_real_setup
subroutine, public land_grid_cartesc_real_setup
Setup real grid.
Definition: scale_land_grid_cartesC_real.F90:54
scale_statistics
module Statistics
Definition: scale_statistics.F90:11
mod_atmos_phy_mp_vars
module Atmosphere / Physics Cloud Microphysics
Definition: mod_atmos_phy_mp_vars.F90:12
scale_const::const_lhv0
real(rp), parameter, public const_lhv0
latent heat of vaporizaion at 0C [J/kg]
Definition: scale_const.F90:82
mod_urban_admin::urban_do
logical, public urban_do
Definition: mod_urban_admin.F90:32
mod_admin_restart
module administrator for restart
Definition: mod_admin_restart.F90:11
mod_user
module USER
Definition: mod_user.F90:12
mod_atmos_phy_mp_vars::qa_mp
integer, public qa_mp
Definition: mod_atmos_phy_mp_vars.F90:78
mod_user::user_setup
subroutine, public user_setup
Setup before setup of other components.
Definition: mod_user.F90:84
mod_user::user_mkinit
subroutine, public user_mkinit
Make initial state.
Definition: mod_user.F90:126
mod_land_driver
module LAND driver
Definition: mod_land_driver.F90:11
mod_cpl_admin::cpl_admin_setup
subroutine, public cpl_admin_setup
Setup.
Definition: mod_cpl_admin.F90:48
scale_file::file_close_all
subroutine, public file_close_all(skip_abort)
Definition: scale_file.F90:6287
mod_atmos_driver::atmos_driver_tracer_setup
subroutine, public atmos_driver_tracer_setup
Tracer setup.
Definition: mod_atmos_driver.F90:54
mod_user::user_tracer_setup
subroutine, public user_tracer_setup
Config before setup of tracers.
Definition: mod_user.F90:55
mod_admin_time::time_dourban_restart
logical, public time_dourban_restart
execute urban restart output in this step?
Definition: mod_admin_time.F90:63
scale_atmos_grid_cartesc::atmos_grid_cartesc_setup
subroutine, public atmos_grid_cartesc_setup(basename, aggregate)
Setup.
Definition: scale_atmos_grid_cartesC.F90:109
mod_cpl_vars
module COUPLER Variables
Definition: mod_cpl_vars.F90:12
scale_landuse::landuse_setup
subroutine, public landuse_setup(OCEAN_do, URBAN_do, LAKE_do)
Setup.
Definition: scale_landuse.F90:102
scale_land_grid_cartesc::land_grid_cartesc_finalize
subroutine, public land_grid_cartesc_finalize
Finalize.
Definition: scale_land_grid_cartesC.F90:142
mod_atmos_admin
module ATMOS admin
Definition: mod_atmos_admin.F90:11
scale_ocean_grid_cartesc_real::ocean_grid_cartesc_real_setup
subroutine, public ocean_grid_cartesc_real_setup
Setup area and volume.
Definition: scale_ocean_grid_cartesC_real.F90:56
scale_coriolis
module Coriolis
Definition: scale_coriolis.F90:12
mod_atmos_admin::atmos_do
logical, public atmos_do
Definition: mod_atmos_admin.F90:33
mod_ocean_admin::ocean_admin_setup
subroutine, public ocean_admin_setup
Setup.
Definition: mod_ocean_admin.F90:62
scale_atmos_solarins::atmos_solarins_constant
real(rp), public atmos_solarins_constant
Definition: scale_atmos_solarins.F90:43
scale_ocean_grid_cartesc_real::ocean_grid_cartesc_real_finalize
subroutine, public ocean_grid_cartesc_real_finalize
Finalize.
Definition: scale_ocean_grid_cartesC_real.F90:69
scale_const::const_rvap
real(rp), parameter, public const_rvap
specific gas constant (water vapor) [J/kg/K]
Definition: scale_const.F90:68
scale_comm_cartesc_nest
module Communication CartesianC nesting
Definition: scale_comm_cartesC_nest.F90:12
mod_urban_admin::urban_admin_setup
subroutine, public urban_admin_setup
Setup.
Definition: mod_urban_admin.F90:55
scale_atmos_grid_cartesc_metric
module Atmosphere Grid CartesianC metirc
Definition: scale_atmos_grid_cartesC_metric.F90:12
scale_bulkflux
module Surface bulk flux
Definition: scale_bulkflux.F90:12
scale_atmos_hydrometeor
module atmosphere / hydrometeor
Definition: scale_atmos_hydrometeor.F90:12
mod_user::user_finalize
subroutine, public user_finalize
Finalization.
Definition: mod_user.F90:117
mod_mktopo::mktopo_setup
subroutine, public mktopo_setup
Setup.
Definition: mod_mktopo.F90:68
scale_topography::topography_write
subroutine, public topography_write
Write topography.
Definition: scale_topography.F90:208
scale_random
module RANDOM
Definition: scale_random.F90:11
scale_topography
module TOPOGRAPHY
Definition: scale_topography.F90:11
scale_calendar
module CALENDAR
Definition: scale_calendar.F90:13
scale_urban_grid_cartesc_index
module urban / grid / icosahedralA / index
Definition: scale_urban_grid_cartesC_index.F90:11
scale_atmos_grid_cartesc_real::atmos_grid_cartesc_real_calc_areavol
subroutine, public atmos_grid_cartesc_real_calc_areavol(MAPF)
Calc control area/volume.
Definition: scale_atmos_grid_cartesC_real.F90:628
scale_atmos_solarins
module atmosphere / SOLARINS
Definition: scale_atmos_solarins.F90:14
scale_ocean_grid_cartesc
module ocean / grid / cartesianC
Definition: scale_ocean_grid_cartesC.F90:12
scale_atmos_grid_cartesc_real
module Atmosphere GRID CartesC Real(real space)
Definition: scale_atmos_grid_cartesC_real.F90:11
mod_mkinit::mkinit_finalize
subroutine, public mkinit_finalize
Finalize.
Definition: mod_mkinit.F90:343
scale_random::random_setup
subroutine, public random_setup
Setup.
Definition: scale_random.F90:69
mod_atmos_driver
module ATMOSPHERE driver
Definition: mod_atmos_driver.F90:12
mod_admin_time::admin_time_setup
subroutine, public admin_time_setup(setup_TimeIntegration)
Setup.
Definition: mod_admin_time.F90:122
mod_mktopo::mktopo
subroutine, public mktopo
Driver.
Definition: mod_mktopo.F90:112
scale_atmos_grid_cartesc::dx
real(rp), public dx
Definition: scale_atmos_grid_cartesC.F90:39
scale_coriolis::coriolis_setup
subroutine, public coriolis_setup(IA, JA, LAT, CY, DOMAIN_CENTER_Y)
Setup.
Definition: scale_coriolis.F90:60
mod_lake_admin::lake_admin_setup
subroutine, public lake_admin_setup
Setup.
Definition: mod_lake_admin.F90:51
scale_file
module file
Definition: scale_file.F90:15
scale_file_grads::file_grads_finalize
subroutine, public file_grads_finalize
Definition: scale_file_grads.F90:700
scale_prc_cartesc::prc_cartesc_setup
subroutine, public prc_cartesc_setup
Setup Processor topology.
Definition: scale_prc_cartesC.F90:71
scale_atmos_grid_cartesc::atmos_grid_cartesc_domain_center_y
real(rp), public atmos_grid_cartesc_domain_center_y
center position of global domain [m]: y
Definition: scale_atmos_grid_cartesC.F90:92
scale_land_grid_cartesc_index
module land / grid / cartesianC / index
Definition: scale_land_grid_cartesC_index.F90:11
mod_ocean_driver::ocean_surface_set
subroutine, public ocean_surface_set(countup)
Put surface boundary to other model.
Definition: mod_ocean_driver.F90:1248
scale_urban_grid_cartesc::urban_grid_cartesc_finalize
subroutine, public urban_grid_cartesc_finalize
Finalize.
Definition: scale_urban_grid_cartesC.F90:143
scale_prc
module PROCESS
Definition: scale_prc.F90:11
scale_comm_cartesc_nest::comm_cartesc_nest_setup
subroutine, public comm_cartesc_nest_setup(QA_MP, MP_TYPE_in)
Setup.
Definition: scale_comm_cartesC_nest.F90:239
scale_const::const_finalize
subroutine, public const_finalize
Finalize.
Definition: scale_const.F90:285
mod_convert
module CONVERT driver
Definition: mod_convert.F90:11
scale_atmos_grid_cartesc_metric::atmos_grid_cartesc_metric_mapf
real(rp), dimension(:,:,:,:), allocatable, public atmos_grid_cartesc_metric_mapf
map factor
Definition: scale_atmos_grid_cartesC_metric.F90:35
scale_prc::prc_local_setup
subroutine, public prc_local_setup(comm, myrank, ismaster)
Setup MPI in local communicator.
Definition: scale_prc.F90:229
mod_urban_admin::urban_land
logical, public urban_land
Definition: mod_urban_admin.F90:33
mod_mkinit::mkinit
subroutine, public mkinit(output)
Driver.
Definition: mod_mkinit.F90:379
scale_ocean_grid_cartesc::ocean_grid_cartesc_finalize
subroutine, public ocean_grid_cartesc_finalize
Finalize.
Definition: scale_ocean_grid_cartesC.F90:144
scale_bulkflux::bulkflux_setup
subroutine, public bulkflux_setup(dx)
Definition: scale_bulkflux.F90:148
scale_ocean_grid_cartesc_real::ocean_grid_cartesc_real_set_areavol
subroutine, public ocean_grid_cartesc_real_set_areavol
Definition: scale_ocean_grid_cartesC_real.F90:80
mod_ocean_admin
module Ocean admin
Definition: mod_ocean_admin.F90:11
scale_urban_grid_cartesc_index::urban_grid_cartesc_index_setup
subroutine, public urban_grid_cartesc_index_setup
Setup.
Definition: scale_urban_grid_cartesC_index.F90:63
scale_comm_cartesc_nest::comm_cartesc_nest_finalize
subroutine, public comm_cartesc_nest_finalize
finalize
Definition: scale_comm_cartesC_nest.F90:3139
mod_admin_restart::admin_restart_setup
subroutine, public admin_restart_setup
Setup.
Definition: mod_admin_restart.F90:58
scale_atmos_grid_cartesc_index
module atmosphere / grid / cartesC index
Definition: scale_atmos_grid_cartesC_index.F90:12
scale_const
module CONSTANT
Definition: scale_const.F90:11
scale_atmos_grid_cartesc_index::ia
integer, public ia
Definition: scale_atmos_grid_cartesC_index.F90:48
mod_land_driver::land_surface_set
subroutine, public land_surface_set(countup)
Put surface boundary to other model.
Definition: mod_land_driver.F90:903
mod_urban_vars::urban_vars_setup
subroutine, public urban_vars_setup
Setup.
Definition: mod_urban_vars.F90:306
mod_atmos_vars::atmos_vars_setup
subroutine, public atmos_vars_setup
Setup.
Definition: mod_atmos_vars.F90:468
scale_coriolis::coriolis_finalize
subroutine, public coriolis_finalize
Finalize.
Definition: scale_coriolis.F90:132
scale_topography::topography_setup
subroutine, public topography_setup
Setup.
Definition: scale_topography.F90:67
mod_atmos_driver::atmos_driver_finalize
subroutine, public atmos_driver_finalize(init)
Finalize.
Definition: mod_atmos_driver.F90:523
mod_land_admin
module Land admin
Definition: mod_land_admin.F90:11
scale_prc_cartesc::prc_cartesc_finalize
subroutine, public prc_cartesc_finalize
Setup Processor topology.
Definition: scale_prc_cartesC.F90:251
scale_comm_cartesc::comm_regist
subroutine, public comm_regist(KA, IA, JA, IHALO, JHALO, gid)
Regist grid.
Definition: scale_comm_cartesC.F90:446
mod_lake_admin::lake_do
logical, public lake_do
Definition: mod_lake_admin.F90:32
scale_urban_grid_cartesc_real::urban_grid_cartesc_real_set_areavol
subroutine, public urban_grid_cartesc_real_set_areavol
Definition: scale_urban_grid_cartesC_real.F90:78
scale_urban_grid_cartesc
module urban / grid / cartesianC
Definition: scale_urban_grid_cartesC.F90:12
scale_land_grid_cartesc_real
module land / grid / cartesianC / real
Definition: scale_land_grid_cartesC_real.F90:11
mod_land_vars
module LAND Variables
Definition: mod_land_vars.F90:11
scale_prc_cartesc
module process / cartesC
Definition: scale_prc_cartesC.F90:11
scale_land_grid_cartesc_index::land_grid_cartesc_index_setup
subroutine, public land_grid_cartesc_index_setup
Setup.
Definition: scale_land_grid_cartesC_index.F90:63
mod_urban_driver
module URBAN driver
Definition: mod_urban_driver.F90:11
scale_comm_cartesc::comm_finalize
subroutine, public comm_finalize
Finalize.
Definition: scale_comm_cartesC.F90:626
mod_admin_time::time_doocean_restart
logical, public time_doocean_restart
execute ocean restart output in this step?
Definition: mod_admin_time.F90:59
scale_random::random_finalize
subroutine, public random_finalize
finalize
Definition: scale_random.F90:229
scale_atmos_grid_cartesc_metric::atmos_grid_cartesc_metric_finalize
subroutine, public atmos_grid_cartesc_metric_finalize
Finalize.
Definition: scale_atmos_grid_cartesC_metric.F90:172
scale_atmos_grid_cartesc_real::atmos_grid_cartesc_real_setup
subroutine, public atmos_grid_cartesc_real_setup
Setup.
Definition: scale_atmos_grid_cartesC_real.F90:110
scale_land_grid_cartesc::land_grid_cartesc_setup
subroutine, public land_grid_cartesc_setup
Setup.
Definition: scale_land_grid_cartesC.F90:60
scale_file_grads
module file_grads
Definition: scale_file_grads.F90:11
scale_file_cartesc::file_cartesc_finalize
subroutine, public file_cartesc_finalize
deallocate buffers
Definition: scale_file_cartesC.F90:320
mod_ocean_vars
module OCEAN Variables
Definition: mod_ocean_vars.F90:12
mod_urban_driver::urban_surface_set
subroutine, public urban_surface_set(countup)
Set surface boundary to other model.
Definition: mod_urban_driver.F90:744
mod_admin_restart::admin_restart_write
subroutine, public admin_restart_write
Write data to restart files.
Definition: mod_admin_restart.F90:389
scale_ocean_grid_cartesc_index
module ocean / grid / cartesianC / index
Definition: scale_ocean_grid_cartesC_index.F90:11
scale_land_grid_cartesc_real::land_grid_cartesc_real_finalize
subroutine, public land_grid_cartesc_real_finalize
Finalize.
Definition: scale_land_grid_cartesC_real.F90:66
mod_atmos_admin::atmos_admin_setup
subroutine, public atmos_admin_setup
Setup.
Definition: mod_atmos_admin.F90:75
mod_cpl_vars::cpl_vars_setup
subroutine, public cpl_vars_setup
Setup.
Definition: mod_cpl_vars.F90:177
mod_urban_vars::urban_vars_finalize
subroutine, public urban_vars_finalize
Finalize.
Definition: mod_urban_vars.F90:564
scale_atmos_grid_cartesc_index::ja
integer, public ja
Definition: scale_atmos_grid_cartesC_index.F90:49
scale_ocean_grid_cartesc_index::ocean_grid_cartesc_index_setup
subroutine, public ocean_grid_cartesc_index_setup
Setup.
Definition: scale_ocean_grid_cartesC_index.F90:65
mod_admin_time::time_doatmos_restart
logical, public time_doatmos_restart
execute atmosphere restart output in this step?
Definition: mod_admin_time.F90:57
mod_mkinit::mkinit_setup
subroutine, public mkinit_setup
Setup.
Definition: mod_mkinit.F90:210
scale_tracer
module TRACER
Definition: scale_tracer.F90:12
scale_const::const_stb
real(rp), parameter, public const_stb
Stefan-Boltzman constant [W/m2/K4].
Definition: scale_const.F90:53
scale_atmos_saturation::atmos_saturation_setup
subroutine, public atmos_saturation_setup
Setup.
Definition: scale_atmos_saturation.F90:244
mod_convert::convert
subroutine, public convert
Driver.
Definition: mod_convert.F90:105
scale_atmos_grid_cartesc::dy
real(rp), public dy
Definition: scale_atmos_grid_cartesC.F90:39
scale_const::const_ci
real(rp), parameter, public const_ci
specific heat (ice) [J/kg/K]
Definition: scale_const.F90:72
scale_calendar::calendar_setup
subroutine, public calendar_setup
Setup.
Definition: scale_calendar.F90:95
mod_admin_time
module ADMIN TIME
Definition: mod_admin_time.F90:11
scale_atmos_grid_cartesc_index::atmos_grid_cartesc_index_setup
subroutine, public atmos_grid_cartesc_index_setup(KMAX, IMAXG, JMAXG, IMAX, JMAX, KHALO, IHALO, JHALO, IBLOCK, JBLOCK)
setup index
Definition: scale_atmos_grid_cartesC_index.F90:118
scale_urban_grid_cartesc_real::urban_grid_cartesc_real_finalize
subroutine, public urban_grid_cartesc_real_finalize
Finalize.
Definition: scale_urban_grid_cartesC_real.F90:67
mod_convert::convert_setup
subroutine, public convert_setup
Setup.
Definition: mod_convert.F90:52
mod_ocean_vars::ocean_vars_finalize
subroutine, public ocean_vars_finalize
Finalize.
Definition: mod_ocean_vars.F90:608
mod_ocean_admin::ocean_do
logical, public ocean_do
Definition: mod_ocean_admin.F90:32
scale_const::const_tem00
real(rp), parameter, public const_tem00
temperature reference (0C) [K]
Definition: scale_const.F90:99
scale_atmos_hydrostatic
module atmosphere / hydrostatic barance
Definition: scale_atmos_hydrostatic.F90:12
mod_land_vars::land_vars_setup
subroutine, public land_vars_setup
Setup.
Definition: mod_land_vars.F90:283
scale_atmos_grid_cartesc_real::atmos_grid_cartesc_real_calc_z
subroutine, public atmos_grid_cartesc_real_calc_z
Convert Xi to Z coordinate.
Definition: scale_atmos_grid_cartesC_real.F90:388
scale_landuse::landuse_finalize
subroutine, public landuse_finalize
Finalize.
Definition: scale_landuse.F90:593
mod_atmos_driver::atmos_driver_setup
subroutine, public atmos_driver_setup(init)
Setup.
Definition: mod_atmos_driver.F90:111
scale_comm_cartesc
module COMMUNICATION
Definition: scale_comm_cartesC.F90:11
mod_atmos_vars::atmos_vars_finalize
subroutine, public atmos_vars_finalize
finalize
Definition: mod_atmos_vars.F90:3876
scale_ocean_grid_cartesc::ocean_grid_cartesc_setup
subroutine, public ocean_grid_cartesc_setup
Setup.
Definition: scale_ocean_grid_cartesC.F90:62
scale_const::const_cl
real(rp), parameter, public const_cl
specific heat (liquid water) [J/kg/K]
Definition: scale_const.F90:71
mod_atmos_vars
module ATMOSPHERIC Variables
Definition: mod_atmos_vars.F90:12
scale_atmos_grid_cartesc_metric::atmos_grid_cartesc_metric_setup
subroutine, public atmos_grid_cartesc_metric_setup
Setup.
Definition: scale_atmos_grid_cartesC_metric.F90:73
scale_land_grid_cartesc_real::land_grid_cartesc_real_set_areavol
subroutine, public land_grid_cartesc_real_set_areavol
Definition: scale_land_grid_cartesC_real.F90:77
mod_land_admin::land_do
logical, public land_do
Definition: mod_land_admin.F90:41
mod_mktopo
module MKTOPO
Definition: mod_mktopo.F90:12
scale_urban_grid_cartesc::urban_grid_cartesc_setup
subroutine, public urban_grid_cartesc_setup
Setup.
Definition: scale_urban_grid_cartesC.F90:61
mod_atmos_driver::atmos_surface_get
subroutine, public atmos_surface_get
Get surface boundary condition.
Definition: mod_atmos_driver.F90:577
mod_ocean_vars::ocean_vars_setup
subroutine, public ocean_vars_setup
Setup.
Definition: mod_ocean_vars.F90:285
scale_const::const_karman
real(rp), parameter, public const_karman
von Karman constant
Definition: scale_const.F90:54
scale_atmos_grid_cartesc::atmos_grid_cartesc_cy
real(rp), dimension(:), allocatable, public atmos_grid_cartesc_cy
center coordinate [m]: y, local
Definition: scale_atmos_grid_cartesC.F90:57
scale_atmos_grid_cartesc::atmos_grid_cartesc_finalize
subroutine, public atmos_grid_cartesc_finalize
Definition: scale_atmos_grid_cartesC.F90:214
scale_const::const_lhf0
real(rp), public const_lhf0
latent heat of fusion at 0C [J/kg]
Definition: scale_const.F90:86
scale_atmos_grid_cartesc_real::atmos_grid_cartesc_real_finalize
subroutine, public atmos_grid_cartesc_real_finalize
Finalize.
Definition: scale_atmos_grid_cartesC_real.F90:863
scale_landuse::landuse_write
subroutine, public landuse_write
Write landuse data.
Definition: scale_landuse.F90:522
mod_cpl_vars::cpl_vars_finalize
subroutine, public cpl_vars_finalize
Finalize.
Definition: mod_cpl_vars.F90:462
scale_file::file_finalize
subroutine, public file_finalize
finalize
Definition: scale_file.F90:277
mod_atmos_admin::atmos_phy_mp_type
character(len=h_short), public atmos_phy_mp_type
Definition: mod_atmos_admin.F90:36
scale_atmos_thermodyn
module atmosphere / thermodyn
Definition: scale_atmos_thermodyn.F90:11
scale_const::const_rdry
real(rp), public const_rdry
specific gas constant (dry air) [J/kg/K]
Definition: scale_const.F90:59
mod_admin_time::time_doland_restart
logical, public time_doland_restart
execute land restart output in this step?
Definition: mod_admin_time.F90:61
scale_ocean_grid_cartesc_real
module ocean / grid / cartesianC / real
Definition: scale_ocean_grid_cartesC_real.F90:12
mod_land_vars::land_vars_finalize
subroutine, public land_vars_finalize
Finalize.
Definition: mod_land_vars.F90:596
scale_statistics::statistics_setup
subroutine, public statistics_setup
Setup.
Definition: scale_statistics.F90:126
scale_atmos_hydrostatic::atmos_hydrostatic_setup
subroutine, public atmos_hydrostatic_setup
Setup.
Definition: scale_atmos_hydrostatic.F90:120
scale_land_grid_cartesc
module land / grid / cartesianC
Definition: scale_land_grid_cartesC.F90:11
scale_atmos_thermodyn::atmos_thermodyn_setup
subroutine, public atmos_thermodyn_setup
Setup.
Definition: scale_atmos_thermodyn.F90:156
scale_atmos_hydrometeor::atmos_hydrometeor_finalize
subroutine, public atmos_hydrometeor_finalize
Finalize.
Definition: scale_atmos_hydrometeor.F90:255
scale_atmos_grid_cartesc_real::atmos_grid_cartesc_real_lat
real(rp), dimension(:,:), allocatable, public atmos_grid_cartesc_real_lat
latitude [rad,-pi,pi]
Definition: scale_atmos_grid_cartesC_real.F90:53
mod_admin_versioncheck
module ADMIN VERSIONCHECK
Definition: mod_admin_versioncheck.F90:11
scale_atmos_grid_cartesc
module atmosphere / grid / cartesC
Definition: scale_atmos_grid_cartesC.F90:12
scale_landuse
module LANDUSE
Definition: scale_landuse.F90:19
mod_urban_admin
module Urban admin
Definition: mod_urban_admin.F90:11
scale_topography::topography_finalize
subroutine, public topography_finalize
finalize
Definition: scale_topography.F90:147
scale_file_cartesc::file_cartesc_setup
subroutine, public file_cartesc_setup
Setup.
Definition: scale_file_cartesC.F90:215
scale_tracer::tracer_finalize
subroutine, public tracer_finalize
Definition: scale_tracer.F90:176
scale_urban_grid_cartesc_real
module urban / grid / cartesianC / real
Definition: scale_urban_grid_cartesC_real.F90:12
mod_admin_versioncheck::admin_versioncheck
subroutine, public admin_versioncheck
Setup.
Definition: mod_admin_versioncheck.F90:45
scale_urban_grid_cartesc_real::urban_grid_cartesc_real_setup
subroutine, public urban_grid_cartesc_real_setup
Setup real grid.
Definition: scale_urban_grid_cartesC_real.F90:55
scale_atmos_hydrometeor::atmos_hydrometeor_setup
subroutine, public atmos_hydrometeor_setup
Setup.
Definition: scale_atmos_hydrometeor.F90:176
mod_lake_admin
module Lake admin
Definition: mod_lake_admin.F90:11
scale_atmos_saturation
module atmosphere / saturation
Definition: scale_atmos_saturation.F90:12
mod_mkinit
module INITIAL
Definition: mod_mkinit.F90:12
mod_land_admin::land_admin_setup
subroutine, public land_admin_setup
Setup.
Definition: mod_land_admin.F90:57
scale_file_cartesc
module file / cartesianC
Definition: scale_file_cartesC.F90:11
mod_cpl_admin::cpl_sw
logical, public cpl_sw
Definition: mod_cpl_admin.F90:33
mod_urban_vars
module URBAN Variables
Definition: mod_urban_vars.F90:12
mod_cpl_admin
module Coupler admin
Definition: mod_cpl_admin.F90:11
scale_const::const_setup
subroutine, public const_setup
Setup.
Definition: scale_const.F90:128