| open_specs | R Documentation |
FileSpecs keeps a durable, read-only description of a large H5 or ENVI
source. Spectral values are read only when an explicit bounded selection is
materialized. The object never stores an open connection or modifies a
source member.
open_specs(path, cache_dir = NULL)
## S3 method for class 'FileSpecs'
as_Specs(x, ...)
## S3 method for class 'FileSpecs'
print(x, ...)
## S3 method for class 'FileSpecs'
check_Specs(x, ...)
## S3 method for class 'FileSpecs'
decompress_spec(x, index = NULL, region = NULL, roi = NULL, bands = NULL, ...)
## S3 method for class 'FileSpecs'
split_spec(x, by = "region", ...)
## S3 method for class 'FileSpecs'
cor_spec(x, ...)
## S3 method for class 'FileSpecs'
match_spec(x, ...)
## S3 method for class 'FileSpecs'
def_features(x, ...)
## S3 method for class 'FileSpecs'
collapse_spec(x, ...)
path |
path to an H5 file, an ENVI binary file, or its |
cache_dir |
directory for immutable derived cache generations. The default uses the user cache directory, never the source directory. |
x |
a |
... |
additional arguments reserved for methods. |
index |
positive row positions in the current file-backed view. |
region |
optional region names to materialize. |
roi |
optional numeric |
bands |
optional positive spectral-band positions to materialize. |
by |
grouping field; file-backed splitting currently supports only
|
open_specs() returns a descriptor-only FileSpecs object.
decompress_spec() returns a bounded OpenSpecy materialization and
split_spec() returns lightweight FileSpecs views.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.