Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Karakas
SWP_SS24_Wetterdaten_sammeln
Commits
c3e5e23f
Commit
c3e5e23f
authored
Jun 09, 2024
by
Weiser
Browse files
yippie
parent
2b31ac65
Changes
3
Hide whitespace changes
Inline
Side-by-side
frontend/src/components/weather/currentData.js
View file @
c3e5e23f
...
...
@@ -197,6 +197,13 @@ const Currentdata = (props) => {
/>
<
label
for
=
"
air_quality_gb_defra_index
"
>
GB
DEFRA
Index
<
/label
>
<
br
/>
<
div
>
<
label
for
=
"
units
"
>
Choose
a
unit
:
<
/label
>
<
select
name
=
"
unnits
"
id
=
"
units
"
>
<
option
value
=
"
world
"
>
Rest
of
The
World
<
/option
>
<
option
value
=
"
american
"
>
American
units
:
/eagles per shool shootings</
option
>
<
/select
>
<
/div
>
<
div
>
<
button
className
=
"
thq-button-filled
"
onClick
=
{
getData
}
>
Generate
...
...
frontend/src/components/weather/historicalWeatherData.js
View file @
c3e5e23f
...
...
@@ -103,6 +103,13 @@ const HistoricalWeatherData = (props) => {
<
input
type
=
"
checkbox
"
id
=
"
wind_direction_10m_dominant
"
class
=
"
checkBoxFilter
"
/>
<
label
for
=
"
wind_direction_10m_dominant
"
>
Wind
Direction
10
m
Dominant
<
/label
>
<
br
/>
<
div
>
<
label
for
=
"
units
"
>
Choose
a
unit
:
<
/label
>
<
select
name
=
"
unnits
"
id
=
"
units
"
>
<
option
value
=
"
world
"
>
Rest
of
The
World
<
/option
>
<
option
value
=
"
american
"
>
American
units
:
/eagles per shool shootings</
option
>
<
/select
>
<
/div
>
<
div
class
=
"
output
"
>
<
h2
>
Output
:
<
/h2
>
<
br
/>
...
...
frontend/src/components/weather/weatherForecastData.js
View file @
c3e5e23f
...
...
@@ -201,6 +201,13 @@ const WeatherForecastData = (props) => {
<
br
/>
<
br
/>
<
div
>
<
label
for
=
"
units
"
>
Choose
a
unit
:
<
/label
>
<
select
name
=
"
unnits
"
id
=
"
units
"
>
<
option
value
=
"
world
"
>
Rest
of
The
World
<
/option
>
<
option
value
=
"
american
"
>
American
units
:
/eagles per shool shootings</
option
>
<
/select
>
<
/div
>
<
div
>
<
button
className
=
"
thq-button-filled
"
onClick
=
{
getData
}
>
Generate
<
/button
>
...
...
@@ -325,27 +332,27 @@ const WeatherForecastData = (props) => {
if
(
moonset
)
filterArray
.
push
(
"
moonset
"
);
if
(
moon_phase
)
filterArray
.
push
(
"
moon_phase
"
);
if
(
moon_illumination
)
filterArray
.
push
(
"
moon_illumination
"
);
if
(
hour_time_epoch
)
filterArray
.
push
(
"
hour_time_epoch
"
);
if
(
hour_time
)
filterArray
.
push
(
"
hour_time
"
);
if
(
hour_temp
)
filterArray
.
push
(
"
hour_temp
"
);
if
(
hour_is_day
)
filterArray
.
push
(
"
hour_is_day
"
);
if
(
hour_condition_text
)
filterArray
.
push
(
"
hour_condition_text
"
);
if
(
hour_condition_icon
)
filterArray
.
push
(
"
hour_condition_icon
"
);
if
(
hour_condition_code
)
filterArray
.
push
(
"
hour_condition_code
"
);
if
(
hour_wind
)
filterArray
.
push
(
"
hour_wind
"
);
if
(
hour_wind_degree
)
filterArray
.
push
(
"
hour_wind_degree
"
);
if
(
hour_wind_dir
)
filterArray
.
push
(
"
hour_wind_dir
"
);
if
(
hour_pressure
)
filterArray
.
push
(
"
hour_pressure
"
);
if
(
hour_precip
)
filterArray
.
push
(
"
hour_precip
"
);
if
(
hour_humidity
)
filterArray
.
push
(
"
hour_humidity
"
);
if
(
hour_cloud
)
filterArray
.
push
(
"
hour_cloud
"
);
if
(
hour_feelslike
)
filterArray
.
push
(
"
hour_feelslike
"
);
if
(
hour_windchill
)
filterArray
.
push
(
"
hour_windchill
"
);
if
(
hour_heatindex
)
filterArray
.
push
(
"
hour_heatindex
"
);
if
(
hour_dewpoint
)
filterArray
.
push
(
"
hour_dewpoint
"
);
if
(
hour_vis
)
filterArray
.
push
(
"
hour_vis
"
);
if
(
hour_gust
)
filterArray
.
push
(
"
hour_gust
"
);
if
(
hour_uv
)
filterArray
.
push
(
"
hour_uv
"
);
if
(
hour_time_epoch
)
filterArray
.
push
(
"
hour
ly
_time_epoch
"
);
if
(
hour_time
)
filterArray
.
push
(
"
hour
ly
_time
"
);
if
(
hour_temp
)
filterArray
.
push
(
"
hour
ly
_temp
"
);
if
(
hour_is_day
)
filterArray
.
push
(
"
hour
ly
_is_day
"
);
if
(
hour_condition_text
)
filterArray
.
push
(
"
hour
ly
_condition_text
"
);
if
(
hour_condition_icon
)
filterArray
.
push
(
"
hour
ly
_condition_icon
"
);
if
(
hour_condition_code
)
filterArray
.
push
(
"
hour
ly
_condition_code
"
);
if
(
hour_wind
)
filterArray
.
push
(
"
hour
ly
_wind
"
);
if
(
hour_wind_degree
)
filterArray
.
push
(
"
hour
ly
_wind_degree
"
);
if
(
hour_wind_dir
)
filterArray
.
push
(
"
hour
ly
_wind_dir
"
);
if
(
hour_pressure
)
filterArray
.
push
(
"
hour
ly
_pressure
"
);
if
(
hour_precip
)
filterArray
.
push
(
"
hour
ly
_precip
"
);
if
(
hour_humidity
)
filterArray
.
push
(
"
hour
ly
_humidity
"
);
if
(
hour_cloud
)
filterArray
.
push
(
"
hour
ly
_cloud
"
);
if
(
hour_feelslike
)
filterArray
.
push
(
"
hour
ly
_feelslike
"
);
if
(
hour_windchill
)
filterArray
.
push
(
"
hour
ly
_windchill
"
);
if
(
hour_heatindex
)
filterArray
.
push
(
"
hour
ly
_heatindex
"
);
if
(
hour_dewpoint
)
filterArray
.
push
(
"
hour
ly
_dewpoint
"
);
if
(
hour_vis
)
filterArray
.
push
(
"
hour
ly
_vis
"
);
if
(
hour_gust
)
filterArray
.
push
(
"
hour
ly
_gust
"
);
if
(
hour_uv
)
filterArray
.
push
(
"
hour
ly
_uv
"
);
let
filterString
=
filterArray
.
join
(
"
,
"
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment