New Tethys App Project¶
Last Updated: May 2022
1. Setting up the scaffold¶
Tethys Platform provides an easy way to create new app projects called a scaffold. The scaffold generates a Tethys app project with the minimum files and the folder structure that is required (see App Project Structure).
Create a new app for this tutorial as follows:
Activate the Tethys conda environment:
conda activate tethys
Scaffold a new app named
tethys scaffold dask_tutorial
Install the app in development mode:
cd tethysapp-dask_tutorial tethys install -d
Start the Tethys development server:
tethys manage start
Documentation for Dask may be found at https://dask.org
Dask is a tool for natively scaling and parallelizing python. It can broadly be categorized into dynamic task scheduling, and "big data" collections.
Dask Delayed tasks operate lazily. This means that execution is split onto a separate thread for completion and then return.
Dask Distributed is a tool for managing a medium sized cluster. See https://distributed.readthedocs.io/en/latest/