ffi_read_EGM4 {fluxfinder} | R Documentation |
Read an EGM-4 data file
ffi_read_EGM4(file, year, tz = "UTC")
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) |
A data.frame
with the parsed data.
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