(satip) jack@jack-NUC:~/dev/ocf/Satip$ pre-commit run --all-files
Trim Trailing Whitespace.................................................Passed
Fix End of Files.........................................................Passed
Check Yaml...............................................................Passed
Debug Statements (Python)................................................Passed
Detect Private Key.......................................................Passed
pydocstyle...............................................................Failed
- hook id: pydocstyle
- exit code: 1
satip/utils.py:1 at module level:
D100: Missing docstring in public module
satip/utils.py:199 in public function `convert_scene_to_dataarray`:
D103: Missing docstring in public function
satip/utils.py:256 in public function `save_dataset_to_zarr`:
D417: Missing argument descriptions in the docstring (argument(s) channel_chunk_size, dtype are missing descriptions in 'save_dataset_to_zarr' docstring)
satip/utils.py:342 in public function `create_markdown_table`:
D205: 1 blank line required between summary line and description (found 0)
satip/utils.py:383 in public function `set_up_logging`:
D205: 1 blank line required between summary line and description (found 0)
satip/download.py:1 at module level:
D100: Missing docstring in public module
satip/download.py:65 in public function `download_eumetsat_data`:
D205: 1 blank line required between summary line and description (found 0)
satip/download.py:138 in public function `download_time_range`:
D103: Missing docstring in public function
satip/download.py:185 in public function `sanity_check_files_and_move_to_directory`:
D205: 1 blank line required between summary line and description (found 0)
satip/download.py:237 in public function `process_rss_images`:
D103: Missing docstring in public function
satip/download.py:330 in public function `eumetsat_native_filename_to_datetime`:
D205: 1 blank line required between summary line and description (found 0)
satip/download.py:330 in public function `eumetsat_native_filename_to_datetime`:
D209: Multi-line docstring closing quotes should be on a separate line
satip/download.py:335 in public function `eumetsat_cloud_name_to_datetime`:
D103: Missing docstring in public function
satip/download.py:339 in public function `get_basename`:
D103: Missing docstring in public function
satip/download.py:346 in public function `get_missing_datetimes_from_list_of_files`:
D205: 1 blank line required between summary line and description (found 0)
satip/compression.py:1 at module level:
D100: Missing docstring in public module
satip/compression.py:7 in public class `Compressor`:
D101: Missing docstring in public class
satip/compression.py:8 in public method `__init__`:
D107: Missing docstring in __init__
satip/geospatial.py:1 at module level:
D100: Missing docstring in public module
satip/intermediate.py:1 at module level:
D100: Missing docstring in public module
satip/intermediate.py:28 in public function `split_per_month`:
D417: Missing argument descriptions in the docstring (argument(s) hrv_zarr_path, temp_directory are missing descriptions in 'split_per_month' docstring)
satip/intermediate.py:111 in public function `wrapper`:
D103: Missing docstring in public function
satip/intermediate.py:126 in public function `cloudmask_split_per_month`:
D417: Missing argument descriptions in the docstring (argument(s) temp_directory are missing descriptions in 'cloudmask_split_per_month' docstring)
satip/intermediate.py:191 in public function `cloudmask_wrapper`:
D103: Missing docstring in public function
satip/intermediate.py:206 in public function `create_or_update_zarr_with_cloud_mask_files`:
D417: Missing argument descriptions in the docstring (argument(s) temp_directory are missing descriptions in 'create_or_update_zarr_with_cloud_mask_files' docstring)
satip/intermediate.py:262 in public function `create_or_update_zarr_with_native_files`:
D417: Missing argument descriptions in the docstring (argument(s) hrv_zarr_path, temp_directory are missing descriptions in 'create_or_update_zarr_with_native_files' docstring)
satip/intermediate.py:321 in public function `pool_init`:
D103: Missing docstring in public function
satip/intermediate.py:326 in public function `native_wrapper`:
D103: Missing docstring in public function
satip/eumetsat.py:1 at module level:
D100: Missing docstring in public module
satip/eumetsat.py:55 in public function `request_access_token`:
D417: Missing argument descriptions in the docstring (argument(s) user_key, user_secret are missing descriptions in 'request_access_token' docstring)
satip/eumetsat.py:90 in public function `query_data_products`:
D205: 1 blank line required between summary line and description (found 0)
satip/eumetsat.py:90 in public function `query_data_products`:
D417: Missing argument descriptions in the docstring (argument(s) end_date, num_features, product_id, start_date, start_index are missing descriptions in 'query_data_products' docstring)
satip/eumetsat.py:131 in public function `identify_available_datasets`:
D205: 1 blank line required between summary line and description (found 0)
satip/eumetsat.py:131 in public function `identify_available_datasets`:
D417: Missing argument descriptions in the docstring (argument(s) end_date, log, product_id, start_date are missing descriptions in 'identify_available_datasets' docstring)
satip/eumetsat.py:184 in public function `dataset_id_to_link`:
D103: Missing docstring in public function
satip/eumetsat.py:192 in public function `json_extract`:
D103: Missing docstring in public function
satip/eumetsat.py:202 in public function `check_valid_request`:
D417: Missing argument descriptions in the docstring (argument(s) r are missing descriptions in 'check_valid_request' docstring)
satip/eumetsat.py:223 in public class `DownloadManager`:
D205: 1 blank line required between summary line and description (found 0)
satip/eumetsat.py:237 in public method `__init__`:
D205: 1 blank line required between summary line and description (found 0)
satip/eumetsat.py:237 in public method `__init__`:
D417: Missing argument descriptions in the docstring (argument(s) data_dir, log_fp, logger_name, user_key, user_secret are missing descriptions in '__init__' docstring)
satip/eumetsat.py:279 in public method `request_access_token`:
D205: 1 blank line required between summary line and description (found 0)
satip/eumetsat.py:279 in public method `request_access_token`:
D417: Missing argument descriptions in the docstring (argument(s) user_key, user_secret are missing descriptions in 'request_access_token' docstring)
satip/eumetsat.py:303 in public method `download_single_dataset`:
D417: Missing argument descriptions in the docstring (argument(s) data_link are missing descriptions in 'download_single_dataset' docstring)
satip/eumetsat.py:324 in public method `download_date_range`:
D205: 1 blank line required between summary line and description (found 0)
satip/eumetsat.py:324 in public method `download_date_range`:
D417: Missing argument descriptions in the docstring (argument(s) end_date, product_id, start_date are missing descriptions in 'download_date_range' docstring)
satip/eumetsat.py:339 in public method `download_datasets`:
D205: 1 blank line required between summary line and description (found 0)
satip/eumetsat.py:339 in public method `download_datasets`:
D417: Missing argument descriptions in the docstring (argument(s) datasets, product_id are missing descriptions in 'download_datasets' docstring)
satip/eumetsat.py:380 in public method `download_tailored_date_range`:
D205: 1 blank line required between summary line and description (found 0)
satip/eumetsat.py:380 in public method `download_tailored_date_range`:
D417: Missing argument descriptions in the docstring (argument(s) end_date, file_format, product_id, projection, roi, start_date are missing descriptions in 'download_tailored_date_range' docstring)
satip/eumetsat.py:454 in private method `_download_single_tailored_dataset`:
D417: Missing argument descriptions in the docstring (argument(s) product_id are missing descriptions in '_download_single_tailored_dataset' docstring)
satip/eumetsat.py:543 in public function `get_dir_size`:
D103: Missing docstring in public function
satip/eumetsat.py:563 in public function `eumetsat_filename_to_datetime`:
D205: 1 blank line required between summary line and description (found 0)
satip/eumetsat.py:563 in public function `eumetsat_filename_to_datetime`:
D209: Multi-line docstring closing quotes should be on a separate line
satip/__init__.py:1 at module level:
D104: Missing docstring in public package
satip/download.py:1 at module level:
D100: Missing docstring in public module
satip/download.py:65 in public function `download_eumetsat_data`:
D205: 1 blank line required between summary line and description (found 0)
satip/download.py:138 in public function `download_time_range`:
D103: Missing docstring in public function
satip/download.py:185 in public function `sanity_check_files_and_move_to_directory`:
D205: 1 blank line required between summary line and description (found 0)
satip/download.py:237 in public function `process_rss_images`:
D103: Missing docstring in public function
satip/download.py:330 in public function `eumetsat_native_filename_to_datetime`:
D205: 1 blank line required between summary line and description (found 0)
satip/download.py:330 in public function `eumetsat_native_filename_to_datetime`:
D209: Multi-line docstring closing quotes should be on a separate line
satip/download.py:335 in public function `eumetsat_cloud_name_to_datetime`:
D103: Missing docstring in public function
satip/download.py:339 in public function `get_basename`:
D103: Missing docstring in public function
satip/download.py:346 in public function `get_missing_datetimes_from_list_of_files`:
D205: 1 blank line required between summary line and description (found 0)
scripts/move_files.py:1 at module level:
D100: Missing docstring in public module
satip/utils.py:1 at module level:
D100: Missing docstring in public module
satip/utils.py:199 in public function `convert_scene_to_dataarray`:
D103: Missing docstring in public function
satip/utils.py:256 in public function `save_dataset_to_zarr`:
D417: Missing argument descriptions in the docstring (argument(s) channel_chunk_size, dtype are missing descriptions in 'save_dataset_to_zarr' docstring)
satip/utils.py:342 in public function `create_markdown_table`:
D205: 1 blank line required between summary line and description (found 0)
satip/utils.py:383 in public function `set_up_logging`:
D205: 1 blank line required between summary line and description (found 0)
satip/__init__.py:1 at module level:
D104: Missing docstring in public package
satip/utils.py:1 at module level:
D100: Missing docstring in public module
satip/utils.py:199 in public function `convert_scene_to_dataarray`:
D103: Missing docstring in public function
satip/utils.py:256 in public function `save_dataset_to_zarr`:
D417: Missing argument descriptions in the docstring (argument(s) channel_chunk_size, dtype are missing descriptions in 'save_dataset_to_zarr' docstring)
satip/utils.py:342 in public function `create_markdown_table`:
D205: 1 blank line required between summary line and description (found 0)
satip/utils.py:383 in public function `set_up_logging`:
D205: 1 blank line required between summary line and description (found 0)
satip/download.py:1 at module level:
D100: Missing docstring in public module
satip/download.py:65 in public function `download_eumetsat_data`:
D205: 1 blank line required between summary line and description (found 0)
satip/download.py:138 in public function `download_time_range`:
D103: Missing docstring in public function
satip/download.py:185 in public function `sanity_check_files_and_move_to_directory`:
D205: 1 blank line required between summary line and description (found 0)
satip/download.py:237 in public function `process_rss_images`:
D103: Missing docstring in public function
satip/download.py:330 in public function `eumetsat_native_filename_to_datetime`:
D205: 1 blank line required between summary line and description (found 0)
satip/download.py:330 in public function `eumetsat_native_filename_to_datetime`:
D209: Multi-line docstring closing quotes should be on a separate line
satip/download.py:335 in public function `eumetsat_cloud_name_to_datetime`:
D103: Missing docstring in public function
satip/download.py:339 in public function `get_basename`:
D103: Missing docstring in public function
satip/download.py:346 in public function `get_missing_datetimes_from_list_of_files`:
D205: 1 blank line required between summary line and description (found 0)
satip/compression.py:1 at module level:
D100: Missing docstring in public module
satip/compression.py:7 in public class `Compressor`:
D101: Missing docstring in public class
satip/compression.py:8 in public method `__init__`:
D107: Missing docstring in __init__
satip/geospatial.py:1 at module level:
D100: Missing docstring in public module
satip/intermediate.py:1 at module level:
D100: Missing docstring in public module
satip/intermediate.py:28 in public function `split_per_month`:
D417: Missing argument descriptions in the docstring (argument(s) hrv_zarr_path, temp_directory are missing descriptions in 'split_per_month' docstring)
satip/intermediate.py:111 in public function `wrapper`:
D103: Missing docstring in public function
satip/intermediate.py:126 in public function `cloudmask_split_per_month`:
D417: Missing argument descriptions in the docstring (argument(s) temp_directory are missing descriptions in 'cloudmask_split_per_month' docstring)
satip/intermediate.py:191 in public function `cloudmask_wrapper`:
D103: Missing docstring in public function
satip/intermediate.py:206 in public function `create_or_update_zarr_with_cloud_mask_files`:
D417: Missing argument descriptions in the docstring (argument(s) temp_directory are missing descriptions in 'create_or_update_zarr_with_cloud_mask_files' docstring)
satip/intermediate.py:262 in public function `create_or_update_zarr_with_native_files`:
D417: Missing argument descriptions in the docstring (argument(s) hrv_zarr_path, temp_directory are missing descriptions in 'create_or_update_zarr_with_native_files' docstring)
satip/intermediate.py:321 in public function `pool_init`:
D103: Missing docstring in public function
satip/intermediate.py:326 in public function `native_wrapper`:
D103: Missing docstring in public function
satip/eumetsat.py:1 at module level:
D100: Missing docstring in public module
satip/eumetsat.py:55 in public function `request_access_token`:
D417: Missing argument descriptions in the docstring (argument(s) user_key, user_secret are missing descriptions in 'request_access_token' docstring)
satip/eumetsat.py:90 in public function `query_data_products`:
D205: 1 blank line required between summary line and description (found 0)
satip/eumetsat.py:90 in public function `query_data_products`:
D417: Missing argument descriptions in the docstring (argument(s) end_date, num_features, product_id, start_date, start_index are missing descriptions in 'query_data_products' docstring)
satip/eumetsat.py:131 in public function `identify_available_datasets`:
D205: 1 blank line required between summary line and description (found 0)
satip/eumetsat.py:131 in public function `identify_available_datasets`:
D417: Missing argument descriptions in the docstring (argument(s) end_date, log, product_id, start_date are missing descriptions in 'identify_available_datasets' docstring)
satip/eumetsat.py:184 in public function `dataset_id_to_link`:
D103: Missing docstring in public function
satip/eumetsat.py:192 in public function `json_extract`:
D103: Missing docstring in public function
satip/eumetsat.py:202 in public function `check_valid_request`:
D417: Missing argument descriptions in the docstring (argument(s) r are missing descriptions in 'check_valid_request' docstring)
satip/eumetsat.py:223 in public class `DownloadManager`:
D205: 1 blank line required between summary line and description (found 0)
satip/eumetsat.py:237 in public method `__init__`:
D205: 1 blank line required between summary line and description (found 0)
satip/eumetsat.py:237 in public method `__init__`:
D417: Missing argument descriptions in the docstring (argument(s) data_dir, log_fp, logger_name, user_key, user_secret are missing descriptions in '__init__' docstring)
satip/eumetsat.py:279 in public method `request_access_token`:
D205: 1 blank line required between summary line and description (found 0)
satip/eumetsat.py:279 in public method `request_access_token`:
D417: Missing argument descriptions in the docstring (argument(s) user_key, user_secret are missing descriptions in 'request_access_token' docstring)
satip/eumetsat.py:303 in public method `download_single_dataset`:
D417: Missing argument descriptions in the docstring (argument(s) data_link are missing descriptions in 'download_single_dataset' docstring)
satip/eumetsat.py:324 in public method `download_date_range`:
D205: 1 blank line required between summary line and description (found 0)
satip/eumetsat.py:324 in public method `download_date_range`:
D417: Missing argument descriptions in the docstring (argument(s) end_date, product_id, start_date are missing descriptions in 'download_date_range' docstring)
satip/eumetsat.py:339 in public method `download_datasets`:
D205: 1 blank line required between summary line and description (found 0)
satip/eumetsat.py:339 in public method `download_datasets`:
D417: Missing argument descriptions in the docstring (argument(s) datasets, product_id are missing descriptions in 'download_datasets' docstring)
satip/eumetsat.py:380 in public method `download_tailored_date_range`:
D205: 1 blank line required between summary line and description (found 0)
satip/eumetsat.py:380 in public method `download_tailored_date_range`:
D417: Missing argument descriptions in the docstring (argument(s) end_date, file_format, product_id, projection, roi, start_date are missing descriptions in 'download_tailored_date_range' docstring)
satip/eumetsat.py:454 in private method `_download_single_tailored_dataset`:
D417: Missing argument descriptions in the docstring (argument(s) product_id are missing descriptions in '_download_single_tailored_dataset' docstring)
satip/eumetsat.py:543 in public function `get_dir_size`:
D103: Missing docstring in public function
satip/eumetsat.py:563 in public function `eumetsat_filename_to_datetime`:
D205: 1 blank line required between summary line and description (found 0)
satip/eumetsat.py:563 in public function `eumetsat_filename_to_datetime`:
D209: Multi-line docstring closing quotes should be on a separate line
satip/__init__.py:1 at module level:
D104: Missing docstring in public package
scripts/convert_cloudmask_to_zarr.py:1 at module level:
D100: Missing docstring in public module
scripts/convert_cloudmask_to_zarr.py:30 in public function `create_eumetsat_zarr`:
D103: Missing docstring in public function
satip/compression.py:1 at module level:
D100: Missing docstring in public module
satip/compression.py:7 in public class `Compressor`:
D101: Missing docstring in public class
satip/compression.py:8 in public method `__init__`:
D107: Missing docstring in __init__
satip/geospatial.py:1 at module level:
D100: Missing docstring in public module
scripts/get_raw_eumetsat_data.py:1 at module level:
D100: Missing docstring in public module
scripts/get_raw_eumetsat_data.py:23 in public function `validate_date`:
D103: Missing docstring in public function
scripts/get_raw_eumetsat_data.py:96 in public function `download_sat_files`:
D103: Missing docstring in public function
satip/utils.py:1 at module level:
D100: Missing docstring in public module
satip/utils.py:199 in public function `convert_scene_to_dataarray`:
D103: Missing docstring in public function
satip/utils.py:256 in public function `save_dataset_to_zarr`:
D417: Missing argument descriptions in the docstring (argument(s) channel_chunk_size, dtype are missing descriptions in 'save_dataset_to_zarr' docstring)
satip/utils.py:342 in public function `create_markdown_table`:
D205: 1 blank line required between summary line and description (found 0)
satip/utils.py:383 in public function `set_up_logging`:
D205: 1 blank line required between summary line and description (found 0)
satip/download.py:1 at module level:
D100: Missing docstring in public module
satip/download.py:65 in public function `download_eumetsat_data`:
D205: 1 blank line required between summary line and description (found 0)
satip/download.py:138 in public function `download_time_range`:
D103: Missing docstring in public function
satip/download.py:185 in public function `sanity_check_files_and_move_to_directory`:
D205: 1 blank line required between summary line and description (found 0)
satip/download.py:237 in public function `process_rss_images`:
D103: Missing docstring in public function
satip/download.py:330 in public function `eumetsat_native_filename_to_datetime`:
D205: 1 blank line required between summary line and description (found 0)
satip/download.py:330 in public function `eumetsat_native_filename_to_datetime`:
D209: Multi-line docstring closing quotes should be on a separate line
satip/download.py:335 in public function `eumetsat_cloud_name_to_datetime`:
D103: Missing docstring in public function
satip/download.py:339 in public function `get_basename`:
D103: Missing docstring in public function
satip/download.py:346 in public function `get_missing_datetimes_from_list_of_files`:
D205: 1 blank line required between summary line and description (found 0)
satip/compression.py:1 at module level:
D100: Missing docstring in public module
satip/compression.py:7 in public class `Compressor`:
D101: Missing docstring in public class
satip/compression.py:8 in public method `__init__`:
D107: Missing docstring in __init__
satip/geospatial.py:1 at module level:
D100: Missing docstring in public module
satip/intermediate.py:1 at module level:
D100: Missing docstring in public module
satip/intermediate.py:28 in public function `split_per_month`:
D417: Missing argument descriptions in the docstring (argument(s) hrv_zarr_path, temp_directory are missing descriptions in 'split_per_month' docstring)
satip/intermediate.py:111 in public function `wrapper`:
D103: Missing docstring in public function
satip/intermediate.py:126 in public function `cloudmask_split_per_month`:
D417: Missing argument descriptions in the docstring (argument(s) temp_directory are missing descriptions in 'cloudmask_split_per_month' docstring)
satip/intermediate.py:191 in public function `cloudmask_wrapper`:
D103: Missing docstring in public function
satip/intermediate.py:206 in public function `create_or_update_zarr_with_cloud_mask_files`:
D417: Missing argument descriptions in the docstring (argument(s) temp_directory are missing descriptions in 'create_or_update_zarr_with_cloud_mask_files' docstring)
satip/intermediate.py:262 in public function `create_or_update_zarr_with_native_files`:
D417: Missing argument descriptions in the docstring (argument(s) hrv_zarr_path, temp_directory are missing descriptions in 'create_or_update_zarr_with_native_files' docstring)
satip/intermediate.py:321 in public function `pool_init`:
D103: Missing docstring in public function
satip/intermediate.py:326 in public function `native_wrapper`:
D103: Missing docstring in public function
satip/eumetsat.py:1 at module level:
D100: Missing docstring in public module
satip/eumetsat.py:55 in public function `request_access_token`:
D417: Missing argument descriptions in the docstring (argument(s) user_key, user_secret are missing descriptions in 'request_access_token' docstring)
satip/eumetsat.py:90 in public function `query_data_products`:
D205: 1 blank line required between summary line and description (found 0)
satip/eumetsat.py:90 in public function `query_data_products`:
D417: Missing argument descriptions in the docstring (argument(s) end_date, num_features, product_id, start_date, start_index are missing descriptions in 'query_data_products' docstring)
satip/eumetsat.py:131 in public function `identify_available_datasets`:
D205: 1 blank line required between summary line and description (found 0)
satip/eumetsat.py:131 in public function `identify_available_datasets`:
D417: Missing argument descriptions in the docstring (argument(s) end_date, log, product_id, start_date are missing descriptions in 'identify_available_datasets' docstring)
satip/eumetsat.py:184 in public function `dataset_id_to_link`:
D103: Missing docstring in public function
satip/eumetsat.py:192 in public function `json_extract`:
D103: Missing docstring in public function
satip/eumetsat.py:202 in public function `check_valid_request`:
D417: Missing argument descriptions in the docstring (argument(s) r are missing descriptions in 'check_valid_request' docstring)
satip/eumetsat.py:223 in public class `DownloadManager`:
D205: 1 blank line required between summary line and description (found 0)
satip/eumetsat.py:237 in public method `__init__`:
D205: 1 blank line required between summary line and description (found 0)
satip/eumetsat.py:237 in public method `__init__`:
D417: Missing argument descriptions in the docstring (argument(s) data_dir, log_fp, logger_name, user_key, user_secret are missing descriptions in '__init__' docstring)
satip/eumetsat.py:279 in public method `request_access_token`:
D205: 1 blank line required between summary line and description (found 0)
satip/eumetsat.py:279 in public method `request_access_token`:
D417: Missing argument descriptions in the docstring (argument(s) user_key, user_secret are missing descriptions in 'request_access_token' docstring)
satip/eumetsat.py:303 in public method `download_single_dataset`:
D417: Missing argument descriptions in the docstring (argument(s) data_link are missing descriptions in 'download_single_dataset' docstring)
satip/eumetsat.py:324 in public method `download_date_range`:
D205: 1 blank line required between summary line and description (found 0)
satip/eumetsat.py:324 in public method `download_date_range`:
D417: Missing argument descriptions in the docstring (argument(s) end_date, product_id, start_date are missing descriptions in 'download_date_range' docstring)
satip/eumetsat.py:339 in public method `download_datasets`:
D205: 1 blank line required between summary line and description (found 0)
satip/eumetsat.py:339 in public method `download_datasets`:
D417: Missing argument descriptions in the docstring (argument(s) datasets, product_id are missing descriptions in 'download_datasets' docstring)
satip/eumetsat.py:380 in public method `download_tailored_date_range`:
D205: 1 blank line required between summary line and description (found 0)
satip/eumetsat.py:380 in public method `download_tailored_date_range`:
D417: Missing argument descriptions in the docstring (argument(s) end_date, file_format, product_id, projection, roi, start_date are missing descriptions in 'download_tailored_date_range' docstring)
satip/eumetsat.py:454 in private method `_download_single_tailored_dataset`:
D417: Missing argument descriptions in the docstring (argument(s) product_id are missing descriptions in '_download_single_tailored_dataset' docstring)
satip/eumetsat.py:543 in public function `get_dir_size`:
D103: Missing docstring in public function
satip/eumetsat.py:563 in public function `eumetsat_filename_to_datetime`:
D205: 1 blank line required between summary line and description (found 0)
satip/eumetsat.py:563 in public function `eumetsat_filename_to_datetime`:
D209: Multi-line docstring closing quotes should be on a separate line
satip/__init__.py:1 at module level:
D104: Missing docstring in public package
setup.py:1 at module level:
D100: Missing docstring in public module
scripts/generate_test_plots.py:1 at module level:
D205: 1 blank line required between summary line and description (found 0)
scripts/generate_test_plots.py:32 in public function `plot_tailored`:
D103: Missing docstring in public function
scripts/generate_test_plots.py:73 in public function `plot_dataset`:
D103: Missing docstring in public function
satip/intermediate.py:1 at module level:
D100: Missing docstring in public module
satip/intermediate.py:28 in public function `split_per_month`:
D417: Missing argument descriptions in the docstring (argument(s) hrv_zarr_path, temp_directory are missing descriptions in 'split_per_month' docstring)
satip/intermediate.py:111 in public function `wrapper`:
D103: Missing docstring in public function
satip/intermediate.py:126 in public function `cloudmask_split_per_month`:
D417: Missing argument descriptions in the docstring (argument(s) temp_directory are missing descriptions in 'cloudmask_split_per_month' docstring)
satip/intermediate.py:191 in public function `cloudmask_wrapper`:
D103: Missing docstring in public function
satip/intermediate.py:206 in public function `create_or_update_zarr_with_cloud_mask_files`:
D417: Missing argument descriptions in the docstring (argument(s) temp_directory are missing descriptions in 'create_or_update_zarr_with_cloud_mask_files' docstring)
satip/intermediate.py:262 in public function `create_or_update_zarr_with_native_files`:
D417: Missing argument descriptions in the docstring (argument(s) hrv_zarr_path, temp_directory are missing descriptions in 'create_or_update_zarr_with_native_files' docstring)
satip/intermediate.py:321 in public function `pool_init`:
D103: Missing docstring in public function
satip/intermediate.py:326 in public function `native_wrapper`:
D103: Missing docstring in public function
satip/eumetsat.py:1 at module level:
D100: Missing docstring in public module
satip/eumetsat.py:55 in public function `request_access_token`:
D417: Missing argument descriptions in the docstring (argument(s) user_key, user_secret are missing descriptions in 'request_access_token' docstring)
satip/eumetsat.py:90 in public function `query_data_products`:
D205: 1 blank line required between summary line and description (found 0)
satip/eumetsat.py:90 in public function `query_data_products`:
D417: Missing argument descriptions in the docstring (argument(s) end_date, num_features, product_id, start_date, start_index are missing descriptions in 'query_data_products' docstring)
satip/eumetsat.py:131 in public function `identify_available_datasets`:
D205: 1 blank line required between summary line and description (found 0)
satip/eumetsat.py:131 in public function `identify_available_datasets`:
D417: Missing argument descriptions in the docstring (argument(s) end_date, log, product_id, start_date are missing descriptions in 'identify_available_datasets' docstring)
satip/eumetsat.py:184 in public function `dataset_id_to_link`:
D103: Missing docstring in public function
satip/eumetsat.py:192 in public function `json_extract`:
D103: Missing docstring in public function
satip/eumetsat.py:202 in public function `check_valid_request`:
D417: Missing argument descriptions in the docstring (argument(s) r are missing descriptions in 'check_valid_request' docstring)
satip/eumetsat.py:223 in public class `DownloadManager`:
D205: 1 blank line required between summary line and description (found 0)
satip/eumetsat.py:237 in public method `__init__`:
D205: 1 blank line required between summary line and description (found 0)
satip/eumetsat.py:237 in public method `__init__`:
D417: Missing argument descriptions in the docstring (argument(s) data_dir, log_fp, logger_name, user_key, user_secret are missing descriptions in '__init__' docstring)
satip/eumetsat.py:279 in public method `request_access_token`:
D205: 1 blank line required between summary line and description (found 0)
satip/eumetsat.py:279 in public method `request_access_token`:
D417: Missing argument descriptions in the docstring (argument(s) user_key, user_secret are missing descriptions in 'request_access_token' docstring)
satip/eumetsat.py:303 in public method `download_single_dataset`:
D417: Missing argument descriptions in the docstring (argument(s) data_link are missing descriptions in 'download_single_dataset' docstring)
satip/eumetsat.py:324 in public method `download_date_range`:
D205: 1 blank line required between summary line and description (found 0)
satip/eumetsat.py:324 in public method `download_date_range`:
D417: Missing argument descriptions in the docstring (argument(s) end_date, product_id, start_date are missing descriptions in 'download_date_range' docstring)
satip/eumetsat.py:339 in public method `download_datasets`:
D205: 1 blank line required between summary line and description (found 0)
satip/eumetsat.py:339 in public method `download_datasets`:
D417: Missing argument descriptions in the docstring (argument(s) datasets, product_id are missing descriptions in 'download_datasets' docstring)
satip/eumetsat.py:380 in public method `download_tailored_date_range`:
D205: 1 blank line required between summary line and description (found 0)
satip/eumetsat.py:380 in public method `download_tailored_date_range`:
D417: Missing argument descriptions in the docstring (argument(s) end_date, file_format, product_id, projection, roi, start_date are missing descriptions in 'download_tailored_date_range' docstring)
satip/eumetsat.py:454 in private method `_download_single_tailored_dataset`:
D417: Missing argument descriptions in the docstring (argument(s) product_id are missing descriptions in '_download_single_tailored_dataset' docstring)
satip/eumetsat.py:543 in public function `get_dir_size`:
D103: Missing docstring in public function
satip/eumetsat.py:563 in public function `eumetsat_filename_to_datetime`:
D205: 1 blank line required between summary line and description (found 0)
satip/eumetsat.py:563 in public function `eumetsat_filename_to_datetime`:
D209: Multi-line docstring closing quotes should be on a separate line
satip/utils.py:1 at module level:
D100: Missing docstring in public module
satip/utils.py:199 in public function `convert_scene_to_dataarray`:
D103: Missing docstring in public function
satip/utils.py:256 in public function `save_dataset_to_zarr`:
D417: Missing argument descriptions in the docstring (argument(s) channel_chunk_size, dtype are missing descriptions in 'save_dataset_to_zarr' docstring)
satip/utils.py:342 in public function `create_markdown_table`:
D205: 1 blank line required between summary line and description (found 0)
satip/utils.py:383 in public function `set_up_logging`:
D205: 1 blank line required between summary line and description (found 0)
satip/download.py:1 at module level:
D100: Missing docstring in public module
satip/download.py:65 in public function `download_eumetsat_data`:
D205: 1 blank line required between summary line and description (found 0)
satip/download.py:138 in public function `download_time_range`:
D103: Missing docstring in public function
satip/download.py:185 in public function `sanity_check_files_and_move_to_directory`:
D205: 1 blank line required between summary line and description (found 0)
satip/download.py:237 in public function `process_rss_images`:
D103: Missing docstring in public function
satip/download.py:330 in public function `eumetsat_native_filename_to_datetime`:
D205: 1 blank line required between summary line and description (found 0)
satip/download.py:330 in public function `eumetsat_native_filename_to_datetime`:
D209: Multi-line docstring closing quotes should be on a separate line
satip/download.py:335 in public function `eumetsat_cloud_name_to_datetime`:
D103: Missing docstring in public function
satip/download.py:339 in public function `get_basename`:
D103: Missing docstring in public function
satip/download.py:346 in public function `get_missing_datetimes_from_list_of_files`:
D205: 1 blank line required between summary line and description (found 0)
satip/compression.py:1 at module level:
D100: Missing docstring in public module
satip/compression.py:7 in public class `Compressor`:
D101: Missing docstring in public class
satip/compression.py:8 in public method `__init__`:
D107: Missing docstring in __init__
satip/geospatial.py:1 at module level:
D100: Missing docstring in public module
satip/intermediate.py:1 at module level:
D100: Missing docstring in public module
satip/intermediate.py:28 in public function `split_per_month`:
D417: Missing argument descriptions in the docstring (argument(s) hrv_zarr_path, temp_directory are missing descriptions in 'split_per_month' docstring)
satip/intermediate.py:111 in public function `wrapper`:
D103: Missing docstring in public function
satip/intermediate.py:126 in public function `cloudmask_split_per_month`:
D417: Missing argument descriptions in the docstring (argument(s) temp_directory are missing descriptions in 'cloudmask_split_per_month' docstring)
satip/intermediate.py:191 in public function `cloudmask_wrapper`:
D103: Missing docstring in public function
satip/intermediate.py:206 in public function `create_or_update_zarr_with_cloud_mask_files`:
D417: Missing argument descriptions in the docstring (argument(s) temp_directory are missing descriptions in 'create_or_update_zarr_with_cloud_mask_files' docstring)
satip/intermediate.py:262 in public function `create_or_update_zarr_with_native_files`:
D417: Missing argument descriptions in the docstring (argument(s) hrv_zarr_path, temp_directory are missing descriptions in 'create_or_update_zarr_with_native_files' docstring)
satip/intermediate.py:321 in public function `pool_init`:
D103: Missing docstring in public function
satip/intermediate.py:326 in public function `native_wrapper`:
D103: Missing docstring in public function
satip/eumetsat.py:1 at module level:
D100: Missing docstring in public module
satip/eumetsat.py:55 in public function `request_access_token`:
D417: Missing argument descriptions in the docstring (argument(s) user_key, user_secret are missing descriptions in 'request_access_token' docstring)
satip/eumetsat.py:90 in public function `query_data_products`:
D205: 1 blank line required between summary line and description (found 0)
satip/eumetsat.py:90 in public function `query_data_products`:
D417: Missing argument descriptions in the docstring (argument(s) end_date, num_features, product_id, start_date, start_index are missing descriptions in 'query_data_products' docstring)
satip/eumetsat.py:131 in public function `identify_available_datasets`:
D205: 1 blank line required between summary line and description (found 0)
satip/eumetsat.py:131 in public function `identify_available_datasets`:
D417: Missing argument descriptions in the docstring (argument(s) end_date, log, product_id, start_date are missing descriptions in 'identify_available_datasets' docstring)
satip/eumetsat.py:184 in public function `dataset_id_to_link`:
D103: Missing docstring in public function
satip/eumetsat.py:192 in public function `json_extract`:
D103: Missing docstring in public function
satip/eumetsat.py:202 in public function `check_valid_request`:
D417: Missing argument descriptions in the docstring (argument(s) r are missing descriptions in 'check_valid_request' docstring)
satip/eumetsat.py:223 in public class `DownloadManager`:
D205: 1 blank line required between summary line and description (found 0)
satip/eumetsat.py:237 in public method `__init__`:
D205: 1 blank line required between summary line and description (found 0)
satip/eumetsat.py:237 in public method `__init__`:
D417: Missing argument descriptions in the docstring (argument(s) data_dir, log_fp, logger_name, user_key, user_secret are missing descriptions in '__init__' docstring)
satip/eumetsat.py:279 in public method `request_access_token`:
D205: 1 blank line required between summary line and description (found 0)
satip/eumetsat.py:279 in public method `request_access_token`:
D417: Missing argument descriptions in the docstring (argument(s) user_key, user_secret are missing descriptions in 'request_access_token' docstring)
satip/eumetsat.py:303 in public method `download_single_dataset`:
D417: Missing argument descriptions in the docstring (argument(s) data_link are missing descriptions in 'download_single_dataset' docstring)
satip/eumetsat.py:324 in public method `download_date_range`:
D205: 1 blank line required between summary line and description (found 0)
satip/eumetsat.py:324 in public method `download_date_range`:
D417: Missing argument descriptions in the docstring (argument(s) end_date, product_id, start_date are missing descriptions in 'download_date_range' docstring)
satip/eumetsat.py:339 in public method `download_datasets`:
D205: 1 blank line required between summary line and description (found 0)
satip/eumetsat.py:339 in public method `download_datasets`:
D417: Missing argument descriptions in the docstring (argument(s) datasets, product_id are missing descriptions in 'download_datasets' docstring)
satip/eumetsat.py:380 in public method `download_tailored_date_range`:
D205: 1 blank line required between summary line and description (found 0)
satip/eumetsat.py:380 in public method `download_tailored_date_range`:
D417: Missing argument descriptions in the docstring (argument(s) end_date, file_format, product_id, projection, roi, start_date are missing descriptions in 'download_tailored_date_range' docstring)
satip/eumetsat.py:454 in private method `_download_single_tailored_dataset`:
D417: Missing argument descriptions in the docstring (argument(s) product_id are missing descriptions in '_download_single_tailored_dataset' docstring)
satip/eumetsat.py:543 in public function `get_dir_size`:
D103: Missing docstring in public function
satip/eumetsat.py:563 in public function `eumetsat_filename_to_datetime`:
D205: 1 blank line required between summary line and description (found 0)
satip/eumetsat.py:563 in public function `eumetsat_filename_to_datetime`:
D209: Multi-line docstring closing quotes should be on a separate line
satip/__init__.py:1 at module level:
D104: Missing docstring in public package
tests/test_eumetsat.py:1 at module level:
D100: Missing docstring in public module
tests/test_eumetsat.py:4 in public function `test_filename_to_datetime`:
D103: Missing docstring in public function
tests/test_eumetsat.py:8 in public function `test_data_tailor`:
D103: Missing docstring in public function
scripts/cloudmask.py:1 at module level:
D100: Missing docstring in public module
scripts/convert_native_to_zarr.py:1 at module level:
D100: Missing docstring in public module
scripts/convert_native_to_zarr.py:36 in public function `create_eumetsat_zarr`:
D103: Missing docstring in public function
flake8...................................................................Failed
- hook id: flake8
- exit code: 1
satip/utils.py:7:1: F401 'typing.Union' imported but unused
satip/utils.py:13:1: F401 'zarr' imported but unused
satip/utils.py:26:101: E501 line too long (221 > 100 characters)
satip/utils.py:153:101: E501 line too long (104 > 100 characters)
satip/utils.py:186:101: E501 line too long (104 > 100 characters)
satip/utils.py:419:101: E501 line too long (115 > 100 characters)
satip/utils.py:420:101: E501 line too long (118 > 100 characters)
satip/download.py:50:1: E731 do not assign a lambda expression, use a def
satip/download.py:73:101: E501 line too long (114 > 100 characters)
satip/download.py:225:101: E501 line too long (125 > 100 characters)
satip/download.py:245:101: E501 line too long (108 > 100 characters)
satip/download.py:249:9: E722 do not use bare 'except'
satip/download.py:267:9: E722 do not use bare 'except'
satip/download.py:271:101: E501 line too long (121 > 100 characters)
satip/download.py:276:9: E722 do not use bare 'except'
satip/download.py:319:101: E501 line too long (104 > 100 characters)
satip/download.py:361:101: E501 line too long (103 > 100 characters)
satip/download.py:374:101: E501 line too long (113 > 100 characters)
satip/geospatial.py:1:1: F401 'datetime' imported but unused
satip/eumetsat.py:10:1: F401 'typing.List' imported but unused
satip/eumetsat.py:14:1: F401 'requests.auth.HTTPBasicAuth' imported but unused
satip/eumetsat.py:80:1: E731 do not assign a lambda expression, use a def
satip/eumetsat.py:186:101: E501 line too long (136 > 100 characters)
satip/eumetsat.py:213:13: E712 comparison to False should be 'if cond is False:' or 'if not cond:'
satip/eumetsat.py:258:26: F541 f-string is missing placeholders
satip/eumetsat.py:363:13: E722 do not use bare 'except'
satip/eumetsat.py:435:13: E722 do not use bare 'except'
satip/eumetsat.py:566:51: W605 invalid escape sequence '\d'
satip/eumetsat.py:566:55: W605 invalid escape sequence '\.'
satip/eumetsat.py:573:101: E501 line too long (112 > 100 characters)
satip/download.py:50:1: E731 do not assign a lambda expression, use a def
satip/download.py:73:101: E501 line too long (114 > 100 characters)
satip/download.py:225:101: E501 line too long (125 > 100 characters)
satip/download.py:245:101: E501 line too long (108 > 100 characters)
satip/download.py:249:9: E722 do not use bare 'except'
satip/download.py:267:9: E722 do not use bare 'except'
satip/download.py:271:101: E501 line too long (121 > 100 characters)
satip/download.py:276:9: E722 do not use bare 'except'
satip/download.py:319:101: E501 line too long (104 > 100 characters)
satip/download.py:361:101: E501 line too long (103 > 100 characters)
satip/download.py:374:101: E501 line too long (113 > 100 characters)
scripts/move_files.py:2:1: F401 'shutil' imported but unused
scripts/move_files.py:6:101: E501 line too long (137 > 100 characters)
scripts/move_files.py:10:14: F821 undefined name 'xr'
scripts/move_files.py:10:27: F821 undefined name 'xr'
scripts/move_files.py:12:31: F821 undefined name 'osgb_x'
scripts/move_files.py:14:39: F821 undefined name 'osgb_x'
scripts/move_files.py:14:49: F821 undefined name 'osgb_y'
scripts/move_files.py:18:9: F821 undefined name 'Scene'
scripts/move_files.py:18:48: F821 undefined name 'filename'
scripts/move_files.py:25:28: F821 undefined name 'GEOGRAPHIC_BOUNDS'
scripts/move_files.py:28:18: F821 undefined name 'lat_lon_to_osgb'
scripts/move_files.py:33:101: E501 line too long (141 > 100 characters)
scripts/move_files.py:37:14: F821 undefined name 'xr'
scripts/move_files.py:37:27: F821 undefined name 'xr'
satip/utils.py:7:1: F401 'typing.Union' imported but unused
satip/utils.py:13:1: F401 'zarr' imported but unused
satip/utils.py:26:101: E501 line too long (221 > 100 characters)
satip/utils.py:153:101: E501 line too long (104 > 100 characters)
satip/utils.py:186:101: E501 line too long (104 > 100 characters)
satip/utils.py:419:101: E501 line too long (115 > 100 characters)
satip/utils.py:420:101: E501 line too long (118 > 100 characters)
satip/geospatial.py:1:1: F401 'datetime' imported but unused
scripts/get_raw_eumetsat_data.py:20:1: E731 do not assign a lambda expression, use a def
scripts/get_raw_eumetsat_data.py:35:101: E501 line too long (105 > 100 characters)
scripts/get_raw_eumetsat_data.py:55:101: E501 line too long (106 > 100 characters)
scripts/get_raw_eumetsat_data.py:62:101: E501 line too long (104 > 100 characters)
scripts/get_raw_eumetsat_data.py:68:101: E501 line too long (110 > 100 characters)
setup.py:14:101: E501 line too long (103 > 100 characters)
satip/eumetsat.py:10:1: F401 'typing.List' imported but unused
satip/eumetsat.py:14:1: F401 'requests.auth.HTTPBasicAuth' imported but unused
satip/eumetsat.py:80:1: E731 do not assign a lambda expression, use a def
satip/eumetsat.py:186:101: E501 line too long (136 > 100 characters)
satip/eumetsat.py:213:13: E712 comparison to False should be 'if cond is False:' or 'if not cond:'
satip/eumetsat.py:258:26: F541 f-string is missing placeholders
satip/eumetsat.py:363:13: E722 do not use bare 'except'
satip/eumetsat.py:435:13: E722 do not use bare 'except'
satip/eumetsat.py:566:51: W605 invalid escape sequence '\d'
satip/eumetsat.py:566:55: W605 invalid escape sequence '\.'
satip/eumetsat.py:573:101: E501 line too long (112 > 100 characters)
tests/test_eumetsat.py:1:1: F401 'satip.eumetsat' imported but unused
scripts/cloudmask.py:1:1: F401 'satpy' imported but unused
scripts/convert_native_to_zarr.py:3:1: F401 'satip.intermediate.create_or_update_zarr_with_native_files' imported but unused
isort....................................................................Passed
black....................................................................Passed
prettier.................................................................Passed