[gradsusr] Templating GFS analyses

Victor Gensini vgensini at niu.edu
Tue Dec 19 21:11:25 EST 2017


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://gradsusr.org/pipermail/gradsusr/attachments/20171220/a059bac8/attachment.html 


More information about the gradsusr mailing list