How to make composite from 4 variables..................

From: Sabeerali(sebi) <sabeerl_at_nyahnyahspammersnyahnyah>
Date: Wed, 26 Aug 2009 16:53:59 +0530

Hellooo,

I have taken monthly sst from 1983-2005 and calculated monthly
sst anomaly...From the total sst anomaly(i.e from 1983-2005) I selected 4
years(1983,1990,1999,2004) and found the average of JJAS...So I got 4
variables of dimension (lat=89,lon=180) (SSTA_1983_JJAS, SSTA_1990_JJAS,
SSTA_1999_JJAS, SSTA_2004_JJAS)..I want to find the composite of these 4
variables..
The given method is valid or not...
sum= SSTA_1983_JJAS+SSTA_1990_JJAS+SSTA_1999_JJAS+SSTA_2004_JJAS
average=sum/4

.Any help would be appreciable...Here I am attaching the script..

begin
;**************************************************************
sst=in2->sst
sstflt=short2flt(sst)
;printVarSummary(sst)
mn_clim_sst=clmMonTLL(sstflt)
;printVarSummary(mn_clim_sst)
;printVarSummary(mn_clim_sst)
Mon_sst_anom=calcMonAnomTLL(sstflt,mn_clim_sst)
;*****************************************************
SSTA_1983=Mon_sst_anom(0:11,:,:)
SSTA_1983_JJAS=dim_avg(SSTA_1983(lat|:,lon|:,time|5:8))
;**************************************************
SSTA_1990=Mon_sst_anom(84:95,:,:)
SSTA_1990_JJAS=dim_avg(SSTA_1990(lat|:,lon|:,time|5:8))
;**************************************************
SSTA_1999=Mon_sst_anom(192:203,:,:)
SSTA_1999_JJAS=dim_avg(SSTA_1999(lat|:,lon|:,time|5:8))
;********************************************************

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Wed Aug 26 2009 - 05:23:59 MDT

This archive was generated by hypermail 2.2.0 : Wed Sep 02 2009 - 12:24:39 MDT