ocssw
V2022
|
Public Member Functions | |
def | __init__ (self, fname, ftype, sensr, stime, etime, meta=None) |
def | __cmp__ (self, other) |
def | __repr__ (self) |
def | __str__ (self) |
Public Attributes | |
name | |
file_type | |
sensor | |
start_time | |
end_time | |
metadata | |
Detailed Description
A class for holding data about OBPG data files.
Definition at line 9 of file obpg_data_file.py.
Constructor & Destructor Documentation
◆ __init__()
def __init__ | ( | self, | |
fname, | |||
ftype, | |||
sensr, | |||
stime, | |||
etime, | |||
meta = None |
|||
) |
Definition at line 13 of file obpg_data_file.py.
Member Function Documentation
◆ __cmp__()
def __cmp__ | ( | self, | |
other | |||
) |
Compares 2 data files by comparing their start times. The file with the earlier start time should be "less" than the other file.
Definition at line 21 of file obpg_data_file.py.
◆ __repr__()
def __repr__ | ( | self | ) |
Definition at line 35 of file obpg_data_file.py.
◆ __str__()
def __str__ | ( | self | ) |
Definition at line 38 of file obpg_data_file.py.
Member Data Documentation
◆ end_time
end_time |
Definition at line 18 of file obpg_data_file.py.
◆ file_type
Definition at line 15 of file obpg_data_file.py.
◆ metadata
metadata |
Definition at line 19 of file obpg_data_file.py.
◆ name
name |
Definition at line 14 of file obpg_data_file.py.
◆ sensor
sensor |
Definition at line 16 of file obpg_data_file.py.
◆ start_time
start_time |
Definition at line 17 of file obpg_data_file.py.
The documentation for this class was generated from the following file:
- /gfs-oceanweb/web/ocssw/ocssw_src/src/scripts/mlp/obpg_data_file.py