ffi_read_EGM4 {fluxfinder}R Documentation

Read an EGM-4 data file

Description

Read an EGM-4 data file

Usage

ffi_read_EGM4(file, year, tz = "UTC")

Arguments

file

Filename to read, character

year

Four-digit year of the data (EGM-4 output files have month, day, hour, and minute, but not year), numeric or character

tz

Time zone of the file's time data, character (optional)

Value

A data.frame with the parsed data.

Examples

f <- system.file("extdata/EGM4-data.dat", package = "fluxfinder")
dat <- ffi_read_EGM4(f, 2023)
dat <- ffi_read_EGM4(f, 2023, tz = "EST") # specify time zone

[Package fluxfinder version 1.0.0 Index]