[gdal-dev] Re: Warping ECMWF's grib file

Frank Warmerdam warmerdam at pobox.com
Tue Mar 29 12:13:26 EDT 2011


On 11-03-29 06:44 AM, António Rocha wrote:
> Driver: GRIB/GRIdded Binary (.grb)
> Files: c:\Test_areas\area8.grib
> Size is 15, 5
> Coordinate System is:
> GEOGCS["Coordinate System imported from GRIB file",
> DATUM["unknown",
> SPHEROID["Sphere",6367470,0]],
> PRIMEM["Greenwich",0],
> UNIT["degree",0.0174532925199433]]
> Origin = (169.500000000000000,6.000000000000000)
> Pixel Size = (1.500000000000000,-1.500000000000000)
> Corner Coordinates:
> Upper Left ( 169.5000000, 6.0000000) (169d30' 0.00"E, 6d 0' 0.00"N)
> Lower Left ( 169.5000000, -1.5000000) (169d30' 0.00"E, 1d30' 0.00"S)
> Upper Right ( 192.000, 6.000) (192d 0' 0.00"E, 6d 0' 0.00"N)
> Lower Right ( 192.000, -1.500) (192d 0' 0.00"E, 1d30' 0.00"S)
> Center ( 180.7500000, 2.2500000) (180d45' 0.00"E, 2d15' 0.00"N)
>
> So it seems some kind of a conflict with the coordinates. Right? Any tip on how
> to solve it?
> Thanks
>
> António Rocha wrote:
>> Greetings
>>
>> I have a GRIB file with longitude between 170 and 190 (attached to this
>> email) and, when I try to warp it to Geotiff the outcome cannot be displayed.
>> Can anyone give me a tip on how to warp this file? (the problem is not the
>> grib but the longitude coordinates)

Antonio,

The first email did not come through, likely due to a large attachment.
Can you make the file you tried available by http, and post the exact
command you used to transform it?  There are various complexities with
files crossing the dateline but I'd like to have the real file and command
to test before trying to respond.

Best regards,
-- 
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up   | Frank Warmerdam, warmerdam at pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush    | Geospatial Programmer for Rent



More information about the gdal-dev mailing list