You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Source/DataPoint.swift
+46-46
Original file line number
Diff line number
Diff line change
@@ -27,91 +27,91 @@ public struct DataPoint {
27
27
publicletsunsetTime:Date?
28
28
29
29
/// The fractional part of the lunation number during the given day: a value of `0` corresponds to a new moon, `0.25` to a first quarter moon, `0.5` to a full moon, and `0.75` to a last quarter moon. The ranges in between these represent waxing crescent, waxing gibbous, waning gibbous, and waning crescent moons, respectively. Only defined on `Forecast`'s `daily` `DataPoint`s.
30
-
publicletmoonPhase:Float?
30
+
publicletmoonPhase:Double?
31
31
32
32
/// The approximate distance to the nearest storm. A storm distance of `0` doesn't necessarily refer to a storm at the requested location, but rather a storm in the vicinity of that location. Only defined on `Forecast`'s `currently` `DataPoint`s.
33
-
publicletnearestStormDistance:Float?
33
+
publicletnearestStormDistance:Double?
34
34
35
35
/// The approximate direction of the nearest storm in degrees, with true north at 0º and progressing clockwise. If `nearestStormDistance` is `0`, then this value will be `nil`. Only defined on `Forecast`'s `currently` `DataPoint`s.
36
-
publicletnearestStormBearing:Float?
36
+
publicletnearestStormBearing:Double?
37
37
38
38
/// The intensity of precipitation occuring at the given time. This value is *conditional on probability* (that is, assuming any precipitation falls at all) for `minutely` `DataPoint`s, and unconditional otherwise.
39
-
publicletprecipitationIntensity:Float?
39
+
publicletprecipitationIntensity:Double?
40
40
41
41
/// The maximum value of `precipitationIntensity` during a given day. Only defined on `Forecast`'s `daily` `DataPoint`s.
42
-
publicletprecipitationIntensityMax:Float?
42
+
publicletprecipitationIntensityMax:Double?
43
43
44
44
/// The time at which `precipitationIntensityMax` occurs during a given day. Only defined on `Forecast`'s `daily` `DataPoint`s.
45
45
publicletprecipitationIntensityMaxTime:Date?
46
46
47
47
/// The probability of precipitation occurring, between `0` and `1`, inclusive.
48
-
publicletprecipitationProbability:Float?
48
+
publicletprecipitationProbability:Double?
49
49
50
50
/// The type of precipitation occurring at the given time. If `precipIntensity` is `0`, then this will be `nil`.
51
51
publicletprecipitationType:Precipitation?
52
52
53
53
/// The amount of snowfall accumulation expected to occur. This will be `nil` if no accumulation is expected. Only defined on `Forecast`'s `hourly` and `daily` `DataPoint`s.
54
-
publicletprecipitationAccumulation:Float?
54
+
publicletprecipitationAccumulation:Double?
55
55
56
56
/// The air temperature. Not defined on `Forecast`'s `minutely` `DataPoint`s.
57
-
publiclettemperature:Float?
57
+
publiclettemperature:Double?
58
58
59
59
/// The overnight low temperature. Only defined on `Forecast`'s `daily` `DataPoint`s.
60
-
publiclettemperatureLow:Float?
60
+
publiclettemperatureLow:Double?
61
61
62
62
/// The time at which the overnight low temperature occurs. Only defined on `Forecast`'s `daily` `DataPoint`s.
63
63
publiclettemperatureLowTime:Date?
64
64
65
65
/// The daytime high temperature. Only defined on `Forecast`'s `daily` `DataPoint`s.
66
-
publiclettemperatureHigh:Float?
66
+
publiclettemperatureHigh:Double?
67
67
68
68
/// The time at which the daytime high temperature occurs. Only defined on `Forecast`'s `daily` `DataPoint`s.
69
69
publiclettemperatureHighTime:Date?
70
70
71
71
/// The apparent or "feels like" temperature. Not defined on `Forecast`'s `daily` `DataPoint`s.
72
-
publicletapparentTemperature:Float?
72
+
publicletapparentTemperature:Double?
73
73
74
74
/// The overnight low apparent temperature. Only defined on `Forecast`'s `daily` `DataPoint`s.
75
-
publicletapparentTemperatureLow:Float?
75
+
publicletapparentTemperatureLow:Double?
76
76
77
77
/// The time at which the overnight low apparent temperature occurs. Only defined on `Forecast`'s `daily` `DataPoint`s.
78
78
publicletapparentTemperatureLowTime:Date?
79
79
80
80
/// The daytime high apparent temperature. Only defined on `Forecast`'s `daily` `DataPoint`s.
81
-
publicletapparentTemperatureHigh:Float?
81
+
publicletapparentTemperatureHigh:Double?
82
82
83
83
/// The time at which the daytime high apparent temperature occurs. Only defined on `Forecast`'s `daily` `DataPoint`s.
84
84
publicletapparentTemperatureHighTime:Date?
85
85
86
86
/// The dew point at the given time.
87
-
publicletdewPoint:Float?
87
+
publicletdewPoint:Double?
88
88
89
89
/// The wind gust speed.
90
-
publicletwindGust:Float?
90
+
publicletwindGust:Double?
91
91
92
92
/// The wind speed at the given time.
93
-
publicletwindSpeed:Float?
93
+
publicletwindSpeed:Double?
94
94
95
95
/// The direction that the wind is coming *from* in degrees, with true north at 0º and progressing clockwise. If `windSpeed` is `0`, then this will be `nil`.
96
-
publicletwindBearing:Float?
96
+
publicletwindBearing:Double?
97
97
98
98
/// The percentage of sky occluded by clouds, between `0` and `1`, inclusive.
99
-
publicletcloudCover:Float?
99
+
publicletcloudCover:Double?
100
100
101
101
/// The relative humidity, between `0` and `1`, inclusive.
102
-
publiclethumidity:Float?
102
+
publiclethumidity:Double?
103
103
104
104
/// The sea-level air pressure.
105
-
publicletpressure:Float?
105
+
publicletpressure:Double?
106
106
107
107
/// The average visibility, capped at 10 miles.
108
-
publicletvisibility:Float?
108
+
publicletvisibility:Double?
109
109
110
110
/// The columnar density of total atomspheric ozone at the given time in Dobson units.
111
-
publicletozone:Float?
111
+
publicletozone:Double?
112
112
113
113
/// The UV index.
114
-
publicletuvIndex:Float?
114
+
publicletuvIndex:Double?
115
115
116
116
/// The time at which the maximum UV index occurs during the given day. Only defined on `Forecast`'s `daily` `DataPoint`s.
0 commit comments