[R] Extracting Europe from a netCDF file
eshad002 at gmail.com
Tue Sep 19 09:27:31 CEST 2017
I was trying to extract the data only for european region from this file
using these points (-10.375, 35.125), (43.375, 35.125), (-10.375, 71.375),
(43.375, 71.375). However, I am not sure how I can proceed further.
I have started with the following script:
*f <- "~/gfdl_preci.nc <http://gfdl_preci.nc>"library(raster)pr <-
brick(f)print(pr)pt <-as.data.frame(extract(pr, extent(-10.375, 43.375,
35.125, 71.375)), xy = TRUE)*
I would be grateful if anyone could kindly help me to proceed furhter.
[[alternative HTML version deleted]]
More information about the R-help