Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Earth Sciences
easyNCDF
Commits
f9f08d9e
Commit
f9f08d9e
authored
Apr 08, 2017
by
Nicolau Manubens Gil
Browse files
Merge branch 'develop-hotfixes-0.0.1' into 'master'
Fixed bug... See merge request
!1
parents
bcf13c65
d97c42a1
Changes
1
Hide whitespace changes
Inline
Side-by-side
R/NcToArray.R
View file @
f9f08d9e
...
...
@@ -220,8 +220,10 @@ NcToArray <- function(file_to_read, dim_indices = NULL, vars_to_read = NULL,
## TODO: Crop dimensions in attributes
if
(
!
is.null
(
reorder_back
))
{
var_result
<-
aperm
(
var_result
,
reorder_back
)
names
(
dim
(
var_result
))
<-
names
(
indices_to_take
)[
reorder_back
]
}
else
{
names
(
dim
(
var_result
))
<-
names
(
indices_to_take
)
}
names
(
dim
(
var_result
))
<-
names
(
indices_to_take
)[
reorder_back
]
#if (!is.null(missing_dims)) {
# dim(var_result) <- original_dims
#}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment