mt_metadata.transfer_functions.io.emtfxml.emtfxml

This is meant to follow Anna’s XML schema for transfer functions

Created on Sat Sep 4 17:59:53 2021

@author: jpeacock

Attributes

meta_classes

estimates_dict

data_types_dict

Classes

EMTFXML

This is meant to follow Anna's XML schema for transfer functions

Module Contents

mt_metadata.transfer_functions.io.emtfxml.emtfxml.meta_classes
mt_metadata.transfer_functions.io.emtfxml.emtfxml.estimates_dict
mt_metadata.transfer_functions.io.emtfxml.emtfxml.data_types_dict
class mt_metadata.transfer_functions.io.emtfxml.emtfxml.EMTFXML(fn=None, **kwargs)

This is meant to follow Anna’s XML schema for transfer functions

[Kelbert2019](https://doi.org/10.1190/geo2018-0679.1).

making this a MetadataBase object is complicated because of station and survey metadata, so we are going to leave this as just an object.

emtf
external_url
primary_data
attachment
provenance
copyright
site
field_notes
processing_info
statistical_estimates
data_types
site_layout
data
period_range
property fn
element_keys = ['description', 'product_id', 'sub_type', 'notes', 'tags', 'external_url', 'primary_data',...
property save_dir
property description: str
property product_id: str
property tags: str
property sub_type: str
property notes: str
read(fn=None, get_elevation=False)

Read xml file

Parameters:

fn (str | Path) – XML file path to read, if None, use self.fn

Returns:

None

Return type:

None

write(fn, skip_field_notes=False)

Write an xml :param fn: XML file path to write :type fn: str | Path :return: None :rtype: None :rtype: TYPE

property survey_metadata
property station_metadata