I have a netCDF file with a grid (each step 0.25°). What I want is the value of the variable, lets say tempMax, at a certain gridpoint, over the last 50 years.
I am aware that you read the data into python like this
lon = numpy.array(file.variables['longitude'][:])
lat = numpy.array(file.variables['latitude'][:])
temp = numpy.array(file.variables['tempMax'][:])
time = numpy.array(file.variables['time'][:])
That leaves me with an array and I do not know how to "untangle" it. How to get the value at a certain coordinate (stored in temp) over the whole time (stored in time)? S display is the value over the time at the certain coordinate.
Any ideas how I could achieve that?
Thanks!