[gradsusr] gribmap with GRIB2
Gebhardt Christoph
Christoph.Gebhardt at dwd.de
Mon Oct 13 03:42:01 EDT 2014
Wesley,
I didn't find alt_g2ctl and alt_gmp in our standard GraDS installation.
Where can I get it?
Christoph.
Von: gradsusr-bounces at gradsusr.org [mailto:gradsusr-bounces at gradsusr.org] Im Auftrag von Wesley Ebisuzaki - NOAA Federal
Gesendet: Donnerstag, 9. Oktober 2014 17:00
An: GrADS Users Forum
Betreff: Re: [gradsusr] gribmap with GRIB2
Christoph,
Was alt_g2ctl and alt_gmp able to handle template 4.10?
Wesley
On Thu, Oct 9, 2014 at 3:42 AM, Gebhardt Christoph <Christoph.Gebhardt at dwd.de<mailto:Christoph.Gebhardt at dwd.de>> wrote:
Dear all,
just an information:
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).
The template 4.10 was not accepted by gribmap.
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.
I could make it running with a simple change of source code in gagmap.c
When setting the reference time in the section
/* For fields that are statistically processed over a time interval
e.g. averages, accumulations, extremes, et al. */
I changed the 'else if'-line by adding gfld->ipdtnum==10 to
else if (gfld->ipdtnum == 8 || gfld->ipdtnum==9 || gfld->ipdtnum==10 || gfld->ipdtnum==11 || gfld->ipdtnum==12) {
and added the line
else if (gfld->ipdtnum==10) endyr_idx=16;
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
Best regards,
Christoph.
=============================================================
Dr. Christoph Gebhardt
Forschung & Entwicklung // Research & Development
Referat Vorhersagbarkeit und Verifikation // Section Predictability & Verification
christoph.gebhardt at dwd.de<mailto:christoph.gebhardt at dwd.de>
Tel: ++49-69-8062 2743<tel:%2B%2B49-69-8062%202743>
Fax: ++49-69-8062 3721<tel:%2B%2B49-69-8062%203721>
………………………………………………………………………….…………………………………………………..
Deutscher Wetterdienst
www.dwd.de<http://www.dwd.de>
Frankfurter Straße 135
63067 Offenbach am Main
Germany
_______________________________________________
gradsusr mailing list
gradsusr at gradsusr.org<mailto:gradsusr at gradsusr.org>
http://gradsusr.org/mailman/listinfo/gradsusr
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20141013/d9421c72/attachment.html
More information about the gradsusr
mailing list