Storm
class Storm
Storm represents information about registered lightnings with a specified radius of monitoring covered by the specified location.
Storm has properties describing: - lightnings (number of cloud-end-ground lightning in specified radius for a selected location) - distance (distance to the nearest registered lightning in km) - direction (direction to the nearest lightning [E, E, N, NW, W, SW, S, SE]) - period (number of minutes of time period containing the data [10, 15, 20 minutes]) - radius (radius covered by Point in km)
Methods
New Storm.
Get the number of cloud-end-ground lightning in specified radius for a selected location.
Get the distance to the nearest registered lightning.
Get direction to the nearest lightning (E, E, N, NW, W, SW, S, SE).
Get the number of minutes of time containing the data (10, 15, 20 minutes).
Details
at line 56
__construct(int $lightnings, float $distance, string $direction, int $period)
New Storm.
at line 69
int
lightnings()
Get the number of cloud-end-ground lightning in specified radius for a selected location.
at line 79
float
distance()
Get the distance to the nearest registered lightning.
at line 89
string
direction()
Get direction to the nearest lightning (E, E, N, NW, W, SW, S, SE).
at line 99
int
period()
Get the number of minutes of time containing the data (10, 15, 20 minutes).