mt_metadata.timeseries.data_logger ================================== .. py:module:: mt_metadata.timeseries.data_logger Classes ------- .. autoapisummary:: mt_metadata.timeseries.data_logger.DataLogger Module Contents --------------- .. py:class:: DataLogger(**data) Bases: :py:obj:`mt_metadata.common.Instrument` Base class for all metadata objects with Pydantic validation. MetadataBase extends DotNotationBaseModel (which inherits from Pydantic's BaseModel) to provide automatic validation according to metadata standards. It adds functionality beyond dictionaries, supporting JSON, XML, pandas Series, and other formats for metadata interchange. .. attribute:: _skip_equals Private attribute listing fields to skip in equality comparisons :type: list[str] .. attribute:: _fields Private attribute caching field information :type: dict[str, Any] .. rubric:: Notes - All field assignments are validated automatically via Pydantic - None values are converted to appropriate defaults (empty string or 0.0) - Supports nested attribute access via dot notation - Thread-safe for read operations after initialization .. py:attribute:: timing_system :type: Annotated[mt_metadata.timeseries.TimingSystem, Field(default_factory=TimingSystem, description='Timing system of the data logger.', alias=None, json_schema_extra={'units': None, 'required': False, 'examples': 'TimingSystem()'})] .. py:attribute:: firmware :type: Annotated[mt_metadata.common.Software, Field(default_factory=Software, description='Firmware of the data logger.', alias=None, json_schema_extra={'units': None, 'required': False, 'examples': 'Software()'})] .. py:attribute:: power_source :type: Annotated[mt_metadata.timeseries.Battery, Field(default_factory=Battery, description='Power source of the data logger.', alias=None, json_schema_extra={'units': None, 'required': False, 'examples': 'Battery()'})] .. py:attribute:: data_storage :type: Annotated[mt_metadata.common.Instrument, Field(default_factory=Instrument, description='Data storage of the data logger.', alias=None, json_schema_extra={'units': None, 'required': False, 'examples': 'Instrument()'})]