argo_read_info: Read NetCDF general information

Description Usage Arguments Value Examples

View source: R/argo-info.R

Description

Use argo_read_info() to extract variables and global attributes from a previously-downloaded Argo NetCDF file. The variables read by argo_read_info() are always length 1.

Usage

1

Arguments

file

A previously downloaded Argo NetCDF file (e.g., using argo_download()).

quiet

Use FALSE to stop for malformed files, NA to silently warn for malformed files, or TRUE to silently ignore read errors when possible.

Value

A tibble::tibble() with one row. Columns containing global attribute information are prefixed with att_ to differentiate them from variables with zero dimensions.

Examples

1
2
3
4
5
6
prof_file <- system.file(
  "cache-test/dac/csio/2900313/profiles/D2900313_000.nc",
  package = "argodata"
)

argo_read_info(prof_file)

ArgoCanada/argodata documentation built on Dec. 13, 2021, 10:13 a.m.