Skip to main content

MUSICA is a Python library for performing computational simulations in atmospheric chemistry.

Project description

MUSICA

GitHub Releases License docker macOS ubuntu windows pip DOI PyPI version FAIR checklist badge

Multi-Scale Infrastructure for Chemistry and Aerosols

MUSICA is a collection of modeling software, tools, and grids, that allow for robust modeling of chemistry in Earth's atmosphere.

At present the project encompasses these components

  • TUV-x

    • A photolysis rate calculator
  • MICM

    • Model Independent Chemical Module

Available grids

Pre-made grids for use in MUSICA are available here.

Contributors guide

Checkout our software development plan to see how you can contribute new science to MUSICA software.

Developer Options

Specifying dependency versions via paramaterization at configure time

Introduced in Pull Request #124, it is possible for developers to specify which versions of various dependencies should be used. These options are currently limited to those dependencies managed via FetchContent. This change allows for more easily testing musica against changes committed in different repositories and branches. The environmental variables introduced are outlined in the following table.

CMake Dependency Variables

Musica Dependency Repository Branch, Tag or Hash
Google Test GOOGLETEST_GIT_REPOSITORY GOOGLETEST_GIT_TAG
MICM MICM_GIT_REPOSITORY MICM_GIT_TAG
TUV-X TUVX_GIT_REPOSITORY TUVX_GIT_TAG
PyBind11 PYBIND11_GIT_REPOSITORY PYBIND11_GIT_TAG

Example Usage

The following examples assume the working directory is a build/ directory inside the musica source directory.

Specifying a different version of tuv-x, to ensure a change won't break anything.

$ cmake .. \
    -DTUVX_GIT_REPOSITORY="https://github.com/WardF/tuv-x.git" \
    -DTUVX_GIT_TAG=test-fix

Specifying a specific version of tuv-x by has, but using the official repository.

$ cmake .. \
    -DTUVX_GIT_TAG=a6b2c4d8745

Citing MUSICA

MUSICA can be cited in at least two ways. The first is to cite the paper that defines the vision of the MUSICA software. The bibtex entry below can be used to generate a citaiton for this.

@Article { acom.software.musica-vision,
    author = "Gabriele G. Pfister and Sebastian D. Eastham and Avelino F. Arellano and Bernard Aumont and Kelley C. Barsanti and Mary C. Barth and Andrew Conley and Nicholas A. Davis and Louisa K. Emmons and Jerome D. Fast and Arlene M. Fiore and Benjamin Gaubert and Steve Goldhaber and Claire Granier and Georg A. Grell and Marc Guevara and Daven K. Henze and Alma Hodzic and Xiaohong Liu and Daniel R. Marsh and John J. Orlando and John M. C. Plane and Lorenzo M. Polvani and Karen H. Rosenlof and Allison L. Steiner and Daniel J. Jacob and Guy P. Brasseur",
    title = "The Multi-Scale Infrastructure for Chemistry and Aerosols (MUSICA)",
    journal = "Bulletin of the American Meteorological Society",
    year = "2020",
    publisher = "American Meteorological Society",
    address = "Boston MA, USA",
    volume = "101",
    number = "10",
    doi = "10.1175/BAMS-D-19-0331.1",
    pages= "E1743 - E1760",
    url = "https://journals.ametsoc.org/view/journals/bams/101/10/bamsD190331.xml"
}

At present MUSICA is on version zero. MUSICAv0 can be cited using the bibtex entry below. MUSICAv0 description and evaluation:

@Article{acom.software.musica,
    author = {Schwantes, Rebecca H. and Lacey, Forrest G. and Tilmes, Simone and Emmons, Louisa K. and Lauritzen, Peter H. and Walters, Stacy and Callaghan, Patrick and Zarzycki, Colin M. and Barth, Mary C. and Jo, Duseong S. and Bacmeister, Julio T. and Neale, Richard B. and Vitt, Francis and Kluzek, Erik and Roozitalab, Behrooz and Hall, Samuel R. and Ullmann, Kirk and Warneke, Carsten and Peischl, Jeff and Pollack, Ilana B. and Flocke, Frank and Wolfe, Glenn M. and Hanisco, Thomas F. and Keutsch, Frank N. and Kaiser, Jennifer and Bui, Thao Paul V. and Jimenez, Jose L. and Campuzano-Jost, Pedro and Apel, Eric C. and Hornbrook, Rebecca S. and Hills, Alan J. and Yuan, Bin and Wisthaler, Armin},
    title = {Evaluating the Impact of Chemical Complexity and Horizontal Resolution on Tropospheric Ozone Over the Conterminous US With a Global Variable Resolution Chemistry Model},
    journal = {Journal of Advances in Modeling Earth Systems},
    volume = {14},
    number = {6},
    pages = {e2021MS002889},
    doi = {https://doi.org/10.1029/2021MS002889},
    url = {https://agupubs.onlinelibrary.wiley.com/doi/abs/10.1029/2021MS002889},
    eprint = {https://agupubs.onlinelibrary.wiley.com/doi/pdf/10.1029/2021MS002889},
    year = {2022}
}

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

musica-0.7.1-cp310-cp310-macosx_10_15_x86_64.whl (261.9 kB view details)

Uploaded CPython 3.10 macOS 10.15+ x86-64

File details

Details for the file musica-0.7.1-cp310-cp310-macosx_10_15_x86_64.whl.

File metadata

File hashes

Hashes for musica-0.7.1-cp310-cp310-macosx_10_15_x86_64.whl
Algorithm Hash digest
SHA256 ebef6d98350cdfa584d70a242e5f92bcb7293703e3616fc4fb3a549cf37f95c1
MD5 02f1001f9067755c772df4fe008ab5a4
BLAKE2b-256 4765fecd935820dbb8a93a5d390904e00717429a64db550b2d9a5b29b8085fc3

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