atmoschem / EmissV
Showing 1 of 4 files from the diff.
Newly tracked file
R/read.R changed.
Other files ignored by Codecov
docs/pkgdown.yml has changed.
docs/index.html has changed.
README.md has changed.

@@ -16,9 +16,9 @@
Loading
16 16
#' @param skip_missing return a zero emission for missing variables and a warning
17 17
#' @param verbose display additional information
18 18
#'
19 -
#' @note for 'GAINS' version, please use flux (kg m-2 s-1) NetCDF file from https://eccad3.sedoo.fr
19 +
#' @note for 'GAINS' / Eclipse-v5a, please use flux (kg m-2 s-1) NetCDF file from https://eccad3.sedoo.fr
20 20
#'
21 -
#' @note VULCAN is not fully supported, only for visualization purposes
21 +
#' @note 'VULCAN' is not fully supported, only for visualization purposes
22 22
#'
23 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
24 24
#'
@@ -376,9 +376,11 @@
Loading
376 376
                 " ",version," ",
377 377
                 " emissions",
378 378
                 ", output unit is g m-2 s-1 ...\n"))
379 +
    ed   <- ncdf4::nc_open(file[1])
379 380
    for(i in 1:length(file)){
380 381
      if(verbose)
381 382
        cat(paste0("from ",file[i]),"x",sprintf("%02.6f",coef[i]),"\n")
383 +
      ed   <- ncdf4::nc_open(file[i])
382 384
      if(missing(categories)){
383 385
        name <- names(ed$var)
384 386
        name <- grep('date',         name, invert = TRUE, value = TRUE)
@@ -389,7 +391,6 @@
Loading
389 391
      }else{
390 392
        name <- categories
391 393
      }
392 -
      ed   <- ncdf4::nc_open(file[i])
393 394
      var  <- ncdf4::ncvar_get(ed,name[1])
394 395
      var  <- apply(var,1,rev)
395 396
      if(as_raster){
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