CREDIT
An open software platform to train and deploy AI atmospheric prediction model.
https://github.com/ncar/miles-credit
Category: Atmosphere
Sub Category: Meteorological Observation and Forecast
Keywords from Contributors
weather grib hugo
Last synced: about 12 hours ago
JSON representation
Repository metadata
NCAR MILES Community Research Earth Digital Intelligence Twin (CREDIT): research platform for ML Earth system prediction models.
- Host: GitHub
- URL: https://github.com/ncar/miles-credit
- Owner: NCAR
- License: apache-2.0
- Created: 2023-10-27T21:01:07.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2026-07-01T20:56:18.000Z (4 days ago)
- Last Synced: 2026-07-01T21:17:39.577Z (4 days ago)
- Language: Python
- Homepage: https://miles-credit.readthedocs.io/en/latest/
- Size: 298 MB
- Stars: 85
- Watchers: 16
- Forks: 34
- Open Issues: 33
- Releases: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
README.md
NSF NCAR MILES Community Research Earth Digital Intelligence Twin (CREDIT)
CREDIT npj Climate and Atmospheric Science Article
About
CREDIT is an open software platform to train and deploy AI atmospheric prediction models. CREDIT offers fast models
that can be flexibly configured both in terms of input data and neural network architecture. The interface is designed
to be user-friendly and enable fast spin-up and iteration. CREDIT is backed by the AI and atmospheric science expertise
of the MILES group and the NSF National Center for Atmospheric Research, leading to design choices that balance advanced
AI/ML with our physical knowledge of the atmosphere.
CREDIT has reached its first stable release with a full set of models, training, and deployment options. It continues
to be under active development. Please contact the MILES group if you have any questions about CREDIT.
New to CREDIT? See QUICKSTART.md to get up and running locally, or the full online Quickstart for detailed guidance.
AI assistant
credit ask is a unified AI assistant — it automatically runs in agent mode (reads your
files, runs shell commands, iterates until it has a confident answer) when an Anthropic key
is available, or falls back to simple chat (Groq, OpenRouter, Gemini, or OpenAI) otherwise.
pip install "miles-credit[ask]"
# Free — no card needed (pick either)
export GROQ_API_KEY=gsk_... # https://console.groq.com
export OPENROUTER_API_KEY=sk-or-... # https://openrouter.ai
# Or use your own Anthropic key for full agent mode (~$0.01–0.05/session)
export ANTHROPIC_API_KEY=sk-ant-... # https://console.anthropic.com
credit ask "why is my loss not decreasing?"
credit ask -c my_run.yml "why did my training run crash?"
The assistant picks the first provider with an available API key. Supported keys:
| Env var | Provider / model | Mode |
|---|---|---|
ANTHROPIC_API_KEY |
Anthropic (Claude) | full agent mode |
GROQ_API_KEY |
Groq (Llama 3, free) | simple chat |
OPENROUTER_API_KEY |
OpenRouter (Qwen3-Next-80B, free) | simple chat |
GOOGLE_API_KEY |
Google (Gemini) | simple chat |
OPENAI_API_KEY |
OpenAI (GPT-4o) | simple chat |
See the AI Assistant documentation for the full reference.
MILES CREDIT also provides more detailed documentation with installation
instructions, how to get started training and deploying models, how to interpret the config files, and full API docs.
Citing CREDIT
If you are interested in using CREDIT as part of your research, please cite the following paper:
Schreck, J.S., Sha, Y., Chapman, W. et al. Community Research Earth Digital Intelligence Twin: a scalable framework
for AI-driven Earth System Modeling. npj Clim Atmos Sci 8, 239 (2025). https://doi.org/10.1038/s41612-025-01125-6
Model Weights and Data
Model weights for the CREDIT 6-hour WXFormer and FuXi models and the 1-hour WXFormer are available on huggingface.
Processed ERA5 Zarr Data are available for download through Globus (requires free account) through the CREDIT ERA5 Zarr Files collection.
Scaling/transform values for normalizing the data are available through Globus here.
CREDIT also supports realtime runs generated from deterministic Google Cloud GFS files
and raw cube sphere GEFS files.
Support
This software is based upon work supported by the NSF National Center for Atmospheric Research, a major facility sponsored by the
U.S. National Science Foundation under Cooperative Agreement No. 1852977 and managed by the University Corporation for Atmospheric Research. Any opinions, findings and conclusions or recommendations
expressed in this material do not necessarily reflect the views of NSF. Additional support for development was provided by
The NSF AI Institute for Research on Trustworthy AI for Weather, Climate, and Coastal Oceanography (AI2ES) with grant
number RISE-2019758 and by Schmidt Sciences, LLC.
Owner metadata
- Name: NSF National Center for Atmospheric Research
- Login: NCAR
- Email:
- Kind: organization
- Description: NSF NCAR is sponsored by the U.S. National Science Foundation and managed by the University Corporation for Atmospheric Research.
- Website: http://ncar.ucar.edu
- Location: Boulder, CO
- Twitter:
- Company:
- Icon url: https://avatars.githubusercontent.com/u/2007542?v=4
- Repositories: 934
- Last ynced at: 2024-04-16T05:55:57.342Z
- Profile URL: https://github.com/NCAR
GitHub Events
Total
- Create event: 47
- Commit comment event: 149
- Release event: 3
- Delete event: 15
- Member event: 4
- Pull request event: 142
- Fork event: 12
- Issues event: 34
- Watch event: 40
- Issue comment event: 91
- Push event: 551
- Public event: 1
- Pull request review comment event: 72
- Pull request review event: 135
Last Year
- Fork event: 12
- Create event: 39
- Commit comment event: 149
- Release event: 2
- Issues event: 33
- Watch event: 37
- Delete event: 9
- Member event: 4
- Issue comment event: 76
- Push event: 484
- Pull request event: 122
- Pull request review event: 100
- Pull request review comment event: 48
Committers metadata
Last synced: 3 days ago
Total Commits: 2,293
Total Committers: 28
Avg Commits per committer: 81.893
Development Distribution Score (DDS): 0.756
Commits in past year: 1,014
Committers in past year: 21
Avg Commits per committer in past year: 48.286
Development Distribution Score (DDS) in past year: 0.679
| Name | Commits | |
|---|---|---|
| John Schreck | j****k@g****m | 559 |
| Yingkai Sha | y****a@g****m | 511 |
| David John Gagne | d****e@g****m | 382 |
| Seth McGinnis | m****s@u****u | 148 |
| charlie-becker | c****r@u****u | 137 |
| kevinyang-cky | k****g@u****u | 106 |
| willychap | w****n@u****u | 85 |
| danineamati | d****i@g****m | 74 |
| dkimpara | d****a@u****u | 51 |
| dkimpara | d****a@g****m | 50 |
| Katelyn FitzGerald | 7****d | 47 |
| Negin Sobhani | n****3@g****m | 33 |
| Arnold Kazadi | a****o@g****m | 23 |
| dependabot[bot] | 4****] | 13 |
| sgpearse | p****e@u****u | 13 |
| ggantos | g****s@u****u | 13 |
| pre-commit-ci[bot] | 6****] | 12 |
| Ben Kirk | b****k@u****u | 8 |
| Stanley Akor | s****r@c****u | 6 |
| Stanley Akor | s****r@c****u | 6 |
| Stanley Akor | s****r@c****u | 4 |
| Nihanth Wagmi Cherukuru | n****u@u****u | 3 |
| Jay Rothenberger | 3****r | 3 |
| Stanley Akor | s****r@u****u | 2 |
| Sai Asish Y | s****5@g****m | 1 |
| “kjmayer” | “****r@u****” | 1 |
| Stanley Akor | s****r@c****u | 1 |
| unknown | d****8@g****m | 1 |
Committer domains:
- ucar.edu: 9
- crhtc66.hpc.ucar.edu: 1
- ucar.edu”: 1
- u.boisestate.edu: 1
- casper-login2.hpc.ucar.edu: 1
- crhtc65.hpc.ucar.edu: 1
- casper01.hpc.ucar.edu: 1
Issue and Pull Request metadata
Last synced: 13 days ago
Total issues: 56
Total pull requests: 228
Average time to close issues: 4 months
Average time to close pull requests: 9 days
Total issue authors: 15
Total pull request authors: 20
Average comments per issue: 0.98
Average comments per pull request: 0.82
Merged pull request: 170
Bot issues: 0
Bot pull requests: 5
Past year issues: 38
Past year pull requests: 69
Past year average time to close issues: about 1 month
Past year average time to close pull requests: 9 days
Past year issue authors: 12
Past year pull request authors: 16
Past year average comments per issue: 0.82
Past year average comments per pull request: 1.41
Past year merged pull request: 34
Past year bot issues: 0
Past year bot pull requests: 5
Top Issue Authors
- charlie-becker (11)
- djgagne (11)
- kafitzgerald (8)
- dkimpara (8)
- yingkaisha (4)
- NihanthCW (2)
- sethmcg (2)
- kevinyang-cky (2)
- jsschreck (2)
- kjmayer (1)
- jshaw35 (1)
- tmerlis (1)
- AidanJanney (1)
- WillyChap (1)
- sgpearse (1)
Top Pull Request Authors
- jsschreck (71)
- yingkaisha (33)
- djgagne (32)
- dkimpara (18)
- WillyChap (14)
- kanz76 (11)
- charlie-becker (10)
- kafitzgerald (9)
- sethmcg (5)
- dependabot[bot] (4)
- stanleyakor1 (4)
- sgpearse (3)
- NihanthCW (3)
- benkirk (2)
- kjmayer (2)
Top Issue Labels
- bug (5)
- enhancement (2)
- help wanted (1)
- github_actions (1)
Top Pull Request Labels
- github_actions (4)
- dependencies (4)
- documentation (1)
- enhancement (1)
- bug (1)
Package metadata
- Total packages: 2
- Total downloads: unknown
- Total dependent packages: 0 (may contain duplicates)
- Total dependent repositories: 0 (may contain duplicates)
- Total versions: 10
proxy.golang.org: github.com/ncar/miles-credit
- Homepage:
- Documentation: https://pkg.go.dev/github.com/ncar/miles-credit#section-documentation
- Licenses: apache-2.0
- Latest release: v2026.1.1+incompatible (published 2 months ago)
- Last Synced: 2026-06-24T09:42:32.173Z (12 days ago)
- Versions: 5
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent packages count: 5.395%
- Average: 5.576%
- Dependent repos count: 5.758%
proxy.golang.org: github.com/NCAR/miles-credit
- Homepage:
- Documentation: https://pkg.go.dev/github.com/NCAR/miles-credit#section-documentation
- Licenses: apache-2.0
- Latest release: v2026.1.1+incompatible (published 2 months ago)
- Last Synced: 2026-06-24T09:42:32.553Z (12 days ago)
- Versions: 5
- Dependent Packages: 0
- Dependent Repositories: 0
-
Rankings:
- Dependent packages count: 5.395%
- Average: 5.576%
- Dependent repos count: 5.758%
Dependencies
- actions/checkout v4 composite
- mamba-org/setup-micromamba v1 composite
- actions/checkout v4 composite
- actions/download-artifact v4 composite
- actions/setup-python v5 composite
- actions/upload-artifact v4 composite
- pypa/gh-action-pypi-publish release/v1 composite
- bridgescaler *
- cartopy *
- dask *
- dask-jobqueue *
- distributed *
- echo-opt *
- einops *
- fsspec *
- gcsfs *
- haversine *
- matplotlib *
- myst_parser *
- netcdf4 *
- numpy *
- pandas *
- pre-commit *
- pvlib *
- pyarrow *
- pysteps *
- pytest *
- pyyaml *
- ruff *
- scikit-learn *
- segmentation-models-pytorch *
- sphinx *
- sphinx-autoapi *
- sphinx-book-theme *
- torch *
- torch-harmonics *
- torch_geometric *
- torchvision *
- xarray *
- zarr *
- bridgescaler *
- cartopy *
- dask *
- dask-jobqueue *
- distributed *
- echo-opt *
- einops *
- fsspec *
- gcsfs *
- haversine *
- jupyter *
- matplotlib *
- netcdf4 *
- numpy *
- pandas *
- pre-commit *
- pvlib *
- pyarrow *
- pytest *
- pyyaml *
- ruff *
- scikit-learn *
- segmentation-models-pytorch *
- torch *
- torch-harmonics *
- torch_geometric *
- torchvision *
- xarray *
- zarr *
Score: -Infinity