Skip to content

borderlessboy/Notam_Translator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

NOTAM Translator

This project provides a Python module for parsing and translating NOTAM (Notice to Airmen) messages.

Installation

To use this project, you can simply clone the repository or download the code and run it on your local machine.

Usage

To use the notam_translator module, you can follow these steps:

  1. Import the notam_translator module:

    import notam_translator
  2. Call the parse_notam function to parse a NOTAM message and extract relevant information:

    parsed_info = notam_translator.parse_notam(notam_message)

    The parse_notam function takes a NOTAM message as input and returns a dictionary containing the extracted information.

  3. Call the create_readable_message function to create a human-readable message from the parsed NOTAM information:

    readable_message = notam_translator.create_readable_message(parsed_info)

    The create_readable_message function takes the dictionary returned by parse_notam and returns a human-readable message summarizing the NOTAM information.

  4. Print the readable message:

    print(readable_message)

Example

Here's an example of how to use the notam_translator module:

import notam_translator

notam_message = "NOTAMN\nQ) KJFK/J101\nE) TEST NOTAM\nB) 2101010000\nC) 2101010000\nD) SFC\nF) ABOVE\nG) FL200\nH) ALL TRAFFIC\nI) EXERCISE\nJ) TEST\nK) TEST\nL) TEST\nM) TEST\nN) TEST\nO) TEST\nP) TEST\nR) TEST\nS) TEST\nT) TEST\nU) TEST\nV) TEST\nW) TEST\nX) TEST\nY) TEST\nZ) TEST\n/\n"

parsed_info = notam_translator.parse_notam(notam_message)
readable_message = notam_translator.create_readable_message(parsed_info)
print(readable_message)

This example demonstrates how to use the notam_translator module to parse a NOTAM message and create a human-readable message.

Contributing

Contributions are welcome! If you find any issues or have suggestions for improvements, please open an issue or submit a pull request.

License

This project is licensed under the MIT License. See the LICENSE file for details.


Feel free to modify the `README.md` file to include any additional information or instructions specific to your project.

About

A Python module for parsing and translating NOTAM (Notice to Airmen) messages into human-readable format. This project provides a simple and efficient way to extract relevant information from NOTAM messages, making it easier for pilots, air traffic controllers, and other aviation professionals to understand and act on critical safety information.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages