Parallel Sensitivity Analysis and Calibration
Project description
# parsac
parsac (formerly acpy) is a Python-based tool for sensitivity analysis and auto-calibration in parallel. It is designed for analysis of models that take significant time to run. For that reason, it focuses on storing and exploiting every single model result, and performing model runs in parallel on either a single machine or on computer clusters. It works with models that are run by calling one binary, that use text-based configuration files based on YAML or Fortran namelists, and that write their output to NetCDF.
[![DOI](https://zenodo.org/badge/206791023.svg)](https://zenodo.org/badge/latestdoi/206791023) [![Build Status](https://travis-ci.com/BoldingBruggeman/parsac.svg?branch=master)](https://travis-ci.com/BoldingBruggeman/parsac)
## Installation
pip install parsac –user
Remove –user to install in the system’s shared Python directory (not recommended). Some systems have multiple versions of pip, e.g., pip for Python 2, pip3 for Python 3. Make sure you use the command that corresponds to the Python version you want to install into.
### Dependencies
parsac supports parallel simulations through [Parallel Python](https://www.parallelpython.com). This package supports Python 2 out of the box (pip install pp –user), but its Python 3 version is currently in beta. To install pp in Python 3, [download the zip file with the Python 3 port of Parallel Python](https://www.parallelpython.com/content/view/18/32), extract its contents, go to the contained directory and open a command prompt there, then run python setup.py install.
parsac uses [SALib](https://github.com/SALib/SALib) for sensitivity analysis. Typically, this can be installed with pip install SALib –user. If you are using [the Anaconda Python distribution](https://www.anaconda.com), you can instead do conda install SALib (you may need to add -c conda-forge).
## Known issues
On Windows, parallel runs may finish with several “ERROR: The process “xxx” not found.” messages. These are harmless and can be ignored - the analysis has completed successfully and all results have been correctly processed.
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
File details
Details for the file parsac-0.5.8.tar.gz
.
File metadata
- Download URL: parsac-0.5.8.tar.gz
- Upload date:
- Size: 68.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6fc73fcfed5dca7d8ffe480b642488497d250ea68380df05f18e0e6f44ae6feb |
|
MD5 | 17c2b6d834afe666eb99e31fbf433a43 |
|
BLAKE2b-256 | 20c9ae18f518b39f32457dd4f5cb57c83027549ec6de5bc76b01d2a7a38be692 |
File details
Details for the file parsac-0.5.8-py3-none-any.whl
.
File metadata
- Download URL: parsac-0.5.8-py3-none-any.whl
- Upload date:
- Size: 72.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2893a993cd44929e38dfc1ea794f26ca0f3ef096a2a433090829a0a32ae7464f |
|
MD5 | abfaf6159449dac4b7aad616bb1f7cba |
|
BLAKE2b-256 | 98b182a4c618dff1739c8b4a253367072458cd15d77afa7a83fb2ecc48e577ac |