Re: Band-Pass Filter

From: Yang Yang <yang123yang_at_nyahnyahspammersnyahnyah>
Date: Mon Feb 27 2012 - 14:47:32 MST

Hi Dennis:

Thank you for your help!

I tried your suggestion. It still does not work. Please see my script below. The information after the run is:

warning:Attempt to reference attribute (Cape) which is undefined
(0) -999
warning:Attempt to reference attribute (Cape) which is undefined
(0) -999

Regards
Ed

;*************************
;ncl script
;**************************
  wks = gsn_open_wks ("x11", "skewt_test_new")

; --- Create background skew-T; plot sounding ---------------------

  skewtOpts = True
  skewtOpts@DrawColAreaFill = True ; default is False
  skewtOpts@tiMainString = "Raob Data; No Winds"

  dataOpts = True ; no options

  dataOpts@PrintZ = True
  skewt_bkgd = skewT_BackGround (wks, skewtOpts)
  skewt_data = skewT_PlotData (wks, skewt_bkgd, pp,tt,tc,h \
                                    , wsp,dir, dataOpts)
  draw (skewt_bkgd)
  draw (skewt_data)
  frame(wks)

print(skewt_bkgd@Cape)
print(skewt_data@Cape)

--- On Tue, 2/28/12, Dennis Shea <shea@ucar.edu> wrote:

> From: Dennis Shea <shea@ucar.edu>
> Subject: Re: Band-Pass Filter
> To: "Abhik Santra" <abhiksantra@tropmet.res.in>
> Cc: ncl-talk@ucar.edu
> Date: Tuesday, February 28, 2012, 12:49 AM
> "band_pass_latlon_time"  was
> developed for one level.
> You will have to loop over each level.
>
> Good Luck
>
> On 2/27/12 12:33 AM, Abhik Santra wrote:
> >
> > Dear All,
> >
> >          I use
> "band_pass_latlon_time" function with spd=1.0 and nwt=201 to
> keep all frequencies between 10 and 90 day for single level
> variable.  Now, I want to do the same for
> multiple-level variables. But the "band_pass_latlon_time"
> function doesn't allow more than 1 level. Is there any other
> function to do that?  Or should I do the same for each
> level separately?
> >
> > Regards,
> _______________________________________________
> ncl-talk mailing list
> List instructions, subscriber options, unsubscribe:
> http://mailman.ucar.edu/mailman/listinfo/ncl-talk
>
_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Mon Feb 27 14:47:40 2012

This archive was generated by hypermail 2.1.8 : Mon Mar 05 2012 - 14:12:07 MST