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/gribr documentation built on July 15, 2024, 10:51 a.m.