Re: taylor_metrics_table

From: Dennis Shea <shea_at_nyahnyahspammersnyahnyah>
Date: Wed, 11 Mar 2009 10:12:56 -0600

Hi Mike

I think you will have to make a personal copy

%> cp taylor_metrics_table.ncl notaro_metrics_table.ncl

Modify, notaro_metrics_table.ncl ... eg: change the procedure
name to (say) "notaro_metrics_table"

[a] add "wks:graphic" to the argument sequence
    notaro_metrics_table(wks, "metrics1", vars, cases1, season1,
tabValues1, opt)

[b] At the beginning, of notaro_metrics_table remove
    if (.not.isatt(opt,"pltType") .or. \
       (opt_at_pltType.eq."eps" .or. opt_at_pltType.eq."png" .or.
opt_at_pltType.eq."gif")) then
        wks = gsn_open_wks("eps",mfname) ; default
    else
        wks = gsn_open_wks(opt_at_pltType,mfname)
    end if

and, at the end, remove
        if (isatt(opt,"pltType") .and. \
           (opt_at_pltType.eq."png" .or. opt_at_pltType.eq."gif")) then
            system("convert -trim +repage "+mfname+".eps
"+mfname+"."+opt_at_pltType)
        end if

In the driver script, add the following before the 1st invocation
of notaro_metrics_table
     wks = gsn_open_wks("ps","Mikes_super_table")
    
     notaro_metrics_table(wks, "metrics1", vars, cases1, season1,
tabValues1, opt)

Good Luck
D

_______________________________________________
ncl-talk mailing list
List instructions, subscriber options, unsubscribe:
http://mailman.ucar.edu/mailman/listinfo/ncl-talk
Received on Wed Mar 11 2009 - 10:12:56 MDT

This archive was generated by hypermail 2.2.0 : Thu Mar 12 2009 - 14:10:21 MDT