Float Explorer is a web application made to explore profiles from BGC-Argo floats and monitor their status in real-time. It's developp for python 3.6 (compatible with python 2.7) on top of flask, SQLite3 and FloatProcessor.
Require python 2.7 or 3.6
- flask
- SQLite 3
An additional package is FloatProcessor which can run in parallel as FloatExplorer and will update the database used by FloatExplorer.
Update line 14 of float_explorer.py with the name of your configuration file. app.config.from_pyfile('float_explorer_conf.py') The default configuration file is default_conf.py
- Add APEX floats
- Dashboard page
- Order by status, PI, Host...
- Add time of last update from server
- Float Data page
- Float Metadata
- Keyboard shortcuts
- Link contour plots to profiles
- Map page
- Documentation page
- Link to data on FTP
- BUG in keyboard navigation with PROVOR
- APP crash when no DB
- if empty DB, float page crash return redirect(url_for('float', lab_id=float_list[0]['lab_id'])) IndexError: list index out of range
- Bug on dashboard when date last profile != than 0 File "/home/nils/FloatExplorer/float_explorer.py", line 87, in dashboard [Thu Jul 20 18:17:04 2017] [error] [client 141.114.77.13] h = int(foo.total_seconds()/3600) [Thu Jul 20 18:17:04 2017] [error] [client 141.114.77.13] AttributeError: 'datetime.timedelta' object has no attribute 'total_seconds'