svoop / aipp

AIP parser to convert AIP publications to AIXM or OFMX
https://bitcetera.com
MIT License
10 stars 2 forks source link

Add hacksheet for malformed NOTAM #25

Closed svoop closed 1 year ago

svoop commented 2 years ago

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.

svoop commented 1 year ago

Implemented using the term "crossloading".