grib_close: Close GRIB files

View source: R/grib_close.R

grib_closeR Documentation

Close GRIB files

Description

grib_close closes a GRIB file and frees it from memory.

Usage

grib_close(gribObj)

Arguments

gribObj

GRIB class object.

Details

grib_close checks to see if the GRIB object is open before closing it. No formal return value is given with this function. Only feedback is a short message inidicating success or failure.

See Also

grib_open

Examples

g <- grib_open(system.file("extdata", "lfpw.grib1", package = "gribr"))
# ...do some analysis...
grib_close(g)
g # check status

nawendt/rGRIB documentation built on Oct. 24, 2023, 6:21 a.m.