orog_mask_tools  1.13.0
orog_utils.F90 File Reference

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. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
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. More...
 
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). More...
 
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). More...
 
logical function, public orog_utils::inside_a_polygon (lon1, lat1, npts, lon2, lat2)
 Check if a point is inside a polygon. More...
 
subroutine, public orog_utils::latlon2xyz (siz, lon, lat, x, y, z)
 Convert from latitude and longitude to x,y,z coordinates. More...
 
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. More...
 
subroutine, public orog_utils::remove_isolated_pts (im, jm, slm, oro, var, var4, oa, ol)
 Remove isolated model points. More...
 
real function orog_utils::spherical_angle (v1, v2, v3)
 Compute spherical angle. More...
 
real function, public orog_utils::timef ()
 Get the date/time from the system clock. More...
 
subroutine, public orog_utils::transpose_mask (imn, jmn, mask)
 Transpose the global landmask by flipping the poles and moving the starting longitude to Greenwich. More...
 
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. More...
 

Variables

real, parameter orog_utils::deg2rad = 3.14159265358979/180.
 degrees per radians. More...
 
real, parameter orog_utils::earth_radius = 6371200.
 earth radius in meters. More...
 
real, parameter orog_utils::pi =3.1415926535897931
 pi. More...
 
real, parameter orog_utils::rad2deg = 180./3.14159265358979
 radians per degrees. More...
 

Detailed Description

Utilities for orog code.

Author
George Gayno NOAA/EMC

Definition in file orog_utils.F90.