Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
75 commits
Select commit Hold shift + click to select a range
ab42cdb
Remove prebuild and capgen
climbfuji May 13, 2026
9a9fbc1
Update GitHub workflows for capgen-ng
climbfuji May 13, 2026
fc007c6
Add directories capgen-ng, unit-tests, end-to-end-tests
climbfuji May 13, 2026
43fb5b2
Add doc/
climbfuji May 13, 2026
f72cb29
Update GitHub workflows
climbfuji May 13, 2026
eaaea49
.github/workflows/unit-tests.yaml: drop Python 3.8, EOL Oct 2024
climbfuji May 13, 2026
9912ba4
Minor bug fixes in capgen-ng code and unit tests from ccpp-scm integr…
climbfuji May 13, 2026
837bcd1
Update documentation
climbfuji May 13, 2026
cfd4bf7
Update doc
climbfuji May 13, 2026
b9a28d2
Update capgen-ng: ccpp_datafile --scheme-files
climbfuji May 13, 2026
0f83989
Update capgen-ng/** and unit-test/* with bug fixes from CCPP-SCM GFS …
climbfuji May 14, 2026
f2c5918
Update doc/* and add doc/briefing.md
climbfuji May 14, 2026
2a9892b
Temporarily add end-to-end-tests.sh
climbfuji May 14, 2026
ac6d4d8
Merge branch 'develop' of https://github.com/ncar/ccpp-framework into…
climbfuji May 14, 2026
8fd7b3e
Update capgen-ng and unit-tests: all GFS v17 p8 suites in SCM
climbfuji May 14, 2026
687f585
Minor updates for GFS v16 suites in SCM
climbfuji May 14, 2026
e25e253
Minor updates from last CCPP-SCM suites
climbfuji May 15, 2026
f29e7e7
Add --trace flag to capgen call
climbfuji May 15, 2026
a35632a
Shorten Fortran names of auto-generated subroutines/functions
climbfuji May 15, 2026
205ec79
Update capgen-ng: move number_of_instances from host table to control…
climbfuji May 15, 2026
0909524
Bug fixes for NEPTUNE, rename ccpp_static_api
climbfuji May 15, 2026
1043666
Bug fix: local_subscript lost in active expressions (and three siblin…
climbfuji May 15, 2026
96ffd0c
ccpp_physics_final and ccpp_final idempotent
climbfuji May 16, 2026
2704aea
Fix final phase idempotency
climbfuji May 16, 2026
abe5f11
Save documentation updates
climbfuji May 16, 2026
523ac77
Add end-to-end-tests/instances_advection and bug fixes/updates to cap…
climbfuji May 19, 2026
eae0d48
Add doc/briefing_pm.md
climbfuji May 19, 2026
68eff47
Clean up dead code in capgen-ng/**
climbfuji May 19, 2026
4d39dad
Manual update of doc/briefing_pm.md
climbfuji May 19, 2026
f4c0ef1
Update spelling in docs/*
climbfuji May 19, 2026
819164e
Update all documents
climbfuji May 19, 2026
80b0d17
Better error messages from xml suite parser; run doctests in CI
climbfuji May 20, 2026
5ab30e5
Simplify GitHub actions testing
climbfuji May 20, 2026
9346b75
Enable stricter Fortran <--> Metadata validation
climbfuji May 20, 2026
4ddb0e0
Bug fix validate host active attribute against scheme optional attribute
climbfuji May 20, 2026
780562d
Rename all remnants of ccpp_static_api to <host>_ccpp_cap
climbfuji May 20, 2026
2653ab8
Catch conditionally-allocated variables when not allocated but scheme…
climbfuji May 21, 2026
37ea00e
Fix comments in metadata
climbfuji May 21, 2026
6948a92
True variable compatibility checks
climbfuji May 21, 2026
9baf74a
Update docs
climbfuji May 21, 2026
24f6484
New legacy switch --gfs-dim-aliases; clean up previous use of horizon…
climbfuji May 21, 2026
b21b6ac
Remove unused argument --gfs-dim-names from ccpp_validator.py
climbfuji May 21, 2026
0204153
Add legacy feature to support auto-cloned constituents
climbfuji May 21, 2026
43c1761
Update docs/*
climbfuji Jun 1, 2026
8b91f6f
Clean up docs/*
climbfuji Jun 1, 2026
0ac0dee
ccpp_validator for host data
climbfuji Jun 1, 2026
a99ca8a
capgen-ng/ccpp_capgen_ng.py: add return_state argument
climbfuji Jun 2, 2026
16ef2d4
Add ccpp_constituent_minimum_values to framework-resolved variables
climbfuji Jun 3, 2026
8318656
Cap long Fortran names
climbfuji Jun 3, 2026
9550b77
Fix constituents imports for auto-clone constituents legacy shim
climbfuji Jun 4, 2026
0477412
Rename internal hardcoded errflg to errcode, update tests
climbfuji Jun 4, 2026
cd82d1e
Bug fix for mangled constituent indices
climbfuji Jun 4, 2026
bc6a087
Bug fix for auto-clone constituents that are also defined elsewhere a…
climbfuji Jun 4, 2026
d9877eb
Fix hopefully last bug arising from special handling of index_of_* va…
climbfuji Jun 4, 2026
7a3263e
Fix unique names in suite-owned objects, triggered by CAM-SIMA rrtmgp…
climbfuji Jun 4, 2026
5cf0b5d
Bug fix for allocatable scheme data
climbfuji Jun 4, 2026
130f2ff
Third rrtmgp-related bugfix in capgen-ng - dimensions for suite varia…
climbfuji Jun 4, 2026
007a0ea
Bug fix and improvement: catch non-allocatable variables that depend …
climbfuji Jun 4, 2026
2424718
BUg fixes for num_ccpp_constituents dimensioned objects; end-to-end t…
climbfuji Jun 5, 2026
04acc29
Bug fixes for constituents dimensions and variables being used in oth…
climbfuji Jun 5, 2026
aaccbff
Update docs
climbfuji Jun 5, 2026
b576b35
Add doc/capgen_compat_layer.md, update all other docs
climbfuji Jun 6, 2026
3b1fa57
Update doc/briefing_pm.md
climbfuji Jun 6, 2026
a1d9a00
Sharpening rules around character(len=...) so that first scheme/host/…
climbfuji Jun 8, 2026
f0bf618
Bug fix in capgen-ng: if all groups are called, check for errflg /= 1…
climbfuji Jun 8, 2026
44eb383
Bug fixes and updates for Fortran vs metadata validation: now validat…
climbfuji Jun 8, 2026
cda7b9a
Bug fix for double allocation of constituents
climbfuji Jun 8, 2026
0fb1a1a
Make thread_number / number_of_threads an opt-in pair like the instan…
climbfuji Jun 10, 2026
e2e25f5
Add ccpp_constituent_prop_mod.F90.patch and doc/cam4_fwaut_constituen…
climbfuji Jun 11, 2026
5a0356e
Update doc/cam4_fwaut_constituent_order.md
climbfuji Jun 11, 2026
befff74
Update doc/cam4_fwaut_constituent_order.md
climbfuji Jun 11, 2026
d568a44
Update doc/cam4_fwaut_constituent_order.md with code and run director…
climbfuji Jun 16, 2026
2d604c9
Add doc/file_catalogue_DRAFT.md (will be moved into developer documen…
climbfuji Jun 24, 2026
19b01c3
Add doc/code_walkthrough_DRAFT.md, update doc/constituents_overhaul.md
climbfuji Jun 25, 2026
c4b7d9a
Rename capgen-ng to capgen
climbfuji Jun 29, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
63 changes: 0 additions & 63 deletions .github/workflows/capgen_unit_tests.yaml

This file was deleted.

62 changes: 62 additions & 0 deletions .github/workflows/end-to-end-tests.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
name: capgen end-to-end tests

on:
workflow_dispatch:
pull_request:
branches: [develop]

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

jobs:
end-to-end-tests:
strategy:
matrix:
os: [ubuntu-22.04]
fortran-compiler: [gfortran-9, gfortran-10, gfortran-11, gfortran-12]
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Set up Python 3.12
uses: actions/setup-python@v4
with:
python-version: 3.12
- name: Update repos and install dependencies
run: |
sudo apt-get update
sudo apt-get install -y \
build-essential \
libopenmpi-dev \
${{matrix.fortran-compiler}} \
cmake \
python3 \
git \
libxml2-utils
python -m pip install --upgrade pip
pip install pytest
which xmllint
xmllint --version
which pytest
- name: Run end-to-end tests
run: |
cmake --fresh -S./end-to-end-tests -B./build
cd build
make
ctest --rerun-failed --output-on-failure .

# - name: Run python tests
# run: |
# BUILD_DIR=./build \
# PYTHONPATH=test/:scripts/ \
# pytest \
# test/capgen_test/capgen_test_reports.py \
# test/advection_test/advection_test_reports.py \
# test/ddthost_test/ddthost_test_reports.py \
# test/var_compatibility_test/var_compatibility_test_reports.py
#
# - name: Run Fortran to metadata test
# run: cd test && ./test_fortran_to_metadata.sh
#
# - name: Run offline metadata parser test
# run: cd test && ./test_offline_metadata_checker.sh
68 changes: 0 additions & 68 deletions .github/workflows/prebuild.yaml

This file was deleted.

56 changes: 0 additions & 56 deletions .github/workflows/python.yaml

This file was deleted.

48 changes: 48 additions & 0 deletions .github/workflows/unit-tests.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,48 @@
name: capgen unit tests

on:
workflow_dispatch:
pull_request:
branches: [develop]

concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true

jobs:

unit-tests:
name: capgen unit tests
runs-on: ubuntu-latest
strategy:
matrix:
python-version: ['3.9', '3.10', '3.11', '3.12']

steps:
- uses: actions/checkout@v4
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Update repos and install dependencies
run: |
sudo apt-get update
sudo apt-get install -y \
build-essential \
libopenmpi-dev \
${{matrix.fortran-compiler}} \
cmake \
python3 \
git \
libxml2-utils
python -m pip install --upgrade pip
pip install pytest
which xmllint
xmllint --version
which pytest
- name: Run capgen unit tests
run: |
pytest -v unit-tests/
- name: Run capgen module doctests
run: |
PYTHONPATH=capgen pytest --doctest-modules capgen
Loading
Loading