powered by
Read an EGM-4 data file
ffi_read_EGM4(file, year, tz = "UTC")
A data.frame with the parsed data.
data.frame
Filename to read, character
Four-digit year of the data (EGM-4 output files have month, day, hour, and minute, but not year), numeric or character
Time zone of the file's time data, character (optional)
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
Run the code above in your browser using DataLab