PrecipitationΒΆ

config:
  title: "Precipitation Dashboard"
sources:
  rockies:
    type: intake
    shared: true
    cache_dir: cache
    catalog:
      sources:
        southern_rockies:
          description: These data sets are subsets of the Maurer, et al. (2007) bias corrected, spatially downscaled monthly climate predictions. The CSV files here cover three emissions scenarios b1 (low emissions and rate of change), a1b (middle) and a2 (high). Emission scenarios are possibilities for how the future will unfold in terms of greenhouse gas emissions, land use and other environmental factors.
          driver: csv
          args:
            urlpath: '{{ CATALOG_DIR }}/data/SRLCC_{emissions}_Precip_{model}.csv'
            csv_kwargs:
              skiprows: 3
              names: ['time', 'precip']
              parse_dates: ['time']
          metadata:
            origin: https://www.sciencebase.gov/catalog/item/511e740de4b071e86a19a524
            fields:
              precip:
                label: Precipitation
                unit: mean mm/day
targets:
  - title: Southern Rockies
    source: rockies
    facet:
      by: [model]
      layout: column
    filters:
      - field: emissions
        type: widget
    views:
      - table: southern_rockies
        type: hvplot
        kind: line
        x: time
        y: precip
        by: [model, emissions]
        min_height: 200
        responsive: true
    sizing_mode: stretch_width