Ham Radio Deluxe v5 Logbook Sunspot Information

Since the paths used for Ham Radio Deluxe’s Logbook use to gather sunspot data have gone dark, it causes some issues with Logbook being able to get information and causing a message box to pop up with ‘Unspecified Error’

A fix is to create a batch file noaa.zip that downloads this information and hands it over to Logbook. I have seen some other people use this method, using wget however as Windows 10 has powershell built-in I preferred to use that rather than install another application. If you want to use my file you can download it here or copy the below code into a text editor and save as a .bat (batch) file

@echo off
echo Downloading from NOAA...
powershell.exe -Command Invoke-WebRequest -Uri ftp://ftp.swpc.noaa.gov/pub/indices/DSD.txt -OutFile Last30DaysDailySolarData.txt
powershell.exe -Command Invoke-WebRequest -Uri ftp://ftp.swpc.noaa.gov/pub/weekly/RecentIndices.txt -OutFile RecentSolarIndices.txt.txt
powershell.exe -Command Invoke-WebRequest -Uri ftp://ftp.swpc.noaa.gov/pub/weekly/Predict.txt -OutFile SunspotPredictDefault.txt
echo Copying Files...
copy SunspotPredictDefault.txt SunspotPredictLow.txt
copy SunspotPredictDefault.txt SunspotPredictHigh.txt
attrib -R "%USERPROFILE%\appdata\roaming\Simon Brown, HB9DRV\HRD LogBook\*.txt" 
del "%USERPROFILE%\appdata\roaming\Simon Brown, HB9DRV\HRD LogBook\*.txt"
move *.txt "%USERPROFILE%\appdata\roaming\Simon Brown, HB9DRV\HRD LogBook\"
attrib +R "%USERPROFILE%\appdata\roaming\Simon Brown, HB9DRV\HRD LogBook\*.txt"
echo Done!

The best way to run ths file is either by simply launching it before starting HRD Logbook or setting it up to run everytime you login to the computer.

Comments (1)

Leave a Reply

Your email address will not be published. Required fields are marked *