ocssw
V2022
|
Classes | |
class | ObpgFileTyper |
Functions | |
def | convert_millisecs_to_time_str (millisecs) |
def | get_timestamp_from_month_day (sdate, stime) |
def | get_timestamp_from_year_day_mil (year, doy, millisecs) |
Variables | |
list | KNOWN_SENSORS |
MONTH_ABBRS = dict((v.upper(), k) for k, v in enumerate(calendar.month_abbr)) | |
Detailed Description
A class for determining the OBPG type of a file.
Function Documentation
◆ convert_millisecs_to_time_str()
def mlp.get_obpg_file_type.convert_millisecs_to_time_str | ( | millisecs | ) |
Converts a number of milliseconds to a string representing the time of day.
Definition at line 32 of file get_obpg_file_type.py.
◆ get_timestamp_from_month_day()
def mlp.get_obpg_file_type.get_timestamp_from_month_day | ( | sdate, | |
stime | |||
) |
Creates timestamp for VIIRS L1.
Definition at line 44 of file get_obpg_file_type.py.
◆ get_timestamp_from_year_day_mil()
def mlp.get_obpg_file_type.get_timestamp_from_year_day_mil | ( | year, | |
doy, | |||
millisecs | |||
) |
Return a timestamp in the YYYYDDDHHMMSS form from a given year (yr), day of year (doy) and milliseconds (after 00:00 - millisecs).
Definition at line 57 of file get_obpg_file_type.py.
Variable Documentation
◆ KNOWN_SENSORS
list KNOWN_SENSORS |
Initial value:
Definition at line 23 of file get_obpg_file_type.py.