[Thread Prev][Thread Next][Index]

[ferret_users] Area Average in Ferret



Dear Ferret Users,

I have ocean data at different layers. Can some one explain me why the operation from following commands is different?

Let Anom1=Temp[x=-180:180@ave,y=-90:90@ave,k=2,d=1]-Temp[x=-180:180@ave,y=-90:90@ave,k=2,d=2]
List Anom1
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Let Test=Temp[x=-180:180@ave,k=2,d=1]-Temp[x=-180:180@ave@ave,k=2,d=2]
Let Anom2=Test[y=-90:90@ave]
List Anom2
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Here Anom1 and Anom2 have different results!

Is it because in first step having both x and y averaging at the same time involves x and y grids sizes and their weights according to their sizes whereas in 2nd it doesn't apply grid size accordingly?
Is the first method more appropriate?


Thanks

Dogar

[Thread Prev][Thread Next][Index]
Contact Us
Dept of Commerce / NOAA / OAR / PMEL / Ferret

Privacy Policy | Disclaimer | Accessibility Statement