Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
47 commits
Select commit Hold shift + click to select a range
69f1907
Replacing functions with BB Class
BluIsBest May 1, 2025
4f79ea2
Update main.py
BluIsBest May 2, 2025
c0ba64e
Single Buoy Information
BluIsBest May 3, 2025
60cef66
Pushing gui to main
joshbauer4 May 4, 2025
5c631f5
Adding Edited NDBC_API for functionality
BluIsBest May 4, 2025
b255e65
Hoping the API upload works here
BluIsBest May 4, 2025
6326715
Create IGNORE
BluIsBest May 4, 2025
d6a999c
Delete parsers directory
BluIsBest May 4, 2025
fc6efd1
Delete utilities directory
BluIsBest May 4, 2025
d640312
Delete requests directory
BluIsBest May 4, 2025
cb56d46
Delete config directory
BluIsBest May 4, 2025
ac6898b
Retrying to upload the NDBC_api correctly
BluIsBest May 4, 2025
eb29f81
Delete ndbc_api.py
BluIsBest May 4, 2025
0602663
Delete exceptions.py
BluIsBest May 4, 2025
283a913
Delete __init__.py
BluIsBest May 4, 2025
20a7a52
Create IGNORE
BluIsBest May 4, 2025
91d41ad
part 1
BluIsBest May 4, 2025
8f1da41
part 2
BluIsBest May 4, 2025
f1c3826
part 3
BluIsBest May 4, 2025
d3f609c
Delete ndbc_api/IGNORE
BluIsBest May 4, 2025
e046ff6
Delete ndbc_api/api/IGNORE
BluIsBest May 4, 2025
e828a46
User Defined locations
BluIsBest May 4, 2025
d53fe65
Update florida.py
joshbauer4 May 4, 2025
25d6fe5
Update georgia.py
joshbauer4 May 4, 2025
032b2fd
Update maine.py
joshbauer4 May 4, 2025
64e74d4
Update maryland.py
joshbauer4 May 4, 2025
afd5f8e
Update massachusetts.py
joshbauer4 May 4, 2025
a0d2029
Update new_york.py
joshbauer4 May 4, 2025
0ad1406
Update north_carolina.py
joshbauer4 May 4, 2025
f1d8104
Update virginia.py
joshbauer4 May 4, 2025
26a4421
Update gatheringInfo.py
BluIsBest May 4, 2025
be728ab
Update florida.py
joshbauer4 May 5, 2025
8247e0d
Update georgia.py
joshbauer4 May 5, 2025
dfd7c55
Update maine.py
joshbauer4 May 5, 2025
d639167
Update maryland.py
joshbauer4 May 5, 2025
596f86d
Update massachusetts.py
joshbauer4 May 5, 2025
c858254
Update new_york.py
joshbauer4 May 5, 2025
609b5b6
Update north_carolina.py
joshbauer4 May 5, 2025
845e6e6
Update virginia.py
joshbauer4 May 5, 2025
e95be54
Update south_carolina.py
joshbauer4 May 5, 2025
eb5941b
Update south_carolina.py
joshbauer4 May 5, 2025
131148e
adding another option to /pages
joshbauer4 May 5, 2025
28b8532
Update custom.py
joshbauer4 May 5, 2025
cccf372
finished custom location page
joshbauer4 May 5, 2025
c4f0e85
Update custom.py
joshbauer4 May 5, 2025
9deb10e
Update custom.py
joshbauer4 May 5, 2025
066729f
Update custom.py
joshbauer4 May 5, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 39 additions & 0 deletions app_welcome.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# Author: Joshua Bauer
# Date: May 1, 2025
# Description: updating multipage GUI with a home page

# Import packages
import dash
from dash import Dash, html, dcc

# Initialize the app and css
external_stylesheets = ['https://codepen.io/chriddyp/pen/bWLwgP.css']
app = dash.Dash(__name__, use_pages=True, external_stylesheets=external_stylesheets)

# App layout, containing title for app, a secondary title prompting to choose a region, and buttons that will take user to page with dropdown menu
app.layout = html.Div([
html.H1(className='row', children='Welcome to Weather Risk Assessment!', style={'textAlign': 'center', 'color': 'blue', 'fontSize': 30}),
html.Div([
html.Div([
html.H3(className='row', children='How To Use:',style={'textAlign': 'left', 'color': 'black', 'fontSize': 24}),
html.Div([
html.H4(className='row',children='1. Select a region of the eastern United States using the buttons',style={'textAlign': 'left', 'color': 'black', 'fontSize': 20}),
html.H4(className='row',children='2. Select a buoy in your selected region',style={'textAlign': 'left', 'color': 'black', 'fontSize': 20}),
html.H4(className='row',children='3. Average data from the buoy and the selected region will be displayed with a predicted storm strength',style={'textAlign': 'left', 'color': 'black', 'fontSize': 20})])
]),

html.H2(className='row', children='Choose a Region in the Eastern United States:', style={'textAlign': 'left', 'color': 'black', 'fontSize': 24}),
html.Div([
dcc.Link(html.Button(page['name']), href=page['path'], style={'width': '5px'}) for page in dash.page_registry.values()

])
]),

html.Br(),
dash.page_container
])

#print(dash.page_registry.values())

if __name__ == '__main__':
app.run(debug=True)
Loading