Skip to content

Commit

Permalink
resolved merge conflict with calcBphEffect
Browse files Browse the repository at this point in the history
  • Loading branch information
mikewin-climsci committed Dec 11, 2020
2 parents 2af297f + 62dd75c commit 42a2842
Show file tree
Hide file tree
Showing 30 changed files with 10 additions and 1,916 deletions.
2 changes: 1 addition & 1 deletion .buildlibrary
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
ValidationKey: '5075889'
ValidationKey: '5115825'
AcceptedWarnings:
- 'Warning: package ''.*'' was built under R version'
- 'Warning: namespace ''.*'' is not available and has been replaced'
Expand Down
2 changes: 1 addition & 1 deletion .zenodo.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"title": "mrmagpie: madrat based MAgPIE Input Data Library",
"version": "0.27.3",
"version": "0.27.5",
"description": "<p>Provides functions for MAgPIE country and cellular input data generation.<\/p>",
"creators": [
{
Expand Down
4 changes: 2 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
Package: mrmagpie
Type: Package
Title: madrat based MAgPIE Input Data Library
Version: 0.27.3
Date: 2020-11-27
Version: 0.27.5
Date: 2020-12-07
Authors@R: c(person("Kristine", "Karstens", email = "[email protected]", role = c("aut","cre")),
person("Jan Philipp", "Dietrich", email = "[email protected]", role = "aut"),
person("David", "Chen", role = "aut"),
Expand Down
76 changes: 0 additions & 76 deletions R/calcActualIrrigWatRequirements.R

This file was deleted.

2 changes: 1 addition & 1 deletion R/calcBphEffect.R
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ calcBphEffect <-function(){
cells_NA <- cells[is.na(x[cells,,"ann_bph"])]
#If all cells are NA, use m_glo, otherwise calc mean based on the non NA cells.
if(identical(cells,cells_NA)) {
x[cells_NA,,"ann_bph"] <- m_glo
x[cells_NA,,"ann_bph"] <- m_glo
} else {
m <- mean(x[cells,,"ann_bph"],na.rm=TRUE)
x[cells_NA,,"ann_bph"] <- m
Expand Down
96 changes: 0 additions & 96 deletions R/calcEnvmtlFlowRequirements.R

This file was deleted.

83 changes: 0 additions & 83 deletions R/calcFullIrrigationRequirement.R

This file was deleted.

76 changes: 0 additions & 76 deletions R/calcIrrigCellranking.R

This file was deleted.

Loading

0 comments on commit 42a2842

Please sign in to comment.