n38_to_m38.Rd
This function processes decoded n38 data into the m38 format used by Geonics. Its a bit useless from an R perspective, but users may wish to compare outputs with Geonics' own conversion software or process it further with the DAT38MK2 application.
n38_to_m38(n38_decoded = NULL)
Nested list output by n38_decode
Large character; combination of location data and calibrated instrument readings. Note that record timestamps won't always agree with an 'official' m38 file at the microsecond level.
Write output to file in working directory with e.g. write(m38_example,
paste0('m38_from_R_', Sys.Date(), '.m38'))
data('n38_demo')
n38_chunks <- n38_chunk(n38_demo)
n38_decoded <- n38_decode(n38_chunks)
m38_example <- n38_to_m38(n38_decoded)