-
Notifications
You must be signed in to change notification settings - Fork 235
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' into siteID-refactor
- Loading branch information
Showing
137 changed files
with
997 additions
and
1,394 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 |
---|---|---|
@@ -0,0 +1,57 @@ | ||
name : Test Data Download | ||
on : | ||
# allow manual triggering | ||
workflow_dispatch: | ||
|
||
schedule: | ||
# run Thursday 4:30 AM UTC | ||
- cron: '30 4 * * 4' | ||
|
||
env: | ||
R_LIBS_USER: /usr/local/lib/R/site-library | ||
LC_ALL: en_US.UTF-8 | ||
NCPUS: 2 | ||
PGHOST: postgres | ||
CI: true | ||
|
||
jobs: | ||
met-data-download: | ||
runs-on: ubuntu-latest | ||
env: | ||
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
services: | ||
postgres: | ||
image: mdillon/postgis:9.5 | ||
options: --health-cmd pg_isready --health-interval 10s --health-timeout 5s --health-retries 5 | ||
|
||
container: | ||
image: pecan/depends:R4.1 | ||
|
||
steps: | ||
# checkout source code | ||
- name: work around https://github.com/actions/checkout/issues/766 | ||
run: git config --global --add safe.directory "$GITHUB_WORKSPACE" | ||
- uses: actions/checkout@v4 | ||
with: | ||
set-safe-directory: false | ||
|
||
# install additional tools needed | ||
- name: install utils | ||
run: apt-get update && apt-get install -y postgresql-client qpdf | ||
- name: install new dependencies | ||
run: Rscript scripts/generate_dependencies.R && cd docker/depends && Rscript pecan.depends.R | ||
|
||
# initialize database | ||
- name: db setup | ||
uses: docker://pecan/db:ci | ||
- name: add models to db | ||
run: ./scripts/add.models.sh | ||
|
||
# compile PEcAn code | ||
- name: build | ||
run: make -j1 | ||
|
||
- name: CRUNCEP | ||
run: | | ||
Rscript ./tests/test_met_downloads.R --settings ./tests/met_download_settings/docker.CRUNCEP.xml |
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 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 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 |
---|---|---|
@@ -1,7 +1,6 @@ | ||
Package: PEcAn.all | ||
Type: Package | ||
Title: PEcAn functions used for ecological forecasts and | ||
reanalysis | ||
Title: PEcAn Functions Used for Ecological Forecasts and Reanalysis | ||
Version: 1.8.0.9000 | ||
Authors@R: c(person("Mike", "Dietze", role = c("aut"), | ||
email = "[email protected]"), | ||
|
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 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 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 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 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 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 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 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 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 |
---|---|---|
|
@@ -17,9 +17,6 @@ Authors@R: c(person("Mike", "Dietze", role = c("aut"), | |
person("Shawn", "Serbin", role = c("aut"), | ||
email = "[email protected]"), | ||
person("University of Illinois, NCSA", role = c("cph"))) | ||
Author: David LeBauer, Mike Dietze, Xiaohui Feng, Dan Wang, | ||
Mike Dietze, Carl Davidson, Rob Kooper, Shawn Serbin | ||
Maintainer: David LeBauer <[email protected]> | ||
Description: The Predictive Ecosystem Carbon Analyzer | ||
(PEcAn) is a scientific workflow management tool that | ||
is designed to simplify the management of model | ||
|
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 |
---|---|---|
|
@@ -62,15 +62,7 @@ The Date field is over a month old. | |
* checking installed package size ... OK | ||
* checking package directory ... OK | ||
* checking for future file timestamps ... OK | ||
* checking DESCRIPTION meta-information ... NOTE | ||
Author field differs from that derived from Authors@R | ||
Author: ‘David LeBauer, Mike Dietze, Xiaohui Feng, Dan Wang, Mike Dietze, Carl Davidson, Rob Kooper, Shawn Serbin’ | ||
Authors@R: ‘Mike Dietze [aut], David LeBauer [aut, cre], Xiaohui Feng [aut], Dan Wang [aut], Carl Davidson [aut], Rob Kooper [aut], Shawn Serbin [aut], University of Illinois, NCSA [cph]’ | ||
|
||
Maintainer field differs from that derived from Authors@R | ||
Maintainer: ‘David LeBauer <[email protected]>’ | ||
Authors@R: ‘David LeBauer <[email protected]>’ | ||
License stub is invalid DCF. | ||
* checking DESCRIPTION meta-information ... OK | ||
* checking top-level files ... OK | ||
* checking for left-over files ... OK | ||
* checking index information ... OK | ||
|
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.