Generate longitude and latitude grid matrices
grid2D.Rd
grid2D
is a helper function that generates longitude and latitude
rectangular mesh from short longitude and latitude vectors in gridded data.
Value
A list with the following components:
- lon
an (
n
rows bym
columns) matrix of 'double' values for longitude mesh grid, or a vector with lengthn * m
.- lat
an (
n
rows bym
columns) matrix of 'double' values for latitude mesh grid, or a vector with lengthn * m
.
Details
grid2D
function convert the long latitude and longitude vectors
to a rectangular two-dimensional grid for visualization and geographic masking
purposes for gridded data in HiClimR
package.
References
Hamada S. Badr, Zaitchik, B. F. and Dezfuli, A. K. (2015): A Tool for Hierarchical Climate Regionalization, Earth Science Informatics, 8(4), 949-958, doi:10.1007/s12145-015-0221-7 .
Hamada S. Badr, Zaitchik, B. F. and Dezfuli, A. K. (2014): Hierarchical Climate Regionalization, Comprehensive R Archive Network (CRAN), https://cran.r-project.org/package=HiClimR.
Author
Hamada S. Badr <badr@jhu.edu>, Benjamin F. Zaitchik <zaitchik@jhu.edu>, and Amin K. Dezfuli <amin.dezfuli@nasa.gov>.
See also
HiClimR
, HiClimR2nc
, validClimR
,
geogMask
, coarseR
, fastCor
,
grid2D
and minSigCor
.