Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

aerofly-weather

fboes124MIT1.0.4

Copy METAR information into Aerofly FS2.

aerofly-fs2, flight, simulator, metar, weather, api, cli, checkwx

readme

AeroWX - METAR weather importer for Aerofly FS 2

Deprecation notice: Aerofly Weather (AeroWX) has been deprecated in favour of the Aerofly-Wettergerät.

Copy METAR weather information into IPCAS' Aerofly FS 2.

The AeroWX tools will copy the following METAR weather information to your configuration file while Aerofly FS 2 is not running:

  • Time and day (will set the year and month to current year and month because they are not present in METAR information)
  • Wind & turbulences
  • Thermal activity
  • Clouds (height & density)

The METAR weather information can be supplied manually, or can be fetched from an URL.

AeroWX is capable of setting weather values which you cannot access in Aerofly FS 2. This is tested and is done deliberately. Please supply feedback in case of any strange effects you encounter.

Installation

As of now there is only a compiled version for Windows 10.

  1. Download the current release ZIP from https://github.com/fboes/aerofly-weather/releases.
  2. Unpack the ZIP file to some sensible location.
  3. Create a shortcut on your desktop by right-clicking aerofly-weather.exe > "Send to" > "Desktop (Create shortcut)".
  4. Start the application by clicking on the desktop link.

There are separate installation instructions for the CLI tools.

Usage of the desktop app

You will need a copy of IPACS' Aerofly FS 2 which has run at least once. This creates a file called main.mcf, which contains all settings and the weather data in Aerofly FS 2. This file will be modified by the app.

Before starting the app be sure that Aerofly FS 2 is not running. On start-up the app will load the current settings from your main.mcf.

By changing the settings in the app, these values will transferred to the main.mcf right away. It also allows for changing values which are not accessible from inside Aerofly FS 2.

By entering a METAR code you can see the settings for Aerofly FS 2 being adjusted automatically. These settings will be saved to the main.mcf in an instant.

By pressing the "Fetch" button the app tries to fetch METAR data from a remote internet service for the given ICAO code. If it is successful, it will paste the METAR code and convert it into the corresponding Aerofly FS 2 values.

Important: Be sure to quit the app before starting Aerofly FS 2 to no accidentally change values while AFS2 is running and to free up memory.

In case you want to modify the location of your MCF file or the API URL, put a aewx.json file in your %userprofile%\Documents\Aerofly FS 2\ directory.

Update

Just repeat all steps for a regular installation.

Advanced usage

This package comes with a load of command line tools. These can be integrated into scripts or batch files.

Status

npm version Build Status Dependency Status devDependency Status

Author: Frank Boës

Copyright & license: See LICENSE.txt

This tool is NOT affiliated with, endorsed, or sponsored by IPACS GbR. As stated in the LICENSE.txt, this tool comes with no warranty and might damage your files.

This software complies with the General Data Protection Regulation (GDPR) as it does not collect nor transmits any personal data but for data your submit by using the CLI commands using URLs. For GDPR compliance of these services refer to the legal statements of these services.

changelog

Change log

For detailed information check Aerofly Weather's releases on Github.

1.0.2

  • 💊 Add version number to screen

1.0.1

  • 💊 Add icon to app
  • 💊 Add support for aewx.json for configuration
  • 💊 Add extra API configuration option

1.0.0

  • 💊 Added Electron desktop app
  • 💊 Fixed thermal activity

0.6.0

  • 💣 Rename project from AEWX to AeroWX, rename CLI commands from aewx- to aerowx-, as well as global variable AEWX_URL to AEROWX_URL
  • 💣 Rename ICAO codes for flightplan substitutes to DEP / ARR
  • 💣 Update `aewx-metar-parser@0.10.0` and change properties accordingly
  • 🎁 aewx-metar-fetch & aewx-metar-url CLI commands accept common JSON patterns, making it compatible with AVWX
  • 🎁 Add option --apikey to URL CLI commands to send HTTP header X-API-Key

0.5.3

  • 🎁 Improve shell output, making it more readable

0.5.2

  • 🎁 Add icon
  • 🎁 Improve documentation

0.5.1

  • 🎁 VRB in METAR now makes for a random wind direction
  • 🎁 Substitute ICAO code XXXX / YYYY with departure / arrival codes found in currently active flightplan
  • 🎁 Add aewx-metar-fetch CLI command for fetching METAR from URL
  • 🎁 VRB in METAR now makes for turbulence in Aerofly FS 2
  • 💊 Fix conversion for kilopascal to millibar
  • 💊 Set max wind speed in Aerofly FS 2 to 16 knots and max visibility to 30km
  • 💊 Set min temperature for thermal activity in Aerofly FS 2 to 5°C

0.5.0

  • 💣 Rename CLI commands from aerofly- to aewx-
  • 🎁 Get ICAO code from Aerofly FS 2 flightplan destination
  • 🎁 --flightplan deletes flightplan in Aerofly FS 2 if it does not match METAR
  • 🎁 Add some humidity - but ignore it as of now
  • 🎁 Shell commands now ask for missing parameters
  • 💊 METAR parser now reads KPH
  • 💊 Fix conversion for m/s to knots

0.4.1

  • 🎁 Consider weather conditions for Aerofly turbulences
  • 💊 Fix broken batch files

0.4.0

  • 🎁 Support weather conditions in METAR code
  • 💊 Improve installation, switching to desktop batch file as preferred method
  • 💊 Support CAVOK in METAR code

0.3.0

  • 💣 Changed internal METAR object structure to match https://api.checkwx.com/#31-single
  • 🎁 Add CLI parameters --time=<X> and --date=<X>
  • 🎁 Add General Data Protection Regulation (GDPR) compliance statement
  • 🎁 Add examples for desktop integration
  • 🎁 Add aerofly-make-batch to add desktop shortcut for aerofly-metar
  • 💊 Maximum possible values match Aerofly FS 2 settings
  • :wrench: Improve internal documentation and structure

0.2.0

  • 🎁 Add aerofly-checkwx to directly get responses from https://api.checkwx.com
  • 🎁 Add CLI parameters like --hours, --verbose and --help
  • 💊 Add support for VRB wind direction

0.1.0

  • 🎁 Enable aerofly-metar-url to fetch from URLs
  • 🎁 Update installation / update instructions

0.0.1

  • 🎁 Initial commit