Page 1 of 1

WRF NMM files in PCG32

Posted: Fri Oct 12, 2007 10:53 pm
by Craig4Wx
Has anyone had any luck with WRF NMM grib2 files? I ftp'd some from (tgftp.nws.noaa.gov/SL.us008001/ST.opnl/MT.hires_MR.nmm_CY.12
/RD.20071012/PT.grid_DF.gr2_AR.east05) and ran NGP2PCG.exe which crashed almost immediately. These are very large files and I wonder if NGP2PCG is choking on it.
Craig Setzer

Posted: Wed Oct 17, 2007 1:36 am
by jkrob
Craig,

Come on now...more info. What version of NGRB2PCG32 are you running? Where is a cut-and-paste of where it fails?

comuuuuuunicate ;-) (there may be some GRIB2 unpacking issues)

thanks,
Jeff

BTW - NGRB2PCG32 for WINGRIDDS works fine ...

Posted: Wed Oct 17, 2007 2:32 am
by Craig4Wx
I know, I know, that was lazy huh? I thought I could get away with it by getting you to run NGRB2PCG32 on a file from that site and creating the same problem. Okay, I'll work for it! :wink:

First, I am running the WINGRIDDS version of NGRB2PCG32 but having the resultant GRIB files go to the PCGRIDDS32 GRIDDATA directory. Sorry, I'm old school and like the command line interface and look of PCGRIDDS32. Here is the .OUT file output before the program crashes.

Craig

NGRB2PCG32 WINGRIDDS VERSION 04/04/2007

INPUT DATA DIRECTORY: c:\WINGRIDDS\GRIB\NWS\
OUTPUT DATA DIRECTORY: c:\WINGRIDDS\GRIDDATA\
FILE: fh.0045_tl.press_gr.awpreg
---NEW GRIB DATA FILE OPENED

===== BEGIN READ ===== IGB100( 1 & 2) COPIED TO 1 & 2
===== BEGIN NEW GRIB EDITION 2 RECORD =====
REC#,SIZE = 1 218985
NBYTES,IRDRC7,IRDREC= 218985 2189 2189
IRDST/IRDEND/IGRBZZ= 3 2188 3
DISCIPLINE = 0
******* JPEG2000 UNCOMPRESS ******
jcunpack: dec_jpeg2000 DONE
KPDS= 7 84 255 128 130 102 0 7 10 16 6 0 1 45 0 0 0 2 2
ACCUM 45 0 0 0 PRSE PRSE
INPUT YR/MO/DY/HR/FHR/LVL=2007/10/16/ 6/ 45/ MSL - PARAM=130 (PRSE MSL)
GRID DEFINITIONS OBTAINED FROM GRIB GDS SECTION
OUTFILO =
... OUTPUT FILE= c:\WINGRIDDS\GRIDDATA\OCT160706.ETA255
REQUESTED GRID BEING PROCESSED
--- ADDING GRID-> 2 PRSE MSL 2007 10 16 6 45 2
A,NX,NY= 101912.0 884 614
GRN,GRX,RANGE= -2.310082 1.830025 2.3259025E-02
--- ADDING GRID-> 3 MSG00000 2007 10 16 6 0 138
A,NX,NY= 1.000000 884 614
GRN,GRX,RANGE= -1.0000000E-25 9.1084400E-44 5.6179776E-28
--- ADDING GRID-> 4 MSG10000 2007 10 16 6 0 274
A,NX,NY= 0.0000000E+00 884 614
GRN,GRX,RANGE= -1.0000000E-25 9.1084400E-44 5.6179776E-28
MAP PROJECTION = NLCC
GRID DESCRIPTION SECTION = 3 884 614
24500 230800 8 252000 5000 5000
0 64 40500 40500 0 0
0 0 0 0 255 0
0 0 0 0 0 0
0 0 0 0 0 0
0 0 0 0 0 0
0 0 0 0 0 0
0 0 0 0 0 0
0 0 0 0 0 0
0 0 0 0 0 0
0 0 0 0 0 0
0 0 0 0 0 0
0 0 0 0 0 0
0 0 0 0 0 0
0 0 0 0 0 0
0 0 0 0 0 0
255
NPTS = 542776
GRID PROJECTION TYPE = NLCC
--- ADDING GRID-> 5 ALAT0000 2007 10 16 6 0 410
A,NX,NY= 24.50001 884 614
GRN,GRX,RANGE= -1.5434355E-02 4.3079618E-02 3.2873018E-04
--- ADDING GRID-> 6 ALON0000 2007 10 16 6 0 546
A,NX,NY= 129.2000 884 614
GRN,GRX,RANGE= -7.4463613E-02 2.4414184E-02 5.5549323E-04
N = 542777
--- ADDING GRID-> 7 DMAP0000 -1 -1 -1 -1 -1 682
A,NX,NY= -10.13147 884 614
GRN,GRX,RANGE= -128.8062 119.4946 1.394948

Posted: Wed Oct 17, 2007 11:55 am
by jkrob
Craig,

ALRIGHT!!! *that's* what were talking about!! ;-) I evidently downloaded some different data & got a LTLN grid & not a NLCC grid (??) So, I'll try it again this afternoon.

This line here:

> --- ADDING GRID-> 7 DMAP0000 -1 -1 -1 -1 -1 682
> A,NX,NY= -10.13147 884 614
> GRN,GRX,RANGE= -128.8062 119.4946 1.394948

is the problem...not supposed to be like that (all those '-1' are supposed to be the date-time-group of that GRIB message).

Thanks again,
Jeff.

Posted: Thu Oct 18, 2007 12:02 pm
by jkrob
Craig,

The problems in processing the GRIB2 data have been found. The fix(s) will be in the next release of both the WAFS & Regular GRIB utilities for both PCGRIDDS32 & WINGRIDDS.

Thanks,
Jeff