Skip to content

Commit

Permalink
Roxygenise documents
Browse files Browse the repository at this point in the history
Signed-off-by: Abhinav Pandey <[email protected]>
  • Loading branch information
Sweetdevil144 committed Jul 8, 2024
1 parent 8082194 commit 65cdea7
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 5 deletions.
1 change: 1 addition & 0 deletions base/db/R/get.new.site.R
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
##' @title Get New Site Info
##' @param site a dataframe with site information on lat, lon and time_zone
##' @param con Database connection object
##' latlon Global latlon abjoect which will store updated lat/lon
##' @return a dataframe with new site information on lat, lon and time_zone
##' @export
##' @author Abhinav Pandey
Expand Down
5 changes: 3 additions & 2 deletions base/db/man/get.new.site.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion modules/data.atmosphere/R/met.process.R
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ met.process <- function(site, input_met, start_date, end_date, model,

# setup site database number, lat, lon and name and copy for format.vars if new input
latlon <- NULL
site.info <- PEcAn.DB::get.new.site(site, con, latlon)
site.info <- PEcAn.DB::get.new.site(site, con, latlon = latlon)

# extract new.site and str_ns from site.info
new.site <- site.info$new.site
Expand Down
2 changes: 1 addition & 1 deletion modules/data.land/R/ic_process.R
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ ic_process <- function(settings, input, dir, overwrite = FALSE, site = settings$

# setup site database number, lat, lon and name and copy for format.vars if new input
latlon <- NULL
site.info <- PEcAn.DB::get.new.site(site, con, latlon)
site.info <- PEcAn.DB::get.new.site(site, con, latlon = latlon)

# extract new.site and str_ns from site.info
new.site <- site.info$new.site
Expand Down
2 changes: 1 addition & 1 deletion modules/data.land/R/soil_process.R
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ soil_process <- function(settings, input, dbfiles, overwrite = FALSE,run.local=T

# setup site database number, lat, lon and name and copy for format.vars if new input
latlon <- NULL
site.info <- PEcAn.DB::get.new.site(site, con, latlon)
site.info <- PEcAn.DB::get.new.site(site, con, latlon = latlon)

# extract new.site and str_ns from site.info
new.site <- site.info$new.site
Expand Down

0 comments on commit 65cdea7

Please sign in to comment.