Skip to contents

Print method for the 'tidync_data' list of arrays returned by hyper_array().

Usage

# S3 method for class 'tidync_data'
print(x, ...)

Arguments

x

'tidync_data' object (from hyper_array())

...

reserved args

Value

the input object invisibly

Details

The output lists the variables and their dimensions of an object from a previous call to tidync(), and possibly hyper_filter(). The available data will differ from the source in terms of variables (via select_var in hyper_array) and the lengths of each dimension (via named expressions in hyper_filter()).

See also

tidync_data

Examples

argofile <- system.file("extdata/argo/MD5903593_001.nc", package = "tidync")
argodata <- tidync(argofile) %>% hyper_filter(N_LEVELS = index < 5) %>% 
              hyper_array(select_var = c("TEMP_ADJUSTED", "PRES"))
print(argodata)
#> Class: tidync_data (list of tidync data arrays)
#> Variables (2): 'TEMP_ADJUSTED', 'PRES'
#> Dimension (2): N_LEVELS,N_PROF (4, 2)
#> Source: /usr/local/lib/R/site-library/tidync/extdata/argo/MD5903593_001.nc