Skip to content

ResourceDataInc/rvr

Repository files navigation

RVR

Build Status NPM Version Coverage

Get Runway Visual Range (RVR) values for airports from http://rvr.fly.faa.gov.

Installation

npm install --save rvr

Usage

const rvr = require('rvr')

rvr('LAX').then(result => console.log(JSON.stringify(result, null, 2)))

Output:

{
  "airportId": "LAX",
  "lastUpdated": {
    "date": "06/21/2018",
    "time": "22:35:39"
  },
  "rvrValues": [
    {
      "RWY": "07R",
      "TD": "6500 ",
      "MP": "6500 ",
      "RO": "6500 ",
      "E": "0",
      "C": "0"
    },
    {
      "RWY": "25L",
      "TD": "6500 ",
      "MP": "6500 ",
      "RO": "6500 ",
      "E": "0",
      "C": "0"
    },
    {
      "RWY": "07L",
      "TD": "6500 ",
      "MP": "6500 ",
      "RO": "6500 ",
      "E": "0",
      "C": "0"
    },
    {
      "RWY": "25R",
      "TD": "6500 ",
      "MP": "6500 ",
      "RO": "6500 ",
      "E": "0",
      "C": "0"
    },
    {
      "RWY": "06R",
      "TD": "6500 ",
      "MP": "6500 ",
      "RO": "6500 ",
      "E": "0",
      "C": "0"
    },
    {
      "RWY": "24L",
      "TD": "6500 ",
      "MP": "6500 ",
      "RO": "6500 ",
      "E": "0",
      "C": "0"
    },
    {
      "RWY": "06L",
      "TD": "6500 ",
      "MP": "6500 ",
      "RO": "6500 ",
      "E": "0",
      "C": "0"
    },
    {
      "RWY": "24R",
      "TD": "6500 ",
      "MP": "6500 ",
      "RO": "6500 ",
      "E": "0",
      "C": "0"
    }
  ]
}

API

rvr(airportId)

rvr.fetch(airportId)

airportId

Type: string

Description: A 3-letter IATA airport code.

License

MIT © Forrest Desjardins