The Mt. Washington Snowpack Visualization App is a Python-based web application designed to provide an interactive and comprehensive view of the snowpack data collected by the Mt. Washington Avalanche Center (MWAC). This application integrates historical data from the Hermit Lake snowplot along with real-time field observations collected by the Avalanche Center staff, offering a valuable tool for researchers, climbers, and enthusiasts interested in the snow conditions of Mt. Washington.
- Interactive Data Visualization: Utilizes Streamlit for an intuitive and interactive user interface.
- Historical Data Analysis: Access to historical snowpack data from the Hermit Lake snowplot.
- Real-time Observations: Integration of current field observations by the Avalanche Center staff.
- Customizable Views: Options to filter and analyze data based on various parameters.
- Responsive Design: Ensures compatibility with various devices and screen sizes.
- The user can alter the lookback window; from 1 day to entire winter
- The user can download all source data with a single click (ideally, able to filter certain years)
- The user can compare the current winter against the previous winter
To run this application, you will need Python installed on your system. Clone the repository and install the required dependencies:
git clone https://github.com/danieljfeller/mwac.git
cd mwac
pip install -r requirements.txt
To start the application, run:
streamlit run app.py
Navigate to the provided local URL in your web browser to interact with the application.
In the United States, api.weather.gov represents the data services available to the public from the National Weather Service.
Service Definition (OpenAPI v3.0/Swagger): https://api.weather.gov/openapi.json
-
Retreive metadata from the KMWN station at the Mount Washington Summit here: https://api.weather.gov/points/44.27028000000007,-71.30332999999996
-
Receive a JSON document and find the forecast property inside the properties object
- Find the hourly forecast from the forecastHourly property and retrieve that URL:
- Example: https://api.weather.gov/gridpoints/GYX/37,81/forecast/hourly
Gridpoint data information:
- Document contains data about the forecast grid, with multiple layers of data
- The data is presented as a time series, in an hourly format
Relevant available data layers:
- temperature
- dewpoint
- maxTemperature
- minTemperature
- relativeHumidity
- skyCover
- windDirection
- windSpeed
- weather
- quantitativePrecipitation
- snowfallAmount
- snowLevel
- iceAccumulation
Contributions to the Mt. Washington Snowpack Visualization App are welcome. Please follow these steps to contribute:
- Fork the repository.
- Create a new branch for your feature (
git checkout -b feature/AmazingFeature
). - Commit your changes (
git commit -m 'Add some AmazingFeature'
). - Push to the branch (
git push origin feature/AmazingFeature
). - Open a pull request.
This project is released under the MIT License. See the LICENSE file for details.
- Mt. Washington Avalanche Center for providing the data.
- Contributors and supporters of this project.