Hello,
I need some help creating maps showing the fluxuation of some climate indices in the country of Greece.
For example, I have a data frame containing the dtr of 6000 gridpoints in Greece with their coordinates
and I want to make a map like this one
I followed the tutorial about the sp and sf packages however they dont seem to work.
Any help or thought on how I can do it, is appreciated
My original data (containing surface temperature) were NetCdf files. However, in order to calculate those indices I had to modify those files into .xts and then the final data frame containing the dtr, the longitude and the latitude is numerical.
I tried using raster but if I'm not mistaken it requaries .nc files so unless there is a way to save the final data frame as .nc, I cant use it
Although I have doubts about the data cause of the really low dtr in the southern part, but I assume that has to do more with quality control and less with programming
The code I used was the following (dtr_15_19 is the data frame with dtr values and coordinates and dtr15_19 only the dtr values) :