<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<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]-->
</head>
<body 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"><o:p> </o:p></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"><o:p> </o:p></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"><o:p> </o:p></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"><o:p> </o:p></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"><o:p> </o:p></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"><o:p> </o:p></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"><o:p> </o:p></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"><o:p> </o:p></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"><o:p> </o:p></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"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><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">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="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>
</body>
</html>