n38_chunk: Separate message types

View source: R/import_export.R

n38_chunkR Documentation

Separate message types

Description

This function chunks imported n38 binary matrices into a list, grouping file header and survey line information for further processing.

Usage

n38_chunk(n38_mat = NULL)

Arguments

n38_mat

The binary matrix output by n38_import.

Value

A nested list containing binary matrices encoding a) file header information and b) each survey line in the input file. For each survey line, a list of matrices with survey line data separated by type - header and calibration data, instrument readings, position information, and comments.

Examples

data('n38_demo')
n38_chunks <- n38_chunk(n38_demo)

obrl-soil/em38 documentation built on Sept. 25, 2023, 10:01 p.m.