diego-garro / discontinued-metar-dart

Aeronautical weather reports parser METAR, coming soon TAF and SYNOPTIC

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

A library for Dart developers.

Inspired from python-metar to parse METAR data in Python Language

Usage

A simple usage example:

import 'package:metar/metar.dart';

main() {
  String metarcode = 'METAR MROC 071200Z 10018KT 3000 R07/P2000N BR VV003 17/09 A2994 RESHRA NOSIG';
  var metar = new Metar(metarcode);

  print(metar.code);
  print(metar.month);
  print(metar.year);
}

Features and bugs

Please file feature requests and bugs at the issue tracker.

Special mentions

Thanks to the work made by @yeradis, who create the package units for starting point of measurements in Dart. I took the files directly because they have an issue in angle.dart that not resolved. Hope they do it soon.

The files are in lib/src/units/ folder:

  • angle.dart
  • length.dart
  • speed.dart
  • temperature.dart

About

Aeronautical weather reports parser METAR, coming soon TAF and SYNOPTIC


Languages

Language:Dart 100.0%