GeoJSON Service Help

Graphical AIRMETs

Location: /cgi-bin/json/GairmetJSON.php

This script will create GeoJSON output using data from the ADDS database. The latest set of US Graphical AIRMETs are returned. Here is sample output:

{ "type": "FeatureCollection",
    "features": [
    { "type": "Feature",
      "id": "17394-9",
      "properties": {
          "data": "GAIRMET",
          "product": "SIERRA", 
          "hazard": "IFR", 
          "dueTo": "CIG BLW 010/VIS BLW 3SM PCPN/BR/FG", 
          "issueTime": "2019-12-30T14:45:00Z", 
          "validTime": "2019-12-30T21:00:00Z", 
          "forecast": "6"
      },
      "geometry": {
          "type": "Polygon",
          "coordinates": [
              [[-70.86,45.33],[-67.07,41.48],[-66.93,38.91],[-70.31,38.17],
          [-72.46,38.19],[-74.21,36.72],[-75.57,36.57],[-75.14,38.84],
          [-77.13,40.55],[-74.76,44.17],[-72.47,44.28],[-70.86,45.33] ] ]
      } 
    },
    { "type": "Feature",
        "id": "17394-19",
        "properties": {
            "data": "GAIRMET",
            "product": "SIERRA", 
            "hazard": "IFR", 
...

The properties output from the script are:

  • hazard - TURB-HI, TURB-LO, ICE, IFR, MT_OBSC, SFC_WIND, LLWS, FZLVL
  • severity - integer severity value (typically 1 or 2)
  • base - Lowest level G-AIRMET is valid in 100s feet
  • top - Highest level G-AIRMET is valid in 100s feet
  • validTime - ISO 8601 formatted date and time when G-AIRMET is valid
  • due_to - Additional information for advisory

The script can be passed parameters via command line or through CGI REQUEST. The parameters to the script include:

  • type=type - Specifies the type of AIRMET to return. Possible values are: turb-hi, turb-lo, llws, sfc-wind, icing, ifr, mtn, fzlvl, all. The default is all.
  • top=### - Specifies top altitude in 100s feet for G-AIRMET. The default is no top.
  • bottom=### - Specifies bottom altitude in 100s feet for G-AIRMET. The default is no top.
  • level=### - Specifies altitude in 100s feet for G-AIRMET. The default is no level.
  • fore=# - This sets the forecast time in hours. Valid times are 0, 3, 6, 9 and 12. Since these are issued every 6 hours, the 0 and 3 hour forecasts might be in the past. The default is 0.
  • jsonp=callback - This sets the callback function to be used in a JSONP call. This is just when the script is called on another server. The default is null which outputs straight JSON.