This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"class" : "View", | |
"attributes" : { | |
"name" : "rainlogger", | |
"background_color" : "RGBA(1.000000,1.000000,1.000000,1.000000)", | |
"tint_color" : "RGBA(0.000000,0.478000,1.000000,1.000000)", | |
"enabled" : true, | |
"border_color" : "RGBA(0.000000,0.000000,0.000000,1.000000)", | |
"flex" : "" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import csv, os | |
from datetime import date | |
d = date.today() | |
#global pointday | |
#global dailypoints | |
#global weeklypoints | |
#global wkcntr | |
# Assume data is stored in points.dat file. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# credits | |
# https://github.com/roger-/pyrtlsdr/blob/master/rtlsdr/rtlsdr.py | |
# https://gist.github.com/simeonmiteff/3792676 | |
# http://stackoverflow.com/questions/23732930/how-to-check-if-all-data-are-received-with-a-tcp-socket-in-python?rq=1 | |
import socket | |
import struct | |
import numpy as np | |
import sound | |
import wave | |
import sys |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/local/bin/python | |
from rtlsdr import RtlSdr | |
import scipy.signal as spsi | |
from scipy.io.wavfile import write | |
import numpy as np | |
sdr = RtlSdr() | |
freq_offset = 124996881 # Hz Use this offset when ham-it-up is turned on. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# File can be space or comma separated. | |
# ssconvert is part of gnumeric. | |
ssconvert test.txt test-txt.xlsx | |
# File must be delimited with commas. This can be done via: | |
# cat test.txt | tr " " "," > test.csv | |
soffice --headless --convert-to xlsx:"Calc MS Excel 2007 XML" test.csv |