Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Aligned print spots without seconds #135

Merged
merged 1 commit into from
Feb 29, 2024

Conversation

krasoffski
Copy link
Contributor

In most outputs we specify z as UTC timezone, but for spots we show seconds which in my opinions is meaningless.
Thus, I changed a little output format by removing seconds and z in title as time already contain it.

              Date   Time    SNR     DT       Freq Dr    Call    Loc Pwr
Spot :  2024-02-26 10:42z -22.92  -0.89  14.097205  0  OH8GKP   KP24 33
No spot 2024-02-26 10:44z
Spot :  2024-02-26 10:46z -18.87  -1.19  14.097079  0   G0IDE   IO83 37
Spot :  2024-02-26 10:46z -26.21  -0.93  14.097162  0   HA4BM   JO22 27
No spot 2024-02-26 10:48z
No spot 2024-02-26 10:50z

@Guenael
Copy link
Owner

Guenael commented Feb 29, 2024

Hi @krasoffski,
I do agree, seconds are not really useful in the console/debug prompt. Some people use the console to parse the information for specific reporting apps, and changing this format now could have some impacts.

The search window for WSPR is around a couple of seconds, and showing the milli-second could be interesting for some cases, but usually people just want to get the spot.

Thanks for your MR, I will merge it, and I anticipate some impacts, but we will see :)

73, Guenael

@Guenael Guenael merged commit a6416c5 into Guenael:main Feb 29, 2024
1 check failed
@krasoffski
Copy link
Contributor Author

@Guenael
Thank you for pointing me about backward compatibility.

But I have to mention that probably in my case I did not see any meaningful seconds for spots.
It was always 00 like bellow for time 06:48:00. That is why I would like to replace 00 to z.
Bat anyway, thank you for your application. :)

Starting rtlsdr-wsprd (2024-02-29, 06:46z) -- Version 0.5.4
  Callsign     : SP2RM
  Locator      : JO94hj
  Dial freq.   : 14095600 Hz
  Real freq.   : 14095600 Hz
  PPM factor   : 0
  Gain         : 19 dB
Wait for time sync (start in 70 sec)

              Date  Time(z)    SNR     DT       Freq Dr    Call    Loc Pwr
curl_easy_perform() failed: URL using bad/illegal format or missing URL
Spot :  2024-02-29 06:48:00  -2.85  -0.87  14.097205  0  OH8GKP   KP24 33
Spot :  2024-02-29 06:48:00 -11.25  -0.83  14.097066  0  DB1IAT   JN48  0
Spot :  2024-02-29 06:48:00 -12.04  -1.21  14.097079 -4  YU9OMT   KN05 23
Spot :  2024-02-29 06:48:00 -12.05  -1.38  14.097073  1  RD9WSP   KO73 30
Spot :  2024-02-29 06:48:00 -12.66   0.20  14.097120  0  EP4STV   LM48 33
Spot :  2024-02-29 06:48:00 -13.98  -1.68  14.097149  0  DG8GAD   JN48 27
Spot :  2024-02-29 06:48:00 -20.22   0.47  14.097101  0   G1DXN   IO84 23
Spot :  2024-02-29 06:48:00 -21.98  -0.93  14.097092  0  IU2RNP   JN45 23

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants