I have a NetCDF layer file with monthly SPEI-6 values between the years 1950 and 2020 from Global Drought Monitor, a shapefile with polygons of geographical areas that I want to use for extracting values, and a point shapefile/table with the specific months and years that I want to extract values for. What is the best way to extract values from the NetCDF file at specifically defined locations and points in time? If it makes things easier, I could use points instead of polygons for the extraction.
Any guidance on how to do this in e.g. ArcGIS or Rstudio would be much appreciated.