Learn R Programming

ncdfCF (version 0.1.1)

has_bounds,ncdfDimensionNumeric-method: Does the dimension have 'bounds' set?

Description

Does the dimension have 'bounds' set?

Usage

# S4 method for ncdfDimensionNumeric
has_bounds(x)

Value

Logical to flag if bounds have been set or not.

Arguments

x

The ncdfDimension object to query.

Examples

Run this code
fn <- system.file("extdata",
                  "pr_day_EC-Earth3-CC_ssp245_r1i1p1f1_gr_20240101-20241231_vncdfCF.nc",
                  package = "ncdfCF")
ds <- open_ncdf(fn)
lon <- ds[["lon"]]
has_bounds(lon)

Run the code above in your browser using DataLab