is.grib: GRIB Messages

View source: R/is_grib.R

is.gribR Documentation

GRIB Messages

Description

is.grib tests whether and object is a GRIB object.

Usage

is.grib(obj)

Arguments

obj

object to be tested.

Value

Returns a logical.

See Also

is.grib.message

Examples

g <- grib_open(system.file("extdata", "lfpw.grib1", package = "gribr"))
gm <- grib_get_message(g, 1)
is.grib.message(g)
# should be FALSE
is.grib(gm)
grib_close(g)

nawendt/gribr documentation built on July 15, 2024, 10:51 a.m.