pysiral.cryosat2.iotools

Classes

CryoSat2MonthlyFileListAllModes

Class for the construction of a list of CryoSat-2 SAR/SIN files

BaselineDFileDiscovery

Template for default pysiral class with logging/error handling capabilities

Module Contents

class pysiral.cryosat2.iotools.CryoSat2MonthlyFileListAllModes

Bases: pysiral.core.legacy_classes.DefaultLoggingClass

Class for the construction of a list of CryoSat-2 SAR/SIN files sorted by acquisition time

folder_sar = None
folder_sin = None
year = None
month = None
day_list = None
time_range = None
pattern = '.DBL'
_list
_sorted_list = None
search(time_range)
property sorted_list
_search_specific_mode_files(mode)
_limit_to_time_range()
_get_toplevel_search_folder(mode)
static _get_list_item(filename, dirpath)
_sort_mixed_mode_file_list()
class pysiral.cryosat2.iotools.BaselineDFileDiscovery(cfg)

Bases: pysiral.core.legacy_classes.DefaultLoggingClass

Template for default pysiral class with logging/error handling capabilities

error
cfg
_sorted_list = []
get_file_for_period(period)

Return a list of sorted files

_reset_file_list()
_append_files(mode, period)
_get_files_per_day(lookup_dir, year, month, day)

Return a list of files for a given lookup directory

_get_lookup_dir(year, month, mode)
_get_tcs_from_filenames(files)

Extract the part of the filename that indicates the time coverage start (tcs) :param files: a list of files :return: tcs: a list with time coverage start strings of same length as files

property sorted_list