Ok here is what I had a friend send me since we're both working with this
issue.. I'm learning linux stuff haha..
Mike this is what I get when running GDINFO on the 212 NAM file. I get an
error that wgrib and wgrib2 is not a command... You may want to add this to
the GEMBUD
GEMPAK-GDINFO>r
GRID FILE: /home/gempak/Desktop/2013111718_nam212.gem
GRID NAVIGATION:
PROJECTION: LCC
ANGLES: 25.0 -95.0 25.0
GRID SIZE: 185 129
LL CORNER: 12.19 -133.46
UR CORNER: 57.29 -49.39
GRID ANALYSIS BLOCK:
UNKNOWN ANALYSIS TYPE
Number of grids in file: 2849
Maximum number of grids in file: 5000
[GDU 2] Did not find any matching grids.
Parameters requested: GDFILE,LSTALL,OUTPUT,GDATTIM,GLEVEL,GVCORD,GFUNC.
GEMPAK-GDINFO>
Why aren't we to pull this in?
-----Original Message-----
From: gembud-bounces@xxxxxxxxxxxxxxxx
[mailto:gembud-bounces@xxxxxxxxxxxxxxxx] On Behalf Of
gembud-request@xxxxxxxxxxxxxxxx
Sent: Friday, November 22, 2013 10:24 AM
To: gembud@xxxxxxxxxxxxxxxx
Subject: gembud Digest, Vol 58, Issue 7
Send gembud mailing list submissions to
gembud@xxxxxxxxxxxxxxxx
To subscribe or unsubscribe via the World Wide Web, visit
http://mailman.unidata.ucar.edu/mailman/listinfo/gembud
or, via email, send a message with subject or body 'help' to
gembud-request@xxxxxxxxxxxxxxxx
You can reach the person managing the list at
gembud-owner@xxxxxxxxxxxxxxxx
When replying, please edit your Subject line so it is more specific than
"Re: Contents of gembud digest..."
Today's Topics:
1. Pulling in Temperature from GEM file in GEMPAK (Michael Foland)
2. Re: Pulling in Temperature from GEM file in GEMPAK (Rob Dale)
3. Re: WPC winter probabilities (Tyle, Kevin R)
----------------------------------------------------------------------
Message: 1
Date: Thu, 21 Nov 2013 14:31:24 -0500
From: "Michael Foland" <mfoland@xxxxxxxxxxxxxxx>
To: <gembud@xxxxxxxxxxxxxxxx>
Subject: [gembud] Pulling in Temperature from GEM file in GEMPAK
Message-ID: <001c01cee6f0$472f1310$d58d3930$@mradio105fm.com>
Content-Type: text/plain; charset="us-ascii"
Me and a friend are using scripts to pull in model data using WGET. It gets
all the models that we need, including satellite and radar. The only problem
is that in the NAM, NAM12, GFS, etc. we are unable to pull in the SURFACE
TEMPERATUREs. Is there a reason why GEMPAK may not be pulling this in?
Thanks!
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://mailman.unidata.ucar.edu/mailing_lists/archives/gembud/attachments/2
0131121/14322723/attachment.html>
------------------------------
Message: 2
Date: Thu, 21 Nov 2013 14:59:20 -0500
From: Rob Dale <rdale@xxxxxxxxxxxx>
To: Michael Foland <mfoland@xxxxxxxxxxxxxxx>
Cc: "gembud@xxxxxxxxxxxxxxxx" <gembud@xxxxxxxxxxxxxxxx>
Subject: Re: [gembud] Pulling in Temperature from GEM file in GEMPAK
Message-ID: <-7695109695276267900@unknownmsgid>
Content-Type: text/plain; charset="windows-1252"
No problem at all. Make sure you select 2M.
On Nov 21, 2013, at 2:31 PM, Michael Foland <mfoland@xxxxxxxxxxxxxxx> wrote:
Me and a friend are using scripts to pull in model data using WGET. It gets
all the models that we need, including satellite and radar. The only problem
is that in the NAM, NAM12, GFS, etc? we are unable to pull in the SURFACE
TEMPERATUREs. Is there a reason why GEMPAK may not be pulling this in?
Thanks!
_______________________________________________
gembud mailing list
gembud@xxxxxxxxxxxxxxxx
For list information or to unsubscribe, visit:
http://www.unidata.ucar.edu/mailing_lists/
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://mailman.unidata.ucar.edu/mailing_lists/archives/gembud/attachments/2
0131121/b92d5fb7/attachment.html>
------------------------------
Message: 3
Date: Fri, 22 Nov 2013 15:23:19 +0000
From: "Tyle, Kevin R" <ktyle@xxxxxxxxxx>
To: Russ Schumacher <russ.schumacher@xxxxxxxxxxxxx>,
"gembud@xxxxxxxxxxxxxxxx" <gembud@xxxxxxxxxxxxxxxx>
Subject: Re: [gembud] WPC winter probabilities
Message-ID:
<568d3dbb9ad84cc28324a9e87b3b17c7@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Content-Type: text/plain; charset="us-ascii"
Hi Russ,
There are a couple reasons why these products are not being decoded; one is
simple to fix, the other, a bit more challenging.
First, the $GEMTBL/grid/g2varswmo2.tbl needs to have an entry added for this
type of GRIB2 product:
000 001 029 009 P of Snow Exceeding Amount % SN
0 -9999.00
Second, the function that builds the string for the GEMPAK parameter name
needs to be rewritten to handle the case when the value of the target amount
(in this case, .0254 meters + multiples thereof) gets translated into a
string that has too many leading zeroes, causing the GEMPAK parameter names
to not be unique for each target amount.
I'm sure there is a cleaner way to do this, but I simply added a scale
factor test in the function in the file $GEMPAK/source/griblib/gb/gb2prob.c:
25d24
< * K. Tyle/UAlbany 11/13 Updated case 1 sprintf format *
55,60d53
< /*
< * Special Case if scale factor results in a number
< * too large to fit in param string
< */
< if (scale < -2.0 ) sfact= 1.0;
<
To get this incorporated into NAGRIB2, after you edit gb2prob.c in the
$GEMPAK/source/griblib/gb directory, do the following:
Type make (this will build the gb2prob.o file) Type ar rv $GEMLIB/gemlib.a
gb2prob.o (this will update the gemlib.a library archive) cd to
$GEMPAK/source/programs/na/nagrib2
Type make clean install
Then give it a try!!
I've attached the two files. Maybe Michael @ Unidata or Scott @ NCEP can
determine a better method.
My work is all based on the GEMPAK6.10 package, but suspect it will work for
earlier versions of GEMPAK 6 as well.
--Kevin
_____________________________________________
Kevin Tyle, Systems Administrator
Dept. of Atmospheric & Environmental Sciences
University at Albany
Earth Science 235, 1400 Washington Avenue
Albany, NY 12222
Email: ktyle@xxxxxxxxxx
Phone: 518-442-4578
_____________________________________________
-----Original Message-----
From: gembud-bounces@xxxxxxxxxxxxxxxx
[mailto:gembud-bounces@xxxxxxxxxxxxxxxx] On Behalf Of Russ Schumacher
Sent: Wednesday, November 20, 2013 11:37 PM
To: gembud@xxxxxxxxxxxxxxxx
Subject: [gembud] WPC winter probabilities
Hey gembuds,
Has anyone successfully decoded the WPC winter precip probability GRIB
files, which are located here:
ftp://ftp.hpc.ncep.noaa.gov/pwpf/conus/pwpf_24hr/ ?
When running them through NAGRIB2 I get the following errors:
[GB 1] No GEMPAK parameter name defined for this grid.
[GB -34] Could not convert GRIB2 message to GEMPAK grid.
The GRIB2 messages looks like this, which I realize probably doesn't convert
in a straightforward way to a GEMPAK field name:
1:0:d=2013112100:ASNOW:surface:CodeTable 4.11=missing:prob >0.0254
2:23442:d=2013112100:ASNOW:surface:CodeTable 4.11=missing:prob >0.0508
3:41685:d=2013112100:ASNOW:surface:CodeTable 4.11=missing:prob >0.1016
4:52983:d=2013112100:ASNOW:surface:CodeTable 4.11=missing:prob >0.1524
5:60796:d=2013112100:ASNOW:surface:CodeTable 4.11=missing:prob >0.2032
6:65559:d=2013112100:ASNOW:surface:CodeTable 4.11=missing:prob >0.3048
7:67086:d=2013112100:ASNOW:surface:CodeTable 4.11=missing:prob >0.4572
If there's an easy way to decode these, I'd appreciate you sending it along
(but if not, it's not a huge deal -- the WPC's web graphics for these
products are very nice.) Thanks!
Russ
--
Russ S. Schumacher
Assistant Professor
Department of Atmospheric Science
Colorado State University
e-mail: russ.schumacher@xxxxxxxxxxxxx
phone: 970.491.8084
_______________________________________________
gembud mailing list
gembud@xxxxxxxxxxxxxxxx
For list information or to unsubscribe, visit:
http://www.unidata.ucar.edu/mailing_lists/
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: gb2prob.c
URL:
<http://mailman.unidata.ucar.edu/mailing_lists/archives/gembud/attachments/2
0131122/f6057288/attachment.c>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: g2varswmo2.tbl
Type: application/octet-stream
Size: 37752 bytes
Desc: g2varswmo2.tbl
URL:
<http://mailman.unidata.ucar.edu/mailing_lists/archives/gembud/attachments/2
0131122/f6057288/attachment.tbl>
------------------------------
_______________________________________________
gembud mailing list
gembud@xxxxxxxxxxxxxxxx
For list information or to unsubscribe, visit:
http://www.unidata.ucar.edu/mailing_lists/
End of gembud Digest, Vol 58, Issue 7
*************************************