|
ocssw
V2022
|
Public Member Functions | |
| def | __init__ (self, fpath) |
| def | get_attributes (self) |
| def | get_file_attributes (self) |
| def | get_file_times (self) |
| def | get_file_type (self) |
| def | get_sensor (self) |
Public Attributes | |
| file_path | |
| file_type | |
| start_time | |
| end_time | |
| attributes | |
| l0_data | |
Static Public Attributes | |
| title_parts = self.attributes['Title'].split() | |
| string | file_type = 'Level 0' |
| instrument = title_parts[0].strip() | |
Detailed Description
A class containing methods for finding the type of an OBPG file (e.g. MODIS L2b, SeaWiFS L1A, Aquarius L3m, etc.
Definition at line 66 of file get_obpg_file_type.py.
Constructor & Destructor Documentation
◆ __init__()
| def __init__ | ( | self, | |
| fpath | |||
| ) |
Save the path of the file in question and set up default values for several thing still to be found.
Definition at line 72 of file get_obpg_file_type.py.
Member Function Documentation
◆ get_attributes()
| def get_attributes | ( | self | ) |
Definition at line 190 of file get_obpg_file_type.py.
◆ get_file_attributes()
| def get_file_attributes | ( | self | ) |
API method to return the file's attributes.
Definition at line 444 of file get_obpg_file_type.py.
◆ get_file_times()
| def get_file_times | ( | self | ) |
Returns the start and end time for a file.
Definition at line 450 of file get_obpg_file_type.py.
◆ get_file_type()
| def get_file_type | ( | self | ) |
Returns what type (L1A, L2, etc.) a file is and what platform/sensor/instrument made the observations.
Definition at line 650 of file get_obpg_file_type.py.
◆ get_sensor()
| def get_sensor | ( | self | ) |
Returns what type (L1A, L2, etc.) a file is and what platform/sensor/instrument made the observations.
Definition at line 698 of file get_obpg_file_type.py.
Member Data Documentation
◆ attributes
| attributes |
Definition at line 90 of file get_obpg_file_type.py.
◆ end_time
| end_time |
Definition at line 89 of file get_obpg_file_type.py.
◆ file_path
| file_path |
Definition at line 85 of file get_obpg_file_type.py.
◆ file_type [1/2]
Definition at line 86 of file get_obpg_file_type.py.
◆ file_type [2/2]
Definition at line 209 of file get_obpg_file_type.py.
◆ instrument
|
static |
Definition at line 210 of file get_obpg_file_type.py.
◆ l0_data
| l0_data |
Definition at line 91 of file get_obpg_file_type.py.
◆ start_time
| start_time |
Definition at line 88 of file get_obpg_file_type.py.
◆ title_parts
|
static |
Definition at line 207 of file get_obpg_file_type.py.
The documentation for this class was generated from the following file:
- /gfs-oceanweb/web/ocssw/ocssw_src/src/scripts/mlp/get_obpg_file_type.py


