<commit_before>metar - Downloads and parses weather status
===========================================

The information comes from the National Oceanic and Atmospheric Association's raw data source.

Implementation
==============

* Parses METAR strings using a state machine.

Usage
=====

```ruby
require 'rubygems' if RUBY_VERSION < '1.9'
require 'metar'
```

Examples
========

Hello World
-----------

This prints the latest weather report for Portland International Airport:

```ruby
station = Metar::Station.find_by_cccc( 'KPDX' )
puts station.report.to_s
```

Countries
---------

```ruby
# List countries:
puts Metar::Station.countries

# Find a country's weather stations:
spanish = Metar::Station.find_all_by_country( 'Spain' )
```<commit_msg>README tweak<commit_after>metar - Downloads and parses weather status
===========================================

The information comes from the National Oceanic and Atmospheric Association's raw data source.

Implementation
==============

* Parses METAR strings using a state machine.

Usage
=====

```ruby
require 'rubygems' if RUBY_VERSION < '1.9'
require 'metar'
```

Examples
========

Hello World
-----------

This prints the latest weather report for Portland International Airport:

```ruby
station = Metar::Station.find_by_cccc( 'KPDX' )
puts station.report.to_s
```

Countries
---------

List countries:

```ruby
puts Metar::Station.countries
```

Find a country's weather stations:

```ruby
spanish = Metar::Station.find_all_by_country( 'Spain' )
```
{'fraction_non_alphanumeric': 0.2017139090309822, 'fraction_numerical': 0.0026367831245880024, 'mean_word_length': 4.883720930232558, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 2, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6550693', 'n_tokens_mistral': 478, 'n_tokens_neox': 433, 'n_words': 140}