GeoJSON Service Help

AIRMETs

Location: /gis/scripts/AirmetJSON.php

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

{ "type": "FeatureCollection",
    "features": [
    { "type": "Feature",
	"properties": {
	    "icaoId": "KBOS",
	    "airSigmetType": "AIRMET",
	    "hazard": "TURB",
	    "validTimeFrom": "2013-10-25T20:45:00Z",
	    "validTimeTo": "2013-10-26T03:00:00Z",
	    "severity": "3",
	    "altitudeLow1": 13000,
	    "altitudeHi2": 34000,
	    "rawAirSigmet": "WAUS41 KKCI 252045 \nBOST WA 252045 \nAIRMET TANGO UPDT
		3 FOR TURB VALID UNTIL 260300 \nAIRMET TURB...ME NH MA RI CT NY NJ MD
		DE VA AND CSTL WTRS \nFROM 60SSE HUL TO 200SE ACK TO 160SE SIE TO
		20NE ECG TO SIE TO \nBOS TO 60SSE HUL \nMOD TURB BTN 130 AND FL340.
		CONDS ENDG 00-03Z."
	},
	"geometry": {
	    "type": "Polygon",
	    "coordinates": [
		[[-67.29,45.12],[-67.01,38.89],[-72.44,37.20],[-75.89,36.48],
	    [-74.80,39.10],[-70.99,42.36],[-67.29,45.12] ] ]
	}
    },
    { "type": "Feature",
	"properties": {
	    "icaoId": "KBOS",
	    "airSigmetType": "AIRMET",
	    "hazard": "ICE",
	    "validTimeFrom": "2013-10-25T20:45:00Z",
	    "validTimeTo": "2013-10-26T03:00:00Z",
	    "severity": "3",
	    "altitudeLow1": 2000,
	    "altitudeLow2": 4000,
	    "altitudeHi2": 10000,
	    "rawAirSigmet": "WAUS41 KKCI 252045 \nBOSZ WA 252045 \nAIRMET ZULU UPDT 3
		FOR ICE AND FRZLVL VALID UNTIL 260300 \nAIRMET ICE...ME NH VT MA NY LO
		PA OH LE \nFROM 70NW PQI TO 60NE PQI TO 50WSW YSJ TO 40S ALB TO 40SSE
		ERI TO \n30SE ECK TO YOW TO YSC TO 70NW PQI \nMOD ICE BTN FRZLVL AND
		100. FRZLVL 020-040. CONDS CONTG BYD 03Z \nTHRU 09Z. \nOTLK VALID
		0300-0900Z...ICE NY LO PA OH LE \nBOUNDED BY 100WSW YOW-20W SYR-60SW
		SYR-20WSW SLT-20WSW JHW-30N \nCLE-30SE ECK-100WSW YOW \nMOD ICE BTN
		120 AND FL200. CONDS DVLPG 03-06Z. CONDS CONTG THRU \n09Z.
		\nFRZLVL...RANGING FROM SFC-045 ACRS AREA \n SFC ALG 40N PLB-30SSW
		YSC-50WNW MLT-20WSW PQI-30NNW PQI-50NNW \n PQI \n 040 ALG 30NNE
		GSO-30SSW SIE-150ESE ACK"
	},
	"geometry": {
	    "type": "Polygon",
	    "coordinates": [
		[[-69.31,47.59],[-67.05,47.47],[-66.97,45.00],[-73.80,42.09],
	    [-79.96,41.41],[-82.23,42.90],[-75.67,45.32],[-71.68,45.43],
	    [-69.31,47.59] ] ]
	}
    },

The properties output from the script are:

  • icaoId - ICAO ID that entered the AIRMET
  • airSigmetType - AIRMET
  • hazard - TURB, ICING, IFR, MTN OBSCN
  • validTimeFrom - ISO 8601 formatted date and time when AIRMET is first valid
  • validTimeTo - ISO 8601 formatted date and time when AIRMET ends
  • severity - integer severity value (typically 1 or 2)
  • altitudeLow1 - Lowest level AIRMET is valid in feet
  • altitudeLow2 - Secondary lowest level AIRMET is valid in feet
  • altitudeHi1 - Highest level AIRMET is valid in feet
  • altitudeHi2 - Secondary highest level AIRMET is valid in feet
  • rawAirSigmet - Raw AIRMET text

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, ice, ifr, mtn. The default is all AIRMETs.
  • top=### - Specifies top altitude in 100s feet for returned AIREPs/PIREPs. The default is no top.
  • bottom=### - Specifies bottom altitude in 100s feet for returned AIREPs/PIREPs. The default is no top.
  • date=yyyymmddhhnn - This sets the date for the AIREP/PIREP reports. This combined with the age returns all reports within that time range. The default is current time.
  • 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.

Page loaded:  21:41 UTC  |   02:41 PM Pacific  |   03:41 PM Mountain  |   04:41 PM Central  |   05:41 PM Eastern

 

ADVISORIES

FORECASTS

FORECASTS

OBSERVATIONS

USER TOOLS

ABOUT US