[OZAPRS] Doppler graph
vk4tec at tech-software.net
vk4tec at tech-software.net
Mon Nov 20 18:18:13 AEDT 2017
#!/usr/bin/perl -w
use IO::Socket;
$PORT = 7356; # pick something not in use
$server = IO::Socket::INET->new( Proto => 'tcp',
LocalPort => $PORT,
Listen => SOMAXCONN,
Reuse => 1);
die "can't setup server" unless $server;
print "[Server $0 accepting clients]\n";
while ($client = $server->accept()) {
$client->autoflush(1);
print $client "Welcome to $0; type help for command list.\n";
while ( <$client>) {
print;
sleep 4;
print $client $_;
print "Back to gpredict\n";
}
}
close $client;
From: OZAPRS [mailto:ozaprs-bounces at aprs.net.au] On Behalf Of vk4tec at tech-software.net
Sent: Monday, 20 November 2017 5:16 PM
To: 'Australian APRS Users' <ozaprs at aprs.net.au>
Subject: Re: [OZAPRS] Doppler graph
Legend
I did not know what to send back
Cheers
A
From: OZAPRS [mailto:ozaprs-bounces at aprs.net.au] On Behalf Of Mark Jessop
Sent: Monday, 20 November 2017 5:07 PM
To: Australian APRS Users <ozaprs at aprs.net.au <mailto:ozaprs at aprs.net.au> >
Subject: Re: [OZAPRS] Doppler graph
Gpredict is expecting to talk to a Hamib rigctld daemon, and will likely be unhappy if it does not get back the responses it expects.
So, to get frequency data from gpredict, you would need to write something which emulates enough of rigctld to satisfy gpredict.
Here's a python script I just hacked up:
https://gist.github.com/darksidelemm/2a1fb385f6fc18566f3bcf29b4929053
Gpredict seems happy enough with it. It listens on port 4532 outputs data as follows:
Marks-MacBook-Pro:Dev darkside$ python fake_rigctld.py
Connected by ('127.0.0.1', 49304)
2017-11-20T07:05:10.209830,145888809
2017-11-20T07:05:10.630798,145888810
2017-11-20T07:05:11.634510,145888812
2017-11-20T07:05:12.635496,145888813
... etc
73
Mark VK5QI
On Mon, Nov 20, 2017 at 5:06 PM, <vk4tec at tech-software.net <mailto:vk4tec at tech-software.net> > wrote:
Downloading gpredict source code to debug
A
From: OZAPRS [mailto:ozaprs-bounces at aprs.net.au <mailto:ozaprs-bounces at aprs.net.au> ] On Behalf Of Scott Evans
Sent: Monday, 20 November 2017 4:34 PM
To: Australian APRS Users <ozaprs at aprs.net.au <mailto:ozaprs at aprs.net.au> >
Subject: Re: [OZAPRS] Doppler graph
Oops didn't clearly READ! 😖
On Mon., 20 Nov. 2017, 17:29 , <vk4tec at tech-software.net <mailto:vk4tec at tech-software.net> > wrote:
Only getting a few and then it bombs out
A
Back to gpredict
F 145893173
Back to gpredict
F 145893173
Back to gpredict
F 145893174
Back to gpredict
F 145893175
Back to gpredict
q
Back to gpredict
From: OZAPRS [mailto:ozaprs-bounces at aprs.net.au <mailto:ozaprs-bounces at aprs.net.au> ] On Behalf Of Scott Evans
Sent: Monday, 20 November 2017 4:22 PM
To: Australian APRS Users <ozaprs at aprs.net.au <mailto:ozaprs at aprs.net.au> >
Subject: Re: [OZAPRS] Doppler graph
Gptedict already has Doppler correction support inbuilt? 🤔
On Mon., 20 Nov. 2017, 17:04 , <vk4tec at tech-software.net <mailto:vk4tec at tech-software.net> > wrote:
Hi Guys
I am trying to graph doppler shift for some satellites
Does anyone have perl or python code that would allow gpredict to connect and then I can log the freq and graph it
Cheers
Andrew VK4TEC
http://www.tech-software.net/blog
_______________________________________________
OZAPRS mailing list
OZAPRS at aprs.net.au <mailto:OZAPRS at aprs.net.au>
http://lists.aprs.net.au/mailman/listinfo/ozaprs
_______________________________________________
OZAPRS mailing list
OZAPRS at aprs.net.au <mailto:OZAPRS at aprs.net.au>
http://lists.aprs.net.au/mailman/listinfo/ozaprs
_______________________________________________
OZAPRS mailing list
OZAPRS at aprs.net.au <mailto:OZAPRS at aprs.net.au>
http://lists.aprs.net.au/mailman/listinfo/ozaprs
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.aprs.net.au/pipermail/ozaprs/attachments/20171120/e17778f3/attachment-0001.html>
More information about the OZAPRS
mailing list