Metadata-Version: 2.1
Name: acom_music_box
Version: 2.5.3
Summary: An atmospheric chemistry box model. Powered by MUSICA.
Author: Evan De la Garza, Walker Drury, Alexander Garza, Brendan Fattig
Author-email: Matthew Dawson <mattdawson@ucar.edu>, Kyle Shores <kshores@ucar.edu>, Andrew Conley <aconley@ucar.edu>, Carl Drews <drews@ucar.edu>
Maintainer-email: ACOM MUSICA Developers <musica-support@ucar.edu>
Description-Content-Type: text/markdown
Classifier: License :: OSI Approved :: Apache Software License
Requires-Dist: musica==0.8.1
Requires-Dist: xarray
Requires-Dist: colorlog
Requires-Dist: pandas
Requires-Dist: tqdm
Requires-Dist: netcdf4
Requires-Dist: pytest ; extra == "dev"
Requires-Dist: pytest-mock ; extra == "dev"
Project-URL: Home, https://github.com/NCAR/music-box
Provides-Extra: dev


MusicBox
========

MusicBox: A MUSICA model for boxes and columns.

[![License](https://img.shields.io/github/license/NCAR/music-box.svg)](https://github.com/NCAR/music-box/blob/main/LICENSE)
[![CI Status](https://github.com/NCAR/music-box/actions/workflows/CI_Tests.yml/badge.svg)](https://github.com/NCAR/music-box/actions/workflows/CI_Tests.yml)
[![PyPI version](https://badge.fury.io/py/acom-music-box.svg)](https://badge.fury.io/py/acom-music-box)

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
```

