Hi Mubashar, I thought about it some more. In this case it is the location of missing data that's causing the difference in how these averages are computed. Here's an example that I think shows what is happening with these averages. It comes from the fact that you're in a basin where at different XY locations there are different number of Z levels with good data. It will be up to you to decide what calculation to use, based on what kind of average operation you want to do with this data. If we were out in the open ocean, where there is data all the way down, you would not see the difference. yes? use levitus_climatologyLook at a slice of data in the region you're working with. At some locations the data goes deeper than others: yes? list/y=19.5 /k=1:16/x=35e:45e temp VARIABLE : TEMPERATURE (DEG C) FILENAME : levitus_climatology.cdf FILEPATH : /home/users/tmap/ferret/linux/fer_dsets/data/ SUBSET : 10 by 16 points (LONGITUDE-DEPTH (m)) LATITUDE : 19.5N 35.5E 36.5E 37.5E 38.5E 39.5E 40.5E 41.5E 42.5E 43.5E 44.5E 16 17 18 19 20 21 22 23 24 25 0 / 1: .... .... 28.90 29.12 29.25 29.28 .... .... .... .... 10 / 2: .... .... 28.76 28.98 29.12 29.15 .... .... .... .... 20 / 3: .... .... 28.59 28.78 28.85 28.78 .... .... .... .... 30 / 4: .... .... 28.38 28.54 28.55 28.38 .... .... .... .... 50 / 5: .... .... .... 27.80 27.70 27.39 .... .... .... .... 75 / 6: .... .... .... 26.10 26.15 26.08 .... .... .... .... 100 / 7: .... .... .... 24.50 24.49 .... .... .... .... .... 150 / 8: .... .... .... 22.68 22.60 .... .... .... .... .... 200 / 9: .... .... .... 21.98 21.98 .... .... .... .... .... 300 / 10: .... .... .... 21.67 21.54 .... .... .... .... .... 400 / 11: .... .... .... 21.57 21.42 .... .... .... .... .... 600 / 12: .... .... .... 20.71 20.58 .... .... .... .... .... 800 / 13: .... .... .... 21.65 .... .... .... .... .... .... 1000 / 14: .... .... .... 21.67 .... .... .... .... .... .... 1200 / 15: .... .... .... .... .... .... .... .... .... .... 1500 / 16: .... .... .... .... .... .... .... .... .... .... I'll define a simpler variable with more extreme variation so we can really see what's going on. ! define a synthetic variable in X and Z On 3/25/2013 11:41 AM, Ansley Manke
wrote:
Hi, |