data#

class airtrafficsim.server.data.Data#

Methods

get_era5_rain(file, lat1, long1, lat2, ...)

Get the ERA5 rain data image to client

get_era5_wind(file, lat1, long1, lat2, ...)

Get the ERA5 wind data image to client

get_nav(lat1, long1, lat2, long2)

Get the navigation waypoint data given

get_radar_img(file, lat1, long1, lat2, ...)

Get the radar data image to client

static get_nav(lat1, long1, lat2, long2)#

Get the navigation waypoint data given

Parameters:
lat1float

Latitude (South)

long1float

Longitude (West)

lat2float

Latitude (North)

long2float

Longitude (East)

Returns:
{}

JSON CZML file of navigation waypoint data

static get_era5_wind(file, lat1, long1, lat2, long2, time)#

Get the ERA5 wind data image to client

Parameters:
lat1float

Latitude (South)

long1float

Longitude (West)

lat2float

Latitude (North)

long2float

Longitude (East)

Returns:
{}

JSON CZML file of ERA5 wind data image

static get_era5_rain(file, lat1, long1, lat2, long2, time)#

Get the ERA5 rain data image to client

Parameters:
lat1float

Latitude (South)

long1float

Longitude (West)

lat2float

Latitude (North)

long2float

Longitude (East)

Returns:
{}

JSON CZML file of ERA5 rain data image

static get_radar_img(file, lat1, long1, lat2, long2, time)#

Get the radar data image to client

Parameters:
lat1float

Latitude (South)

long1float

Longitude (West)

lat2float

Latitude (North)

long2float

Longitude (East)

timestring

Time in ISO format

filestring

File name of the radar image

Returns:
{}

JSON CZML file of radar data image