NCM Logo

Wind Barbs Request

You only need to specify this style URL in your client and it will automatically know what other URLs request for other resources such as vector tiles and wind barbs icons:

https://api-mm.ncm.gov.sa/mvt/barbs/<parameter>/style.json?<optionals>

Only wind speed in knots are supported, for example:

For example, below is the result for https://api-mm.ncm.gov.sa/mvt/barbs/wind_speed_100hPa:kn/style.json?datetime=now

And for a colored version https://api-mm.ncm.gov.sa/mvt/barbs/wind_speed_100hPa:kn/style.json?datetime=now&color=true

Mandatory Fields

FieldDescriptionValueExample
parameter The parameter for which you want to retrieve the symbols. Available is wind_speed_<level>:kn.
Available altitude levels: 2m - 20000m (continuously), 5ft - 65000ft (continuously)
Available pressure levels (global): 1000hPa, 950hPa, 925hPa, 900hPa, 850hPa, 800hPa, 700hPa, 500hPa, 300hPa, 250hPa, 200hPa, 150hPa, 100hPa, 70hPa, 50hPa, 10hPa
Available flight levels (global): FL20, FL50, FL100, FL140, FL180, FL240, FL300, FL340, FL390, FL450
String with the parameter name and unit separated by either a colon or a slash. wind_speed_100hPa:kn, wind_speed_10m:kn

Optional Fields

Optional fields can be attached to the query string as follows:

https://...?option_name=<option_value>&...

The following table describes all optional parameters:

FieldDescriptionValueExample
color Whether to color the wind barbs according to the wind speed colormap. String. Default: false color=true
datetime Date for which the vector data is retrieved. Dates and times are specified according to the ISO-8601 format (YYYY-MM-DDThh:mm:ssZ). All times are in UTC. Note that the part containing time specifications (Thh:mm:ss) is optional. The default setting is now. For more details see Date/Time Description 2018-04-12T12:45Z
source This parameter is used to select a specific source (model) for weather data. String. Default: mix ecmwf-ifs, ncep-gfs, ukmo-um10, etc.
resolution Controls the density of weather symbols per tile. Two doubles or two integers: <resolution_lat>,<resolution_lon> or <number_lons>x<number_lats> resolution=0.1,0.1, resolution=400x300
access_token Instead of basic authentication, you can opt to use OAuth authentication as described here: OAuth Authentification String. eyJhbGciOicCI6 ... y2QT4fwpMeJ