diff --git a/apps/flowgraphs/satellites/noaa_apt_decoder.grc b/apps/flowgraphs/satellites/noaa_apt_decoder.grc index 0831399..0dded8c 100644 --- a/apps/flowgraphs/satellites/noaa_apt_decoder.grc +++ b/apps/flowgraphs/satellites/noaa_apt_decoder.grc @@ -1,5 +1,5 @@ - + Mon Apr 10 23:26:02 2017 @@ -72,10 +72,6 @@ run True - - sizing_mode - fixed - thread_safe_setters @@ -84,10 +80,6 @@ title NOAA APT Decoder - - placement - (0,0) - variable @@ -378,10 +370,6 @@ TX sampling rate short_id - - hide - none - type string @@ -504,10 +492,6 @@ TX sampling rate short_id - - hide - none - type eng_float @@ -594,10 +578,6 @@ TX sampling rate short_id - - hide - none - type string @@ -641,10 +621,6 @@ TX sampling rate short_id - - hide - none - type string @@ -688,10 +664,6 @@ TX sampling rate short_id - - hide - none - type intx @@ -735,10 +707,6 @@ TX sampling rate short_id - - hide - none - type intx @@ -841,10 +809,6 @@ TX sampling rate short_id - - hide - none - type string @@ -943,10 +907,6 @@ TX sampling rate short_id - - hide - none - type intx @@ -1100,10 +1060,6 @@ TX sampling rate short_id - - hide - none - type eng_float @@ -1147,10 +1103,6 @@ TX sampling rate short_id - - hide - none - type string @@ -1195,10 +1147,6 @@ we shift the LO a little further short_id - - hide - none - type eng_float @@ -2649,10 +2597,6 @@ we shift the LO a little further short_id - - hide - none - type intx @@ -2867,7 +2811,7 @@ we shift the LO a little further _coordinate - (896, 232) + (936, 232) _rotation @@ -2932,10 +2876,6 @@ we shift the LO a little further short_id - - hide - none - type eng_float @@ -2979,10 +2919,6 @@ we shift the LO a little further short_id - - hide - none - type intx @@ -3026,10 +2962,6 @@ we shift the LO a little further short_id - - hide - none - type eng_float @@ -3073,10 +3005,6 @@ we shift the LO a little further short_id - - hide - none - type string @@ -3161,7 +3089,7 @@ we shift the LO a little further _coordinate - (1112, 236) + (1176, 236) _rotation @@ -3226,6 +3154,10 @@ we shift the LO a little further width 2080 + + split + False + sync bool(sync) @@ -3365,7 +3297,7 @@ we shift the LO a little further _coordinate - (917, 0) + (712, 0) _rotation @@ -3385,7 +3317,7 @@ we shift the LO a little further samp_rate - samp_rate_rx/ ( first_stage_decimation * int(samp_rate_rx/ first_stage_decimation / initial_bandwidth)) + samp_rate_rx /first_stage_decimation @@ -3422,10 +3354,6 @@ we shift the LO a little further short_id - - hide - none - type intx @@ -3469,10 +3397,6 @@ we shift the LO a little further short_id - - hide - none - type string @@ -3518,12 +3442,6 @@ we shift the LO a little further 0 0 - - fft_filter_xxx_0 - satnogs_waterfall_sink_0 - 0 - 0 - fir_filter_xxx_1 rational_resampler_xxx_0 @@ -3578,6 +3496,12 @@ we shift the LO a little further 0 0 + + satnogs_coarse_doppler_correction_cc_0 + satnogs_waterfall_sink_0 + 0 + 0 + satnogs_tcp_rigctl_msg_source_0 satnogs_coarse_doppler_correction_cc_0 diff --git a/apps/flowgraphs/satellites/satnogs_noaa_apt_decoder.py b/apps/flowgraphs/satellites/satnogs_noaa_apt_decoder.py index e6a2a5c..d39eca0 100755 --- a/apps/flowgraphs/satellites/satnogs_noaa_apt_decoder.py +++ b/apps/flowgraphs/satellites/satnogs_noaa_apt_decoder.py @@ -5,7 +5,7 @@ # Title: NOAA APT Decoder # Author: Manolis Surligas, George Vardakis # Description: A NOAA APT Decoder with automatic image synchronization -# Generated: Fri Feb 2 16:19:42 2018 +# Generated: Thu Feb 8 14:09:41 2018 ################################################## from gnuradio import analog @@ -65,10 +65,10 @@ class satnogs_noaa_apt_decoder(gr.top_block): ################################################## # Blocks ################################################## - self.satnogs_waterfall_sink_0 = satnogs.waterfall_sink(samp_rate_rx/ ( first_stage_decimation * int(samp_rate_rx/ first_stage_decimation / initial_bandwidth)), 0.0, 8, 1024, waterfall_file_path, 0) + 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, bool(sync), bool(flip_images)) + self.satnogs_noaa_apt_sink_0 = satnogs.noaa_apt_sink(decoded_data_file_path, 2080, 1800, False, 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( @@ -122,8 +122,6 @@ class satnogs_noaa_apt_decoder(gr.top_block): audio_decimation=audio_decimation, ) - - ################################################## # Connections ################################################## @@ -134,7 +132,6 @@ class satnogs_noaa_apt_decoder(gr.top_block): self.connect((self.blocks_complex_to_mag_0, 0), (self.rational_resampler_xxx_0_0, 0)) self.connect((self.fft_filter_xxx_0, 0), (self.analog_wfm_rcv_0, 0)) self.connect((self.fft_filter_xxx_0, 0), (self.rational_resampler_xxx_2, 0)) - self.connect((self.fft_filter_xxx_0, 0), (self.satnogs_waterfall_sink_0, 0)) self.connect((self.fir_filter_xxx_1, 0), (self.rational_resampler_xxx_0, 0)) self.connect((self.freq_xlating_fir_filter_xxx_0, 0), (self.satnogs_coarse_doppler_correction_cc_0, 0)) self.connect((self.hilbert_fc_0, 0), (self.blocks_complex_to_mag_0, 0)) @@ -144,6 +141,7 @@ class satnogs_noaa_apt_decoder(gr.top_block): self.connect((self.rational_resampler_xxx_1, 0), (self.satnogs_ogg_encoder_0, 0)) self.connect((self.rational_resampler_xxx_2, 0), (self.satnogs_iq_sink_0, 0)) self.connect((self.satnogs_coarse_doppler_correction_cc_0, 0), (self.fft_filter_xxx_0, 0)) + self.connect((self.satnogs_coarse_doppler_correction_cc_0, 0), (self.satnogs_waterfall_sink_0, 0)) def get_antenna(self): return self.antenna