pysiral.cryosat2.iotools ======================== .. py:module:: pysiral.cryosat2.iotools Classes ------- .. autoapisummary:: pysiral.cryosat2.iotools.CryoSat2MonthlyFileListAllModes pysiral.cryosat2.iotools.BaselineDFileDiscovery Module Contents --------------- .. py:class:: CryoSat2MonthlyFileListAllModes Bases: :py:obj:`pysiral.core.legacy_classes.DefaultLoggingClass` Class for the construction of a list of CryoSat-2 SAR/SIN files sorted by acquisition time .. py:attribute:: folder_sar :value: None .. py:attribute:: folder_sin :value: None .. py:attribute:: year :value: None .. py:attribute:: month :value: None .. py:attribute:: day_list :value: None .. py:attribute:: time_range :value: None .. py:attribute:: pattern :value: '.DBL' .. py:attribute:: _list .. py:attribute:: _sorted_list :value: None .. py:method:: search(time_range) .. py:property:: sorted_list .. py:method:: _search_specific_mode_files(mode) .. py:method:: _limit_to_time_range() .. py:method:: _get_toplevel_search_folder(mode) .. py:method:: _get_list_item(filename, dirpath) :staticmethod: .. py:method:: _sort_mixed_mode_file_list() .. py:class:: BaselineDFileDiscovery(cfg) Bases: :py:obj:`pysiral.core.legacy_classes.DefaultLoggingClass` Template for default pysiral class with logging/error handling capabilities .. py:attribute:: error .. py:attribute:: cfg .. py:attribute:: _sorted_list :value: [] .. py:method:: get_file_for_period(period) Return a list of sorted files .. py:method:: _reset_file_list() .. py:method:: _append_files(mode, period) .. py:method:: _get_files_per_day(lookup_dir, year, month, day) Return a list of files for a given lookup directory .. py:method:: _get_lookup_dir(year, month, mode) .. py:method:: _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 .. py:property:: sorted_list