I want to visualize monthly mean of rainfall and temperature data in a spatio-temporal scale. Per say, I have a monthly mean precipitation or temperature data from 1980 to 2018. I want to show the changes in precipitation and temperature according to Jan, Feb, March, April......December on a shapefile in R. I know how to import the shapefile and how to import netcdf data.But when I tried to plot it gives nothing.
I downloaded all necessary packages in R and tried to create high quality spatial map by masking Shape file with netcdf file. But it ends with nothing but kills some hour to write and process the data in R.
The R script I tried and a sample map downloaded from internet are attached with this thread for reference.