SCALE-RM
|
module REAL input More...
Functions/Subroutines | |
subroutine, public | realinput_atmos (flg_intrp) |
subroutine, public | realinput_surface |
subroutine | parentatomsetup (dims, timelen, mdlid, basename_org, filetype, use_file_density_in, serial_in) |
Atmos Setup. More... | |
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) |
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) |
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 |
FILETYPE_ORG | character(len=H_LONG) | '' | |
BASENAME_ORG | character(len=*) | ||
BASENAME_ADD_NUM | logical | .false. | |
BASENAME_BOUNDARY | character(len=H_LONG) | 'boundary_atmos' | |
BOUNDARY_TITLE | character(len=H_LONG) | 'SCALE-RM BOUNDARY CONDITION for REAL CASE' | |
BOUNDARY_UPDATE_DT | real(RP) | 0.0_RP | inteval time of boudary data update [s] |
PARENT_MP_TYPE | integer | 6 | microphysics type of the parent model (number of classes) |
SERIAL_PROC_READ | logical | .true. | read by one MPI process and broadcast |
USE_FILE_DENSITY | logical | .false. | use density data from files |
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=*) | ||
BASENAME_ADD_NUM | logical | .false. | |
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 | ||
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=*) | ||
BASENAME_ADD_NUM | logical | .false. | |
BASENAME_BOUNDARY | character(len=H_LONG) | 'boundary_atmos' | |
BOUNDARY_TITLE | character(len=H_LONG) | 'SCALE-RM BOUNDARY CONDITION for REAL CASE' | |
BOUNDARY_UPDATE_DT | real(RP) | 0.0_RP | inteval time of boudary data update [s] |
INTRP_OCEAN_TEMP | character(len=*) | ||
INTRP_OCEAN_SFC_TEMP | character(len=*) | ||
INTRP_ITER_MAX | integer | ||
SERIAL_PROC_READ | logical | .true. | read by one MPI process and broadcast |
subroutine, public mod_realinput::realinput_atmos | ( | logical, intent(in) | flg_intrp | ) |
Definition at line 164 of file mod_realinput.f90.
References mod_atmos_vars::dens, scale_grid_index::ia, scale_stdio::io_fid_conf, scale_stdio::io_fid_log, scale_stdio::io_l, scale_stdio::io_lnml, scale_grid_index::ja, scale_grid_index::ka, scale_grid_index::ke, scale_grid_index::ks, mod_atmos_vars::momx, mod_atmos_vars::momy, mod_atmos_vars::momz, parentatomsetup(), scale_process::prc_mpistop(), scale_tracer::qa, mod_atmos_vars::qtrc, mod_atmos_vars::rhot, and scale_tracer::tracer_type.
Referenced by mod_mkinit::interporation_fact().
subroutine, public mod_realinput::realinput_surface | ( | ) |
Definition at line 354 of file mod_realinput.f90.
References 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_const::const_i_lw, scale_const::const_i_sw, mod_atmos_vars::dens, scale_grid_index::ia, scale_external_io::igrads, scale_stdio::io_fid_conf, scale_stdio::io_fid_log, scale_stdio::io_l, scale_stdio::io_lnml, scale_grid_index::ja, 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_land_grid_index::lkmax, mod_atmos_vars::momx, mod_atmos_vars::momy, mod_atmos_vars::momz, 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, scale_process::prc_mpistop(), mod_atmos_vars::qtrc, mod_atmos_vars::rhot, scale_urban_grid_index::uke, scale_urban_grid_index::uks, 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::interporation_fact().
subroutine mod_realinput::parentatomsetup | ( | integer, dimension(6), intent(out) | dims, |
integer, intent(out) | timelen, | ||
integer, intent(out) | mdlid, | ||
character(len=*), intent(in) | basename_org, | ||
character(len=*), intent(in) | filetype, | ||
logical, intent(in) | use_file_density_in, | ||
logical, intent(in) | serial_in | ||
) |
Atmos Setup.
Definition at line 759 of file mod_realinput.f90.
References scale_tracer::aq_name, scale_tracer::aq_unit, scale_const::const_eps, scale_const::const_i_lw, scale_const::const_i_sw, scale_const::const_undef, scale_land_grid::grid_lcz, scale_gridtrans::gtrans_rotc, scale_tracer::i_qc, scale_tracer::i_qv, scale_grid_index::ia, scale_external_io::igrads, scale_external_io::inicam, scale_interpolation_nest::intrpnest_domain_compatibility(), scale_interpolation_nest::intrpnest_interp_2d, scale_interpolation_nest::intrpnest_interp_3d, scale_interpolation_nest::intrpnest_interp_fact_latlon(), scale_interpolation_nest::intrpnest_interp_fact_llz(), scale_stdio::io_fid_log, scale_stdio::io_l, scale_external_io::iscale, scale_external_io::iwrfarw, scale_grid_index::ja, scale_grid_index::ka, scale_grid_index::ke, scale_grid_index::ks, land_interporation(), scale_landuse::landuse_frac_land, scale_land_grid_index::lkmax, dc_log::log(), make_mask(), scale_grid_nest::nest_interp_level, mod_realinput_grads::parentatominputgrads(), mod_realinput_nicam::parentatominputnicam(), mod_realinput_scale::parentatominputscale(), mod_realinput_wrfarw::parentatominputwrfarw(), mod_realinput_grads::parentatomopengrads(), mod_realinput_nicam::parentatomopennicam(), mod_realinput_scale::parentatomopenscale(), mod_realinput_wrfarw::parentatomopenwrfarw(), mod_realinput_grads::parentatomsetupgrads(), mod_realinput_nicam::parentatomsetupnicam(), mod_realinput_scale::parentatomsetupscale(), mod_realinput_wrfarw::parentatomsetupwrfarw(), mod_realinput_grads::parentlandinputgrads(), mod_realinput_nicam::parentlandinputnicam(), mod_realinput_scale::parentlandinputscale(), mod_realinput_wrfarw::parentlandinputwrfarw(), mod_realinput_grads::parentlandsetupgrads(), mod_realinput_nicam::parentlandsetupnicam(), mod_realinput_scale::parentlandsetupscale(), mod_realinput_wrfarw::parentlandsetupwrfarw(), mod_realinput_grads::parentoceaninputgrads(), mod_realinput_nicam::parentoceaninputnicam(), mod_realinput_scale::parentoceaninputscale(), mod_realinput_wrfarw::parentoceaninputwrfarw(), mod_realinput_grads::parentoceanopengrads(), mod_realinput_nicam::parentoceanopennicam(), mod_realinput_scale::parentoceanopenscale(), mod_realinput_wrfarw::parentoceanopenwrfarw(), mod_realinput_grads::parentoceansetupgrads(), mod_realinput_nicam::parentoceansetupnicam(), mod_realinput_scale::parentoceansetupscale(), mod_realinput_wrfarw::parentoceansetupwrfarw(), scale_process::prc_ismaster, scale_process::prc_mpistop(), scale_tracer::qa, scale_tracer::qwe, scale_tracer::qws, replace_misval_map(), scale_time::time_nowdate, and scale_tracer::tracer_type.
Referenced by realinput_atmos().
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,2), intent(out) | albg, | ||
real(rp), dimension(ia,ja), intent(out) | ust, | ||
real(rp), dimension(ia,ja,2), 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 | ||
) |
Definition at line 2301 of file mod_realinput.f90.
References scale_const::const_i_lw, scale_const::const_i_sw, scale_const::const_laps, scale_const::const_undef, mod_land_vars::convert_ws2vwc(), scale_grid_index::ia, scale_interpolation_nest::intrpnest_interp_2d, scale_interpolation_nest::intrpnest_interp_3d, scale_interpolation_nest::intrpnest_interp_fact_latlon(), scale_interpolation_nest::intrpnest_interp_fact_llz(), scale_grid_index::ja, scale_land_grid_index::lkmax, make_mask(), scale_process::prc_mpistop(), replace_misval_const(), replace_misval_map(), and scale_topography::topo_zsfc.
Referenced by parentatomsetup().
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 2633 of file mod_realinput.f90.
References scale_const::const_eps, and scale_const::const_undef.
Referenced by land_interporation(), and parentatomsetup().
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 2774 of file mod_realinput.f90.
References scale_const::const_eps, scale_grid_index::ia, and scale_grid_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(*), intent(in) | elem | ||
) |
Definition at line 2794 of file mod_realinput.f90.
References scale_const::const_eps, scale_const::const_pi, scale_const::const_undef, scale_tracer::i_nc, scale_tracer::i_ng, scale_tracer::i_ni, scale_tracer::i_nr, scale_tracer::i_ns, scale_tracer::i_qc, scale_tracer::i_qg, scale_tracer::i_qi, scale_tracer::i_qr, scale_tracer::i_qs, and scale_process::prc_mpistop().
Referenced by land_interporation(), and parentatomsetup().