mt_metadata.transfer_functions.io.emtfxml
Submodules
Classes
This is meant to follow Anna's XML schema for transfer functions |
Package Contents
- class mt_metadata.transfer_functions.io.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