Giter VIP home page Giter VIP logo

aipp's Introduction

Hello World! 👋

I love to code ever since I came across Pascal as a kiddo. A few programming languages and the rise of the Interweb later, PHP paid the bills, but almost killed all the fun. Enter Ruby in the mid 2000s where I found my coder happiness again. And when in need of speed, Crystal is my weapon of choice these days.

This goes to all the Ruby doomsday prophets: Please take a look at how contributions to Matz' standard Ruby implementation evolve before you even think about writing yet another one of those those annoying "10 reasons why Ruby is dead" clickbaits.

Aside from my bread-and-butter works, I regularly create new or contribute to existing open-source projects. Here's a list of my current source repos on GitHub some of which are related to gliding, my favourite of hobbies.

Thank you for supporting free and open-source software by sponsoring me here on GitHub or on Donorbox. Any gesture is appreciated, from a single Euro for a ☕️ cup of coffee to 🍹 early retirement.

svoop's github stats

aipp's People

Contributors

svoop avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

basbis851 chssn

aipp's Issues

Displaced threshold

Displaced threshold shown as 0, but official charts and runway distance tables show otherwise.

LFMN

Screen Shot 2019-08-10 at 21 11 21

Reported by Stijn

Navaids missing

  • Not all navaids are shown. E.g. below, CGS VOR-DME seems missing.
  • (Official charts show helicopter waypoints in different colour. OFM shows them all in same formatting. This is not a big deal, but perhaps good to know for you.)

LFMN

Screen Shot 2019-08-10 at 21 17 21

Reported by Stijn

Patched errors reported to SIA for @2004

  • ENR-5.4 – l'obstacle 10051 est un double de l'obstacle 10020
  • ENR-5.4 – l'obstacle 55050 est un double de l'obstacle 55008
  • ENR-5.4 – l'obstacle 80088 est un double de l'obstacle 88083

Magnetic bearing

Check magnetic bearing. On official charts, QFU (i.e. magnetic RWY direction) is 223°. Perhaps magnetic variation is applied incorrectly?

Screen Shot 2019-08-10 at 21 05 08

(LFMN?)

Reported by Stijn

Duplicate CTR

2 CTRs shown for LFQQ although there is only one according to the AIP France

Reported by Stijn

Add hacksheet for malformed NOTAM

Some NOTAM are syntactically broken such as:

# B0248/22 – missing comma between time ranges
D) 20 1205-1212 21 1201-1208 22 1157-1204

# B1008/22 – missing comma between time ranges
D) 18 20 0800-1600 21 0830-1600

# B1031/22 – missing dash in time range
D) 0900-1000 1130 1430

To override such upstream errors, a new CLI argument which passes a hacksheet should be added. The hacksheet defines fixes which will be applied after a matching NOTAM is downloaded and before it is parsed.

Patched errors reported to SIA on 2020-03-03

J'ai encore trouvé des doublets sur ENR-5.4 :

  • ENR-5.4 – obstacle 51076 est identique à 51078
  • ENR-5.4 – obstacle 52055 est identique à 52054
  • ENR-5.4 – obstacle 59000 est identique à 59039
  • ENR-5.4 – obstacle 72039 est identique à 72037

LF Maps 1:500k

lf

LF01:
  Provence-Alpes-Côte d'Azur
  (Marseille, Nice)
LF02:
  Occitanie
  (Toulouse, Montpellier)
LF03: 
  Acquitaine, Midi-Pyrénées
  (Biarritz, Pau)
LF04:
  Limousin
  (Limoges, Clermont-Ferrand)
LF05:
  Rhône-Alpes
  (Lyon)
LF06:
  Bourgogne-Franche-Comté
  (Dijon)
LF07:
  Centre-Val de Loire
  (Orleans)
LF08:
  Pays de la Loire
  (Nantes)
LF09:
  Bretagne / Brittany
  (Rennes)
LF10:
  Île-de-France, Normandie / Normandy
  (Paris)
LF11:
  Grand Est
  (Strasbourg)
LF12:
  Hauts-de-France
  (Beauvais, Lille)
LF13:
  Poitou Charentes
  (Bordeaux, La Rochelle)
LF14:
  Corse / Corsica
  (Ajaccio, Bastia)

Include obstacles announced via NOTAM

Some (temporary) obstacles are included as NOTAM navigational warnings (ID begins with the letter "W") such as the following:

W1674/22 NOTAMN
Q) LSAS/QXXXX/V/NBO/AW/000/076/4622N00700E001
A) LSEY B) 2210070700 C) 2211062359 EST
E) HIGHLINE OBST ERECTED 3.9 KM NNW HLP LEYSIN, BTN TOUR D AI AND TOUR DE MAYEN, RADIUS 0.5 KM (462225N0070017E RADIUS 0.3 NM).
MARKED WITH 6 WINDSOCKS.
MAX ALT UP TO 174 M AGL / 571 FT AGL, 2312 M AMSL / 7585 FT AMSL.
F) GND
G) 7600FT AMSL

(In this case, the "highline" seems to be a slackline across a valley.)

Manifest

Create a CSV manifest upon every export and store it along with the other meta data:

feature,uid_hash,hash
Dme,827f741b-13bf-4841-9dfd-69e8436d5a4e,9f232443-8079-478b-8617-82e159e056e6

The CSV lines must be sorted alphabetically which allows for manifests to be diffed in order to find modifs between exports.

Patched errors reported to SIA for @2003

  • ENR-5.4 – l'obstacle 25020 est présent deux fois
  • ENR-2.1 – "SIV IROISE partie 4" : il manque l'organisme (probablement "APP IROISE")
  • ENR-2.1 – " SIV TOULOUSE partie 3.1" : il manque la fréquence (probablement "121.250")

  • ENR-5.4 – obstacle 51076 est identique à 51078
  • ENR-5.4 – obstacle 52055 est identique à 52054
  • ENR-5.4 – obstacle 59000 est identique à 59039
  • ENR-5.4 – obstacle 72039 est identique à 72037

IFR traffic

Airport information to be added. Traffic type is currently shown as VFR only, but obviously LFMN also accepts IFR traffic.

Screen Shot 2019-08-10 at 21 03 25

Reported by Stijn

Quoting error for LS SHOOT

As of 2023-08-13, a quoting error in the upstream CSV causes AIPP to fail:

ERROR: Illegal quoting in line 488.

The offending line:

BSZ;"4203.080";20230822;0700;2000;"A - F";"";[https://www.vtg.admin.ch/content/vtg-internet/de/aktuell/mitteilungen/schiessanzeigen.zensa_pdf.pdf/8776.pdf;https://www.vtg.admin.ch/content/vtg-internet/fr/aktuell/mitteilungen/schiessanzeigen.zensa_pdf.pdf/8776.pdf;https://www.vtg.admin.ch/content/vtg-internet/it/aktuell/mitteilungen/schiessanzeigen.zensa_pdf.pdf/8776.pdf;https://www.vtg.admin.ch/content/vtg-internet/en/aktuell/mitteilungen/schiessanzeigen.zensa_pdf.pdf/8776.pdf;Blindgänger](https://www.vtg.admin.ch/content/vtg-internet/de/aktuell/mitteilungen/schiessanzeigen.zensa_pdf.pdf/8776.pdf;https://www.vtg.admin.ch/content/vtg-internet/fr/aktuell/mitteilungen/schiessanzeigen.zensa_pdf.pdf/8776.pdf;https://www.vtg.admin.ch/content/vtg-internet/it/aktuell/mitteilungen/schiessanzeigen.zensa_pdf.pdf/8776.pdf;https://www.vtg.admin.ch/content/vtg-internet/en/aktuell/mitteilungen/schiessanzeigen.zensa_pdf.pdf/8776.pdf;Blindg%C3%A4nger) Sprengung, Aufräumaktion "SÄNTIS 23";;;;;0;0

Quoting is wrong in field:

;Blindg%C3%A4nger) Sprengung, Aufräumaktion "SÄNTIS 23";

Duplicate frequencies

The same frequencies are repeated 4 times in each of these TWR - TWR boxes, see LFMN.

Reported by Stijn

Patched errors reported to SIA for @2307

The database dump contains a weird, most likely faulty entry on line 475116:

<Rwy pk="300036" lk="[LF][QE][TWY C1 ]">
  <Ad pk="42" lk="[LF][QE]"/>
  <Rwy>TWY C1</Rwy>
  <Lda1>920</Lda1>
</Rwy>

A query has been issued to SIA, meanwhile, we skip this entry.

TMA Lille 1.1 depicted twice

TMA 1.1 depicted twice, even though only 1 should be shown according to AIP France (highlighted part is not correct)

Screen Shot 2019-08-10 at 21 31 15

Reported by Stijn

ERROR: uninitialized constant AIPP::LF::Helpers::Base

Hey,

Not sure if you're still developing this however, when I'm trying to run "aip2ofmx -r LF" I am getting the error

"ERROR: uninitialized constant AIPP::LF::Helpers::Base"

Full backtrace is below

chris@vps:~/aipp$ aip2ofmx -r LF -e -v
/var/lib/gems/2.7.0/gems/aixm-0.3.10/lib/aixm/shortcuts.rb:8: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call
/var/lib/gems/2.7.0/gems/aixm-0.3.10/lib/aixm/component/timetable.rb:38: warning: The called method `initialize' is defined here
/var/lib/gems/2.7.0/gems/aixm-0.3.10/lib/aixm/shortcuts.rb:8: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call
/var/lib/gems/2.7.0/gems/aixm-0.3.10/lib/aixm/document.rb:39: warning: The called method `initialize' is defined here
Reading config.yml
Reading region LF
Reading fixture fixtures/AD-2.yml
Reading fixture fixtures/AD-3.1.yml
Reading fixture fixtures/AD-1.3.yml
Reading border borders/france_atlantic_coast.geojson
/var/lib/gems/2.7.0/gems/aixm-0.3.10/lib/aixm/shortcuts.rb:8: warning: Using the last argument as keyword parameters is deprecated; maybe ** should be added to the call
/var/lib/gems/2.7.0/gems/aixm-0.3.10/lib/aixm/xy.rb:26: warning: The called method `initialize' is defined here
Reading border borders/france_mediterranean_coast.geojson
Reading border borders/france_atlantic_territorial_sea.geojson
Reading border borders/france_ecrins_national_park.geojson
Reading helper helpers/navigational_aid.rb
ERROR: uninitialized constant AIPP::LF::Helpers::Base

Frame number: 0/8
Frame type: class

From: /var/lib/gems/2.7.0/gems/aipp-0.2.6/lib/aipp/regions/LF/helpers/navigational_aid.rb:11 :

     6:         def navigational_aid_from(tds, source:, sections:)
     7:           NavigationalAid.new(tds, source: source, sections: sections).build
     8:         end
     9:
    10:         class NavigationalAid
 => 11:           include AIPP::LF::Helpers::Base
    12:
    13:           # Map atypical navigational aid denominations
    14:           NAVIGATIONAL_AIDS = {
    15:             'vor' => 'vor',
    16:             'dme' => 'dme',

NameError: uninitialized constant AIPP::LF::Helpers::Base
from /var/lib/gems/2.7.0/gems/aipp-0.2.6/lib/aipp/regions/LF/helpers/navigational_aid.rb:11:in `<class:NavigationalAid>'
[1] pry(AIPP::LF::Helpers::NavigationalAid::NavigationalAid)>

Running aipp v0.2.6
Ruby v2.7.0p0
Ubuntu 20.04.1

Thanks

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.