Hello. I'm very very new to coding and R.
I have an nc4 file which has daily precipitation values for the world from 1970 to 1980. I need the annual precipitation values instead of daily. At the end of the day, I would like to draw maps with the annual precipitation values so I should end up with 10 global maps (one for each year).
I don't know if any of this information might be helpful as I am so new to this and all I've done is print the file to see what's inside but I thought some kind soul willing to help me might want to look at this information.
1 variables (excluding dimension variables):
float pr[lon,lat,time]
standard_name: precipitation_flux
long_name: Precipitation
units: kg m-2 s-1
_FillValue: 1.00000002004088e+20
missing_value: 1.00000002004088e+20
3 dimensions:
lon Size:720
standard_name: longitude
long_name: longitude
units: degrees_east
axis: X
lat Size:360
standard_name: latitude
long_name: latitude
units: degrees_north
axis: Y
time Size:3653 *** is unlimited ***
standard_name: time
long_name: time
units: days since 1861-1-1 00:00:00
calendar: proleptic_gregorian
axis: T
While I was fiddling around, I did get an error saying cannot allocate vector of size 3.5Gb. Does that mean this file is too big to do anything? Do I need to cut it up?
Thank you so much in advance. My apologies for asking such a basic question but I really didn't know where to start.