Examples for Data Access and Visualization

Prerequisites

To provide progressive streaming capability for large datasets, the data has been converted to OpenVisus IDX format.

Option 1: Using Conda

Download the environment.yml file from the Pythia OpenVisus Cookbook GitHub repository and use conda to create your environment. This will install all required libraries for data access and visualization.

  1. Step 1: Download environment.yml from here.
  2. Step 2: Create the environment using conda:
    conda env create -f environment.yml
  3. Step 3: Activate the environment:
    conda activate nsdf-cookbook

For more instructions on managing conda environments, see the official documentation.

Option 2: Using pip

source .venv/bin/activate</code></pre>

If you prefer to use pip, you can create a Python virtual environment and install the minimal required libraries manually:

  1. Step 1: Create a new virtual environment:
    python -m venv .venv
    source .venv/bin/activate
  2. Step 2: Install the required libraries:
    python -m pip install jupyterlab matplotlib requests aiohttp bokeh panel xmltodict colorcet boto3 basemap OpenVisus openvisuspy