View source: R/hyper_transforms.R
hyper_transforms | R Documentation |
Axis 'transforms' are data frames of each dimension in a NetCDF source.
hyper_transforms
returns a list of the active transforms by default,
hyper_transforms(x, all = FALSE, ...) ## Default S3 method: hyper_transforms(x, all = FALSE, ...)
x |
tidync object |
all |
set to |
... |
ignored |
Each transform is available by name from a list, and each data frame has the
coordinate of the dimension, its index, and a 'selected' variable set by the
filtering expressions in hyper_filter
and used by the read-functions
hyper_array
and hyper_tibble
.
Use hyper_transforms
to interrogate and explore the available dimension
manually, or for development of custom functions.
list of axis transforms
l3file <- "S20080012008031.L3m_MO_CHL_chlor_a_9km.nc" f <- system.file("extdata", "oceandata", l3file, package = "tidync") ax <- tidync(f) %>% hyper_transforms() names(ax) lapply(ax, dim) ## this function returns the transforms tidync knows about for this source str(tidync(f)$transforms) names(hyper_transforms(tidync(f), all = TRUE))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.