Skip to content

Latest commit

 

History

History
101 lines (78 loc) · 4.78 KB

README.md

File metadata and controls

101 lines (78 loc) · 4.78 KB

VertiPlaceGWC

Python Version LinkedIn Website

1. Introduction

VertiPlaceGWC is a software solution that correlates hourly weather data available at the climate scale, given geography and VTOL specifications, to query and perform customized Operability Analysis for the positioning of Vertiports.

Note: This GitHub repository focuses on the API of VertiPlaceGWC. For access to the GUI, please visit our website directly.

Screenshot 2023-05-24 140840

2. Obtaining API Key

To access the VertiPlaceGWC data through the API, you will need an API key. Please contact our sales team at info@dm-airtech.com to obtain your API key.

3. Usage

To run the VertiPlaceGWC Python API, follow the steps below:

  1. Clone the VertiPlace repository from Github to your local machine by running the following command:
git clone https://github.com/DM-AirTech/VertiPlace.git
  1. Install the required packages:
pip install -r requirements.txt
  1. Change your current directory to the VertiPlace directory:
cd VertiPlace
  1. Run the main.py file from the terminal, supplying the necessary arguments. An example is shown below:
python3 main.py --api_key API_KEY --lat=34.052238 --lon=-118.243344 --gust=10.3 --t_min=-6.7 --t_max=42 --rain=25 --hours=12 --seasons=1     

Make sure to replace API_KEY with your actual API key.

The usage for each parameter can be found using the help command: python main.py --help

CLI (Python3) for VertiPlace2.1

options:
  -h, --help         show this help message and exit
  --api_key API_KEY  API key for VertiPlace2.1 (contact: info@dm-airtech.com) (default: None)
  --lat LAT          Latitude of the location (float value) (default: None)
  --lon LON          Longitude of the location (float value) (default: None)
  --w10 W10          average wind resistance at 10m (in m/s) (default: None)
  --w100 W100        average wind resistance at 100m (in m/s) (default: None)
  --gust GUST        gust wind resistance (in m/s) (default: None)
  --rain RAIN        rain resistance (in m/s) (default: None)
  --t_min T_MIN      minimum temperature resistance (in degrees) (default: None)
  --t_max T_MAX      maximum temperature resistance (in degrees) (default: None)
  --p_alt P_ALT      pressure altitude limit (in hPa) (default: None)
  --min_fl MIN_FL    minimum flight level above ground (in m) (default: None)
  --min_vis MIN_VIS  minimum visibility (in m) (default: None)
  --min_cbh MIN_CBH  minimum cloud base height above ground level (in m) (default: None)
  --icing ICING      accound for icing conditions (0=no or 1=yes) (default: None)
  --hours HOURS      Comma-separated list of integers from 1 to 24 to represent hours of the day (default:
                     0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24)
  --seasons SEASONS  Comma-separated list of integers from 1 to 4 to represent quarters of the year (default: 1,2,3,4)

This will output a description and usage for each argument.

Remember that in addition to the required parameters (api_key, lat, lon, hours, seasons), you must provide at least one of the following: w10, w100, gust, rain, t_min & t_max (both together), p_alt & min_fl (both together), min_vis, min_cbh, icing.

4. Output

Below is an example of the output received based on the example input used in the previous section:

Operability=86.04%
h3_index=8529a1d7fffffff

4. Visualization

Run the main.py with the visualize flag and delta to visualize the radar chart. An example is shown below.

python3 main.py --api_key API_KEY --city "Los Angeles, Chicago" --visualize "radar" --delta 0 0.1 0.2 --gust=10 --w10=12 --w100=14 --rain=25 --t_min=10 --t_max=40   

Note: start delta with 0 for Initial VOI.
The script will generate a radar chart and display it. It might take few minutes to generate the chart.
Here are some example charts generated:

Support

For any questions, concerns, or technical support, please reach out to our dedicated support team at info@dm-airtech.com.


© 2023 DM-AirTech. All rights reserved.