This is a sample project to solve a problem parsing METAR report strings.
To setup the project, you'll need to clone this repository and install the dependancies with the following commands.
git clone https://github.com/glounder/metar-reports
cd metar-reports
npm install
To run the project, run the command below in the metar-reports directory. Once it is done, you can view the UI by visiting http://127.0.0.1:8080.
npm run serve
Once the UI is loaded, there are a couple of actions. The METAR report simulator will produce reports for ~20 airports every 10 minutes. The actions below will produce records from the simulator.
Pollwhen enabled, the page will poll the simulator every 5 seconds and fetch an hour of reports.Next Hourwill load reports for the next hour.Next 24 Hourswill load reports for the next 24 hours.Next 31 Dayswill load reports for the next 31 days. This will load over 100,000 records.