[gradsusr] Templating GFS analyses
Jennifer M Adams
jadams21 at gmu.edu
Wed Dec 20 08:32:32 EST 2017
Aside from the typo that Victor pointed out, you should use templates for initialization date and forecast hour:
DSET ^gfs_4_%iy4%im2%id2_%f200_000.grb2
Otherwise the date stamping won’t be correct if your forecast hour goes past 24.
—Jennifer
> On Dec 19, 2017, at 9:11 PM, Victor Gensini <vgensini at niu.edu> wrote:
>
> Hi Dave,
>
> In your example, you are missing the third zero before ".grb2"
>
> Best,
>
> ---------------------------------------
> Dr. Vittorio (Victor) A. Gensini
> Assistant Professor
> Department of Geographic and Atmospheric Sciences
> Northern Illinois University
> Davis Hall (DH), Room 118
> DeKalb, IL 60115
> http://wcs.niu.edu
> From: gradsusr-bounces at gradsusr.org <gradsusr-bounces at gradsusr.org> on behalf of Ryglicki, Dr. David <david.ryglicki at nrlmry.navy.mil>
> Sent: Tuesday, December 19, 2017 3:59:50 PM
> To: GrADS Users Forum
> Subject: [gradsusr] Templating GFS analyses
>
> Hey, GrADS’ers.
>
> Simple question about g2ctl and templating over GFS analyses. I’m pulling data from NCEP’s HAS system, and when I get the data, it looks something like this:
>
> gfs_4_20120730_0000_000.grb2
> gfs_4_20120730_0600_000.grb2
> …
>
> When I try templating with: “g2ctl -0 gfs_4_2012%m2%d2_%h200_00.grb2”, I get the error: ‘Argument “0730_00” isn’t numeric in numeric gt (>) at /path/to/g2ctl line 267.’
>
> I can get around this pretty easily with some awk, but I was wondering… am I doing something wrong here, or is this just how it is?
>
> Thanks.
>
> ~Dave
> _______________________________________________
> gradsusr mailing list
> gradsusr at gradsusr.org
> http://secure-web.cisco.com/135z77ggpe4qt0JmAG4Dk_8H1g_D1WDOdtvmP976GbD3ZGfwC5Zqg5XDtYlZyY4cND1QSU-wuerUHAPsZ1Mth31R-zW7z6OjKT0hmFEGYZ04HZsm9eUO0OgA4TpPLuI78xnywkBUlq0hO-x6da2KMcVBGC_hCvImyA2eWyhlDciqQit22nRgrTCKuGrpBst_xlhnnZot772QVLE86p3Y8qo7pRVRLPYZhQQ_tfBh84jkNauzzQIBdR9gNPuX7Bz6Xr_pxQ9CLwWsP97y2qpUCFA--dzDG_5kbwHLu3twQmyXsG43IGOjxRKonxdKFiLdajWDnCVCzyycspwpkf2sTM8gblPA-jGBdh_mrpwPPLtZjCAuP6yn-kRMAKjsKeoE_/http%3A%2F%2Fgradsusr.org%2Fmailman%2Flistinfo%2Fgradsusr
--
Jennifer Miletta Adams
Center for Ocean-Land-Atmosphere Studies (COLA)
George Mason University
More information about the gradsusr
mailing list