ypos | R Documentation |
This function get the position in a vector of a given latitute y.
ypos(y, lat, yk, mercator = FALSE)
y |
numeric value of one latitude |
lat |
numeric vector of latitudes from minor to major |
yk |
numeric vector to be approximated |
mercator |
Logical. Is it require to transform the final data in mercator coordinates? Default is FALSE. |
The position where the latitude y has the minor difference with lat
Other Interpolation:
trin()
{ input <- system.file("extdata", "uwnd.mon.mean_200hPa_2014JFM.nc", package = "raytracing") b <- betaks(u = input) ykk <- rev(colMeans(b$betam)) ypos(y = -30, lat = seq(90, -90, -2.5), yk = ykk) }
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.