From 3966b6b1c29195e88aab17da20219d2b3c9f028c Mon Sep 17 00:00:00 2001 From: Nicolau Manubens Date: Wed, 17 May 2017 19:07:28 +0200 Subject: [PATCH] Bumped version to 0.0.4. --- DESCRIPTION | 2 +- R/NcToArray.R | 2 +- easyNCDF-manual.pdf | Bin 108593 -> 108580 bytes 3 files changed, 2 insertions(+), 2 deletions(-) diff --git a/DESCRIPTION b/DESCRIPTION index 4b23a42..17ef49c 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,6 +1,6 @@ Package: easyNCDF Title: Tools to Easily Read/Write NetCDF Files into/from Multidimensional R Arrays -Version: 0.0.3 +Version: 0.0.4 Authors@R: c( person("BSC-CNS", role = c("aut", "cph")), person("Nicolau", "Manubens", , "nicolau.manubens@bsc.es", role = c("aut", "cre"))) diff --git a/R/NcToArray.R b/R/NcToArray.R index 5c7a91a..fc4b438 100644 --- a/R/NcToArray.R +++ b/R/NcToArray.R @@ -206,7 +206,7 @@ NcToArray <- function(file_to_read, dim_indices = NULL, vars_to_read = NULL, ## original_ncvar_get_inner <- ncdf4:::ncvar_get_inner ## assignInNamespace('ncvar_get_inner', .ncvar_get_inner, 'ncdf4') } - var_result <- do.call('[', c(list(.ncvar_get(file_object, var_name, start, count, collapse_degen = FALSE)), + var_result <- do.call('[', c(list(ncvar_get(file_object, var_name, start, count, collapse_degen = FALSE)), lapply(indices_to_take, function(x) if (is_single_na(x)) TRUE else x - min(x) + 1), list(drop = FALSE))) ### Support for character strings ##if ((file_object[['var']][[var_name]][['prec']] == 'char') && diff --git a/easyNCDF-manual.pdf b/easyNCDF-manual.pdf index 996f034aea01eb3d1c3923e7a71544db2efea811..4234fef492cd27f25c4947c8cbcad7eedc47cdbf 100644 GIT binary patch delta 3334 zcmV+h4f*o1&<3Q?29P8HFq6SRDu3-*TW{h<6n@XI@LNGzhPnE(YFFLBX0;WeE1>N| z8mWUBV6-;&`qC`@^*#2CDK3dar1YsMA~Uw<+`e<>n`2{V<6!6G6@Fs8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