orog_mask_tools 1.14.0
|
Utilities for orog code. More...
Go to the source code of this file.
Modules | |
module | orog_utils |
Module containing utilites used by the orog program. | |
Functions/Subroutines | |
subroutine, public | orog_utils::find_nearest_pole_points (i_north_pole, j_north_pole, i_south_pole, j_south_pole, im, jm, is_north_pole, is_south_pole) |
Find the point on the model grid tile closest to the north and south pole. | |
subroutine, public | orog_utils::find_poles (geolat, nx, ny, i_north_pole, j_north_pole, i_south_pole, j_south_pole) |
Find the point on the model grid tile closest to the north and south pole. | |
subroutine, public | orog_utils::get_index (imn, jmn, npts, lono, lato, delxn, jst, jen, ilist, numx) |
Determine the location of a cubed-sphere point within the high-resolution orography data. | |
real function, public | orog_utils::get_lat_angle (dy) |
Convert the 'y' direction distance of a cubed-sphere grid point to the corresponding distance in latitude. | |
real function, public | orog_utils::get_lon_angle (dx, lat_in) |
Convert the 'x' direction distance of a cubed-sphere grid point to the corresponding distance in longitude. | |
real function, public | orog_utils::get_xnsum (lon1, lat1, lon2, lat2, imn, jmn, glat, zavg, zslm, delxn) |
Count the number of high-resolution orography points that are higher than the model grid box average orography height. | |
subroutine, public | orog_utils::get_xnsum2 (lon1, lat1, lon2, lat2, imn, jmn, glat, zavg, delxn, xnsum1, xnsum2, hc) |
Count the number of high-resolution orography points that are higher than a critical value inside a model grid box (or a portion of a model grid box). | |
subroutine, public | orog_utils::get_xnsum3 (lon1, lat1, lon2, lat2, imn, jmn, glat, zavg, delxn, xnsum1, xnsum2, hc) |
Count the number of high-resolution orography points that are higher than a critical value inside a model grid box (or a portion of a model grid box). | |
logical function, public | orog_utils::inside_a_polygon (lon1, lat1, npts, lon2, lat2) |
Check if a point is inside a polygon. | |
subroutine, public | orog_utils::latlon2xyz (siz, lon, lat, x, y, z) |
Convert from latitude and longitude to x,y,z coordinates. | |
subroutine, public | orog_utils::minmax (im, jm, a, title, imax, jmax) |
Print out the maximum and minimum values of an array and optionally pass back the i/j location of the maximum. | |
subroutine, public | orog_utils::remove_isolated_pts (im, jm, slm, oro, var, var4, oa, ol) |
Remove isolated model points. | |
real function | orog_utils::spherical_angle (v1, v2, v3) |
Compute spherical angle. | |
real function, public | orog_utils::timef () |
Get the date/time from the system clock. | |
subroutine, public | orog_utils::transpose_mask (imn, jmn, mask) |
Transpose the global landmask by flipping the poles and moving the starting longitude to Greenwich. | |
subroutine, public | orog_utils::transpose_orog (imn, jmn, glob) |
Transpose the global orography data by flipping the poles and moving the starting longitude to Greenwich. | |
Variables | |
real, parameter | orog_utils::deg2rad = 3.14159265358979/180. |
degrees per radians. | |
real, parameter | orog_utils::earth_radius = 6371200. |
earth radius in meters. | |
real, parameter | orog_utils::pi =3.1415926535897931 |
pi. | |
real, parameter | orog_utils::rad2deg = 180./3.14159265358979 |
radians per degrees. | |
Utilities for orog code.
Definition in file orog_utils.F90.