atmoschem / EmissV
Showing 1 of 2 files from the diff.
Newly tracked file
R/read.R changed.
Other files ignored by Codecov
man/read.Rd has changed.

@@ -1,26 +1,31 @@
Loading
1 -
#' Read NetCDF data from global inventaries
1 +
#' Read NetCDF data from global inventories
2 2
#'
3 -
#' @description Read data from global inventories, can read several files and merge into one
4 -
#' emission and/or split into several species (speciation process)
3 +
#' @description Read data from global inventories. Several files can be read to produce one
4 +
#' emission output and/or can be splited into several species
5 5
#'
6 6
#' @return Matrix or raster
7 7
#'
8 8
#' @param file file name or names (variables are summed)
9 -
#' @param coef coef to merge different sources (file) into one emission
9 +
#' @param coef coefficients to merge different sources (file) into one emission
10 10
#' @param spec numeric speciation vector to split emission into different species
11 -
#' @param version inventory name 'EDGAR' (for 4.32 and 5.0),'EDGAR_HTAPv2','MACCITY','GAINS','RCP' or 'VULCAN'
12 -
#' @param month the desired month of the inventary (MACCITY)
13 -
#' @param year scenario index (GAINS)
14 -
#' @param categories considered categories (MACCITY, GAINS variable names), empty for all
15 -
#' @param as_raster return a raster (defoult) or matrix (with units)
16 -
#' @param skip_missing return a zero emission for missing variables and a warning
11 +
#' @param version Character; One of  of the following:
12 +
#' \tabular{lllll}{
13 +
#'   \strong{argument}\tab \strong{tested}\tab \strong{region}\tab \strong{resolution}\tab \strong{projection}\cr
14 +
#'   EDGAR\tab 4.32 and 5.0 \tab Global \tab 0.1 x 0.1 °\tab  longlat\cr
15 +
#'   EDGAR_HTAPv2\tab 2.2 \tab Global \tab 0.1 x 0.1 °  \tab  longlat\cr
16 +
#'   GAINS\tab v5a \tab Global \tab 0.5 x 0.5 ° \tab  longlat\cr
17 +
#'   RCP\tab RCP3PD Glb \tab Global \tab 0.5 x 0.5 °  \tab  longlat\cr
18 +
#'   MACCITY\tab 2010 \tab Global \tab 0.5 x 0.5 °  \tab  longlat\cr
19 +
#'   VULCAN\tab 3.0 \tab US \tab 1 x 1 Km \tab  lcc\cr
20 +
#'}
21 +
#' @param month the desired month of the inventory (only for MACCITY)
22 +
#' @param year scenario index (only for GAINS)
23 +
#' @param categories considered categories (for MACCITY/GAINS variable names), empty for use all
24 +
#' @param as_raster return a raster (default) or matrix (with units)
25 +
#' @param skip_missing return a zero emission and a warning for missing files/variables
17 26
#' @param verbose display additional information
18 27
#'
19 -
#' @note for 'GAINS' / Eclipse-v5a, please use flux (kg m-2 s-1) NetCDF file from https://eccad3.sedoo.fr
20 -
#'
21 -
#' @note 'VULCAN' is not fully supported, only for visualization purposes
22 -
#'
23 -
#' @note for 'RCP' version, use the flux (kg m-2 s-1) Netcdf file from https://www.iiasa.ac.at/web-apps/tnt/RcpDb
28 +
#' @note for EDGAR (all versions), GAINS, RCP and MACCTITY, please use flux (kg m-2 s-1) NetCDF file.
24 29
#'
25 30
#' @seealso \code{\link{rasterSource}} and \code{\link{gridInfo}}
26 31
#'
Files Coverage
R 100.00%
Project Totals (13 files) 100.00%
1
comment: false
2
language: R
3
sudo: false
4
cache: packages
5
after_success:
6
- Rscript -e 'covr::codecov(quiet = FALSE)'
Sunburst
The inner-most circle is the entire project, moving away from the center are folders then, finally, a single file. The size and color of each slice is representing the number of statements and the coverage, respectively.
Icicle
The top section represents the entire project. Proceeding with folders and finally individual files. The size and color of each slice is representing the number of statements and the coverage, respectively.
Grid
Each block represents a single file in the project. The size and color of each block is represented by the number of statements and the coverage, respectively.
Loading