Skip to main content

This is the music_box package.

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.0.tar.gz (60.7 kB view details)

Uploaded Source

Built Distribution

acom_music_box-2.5.0-py2.py3-none-any.whl (76.1 kB view details)

Uploaded Python 2 Python 3

File details

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

File metadata

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

File hashes

Hashes for acom_music_box-2.5.0.tar.gz
Algorithm Hash digest
SHA256 5275fe25dac1d499f1b24d50720a2c480c59dfe82c618d9db6cfb9cce1575c1d
MD5 dd0dcf0177d51f0288b74149f8eb4cab
BLAKE2b-256 87182ef76a49dfe114767f3d3a222b52c48f537a16279fe2ae19f210d9154722

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for acom_music_box-2.5.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 b55524267ee611173a2fd3de785f6210d661984ad27edbdeb2aa4b1b34d0b4d3
MD5 cfdde4713444c1f89873238ea3c078d5
BLAKE2b-256 4d3dea552dcf1b2bfa1172c18ca710f5f4e4d57ce77b198df28202a3a22995bf

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