ios_shell.sections module
Contains classes to represent complex elements of an IOS Shell file.
- class ios_shell.sections.Administration(mission: str, agency: str, country: str, project: str, scientist: str, platform: str, remarks: str, raw: Dict[str, Any])
Bases:
objectRepresents the *ADMINISTRATION section.
- agency: str
- country: str
- mission: str
- platform: str
- project: str
- raw: Dict[str, Any]
- remarks: str
- scientist: str
- class ios_shell.sections.Calibration(corrected_channels: List[Dict[str, str]], remarks: str, raw: Dict[str, Any])
Bases:
objectRepresents the *CALIBRATION section.
- corrected_channels: List[Dict[str, str]]
- raw: Dict[str, Any]
- remarks: str
- class ios_shell.sections.Channel(no='', name='', units='', minimum='', maximum='')
Bases:
objectA single entry in the CHANNELS table.
- maximum: float
- minimum: float
- name: str
- no: int
- units: str
- class ios_shell.sections.ChannelDetail(no='', pad='', start='', width='', format='', type='', decimal_places='')
Bases:
objectA single entry in the CHANNEL DETAILS table.
- decimal_places: int = -1
- format: str
- no: int
- pad: float
- start: str
- type: str
- width: int
- class ios_shell.sections.Deployment(mission: str, type: str, anchor_dropped: datetime, remarks: str, raw: Dict[str, Any])
Bases:
objectRepresents the *DEPLOYMENT section.
- anchor_dropped: datetime
- mission: str
- raw: Dict[str, Any]
- remarks: str
- type: str
- class ios_shell.sections.FileInfo(start_time: datetime, end_time: datetime, time_zero: datetime, time_increment: timedelta, time_units: str, number_of_records: int, data_description: str, file_type: str, format: str, data_type: str, pad: float, number_of_channels: int, channels: List[Channel], channel_details: List[ChannelDetail], remarks: str, raw: Dict[str, Any])
Bases:
objectRepresents the *FILE section.
- channel_details: List[ChannelDetail]
- data_description: str
- data_type: str
- end_time: datetime
- file_type: str
- format: str
- number_of_channels: int
- number_of_records: int
- pad: float
- raw: Dict[str, Any]
- remarks: str
- start_time: datetime
- time_increment: timedelta
- time_units: str
- time_zero: datetime
- class ios_shell.sections.History(programs: List[Program], remarks: str, raw: Dict[str, Any])
Bases:
objectRepresents the *HISTORY section.
- raw: Dict[str, Any]
- remarks: str
- class ios_shell.sections.Instrument(type: str, model: str, serial_number: str, depth: float, remarks: str, raw: Dict[str, Any])
Bases:
objectRepresents the *INSTRUMENT section.
- depth: float
- model: str
- raw: Dict[str, Any]
- remarks: str
- serial_number: str
- type: str
- class ios_shell.sections.Location(geographic_area: str, station: str, event_number: int, latitude: float, longitude: float, water_depth: float, remarks: str, raw: Dict[str, Any])
Bases:
objectRepresents the *LOCATION section.
- event_number: int
- geographic_area: str
- latitude: float
- longitude: float
- raw: Dict[str, Any]
- remarks: str
- station: str
- water_depth: float
- class ios_shell.sections.Program(name: str, version: str, date: date, time: time, records_in: int, records_out: int)
Bases:
objectA single entry in the PROGRAMS table.
- date: date
- name: str
- records_in: int
- records_out: int
- time: time
- version: str
- class ios_shell.sections.Raw(remarks: str, raw: Dict[str, Any])
Bases:
objectRepresents the *RAW section.
- raw: Dict[str, Any]
- remarks: str