is.grib.message: GRIB Messages

View source: R/is_grib_message.R

is.grib.messageR Documentation

GRIB Messages

Description

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

Usage

is.grib.message(obj)

Arguments

obj

object to be tested.

Value

Returns a logical.

See Also

is.grib

Examples

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

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