Fix NOAA issue caused by bad GRC regeneration

This commit is contained in:
Manolis Surligas 2018-02-24 00:19:40 +02:00
parent 05f9e41158
commit 14ad8ad879
4 changed files with 57 additions and 56 deletions

View File

@ -5,7 +5,7 @@
# Title: NOAA APT Decoder
# Author: Manolis Surligas, George Vardakis
# Description: A NOAA APT Decoder with automatic image synchronization
# Generated: Thu Feb 8 14:09:41 2018
# Generated: Sat Feb 24 00:15:33 2018
##################################################
from gnuradio import analog
@ -68,7 +68,7 @@ class satnogs_noaa_apt_decoder(gr.top_block):
self.satnogs_waterfall_sink_0 = satnogs.waterfall_sink(samp_rate_rx /first_stage_decimation, 0.0, 8, 1024, waterfall_file_path, 0)
self.satnogs_tcp_rigctl_msg_source_0 = satnogs.tcp_rigctl_msg_source("127.0.0.1", rigctl_port, False, 1000/doppler_correction_per_sec, 1500)
self.satnogs_ogg_encoder_0 = satnogs.ogg_encoder(file_path, 48000, 0.8)
self.satnogs_noaa_apt_sink_0 = satnogs.noaa_apt_sink(decoded_data_file_path, 2080, 1800, False, bool(sync), bool(flip_images))
self.satnogs_noaa_apt_sink_0 = satnogs.noaa_apt_sink(decoded_data_file_path, 2080, 1800, bool(sync), bool(flip_images))
self.satnogs_iq_sink_0 = satnogs.iq_sink(32767, iq_file_path, False, enable_iq_dump)
self.satnogs_coarse_doppler_correction_cc_0 = satnogs.coarse_doppler_correction_cc(rx_freq, samp_rate_rx /first_stage_decimation)
self.rational_resampler_xxx_2 = filter.rational_resampler_ccc(

View File

@ -2,6 +2,10 @@
<name>[SatNOGS]</name>
<cat>
<name>Satellites</name>
<cat>
<name>NOAA</name>
<block>satnogs_noaa_apt_sink</block>
</cat>
<cat>
<name>UPSat</name>
<block>satnogs_upsat_fsk_frame_acquisition</block>

View File

@ -2,9 +2,8 @@
<block>
<name>NOAA APT Sink</name>
<key>satnogs_noaa_apt_sink</key>
<category>[SatNOGS]</category>
<import>import satnogs</import>
<make>satnogs.noaa_apt_sink($*filename_png, $width, $height, $sync, $flip)</make>
<make>satnogs.noaa_apt_sink($filename_png, $width, $height, $sync, $flip)</make>
<param>
<name>Output PNG Filename</name>
<key>filename_png</key>
@ -20,7 +19,7 @@
<param>
<name>PNG height</name>
<key>height</key>
<value>1500</value>
<value>1800</value>
<type>int</type>
</param>
<param>

View File

@ -60,8 +60,6 @@ namespace gr
* @param filename_png the base filename of the output PNG file(s)
* @param width the width of the image in the APT transmission
* @param height the height of the image in the APT transmission
* @param split user option for splitting the two images contained
* in a NOAA APT transmission
* @param sync user option for synchronizing to the first of the
* two training sequences
* @param flip user option to rotate the image(s) 180 degrees