Looping through dtrend function

From: Hyacinth Nnamchi <hyacinth.1_at_nyahnyahspammersnyahnyah>
Date: Mon Oct 22 2012 - 21:20:28 MDT

Hi;
I am trying to detrend a monthly time series, month by month:
nmos = 12ntim = dimsizes(x)
  do n = 0,ntim-1,nmosx_dtrnd = dtrend(x,False)
  end do
print(x_dtrnd(0:11))
But the result doesn't look correct, looks like deviations from annual mean. What could be wrong?
Hyacinth

                                               

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Mon Oct 22 21:20:37 2012

This archive was generated by hypermail 2.1.8 : Tue Oct 23 2012 - 11:10:04 MDT