Skip to content

Commit 913a990

Browse files
authored
Merge branch 'develop' into GH-3910-arm64-traefik-docs
2 parents b2fe386 + 7834146 commit 913a990

71 files changed

Lines changed: 3867 additions & 889 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

.github/workflows/integration-test.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on :
88
- cron: '30 4 * * 4'
99
jobs:
1010
test:
11-
runs-on: ubuntu-20.04
11+
runs-on: ubuntu-latest
1212

1313
env:
1414
GITHUB_PAT: ${{ secrets.GITHUB_TOKEN }}

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,11 +22,14 @@ For more information about this file see also [Keep a Changelog](http://keepacha
2222
* `ca_compost_amendment` dataset with properties of 32 organic amendment materials for California agriculture (g/m2 and lbs/acre).
2323
- Added lookup functions to `PEcAn.data.land`: `look_up_ca_n_rate()` and `look_up_ca_compost_amendment()` for querying crop-specific fertilization and compost data.
2424
- PEcAn.SIPNET gains support for SIPNET v2, whose features includes management events, nitrogen cycle tracking, explicit N2O and methane fluxes, runtime setting of feature flags, and changes to the parameter set (now 73 parameters). SIPNET v1 is still fully supported, but workarounds for bugs in the legacy `sipnet.unk` version have been removed.
25+
- Added `PEcAn.data.land::to_co2e()` for converting SOC change, CH4, and N2O to CO2-equivalent emissions using IPCC Global Warming Potential values.
2526

2627
### Fixed
2728
- Added note to DEV-INTRO.md documenting Traefik workaround for Apple Silicon (ARM64) Macs: use `traefik:v2.11` with `platform: linux/arm64` to fix 404 errors (#3910)
29+
- Fixed `web/08-finished.php`: show database info instead of "Still running" when workflow folder doesn't exist locally (#3501).
2830

2931
### Changed
32+
- Updated Docker architecture documentation to match current docker-compose.yml: removed portainer/minio/thredds, added rstudio/api sections, updated service lists and volumes (#3268).
3033
- Improved PEcAn.SIPNET documentation including README, model description, and current installation instructions (@Eshaan-byte; #3703, #3705).
3134
- `assign.treatments` has been renamed to `assign_treatments` and moved from `PEcAn.utils` to `PEcAn.MA` since that's the only place where it's used.
3235
- With new `PEcAn.MA::meta_analysis_standalone` function, `PEcAn.MA::run.meta.analysis.pft` now saves all files all at once _after_ the complete meta-analysis runs (and only if it is successful, including prior and posterior checks), rather than saving intermediate objects (like "JAGS-ified" data) as they are created.

Makefile

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@ depends = .doc/$(1) .install/$(1) .check/$(1) .test/$(1)
106106

107107
### Rules
108108

109-
.PHONY: all install check test document clean shiny pkgdocs \
109+
.PHONY: all install check test document clean clean-src shiny pkgdocs \
110110
check_base check_models check_modules help
111111

112112
all: install document
@@ -140,6 +140,12 @@ clean:
140140
find "$$p" \( -name \*.mod -o -name \*.o -o -name \*.so \) -delete; \
141141
done
142142

143+
clean-src:
144+
@echo "Removing compiled source artifacts..."
145+
for p in $(SRCS_TO_CLEAN); do \
146+
find "$$p" \( -name \*.mod -o -name \*.o -o -name \*.so \) -delete; \
147+
done
148+
143149
help:
144150
@echo "Usage: make [target]"
145151
@echo ""
@@ -167,6 +173,7 @@ help:
167173
@echo " book Render the PEcAn bookdown documentation"
168174
@echo " pkgdocs Build package documentation websites using pkgdown"
169175
@echo " clean Remove build artifacts"
176+
@echo " clean-src Remove compiled source artifacts (.o, .so, .mod) without full rebuild"
170177
@echo " help Show this help message"
171178

172179
### Dependencies

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@
33
[![Slack](https://img.shields.io/badge/slack-join_chat-green.svg)](https://join.slack.com/t/pecanproject/shared_invite/enQtMzkyODUyMjQyNTgzLWEzOTM1ZjhmYWUxNzYwYzkxMWVlODAyZWQwYjliYzA0MDA0MjE4YmMyOTFhMjYyMjYzN2FjODE4N2Y4YWFhZmQ)
44
[![DOI](https://zenodo.org/badge/4469/PecanProject/pecan.svg)](https://zenodo.org/badge/latestdoi/4469/PecanProject/pecan)
55

6+
> Due to spam we have disabled the automatic signup to slack. To access our slack space, please email kooper@illinois.edu to get an invite.
7+
68
## Our Vision
79

810
#### Ecosystem science, policy, and management informed by the best available data and models

base/settings/R/createMultisiteMultiSettings.r

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -117,8 +117,8 @@ getRunSettings <- function(templateSettings, siteId) {
117117
} else {
118118
site_info <- list(id = siteId)
119119
}
120-
site_info$met.start <- startDate
121-
site_info$met.end <- endDate
120+
if (is.null(site_info$met.start)) site_info$met.start <- startDate
121+
if (is.null(site_info$met.end)) site_info$met.end <- endDate
122122

123123
return(list(
124124
site = site_info,

base/workflow/R/do_conversions.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ do_conversions <- function(settings, overwrite.met = FALSE, overwrite.fia = FALS
2828
next
2929
}
3030

31-
input.tag <- names(settings$run$input)[i]
31+
input.tag <- names(settings$run$inputs)[i]
3232
PEcAn.logger::logger.info("PROCESSING: ",input.tag)
3333

3434
# Check for existing file paths , skips if the file exists

0 commit comments

Comments
 (0)