filtering time series

From: Sudheer Joseph <sjo.india_at_nyahnyahspammersnyahnyah>
Date: Tue Sep 14 2010 - 00:56:37 MDT

Dear Ncl Guru,
                         I was trying to use the csm functions and trying to
follow an example given at
http://www.ncl.ucar.edu/Document/Functions/Diagnostics/band_pass_latlon_time.shtml
As I could not locate diagnostics.ncl in
$NCARG_ROOT/lib/ncarg/nclscripts/csm/
I made a soft link of
by ln -s diagnostics_cam.ncl diagnostics.ncl.
Am I correct in doing so? is it a name difference only or the 2 files are
really different?. if so where can I download the file?

I was getting errors on calling function

 I tried the below change
*band_pass_latlon_time* (x(:,{latS:latN},{lonL:lonR}),srate, bpf,
wgty({latS:latN}), opt)

but function gave an error saying it expects only 4 arguments. I had
the impression that
"\" is simply new line character and a closing bracket is required for
completing the definition of x??.
Is ncl interprets this differently??

bpass = *band_pass_latlon_time* (x(:,{latS:latN},{lonL:lonR} \
                                ,srate, bpf, wgty({latS:latN}), opt)

as below

fatal:syntax error: line 21 in file bpas_xyt.ncl before or near \n
  ,srate,bpf,wgty({latS:latN}),opt)
-----------------------------------^

fatal:Variable (bpass) is undefined
fatal:Execute: Error occurred at or near line 22 in file bpas_xyt.ncl

fatal:Variable (bpass) is undefined
fatal:Execute: Error occurred at or near line 23 in file bpas_xyt.ncl

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Mon Sep 13 23:56:45 2010

This archive was generated by hypermail 2.1.8 : Thu Sep 16 2010 - 11:05:24 MDT