If you did a
%> ncl_filedump ST4.2008091307.01h.grib
you would see that when NCL reads the grib file it
adds the long_name anf units attributes.
prc = a->A_PCP_GDS5_SFC_acc1h
delete(prc@long_name)
delete(prc@units)
Given your plot, maybe
"NCEP stageIV 1-h precip valid 20080913_"+HH
delete(prc@long_name)
delete(prc@units)
res@gsnCenterString = "1-h precip (mm)"
see gsnCenterString resources at:
http://www.ncl.ucar.edu/Document/Graphics/Resources/gsn.shtml
====
If you want to add a label to the label bar, see
http://www.ncl.ucar.edu/Applications/labelbar.shtml
Example 4
Good Luck
Li, Yongzuo wrote:
> Hi,
>
> I use
>
> ftp://ftp.caps.ou.edu/users/yli/ncep-st4.ncl
>
> to make
>
> ftp://ftp.caps.ou.edu/users/yli/precip-ncep-stageIV.pdf
>
> How can I remove "Total precipitation" and add description to color bar?
>
> I want to add subtitle.
>
> Thanks
>
> Yongzuo
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> 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 Thu Jan 14 07:55:52 2010
This archive was generated by hypermail 2.1.8 : Fri Jan 15 2010 - 13:51:45 MST