module SCALE-RM prep
More...
|
subroutine, public | rm_prep (comm_world, cnf_fname, path, add_path) |
| Setup. More...
|
|
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
◆ 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.
250 use pp_print_parm,
only: &
251 pp_print_parm_set_flg_out_msg
252 use pp_phys_const,
only: &
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
273 if ( add_path .and. path /=
"" )
then
274 call io_setup( modelname, trim(path)//cnf_fname, prefix=path )
276 call io_setup( modelname, trim(path)//cnf_fname )
285 call io_log_setup( myrank, ismaster )
298 call prof_setprefx(
'INIT')
299 call prof_rapstart(
'Initialize', 0)
342 call atmos_driver_tracer_setup
364 call admin_restart_setup
366 call admin_time_setup( setup_timeintegration = .false. )
382 call pp_print_parm_set_flg_out_msg( 0 )
383 call pp_phys_const_set( &
394 sc0_in = solarins_constant)
421 call prof_rapend(
'Initialize',0)
425 call prof_setprefx(
'MAIN')
426 call prof_rapstart(
'Main_prep',0)
429 call prof_rapstart(
'Convert',1)
431 call prof_rapend (
'Convert',1)
434 call prof_rapstart(
'MkTopo',1)
436 call prof_rapend (
'MkTopo',1)
447 call prof_rapstart(
'MkInit',1)
450 call prof_rapend (
'MkInit',1)
459 call prof_rapstart(
'MkInit_restart',1)
474 call prof_rapend (
'MkInit_restart',1)
478 call prof_rapend(
'Main_prep',0)
483 call prof_rapstart(
'File', 1)
488 call prof_rapend (
'File', 1)
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().
real(rp), public const_grav
standard acceleration of gravity [m/s2]
subroutine, public comm_setup
Setup.
subroutine, public land_grid_cartesc_real_setup
Setup real grid.
module Atmosphere / Physics Cloud Microphysics
real(rp), parameter, public const_lhv0
latent heat of vaporizaion at 0C [J/kg]
module administrator for restart
subroutine, public user_setup
Setup before setup of other components.
subroutine, public user_mkinit
Make initial state.
subroutine, public cpl_admin_setup
Setup.
subroutine, public file_close_all(skip_abort)
subroutine, public atmos_driver_tracer_setup
Tracer setup.
subroutine, public user_tracer_setup
Config before setup of tracers.
logical, public time_dourban_restart
execute urban restart output in this step?
subroutine, public atmos_grid_cartesc_setup(basename, aggregate)
Setup.
subroutine, public landuse_setup(OCEAN_do, URBAN_do, LAKE_do)
Setup.
subroutine, public land_grid_cartesc_finalize
Finalize.
subroutine, public ocean_grid_cartesc_real_setup
Setup area and volume.
subroutine, public ocean_admin_setup
Setup.
real(rp), public atmos_solarins_constant
subroutine, public ocean_grid_cartesc_real_finalize
Finalize.
real(rp), parameter, public const_rvap
specific gas constant (water vapor) [J/kg/K]
module Communication CartesianC nesting
subroutine, public urban_admin_setup
Setup.
module Atmosphere Grid CartesianC metirc
module atmosphere / hydrometeor
subroutine, public user_finalize
Finalization.
subroutine, public mktopo_setup
Setup.
subroutine, public topography_write
Write topography.
module urban / grid / icosahedralA / index
subroutine, public atmos_grid_cartesc_real_calc_areavol(MAPF)
Calc control area/volume.
module atmosphere / SOLARINS
module ocean / grid / cartesianC
module Atmosphere GRID CartesC Real(real space)
subroutine, public mkinit_finalize
Finalize.
subroutine, public random_setup
Setup.
subroutine, public admin_time_setup(setup_TimeIntegration)
Setup.
subroutine, public mktopo
Driver.
subroutine, public coriolis_setup(IA, JA, LAT, CY, DOMAIN_CENTER_Y)
Setup.
subroutine, public lake_admin_setup
Setup.
subroutine, public file_grads_finalize
subroutine, public prc_cartesc_setup
Setup Processor topology.
real(rp), public atmos_grid_cartesc_domain_center_y
center position of global domain [m]: y
module land / grid / cartesianC / index
subroutine, public ocean_surface_set(countup)
Put surface boundary to other model.
subroutine, public urban_grid_cartesc_finalize
Finalize.
subroutine, public comm_cartesc_nest_setup(QA_MP, MP_TYPE_in)
Setup.
subroutine, public const_finalize
Finalize.
real(rp), dimension(:,:,:,:), allocatable, public atmos_grid_cartesc_metric_mapf
map factor
subroutine, public prc_local_setup(comm, myrank, ismaster)
Setup MPI in local communicator.
logical, public urban_land
subroutine, public mkinit(output)
Driver.
subroutine, public ocean_grid_cartesc_finalize
Finalize.
subroutine, public bulkflux_setup(dx)
subroutine, public ocean_grid_cartesc_real_set_areavol
subroutine, public urban_grid_cartesc_index_setup
Setup.
subroutine, public comm_cartesc_nest_finalize
finalize
subroutine, public admin_restart_setup
Setup.
module atmosphere / grid / cartesC index
subroutine, public land_surface_set(countup)
Put surface boundary to other model.
subroutine, public urban_vars_setup
Setup.
subroutine, public atmos_vars_setup
Setup.
subroutine, public coriolis_finalize
Finalize.
subroutine, public topography_setup
Setup.
subroutine, public atmos_driver_finalize(init)
Finalize.
subroutine, public prc_cartesc_finalize
Setup Processor topology.
subroutine, public comm_regist(KA, IA, JA, IHALO, JHALO, gid)
Regist grid.
subroutine, public urban_grid_cartesc_real_set_areavol
module urban / grid / cartesianC
module land / grid / cartesianC / real
subroutine, public land_grid_cartesc_index_setup
Setup.
subroutine, public comm_finalize
Finalize.
logical, public time_doocean_restart
execute ocean restart output in this step?
subroutine, public random_finalize
finalize
subroutine, public atmos_grid_cartesc_metric_finalize
Finalize.
subroutine, public atmos_grid_cartesc_real_setup
Setup.
subroutine, public land_grid_cartesc_setup
Setup.
subroutine, public file_cartesc_finalize
deallocate buffers
subroutine, public urban_surface_set(countup)
Set surface boundary to other model.
subroutine, public admin_restart_write
Write data to restart files.
module ocean / grid / cartesianC / index
subroutine, public land_grid_cartesc_real_finalize
Finalize.
subroutine, public atmos_admin_setup
Setup.
subroutine, public cpl_vars_setup
Setup.
subroutine, public urban_vars_finalize
Finalize.
subroutine, public ocean_grid_cartesc_index_setup
Setup.
logical, public time_doatmos_restart
execute atmosphere restart output in this step?
subroutine, public mkinit_setup
Setup.
real(rp), parameter, public const_stb
Stefan-Boltzman constant [W/m2/K4].
subroutine, public atmos_saturation_setup
Setup.
subroutine, public convert
Driver.
real(rp), parameter, public const_ci
specific heat (ice) [J/kg/K]
subroutine, public calendar_setup
Setup.
subroutine, public atmos_grid_cartesc_index_setup(KMAX, IMAXG, JMAXG, IMAX, JMAX, KHALO, IHALO, JHALO, IBLOCK, JBLOCK)
setup index
subroutine, public urban_grid_cartesc_real_finalize
Finalize.
subroutine, public convert_setup
Setup.
subroutine, public ocean_vars_finalize
Finalize.
real(rp), parameter, public const_tem00
temperature reference (0C) [K]
module atmosphere / hydrostatic barance
subroutine, public land_vars_setup
Setup.
subroutine, public atmos_grid_cartesc_real_calc_z
Convert Xi to Z coordinate.
subroutine, public landuse_finalize
Finalize.
subroutine, public atmos_driver_setup(init)
Setup.
subroutine, public atmos_vars_finalize
finalize
subroutine, public ocean_grid_cartesc_setup
Setup.
real(rp), parameter, public const_cl
specific heat (liquid water) [J/kg/K]
module ATMOSPHERIC Variables
subroutine, public atmos_grid_cartesc_metric_setup
Setup.
subroutine, public land_grid_cartesc_real_set_areavol
subroutine, public urban_grid_cartesc_setup
Setup.
subroutine, public atmos_surface_get
Get surface boundary condition.
subroutine, public ocean_vars_setup
Setup.
real(rp), parameter, public const_karman
von Karman constant
real(rp), dimension(:), allocatable, public atmos_grid_cartesc_cy
center coordinate [m]: y, local
subroutine, public atmos_grid_cartesc_finalize
real(rp), public const_lhf0
latent heat of fusion at 0C [J/kg]
subroutine, public atmos_grid_cartesc_real_finalize
Finalize.
subroutine, public landuse_write
Write landuse data.
subroutine, public cpl_vars_finalize
Finalize.
subroutine, public file_finalize
finalize
character(len=h_short), public atmos_phy_mp_type
module atmosphere / thermodyn
real(rp), public const_rdry
specific gas constant (dry air) [J/kg/K]
logical, public time_doland_restart
execute land restart output in this step?
module ocean / grid / cartesianC / real
subroutine, public land_vars_finalize
Finalize.
subroutine, public statistics_setup
Setup.
subroutine, public atmos_hydrostatic_setup
Setup.
module land / grid / cartesianC
subroutine, public atmos_thermodyn_setup
Setup.
subroutine, public atmos_hydrometeor_finalize
Finalize.
real(rp), dimension(:,:), allocatable, public atmos_grid_cartesc_real_lat
latitude [rad,-pi,pi]
module ADMIN VERSIONCHECK
module atmosphere / grid / cartesC
subroutine, public topography_finalize
finalize
subroutine, public file_cartesc_setup
Setup.
subroutine, public tracer_finalize
module urban / grid / cartesianC / real
subroutine, public admin_versioncheck
Setup.
subroutine, public urban_grid_cartesc_real_setup
Setup real grid.
subroutine, public atmos_hydrometeor_setup
Setup.
module atmosphere / saturation
subroutine, public land_admin_setup
Setup.
subroutine, public const_setup
Setup.