This is a small demo of using a web application interface to extract or add data from a NASA GSFC SeaBASS file. Other functions could be added to this in the future.
SB_support.py from https://seabass.gsfc.nasa.gov/wiki/readsb_python
SeaBASS files only. Test file can be found in the original_data folder. Test file from https://seabass.gsfc.nasa.gov/archive/BIGELOW/BALCH/AL9807/archive
CSV files for metadata or data table export. Options for adding the time in XX:XX format as well as the date in DAY/MONTH/YEAR format are avaliable for the data table routine. Additionally, now users can select the Add Extras to SeaBASS feature, which will allow the user to add the time in XX:XX format as well as the date in DAY/MONTH/YEAR format directly to the original SeaBASS file.
If no routine is selected for the Add Extras to SeaBass feature, then the original SeaBASS file will be returned unmodified.
- Navigate to the project folder in Command Prompt/Terminal.
- Make sure you have all of the dependencies installed (namely Pandas and Flask)
- Run the python file app.py (you can use command python app.py).
- Navigate to http://localhost:5000/.
- Select a SeaBASS file and specify routine.