-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* add TS1 and TSMLT configuration to examples * add new data sets for WACCM * fix memory leak in tests * add updated CFC cross section datasets * run example test in sub folders * copy data into example test folders * reorganize temperature based cross section * draft taylor series temperature parameterization * add taylor series param test * adjust grid merging logic * finish BRONO2 config and tests * fix MPI code * draft burkholder parameterization and tests * add range override to quantum yields * finish HO2NO2 config and tests * update TSMLT config example * fix example configurations * fix ch4 example config * add ch3cl data set and configuration * add SO2 data set * Updates and tests for O2 photolysis (#38) * stub test of LUT LA-SRB calcs * update lasrb test conditions * add od and xs calcs to LUT LA-SRB test * fix memory issues in tests * finish LA-SRB LUT comparison test * Add H2SO4 and NO datasets, configurations, and algorithms for WACCM (#41) * draft h2so4 quantum yield and test * add h2so4 qy test * add data and config for H2SO4 and NO * Add N2O5 algorithms and data sets for WACCM/TSMLT (#43) * fix bad jo2 config in ts1 example * add N2O5 algorithms and datasets for WACCM * fix pack/unpack for temperature based cross section * add acetone calcs for WACCM (#45) * add acetone calcs for WACCM * fix uninitialized variable and air density in tests * add branch options to acetone quantum yields * Add YAML option for configuration files (#48) * add YAML config option * add yaml to json run comparison tests * update to new musica-core release * Add ability to calculate heating rates for photolysis reactions (#50) * draft heating rates class and tests * finish heating rate tests * add heating rate output to driver, and include in TS example * Remove musica-core dependency (#51) * merge in musica-core dependencies * don't run tests in parallel * remove unneeded utility modules * remove io functions from string_t * remove debug output from tests to reduce log file size * update valgrind suppressions for MPI * update valgrind suppressions * fix valgrind suppression format error * remove wildcards from valgrind supresssion error types * add valgrind suppression * compile for gcc-13 (#53) * compile for gcc-13 * excluding oldtuv when using gcc 13.2 * removing cmake debug message * trying to add a gcc action * syntax error * isntalling netcdff * trying to test multiple gcc versions * installing numpy * scipy * using better thing * separating build into docker and gcc (#54) * separating build into docker and gcc * fixing pages build * run tests in serial * not running tests in parallel for focker * making sure memcheck happens * adding ctiation file (#55) * adding ctiation file * only adding software citation * syntax * more syntax * maybe now? * correcting authors * ... * or now * duplicate key * *marge noise* * trying to update url * Fix bug in map test with OpenMP (#56) * fix openmp bug in map test * fix map test for non-openmp builds * prepare for 0.8.0 release --------- Co-authored-by: Kyle Shores <[email protected]>
- Loading branch information
1 parent
a8bb45b
commit 1792110
Showing
308 changed files
with
28,890 additions
and
2,691 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,6 +3,7 @@ | |
|
||
# include things to copy | ||
!src/ | ||
!include/ | ||
!etc/ | ||
!data/ | ||
!cmake/ | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
name: Docker | ||
|
||
on: [push, pull_request] | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref || github.run_id }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
docker-build-and-test: | ||
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name | ||
name: Build and Test - ${{ matrix.dockerfile }} | ||
runs-on: ubuntu-latest | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
os: [ubuntu-latest] | ||
dockerfile: | ||
- Dockerfile | ||
- Dockerfile.coverage | ||
- Dockerfile.memcheck | ||
- Dockerfile.mpi | ||
- Dockerfile.mpi.memcheck | ||
steps: | ||
- name: Checkout code | ||
uses: actions/checkout@v3 | ||
with: | ||
submodules: recursive | ||
|
||
- name: Build Docker image | ||
run: docker build -t tuvx -f docker/${{ matrix.dockerfile }} . | ||
|
||
- name: Run tests in container | ||
if: matrix.dockerfile != 'Dockerfile.coverage' | ||
run: docker run --name test-container -t tuvx bash -c 'make test ARGS="--rerun-failed --output-on-failure"' | ||
|
||
- name: Run coverage tests in container | ||
if: matrix.dockerfile == 'Dockerfile.coverage' | ||
run: docker run --name test-container -t tuvx bash -c 'make coverage ARGS="--rerun-failed --output-on-failure"' | ||
|
||
- name: Copy coverage from container | ||
if: matrix.dockerfile == 'Dockerfile.coverage' | ||
run: docker cp test-container:build/coverage.info . | ||
|
||
- name: Upload coverage report | ||
if: matrix.dockerfile == 'Dockerfile.coverage' | ||
uses: codecov/codecov-action@v3 | ||
with: | ||
token: ${{ secrets.CODECOV_TOKEN }} | ||
files: coverage.info |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
name: Ubuntu | ||
|
||
on: [ push, pull_request ] | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }} | ||
cancel-in-progress: true | ||
|
||
jobs: | ||
gcc: | ||
runs-on: ubuntu-latest | ||
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name != github.event.pull_request.base.repo.full_name | ||
strategy: | ||
matrix: | ||
gcc_version: [11, 12, 13] | ||
env: | ||
FC: gfortran-${{ matrix.gcc_version }} | ||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
submodules: recursive | ||
- name: Install dependencies | ||
run: | | ||
sudo apt-get update | ||
sudo apt-get install -y libnetcdf-dev netcdf-bin libnetcdff-dev | ||
- name: Install python dependencies | ||
run: pip install numpy scipy | ||
- name: Run Cmake | ||
run: cmake -S . -B build | ||
- name: Build | ||
run: cmake --build build --parallel | ||
- name: Run tests | ||
run: | | ||
cd build | ||
ctest --rerun-failed --output-on-failure . --verbose |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
cff-version: 1.2.0 | ||
message: "If you use this software, please cite it as below." | ||
authors: | ||
- family-names: Dawson | ||
given-names: Matt | ||
- family-names: Shores | ||
given-names: Kyle | ||
- family-names: Walters | ||
given-names: Stacy | ||
title: "NCAR/tuv-x: Version 0.8.0" | ||
version: 0.8.0 | ||
doi: 10.5281/zenodo.7126039 | ||
url: "https://github.com/NCAR/tuv-x" | ||
year: 2024 | ||
publisher: Zenodo |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.