Skip to content

Commit

Permalink
Merge pull request #2 from UW-SASWE/main-merge
Browse files Browse the repository at this point in the history
RAT 3.0
  • Loading branch information
pritamd47 authored Jan 31, 2023
2 parents bf7a8ef + a80ae77 commit 7bae092
Show file tree
Hide file tree
Showing 70 changed files with 4,718 additions and 5,683 deletions.
38 changes: 38 additions & 0 deletions .github/workflows/run_tests.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: Python package

on: [push]

jobs:
build:

runs-on: ubuntu-latest
strategy:
matrix:
python-version: ["3.7", "3.8", "3.9", "3.10", "3.11"]
steps:
- uses: actions/checkout@v3
- name: Set up Python ${{ matrix.python-version }}
uses: actions/setup-python@v4
with:
python-version: ${{ matrix.python-version }}
- name: Setup environment with mamba
uses: conda-incubator/setup-miniconda@v2
with:
mamba-version: "*"
auto-update-conda: true
channels: conda-forge,defaults
environment-file: environment.yml
- name: Install test modules
shell: bash -l {0}
run: |
conda info
conda install pytest conda-build -y
- name: Build RAT
shell: bash -l {0}
run: |
conda develop src/
- name: Test RAT
shell: bash -l {0}
run: |
conda activate test
pytest
13 changes: 9 additions & 4 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -205,8 +205,13 @@ backend/scripts/_send_files.py
.DS_Store
backend/scripts/data_processing/_download_data.py

backend/params/routing/DRT_FDR_ARCfmt.tif

backend/params/secrets/

backend/params/vic/params_all_mekong.nc
#SM
data/*
global_data/*
trial_notebooks/*
params/*
models/*
*dask-worker-space/*
!src/params/rat_mekong.yml
src/RAT/ee_utils/ee_config.py
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -671,4 +671,4 @@ into proprietary programs. If your program is a subroutine library, you
may consider it more useful to permit linking proprietary applications with
the library. If this is what you want to do, use the GNU Lesser General
Public License instead of this License. But first, please read
<https://www.gnu.org/licenses/why-not-lgpl.html>.
<https://www.gnu.org/licenses/why-not-lgpl.html>.
1 change: 0 additions & 1 deletion backend/params/j3_meta.txt

This file was deleted.

Binary file removed backend/params/metsim/domain.nc
Binary file not shown.
61 changes: 0 additions & 61 deletions backend/params/metsim/params.yaml

This file was deleted.

89 changes: 0 additions & 89 deletions backend/params/rat_mekong.yml

This file was deleted.

Loading

0 comments on commit 7bae092

Please sign in to comment.