Notebook-Based, Super CUstomizable Infrastructure for Diagnostics
Project description
nbscuid 🦑
Notebook-Based, Super CUstomizable Infrastructure for Diagnostics
This is a package to enable running notebook-based diagnostic workflows. Based on my-cesm-experiment by matt-long: https://github.com/matt-long/my-cesm-experiment.
See some examples of workflows at https://github.com/rmshkv/nbscuid-examples.
Capabilities
- Integration with data catalogs
- Inject custom parameters into code and Markdown cells
- Run many notebooks at once on a parameter set, or different parameters per notebook
- Run different notebooks in different environments
- Cache intermediate data products
- Quickly build a Jupyter book with results
Installation
-
Clone this repo
-
Activate the environment you want to install
nbscuidin. Within the clonednbscuiddirectory, run:pip install .Alternatively, to install the commands
nbscuid-runandnbscuid-buildwithout installing all ofnbscuid's dependencies, first installpipxwithpip install pipx, then run:pipx install .
Running a notebook collection
Create a new folder that contains a config.yml file. (A guide to what goes in a config.yml file is coming soon!) This will be the run directory for your collection of notebooks, where all the computed notebooks will appear.
To run all the notebooks you've specified, execute:
nbscuid-run path/to/config.yml
To build the jupyter book if desired, execute:
nbscuid-build path/to/config.yml
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file nbscuid-0.0.6.tar.gz.
File metadata
- Download URL: nbscuid-0.0.6.tar.gz
- Upload date:
- Size: 16.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.16
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6c0237ccd7f67c873c48f6665a888d1c56a93e7ce9be91e4c4746b9a36cf2098
|
|
| MD5 |
dece98368c8f5db43a54e08205b886a8
|
|
| BLAKE2b-256 |
1be5609d1b5bdff640a144c1b00b576bf8112bebc98852dab0ab9d1d6e8fd205
|
File details
Details for the file nbscuid-0.0.6-py3-none-any.whl.
File metadata
- Download URL: nbscuid-0.0.6-py3-none-any.whl
- Upload date:
- Size: 14.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.9.16
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3dd3f1aa07c0b49a9e9eda7a7d684532258f6ce0da9a1b858e97bdde9e7193d4
|
|
| MD5 |
86a6c5ed721758a732da9ffc004beb92
|
|
| BLAKE2b-256 |
eeb557a1ae6536e0c108e999285bf8856e4ed39eaf65827659b1f9b7501f0c6f
|