SCALE-RM
|
module Map projection More...
Functions/Subroutines | |
subroutine, public | mprj_setup (DOMAIN_CENTER_X, DOMAIN_CENTER_Y) |
Setup. More... | |
subroutine, public | mprj_xy2lonlat (x, y, lon, lat) |
(x,y) -> (lon,lat) More... | |
subroutine, public | mprj_lonlat2xy (lon, lat, x, y) |
(lon,lat) -> (x,y) More... | |
subroutine, public | mprj_mapfactor (lat, m1, m2) |
(x,y) -> (lon,lat) More... | |
subroutine | mprj_rotcoef_0d (rotc, lon, lat) |
u(lat,lon) = cos u(x,y) - sin v(x,y) v(lat,lon) = sin u(x,y) + cos v(x,y) More... | |
subroutine | mprj_rotcoef_2d (rotc, lon, lat) |
u(lat,lon) = cos u(x,y) - sin v(x,y) v(lat,lon) = sin u(x,y) + cos v(x,y) More... | |
Variables | |
real(rp), public | mprj_basepoint_lon = 135.221_RP |
real(rp), public | mprj_basepoint_lat = 34.653_RP |
module Map projection
name | type | default value | comment |
---|---|---|---|
MPRJ_BASEPOINT_LON | real(RP) | 135.221_RP | position of base point (domain center) in real world [deg] |
MPRJ_BASEPOINT_LAT | real(RP) | 34.653_RP | position of base point (domain center) in real world [deg] |
MPRJ_BASEPOINT_X | real(DP) | position of base point in the model [m] | |
MPRJ_BASEPOINT_Y | real(DP) | position of base point in the model [m] | |
MPRJ_TYPE | character(len=H_SHORT) | 'NONE' | map projection type |
MPRJ_ROTATION | real(DP) | 0.0_DP | rotation factor (only for 'NONE' type) |
MPRJ_LC_LAT1 | real(DP) | 30.0_DP | standard latitude1 for L.C. projection [deg] |
MPRJ_LC_LAT2 | real(DP) | 60.0_DP | standard latitude2 for L.C. projection [deg] |
MPRJ_PS_LAT | real(DP) | standard latitude1 for P.S. projection [deg] | |
MPRJ_M_LAT | real(DP) | 0.0_DP | standard latitude1 for Mer. projection [deg] |
MPRJ_EC_LAT | real(DP) | 0.0_DP | standard latitude1 for E.C. projection [deg] |
subroutine, public scale_mapproj::mprj_setup | ( | real(rp), intent(in) | DOMAIN_CENTER_X, |
real(rp), intent(in) | DOMAIN_CENTER_Y | ||
) |
Setup.
[in] | domain_center_x | center position of global domain [m]: x |
[in] | domain_center_y | center position of global domain [m]: y |
Definition at line 134 of file scale_mapproj.F90.
References scale_const::const_d2r, scale_const::const_pi, scale_const::const_radius, scale_const::const_undef, scale_stdio::io_fid_conf, scale_stdio::io_fid_log, scale_stdio::io_fid_nml, scale_stdio::io_l, scale_stdio::io_nml, mprj_basepoint_lat, mprj_basepoint_lon, and scale_process::prc_mpistop().
Referenced by scale_grid_real::real_setup().
subroutine, public scale_mapproj::mprj_xy2lonlat | ( | real(rp), intent(in) | x, |
real(rp), intent(in) | y, | ||
real(rp), intent(out) | lon, | ||
real(rp), intent(out) | lat | ||
) |
(x,y) -> (lon,lat)
Definition at line 226 of file scale_mapproj.F90.
References scale_process::prc_mpistop().
Referenced by scale_grid_real::real_update_z().
subroutine, public scale_mapproj::mprj_lonlat2xy | ( | real(rp), intent(in) | lon, |
real(rp), intent(in) | lat, | ||
real(rp), intent(out) | x, | ||
real(rp), intent(out) | y | ||
) |
(lon,lat) -> (x,y)
Definition at line 262 of file scale_mapproj.F90.
References scale_process::prc_mpistop().
Referenced by scale_gridtrans::gtrans_rotcoef().
subroutine, public scale_mapproj::mprj_mapfactor | ( | real(rp), dimension(ia,ja), intent(in) | lat, |
real(rp), dimension (ia,ja), intent(out) | m1, | ||
real(rp), dimension (ia,ja), intent(out) | m2 | ||
) |
(x,y) -> (lon,lat)
Definition at line 297 of file scale_mapproj.F90.
References scale_process::prc_mpistop().
Referenced by scale_gridtrans::gtrans_setup().
subroutine scale_mapproj::mprj_rotcoef_0d | ( | real(rp), dimension(2), intent(out) | rotc, |
real(rp), intent(in) | lon, | ||
real(rp), intent(in) | lat | ||
) |
u(lat,lon) = cos u(x,y) - sin v(x,y) v(lat,lon) = sin u(x,y) + cos v(x,y)
[out] | rotc | rotc(:,:,1)->cos, rotc(:,:,2)->sin |
Definition at line 332 of file scale_mapproj.F90.
References scale_process::prc_mpistop().
subroutine scale_mapproj::mprj_rotcoef_2d | ( | real(rp), dimension(ia,ja,2), intent(out) | rotc, |
real(rp), dimension (ia,ja), intent(in) | lon, | ||
real(rp), dimension (ia,ja), intent(in) | lat | ||
) |
u(lat,lon) = cos u(x,y) - sin v(x,y) v(lat,lon) = sin u(x,y) + cos v(x,y)
[out] | rotc | rotc(:,:,1)->cos, rotc(:,:,2)->sin |
Definition at line 367 of file scale_mapproj.F90.
References scale_stdio::io_fid_log, scale_stdio::io_l, mprj_basepoint_lat, mprj_basepoint_lon, and scale_process::prc_mpistop().
real(rp), public scale_mapproj::mprj_basepoint_lon = 135.221_RP |
Definition at line 45 of file scale_mapproj.F90.
Referenced by mprj_rotcoef_2d(), mprj_setup(), scale_grid_real::real_update_z(), and mod_urban_phy_driver::urban_phy_driver().
real(rp), public scale_mapproj::mprj_basepoint_lat = 34.653_RP |
Definition at line 46 of file scale_mapproj.F90.
Referenced by mprj_rotcoef_2d(), mprj_setup(), scale_grid_real::real_update_z(), and mod_urban_phy_driver::urban_phy_driver().