Skip to content

Reports and charts for amateur radio wspr hf performance using propagation accuracy measurements

License

Notifications You must be signed in to change notification settings

djsudduth/wspr-reports

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

43 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

wspr-reports

Reports and charts for amateur radio wspr hf performance using propagation accuracy measurements. The goal is to determine HF antenna performance based on a time series collection of wspr signal reports. Reports are saved as CSV files for analysis either using spreadsheets or other tools.

Background

Many amateurs utilize wspr reports to determine their overall HF system performance. However, widely variable factors affect wspr reports by distant stations. These can include time of day, solar x-ray flux, ionospheric variations, etc.
Relying on short duration wspr reports can lead to false assumptions and correlations regarding performance.

For these reports GOES 16-short data is joined with the wspr data to determine x-ray flux over the measured time period.

Examples

The first report shows the wspr SNR means and std deviations by azimuth direction (N, NE, E, SE, S, SW...) from my location (determined by the wsprnet.org data) based on the number of reception reports by monitoring callsigns:

map km Reporter count mean std min 25% 50% 75% max
S 731 AC0G 1.0 -29.000000 NaN -29.0 -29.00 -29.0 -29.00 -29.0
734 KV0S 3.0 -13.000000 1.732051 -14.0 -14.00 -14.0 -12.50 -11.0
918 K6RFT 7.0 0.285714 3.728909 -6.0 -1.50 2.0 3.00 3.0
1164 W5JVS 6.0 -6.833333 3.600926 -12.0 -8.00 -7.0 -6.00 -1.0
1475 KG5ABO 1.0 -21.000000 NaN -21.0 -21.00 -21.0 -21.00 -21.0
1720 N5TTT 2.0 -18.000000 2.828427 -20.0 -19.00 -18.0 -17.00 -16.0
1733 N5BIA 1.0 -17.000000 NaN -17.0 -17.00 -17.0 -17.00 -17.0
2185 WB5B 7.0 -15.714286 2.429972 -19.0 -17.50 -16.0 -13.50 -13.0

In this example, all of my 5w 30m SNR reports received south (S) of my location over a 1 hour timespan show the number of received reports (count), the mean of the wspr report in db and the std deviation of the reports. K6RFT at 1164 km away in MO reported most often (7x) with a mean SNR report of ~0db and a std deviation of 3.72.
A std deviation of 3.72 is a wide range of reception reports (min = -6.0db to max = 3.0db or a 9db variation in one hour)

The next report excerpt shows the time-series values of the SNR reports received by distance and their trending slopes (is my wspr report increasing over time or decreasing?). For example WA5DJJ shows a slope of 2.0 - significantly increasing SNR report to the SW from about -18.5db to -8.0db within an hour based on 7 reports. KG7YC is also increasing possibly implying better propagation to the SW.

km Reporter SNR slope stdv variance map
49 1748 VE6PDQ [-3, -22, 3, -2, -21, -16] -1.91 10.80 116.6 NW
50 1751 NI5F [-18, -21, -22, -24, -21, -17, -21] 0.00 2.37 5.6 SE
51 1824 K1NPT [-23] 0.00 0.00 0.0 E
52 1827 W1NMF [-15, -14, -14, -19, -14, -12, -14] 0.25 2.15 4.6 E
53 1829 K1BZ [-5, -5, -5, -13, -12, -9] -1.40 3.71 13.8 E
54 1877 WA5DJJ [-18, -19, -18, -8, -12, -9, -8] 2.00 5.05 25.5 SW
55 2088 W7WKR/K [-27, -28, -25, -24, -25] 0.80 1.64 2.7 W
56 2093 KG7YC [-21, -20, -17, -21, -11, -22, -15] 0.71 4.02 16.1 SW

The last reports show slopes trending by direction from my callsign location. In other words, are the combined reports decreasing generally in a direction over the measured time period? In the example data below - clearly the most reports were from the W with an average positive slope possibly implying improving conditions to the west. Whereas, there may be decreasing conditions south (limited data).

map slopes snr trend
3 S [0.0, -1.5, -1.29, -0.6, 0.0, 0.0, 0.0, 0.57] -0.352500
5 SW [0.54, 1.64, 2.0, 0.71, 3.5] 1.678000
6 W [2.36, 0.8, 0.71, 0.7, 0.86, 1.5, 1.6,....., 0.7, 0.86, 0.54, 1.21, 0.0] 0.762353
note that averaging slopes of reception reports may be highly inaccurate due to distance and changing conditions

The raw joined CSV data is saved for additional analytics (wspr-goes-data.csv)

usage

Requirements - numpy and pandas (pip install)

transmit wpsr

Transmit wspr from your location for a specified time period (1-2 hours is a good baseline)

wspr data

Copy-paste your data directly from https://www.wsprnet.org/drupal/wsprnet/spotquery database query results page and save the data as wspr.txt in the script folder. See example wspr.txt data in the repo.

Be sure to save the headers with the data (api forthcoming)

xray data

Save GOES xrays-6-hour.json soon after directly to same folder from https://services.swpc.noaa.gov/json/goes/primary/
See example GOES data in the repo.

Map direction is determined by your callsign location in the wspr.org results with this mapping deg to direction:
[0, 23, 68, 113, 158, 203, 248, 293, 337, 359] map to labels ['N', 'NE', 'E', 'SE', 'S', 'SW', 'W', 'NW', 'N']

To Execute:
python wspr-reports.py

The wspr and xray data will be joined on timestamp. Raw data outputs:

  1. wspr data with additional fields of direction from your location and distance classification (file only)
  2. Joined wspr and GOES data on timestamp (file only)
  3. View of reporter callsigns by map direction (using azimuth) from your location with SNR mean and standard deviation from at least 2 reports
  4. View of reporter callsigns by distance, SNR list, slope trend of the SNR, std deviation, and variance
  5. Mean of the trending slopes of SNR reports by map direction from your location (+slopes - trending stronger, -slopes - weaker)
  6. Mean of variances of the SNR reports by map direction from your location (large variances - widely varying reports)

Data is saved as .csv files in the script directory

example on how to use

  • KN0VA transmitted wspr on 30m for about 1 hour
  • The GOES and wspr data is joined together by timestamp in a file
  • For report #3 above - the wspr data has the lat/lon of KN0VA to determine map direction
    • the report shows that wspr reporter KX4AZ/T which is 617km East of KN0VA has 21 reception reports with a wspr mean of -10.38 db and standard deviation of 3.73 db with a minimum report of -20.0 db / maximum of -6.0 db
  • For report #4 above
    • the report shows the individual 21 receptions by KX4AZ/T along with the trending slope of -0.23 (increasing vs decreasing signal reports)
  • For report #5
    • shows all the average slopes in one direction (KX4AZ/T is included in the East list) and the trend of those slopes (are signals Eastward increasing or decreasing in report strength?)
  • For report #6
    • shows all the average variances of signal reports in one direction (KX4AZ/T is included in the East list) and the trend of those variaces (shows if signals Eastward varying widely in report strength)

notes

Note that wspr SNRs vary by a standard deviation of typically around 2.0+ db even when xray flux is low and steady. This is independent of distance.

Example:
KD2OM at 1270 km had snr reported values of [-11, -16, -13, -13] over a 45 min span midday on 30m -> std dev = 2.06, variance = 4.2
or
LX1DQ at 6885 km had snr values of [-16, -19, -19, -18, -16, -14, -16] over 1 hour span midday on 30m ->std dev = 1.86, variance = 3.5

Data measurements over 1-2 hours should consider D-layer ionization variability based on time of day, frequency and GOES spikes. Also, using SNRs for antenna performance characteristics should consider the std dev variability of SNR reports along with sporadic receptions from reporters that may appear or fade based on atmospheric changes.

Changing antenna configurations and using this data to understand performance should consider multiple wspr calls throughout the day over a number of days. Shorter measurements can lead to misinterpreted results.

example range of data

GOES data range for example

release

v0.0.1 - 05/29/2023
v0.0.2 - 07/17/2023

Thank you! KN0VA

Releases

No releases published

Packages

No packages published

Languages