Package: zygrib
Version: 3.9.2-1
Severity: wishlist

[filed here because I can't find a tracker at zygrib.org]

Hi,

I'm trying to open a GRIB file from NOAA, but I get the following
error message in a pop-up:

"""
File :narr-a_221_20101031_0000_000.grb
Can't open file.
It's not a GRIB file,
or it contains unrecognized data,
or...
[OK]
"""

and in the terminal:
"""
DBG MblueReader.cpp: 36: openFile(): MblueReader::loadFile 
'/home/hamish/grib/narr-a_221_20101031_0000_000.grb'
DBG Terrain.cpp: 563: loadMeteoDataFile(): ERROR: unknown file type
"""


file was downloaded/extracted from here:
http://nomads.ncdc.noaa.gov/cgi-bin/ncdc-ui/define-collection.pl?model_sys=narr&model_name=narr-a&grid_name=221


It works with `gdal_translate` from 'gdal-bin' and also `grib_dump`
from the 'libgrib-api-tools' package and is from a reputable source.
Also seems to work with the "degrib.tar.gz" software from NOAA.


NOTE: the file is in Lambert Conformal Conic map projection, not Lat/Lon.
that may be the problem..?


gdalinfo says:
{{{
Driver: GRIB/GRIdded Binary (.grb)
Files: narr-a_221_20101031_0000_000.grb
Size is 87, 90
Coordinate System is:
PROJCS["unnamed",
    GEOGCS["Coordinate System imported from GRIB file",
        DATUM["unknown",
            SPHEROID["Sphere",6371200,0]],
        PRIMEM["Greenwich",0],
        UNIT["degree",0.0174532925199433]],
    PROJECTION["Lambert_Conformal_Conic_2SP"],
    PARAMETER["standard_parallel_1",50],
    PARAMETER["standard_parallel_2",50],
    PARAMETER["latitude_of_origin",0],
    PARAMETER["central_meridian",-107],
    PARAMETER["false_easting",0],
    PARAMETER["false_northing",0]]
Origin = (892469.734211085014977,4525707.481063516810536)
Pixel Size = (32463.000000000000000,-32463.000000000000000)
Corner Coordinates:
Upper Left  (  892469.734, 4525707.481) ( 97d36'26.84"W, 34d11'13.22"N)
Lower Left  (  892469.734, 1604037.481) (100d20'11.78"W, 10d46'29.53"N)
Upper Right ( 3716750.734, 4525707.481) ( 70d47'49.87"W, 26d50'32.01"N)
Lower Right ( 3716750.734, 1604037.481) ( 80d21'45.44"W,  6d16'35.14"N)
Center      ( 2304610.234, 3064872.481) ( 87d15'51.14"W, 19d54'40.44"N)
Band 1 Block=87x1 Type=Float64, ColorInterp=Undefined
  Description = 10[m] HTGL (Specified height level above ground)
  Metadata:
    GRIB_UNIT=[m/s]
    GRIB_COMMENT=u-component of wind [m/s]
    GRIB_ELEMENT=UGRD
    GRIB_SHORT_NAME=10-HTGL
    GRIB_REF_TIME=  1288483200 sec UTC
    GRIB_VALID_TIME=  1288483200 sec UTC
    GRIB_FORECAST_SECONDS=0 sec
Band 2 Block=87x1 Type=Float64, ColorInterp=Undefined
  Description = 10[m] HTGL (Specified height level above ground)
  Metadata:
    GRIB_UNIT=[m/s]
    GRIB_COMMENT=v-component of wind [m/s]
    GRIB_ELEMENT=VGRD
    GRIB_SHORT_NAME=10-HTGL
    GRIB_REF_TIME=  1288483200 sec UTC
    GRIB_VALID_TIME=  1288483200 sec UTC
    GRIB_FORECAST_SECONDS=0 sec
}}}


?


thanks,
Hamish



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to