Understanding the data folder#

After initialising AirTrafficSim with airtrafficsim --init <folder path>, the airtrafficsim_data/ alias folder is created at the user-specified location which links to the airtrafficsim/data/ folder. There are 7 folders inside to provide and save information from AirTrafficSim. This page will explain the purpose of these folders.

To create a new simulation, you should create a new simulation environment file in airtrafficsim_data/environment/ following the Creating a simulation environment guide. When a simulation is finished, the result will be saved to airtrafficsim_data/result/.

See also

If you want to understand the full project structure of AirTrafficSim, please visit Understanding the project structure.

airtrafficsim_data 📁#

 client 📁#

    The client folder stores the pre-compiled build of AirTrafficSim’s web client which is compressed in a zip file build.zip. After using AirTrafficSim for the first time, the web client will be unzipped into the airtrafficsim_data/client/build folder for the AirTrafficSim’s backend server to serve the client code to users to open in the browser.

 environment 📁#

 flight_data 📁#

    The flight_data folder stores user-provided historical flight trajectory data. A sample data set of arrival flights to Hong Kong International Airport (VHHH) on 01 MAY 2018 from FlightRadar24 is included. To provide your own flight data, please open a folder and stores the CSV files with each CSV file representing each flight and named as its flight number. The CSV files should have a header with at least the following parameters to replay the flights:

    Parameters

    Details

    Types

    timestamp

    Unix/Epoch time in seconds (10-digit)

    float

    lat

    Latitude (degree)

    float

    long

    Longitude (degree)

    float

    alt

    Altitude (meter)

    float

    gspeed

    Ground speed (knot)

    float

    Two additional parameters are needed for AirTrafficSim to convert the historical flight data to a simulation environment automatically as explained in this tutorial.

    Parameters

    Details

    Types

    hangle

    Heading angle (degree)

    float

    Aircraft_model

    ICAO Aircraft Type Designators

    string

    Note

    Please note that each data set should have its own folder.

 performance 📁#

    The performance folder is intended to contain any necessary data for different aircraft performance models. To use the BADA 3.15 performance model, the BADA aircraft Performance data should be extracted to the airtrafficsim/performance/BADA folder. The data is not included during installation due to licensing requirements but it is obtainable at eurocontrol website.

 result 📁#

    The result folder contains the output files from the simulation. The result of each simulation is stored in a folder with this naming convention <Environment name>-<real world start time of simulation in UTC>. In each folder, there is a master .csv file with the same name that includes every flight in the simulation.

 weather 📁#

    The weather folder is empty by default. It serves as the directory to store ECMWF ERA5 data in airtrafficsim_data/weather/era5 when you selected to download such data for simulation. It also stores user-provided radar images in airtrafficsim_data/weather/radar as high-resolution convective weather data. The provided radar images should be stored in a folder named after the environment name.