An atmospheric chemistry box model. Powered by MUSICA.
Project description
MusicBox
MusicBox: A MUSICA model for boxes and columns.
Copyright (C) 2020 National Center for Atmospheric Research
Installation
pip install acom_music_box
Command line tool
MusicBox provides a command line tool that can run configurations as well as some pre-configured examples. Basic plotting can be done if gnuplot is installed.
Checkout the command line options
music_box -h
Run an example. Notice that the output, in csv format, is printed to the terminal.
music_box -e Chapman
You can also run your own configuration
music_box -c my_config.json
Output can be saved to a file
music_box -e Chapman -o output.csv
And, if you have gnuplot installed, some basic plots can be made to show some resulting concentrations
music_box -e Chapman -o output.csv --color-output --plot CONC.O1D
Development and Contributing
For local development, install music-box
as an editable installation:
pip install -e '.[dev]'
Tests
pytest
Project details
Release history Release notifications | RSS feed
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 acom_music_box-2.5.2.tar.gz
.
File metadata
- Download URL: acom_music_box-2.5.2.tar.gz
- Upload date:
- Size: 60.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7fead433979b733c30db1ca1b902b05594d8f568a06d1ac4166bdf2e637137d1 |
|
MD5 | 4f1e8540b0d4eadc7e00ff40d545d579 |
|
BLAKE2b-256 | 04c2162828c746aa1298b3513b486ba71c8c07f5b8ec12b0d49f7e435b0ac887 |
File details
Details for the file acom_music_box-2.5.2-py2.py3-none-any.whl
.
File metadata
- Download URL: acom_music_box-2.5.2-py2.py3-none-any.whl
- Upload date:
- Size: 76.1 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/5.1.1 CPython/3.12.7
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 94ed24dccec6e3234275f18d88883a6a4bf7138911ebd4956d2b102afa4aee03 |
|
MD5 | 5082017dc3e1fe73977d6ab891854b73 |
|
BLAKE2b-256 | 519df4f2d35986023549dec7d2f27a44846b6718c01b468f5ef9f76f53110a7b |