James Davies
James Davies

Reputation: 114

Changing georeference or geolocation data on grib file

I have a grib file that covers a specific area of the globe (i.e. does not cover the whole world). I need to shift the latitude and longitude in it to a different area. It contains historical weather data.

I am having difficulty finding where a grib file contains it's georeference data, and how to manipulate this - I need to effectively shift every point on it 2 degrees south and 119 degrees east.

Can anyone point me in the direction of what tool I might use to do this (I'm running a mac, and have grads which I'm not confident with, panoply (which appears to view only) and wgrib.

Thanks!

Upvotes: 2

Views: 412

Answers (1)

0x1mason
0x1mason

Reputation: 757

Try grib_api/grib-tools, specifically grib_set. They should be available via homebrew. https://software.ecmwf.int/wiki/plugins/servlet/mobile#content/view/7374719

Upvotes: 1

Related Questions