Jump to content
Thunder?
Local
Radar
Hot?
IGNORED

Extracting a dataset from GFS GRIB


Recommended Posts

Posted
  • Location: London
  • Location: London

    Hallo,

     

    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.

     

    Thanks.

     

    Weirp

    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

    Posted
  • 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
     Share

    • Storm Names: 2023 to 2024 season with Agnes, Babet and Fergus

      Where do the name suggestions come from and who gets to name a storm? A look at the various European Storm Naming groups and the list for 2023/24 starting with Agnes. Read more here

      Jo Farrow
      Jo Farrow
      Latest weather updates from Netweather

      UK Storm and Severe Convective Forecast

      UK Severe Convective & Storm Forecast - Issued 2023-09-25 20:00:48 Valid: 26/09/2023 0600 to 27/09/2023 0600 THUNDERSTORM WATCH - TUES 26 SEPT 2023 Click here for the full forecast

      Nick F
      Nick F
      Latest weather updates from Netweather

      Storm Agnes set to bring midweek heavy rain and gales

      The UK Met Office has named a midweek low, Storm Agnes. This is the first named storm of this autumn and has the potential to bring wild conditions with impactful winds, heavy rain and the risk of flooding. Read the full update here

      Netweather forecasts
      Netweather forecasts
      Latest weather updates from Netweather
    ×
    ×
    • Create New...