gridarea1d | R Documentation |
Returns the area in square meters along a vetor of latitudes by equal longitude distance.
gridarea1d(lat, dlon, scale = 1, ellipse = FALSE)
lat |
vetor of latitudes |
dlon |
longitudinal extent |
scale |
multiplicator. If 1 (default) unit m^2 |
ellipse |
TRUE (polar and equatorial radius differ) or FALSE (default, polar and equatorial radius are the same) |
The function returns a vector of area in square meters along a vector of latitudes. These must not be of equal distance. However, for the longitude will be equal along the given latitude vector. The latitude is assumed to be the gridcell midpoint and the northern and southern edges are calculated as half the distance to the next element in the latitude vector.
vector of gridcell area is m^2
Joerg Steinkamp joerg.steinkamp@senckenberg.de
dlon <- 0.5
lat <- seq(-89.75,89.75,0.5)
sum(gridarea1d(lat,dlon))*720*1.e-12
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.