I have a NETCDF file with attributes being lon,lat,time,precipitation. The data covers a certain spatial domain. It is daily data from 1960 to 2100.
1) I will like to subset the data spatially (e.g lat[45,50] and lon[-78,-85])from the main domain
2) From the subset, I will like to average over all grids and produce a single column daily time series then write it to a .csv file.
NB: my data contains missing values