GithubHelp home page GithubHelp logo

danieljfeller / mwac Goto Github PK

View Code? Open in Web Editor NEW
0.0 2.0 0.0 6.5 MB

Repository for all code, visualizations, and data related to historical snowpack analysis for the Mt. Washington Avalanche Center

Python 2.38% Jupyter Notebook 97.62%

mwac's Introduction

Web-based Snowpack Visualization Toolkit

Mt. Washington Avalanche Center

Project Overview

Data Flow

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.

Features & Product Requirements

Product Features:

  • 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.

Product Requirements: The user can select to plot a time series of one or more variables

  • 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

Installation

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

Usage

To start the application, run:

streamlit run app.py

Navigate to the provided local URL in your web browser to interact with the application.

National Weather Service Forecast API

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

  1. Retreive metadata from the KMWN station at the Mount Washington Summit here: https://api.weather.gov/points/44.27028000000007,-71.30332999999996

  2. Receive a JSON document and find the forecast property inside the properties object

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

Contributing

Contributions to the Mt. Washington Snowpack Visualization App are welcome. Please follow these steps to contribute:

  1. Fork the repository.
  2. Create a new branch for your feature (git checkout -b feature/AmazingFeature).
  3. Commit your changes (git commit -m 'Add some AmazingFeature').
  4. Push to the branch (git push origin feature/AmazingFeature).
  5. Open a pull request.

License

This project is released under the MIT License. See the LICENSE file for details.

Acknowledgments

  • Mt. Washington Avalanche Center for providing the data.
  • Contributors and supporters of this project.

mwac's People

Contributors

pattscanlan avatar danieljfeller avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.