geost.io.xyz.ags_xyz_to_collection#

geost.io.xyz.ags_xyz_to_collection(file, data_columns: list[str] = ['DEP_TOP', 'DEP_BOT', 'RHO', 'RHO_STD'], trim_to_doi: bool = True, doi_type: Literal['standard', 'conservative'] = 'standard') → Collection[source]#

Reads an AGS XYZ file and returns a GeoST Collection.

Parameters:#

file (str or file-like):

The path to the AGS XYZ file or a file-like object.

data_columns (list of str, optional):

List of data columns to include in the collection. Default is [“DEP_TOP”, “DEP_BOT”, “RHO”, “RHO_STD”].

trim_to_doi (bool, optional):

Whether to trim the data to the depth of investigation (DOI). Default is True.

doi_type (str, optional):

The type of depth of investigation (DOI) to use when trimming the data. Can be “standard” or “conservative”. Default is “standard”.

returns:

A GeoST Collection containing the data from the AGS XYZ file.

rtype:

geost.Collection