correlate [message #89666] |
Sat, 08 November 2014 20:40 |
rsori
Messages: 5 Registered: November 2014
|
Junior Member |
|
|
Hi,
I am new in IDL and I need to correlate the temperature in a meteorological station for june with a matrix of sea surface temperature d=fltarr(360,180,373) 360 longitudes, 180 latitudes and 373 times,
I have been trying t correlate but finally I obtain Nan or just a number, and I need the correltaion between the mean july temperature ex: 25.5 with each grid point of the matrix, and not the whole matrix,
I will appreciate you advices
Ex:
;v=[23.5, 23.6, 24.9, 30.6, 24.9, 60.5, 29.8, 31.4]
can I correlate with just a value; 23.5 ?
datosn=fltarr(360,180,373)
;k = 0
print, correlate(datosn[0:359,0:179,*], v)
can I use all the times ? as I wrote or just could define a single time, ex 20. ???
|
|
|