NGEE Iridium System Brainstorm
Jump to navigation
Jump to search
First thoughts
So I put some links on the potential technologies page. I think the rough arc is:
- that the data logger is programmed to turn on the computer on a set schedule.
- the computer has a service that runs at start up which queries the logger probably using:
- pycampbellcr1000.readthedocs.org/en/latest/
- the logger data now transferred to the computer...
- run it through datapro briefly? Or maybe just specially reformat.
- maybe check out this smaz deal.
- import lib.smaz
- https://github.com/CordySmith/PySmaz
- ... maybe better with zlib: http://stackoverflow.com/questions/12871775/python-compress-ascii-string
from lib.smaz import compress, decompress import zlib a='"2016-03-21 07:00:00",6444,0,-17.3,0.003,2.517,1.248,2.498,2.402,2.314,2.498,1.475,0,-17.7,0.003,0.483,1.174,2.498,2.478,2.412,2.498,1.499' >>> len(a) 138 >>> len(compress(a)) 140 >>> len(zlib.compress(a)) 84
- anyway, after reformatting, then use AT commands to direct the sutron SBD to transmit the data to the iridium network.