<div dir="ltr"><div>Use 'q time' (or 'q dims' also works) and the appropriate grads script functions to parse the result string and plot it on the image.<br><br></div>Jeff Duda<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jan 23, 2018 at 12:22 PM, Bob Kuligowski - NOAA Federal <span dir="ltr"><<a href="mailto:bob.kuligowski@noaa.gov" target="_blank">bob.kuligowski@noaa.gov</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">All,<br>
<br>
I'm using a template to create a loop of images for an entire day. I have the appropriate template settings in DSET, OPTIONS, and TDEF of my .ctl file; e.g.,<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
DSET ^/data/smcd2/rainfall/yli/ABI/<wbr>Evaluation/srcNewFixCof/output<wbr>New/2018/022/RRR_GRABI2018022%<wbr>h2%<a href="http://n2.nc" rel="noreferrer" target="_blank">n2.nc</a><br>
OPTIONS yrev template<br>
DTYPE netcdf<br>
UNDEF -99<br>
UNPACK scale_factor add_offset<br>
TITLE Operational GOES-R QPE<br>
XDEF 5424 LINEAR 1 1<br>
YDEF 5424 LINEAR 1 1<br>
ZDEF 1 LEVELS 1000<br>
TDEF 96 LINEAR 00:00Z22JAN2018 15mn<br>
VARS 1<br>
RRQPE=>rr_v5y 1 y,x RRQPE<br>
ENDVARS<br>
</blockquote>
Everything displays just fine, BUT...I would like to be able to display the hour and minute of each file in the image along with the associated data field. Is there a GrADS variable that will either give me the value of TDEF associated with the that I can parse for display, or at least the value of %h2 and %n2 associated with the time period currently being displayed so I can create a time string to append to the image display? Thanks!<br>
<br>
Cheers,<br>
<br>
-- <br>
Bob Kuligowski, Ph.D.<br>
Meteorologist<br>
NOAA/NESDIS/Center for Satellite Applications and Research (STAR)<br>
<br>
Mailing Address:<br>
National Oceanic and Atmospheric Administration<br>
NESDIS STAR/SMCD<br>
Bob Kuligowski<br>
NCWCP E/RA2<br>
5830 University Research Court<br>
2nd Floor, Office #2828<br>
College Park, MD 20740-3818<br>
<br>
Phone: (301) 683-3593<br>
Fax : (301) 683-3616<br>
<br>
<a href="http://www.star.nesdis.noaa.gov/star/Kuligowski_B.php" rel="noreferrer" target="_blank">http://www.star.nesdis.noaa.go<wbr>v/star/Kuligowski_B.php</a><br>
<a href="http://www.star.nesdis.noaa.gov/smcd/emb/ff/index.php" rel="noreferrer" target="_blank">http://www.star.nesdis.noaa.go<wbr>v/smcd/emb/ff/index.php</a><br>
<br>
______________________________<wbr>_________________<br>
gradsusr mailing list<br>
<a href="mailto:gradsusr@gradsusr.org" target="_blank">gradsusr@gradsusr.org</a><br>
<a href="http://gradsusr.org/mailman/listinfo/gradsusr" rel="noreferrer" target="_blank">http://gradsusr.org/mailman/li<wbr>stinfo/gradsusr</a><br>
</blockquote></div><br><br clear="all"><br>-- <br><div class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div>Jeff Duda<br>Research Scientist<br>Cooperative Institute for Research in Environmental Sciences at the University of Colorado<br></div></div></div></div></div></div></div>
</div>