print.grib: Print GRIB Details

View source: R/print.R

print.gribR Documentation

Print GRIB Details

Description

print.grib displays basic status information about a GRIB file.

Usage

## S3 method for class 'grib'
print(x, ...)

Arguments

x

GRIB class object.

...

futher arguments; ignored here.

Details

print.grib is the S3 method for printing GRIB files. Its behavior differs from most other print methods in that it displays some basic information about the GRIB file. When invoked on a GRIB class object, it will display the location of the GRIB file, whether the GRIB file has an active file handle in memory, and whether or not the file containins multiple fields in some messages.

Examples

g <- grib_open(system.file("extdata", "lfpw.grib1", package = "gribr"))
print(g)
grib_close(g)

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