Last chance! 50% off unlimited learning
Sale ends in
Takes a raster that is centered on 0 longitude (default) and recenters it on the Pacific
pacificCentric(r, crop = TRUE)
rasterLayer or rasterStack
rasterLayer or rasterStack in unprojected geographic coordinates
logical, should raster then be cropped to longitude [100, 300]
Pascal Title
Cropping to [100, 300] is equivalent to [100, -60]
# Find example rasters
rasterFiles <- list.files(system.file('extdata', package='envirem'), full.names=TRUE)
tmin1 <- raster(grep('tmin_1\\.', rasterFiles, value=TRUE))
pacificCentric(tmin1, crop = TRUE)
Run the code above in your browser using DataLab