Skip to main content

CCMC Kamodo

The CCMC Kamodo Analysis Suite

Online Documentation

What's New?

2026 - September

  • Added support for NRLMSIS output in Kamodo

2026 - August

  • Full support of the latest Numpy, Pandas, NetCDF4, and Plotly versions
  • Full Python 3.14 support
  • Automated data management
  • Upgraded documentation
  • Improved test suite
  • Automated CI/CD with pushes directly to PyPI

Vision Statement

Kamodo is an official NASA open-source python package built upon the functionalization of datasets. Once a dataset is functionalized in Kamodo, several important capabilities are then available to the user, including data analysis via function composition, automatic unit conversions, and publication quality graphics all using intuitive and simplistic syntax. By applying these capabilities to heliophysics model outputs, we aim to:

  • Drastically simplify the currently complex data utilization process for model outputs,
  • Provide interactive access to functionalized model outputs for users ranging in programming skill from beginners – via code-free interfaces and video tutorials – to advanced users – via thorough documentation, Jupyter notebook examples and sample workflows,
  • Layer multiple functionalities on top of the functionalized model outputs, all with model-agnostic and uniform syntax, including but not limited to:
    • Flythrough tools,
    • Vector field tracing (including magnetic field mapping),
    • Coordinate conversions,
    • Domain-specific interactive plots of publication quality,
    • Modular driver swapping,
    • Satellite constellation mission planning tools,
    • Simulated imagery, and
    • A line of sight calculation tool,
  • Greatly reduce the programming skill currently required outside of Kamodo to perform model validation studies and model-data comparisons,
  • Enable model output utilization both on the cloud and on personal laptops in a variety of methods (e.g. through HAPI and interactive calls from the command line),
  • Streamline the CCMC user workflow by becoming interoperable with other CCMC services (e.g. CAMEL and the various scoreboards),
  • And become the next generation interface for CCMC users to interact with and analyze model outputs (e.g. through ROR and IR),

...all while keeping the developed software open-source and freely available. The Kamodo team also supports the heliophysics community by pursuing interoperability with commonly-used python packages, collaborating with community members to add model outputs and new functionalities, and remaining involved with community events (e.g. conferences, challenges, and research support). As the library of supported model outputs types expands and new model-agnostic tools are added, Kamodo will become a staple software package in the heliophysics community to transform current workflows into a more efficient and productive process. We are building the next generation of capability with Kamodo. Join us!

Kamodo currently supports:

Kamodo Installation Instructions

Kamodo is built to run with at least 16 GB of RAM. Attempting to run Kamodo with less memory may result in errors.

For most users, a simple pip install will work:

pip install kamodo-ccmc

System Requirements:

  • Python >= 3.10
  • At least 16 GB RAM
  • C compiler (gcc on Linux/Mac, MSVC on Windows) for compiling C extensions
    • SWMF-GM reader requires OCTREE_BLOCK_GRID C extension
    • GAMER-AM reader requires Tri2D C extension
  • Fortran compiler (gfortran) for OpenGGCM reader (optional)

Note: If you don't have a C compiler installed, kamodo-ccmc will still install successfully, but SWMF-GM and GAMER-AM model readers will be unavailable. Other model readers will work normally. You'll see warnings during installation about which readers are unavailable.

Installation from Source (Developers)

For development or to get the latest version:

# Clone the repository
git clone https://github.com/nasa/Kamodo.git
cd Kamodo

# Option 1: Regular install (extensions auto-compiled)
pip install .

# Option 2: Editable install (recommended for active development)
# NOTE: With modern setuptools (64+), editable installs require a manual build step
python setup.py build_ext --inplace
pip install -e . --no-build-isolation

About editable installs: Due to PEP 660 changes in setuptools 64+, custom build commands (like our C/Fortran compilation) don't run automatically in editable mode. You must build extensions explicitly first with python setup.py build_ext --inplace.

After code changes: If you modify any C/Fortran source files during development, re-run:

python setup.py build_ext --inplace --force

Installing Compilers

Linux (Ubuntu/Debian):

sudo apt-get install gcc gfortran

macOS:

# Install Xcode Command Line Tools
xcode-select --install

# Install gfortran (optional, for OpenGGCM)
brew install gcc

Windows:

# Install mingw-w64 via conda
conda install -c conda-forge m2w64-gcc-fortran libpython

Testing commands from an ipython or notebook session

from kamodo import Kamodo
k = Kamodo()  
import kamodo_ccmc.flythrough.model_wrapper as MW  
MW.Model_Variables('OpenGGCM_GM')
The OpenGGCM_GM model accepts the standardized variable names listed below.
-----------------------------------------------------------------------------------
B_x : '['x component of magnetic field', 0, 'GSE', 'car', ['time', 'x', 'y', 'z'], 'nT']'
B_y : '['y component of magnetic field', 1, 'GSE', 'car', ['time', 'x', 'y', 'z'], 'nT']'
B_z : '['z component of magnetic field', 2, 'GSE', 'car', ['time', 'x', 'y', 'z'], 'nT']'
E_x : '['x component of electric field', 6, 'GSE', 'car', ['time', 'x', 'x', 'x'], 'mV/m']'
E_y : '['y component of electric field', 7, 'GSE', 'car', ['time', 'y', 'y', 'y'], 'mV/m']'
E_z : '['z component of electric field', 8, 'GSE', 'car', ['time', 'z', 'z', 'z'], 'mV/m']'
N_plasma : '['number density of plasma (hydrogen equivalent)', 12, 'GSE', 'car', ['time', 'x', 'y', 'z'], '1/cm**3']'
P_plasma : '['plasma pressure', 14, 'GSE', 'car', ['time', 'x', 'y', 'z'], 'pPa']'
eta : '['resistivity', 13, 'GSE', 'car', ['time', 'x', 'y', 'z'], 'm**2/s']'
j_x : '['current density, x component', 15, 'GSE', 'car', ['time', 'x', 'y', 'z'], 'muA/m**2']'
j_y : '['current density, y component', 16, 'GSE', 'car', ['time', 'x', 'y', 'z'], 'muA/m**2']'
j_z : '['current density, z component', 17, 'GSE', 'car', ['time', 'x', 'y', 'z'], 'muA/m**2']'
v_plasmax : '['x component of plasma velocity', 9, 'GSE', 'car', ['time', 'x', 'y', 'z'], 'km/s']'
v_plasmay : '['y component of plasma velocity', 10, 'GSE', 'car', ['time', 'x', 'y', 'z'], 'km/s']'
v_plasmaz : '['z component of plasma velocity', 11, 'GSE', 'car', ['time', 'x', 'y', 'z'], 'km/s']'

Citing Kamodo

When publishing research which used Kamodo, please provide appropriate credit to the CCMC and the Kamodo team via citation or acknowledgment. Please also let the team know of publications or presentations that use Kamodo. Below is list of publications for Kamodo.

  • Pembroke, A., D. De Zeeuw, L. Rastaetter, R. Ringuette, O. Gerland, D. Patel and M. Contreras (2022). Kamodo: A functional API for space weather models and data. JOSS 7, 75, 4053, https://doi.org/10.21105/joss.04053.

  • Ringuette, R., D. De Zeeuw, L. Rastaetter, A. Pembroke, O. Gerland, K. Garcia-Sage (2022). Kamodo’s model-agnostic satellite flythrough: Lowering the utilization barrier for heliophysics model outputs, Frontiers in Astronomy and Space Sciences, vol 9. http://dx.doi.org/10.3389/fspas.2022.1005977.

  • Ringuette, R., L. Rastaetter, D. De Zeeuw, K. Garcia-Sage, R. Robinson, and O. Gerland (2022). Kamodo's Satellite Constellation Mission Planning Tool, poster presentation presented by L. Rastaetter at the 2022 Fall meeting of AGU, Dec 12-16, Chicago, IL, USA. https://doi.org/10.22541/essoar.167214257.73153757/v1.

  • Ringuette, R., L. Rastaetter, D. De Zeeuw, A. Pembroke, and O. Gerland (2023). Simplifying model data access and utilization. Adv. Space. Res. under review.

Resources

The Kamodo team

Dr. Darren De Zeeuw

Dr. Lutz Rastaetter

Open-Source License

Kamodo is an official NASA open source software package. Kamodo's official source code is hosted on github under a permissive NASA open source license: For more details, go here: https://github.com/nasa/Kamodo/raw/master/LICENSE

Metadata

Release files for kamodo-ccmc 26.10.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for kamodo-ccmc 26.10.1
File Size Uploaded Provenance
kamodo_ccmc-26.10.1.tar.gz 848.4 kB With provenance Details

Built distributions (wheels)

Table of built distributions (wheels) for kamodo-ccmc 26.10.1
File Interpreter ABI Platform
kamodo_ccmc-26.10.1-cp310-abi3-win_amd64.whl CPython 3.10 abi3 Windows x86-64 Details
kamodo_ccmc-26.10.1-cp310-abi3-manylinux_2_28_x86_64.whl CPython 3.10 abi3 Linux glibc 2.28+ x86-64 Details
kamodo_ccmc-26.10.1-cp310-abi3-macosx_14_0_arm64.whl CPython 3.10 abi3 macOS 14.0+ ARM64 Details

Total release size: 7.7 MB

Release files / kamodo_ccmc-26.10.1.tar.gz

Download URL kamodo_ccmc-26.10.1.tar.gz
Size 848.4 kB
Tags Source
SHA-256 checksum
How to use checksums
6ddb2b7d6daeb11b57550e2203a384a12e3dbca4242d13dd6145cd72ee7619e2
BLAKE2b-256 checksum
How to use checksums
0acd00747789db71b8cdbc0a42524829090fce72d4b8d79dd8f1a09efe27672d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 22, 2026.

Transparency log

Release files / kamodo_ccmc-26.10.1-cp310-abi3-win_amd64.whl

Download URL kamodo_ccmc-26.10.1-cp310-abi3-win_amd64.whl
Size 2.4 MB
Tags CPython 3.10 Windows x86-64 abi3
SHA-256 checksum
How to use checksums
c4a70e6c249c246ec4d83424ec16442f4be6a360c6ad5283e2484f0ddda369c0
BLAKE2b-256 checksum
How to use checksums
543cf68ae885eac1fcc167fee8330bb8a0639621ffd2c186a24058b78acd8005
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 22, 2026.

Transparency log

Release files / kamodo_ccmc-26.10.1-cp310-abi3-manylinux_2_28_x86_64.whl

Download URL kamodo_ccmc-26.10.1-cp310-abi3-manylinux_2_28_x86_64.whl
Size 2.0 MB
Tags CPython 3.10 Linux glibc 2.28+ x86-64 abi3
SHA-256 checksum
How to use checksums
b01ca6517dc00f0df62c7be5dc3b5f354be329d07120c96d3ca74e4ffb32d219
BLAKE2b-256 checksum
How to use checksums
6eec69e6f1b79617af293796a0fafd7667fc25dd09f9441acee96d2548837f60
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 22, 2026.

Transparency log

Release files / kamodo_ccmc-26.10.1-cp310-abi3-macosx_14_0_arm64.whl

Download URL kamodo_ccmc-26.10.1-cp310-abi3-macosx_14_0_arm64.whl
Size 2.5 MB
Tags CPython 3.10 abi3 macOS 14.0+ ARM64
SHA-256 checksum
How to use checksums
c9b2053db45306de0f0cbb50c7433e8e6f41a538fe5acfd9bc9bd23b73164b58
BLAKE2b-256 checksum
How to use checksums
b1cead71958446f10b2446d9b3d160d57f0eea540ce7a716376d68c57b77f049
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.16

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 22, 2026.

Transparency log

Security for kamodo-ccmc 26.10.1

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

Full provenance

All 4 files in this release have been uploaded with provenance metadata.

Select from 4 files

Attestation for kamodo_ccmc-26.10.1.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on Oct 22, 2026.

Transparency log

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page