Welcome to the MEDS Snow Today Shiny App!


This app presents interactive visualizations of snow cover percent and albedo for the Sierra region. Explore this app to view daily, monthly, and yearly maps; learn about remote sensing and snow data collection; and try out tutorials for working with the data presented in this app.

Why do we care about snow data in the first place?

Snow is one of the most important natural water resources present in nature. It stores water in winter and releases it in spring during the melting season. Snow also influences our ability to participate in winter activities, such as skiing and snowboarding. As such, knowing the spatial extent of snow cover and understanding its properties is critical for water resource management and winter recreation.

View code on the MEDS Snow Today public GitHub Repository.
Note: Maps are slow to load. Please be patient

Snow Cover Percent

Albedo

Monthly Maps

Monthly Average

Monthly Anomaly

Monthly Average

Monthly Anomaly

Monthly Average

Monthly Anomaly

Monthly Average

Monthly Anomaly

Monthly Average

Monthly Anomaly

Monthly Average

Monthly Anomaly

Monthly Average

Monthly Anomaly

Monthly Average

Monthly Anomaly

Monthly Average

Monthly Anomaly

Monthly Average

Monthly Anomaly

Monthly Average

Monthly Anomaly

Monthly Average

Monthly Anomaly


Annual Maps

Annual Average

Annual Anomaly


In the legend, toggle years on/off to compare water years against the interquartile range



Tutorials

Tutorial 1: Downloading and Exploring Snow Data

Tutorial 2: Snow Geospatial Calculations

Tutorial 3: Interactive Charts

Motivation

Three Python-based tutorials were created to help users through downloading, accessing, processing, and visualizing the National Snow and Ice Data Center's (NSIDC) Snow Today snow cover and albedo datasets. The tutorials use 19 year's (2001-2019) worth of snow cover and albedo datasets for the California Sierra Nevada Mountain Range.

These tutorials provide steps to:

  • Download snow cover and albedo datasets
  • Access snow cover and albedo data and metadata
  • Process and create basic visualizations of the datasets
  • Convert datasets to alternative file types
  • Create an interactive map of raster layers
  • Create interactive charts of snow cover and albedo
  • Usage

    Python tutorials were created to increase the usability of the UCSB Earth Research Insitutes’s (ERI) Snow Property Inversion from Remote Sensing (SPIReS) model HDF5 files. These files contain snow cover fraction and snow albedo data. The three tutorials are intended for an audience with basic Python experience. Previous understanding of multidimensional climate data is not required. The first tutorial focuses on walking users through the steps to downloading and opening HDF5 files and exploring the metadata. The second tutorial provides instructions on how to calculate averages and anomalies, convert the data to GeoTiffs with correct projection information, and to visualize the data on a map. These GeoTiff can be either individual files or raster stacks. The third tutorial focuses on visualizing snow statistical values on charts. While the tutorials only use historic data from 2001 to 2019, the skills gained from the tutorials can be applied to present data.

    Authors: Ryan Munnikhuis, Marie Rivers, Julia Parish

    References

    Bair, E. H., Stillinger, T., & Dozier, J. (2021). Snow Property Inversion From Remote Sensing (SPIReS): A Generalized Multispectral Unmixing Approach With Examples From MODIS and Landsat 8 OLI. IEEE Transactions on Geoscience and Remote Sensing, 59(9), 7270–7284. https://doi.org/10.1109/TGRS.2020.3040328

    Stillinger, T., Bair, N., Colee, M., Davis, B., Dozier, J. 2022. Remotely-sensed products. Snow research at UC Santa Barbara and The Cold Regions Research and Engineering Laboratory (CRREL) and University of California Santa Barbara (UCSB) Energy Site. Last accessed: 2022/05/22. snow.ucsb.edu/index.php/remotely-sensed-products

    Snow Measurements in the Field

    Snow water equivalent (SWE) is a measure of the amount of liquid water in a snowpack. Typically units used to report SWE values are inches of water. Think of SWE as the depth of water you would have if an entire snowpack melted. This information is important to water supply managers and hydrologists. Simply measuring the depth of snow is not enough to estimate water quantities. As a snowpack condenses over time, its density increases, but the amount of water within the snowpack does not change. SWE is measured using snow pillows or Federal Snow Samplers. A snow pillow is an in situ device that measures the weight of a snowpack. This weight is then used to calculate an equivalent weight of water to get the snow water equivalent (SWE). A federal snow sampler is a long tube that is driven into the snowpack all the way to the ground surface below. This gets you both a depth of snow and a core sample of the snowpack. The core is then weighed using a calibrated scale that gives the corresponding SWE value. The snow density can then be calculated from the depth and weight.

    As our group experienced firsthand, it’s not easy to collect in field snow measurements of snow and it’s properties. In March, our group had the opportunity to meet our Capstone clients in Mammoth Lakes to see how snow data is collected on the ground. It became quickly apparent that the amount of time and energy needed to collect snow data is not feasible over large areas. In addition, things like mountainous terrain, weather conditions, and equipment logistics can increase the difficulty of acquiring these measurements. Once a snowpack has melted above the elevation of the highest field monitoring station, water managers could be left without vital information. Luckily, remote sensing, or data collection from satellites in this case, is an accurate and effective alternative for collecting snow measurements.

    snow federal sampler
    albedo measurement in the field
    snow pit to measures density profile

    References

    NRCS: What is Now Water Equivalent?

    Snow and Remote Sensing

    Remote sensing is when reflected and emitted radiation are measured from a distance to detect physics characteristics of an area. Remotely sensed data, which is often collected by satellite or aircraft, provide valuable information about Earth. Active remote sensing is when a satellite or aircraft emits a signal then a sensor detects how that signal reflects off the target area. Passive remote sensing does not involve an emitted signal and instead sensors detect emitted or reflected radiation such as reflected sunlight. Remote sensing techniques can be applied to a wide variety of studies such as landuse change, forestry, wildfires, weather events, and urban development. Remotely sensed data can also provide near real-time snow data to be collected on a global scale and eliminates many of the barriers of in-field measurements. This is particularly valuable for areas such as high mountain terrain that are difficult or dangerous to access.

    This app visualizes MODIS satellite imagery that has been processed using the SPIReS model to estimate fractional snow cover area and albedo. Pixels from the satellite data presented in this app have a spatial resolution of approximately 500 meters x 500 meters. Snow cover percent refers to the percentage of each pixel that the model estimates to be covered in snow.

    References

    USGS: What is remote sensing and what is it used for?

    Albedo

    Albedo is a non-dimensional, unitless measurement of how much solar energy is reflected from a surface. More specifically, albedo is the ratio of reflected solar radiation to incoming solar radiation. Theoretically, albedo values can range from 0 (the surface absorbs all incoming energy) to 1 (the surface reflects all incoming energy). Land surfaces typically have albedo values between 0.1 and 0.4.

    Albedo affects climate by determining how much radiation the planet absorbs. For this reason, snow albedo has important climate implications. In a way, albedo is a measure of the brightness of snow. Fresh, clean snow appears bright white and has high albedo, while old, dirty snow appears darker and has lower albedo. Typical albedo values for snow range between 0.65 and 0.85 but can be as low as 0.2 for dirty snow and as high as 0.9 for fresh snow. The more solar radiation snow absorbs, the faster it melts, so dark snow melts faster than clean snow. Spring snowmelt contributes to drinking water reservoirs in drier months. Earlier snowmelt can leave less water in the summer when it’s needed most.

    A layer of fresh snow increases albedo for that area, which can result in local cooling. When snow melts, it reveals darker surfaces such as soil or grass with lower albedo which increases local temperatures and encourages more melting in a feedback loop where the surface absorbs more solar radiation. Naturally occurring dust, ash from wildfire burnt areas, and soot from fossil fuels can be transported by wind and darken snow, which lowers its albedo value. Human activities such as overgrazing can contribute to the transport of dust. A case study found that snow in some areas was cleaner during COVID lockdowns.

    Due to the importance of albedo and variability of values over space and time, it may not be suitable to apply a single value to a broad region based solely on land cover. Since field measurements are difficult to collect, especially in mountainous terrain, albedo measurements from remotely sensed data sources are important.

    References

    Bair E, Stillinger T, Rittger K, Skiles M. COVID-19 lockdowns show reduced pollution on snow and ice in the Indus River Basin. Proc Natl Acad Sci U S A. 2021 May 4;118(18):e2101174118. doi: 10.1073/pnas.2101174118. PMID: 33903254; PMCID: PMC8106343.

    Properties of Snow. Our Winter World. 2022. http://ourwinterworld.org/snow-science/properties-of-snow

    Snow Today. National Snow and Ice Data Center. https://nsidc.org/reports/snow-today/glossary

    Data Source

    The data used in this project was created by the Earth Research Institute, which hosts a repository of historical snow condition data. These files were developed applying a physically-based model called the Snow Property Inversion From Remote Sensing (SPIReS) to daily satellite data. Model outputs are in an HDF5 (.H5) format. The SPIReS HDF5 files contain 19 years of snow cover and albedo data. There is one file for each year from water year 2001 to water year 2019 with snow cover and albedo in separate files. All data are publicly available, and there are no limitations to how others can use the data.

    The data files can be accessed here: snow.ucsb.edu/index.php/remotely-sensed-products

    The files used on this Shiny app are available within the SPIRES/Sierra and SPIRES/SierraAlbedo folders.

    The SPIReS model is a physically based model that uses multispectral unmixing to estimate snow properties from MODIS remote sensing imagery. The model uses data from the Moderate Resolution Imaging Spectroradiometer (MODIS) and calculates concentrations of light absorbing particles, grain size, albedo, and fractional snow cover. The model reduces computation time by grouping similar pixels. Since snow can be hidden by forest canopies, the model assumes that snow detected between canopy gaps is also present beneath trees.

    Cloud cover is always a challenge when attempting to identify snow from remote sensing imagery. To help minimize this error for low-lying areas with persistent cloud cover, the SPIReS model applies a minimum elevation filter. For example, in the Sierra Nevada, pixels below an elevation of 1,000 meters are set to a fractional snow cover of zero. Time-space smoothing is also applied to reduce errors caused by clouds. Typically, snow is present for a longer duration than clouds so pixels that do not display snow for a minimum threshold number of days are classified as no snow. The model also masks out water bodies to reduce the occurrence of false positives.

    References

    National Snow and Ice Data Center's (NSIDC) Snow Today: nsidc.org/reports/snow-today

    E. H. Bair, T. Stillinger and J. Dozier, "Snow Property Inversion From Remote Sensing (SPIReS): A Generalized Multispectral Unmixing Approach With Examples From MODIS and Landsat 8 OLI," in IEEE Transactions on Geoscience and Remote Sensing, vol. 59, no. 9, pp. 7270-7284, Sept. 2021, doi: 10.1109/TGRS.2020.3040328.

    Each pixel has a spatial resolution of 500 meters x 500 meters. The spatial projection of the data is Albers Equal-Area Conic, however this information is not connected to the data in a standard format recognized by mapping softwater and open-source packages. See the tutorials for guidance addressing this issue.

    Metadata

    Grid_angleunits: degrees

    Grid_aspect: normal

    Grid_falseeasting: 0

    Grid_falsenorthing: -4000000

    Grid_geoid: 6378137, 0.0818191908426215

    Grid_maplatlimit: -90, 90

    Grid_maplonlimit: -255, 15

    Grid_mapparallels: 34, 40.5

    Grid_mapparallels: 34, 40.5

    Grid_mapprojection: eqaconicstd

    Grid_MODIS_GRID_500m_dust_divisor: 10

    Grid_MODIS_GRID_500m_grain_size_divisor: 1

    Grid_MODIS_GRID_500m_raw_snow_fraction_divisor: 100

    Albedo divisor: 10000

    Grid_MODIS_GRID_500m_ReferencingMatrix: 0, 500, -285750, -500, 0, 500250

    Grid_MODIS_GRID_500m_snow_fraction_divisor: 100

    Grid_nparallels: 2

    Grid_origin: 0, -120, 0

    Grid_scalefactor: 1

    Grid_trimlat: -90, 90

    Grid_trimlon: -135, 135

    ISOdates: dates are presented in the format YYYYdoy. For example, '2017274' would be the 274th day of the year 2017.

    HDF5 Files

    Hierarchical Data Format version 5 (HDF5) is an efficient way to store large quantities of numerical data. There are distinct advantages to h5 files as they store a large amount of information in a smaller dataset and multiple types of data in a single group. Metadata attached to the data is described by using attributes.

    HDF5 simplifies the file structure to include three main types of object:

  • Datasets: multidimensional arrays of a homogeneous type
  • Groups: container structures that can hold datasets and other groups
  • Attributes: user-defined metadata that is attached to datasets and groups

  • HDF is self-describing, allowing an application to interpret the structure and contents of a file with no outside information. One HDF file can hold a mix of related objects, which can be accessed as a group or as individual objects.

    In Python, HDF5 files can be easily subsetted using array-like slicing operations similar to NumPy. When slicing, only the requested data is loaded into memory while the rest of the data remains on disk. This speeds up data processing. See the “Tutorials” tab in this app for more information on working with HDF5 files in Python.

    Reference

    Collette, A. (2013). Python and HDF5 (First Release). O “Reilly. https://learning.oreilly.com/library/view/python-and-hdf5/9781491944981/

    MEDS Capstone Project

    The Master of Environmental Data Science (MEDS) program at UC Santa Barbara's Bren School of Environmental Science & Management culminates with a 6-month group Capstone project.

    The Snow Today Capstone project’s primary goal was to create an open source workflow for processing and visualizing snow data. To achieve this goal, the Snow Today Group produced three deliverables:

  • Created recommendations for an information architecture plan and wireframe mockups of proposed Snow Today website;
  • Developed visuals of snow cover area and albedo on an interactive website application; and
  • Generated “How To” example tutorials to guide various end users through the process of using the data to extract meaningful insights.

  • The Snow Today Capstone Project delivered recommendations to update the current Snow Today website by creating an information architecture plan, wireframe mockups, and a web application prototype that includes interactive visualizations and end-user tutorials. Revamping the existing website interface aids users in navigating the site.

    All code generated for this project can be found on the MEDS Snow Today public GitHub Repository. Further information about this project can be found in our Technical Documentation.

    Current static visuals presented on the Snow Today website were updated with interactive figures to allow users to select specific geospatial regions and temporal ranges. Interactive visualizations are presented in a Shiny application that allows users to select a specific date and view maps of snow cover and albedo, then zoom in/out on the maps to view specific areas. The Shiny app also displays annual and monthly snow cover and albedo anomalies. Users can learn more about snow science, the importance of albedo, nuances of the HDF5 file metadata, and background information on the Capstone Project and team members from supplemental tabs within the Shiny app. The “Tutorials” tab on the Shiny app directs users to notebooks on our Group repository.

    End-user tutorials on the steps needed to access, process, and visualize snow cover extent and albedo data. These elements help the Client achieve their goals for an updated Snow Today website that enables a larger set of users to access and interpret seasonal snow condition data.

    capstone teammembers

    Snow Today

    Snow Today is an existing scientific analysis website that provides a near real time snapshot and interpretation of snow conditions across the Western United States. The Snow Today Website is a collaboration between the UCSB Earth Research Institute, the University of Colorado (CU) Boulder Cooperative Institute for Research in Environmental Sciences (CIRES), Institute of Arctic & Alpine Research (INSTAAR), and the National Snow and Ice Data Center (NSIDC). This website provides earth scientists, natural resource managers, and outdoor enthusiasts with valuable data from remote sensing satellites and surface observation stations. Data visualizations are presented for snow cover area, snow cover days, albedo, and snow water equivalent. Current values are compared to past days, years, and decades. Snow Today plans to expand the spatial extent of its data products to include all of North America, Greenland, and High Mountain Asia.



    Team Bios

    Ryan Munnikhuis

    Role: Project Manager

    Ryan Munnikhuis (RYE-awn MEW-nikh-HAOUSE; he/him) graduated from the University of California, Santa Cruz, in 2017 with a Bachelor of Science in Earth Science with a Concentration in Environmental Geology. Mr. Munnikhuis’s undergraduate education provided him a foundational understanding of the interactions between the biological, physical, and geologic processes. His senior capstone project utilized geospatial data to identify active faults and the extent of glacial moraines in Eastern Sierra Nevada to better understand the region’s complex Quaternary geologic history.

    Since graduating, Mr. Munnikhuis has worked as a forester and environmental analyst. As a forester, he has worked on various fire-related projects, including a community wildfire plan for Santa Barbara, a fuel reduction program for the County of Fresno, and a post-fire hazard tree assessment in Big Basin State Park. As an environmental analyst, he has assessed geologic, hydrologic, air quality, and greenhouse gas-related impacts of projects throughout California, such as a seismic dam retrofit in Merced County, a quarry restoration in San Diego County, and various large-scale developments.

    As a Bren MEDS student, Mr. Munnikhuis hopes to integrate his background with data science to better model and predict large-scale ecological and morphological changes resulting from climate change.

    website: ryanmunnikhuis.github.io

    Julia Parish

    Role: Communication Manager

    Julia Parish is an experienced Program Director with expertise in project management and invasion biology. She is currently a candidate for a master’s in Environmental Data Science at the Bren School of Environmental Science and Management at UC Santa Barbara. Since graduating from the University of Hawaii at Manoa with a B.A. in Environmental Studies, she has led field teams to enhance biological diversity, ecosystem health, and cultural and recreational resources on islands in the Pacific region and throughout Southern California. While working at Pohakuloa Training Area on Hawaii Island, she developed and implemented an invasive plant early detection and rapid response program, which involved establishing data collection and mapping standards. This experience solidified her passion for collecting and maintaining tidy data. After obtaining her master’s, she will focus on aiding land managers and conservation organizations with developing management priorities based on data science tools and analysis.

    website: juliaparish.github.io

    Marie Rivers

    Role: Data Manager

    Marie holds Bachelors and Masters degrees in Environmental Engineering from the University of Delaware (2009) and University of Massachusetts (2011). She is also a registered professional civil water resources engineer with 10 years of consultant experience modeling and designing municipal drinking water distribution systems. During this time, she observed the growing need for reproducible data science and visualization skills to develop innovative solutions to current and emerging environmental problems. Marie grew up on a small New England lake with high water quality in part due to a mostly forested watershed. Throughout Marie’s academic and professional career, she gained a greater understanding of the factors that contribute to water quality. An initial interest in lake ecosystems expanded to a larger awareness of the interconnectedness of environmental conditions and public health. After graduation, Marie plans to use her professional experience and new data science skills to evaluate interactions between human and natural systems and support implementation of measures that protect and improve the environment by communicating these dynamics to wider audiences.

    website: marierivers.github.io

    Acknowledgements

    The Snow Today Capstone Team would like to express our appreciation to all those who helped support and guide our project:

    Faculty Advisors:
    Dr. Sam Stevenson, Bren School of Environmental Science & Management
    Dr. Allison Horst, Bren School of Environmental Science & Management

    Clients:
    Dr. Timbo Stillinger, UCSB Earth Research Institute
    Dr. Ned Bair, UCSB Earth Research Institute
    Dr. Karl Rittger, CU Boulder Institute for Arctic and Alpine Research

    External Advisors:
    Kat Le, Bren School for Environmental Science & Management
    Niklas Griessbaum, Bren School of Environmental Science & Management
    Dr. James Frew, Bren School for Environmental Science & Management
    Aaron Martin, UCSB General Research IT
    Mike Colee, UCSB General Research IT

    Special Thanks:
    Jamie Montgomery, Bren School of Environmental Science & Management
    Samantha Csik, National Center for Ecological Analysis & Synthesis
    Brad Hill, Bren School of Environmental Science & Management
    UCSB General Research Information & Technology team
    National Snow and Ice Data Center Information & Technology team
    and the endlessly supportive Master of Environmental Data Science cohort.