Jump to content

Extracting a dataset from GFS GRIB

Recommended Posts

  • Location: London
  • Location: London



    Is there any guidance on how one should go about extracting wind velocity vectors from an upper air dataset contained in an historical GFS GRIB over a given region? I have access to a copy of Matlab and should prefer if the raw data could be output to an Excel file if it's possible.


    Would appreciate any tips.





    Link to comment
    Share on other sites

    • 4 weeks later...
    • Replies 2
    • Created
    • Last Reply

    Top Posters In This Topic

    Top Posters In This Topic

  • Location: Pendlebury, Salford
  • Location: Pendlebury, Salford

    The Wind dataset in a GRIB file should be stored as 'U' and 'V' components.


    Extracting the Speed is then SQR(U^2 + V^2)


    Extracting the Direction a bit more complex:


    (180 / PI) * ATN( U / V)


    But then adjust the angle relative to North as follows:


    If V > 0 Add 180

    if U>0 and V<0 Add 360

    Link to comment
    Share on other sites

    • 2 weeks later...

    Create an account or sign in to comment

    You need to be a member in order to leave a comment

    Create an account

    Sign up for a new account in our community. It's easy!

    Register a new account

    Sign in

    Already have an account? Sign in here.

    Sign In Now

    • Create New...