Plot NetCDF variable-grid data file using ggplot2: “Vector is too large” error
I need to plot some data from this NetCDF file (1.1MB). The file contains a 413x229 grid (94577 points). Every point has a precipitation value which I need to print in the correct LAT-LON. The grid is not necessarily constant, so that we have two additional 413x229 variables (xlat and xlon) containing the lat-lon values for each grid point. Thanks to the hints from these questions... How to plot contours on a map with ggplot2 when data is on an irregular grid? R - Plotting netcdf climate data Plotting netcdf in R with correct grid How to plot latitude/longitude points over netcdf map Plotting