Skip to main content

An atmospheric chemistry box model. Powered by MUSICA.

Project description

MusicBox

MusicBox: A MUSICA model for boxes and columns.

License CI Status PyPI version

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

acom_music_box-2.5.4.tar.gz (54.8 kB view details)

Uploaded Source

Built Distribution

acom_music_box-2.5.4-py2.py3-none-any.whl (66.4 kB view details)

Uploaded Python 2 Python 3

File details

Details for the file acom_music_box-2.5.4.tar.gz.

File metadata

  • Download URL: acom_music_box-2.5.4.tar.gz
  • Upload date:
  • Size: 54.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/5.1.1 CPython/3.12.7

File hashes

Hashes for acom_music_box-2.5.4.tar.gz
Algorithm Hash digest
SHA256 59cdff2ab3656773968b9b91587658ea514b38d812080e04916716264f34d371
MD5 c57ce3f2508c3f1d1b3644331a7d61a8
BLAKE2b-256 1c4a8ed59c06fc8958342330775e95a797f5d260446e78e8f9dc73d6a30d34b3

See more details on using hashes here.

File details

Details for the file acom_music_box-2.5.4-py2.py3-none-any.whl.

File metadata

File hashes

Hashes for acom_music_box-2.5.4-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 97ce6d6428aab5b64810be1edf858066df70b1fb71cb7c5bc8c1c8bcf332efe7
MD5 8de40a927b4382e79191e22c26030a50
BLAKE2b-256 66328e2001f3e6c238f0ab3bf833213a191d78d41c738b5e066b6c0dc2353ef3

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page