I am trying to extract precipitation data from a netcdf file downloaded from the cordex climate model. I applied the following codes:
library(ncdf4)
v1 <- nc_open('pr_EUR-44_ICHEC-EC-EARTH_rcp45_r12i1p1_SMHI-RCA4_v1_day_20960101-21001231.nc')
data_v1<-ncvar_get(v1,attributes(v1$var)$names[3])
I got this data:
Here, my need is to get the data with row number 1826.
I uploaded the 20 mb size nc file here: