cyber-atomus / autowx Goto Github PK
View Code? Open in Web Editor NEWAutomated reception & decoding of polar passing weather satellites
License: MIT License
Automated reception & decoding of polar passing weather satellites
License: MIT License
Hi,
The refactoring was made to add some others features I wanted.
I started working on static web pages generation, it's pretty simple, I don't wanted something really complicated.
The process is plugged as:
The templates use jinja2, no pull request yet I want to look if it's stable enought.
Thumbnails use a dot-prefixed filename to not clog the output of the real-size generated files.
Since I still don't have METEOR working it's not handled at all (the csv and generation are triggered only if matching NOAA).
You can take a look of the code in the "static-web" branch of my fork, and I have my autowx running and generating stuff at https://noaa.lan.sigpipe.me/ (the link may broke for a few days maybe when I will rework my network at home).
I want to get METEOR working to add support to it, it would be better.
Right now it's seems to be pretty ok, I think I will look at the "overlay map direction" to improve the rotation (upside down or not) in the single pass page, and look to make all links "relatives" and not prefixed by "/" every time (anyway the maps directory and img ones needs a virtualhost configuration, or, needs an autowx config to generate them in sub directories in the "web" one).
I don't think I added an option to disable thumbnails generation, only web, I will add one to disable thumbs if wanted and if web not activated.
I choosed CSV because I wanted to just add simple content in it for generate the "pagination":
sat_name,automate_started,aos_time,los_time,max_elev,record_time
NOAA 18,1503425958.639888,1503428523,1503429459,47,936.0
NOAA 19,1503435618.841656,1503461286,1503462231,87,945.0
NOAA 15,1503466282.538971,1503468267,1503469146,34,879.0
A sqlite3 database could have also been used, with more informations to do the web pages generation better (like be able to regenerate all single_pass pages), I don't know.
Let me know what you think about that.
Sugestion:
It is pretty fresh project:
https://github.com/artlav/meteor_decoder
(with some precompiled binaries: http://orbides.org/page.php?id=1023)
Try it instead of "wine+lrpt offline decoder" combo.
I will try to feed above decoder with output generated by metor_qspk.py but there comes the question.
Question:
meteor_qpsk.py is very heavy on cpu, my raspberry pi3 is loaded on all cores to 100%,
(I was experimenting with gui version: https://www.dropbox.com/s/8kc89wriludrrb8/meteor_qpsk_rx_rtl.zip
and cpu load was not that heavy) should it look like that?
Edit: https://wiki.gnuradio.org/index.php/Guided_Tutorial_GRC - copy&pasting missing lines with "blocks_throttle" from gui version at the moment...
Edit2: copypasta failed, meddling around rational_resampler_xxx_0 atm.
Edit3: Following didn't work as expected, script is somehow running, but still max load:
127,128c127
< self.blocks_throttle_0 = blocks.throttle(gr.sizeof_gr_complex*1, samp_rate,True)
< self.blocks_float_to_char_0 = blocks.float_to_char(1, 127)
---
> self.blocks_float_to_char_0 = blocks.float_to_char(1, 127)
144c143
< ########self.connect((self.rational_resampler_xxx_0, 0), (self.analog_agc_xx_0, 0))
---
> self.connect((self.rational_resampler_xxx_0, 0), (self.analog_agc_xx_0, 0))
146d144
< self.connect((self.blocks_throttle_0, 0), (self.analog_agc_xx_0, 0))
148c146
< self.connect((self.rational_resampler_xxx_0, 0), (self.blocks_throttle_0, 0))
---
>
180d177
< self.blocks_throttle_0.set_sample_rate(self.samp_rate)
Directories /opt/wxsat and /opt/wxsat/logs aren't being created. Furthermore, users don't have write privileges for /opt. Why not automatically create these directories in autowx and kill two birds with one stone?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.