mt_metadata
This module deals with metadata as defined by the MT metadata standards.
There are multiple containers for each type of metadata, named appropriately.
- Each container will be able to read and write:
dictionary
json
xml
csv?
pandas.Series
anything else?
Each container has an attribute called _attr_dict which dictates if the attribute is included in output objects, the data type, whether it is a required parameter, and the style of output. This should help down the road with validation and keeping the data types consistent. And if things change you should only have to changes these dictionaries.
- copyright:
Jared Peacock (jpeacock@usgs.gov)
- license:
MIT
Submodules
Attributes
Package Contents
- mt_metadata.ACCEPTED_STYLES = ['name', 'url', 'email', 'number', 'date', 'free form', 'time', 'date time', 'name list',...
- mt_metadata.REQUIRED_KEYS = ['attribute', 'type', 'required', 'units', 'style', 'description', 'options', 'alias',...
- mt_metadata.DEFAULT_CHANNEL_NOMENCLATURE
- mt_metadata.NULL_VALUES = [None, '', 'null', 'None', 'NONE', 'NULL', 'Null', 'none', '1980-01-01T00:00:00',...
- mt_metadata.config
- mt_metadata.DATA_DIR
- mt_metadata.STATIONXML_01
- mt_metadata.STATIONXML_02
- mt_metadata.STATIONXML_MAGNETIC
- mt_metadata.STATIONXML_ELECTRIC
- mt_metadata.STATIONXML_FAP
- mt_metadata.STATIONXML_FIR
- mt_metadata.STATIONXML_MULTIPLE_NETWORKS
- mt_metadata.MT_EXPERIMENT_SINGLE_STATION
- mt_metadata.MT_EXPERIMENT_MULTIPLE_RUNS
- mt_metadata.MT_EXPERIMENT_MULTIPLE_RUNS_02
- mt_metadata.TF_ZMM
- mt_metadata.TF_ZSS_TIPPER
- mt_metadata.TF_JFILE
- mt_metadata.TF_XML
- mt_metadata.TF_XML_NO_SITE_LAYOUT
- mt_metadata.TF_XML_COMPLETE_REMOTE_INFO
- mt_metadata.TF_XML_WITH_DERIVED_QUANTITIES
- mt_metadata.TF_POOR_XML
- mt_metadata.TF_XML_MULTIPLE_ATTACHMENTS
- mt_metadata.TF_EDI_PHOENIX
- mt_metadata.TF_EDI_EMPOWER
- mt_metadata.TF_EDI_METRONIX
- mt_metadata.TF_EDI_CGG
- mt_metadata.TF_EDI_QUANTEC
- mt_metadata.TF_EDI_RHO_ONLY
- mt_metadata.TF_EDI_SPECTRA
- mt_metadata.TF_EDI_SPECTRA_OUT
- mt_metadata.TF_EDI_NO_ERROR
- mt_metadata.TF_AVG
- mt_metadata.TF_AVG_TIPPER
- mt_metadata.TF_AVG_NEWER