SCALE-RM
|
module Copy topography More...
Functions/Subroutines | |
subroutine, public | copytopo (TOPO_child) |
Setup and Main. More... | |
subroutine | copytopo_get_data_scale (IA_org, JA_org, LON_org, LAT_org, TOPO_org) |
subroutine | copytopo_get_size_grads (IA_org, JA_org) |
subroutine | copytopo_get_data_grads (IA_org, JA_org, LON_org, LAT_org, TOPO_org) |
subroutine | copytopo_get_size_wrfarw (IA_org, JA_org) |
subroutine | copytopo_get_data_wrfarw (IA_org, JA_org, LON_org, LAT_org, TOPO_org) |
module Copy topography
name | type | default value | comment |
---|---|---|---|
COPYTOPO_IN_FILETYPE | character(len=H_SHORT) | '' !< 'SCALE', 'GrADS', or 'WRF-ARW' | |
COPYTOPO_IN_BASENAME | character(len=H_LONG) | '' | |
COPYTOPO_IN_PRC_NUM_X | integer | 0 | for old files |
COPYTOPO_IN_PRC_NUM_Y | integer | 0 | for old files |
COPYTOPO_LATLON_CATALOGUE | character(len=H_LONG) | '' | for old files |
COPYTOPO_IN_POSTFIX | character(len=H_LONG) | '' | |
COPYTOPO_IN_VARNAME | character(len=H_SHORT) | 'topo' | |
COPYTOPO_IN_LONNAME | character(len=H_SHORT) | 'lon' | |
COPYTOPO_IN_LATNAME | character(len=H_SHORT) | 'lat' | |
COPYTOPO_TRANSITION_DX | real(RP) | -1.0_RP | thickness of transition region [m]: x |
COPYTOPO_TRANSITION_DY | real(RP) | -1.0_RP | thickness of transition region [m]: y |
COPYTOPO_FRACX | real(RP) | 1.0_RP | fraction of transition region (x) (0-1) |
COPYTOPO_FRACY | real(RP) | 1.0_RP | fraction of transition region (y) (0-1) |
COPYTOPO_TAUX | real(RP) | 1.0_RP | maximum value for mixing tau (x) [s] |
COPYTOPO_TAUY | real(RP) | 1.0_RP | maximum value for mixing tau (y) [s] |
COPYTOPO_ENTIRE_REGION | logical | .false. | copy parent topo over an entire region |
COPYTOPO_LINEAR_H | logical | .true. | linear or non-linear profile of relax region |
COPYTOPO_EXP_H | real(RP) | 2.0_RP | factor of non-linear profile of relax region |
COPYTOPO_HYPDIFF_ORDER | integer | 4 | |
COPYTOPO_HYPDIFF_NITER | integer | 20 |
subroutine, public mod_copytopo::copytopo | ( | real(rp), dimension(:,:), intent(inout) | TOPO_child | ) |
Setup and Main.
[in,out] | topo_child | topography of child domain |
Definition at line 79 of file mod_copytopo.F90.
References scale_atmos_grid_cartesc::atmos_grid_cartesc_cbfxg, scale_atmos_grid_cartesc::atmos_grid_cartesc_cbfyg, scale_atmos_grid_cartesc::atmos_grid_cartesc_cx, scale_atmos_grid_cartesc::atmos_grid_cartesc_cxg, scale_atmos_grid_cartesc::atmos_grid_cartesc_cy, scale_atmos_grid_cartesc::atmos_grid_cartesc_cyg, scale_atmos_grid_cartesc::atmos_grid_cartesc_fxg, scale_atmos_grid_cartesc::atmos_grid_cartesc_fyg, scale_atmos_grid_cartesc_real::atmos_grid_cartesc_real_lat, scale_atmos_grid_cartesc_real::atmos_grid_cartesc_real_lon, scale_comm_cartesc_nest::comm_cartesc_nest_domain_regist_file(), scale_comm_cartesc_nest::comm_cartesc_nest_interp_level, scale_comm_cartesc_nest::comm_cartesc_nest_parent_info(), scale_const::const_eps, scale_const::const_pi, copytopo_get_data_grads(), copytopo_get_data_scale(), copytopo_get_data_wrfarw(), copytopo_get_size_grads(), copytopo_get_size_wrfarw(), scale_atmos_grid_cartesc_index::ia, scale_atmos_grid_cartesc_index::iag, scale_atmos_grid_cartesc_index::ieb, scale_atmos_grid_cartesc_index::ihalo, scale_atmos_grid_cartesc_index::imax, scale_atmos_grid_cartesc_index::imaxg, scale_interp::interp_domain_compatibility(), scale_interp::interp_interp2d(), scale_io::io_fid_conf, scale_atmos_grid_cartesc_index::isb, scale_atmos_grid_cartesc_index::ja, scale_atmos_grid_cartesc_index::jag, scale_atmos_grid_cartesc_index::jeb, scale_atmos_grid_cartesc_index::jhalo, scale_atmos_grid_cartesc_index::jmax, scale_atmos_grid_cartesc_index::jmaxg, scale_atmos_grid_cartesc_index::jsb, scale_landuse::landuse_fact_ocean, scale_prc_cartesc::prc_2drank, scale_prc::prc_abort(), scale_prc::prc_ismaster, and scale_prc::prc_myrank.
Referenced by mod_cnvtopo::cnvtopo().
subroutine mod_copytopo::copytopo_get_data_scale | ( | integer, intent(in) | IA_org, |
integer, intent(in) | JA_org, | ||
real(rp), dimension (ia_org,ja_org), intent(out) | LON_org, | ||
real(rp), dimension (ia_org,ja_org), intent(out) | LAT_org, | ||
real(rp), dimension(ia_org,ja_org), intent(out) | TOPO_org | ||
) |
Definition at line 671 of file mod_copytopo.F90.
References scale_comm_cartesc_nest::comm_cartesc_nest_domain_shape(), scale_comm_cartesc_nest::comm_cartesc_nest_parent_info(), scale_const::const_d2r, scale_file::file_close(), and scale_file::file_open().
Referenced by copytopo().
subroutine mod_copytopo::copytopo_get_size_grads | ( | integer, intent(out) | IA_org, |
integer, intent(out) | JA_org | ||
) |
Definition at line 741 of file mod_copytopo.F90.
References scale_file_grads::file_grads_open().
Referenced by copytopo().
subroutine mod_copytopo::copytopo_get_data_grads | ( | integer, intent(in) | IA_org, |
integer, intent(in) | JA_org, | ||
real(rp), dimension (ia_org,ja_org), intent(out) | LON_org, | ||
real(rp), dimension (ia_org,ja_org), intent(out) | LAT_org, | ||
real(rp), dimension(ia_org,ja_org), intent(out) | TOPO_org | ||
) |
Definition at line 767 of file mod_copytopo.F90.
References scale_const::const_d2r, scale_file_grads::file_grads_close(), scale_file_grads::file_grads_isoned(), scale_file_grads::file_grads_open(), and scale_file_grads::file_grads_varid().
Referenced by copytopo().
subroutine mod_copytopo::copytopo_get_size_wrfarw | ( | integer, intent(out) | IA_org, |
integer, intent(out) | JA_org | ||
) |
Definition at line 853 of file mod_copytopo.F90.
References scale_file::file_get_dimlength(), scale_file_grads::file_grads_open(), and scale_file::file_open().
Referenced by copytopo().
subroutine mod_copytopo::copytopo_get_data_wrfarw | ( | integer, intent(in) | IA_org, |
integer, intent(in) | JA_org, | ||
real(rp), dimension (ia_org,ja_org), intent(out) | LON_org, | ||
real(rp), dimension (ia_org,ja_org), intent(out) | LAT_org, | ||
real(rp), dimension(ia_org,ja_org), intent(out) | TOPO_org | ||
) |
Definition at line 879 of file mod_copytopo.F90.
References scale_const::const_d2r, scale_file::file_close(), and scale_file::file_open().
Referenced by copytopo().