From 2b5fc0f49c36428e90e37fde977232ffb16b8e28 Mon Sep 17 00:00:00 2001 From: will Date: Sun, 19 May 2024 20:41:10 +0100 Subject: [PATCH] moved files --- config/last | 7 ----- index.html | 70 +++++++++++++++++++++++++++++++++++++++++++++++++ spaceweather.py | 4 +-- transcript.html | 2 +- 4 files changed, 73 insertions(+), 10 deletions(-) create mode 100644 index.html diff --git a/config/last b/config/last index 0538977..e69de29 100755 --- a/config/last +++ b/config/last @@ -1,7 +0,0 @@ -Welcome to space weather, issued by XMDV radio at Sun the 19 May 2024 at 00:30:17 -In the last 24 hours Solar activity returned to low levels. Region 3679 developed additional intermediate spots, and wasresponsible for the largest flare of the period, a C7.2 to 1 n flare at 18 to 0538 utc, as well as a few low level C-class flares. Region 3685 continued to show weak development in itsintermediate spots, but was far less active this period. Slight growthwas observed in Region 3674 and Region 3683 . Region 3683 popped off a C3.9 solar flux flare at 18 to 2016 utc, whileRegion 3674 remained inactive. The remaining regions were either stableor slightly decaying. Solar activity is expected to be low with M-class flares likely and a chance for an X-class flare on 19 to 21 may. -In the last 24 hours The greater than 10 mega electron volt proton flux was slightly elevated, but wellbelow S1 levels. The 2 mega electron volt electron flux was at normal tomoderate levels. There is a slight chance for the greater than 10 mega electron volt protons reaching S1 levels on 19 to 21 may due to the flare potential of Region 3685. The greater than 2 mega electron volt electron flux is expected to remain at normal tomoderate levels, with a chance for high levels, through 21 may. -In the last 24 hours Solar wind parameters gradually returned to near-background levels aseffects from the 14 may coronal mass ejection arrival relinquished. Total field decreasedfrom a peak of 17 nano tesla to near 6 nano tesla, Bz had a maximum southward deflectionto to 15 nano tesla but has since become positive, and solar wind speeds haveleveled off around 410 kilometers per second. Phi angle was mostly negative untilapproximately 18 to 1100 utc when it switched to a positive orientation. Solar wind parameters are expected to continue near background levelsearly on 19 may. By mid to late day, the solar wind environment isexpected to see the influences of the passing coronal mass ejection from 16 may. Additional enhancements are then expected on 20 may as the coronal mass ejection from 17May scrapes the Earths magnetosphere. Conditions should begin to returnto a more relaxed state on 21 may as coronal mass ejection influence tapers off. -In the last 24 hours Geomagnetic activity was quiet to unsettled, with an isolated activeperiod. Quiet to unsettled levels are expected early on 19 may before increasingto mostly active conditions, with a chance for isolated G1 levels, asthe coronal mass ejection from 16 may is expected to graze the Earth. By 20 May, unsettledto active levels are expected, with G1 storming likely, due toglancing coronal mass ejection effects from the 17 may coronal mass ejection. Mid to late day on 21 May, active levels are expected to decrease to mostly unsettled levels as coronal mass ejectioneffects gradually diminish. -This has been space weather, issued by XMDV radio at Sun the 19 May 2024 at 00:30:17 -Space weather was created by William Greenwood with material from the N O double A \ No newline at end of file diff --git a/index.html b/index.html new file mode 100644 index 0000000..253f459 --- /dev/null +++ b/index.html @@ -0,0 +1,70 @@ + + + Spaceweather + + + +
+

OzVa XMDV ✶☂

+

Broadcating the esoteric

+
+ +
+

Spaceweather

+

Welcome to Spaceweather, a daily report of current heliospheric conditions, issued by XMDV Radio and supported by Ozone-Value Holdings.

+ +

Transcript (HTML/plaintext)

+

+ Spaceweather is generated daily, at time-of-issue of the NOAA's description of the latest solar activity [1]. This data is processed into the spoken portion of the report. In addition, the ambient backing of the report is generated using NOAA X-Ray data from two different satellite sources. +

+

+ This was created by XMDV Radio, supported by OvZa (Ozone-Value Holdings), in recognition of the importance of Spaceweather public services, as well as the great work of the NOAA. +

+ +
+

Sonification

+

+ Sonification is the process of turning data from an arbitrary source, into sound. +

+

+ Pictured on the right are the generated graphs used in the production of the reports backing. With the blue line representing the continuous processed X-ray data and the red line representing the stepped data. The Y-axis represents the number of semitones away from middle-A (440Hz). +

+

+ This is fed into a SoX-based synthisizer which creates the sound based on some pre-defined parameters. This is an aestetic feature. +

+

Pre-processing

+

+ Due to the nature of the raw signal, extensive pre-processing is performed to get it within opperable limits. The signal is normalized to its mean, before the deviation of the data is reduced via transfer function (below). +

+

+ y = arctan( x / 2w ) +

+

+ Where w is the weighting of that particular source, pre-defined based on its stability. +

+

+ This helps to reduce the significant spikes in the data that would make this particular set both difficult and boring to listen to. Even still, the sources are not weighted as to remove the spikes completely, but instead amplify the "noise" below the signal. +

+
+
+
graphgraphgraphgraph
+
+ +

References

+

[1] Forecast Discussion. https://services.swpc.noaa.gov/text/discussion.txt

+

[2] Local-maxima of flux reading (6 hours, satellite 18). https://services.swpc.noaa.gov/json/goes/secondary/xrays-6-hour.json

[3] Local-minima of flux reading (7 days, satellite 16). https://services.swpc.noaa.gov/json/goes/primary/xrays-7-day.json

[4] Local-minima of electron correction (7 days, satellite 18). https://services.swpc.noaa.gov/json/goes/secondary/xrays-7-day.json

[5] Local-maxima of electron correction (7 days, satellite 16). https://services.swpc.noaa.gov/json/goes/primary/xrays-7-day.json

+
+ + + diff --git a/spaceweather.py b/spaceweather.py index 531bc5f..e17c597 100755 --- a/spaceweather.py +++ b/spaceweather.py @@ -198,14 +198,14 @@ with open("config/last", "r") as f: # quit if the transcript is the same as the last if last == text: print("no change!") - #quit() + quit() else: print("proceeding...") # write the raw transcript to a file with open("config/last", "w") as f: f.write(text) -#generate the website +# generate the website generate_html(transcript) # generate the vox diff --git a/transcript.html b/transcript.html index 6a1ff87..99ade9c 100644 --- a/transcript.html +++ b/transcript.html @@ -1 +1 @@ -

Welcome to space weather, issued by XMDV radio at Sun the 19 May 2024 at 00:30:17

In the last 24 hours Solar activity returned to low levels. Region 3679 developed additional intermediate spots, and wasresponsible for the largest flare of the period, a C7.2 to 1 n flare at 18 to 0538 utc, as well as a few low level C-class flares. Region 3685 continued to show weak development in itsintermediate spots, but was far less active this period. Slight growthwas observed in Region 3674 and Region 3683 . Region 3683 popped off a C3.9 solar flux flare at 18 to 2016 utc, whileRegion 3674 remained inactive. The remaining regions were either stableor slightly decaying. Solar activity is expected to be low with M-class flares likely and a chance for an X-class flare on 19 to 21 may.

In the last 24 hours The greater than 10 mega electron volt proton flux was slightly elevated, but wellbelow S1 levels. The 2 mega electron volt electron flux was at normal tomoderate levels. There is a slight chance for the greater than 10 mega electron volt protons reaching S1 levels on 19 to 21 may due to the flare potential of Region 3685. The greater than 2 mega electron volt electron flux is expected to remain at normal tomoderate levels, with a chance for high levels, through 21 may.

In the last 24 hours Solar wind parameters gradually returned to near-background levels aseffects from the 14 may coronal mass ejection arrival relinquished. Total field decreasedfrom a peak of 17 nano tesla to near 6 nano tesla, Bz had a maximum southward deflectionto to 15 nano tesla but has since become positive, and solar wind speeds haveleveled off around 410 kilometers per second. Phi angle was mostly negative untilapproximately 18 to 1100 utc when it switched to a positive orientation. Solar wind parameters are expected to continue near background levelsearly on 19 may. By mid to late day, the solar wind environment isexpected to see the influences of the passing coronal mass ejection from 16 may. Additional enhancements are then expected on 20 may as the coronal mass ejection from 17May scrapes the Earths magnetosphere. Conditions should begin to returnto a more relaxed state on 21 may as coronal mass ejection influence tapers off.

In the last 24 hours Geomagnetic activity was quiet to unsettled, with an isolated activeperiod. Quiet to unsettled levels are expected early on 19 may before increasingto mostly active conditions, with a chance for isolated G1 levels, asthe coronal mass ejection from 16 may is expected to graze the Earth. By 20 May, unsettledto active levels are expected, with G1 storming likely, due toglancing coronal mass ejection effects from the 17 may coronal mass ejection. Mid to late day on 21 May, active levels are expected to decrease to mostly unsettled levels as coronal mass ejectioneffects gradually diminish.

This has been space weather, issued by XMDV radio at Sun the 19 May 2024 at 00:30:17

Space weather was created by William Greenwood with material from the N O double A

\ No newline at end of file +

Welcome to space weather, issued by XMDV radio at Sun the 19 May 2024 at 12:30:07

In the last 24 hours Solar activity was at low levels. The largest flare of the period was aC4.1 at 18 to 1938 utc from Region 3685 . Slightgrowth was observed in the intermediate spots of Region 3685 and theleader spots of Region 3683 . New Region 3687 was numbered. Other activity included an approximate 60 degreefilament eruption centered near S40E15 that began after 18 to 2125 utc. Anassociated coronal mass ejection was observed off the S limb in SOHO to LASCO C2 imagery at 18 to 2257 utc. Modelling is in progress to determine if there is anEarth-directed component. Solar activity is expected to be low with a chance for M-class flares and a slight chance for an X-class flare on 19 to 21 may.

In the last 24 hours The greater than 10 mega electron volt proton flux was slightly elevated, but wellbelow S1 levels. The 2 mega electron volt electron flux was at normal tomoderate levels. There is a slight chance for the greater than 10 mega electron volt protons reaching S1 levels on 19 to 21 may due to the flare potential of Region 3685. The greater than 2 mega electron volt electron flux is expected to remain at normal tomoderate levels, with a chanced for high levels, through 21 may.

In the last 24 hours Solar wind parameters were near nominal levels with solar wind speedranging from 358 to 449 kilometers per second. Total field ranged from 4 to 9 nano tesla while the Bzcomponent was between +2 to to 7 nano tesla. Phi angle was positive. By late on 19 May, the solar wind environment is expected to see theinfluences of the passing coronal mass ejection from 15 may. Additional enhancements arethen expected on 20 may from the coronal mass ejection that left the Sun on 17 may. coronal mass ejectioninfluences are expected to slowly diminish on 21 may.

In the last 24 hours The geomagnetic field was quiet to unsettled. Unsettled to active levels are expected late on 19 may due to potentialactivity from the 15 may coronal mass ejection. By 20 May, unsettled to active levels areexpected, with G1 storming likely, due to glancing coronal mass ejection effectsfrom the 17 may coronal mass ejection. Mid to late day on 21 May, active levels areexpected to decrease to mostly unsettled levels as coronal mass ejection effects graduallydiminish.

This has been space weather, issued by XMDV radio at Sun the 19 May 2024 at 12:30:07

Space weather was created by William Greenwood with material from the N O double A

\ No newline at end of file -- 2.39.2