autorino.check package
Submodules
autorino.check.check_cls module
Created on 27/01/2025 09:35:53
@author: psakic
- class autorino.check.check_cls.CheckGnss(out_dir=None, tmp_dir=None, log_dir=None, inp_dir=None, inp_file_regex=None, epoch_range=None, site=None, session=None, options=None, metadata=None)[source]
Bases:
HandleGnss
autorino.check.check_fcts module
Created on 27/01/2025 18:53:22
@author: psakic
- autorino.check.check_fcts.color(val)[source]
This function returns a color according to the value of the input.
- Parameters:
val (float) – The value to be colored.
- Returns:
str
- Return type:
color
- autorino.check.check_fcts.colorize_list(list_inp)[source]
This function colorizes a list of values.
- Parameters:
list_inp (list) – The list of values to be colorized.
- Returns:
list
- Return type:
list of colorized values
- autorino.check.check_fcts.get_tabult_raw(chk_tab, short_label=False)[source]
This function returns a tabulated string of the check table.
- Parameters:
chk_tab (pd.DataFrame) – The check table.
short_label (bool, optional)
- Returns:
tabu_chk_col (str) – The tabulated string of the check table with colored values.
tabu_chk_bnw (str) – The tabulated string of the check table with black and white values.
df_chk_sum (pd.DataFrame) – The values of the check table summarized in a dataframe.
autorino.check.trimble_filelist_html module
Created on 12/09/2024 11:11:20
@author: psakic
- autorino.check.trimble_filelist_html.download_html_page(url_inp, output_file_inp)[source]
Download a webpage and save its content to a file.
- Parameters:
url_inp (str) – The URL of the webpage to download.
output_file_inp (str) – The file path where the content will be saved.
- Returns:
The path to the downloaded file if successful, otherwise None.
- Return type:
str or None
- autorino.check.trimble_filelist_html.extract_trimble_filelist(html_files, pattern='.{4}______[0-9]{12}A\\.T02', output_csv_dir=None)[source]
Extract the list of Trimble files from an HTML file.
- Parameters:
html_files (list or str) – The path to the HTML files. If a single file is provided, it should be a string.
pattern (str, optional) – The regex pattern to match the Trimble files. Default is “.{4}______[0-9]{12}A.T02”.
output_csv_dir (str, optional) – The directory where the CSV files will be saved. If None, CSV files will not be saved. Default is None.
- Returns:
A list of Trimble files extracted from the HTML file.
- Return type:
list