<html><head><meta http-equiv="Content-Type" content="text/html charset=windows-1252"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">Support for PDT 4.10 will probably require some additional grib codes, something similar to the handling of the probability forecasts (templates 4.5 and 4.9). Can you point me to a data sample? <div>Jennifer<br><div><br><div><div>On Oct 9, 2014, at 3:42 AM, Gebhardt Christoph <<a href="mailto:Christoph.Gebhardt@dwd.de">Christoph.Gebhardt@dwd.de</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0cm;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.E-MailFormatvorlage17
        {mso-style-type:personal-compose;
        font-family:"Calibri","sans-serif";
        color:windowtext;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-family:"Calibri","sans-serif";
        mso-fareast-language:EN-US;}
@page WordSection1
        {size:612.0pt 792.0pt;
        margin:70.85pt 70.85pt 2.0cm 70.85pt;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div lang="DE" link="blue" vlink="purple">
<div class="WordSection1"><p class="MsoNormal"><span lang="EN-US">Dear all,<o:p></o:p></span></p><p class="MsoNormal"><span lang="EN-US"> </span></p><p class="MsoNormal"><span lang="EN-US">just an information:<o:p></o:p></span></p><p class="MsoNormal"><span lang="EN-US"> </span></p><p class="MsoNormal"><span lang="EN-US">I tried to use gribmap with GRIB2 input and Product definition template 4.10 (Percentile forecasts at a horizontal level or in a horizontal layer on a continuous or non-continuous time interval).<o:p></o:p></span></p><p class="MsoNormal"><span lang="EN-US">The template 4.10 was not accepted by gribmap.<o:p></o:p></span></p><p class="MsoNormal"><span lang="EN-US"> </span></p><p class="MsoNormal"><span lang="EN-US">It seems to me that the current implementation in GrADS versions 2.0.2 and 2.1.a2 (I did not check 2.1.a1) is only partially prepared for PDT 4.10.<o:p></o:p></span></p><p class="MsoNormal"><span lang="EN-US">I could make it running with a simple change of source code in gagmap.c<o:p></o:p></span></p><p class="MsoNormal"><span lang="EN-US"> </span></p><p class="MsoNormal"><span lang="EN-US">When setting the reference time in the section
<o:p></o:p></span></p><p class="MsoNormal"><span lang="EN-US">/* For fields that are statistically processed over a time interval
<o:p></o:p></span></p><p class="MsoNormal"><span lang="EN-US"> e.g. averages, accumulations, extremes, et al. */<o:p></o:p></span></p><p class="MsoNormal"><span lang="EN-US">I changed the 'else if'-line by adding gfld->ipdtnum==10 to<o:p></o:p></span></p><p class="MsoNormal"><span lang="EN-US"> </span></p><p class="MsoNormal"><span lang="EN-US">else if (gfld->ipdtnum == 8 || gfld->ipdtnum==9 || gfld->ipdtnum==10 || gfld->ipdtnum==11 || gfld->ipdtnum==12) {<o:p></o:p></span></p><p class="MsoNormal"><span lang="EN-US"> </span></p><p class="MsoNormal"><span lang="EN-US">and added the line <o:p></o:p></span></p><p class="MsoNormal"><span lang="EN-US"> </span></p><p class="MsoNormal"><span lang="EN-US">else if (gfld->ipdtnum==10) endyr_idx=16;<o:p></o:p></span></p><p class="MsoNormal"><span lang="EN-US"> </span></p><p class="MsoNormal"><span lang="EN-US">Later on in the source code in gaint g2sp (Gets the statistical process used to derive a variable.), the PDT 4.10 has been correctly take into account in the standard source code of gagmap.c<o:p></o:p></span></p><p class="MsoNormal"><span lang="EN-US"> </span></p><p class="MsoNormal"><span lang="EN-US">Best regards,<o:p></o:p></span></p><p class="MsoNormal"><span lang="EN-US">Christoph.<o:p></o:p></span></p><p class="MsoNormal"><span lang="EN-US"> </span></p><p class="MsoNormal"><span lang="EN-US"> </span></p><p class="MsoNormal"><span lang="EN-US"> </span></p><p class="MsoNormal"><span lang="EN-US"> </span></p><p class="MsoNormal"><span style="mso-fareast-language:DE">=============================================================<o:p></o:p></span></p><p class="MsoNormal"><span style="mso-fareast-language:DE">Dr. Christoph Gebhardt<o:p></o:p></span></p><p class="MsoNormal"><span style="mso-fareast-language:DE">Forschung & Entwicklung // Research & Development<o:p></o:p></span></p><p class="MsoNormal"><span style="mso-fareast-language:DE">Referat Vorhersagbarkeit und Verifikation // Section Predictability & Verification<o:p></o:p></span></p><p class="MsoNormal"><span style="mso-fareast-language:DE"><a href="mailto:christoph.gebhardt@dwd.de">christoph.gebhardt@dwd.de</a><o:p></o:p></span></p><p class="MsoNormal"><span style="mso-fareast-language:DE">Tel: ++49-69-8062 2743<o:p></o:p></span></p><p class="MsoNormal"><span style="mso-fareast-language:DE">Fax: ++49-69-8062 3721<o:p></o:p></span></p><p class="MsoNormal"><span style="mso-fareast-language:DE">
.
..<o:p></o:p></span></p><p class="MsoNormal"><span style="mso-fareast-language:DE">Deutscher Wetterdienst<o:p></o:p></span></p><p class="MsoNormal"><span style="mso-fareast-language:DE"><a href="x-msg://16/www.dwd.de">www.dwd.de</a><o:p></o:p></span></p><p class="MsoNormal"><span style="mso-fareast-language:DE">Frankfurter Straίe 135<o:p></o:p></span></p><p class="MsoNormal"><span style="mso-fareast-language:DE">63067 Offenbach am Main<o:p></o:p></span></p><p class="MsoNormal"><span style="mso-fareast-language:DE">Germany<o:p></o:p></span></p><p class="MsoNormal"><o:p> </o:p></p>
</div>
</div>
_______________________________________________<br>gradsusr mailing list<br><a href="mailto:gradsusr@gradsusr.org">gradsusr@gradsusr.org</a><br>http://gradsusr.org/mailman/listinfo/gradsusr<br></blockquote></div><br><div apple-content-edited="true">
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; "><span class="Apple-style-span" style="border-collapse: separate; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; color: rgb(0, 0, 0); font-family: Helvetica; font-size: 12px; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; -webkit-text-decorations-in-effect: none; text-indent: 0px; -webkit-text-size-adjust: auto; text-transform: none; orphans: 2; white-space: normal; widows: 2; word-spacing: 0px; "><div>--</div><div>Jennifer M. Adams<br>Center for Ocean-Land-Atmosphere Studies (COLA)<br>111 Research Hall, Mail Stop 2B3<br>George Mason University<br>4400 University Drive<br>Fairfax, VA 22030 <br><br></div><div><br class="khtml-block-placeholder"></div><br class="Apple-interchange-newline"></span></span><br class="Apple-interchange-newline">
</div>
<br></div></div></body></html>