SCALE-RM
|
module REAL input More...
Functions/Subroutines | |
subroutine, public | realinput_atmos |
subroutine, public | realinput_surface |
subroutine | land_interporation (kmax, imax, jmax, oimax, ojmax, tg, strg, lst, albg, tg_org, strg_org, smds_org, lst_org, albg_org, sst_org, lmask_org, lsmask_nest, topo_org, lz_org, llon_org, llat_org, LCZ, CX, CY, LON, LAT, maskval_tg, maskval_strg, init_landwater_ratio, use_file_landwater, use_waterratio, soilwater_ds2vc_flag, elevation_correction, intrp_iter_max, ol_interp) |
subroutine | ocean_interporation (imax, jmax, sst_org, tw_org, albw_org, z0w_org, CX, CY, elevation_correction_ocean, init_ocean_alb_lw, init_ocean_alb_sw, init_ocean_z0w, first_surface, update_coord, sst, tw, albw, z0w) |
subroutine | urban_input (lst, albg, tc_urb, qc_urb, uc_urb, ust, albu) |
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 | 0 | times for hyper-diffusion iteration |
USE_FILE_DENSITY | logical | .false. | use density data from files |
USE_NONHYDRO_DENS_BOUNDARY | logical | .false. | > use non-hydrostatic density for boundary data |
USE_SFC_DIAGNOSES | logical | .false. | > use surface diagnoses |
USE_DATA_UNDER_SFC | logical | .true. | > use data under the surface |
SAME_MP_TYPE | logical | .false. | microphysics type of the parent model is same as it in this model |
INTRP_TYPE | character(len=H_SHORT) | "LINEAR" ! "LINEAR" or "DIST-WEIGHT" | |
SKIP_VERTICAL_RANGE_CHECK | logical | .false. | > skip chkecking if the domain top does not exceed that of the parent in the vertical direction |
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) |
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_TYPE | character(len=H_SHORT) | "LINEAR" ! "LINEAR" or "DIST-WEIGHT" | |
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 | 0 | 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 193 of file mod_realinput.F90.
References mod_atmos_admin::atmos_phy_mp_type, scale_comm_cartesc_nest::comm_cartesc_nest_interp_level, scale_const::const_pre00, mod_atmos_vars::dens, scale_atmos_grid_cartesc_index::ia, scale_io::io_fid_conf, scale_atmos_grid_cartesc_index::ja, scale_tracer::k, scale_atmos_grid_cartesc_index::ka, scale_atmos_grid_cartesc_index::ke, scale_atmos_grid_cartesc_index::ks, 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, scale_time::time_gettimelabel(), scale_tracer::tracer_cp, scale_tracer::tracer_cv, scale_tracer::tracer_mass, and scale_tracer::tracer_r.
Referenced by mod_mkinit::read_sounding().
subroutine, public mod_realinput::realinput_surface |
Definition at line 477 of file mod_realinput.F90.
References scale_atmos_grid_cartesc::atmos_grid_cartesc_cx, scale_atmos_grid_cartesc::atmos_grid_cartesc_cy, scale_atmos_grid_cartesc_metric::atmos_grid_cartesc_metric_rotc, scale_atmos_grid_cartesc_real::atmos_grid_cartesc_real_cz, scale_atmos_grid_cartesc_real::atmos_grid_cartesc_real_lat, scale_atmos_grid_cartesc_real::atmos_grid_cartesc_real_lon, 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_pi, scale_const::const_tem00, scale_const::const_undef, scale_precision::dp, 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, mod_ocean_vars::ice_flag, scale_atmos_grid_cartesc_index::ieb, igrads, scale_interp::interp_domain_compatibility(), scale_interp::interp_interp2d(), scale_interp::interp_interp3d(), scale_io::io_fid_conf, scale_atmos_grid_cartesc_index::isb, iscale, iwrfarw, scale_atmos_grid_cartesc_index::ja, scale_atmos_grid_cartesc_index::jeb, scale_atmos_grid_cartesc_index::jsb, scale_tracer::k, 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, mod_land_vars::land_ice, 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_landuse::landuse_pft_nmax, scale_land_grid_cartesc_index::lkmax, make_mask(), 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, ocean_interporation(), 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, replace_misval_map(), scale_time::time_gettimelabel(), scale_time::time_nowdate, scale_topography::topography_zsfc, scale_tracer::tracer_cp, scale_tracer::tracer_mass, scale_tracer::tracer_name, scale_tracer::tracer_r, scale_urban_grid_cartesc_index::ukmax, mod_urban_admin::urban_do, urban_input(), 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 | ( | integer, intent(in) | kmax, |
integer, intent(in) | imax, | ||
integer, intent(in) | jmax, | ||
integer, intent(in) | oimax, | ||
integer, intent(in) | ojmax, | ||
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(kmax,imax,jmax), intent(inout) | tg_org, | ||
real(rp), dimension(kmax,imax,jmax), intent(inout) | strg_org, | ||
real(rp), dimension(kmax,imax,jmax), intent(inout) | smds_org, | ||
real(rp), dimension(imax,jmax), intent(inout) | lst_org, | ||
real(rp), dimension(imax,jmax,n_rad_dir,n_rad_rgn), intent(inout) | albg_org, | ||
real(rp), dimension(oimax,ojmax), intent(inout) | sst_org, | ||
real(rp), dimension(imax,jmax), intent(in) | lmask_org, | ||
real(rp), dimension(ia,ja), intent(in) | lsmask_nest, | ||
real(rp), dimension(imax,jmax), intent(in) | topo_org, | ||
real(rp), dimension(kmax), intent(in) | lz_org, | ||
real(rp), dimension(imax,jmax), intent(in) | llon_org, | ||
real(rp), dimension(imax,jmax), intent(in) | llat_org, | ||
real(rp), dimension(lkmax), intent(in) | LCZ, | ||
real(rp), dimension(ia), intent(in) | CX, | ||
real(rp), dimension(ja), intent(in) | CY, | ||
real(rp), dimension(ia,ja), intent(in) | LON, | ||
real(rp), dimension(ia,ja), intent(in) | LAT, | ||
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_correction, | ||
integer, intent(in) | intrp_iter_max, | ||
logical, intent(in) | ol_interp | ||
) |
Definition at line 3297 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_pi, scale_const::const_undef, mod_land_vars::convert_ws2vwc(), 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::ieb, scale_interp::interp_interp2d(), scale_interp::interp_interp3d(), scale_atmos_grid_cartesc_index::isb, scale_atmos_grid_cartesc_index::jeb, scale_atmos_grid_cartesc_index::jsb, scale_landuse::landuse_index_pft, scale_landuse::landuse_pft_nmax, scale_land_grid_cartesc_index::lke, scale_land_grid_cartesc_index::lks, make_mask(), scale_prc::prc_abort(), replace_misval_const(), replace_misval_map(), and scale_topography::topography_zsfc.
Referenced by realinput_surface().
subroutine mod_realinput::ocean_interporation | ( | integer, intent(in) | imax, |
integer, intent(in) | jmax, | ||
real(rp), dimension (imax,jmax), intent(in) | sst_org, | ||
real(rp), dimension (imax,jmax), intent(in) | tw_org, | ||
real(rp), dimension(imax,jmax,n_rad_dir,n_rad_rgn), intent(inout) | albw_org, | ||
real(rp), dimension (imax,jmax), intent(inout) | z0w_org, | ||
real(rp), dimension(ia), intent(in) | CX, | ||
real(rp), dimension(ja), intent(in) | CY, | ||
logical, intent(in) | elevation_correction_ocean, | ||
real(rp), intent(in) | init_ocean_alb_lw, | ||
real(rp), intent(in) | init_ocean_alb_sw, | ||
real(rp), intent(in) | init_ocean_z0w, | ||
logical, intent(in) | first_surface, | ||
logical, intent(in) | update_coord, | ||
real(rp), dimension (ia,ja), intent(out) | sst, | ||
real(rp), dimension (ia,ja), intent(out) | tw, | ||
real(rp), dimension(ia,ja,n_rad_dir,n_rad_rgn), intent(out) | albw, | ||
real(rp), dimension (ia,ja), intent(out) | z0w | ||
) |
Definition at line 3881 of file mod_realinput.F90.
References scale_const::const_laps, scale_const::const_pi, scale_const::const_undef, 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::ieb, scale_interp::interp_interp2d(), scale_atmos_grid_cartesc_index::isb, scale_atmos_grid_cartesc_index::jeb, scale_atmos_grid_cartesc_index::jsb, scale_prc::prc_abort(), and scale_topography::topography_zsfc.
Referenced by realinput_surface().
subroutine mod_realinput::urban_input | ( | real(rp), dimension (ia,ja), intent(in) | lst, |
real(rp), dimension (ia,ja,n_rad_dir,n_rad_rgn), intent(in) | albg, | ||
real(rp), dimension(ia,ja), intent(out) | tc_urb, | ||
real(rp), dimension(ia,ja), intent(out) | qc_urb, | ||
real(rp), dimension(ia,ja), intent(out) | uc_urb, | ||
real(rp), dimension (ia,ja), intent(out) | ust, | ||
real(rp), dimension (ia,ja,n_rad_dir,n_rad_rgn), intent(out) | albu | ||
) |
Definition at line 4095 of file mod_realinput.F90.
References mod_atmos_vars::dens, scale_atmos_hydrometeor::i_qv, scale_atmos_grid_cartesc_index::ks, mod_atmos_vars::momx, mod_atmos_vars::momy, scale_tracer::qa, mod_atmos_vars::qtrc, mod_atmos_vars::rhot, scale_tracer::tracer_cp, scale_tracer::tracer_cv, scale_tracer::tracer_mass, and scale_tracer::tracer_r.
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 4263 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 4438 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 4459 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().