290 likes | 377 Views
Ripcurrent Tracker. Christopher Seeley, Ralph Mattiaccio Ken Bodzak, Will Abeel, Danielle Maginnis. Project Overview. Goal: To gather ripcurrent data to assist in research Collect detailed information Wave data Water level Wave period Time & Location Frequency Type of rip current
E N D
Ripcurrent Tracker Christopher Seeley, Ralph Mattiaccio Ken Bodzak, Will Abeel, Danielle Maginnis
Project Overview Goal: To gather ripcurrent data to assist in research • Collect detailed information • Wave data • Water level • Wave period • Time & Location • Frequency • Type of rip current • Pre-existing weather conditions • Compare to other tidal/buoy data
Project Overview • Use data to better understand causes of rip currents • Improve public safety • Avoid potential dangers on the beach
How? • Mobile application used by lifeguards • Submit reports and input data as it happens • Website used by researchers • View data in real-time • Store all reports in central website/database • Researchers can collect and use all current and historical data for analysis
User Groups • Each group has different permissions and features available. • Three main groups: Lifeguards Researchers Administrators • Permission Enforcement • Access Control Lists
Lifeguards • Use mobile application • Submit rip current reports • View reports submitted within last 24 hours
Researchers • Use website • View rip current reports • Search through all reports • Collect large quantities of data from reports in a batch
Administrators • Add, view, and edit managed lifeguards within local community • Disable users or alter privileges • View local rip current reports • Add, view, and edit researchers and lifeguard administrators • Disable users or alter privileges • View all rip current reports • Last 24 hours • Full search Lifeguard Admin Research Admin
Functional Requirements • Features of the software that must be included: • Receive GPS location data from mobile device • Transmit data to remote server • Store data in database • Display stored data • Maintain a log of database modifications
Functional Requirements (continued) • Features of the software that must be included: • Multi-user account and login system • User administration • Security: Restrict access to system interfaces and data • Username and password • User account permission hierarchy • User permission enforcement • Log user activities
Evolutionary Requirements If time permits… • Pull external data • Use with the data collected by the users of this system • Types of data: • Coastal buoy data • NOAA ocean data • Expanded: NBDC buoys • Additional goals successfully implemented
Platform Requirements • Internet-connected smartphone or mobile device • Mobile web browser:HTML5 Compatible • Android • iOS • Blackberry • WebOS
Platform Requirements • Live web server • Provides functionality for both website and mobile application • Specifications: • Apache2 • PHP 5 • MySQL • CakePHP 2.0 Framework
Interface Requirements • Web browser for non-mobile application use • Internet Explorer 7+ • Firefox 3.0+ • Google Chrome • Interface with existing database systems • Retrieve data from 3 local buoys and Atlantic City tide gauge • Access given by Stevens researchers • Expanded to buoys from NBDC
Process Requirements What’s needed: • Large project • Many files and code • Collaboration • Simultaneous editing • Solution: Version Control System • Subversion
System Design - Hardware • User workstation • Connects to web server and interacts from browser • System administration and data collection • Mobile Device • Internet-enabled device connects to web server • Remote access and submission to system • Web Server • Provides system interface and functionality • Communication with database server • Database Server • Store all system data and retrieve when necessary
System Design - Software • Models • Contains all data access functions • Ensures data is in a usable format for DBMS • Controllers • Functions to access data and determine which web page to display • Data accessed through models, returned to views • Views • Contains all web pages • Has all logic for organizing and displaying data to user (through UI)
System Design - Software • Mobile Views • Similar to full website • Optimized CSS/Javascript for mobile devices • Lighter UI • Smaller size • Redirect based on user agent • Database Management System (DBMS) • MySQL backend
User Accounts • Username • Password hash • Password salts • Email • Community • User type (sets permissions)
Rip Current Reports • Date/time of occurrence • Reporting user • GPS/Location coordinates • Intensity • Nearby structure information • Description (comments, other info) • Buoy data (external source) • Wave height, frequency • Station • Date/time of tidal data reading
Submit Report: Mobile version Retrieve location data Fill out report
Report View: Mobile version List View Map View