grib_length | R Documentation |
grib_length
loops through a GRIB file to determine the number of
messages.
grib_length(gribObj)
gribObj |
|
grib_length
determines the length of both GRIB files with and without
multiple fields per message. The GRIB file is looped though twice, with and
without multi-message support turned on, to get the true length.
Returns integer
number of GRIB messages.
g <- grib_open(system.file("extdata", "lfpw.grib1", package = "gribr"))
grib_length(g)
grib_close(g)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.