SCALE-RM
|
module REAL input More...
Functions/Subroutines | |
subroutine, public | realinput_atmos |
subroutine, public | realinput_surface |
subroutine | land_interporation (tg, strg, lst, albg, ust, albu, tg_org, strg_org, smds_org, lst_org, albg_org, ust_org, sst_org, lmask_org, lsmask_nest, topo_org, lz_org, llon_org, llat_org, LCZ, LON, LAT, ldims, odims, maskval_tg, maskval_strg, init_landwater_ratio, use_file_landwater, use_waterratio, soilwater_ds2vc_flag, elevation_collection, intrp_iter_max, ol_interp, URBAN_do) |
subroutine | make_mask (gmask, data, nx, ny, landdata) |
subroutine | replace_misval_const (data, maskval, frac_land) |
subroutine | replace_misval_map (data, maskval, nx, ny, elem) |
Variables | |
integer, parameter, public | iscale = 1 |
integer, parameter, public | iwrfarw = 2 |
integer, parameter, public | igrads = 4 |
module REAL input
name | type | default value | comment |
---|---|---|---|
NUMBER_OF_FILES | integer | 1 | |
NUMBER_OF_TSTEPS | integer | 1 | num of time steps in one file |
NUMBER_OF_SKIP_TSTEPS | integer | 0 | num of skipped first several data |
SERIAL_PROC_READ | logical | .true. | read by one MPI process and broadcast |
FILETYPE_ORG | character(len=H_LONG) | '' | |
BASENAME_ORG | character(len=H_LONG) | '' | |
BASENAME_ADD_NUM | logical | .false. | |
BASENAME_BOUNDARY | character(len=H_LONG) | '' | |
BOUNDARY_POSTFIX_TIMELABEL | logical | .false. | |
BOUNDARY_TITLE | character(len=H_LONG) | 'SCALE-RM BOUNDARY CONDITION for REAL CASE' | |
BOUNDARY_DTYPE | character(len=H_SHORT) | 'DEFAULT' | |
BOUNDARY_UPDATE_DT | real(DP) | 0.0_DP | inteval time of boudary data update [s] |
FILTER_ORDER | integer | 8 | order of the hyper-diffusion (must be even) |
FILTER_NITER | integer | 5 | times for hyper-diffusion iteration |
USE_FILE_DENSITY | logical | .false. | use density data from files |
SAME_MP_TYPE | logical | .false. | microphysics type of the parent model is same as it in this model |
name | type | default value | comment |
---|---|---|---|
NUMBER_OF_FILES | integer | 1 | |
NUMBER_OF_TSTEPS | integer | 1 | num of time steps in one file |
NUMBER_OF_SKIP_TSTEPS | integer | 0 | num of skipped first several data |
FILETYPE_ORG | character(len=H_LONG) | '' | |
BASENAME_ORG | character(len=H_LONG) | '' | |
BASENAME_ADD_NUM | logical | .false. | |
BASENAME_BOUNDARY | character(len=H_LONG) | '' | |
BOUNDARY_POSTFIX_TIMELABEL | logical | .false. | |
BOUNDARY_TITLE | character(len=H_LONG) | 'SCALE-RM BOUNDARY CONDITION for REAL CASE' | |
BOUNDARY_UPDATE_DT | real(DP) | 0.0_DP | inteval time of boudary data update [s] |
USE_FILE_LANDWATER | logical | ||
INIT_LANDWATER_RATIO | real(RP) | ||
INTRP_LAND_TEMP | character(len=*) | ||
INTRP_LAND_WATER | character(len=*) | ||
INTRP_LAND_SFC_TEMP | character(len=*) | ||
INTRP_ITER_MAX | integer | ||
FILTER_ORDER | integer | 8 | order of the hyper-diffusion (must be even) |
FILTER_NITER | integer | 5 | times for hyper-diffusion iteration |
SOILWATER_DS2VC | character(len=H_SHORT) | 'limit' | |
ELEVATION_COLLECTION | logical | ||
SERIAL_PROC_READ | logical | .true. | read by one MPI process and broadcast |
name | type | default value | comment |
---|---|---|---|
NUMBER_OF_FILES | integer | 1 | |
NUMBER_OF_TSTEPS | integer | 1 | num of time steps in one file |
NUMBER_OF_SKIP_TSTEPS | integer | 0 | num of skipped first several data |
FILETYPE_ORG | character(len=H_LONG) | '' | |
BASENAME_ORG | character(len=H_LONG) | '' | |
BASENAME_ADD_NUM | logical | .false. | |
BASENAME_BOUNDARY | character(len=H_LONG) | '' | |
BOUNDARY_POSTFIX_TIMELABEL | logical | .false. | |
BOUNDARY_TITLE | character(len=H_LONG) | 'SCALE-RM BOUNDARY CONDITION for REAL CASE' | |
BOUNDARY_UPDATE_DT | real(DP) | 0.0_DP | inteval time of boudary data update [s] |
INIT_OCEAN_ALB_LW | real(RP) | ||
INIT_OCEAN_ALB_SW | real(RP) | ||
INIT_OCEAN_Z0W | real(RP) | ||
INTRP_OCEAN_TEMP | character(len=*) | ||
INTRP_OCEAN_SFC_TEMP | character(len=*) | ||
INTRP_ITER_MAX | integer | ||
FILTER_ORDER | integer | 8 | order of the hyper-diffusion (must be even) |
FILTER_NITER | integer | 5 | times for hyper-diffusion iteration |
SERIAL_PROC_READ | logical | .true. | read by one MPI process and broadcast |
subroutine, public mod_realinput::realinput_atmos | ( | ) |
Definition at line 167 of file mod_realinput.F90.
References mod_atmos_admin::atmos_phy_mp_type, mod_atmos_vars::dens, scale_atmos_grid_cartesc_index::ia, scale_io::io_fid_conf, scale_atmos_grid_cartesc_index::ja, scale_atmos_grid_cartesc_index::ka, mod_atmos_vars::momx, mod_atmos_vars::momy, mod_atmos_vars::momz, scale_prc::prc_abort(), scale_tracer::qa, mod_atmos_vars::qtrc, mod_atmos_vars::rhot, and scale_time::time_gettimelabel().
Referenced by mod_mkinit::read_sounding().
subroutine, public mod_realinput::realinput_surface | ( | ) |
Definition at line 396 of file mod_realinput.F90.
References scale_atmos_grid_cartesc_metric::atmos_grid_cartesc_metric_rotc, scale_atmos_grid_cartesc_real::atmos_grid_cartesc_real_cz, scale_atmos_hydrometeor::atmos_hydrometeor_dry, mod_atmos_admin::atmos_phy_ch_type, mod_atmos_phy_mp_driver::atmos_phy_mp_driver_qhyd2qtrc(), mod_atmos_phy_sf_vars::atmos_phy_sf_sfc_albedo, mod_atmos_phy_sf_vars::atmos_phy_sf_sfc_temp, mod_atmos_phy_sf_vars::atmos_phy_sf_sfc_z0e, mod_atmos_phy_sf_vars::atmos_phy_sf_sfc_z0h, mod_atmos_phy_sf_vars::atmos_phy_sf_sfc_z0m, scale_comm_cartesc_nest::comm_cartesc_nest_interp_level, scale_const::const_eps, scale_const::const_i_lw, scale_const::const_i_sw, scale_const::const_laps, scale_const::const_undef, mod_atmos_vars::dens, scale_file_cartesc::file_cartesc_create(), scale_file_cartesc::file_cartesc_def_var(), scale_file_cartesc::file_cartesc_enddef(), 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_atmos_grid_cartesc_index::ie, igrads, scale_interp::interp_domain_compatibility(), scale_interp::interp_factor2d(), scale_interp::interp_factor3d(), scale_interp::interp_interp2d(), scale_interp::interp_interp3d(), scale_io::io_fid_conf, scale_atmos_grid_cartesc_index::is, iscale, iwrfarw, scale_atmos_grid_cartesc_index::ja, scale_atmos_grid_cartesc_index::je, scale_atmos_grid_cartesc_index::js, scale_atmos_grid_cartesc_index::ka, scale_atmos_grid_cartesc_index::ke, scale_atmos_grid_cartesc_index::ks, mod_land_admin::land_do, scale_land_grid_cartesc::land_grid_cartesc_cz, land_interporation(), mod_land_vars::land_sfc_albedo, mod_land_vars::land_sfc_temp, mod_land_vars::land_temp, mod_land_vars::land_water, scale_landuse::landuse_fact_land, scale_landuse::landuse_fact_ocean, scale_landuse::landuse_fact_urban, scale_landuse::landuse_frac_land, scale_land_grid_cartesc_index::lkmax, make_mask(), mod_atmos_vars::momx, mod_atmos_vars::momy, mod_atmos_vars::momz, scale_atmos_hydrometeor::n_hyd, scale_cpl_sfc_index::n_rad_dir, scale_cpl_sfc_index::n_rad_rgn, mod_ocean_admin::ocean_do, mod_ocean_vars::ocean_ice_mass, mod_ocean_vars::ocean_ice_temp, mod_ocean_vars::ocean_ocn_z0m, scale_ocean_phy_ice_simple::ocean_phy_ice_freezetemp, mod_ocean_vars::ocean_salt, mod_ocean_vars::ocean_sfc_albedo, mod_ocean_vars::ocean_sfc_temp, mod_ocean_vars::ocean_sfc_z0e, mod_ocean_vars::ocean_sfc_z0h, mod_ocean_vars::ocean_sfc_z0m, mod_ocean_vars::ocean_temp, mod_ocean_vars::ocean_uvel, mod_ocean_vars::ocean_vvel, scale_ocean_grid_cartesc_index::okmax, scale_ocean_grid_cartesc_index::oks, mod_realinput_grads::parentatmosinputgrads(), mod_realinput_scale::parentatmosinputscale(), mod_realinput_wrfarw::parentatmosinputwrfarw(), mod_realinput_grads::parentatmosopengrads(), mod_realinput_scale::parentatmosopenscale(), mod_realinput_wrfarw::parentatmosopenwrfarw(), mod_realinput_grads::parentatmossetupgrads(), mod_realinput_scale::parentatmossetupscale(), mod_realinput_wrfarw::parentatmossetupwrfarw(), mod_realinput_grads::parentlandinputgrads(), mod_realinput_scale::parentlandinputscale(), mod_realinput_wrfarw::parentlandinputwrfarw(), mod_realinput_grads::parentlandsetupgrads(), mod_realinput_scale::parentlandsetupscale(), mod_realinput_wrfarw::parentlandsetupwrfarw(), mod_realinput_grads::parentoceaninputgrads(), mod_realinput_scale::parentoceaninputscale(), mod_realinput_wrfarw::parentoceaninputwrfarw(), mod_realinput_grads::parentoceanopengrads(), mod_realinput_scale::parentoceanopenscale(), mod_realinput_wrfarw::parentoceanopenwrfarw(), mod_realinput_grads::parentoceansetupgrads(), mod_realinput_scale::parentoceansetupscale(), mod_realinput_wrfarw::parentoceansetupwrfarw(), scale_prc::prc_abort(), scale_prc::prc_ismaster, scale_prof::prof_rapend(), scale_prof::prof_rapstart(), scale_tracer::qa, mod_atmos_phy_ch_vars::qe_ch, mod_atmos_phy_mp_vars::qe_mp, scale_atmos_hydrometeor::qle, scale_atmos_hydrometeor::qls, mod_atmos_phy_ch_vars::qs_ch, mod_atmos_phy_mp_vars::qs_mp, mod_atmos_vars::qtrc, replace_misval_map(), mod_atmos_vars::rhot, scale_time::time_gettimelabel(), scale_time::time_nowdate, scale_topography::topo_zsfc, scale_tracer::tracer_cp, scale_tracer::tracer_cv, scale_tracer::tracer_mass, scale_tracer::tracer_name, scale_tracer::tracer_r, scale_urban_grid_cartesc_index::ukmax, mod_urban_admin::urban_do, mod_urban_vars::urban_qc, mod_urban_vars::urban_rainb, mod_urban_vars::urban_raing, mod_urban_vars::urban_rainr, mod_urban_vars::urban_roff, mod_urban_vars::urban_sfc_albedo, mod_urban_vars::urban_sfc_temp, mod_urban_vars::urban_tb, mod_urban_vars::urban_tbl, mod_urban_vars::urban_tc, mod_urban_vars::urban_tg, mod_urban_vars::urban_tgl, mod_urban_vars::urban_tr, mod_urban_vars::urban_trl, and mod_urban_vars::urban_uc.
Referenced by mod_mkinit::read_sounding().
subroutine mod_realinput::land_interporation | ( | real(rp), dimension(lkmax,ia,ja), intent(out) | tg, |
real(rp), dimension(lkmax,ia,ja), intent(out) | strg, | ||
real(rp), dimension(ia,ja), intent(out) | lst, | ||
real(rp), dimension(ia,ja,n_rad_dir,n_rad_rgn), intent(out) | albg, | ||
real(rp), dimension(ia,ja), intent(out) | ust, | ||
real(rp), dimension(ia,ja,n_rad_dir,n_rad_rgn), intent(out) | albu, | ||
real(rp), dimension(:,:,:), intent(inout) | tg_org, | ||
real(rp), dimension(:,:,:), intent(inout) | strg_org, | ||
real(rp), dimension(:,:,:), intent(inout) | smds_org, | ||
real(rp), dimension(:,:), intent(inout) | lst_org, | ||
real(rp), dimension(:,:,:,:), intent(inout) | albg_org, | ||
real(rp), dimension(:,:), intent(inout) | ust_org, | ||
real(rp), dimension(:,:), intent(inout) | sst_org, | ||
real(rp), dimension(:,:), intent(in) | lmask_org, | ||
real(rp), dimension(:,:), intent(in) | lsmask_nest, | ||
real(rp), dimension(:,:), intent(in) | topo_org, | ||
real(rp), dimension(:), intent(in) | lz_org, | ||
real(rp), dimension(:,:), intent(in) | llon_org, | ||
real(rp), dimension(:,:), intent(in) | llat_org, | ||
real(rp), dimension(lkmax), intent(in) | LCZ, | ||
real(rp), dimension(ia,ja), intent(in) | LON, | ||
real(rp), dimension(ia,ja), intent(in) | LAT, | ||
integer, dimension(3), intent(in) | ldims, | ||
integer, dimension(2), intent(in) | odims, | ||
real(rp), intent(in) | maskval_tg, | ||
real(rp), intent(in) | maskval_strg, | ||
real(rp), intent(in) | init_landwater_ratio, | ||
logical, intent(in) | use_file_landwater, | ||
logical, intent(in) | use_waterratio, | ||
logical, intent(in) | soilwater_ds2vc_flag, | ||
logical, intent(in) | elevation_collection, | ||
integer, intent(in) | intrp_iter_max, | ||
logical, intent(in) | ol_interp, | ||
logical, intent(in) | URBAN_do | ||
) |
Definition at line 2909 of file mod_realinput.F90.
References scale_const::const_eps, scale_const::const_i_lw, scale_const::const_i_sw, scale_const::const_laps, scale_const::const_undef, mod_land_vars::convert_ws2vwc(), 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_interp::interp_factor2d(), scale_interp::interp_factor3d(), scale_interp::interp_interp2d(), scale_interp::interp_interp3d(), scale_atmos_grid_cartesc_index::is, scale_atmos_grid_cartesc_index::ja, scale_atmos_grid_cartesc_index::je, scale_atmos_grid_cartesc_index::js, scale_land_grid_cartesc_index::lke, scale_land_grid_cartesc_index::lkmax, scale_land_grid_cartesc_index::lks, make_mask(), scale_prc::prc_abort(), replace_misval_const(), replace_misval_map(), and scale_topography::topo_zsfc.
Referenced by realinput_surface().
subroutine mod_realinput::make_mask | ( | real(rp), dimension(:,:), intent(out) | gmask, |
real(rp), dimension(:,:), intent(in) | data, | ||
integer, intent(in) | nx, | ||
integer, intent(in) | ny, | ||
logical, intent(in) | landdata | ||
) |
Definition at line 3451 of file mod_realinput.F90.
References scale_const::const_eps, and scale_const::const_undef.
Referenced by land_interporation(), and realinput_surface().
subroutine mod_realinput::replace_misval_const | ( | real(rp), dimension(:,:), intent(inout) | data, |
real(rp), intent(in) | maskval, | ||
real(rp), dimension(:,:), intent(in) | frac_land | ||
) |
Definition at line 3596 of file mod_realinput.F90.
References scale_const::const_eps, scale_atmos_grid_cartesc_index::ia, and scale_atmos_grid_cartesc_index::ja.
Referenced by land_interporation().
subroutine mod_realinput::replace_misval_map | ( | real(rp), dimension(:,:), intent(inout) | data, |
real(rp), dimension(:,:), intent(in) | maskval, | ||
integer, intent(in) | nx, | ||
integer, intent(in) | ny, | ||
character(len=*), intent(in) | elem | ||
) |
Definition at line 3616 of file mod_realinput.F90.
References scale_const::const_eps, scale_const::const_undef, and scale_prc::prc_abort().
Referenced by land_interporation(), and realinput_surface().
integer, parameter, public mod_realinput::iscale = 1 |
Definition at line 72 of file mod_realinput.F90.
Referenced by realinput_surface().
integer, parameter, public mod_realinput::iwrfarw = 2 |
Definition at line 73 of file mod_realinput.F90.
Referenced by realinput_surface().
integer, parameter, public mod_realinput::igrads = 4 |
Definition at line 75 of file mod_realinput.F90.
Referenced by realinput_surface().