check_gzfiles: Returns summary on ".gz"-file types

View source: R/check_gzfiles.r

check_gzfilesR Documentation

Returns summary on '.gz'-file types

Description

Returns summary table on '.gz'-file types available in a specified folder. Provided information include region (region covered, as described by the region_definitions), sat (satellite source), param (parameter), res (spatial resolution), ts (temporal resolution), filetype (file filetype)

Usage

check_gzfiles(sstring="*",folder,filetype=".gz")

Arguments

sstring

Character string indicating the search criteria for sat files (default is *, including all '.gz'-files).

folder

Character string indicating the folder in which searched files are located (default is current working directory)

filetype

Character string indicating thefile type of sat files (default is .gz)

Value

An aggregated data frame, returning '.gz'-file type-information (see description) on available files in a specified folder.

Author(s)

Robert K. Bauer

See Also

name_split, check_ts

Examples

## Example 1: plot '.gz'-files, following default plot-procedure
path <- system.file("test_files", package="oceanmap")
check_gzfiles(folder=path) # return file summary-table per filetype

## check for missing dates
check_ts('medw4*',folder=path)
check_ts('medw4*',folder=path,output=TRUE)

oceanmap documentation built on Nov. 10, 2023, 5:08 p.m.