This project aims to analyze the risk associated with Unmanned Aircraft System (UAS) sightings and flight data, leveraging data curation, exploratory data analysis (EDA), and potentially machine learning techniques.
The project is organized into the following main directories:
data_analysis: Contains notebooks for exploratory data analysis using PySpark.data_curation: Includes notebooks and scripts for data collection, cleaning, and preparation.mockups: Contains diagrams and images related to the project's data stack and visualizations.open_sky_api_demo: Demonstrates the use of the OpenSky Network API.pyopensky-demo: A demo notebook for interacting with the pyopensky library.src: Contains source code for reusable modules and packages.
The data_curation directory focuses on gathering and preparing the data for analysis.
-
curate_datasets.ipynb: This notebook is responsible for the ETL process of combining and cleaning the various UAS sightings datasets. -
datasets: This directory contains the raw and processed datasets used in the analysis.airports: Contains airport data in CSV and JSON formats.uas_sightings_reports:raw: Contains the original UAS sightings reports in various Excel formats (XLSX, XLS). These are the source files thatcurate_datasets.ipynbprocesses.zero_shot: Contains processed UAS sightings data in CSV and Parquet formats, likely the output of the curation process.
uasfm_grids: Contains data related to FAA UAS Facility Maps. The ZIP file likely contains geospatial data.
-
get_flight_data: This folder will contain all logic for getting flight data, and has the python script get_flight_data.py for retrieving flight data, and has the default environment variables default.env for the python script.
The data_analysis directory contains notebooks for exploring and visualizing the UAS sightings data using PySpark.
uas_risk_analysis_pyspark_eda.ipynb: This is the main notebook for exploratory data analysis, providing insights into the UAS risk.uas_risk_analysis_viz.ipynb: This notebook focuses on creating visualizations to communicate the findings of the analysis.data_analysis_aws_glue_pyspark_example.ipynb: Example of running data analysis with AWS Glue and PySpark.data_analysis_local_pyspark_example.ipynb: Example of running data analysis locally with PySpark.
The src directory contains reusable Python packages for the project.
uas_risk_analysis_packages:eda.py: Likely contains functions related to exploratory data analysis.ml:functions.py: Contains machine learning related functions
The mockups directory contains diagrams and images.
data_stack_diagram.drawio/data_stack_diagram.png/data_stack_diagram_final.png: Data stack diagrams illustrating the architecture of the project.res: Contains images, likely used in reports or documentation.
The project's dependencies are listed in the requirements.txt files located in the root directory and the data_curation directory. You can install them using pip:
python -m pip install -e .- Data Curation: Run the
curate_datasets.ipynbnotebook to process the raw UAS sightings data and generate the processed datasets. - Exploratory Data Analysis: Use the
uas_risk_analysis_pyspark_eda.ipynbnotebook to explore the data and identify potential risk factors. - Visualization: Utilize the
uas_risk_analysis_viz.ipynbnotebook to create visualizations of the data.
This project is licensed under the MIT License - see the LICENSE file in the root directory for details.