PatchFileSummary

class of dascore.io.core
inherits from: DascoreBaseModel, pydantic.main.BaseModel
source

PatchFileSummary(
    data_type: Literal[’‘, ’velocity’, ‘strain_rate’, ‘phase’, ‘strain’, ‘temperature’, ‘temperature_gradient’] = ““,
    data_category: Literal[’‘, ’DAS’, ‘DTS’, ‘DSS’] =”“,
    instrument_id: str =”“,
    experiment_id: str =”“,
    tag: str =”“,
    station: str =”“,
    network: str =”“,
    dims: str =”“,
    time_min: datetime64 = NaT,
    time_max: datetime64 = NaT,
    time_step: timedelta64 = NaT,
    file_version: str =”“,
    file_format: str =”“,
    path: str | pathlib.Path[str, Path] =”“,
)-> None

The necessary attributes for indexing a fiber file.

A subset of PatchAttributes.

Methods

Name Description
flat_dump Alias for dump, for compatibility with PatchAttrs.flat_dump.
new Create new instance with some attributed updated.