solar

Visualize Solar Radiation Data

The data in this notebook come from the National Solar Radiation Data Base , specifically the 1991 - 2010 update to the National Solar Radiation Database . The data set consists of CSV files measured at USAF weather stations .

Setup

Run the download_sample_data.py script to download Lidar from Puget Sound LiDAR consortium and other example data sets.

From your local clone of the datashader repository:

cd examples
conda env create environment.yml
source activate ds 
python download_sample_data.py

Note on Windows, replace source activate ds with activate ds .

In [1]:
import glob
import os
import re

from collections import defaultdict
from dask.distributed import Client
from holoviews.operation import decimate
from holoviews.operation.datashader import dynspread
import dask
import dask.dataframe as dd
import holoviews as hv
import numpy as np
import pandas as pd

hv.notebook_extension('bokeh')
decimate.max_samples=1000
dynspread.max_px=20
dynspread.threshold=0.5

client = Client()