|
|
|||
|
||||
|
I believe this is for Robb Kambic, but if anyone else has a
comment please post. Iâm trying to decode (grib2 -> netcdf) the somewhat new
SREF model data. Hereâs the NOAAPORT entry: HDS|CONDUIT|NGRIDÂÂÂÂÂÂ ^[LM].....
KWBL ([0-3][0-9])([0-2][0-9][0-6][0-9]) ÂÂÂÂÂÂ ÂÂÂÂ FILEÂÂÂ
data/awips_in/sref/input/(\1:yyyy)(\1:mm)\1\2_sref.grib To decode I use the following: ÂÂÂÂÂÂÂÂÂÂÂ ï[ldm@metbox4 sref]$ java -Xmx1024m
ucar.nc2.iosp.grib.Grib2Netcdf input/200707200900_sref.grib
200707200900_sref.nc With the following output: ÂÂÂÂÂÂÂÂÂÂÂ ïFri Jul 20 18:00:23 GMT 2007 ... Start of
Grib2Netcdf read grib
file=input/200707200900_sref.grib write to netCDF file=200707200900_sref.nc PDS productDefinition == 2 not done PDS productDefinition == 2 not done PDS productDefinition == 2 not done PDS productDefinition == 2 not done PDS productDefinition == 5 not done PDS productDefinition == 2 not done Exception in thread "main"
java.lang.NullPointerException ÂÂÂÂÂÂÂ at
ucar.nc2.iosp.grib.GribServiceProvider.readXY(GribServiceProvider.java:300) ÂÂÂÂÂÂÂ at
ucar.nc2.iosp.grib.GribServiceProvider.readLevel(GribServiceProvider.java:267) ÂÂÂÂÂÂÂ at
ucar.nc2.iosp.grib.GribServiceProvider.readData(GribServiceProvider.java:251) ÂÂÂÂÂÂÂ at
ucar.nc2.NetcdfFile.readData(NetcdfFile.java:1345) ÂÂÂÂÂ ÂÂat ucar.nc2.Variable._read(Variable.java:892) ÂÂÂÂÂÂÂ at ucar.nc2.Variable.read(Variable.java:648) ÂÂÂÂÂÂÂ at ucar.nc2.FileWriter.copyAll(FileWriter.java:244) ÂÂÂÂÂÂÂ at
ucar.nc2.FileWriter.writeToFile(FileWriter.java:200) ÂÂÂÂÂÂÂ at ucar.nc2.FileWriter.writeToFile(FileWriter.java:65) ÂÂÂÂÂÂÂ at ucar.nc2.iosp.grib.Grib2Netcdf.main(Grib2Netcdf.java:87) I assume the error has something to do with the fact that this
is ensemble mean output. Is there any way to get this to decode? Thanks for any help as always! -Charles |
| Contact Us Site Map Search Terms and Conditions Privacy Policy Participation Policy | ||||||
|
||||||