Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

release 1.5.1 #1712

Merged
merged 1,089 commits into from
Oct 6, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
1089 commits
Select commit Hold shift + click to select a range
9ae0a5a
CRITICAL BUG FIX: order data properly
crollinson Sep 12, 2017
adea67f
Lag & minor bug fixes
crollinson Sep 12, 2017
5d1277a
CRITICAL BUG FIX, Part II: ordering data
crollinson Sep 13, 2017
bbd17cb
Update Documentation
crollinson Sep 13, 2017
0faa7ee
More missing PEcAn.remote references
ashiklom Sep 13, 2017
35dfd2c
update changelog
annethomas Sep 13, 2017
22d222d
Bugfix cos_solar_zenith_angle function
ashiklom Sep 14, 2017
7fd6a48
write the filtered data, because it overwrites obs later
istfer Sep 14, 2017
e46d6f2
change default
istfer Sep 14, 2017
00a7546
writing heteroskedastic laplacian likelihood openly to use n_eff
istfer Sep 14, 2017
b9ff189
suppress known warnings
istfer Sep 14, 2017
2a9fe26
Merge pull request #1654 from crollinson/tdm_updates
mdietze Sep 14, 2017
7d8f953
Remote bugfixes, and some met2model.SIPNET cleanup
ashiklom Sep 14, 2017
78d19b9
data.atmosphere: Bugfix metgapfill
ashiklom Sep 14, 2017
725a68a
add missing write_sf_posterior function
istfer Sep 14, 2017
b8c8b79
take emulator.ms out from roxygen
istfer Sep 14, 2017
74dee46
adding met
tonygardella Sep 14, 2017
6b95281
Merge branch 'develop' of github.com:PecanProject/pecan into input_docs
tonygardella Sep 14, 2017
2df3df0
Show correct format for pecan.clowder.xml
infotroph Jul 24, 2017
fde9706
typo
infotroph Jul 24, 2017
c076abf
Update SIPNET NAMESPACE
ashiklom Sep 14, 2017
d2aa22b
rename file
istfer Sep 14, 2017
2aeb344
Changed limit from 1MB to 1GB and made sure that roxygen will not run…
LiamBurke24 Sep 14, 2017
5c8c3b5
Merge branch 'develop' of github.com:PecanProject/pecan into dataone-…
LiamBurke24 Sep 14, 2017
c735297
reduce code
istfer Sep 14, 2017
a6260f6
roxygen docs sry...
LiamBurke24 Sep 14, 2017
89015e6
remote: Make check_model_run return TRUE/FALSE
ashiklom Sep 14, 2017
80f350f
db: Check if parent ID is NULL
ashiklom Sep 14, 2017
7808f78
Merge pull request #1647 from LiamBurke24/dataone-download-util
mdietze Sep 14, 2017
6e68ecb
Merge branch 'develop' into geostreams-auth-docs
mdietze Sep 14, 2017
ad6c226
Revert "db: Check if parent ID is NULL"
ashiklom Sep 14, 2017
7fb9ee3
Fixes #1659, now uses GET to switch to 08-finish.php which will put t…
robkooper Sep 14, 2017
a68d3cd
refactored bety config
LiamBurke24 Sep 14, 2017
4c10fe6
align_pft, with only data_to_data comparisons implimented
Sep 14, 2017
d291b2c
Merge branch 'develop' of github.com:pecanproject/pecan into align_pft
Sep 14, 2017
308a93e
Merge pull request #1658 from infotroph/geostreams-auth-docs
mdietze Sep 14, 2017
9661f30
Merge branch 'develop' of github.com:pecanproject/pecan into align_pft
Sep 14, 2017
23c4f7a
Merge branch 'develop' into 1659-workflowid
mdietze Sep 14, 2017
42cb079
updated `query.dyplr.R` to use read_web_config (per alexey's request …
LiamBurke24 Sep 14, 2017
2397d6d
error pulling from develop so am manually committing
LiamBurke24 Sep 14, 2017
79894b0
align_pft, only data_to_data implimented, with files
Sep 14, 2017
b342c58
Update CHANGELOG.md
mccabete Sep 14, 2017
822de96
Merge pull request #1661 from PecanProject/1659-workflowid
mdietze Sep 14, 2017
9ea2c81
updated changelog
LiamBurke24 Sep 14, 2017
b394431
fixed a merge conflict
LiamBurke24 Sep 14, 2017
4ba7d13
Merge new remote documentation with original
ashiklom Sep 14, 2017
0abe378
Merge branch 'develop' of https://github.com/pecanproject/pecan into …
ashiklom Sep 14, 2017
eadc372
Merge branch 'develop' into mccabete-patch-1
mdietze Sep 14, 2017
1905133
remote: Remove "hello" file from package creation
ashiklom Sep 14, 2017
1ed4866
Merge pull request #1663 from PecanProject/mccabete-patch-1
mdietze Sep 14, 2017
54a3a8c
fix merge conflict
mdietze Sep 14, 2017
b42ec15
Merge branch 'develop' into config-path-util
mdietze Sep 14, 2017
cb92ea1
Merge branch 'develop' into remote-fixes
mdietze Sep 14, 2017
46b7678
Merge pull request #1665 from ashiklom/remote-fixes
mdietze Sep 15, 2017
88f98fe
Merge branch 'develop' into config-path-util
mdietze Sep 15, 2017
3a2e3f6
Pulled and recommited manually. Hopefully this works
LiamBurke24 Sep 15, 2017
6586ac8
merge conflict: Changelog
mdietze Sep 15, 2017
15c9fc5
merge conflict: betyConnect
mdietze Sep 15, 2017
e1a1fdc
read_web_config wasn't put in base
mdietze Sep 15, 2017
ef5b98f
multiply the whole beta term
istfer Sep 15, 2017
2913e21
Merge branch 'develop' of github.com:PecanProject/pecan into PDA_fixes
istfer Sep 15, 2017
4e1dbc7
Merge pull request #1656 from istfer/PDA_fixes
mdietze Sep 15, 2017
4b5c216
Merge pull request #1 from mdietze/config-path-util
LiamBurke24 Sep 15, 2017
0f9dd68
Merge branch 'develop' into config-path-util
mdietze Sep 15, 2017
7b4ac74
Merge pull request #1664 from LiamBurke24/config-path-util
mdietze Sep 15, 2017
2b72589
increased max file upload and cleaning
LiamBurke24 Sep 15, 2017
cc5e6f4
Merge branch 'develop' of https://github.com/pecanproject/pecan into …
LiamBurke24 Sep 15, 2017
737e18f
Update align_by_obeservation_one.R
mccabete Sep 15, 2017
1b17207
Fixed bug with the naming scheme
LiamBurke24 Sep 15, 2017
acfbbf8
Merge branch 'develop' of github.com:PecanProject/pecan into dataone-…
LiamBurke24 Sep 15, 2017
c4d8c26
cleaned up and made clarifying comment
LiamBurke24 Sep 15, 2017
18ec96a
Fixed error in example.
LiamBurke24 Sep 15, 2017
6992de1
FORGOT THE ROXYGENDOCS AGAIN!!!!!!!
LiamBurke24 Sep 15, 2017
5741b38
Merge branch 'develop' of github.com:PecanProject/pecan into input_docs
tonygardella Sep 15, 2017
98eaa97
Pull request fixes
Sep 15, 2017
4676995
merging parameter description conflicts
Sep 15, 2017
660d990
Merge branch 'develop' of github.com:pecanproject/pecan into align_pft
Sep 15, 2017
32bfc9d
updating package documentation
Sep 15, 2017
59fe77b
Update align_data_to_data_pft.R
mccabete Sep 15, 2017
bd86d0c
Update align_data_to_data_pft.R
mccabete Sep 15, 2017
80bbc08
Update check_if_legal_table.R
mccabete Sep 15, 2017
14d7f9f
Update check_if_species_list.R
mccabete Sep 15, 2017
c625620
Merge pull request #1666 from LiamBurke24/dataone-download-util
mdietze Sep 15, 2017
68ea188
fix examples and add new ones
tonygardella Sep 15, 2017
fd3d069
add line of instructions
tonygardella Sep 15, 2017
e77000b
add more instructions
tonygardella Sep 15, 2017
0626eec
add comma
tonygardella Sep 15, 2017
63a876f
bugfix to start_qsub
istfer Sep 16, 2017
1eab12c
Merge branch 'develop' into master
mdietze Sep 16, 2017
55e55f8
Merge pull request #1669 from istfer/master
mdietze Sep 16, 2017
50452e9
Cleaning up with some vectorization as per Alexey's suggestion
Sep 16, 2017
376bfc0
Merge branch 'develop' of github.com:pecanproject/pecan into align_pft
Sep 16, 2017
ee12f2f
Merge branch 'align_pft' of github.com:pecanproject/pecan into align_pft
Sep 16, 2017
60913f7
A few more fixes.
Sep 16, 2017
0417c43
one more fix
Sep 16, 2017
1860818
documentation changes
Sep 16, 2017
f714be7
Removed broken fileInput portion for release...
LiamBurke24 Sep 18, 2017
d81ab12
Merge branch 'develop' into data_upload
tonygardella Sep 18, 2017
f554802
Merge branch 'develop' into input_docs
tonygardella Sep 18, 2017
10e33fa
CMIP5 leap year fixes
crollinson Sep 14, 2017
a61b2f3
Add NLDAS extraction script
crollinson Sep 14, 2017
f0c969d
Fix setting origin of time vector
crollinson Sep 17, 2017
653543b
Update documentation
crollinson Sep 18, 2017
d9bef83
Add option to specify date.origin and lack of leap year
crollinson Sep 18, 2017
67f78e0
Typo fix; update documentation
crollinson Sep 18, 2017
47ea64e
Merge pull request #1670 from crollinson/CMIP5_extraction_fix
mdietze Sep 18, 2017
2ffb64e
fix typos
istfer Sep 18, 2017
d3e8ac9
query files from localhost
istfer Sep 18, 2017
93d42fb
Merge branch 'develop' of github.com:PecanProject/pecan into improve-…
annethomas Sep 18, 2017
1203078
Merge branch 'develop' into align_pft
mccabete Sep 18, 2017
961672c
Change labels to easting/northing
annethomas Sep 18, 2017
e38b854
fix function args
istfer Sep 18, 2017
9b86f53
remote namespace calls
istfer Sep 18, 2017
f28775c
Consistent usage of hour
crollinson Sep 18, 2017
dca0509
add pool and soil
tonygardella Sep 18, 2017
e47e7aa
Merge branch 'develop' of github.com:PecanProject/pecan into input_docs
tonygardella Sep 18, 2017
806c8ba
Merge branch 'input_docs' of github.com:tonygardella/pecan into input…
tonygardella Sep 18, 2017
c1eec26
Merge pull request #1655 from annethomas/improve-MODIS-stuff
mdietze Sep 19, 2017
31cdf9e
Merge branch 'develop' into small_fixes
mdietze Sep 19, 2017
c253b19
Merge pull request #1671 from istfer/small_fixes
mdietze Sep 19, 2017
f698830
Merge branch 'develop' into tdm_bug_fix
mdietze Sep 19, 2017
3a61a83
Merge branch 'develop' into develop
Amanskywalker Sep 19, 2017
41a0a0d
Merge pull request #1589 from Amanskywalker/develop
mdietze Sep 19, 2017
f2f0991
Merge branch 'develop' into align_pft
mdietze Sep 19, 2017
c1011c2
Merge pull request #1662 from PecanProject/align_pft
mdietze Sep 19, 2017
d82c965
Merge branch 'develop' into tdm_bug_fix
mdietze Sep 19, 2017
a93cd36
Merge pull request #1672 from crollinson/tdm_bug_fix
mdietze Sep 19, 2017
0892a4f
Merge branch 'develop' into data_upload
mdietze Sep 19, 2017
22e0450
Merge branch 'develop' into input_docs
tonygardella Sep 19, 2017
71e412d
Slight tweak to file path to facilitate parallelization; consistent d…
crollinson Sep 19, 2017
fa7682e
Clean up documentation
crollinson Sep 19, 2017
53f3d8e
Merge pull request #1674 from crollinson/tdm_parallelization_pr
mdietze Sep 19, 2017
3091d1b
Removed import.data.php
LiamBurke24 Sep 19, 2017
77b76e4
changelog
LiamBurke24 Sep 19, 2017
530ec1a
Merge branch 'data_upload' of https://github.com/LiamBurke24/pecan in…
LiamBurke24 Sep 19, 2017
4b3f38f
Merge branch 'develop' of github.com:PecanProject/pecan into data_upload
mdietze Sep 19, 2017
54bd4a5
Merge branch 'develop' into data_upload
mdietze Sep 19, 2017
d3df8fc
Merge pull request #1648 from LiamBurke24/data_upload
mdietze Sep 19, 2017
681c4ec
reworked read_web_config to return more results and to handle the sub…
mdietze Sep 19, 2017
00f7a73
merge
mdietze Sep 19, 2017
572e827
more examples
tonygardella Sep 19, 2017
9831f4f
Merge branch 'develop' of github.com:PecanProject/pecan into input_docs
tonygardella Sep 19, 2017
296c5c7
Merge branch 'input_docs' of github.com:tonygardella/pecan into input…
tonygardella Sep 19, 2017
b7fd3c8
drop some words
tonygardella Sep 19, 2017
0a0157a
spell check
tonygardella Sep 19, 2017
1956d6f
Merge pull request #1657 from tonygardella/input_docs
mdietze Sep 20, 2017
32ad625
Added BETYdb to list of publications
dlebauer Sep 20, 2017
e85e88c
Merge pull request #1676 from PecanProject/update-readme
mdietze Sep 21, 2017
9730e86
Merge branch 'develop' into data_upload
tonygardella Sep 21, 2017
c4567dd
fix circular dependency
robkooper Sep 21, 2017
2d08e01
Merge pull request #1677 from PecanProject/fqdn-circular-dependency
mdietze Sep 21, 2017
230dc9f
Merge pull request #1675 from mdietze/data_upload
mdietze Sep 21, 2017
c2e1790
fix wood_carbon_content assignment
annethomas Sep 22, 2017
54a861e
missing colon
annethomas Sep 22, 2017
8433946
remove PEcAn.utils::model2netcdf
infotroph Sep 14, 2017
31fcb48
use :: for all namespaces
infotroph Sep 14, 2017
14b6803
line wrapping
infotroph Sep 14, 2017
22ccdd5
typos
infotroph Sep 15, 2017
9194ec9
replace non-ascii space characters in standard_var descriptions
infotroph Sep 15, 2017
83b8d87
lazy-load data
infotroph Sep 15, 2017
518cf04
remove outdated test
infotroph Sep 15, 2017
5fd4241
use base::inherits instead of methods::is
infotroph Sep 15, 2017
69b6d0b
roxygen cleanup
infotroph Sep 20, 2017
4969ffb
use standard_vars instead of mstmip
infotroph Sep 20, 2017
c0f456d
no separator lines between docs and function defn
infotroph Sep 20, 2017
12bfb8c
Merge pull request #1678 from annethomas/release/v1.5.1
mdietze Sep 22, 2017
eaf2b28
Fix for NA in temperature on stopifnot debug in rh2qair
ankurdesai Sep 22, 2017
33b3937
Merge pull request #1680 from ankurdesai/develop
tonygardella Sep 23, 2017
916af11
CHANGELOG copy-edits
infotroph Sep 23, 2017
a9f4ed6
typo
infotroph Sep 23, 2017
1ae3775
Merge pull request #1682 from PecanProject/infotroph-patch-1
tonygardella Sep 23, 2017
5828797
move listToXml from PEcAn.utils to PEcAn.settings
infotroph Sep 23, 2017
e13a2b4
document Geostreams availability (#1658)
infotroph Sep 23, 2017
8288a1a
update changelog
infotroph Sep 23, 2017
144e673
Merge pull request #1683 from infotroph/geostreams-docs
mdietze Sep 25, 2017
dbca13c
version bump to 1.5.1
robkooper Sep 25, 2017
cfc5572
Update CHANGELOG.md
robkooper Sep 25, 2017
8581abf
Merge branch 'develop' into release/v1.5.1
robkooper Sep 25, 2017
3d19afd
Merge branch 'develop' into utils-cleanup
dlebauer Sep 25, 2017
a152bc4
Merge pull request #1685 from PecanProject/release/v1.5.1
mdietze Sep 25, 2017
28d8231
get non-NA not length
istfer Sep 25, 2017
f8da66f
specify better prior for bias term
istfer Sep 25, 2017
76de299
no need to convert to probs any more
istfer Sep 25, 2017
98c74ab
Merge branch 'develop' into utils-cleanup
infotroph Sep 25, 2017
55b9fdf
fix tau draw
istfer Sep 25, 2017
530139c
fix preles?
tonygardella Sep 25, 2017
fc030b6
fix description file and add to changelog
tonygardella Sep 25, 2017
ce9e706
typo
tonygardella Sep 25, 2017
cfa3195
move model package to suggests instead of depends
tonygardella Sep 25, 2017
affe1da
typo
tonygardella Sep 25, 2017
fae30e5
namespace changes
tonygardella Sep 25, 2017
bf589aa
Merge pull request #1688 from tonygardella/release/v1.5.1
mdietze Sep 25, 2017
b6cf6cb
SS of Gaussian shouldnt be negative, reject
istfer Sep 26, 2017
a4921e2
change how to handle negative gaussian SS
istfer Sep 26, 2017
13a9815
clenaup and pkg check
tonygardella Sep 26, 2017
93cc823
make doc
tonygardella Sep 26, 2017
11d1a34
changelog
tonygardella Sep 26, 2017
0c161cf
need to consider failed model runs
istfer Sep 26, 2017
e56ea55
Merge branch 'release/v1.5.1' of github.com:PecanProject/pecan into r…
tonygardella Sep 26, 2017
7d326f5
forgot the case for no zero bound SS
istfer Sep 26, 2017
f4cb160
roxygenize
istfer Sep 26, 2017
a8319b3
messed up scripts
istfer Sep 26, 2017
5dd43fb
fix messages
tonygardella Sep 26, 2017
83f15a4
missed parenthesis
tonygardella Sep 26, 2017
40b2d8a
move SafeList from PEcAn.utils to PEcAn.settings
infotroph Sep 26, 2017
61a6a89
roxygenize
istfer Sep 26, 2017
3c5f302
Merge pull request #1690 from tonygardella/release/v1.5.1
mdietze Sep 26, 2017
5e28d6f
utils no longer depends on settings
infotroph Sep 26, 2017
1ae2a51
scale tau prior according to SS
istfer Sep 26, 2017
759e980
pass hyper parameters via settings or default to scaling
istfer Sep 27, 2017
e9d61bb
update other PDA scripts
istfer Sep 27, 2017
977db02
update changelog
istfer Sep 27, 2017
23b9595
update doc
istfer Sep 27, 2017
e1953af
roxygenise
istfer Sep 27, 2017
9babd33
commit new man file
istfer Sep 27, 2017
e05e997
Add template package back into build
infotroph Sep 27, 2017
940d837
fix typo that prevented inheriting param documentation
infotroph Sep 27, 2017
d3b965e
simplify depends calls
infotroph Sep 27, 2017
4aef42c
Merge pull request #1689 from istfer/master
mdietze Sep 27, 2017
158d4d5
roxygen looks in the installed version
infotroph Sep 27, 2017
5af0b25
missed external function call
tonygardella Sep 27, 2017
6f9a893
Merge pull request #1692 from infotroph/use-template
mdietze Sep 27, 2017
8b21455
Merge pull request #1693 from tonygardella/release/v1.5.1
mdietze Sep 27, 2017
efc898c
Update to work with changes to nneo package
ankurdesai Sep 27, 2017
452af5b
Merge pull request #1694 from PecanProject/release/v1.5.1
tonygardella Sep 27, 2017
4068e35
Fix to precipitation query in NEONmet
ankurdesai Sep 27, 2017
7102e7a
Merge branch 'develop' of https://github.com/PecanProject/pecan into …
ankurdesai Sep 27, 2017
458c811
Merge pull request #1697 from ankurdesai/develop
mdietze Sep 27, 2017
ded6a89
Update CHANGELOG.md
mccabete Sep 28, 2017
738221f
Remote: Fix `qstat` job status checking
ashiklom Sep 28, 2017
b346dfb
Remote: Fix `@JOBID@` in qstat check. Add test of qstat.
ashiklom Sep 28, 2017
c345026
Remote: Fix progress bar typo.
ashiklom Sep 28, 2017
ec75a97
Merge pull request #1701 from ashiklom/remote-check-qsub-fix
tonygardella Sep 28, 2017
a58ab20
Merge pull request #1699 from PecanProject/mccabete-patch-2
mdietze Sep 28, 2017
dde4314
Merge branch 'develop' into release/v1.5.1
tonygardella Sep 28, 2017
e444228
Merge pull request #1703 from PecanProject/release/v1.5.1
mdietze Sep 28, 2017
9649564
Update toe check_qsub so that it waits properly
Sep 28, 2017
cd0f291
Merge pull request #1705 from PecanProject/serbinsh-patch-1
mdietze Sep 28, 2017
d36cd0a
Revert "utils no longer depends on settings"
infotroph Sep 30, 2017
28404aa
move workflow dependencies to suggests
infotroph Sep 30, 2017
ebf7f92
apparently PEcAn.utils was providing methods load
infotroph Sep 27, 2017
0f18ebc
utils data now lazy-loaded, so csv not installed with package
infotroph Oct 2, 2017
6a76caa
import ggplot2, formerly provided by PEcAn.utils dependency
infotroph Oct 2, 2017
43897b4
more is->inherits
infotroph Oct 5, 2017
3bcd2be
Supply missing dependencies
infotroph Oct 5, 2017
a922bdb
Merge branch 'develop' into utils-cleanup
infotroph Oct 5, 2017
94fa74a
Merge pull request #1684 from infotroph/utils-cleanup
mdietze Oct 5, 2017
2f90f90
Adding roxygen documentation for function
bcow Oct 5, 2017
fb156dc
Changing the name of utils.R to utils_db.R
bcow Oct 5, 2017
e43e242
Merge pull request #1711 from bcow/db_utils
tonygardella Oct 5, 2017
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -75,3 +75,5 @@ shiny/BenchmarkReport/*
.check/
.test/
.doc/
# files generated by tests
base/qaqc/tests/testthat/Rplots.pdf
10 changes: 6 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,19 +4,19 @@
language: r

# use containers
dist: trusty
sudo: false

cache:
- directories:
- $HOME/R/Library
- .install
- .check
- .test
- .doc
- packages

addons:
postgresql: 9.4
postgresql: 9.6
apt:
packages:
- libnetcdf-dev
Expand All @@ -25,15 +25,17 @@ addons:
- jags
- libudunits2-dev
- python-dev
- postgresql-9.4-postgis-2.1
- postgresql-9.4-postgis-2.1-scripts
- postgresql-9.6-postgis-2.3
- postgresql-9.6-postgis-2.3-scripts
- netcdf-bin
- bc
- curl
- udunits-bin
- libgmp-dev
- libproj-dev
- pandoc
- tcl
- tcl-dev
# need to compile documentation
# BROKEN MISSING FONT
#- texinfo
Expand Down
75 changes: 72 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,82 @@ For more information about this file see also [Keep a Changelog](http://keepacha

## [Unreleased]

## [1.5.10] - Prerelease
### Fixes
- `PEcAn.utils` now lazy-loads data for faster execution of functions that consult lookup tables, especially `to_ncvar`.

### Added

### Removed
- Removed `PEcAn.utils::model2netcdf`, which has been deprecated since PEcAn 1.3.7. Use `model2netcdf.<YOURMODEL>` in the appropriate model package instead.

### Changed
- Moved `listToXml` and `SafeList` ouf the `PEcAn.utils` package and into the `PEcAn.settings` package. The `PEcAn.utils` versions still work with a deprecation warning, but will be removed in a future release.
- Major namespace cleanup in the `PEcAn.utils` package. It now loads more quietly and is much less likely to mask functions in a package you loaded earlier.


## [1.5.1] - 2017-09-??

### Fixes
- Fixed hyperparameter draws in PDA
- Show workflowid in the URL when run is finshed and user clicks results (#1659)
- `PEcAn.BIOCRO` now uses PEcAn-standard variable names. As a result, two output variables have been renamed but keep their existing units and definitions:
- `StemBiom` renamed to `AbvGrndWood`
- `RootBiom` renamed to `root_carbon_content`
- Improved make install logic (#1558)
- Fixed remote code execution #1545
- Added check for NA end/start year in read.output
- Fixed jagify bug for raw field data
- Fixed bug (order of dims in nc_create) introduced in model2netcdf.DALEC by standard_vars changes
- Cleaned up NAMESPACE and source code of `PEcAn.DB` (#1520)
- Debugged python script in call_MODIS in data.remote to allow MODIS downloads
- Fixed FATES build script to work on ubuntu
SIPNET output netcdf now includes LAI; some variable names changed to match standard
- Cleanup of leap year logic, using new `PEcAn.utils::days_in_year(year)` function (#801).
- Replace many hard-coded unit conversions with `udunits2::ud.convert` for consistency, readability, and clarity
- Refactored extract_soil_nc to create soil2netcdf, which will write soil data out in PEcAn standard.
- Added a new retry.func() to base/utils to provide ability to re-try a function X times before stopping. Currently using this function in the download.CRUNCEP() function to handle slow responses from THREDDS.
- Reformatted call_MODIS netcdf output to reflect the orientation of the MODIS grid
- Remote execution is more robust to errors in the submission process, not just the actual model execution
- PRELES model run script bug fix

### Added
- Functionality to pass hyperparameters via settings
- Created new (and very rudimentary) web interface for downloading data from the dataone federation into the PEcAn database. More updates to come.
- Expanded initial conditions workflow for pool-based models, including PEcAn.data.land::prepare_pools to calculate pools from IC file (to be coupled with write.configs)
- New `PEcAn.utils::days_in_year(year)` function that should make it easier to work with leap years.
- New `PEcAn.data.atmosphere::solar_angle` function that replaces math that occurs in some models.
- New `PEcAn.benchmarking::align_pft` fucntion that aligns data assosiated with two different plant functional types
- #1594 shiny/workflowPlot Adding interactiveness using ggploltly
- #1594 shiny/workflowPlot Load outputs from multiple runs of the model
- #1594 shiny/workflowPlot Ways to toggle geometries (e.g. geom_point vs. geom_line).
- #1594 shiny/workflowPlot Smoothing using geom_smooth (Slider for specifying moving window width)
- #1594 shiny/workflowPlot Comparing model output vs loaded data according to [tutorial](https://github.com/PecanProject/pecan/blob/develop/documentation/tutorials/AnalyzeOutput/modelVSdata.Rmd)
- Allow SIPNET and DALEC met files and model2netcdf to start or end mid year
- A Pre-release database clean up script that deletes unused/unassosiated entries from the database

### Changed
- Clean up directory structure:
* Move `base` packages (`utils`, `settings`, `db`, `visualizaton`) to a `base` directory, for consistency with `modules` and `models`
* Move `logger.*` functions out of the `PEcAn.utils` package and into the `PEcAn.logger` package
* Move `remote` functions out of the `PEcAn.utils` package and into their own `PEcAn.remote` package.
- #1594 shiny/workflowPlot Refactoring of code. `get_workflow_ids` in db/R/query.dplyr.R changed with `ensemble = FALSE`. Also allowing to load all workflow IDs. `load_data_single_run` and `var_names_all` also moved from shiny/workflowPlot/server.R to query.dplyr.R
- `PEcAn.remote::start.model.runs` has been significantly refactored to be less redundant and more robust
- `betyConnect` function in `query.dplyr.R` is now refactored into `read_web_config` so that the the Data-Ingest app can leverage `read_web_config` and provide it with a machine specific filepath for `.../dbfiles`
- Rpreles and Maeswrap package moved to suggest checked for within package function.


## [1.5.0] - 2017-07-13
### Added
- Added cron job and script for the sync of the database.
- Added PEcAn.utils::download.file() to allow for use of alternative FTP programs
- Updated downloadAmeriflux and downloadNARR to make use of PEcAn.utils::download.file()
- Added -w flag to load.bety.sh script to specify the URL to fetch the data from
- add new table sites_cultivars to betydb sync scripts (dump and load)
- thredds server documentation and catlog generating script
- Add new table sites_cultivars to betydb sync scripts (dump and load)
- Added docker container scrips (.yml) to create docker container for PEcAn
- Added the configuration edit page to allow easy modification of config via web interface
- Thredds server documentation and catlog generating script
- Added new standard variables table (standard_vars.csv) and to_ncvar and to_ncdim functions in PEcAn.utils
- Added initial conditions file io functions for pool-based models in data.land

### Changed
- upscale_met now accepts ~any valid CF file (not just full years), retains correct time units, and respects the previously ignored `overwrite` parameter
Expand Down
36 changes: 36 additions & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
FROM ubuntu:16.04
MAINTAINER Aman Kumar (ak47su30@gmail.com)

# updated ppa's
RUN echo "deb http://cran.rstudio.com/bin/linux/ubuntu xenial/" > /etc/apt/sources.list.d/R.list &&\
apt-key adv --keyserver keyserver.ubuntu.com --recv-keys E084DAB9

# copy the installation script inside the container
ADD docker/ /build

# Set script mod +x for preprocessors
RUN chmod 750 /build/*.sh

# Run the OS System setup script
RUN /build/system_services.sh

# run update machine to update machine
RUN /build/update_machine.sh

# run install packages to install required packages
RUN /build/install_packages.sh

# run install R to install R packages
RUN /build/install_R.sh

# run install pecan to install pecan cores
RUN /build/install_pecan.sh

# run install sipnet to install SIPNET (default testing Model)
RUN /build/install_sipnet.sh

# Clean up APT when done.
RUN apt-get clean && rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* /build/*

# startup
CMD ["/sbin/my_init"]
73 changes: 39 additions & 34 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,70 +1,73 @@
NCPUS ?= 1

BASE := utils db settings visualization
BASE := logger utils db settings visualization qaqc remote

MODELS := biocro clm45 dalec ed fates gday jules linkages \
lpjguess maat maespa preles sipnet
lpjguess maat maespa preles sipnet template

MODULES := allometry assim.batch assim.sequential benchmark \
data.atmosphere data.hydrology data.land \
data.mining data.remote emulator meta.analysis \
photosynthesis priors rtm uncertainty

BASE := $(BASE:%=base/%)
MODELS := $(MODELS:%=models/%)
MODULES := $(MODULES:%=modules/%)
ALL_PKGS := $(BASE) $(MODELS) $(MODULES) models/template
ALL_PKGS := $(BASE) $(MODULES) $(MODELS)

BASE_I := $(BASE:%=.install/%)
MODELS_I := $(MODELS:%=.install/%)
MODULES_I := $(MODULES:%=.install/%)
ALL_PKGS_I := $(BASE_I) $(MODELS_I) $(MODULES_I) .install/models/template
ALL_PKGS_I := $(BASE_I) $(MODULES_I) $(MODELS_I)

BASE_C := $(BASE:%=.check/%)
MODELS_C := $(MODELS:%=.check/%)
MODULES_C := $(MODULES:%=.check/%)
ALL_PKGS_C := $(BASE_C) $(MODELS_C) $(MODULES_C) .check/models/template
ALL_PKGS_C := $(BASE_C) $(MODULES_C) $(MODELS_C)

BASE_T := $(BASE:%=.test/%)
MODELS_T := $(MODELS:%=.test/%)
MODULES_T := $(MODULES:%=.test/%)
ALL_PKGS_T := $(BASE_T) $(MODELS_T) $(MODULES_T) .test/models/template
ALL_PKGS_T := $(BASE_T) $(MODULES_T) $(MODELS_T)

BASE_D := $(BASE:%=.doc/%)
MODELS_D := $(MODELS:%=.doc/%)
MODULES_D := $(MODULES:%=.doc/%)
ALL_PKGS_D := $(BASE_D) $(MODELS_D) $(MODULES_D) .doc/models/template
ALL_PKGS_D := $(BASE_D) $(MODULES_D) $(MODELS_D)

.PHONY: all install check test document

all: install
all: install document

document: .doc/all
install: .install/all
check: .check/all
test: .test/all
document: $(ALL_PKGS_D) .doc/base/all
install: $(ALL_PKGS_I) .install/base/all
check: $(ALL_PKGS_C) .check/base/all
test: $(ALL_PKGS_T) .test/base/all

### Dependencies
.doc/all: $(ALL_PKGS_D)
.install/all: $(ALL_PKGS_I)
.check/all: $(ALL_PKGS_C)
.test/all: $(ALL_PKGS_T)

depends = .install/$(1) .doc/$(1) .check/$(1) .test/$(1)

$(call depends,db): .install/utils
$(call depends,settings): .install/utils .install/db
$(call depends,visualization): .install/db
$(call depends,modules/data.atmosphere): .install/utils
$(call depends,modules/data.land): .install/db .install/utils
$(call depends,modules/meta.analysis): .install/utils .install/db
$(call depends,modules/priors): .install/utils
$(call depends,modules/assim.batch): .install/utils .install/db .install/modules/meta.analysis
$(call depends,modules/rtm): .install/modules/assim.batch
$(call depends,models/template): .install/utils
$(call depends,models/biocro): .install/utils .install/modules/data.atmosphere .install/modules/data.land

$(MODELS_I): .install/models/template

.doc/base/all: $(ALL_PKGS_D)
.install/base/all: $(ALL_PKGS_I)
.check/base/all: $(ALL_PKGS_C)
.test/base/all: $(ALL_PKGS_T)

$(subst .doc/models/template,,$(MODELS_D)): .install/models/template # for models that import Roxygen docs from template
$(subst .install/base/logger,,$(ALL_PKGS_I)): .install/base/logger

depends = .doc/$(1) .install/$(1) .check/$(1) .test/$(1)

$(call depends,base/utils): .install/base/remote
$(call depends,base/db): .install/base/utils
$(call depends,base/settings): .install/base/utils .install/base/db
$(call depends,base/visualization): .install/base/db
$(call depends,modules/data.atmosphere): .install/base/utils .install/base/remote
$(call depends,modules/data.land): .install/base/db .install/base/utils .install/base/remote
$(call depends,modules/meta.analysis): .install/base/utils .install/base/db .install/base/remote
$(call depends,modules/priors): .install/base/utils .install/base/remote
$(call depends,modules/assim.batch): .install/base/utils .install/base/db .install/modules/meta.analysis .install/base/remote
$(call depends,modules/rtm): .install/modules/assim.batch .install/base/remote
$(call depends,modules/uncertainty): .install/base/utils .install/modules/priors .install/base/remote
$(call depends,models/template): .install/base/utils .install/base/remote
$(call depends,models/biocro): .install/base/utils .install/base/settings .install/base/db .install/modules/data.atmosphere .install/modules/data.land .install/base/remote

clean:
rm -rf .install .check .test .doc
Expand All @@ -85,6 +88,7 @@ clean:
mkdir -p $(@D)
echo `date` > $@

depends_R_pkg = Rscript -e "devtools::install_deps('$(strip $(1))', threads = ${NCPUS});"
install_R_pkg = Rscript -e "devtools::install('$(strip $(1))', Ncpus = ${NCPUS});"
check_R_pkg = Rscript scripts/check_with_errors.R $(strip $(1))
test_R_pkg = Rscript -e "devtools::test('"$(strip $(1))"', reporter = 'stop')"
Expand All @@ -94,11 +98,12 @@ $(ALL_PKGS_I) $(ALL_PKGS_C) $(ALL_PKGS_T) $(ALL_PKGS_D): .install/devtools .inst

.SECONDEXPANSION:
.doc/%: $$(wildcard %/**/*) $$(wildcard %/*)
$(call depends_R_pkg, $(subst .doc/,,$@))
$(call doc_R_pkg, $(subst .doc/,,$@))
mkdir -p $(@D)
echo `date` > $@

.install/%: $$(wildcard %/**/*) $$(wildcard %/*)
.install/%: $$(wildcard %/**/*) $$(wildcard %/*) .doc/%
$(call install_R_pkg, $(subst .install/,,$@))
mkdir -p $(@D)
echo `date` > $@
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ The demo instance only allows for runs at pecan.ncsa.illinois.edu. Once you have
* Dietze, Michael C., Shawn P. Serbin, Carl Davidson, Ankur R. Desai, Xiaohui Feng, Ryan Kelly, Rob Kooper et al. "A quantitative assessment of a terrestrial biosphere model's data needs across North American biomes." Journal of Geophysical Research: Biogeosciences 119, no. 3 (2014): 286-300.
* Viskari, Toni, Brady Hardiman, Ankur R. Desai, and Michael C. Dietze. "Model-data assimilation of multiple phenological observations to constrain and predict leaf area index." (2015) [doi:10.1890/14-0497.1](http://dx.doi.org/10.1890/14-0497.1)
* Shiklomanov. A, MC Dietze, T Viskari, PA Townsend, SP Serbin. 2016 "Quantifying the influences of spectral resolution on uncertainty in leaf trait estimates through a Bayesian approach to RTM inversion" Remote Sensing of the Environment 183: 226-238
* LeBauer, David, Rob Kooper, Patrick Mulrooney, Scott Rohde, Dan Wang, Stephen P. Long, and Michael C. Dietze. "BETYdb: a yield, trait, and ecosystem service database applied to second‐generation bioenergy feedstock production." GCB Bioenergy (2017).

## Acknowledgements

Expand Down
3 changes: 0 additions & 3 deletions TODO

This file was deleted.

8 changes: 5 additions & 3 deletions all/DESCRIPTION → base/all/DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ Package: PEcAn.all
Type: Package
Title: PEcAn functions used for ecological forecasts and
reanalysis
Version: 1.5.0
Date: 2017-07-14
Version: 1.5.1
Date: 2017-09-25
Author: David LeBauer, Mike Dietze, Xiaohui Feng, Dan Wang,
Mike Dietze, Carl Davidson, Rob Kooper, Shawn Serbin
Maintainer: David LeBauer <dlebauer@illinois.edu>
Expand All @@ -18,6 +18,7 @@ Depends:
PEcAn.DB,
PEcAn.settings,
PEcAn.MA,
PEcAn.logger,
PEcAn.utils,
PEcAn.uncertainty,
PEcAn.data.atmosphere,
Expand All @@ -26,7 +27,8 @@ Depends:
PEcAn.assim.batch,
PEcAn.emulator,
PEcAn.priors,
PEcAn.benchmark
PEcAn.benchmark,
PEcAn.remote
Suggests:
PEcAn.ed,
PEcAn.sipnet,
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion all/tests/testthat.R → base/all/tests/testthat.R
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,5 @@
library(testthat)
library(PEcAn.utils)

logger.setQuitOnSevere(FALSE)
PEcAn.logger::logger.setQuitOnSevere(FALSE)
test_check("PEcAn.all")
File renamed without changes.
10 changes: 5 additions & 5 deletions db/DESCRIPTION → base/db/DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
Package: PEcAn.DB
Type: Package
Title: PEcAn functions used for ecological forecasts and reanalysis
Version: 1.5.0
Date: 2017-07-14
Version: 1.5.1
Date: 2017-09-25
Author: David LeBauer, Mike Dietze, Xiaohui Feng, Dan Wang, Carl
Davidson, Rob Kooper, Shawn Serbin
Maintainer: David LeBauer <dlebauer@illinois.edu>
Expand All @@ -11,10 +11,10 @@ Description: The Predictive Ecosystem Carbon Analyzer (PEcAn) is a scientific
model parameterization, execution, and analysis. The goal of PECAn is to
streamline the interaction between data and models, and to improve the
efficacy of scientific investigation.
Depends:
DBI,
PEcAn.utils
Imports:
DBI,
PEcAn.logger,
PEcAn.utils,
plyr (>= 1.8.4)
Suggests:
RPostgreSQL,
Expand Down
File renamed without changes.
6 changes: 3 additions & 3 deletions db/NAMESPACE → base/db/NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ export(dbfile.input.insert)
export(dbfile.insert)
export(dbfile.posterior.check)
export(dbfile.posterior.insert)
export(default_hostname)
export(derive.trait)
export(derive.traits)
export(dplyr.count)
Expand All @@ -30,10 +31,8 @@ export(get_run_ids)
export(get_users)
export(get_var_names)
export(get_workflow_ids)
export(load_data_single_run)
export(ncdays2date)
export(query.base)
export(query.base.con)
export(query.close)
export(query.file.path)
export(query.format.vars)
export(query.pft_species)
Expand All @@ -45,5 +44,6 @@ export(rename.jags.columns)
export(runModule.get.trait.data)
export(runs)
export(take.samples)
export(var_names_all)
export(workflow)
export(workflows)
Loading