satpy.tests package
Subpackages
- satpy.tests.cf_tests package
- Submodules
- satpy.tests.cf_tests._test_data module
- satpy.tests.cf_tests.test_area module
- satpy.tests.cf_tests.test_attrs module
- satpy.tests.cf_tests.test_coords module
- satpy.tests.cf_tests.test_dataaarray module
- satpy.tests.cf_tests.test_datasets module
- satpy.tests.cf_tests.test_decoding module
- satpy.tests.cf_tests.test_encoding module
- Module contents
- Submodules
- satpy.tests.compositor_tests package
- Submodules
- satpy.tests.compositor_tests.test_abi module
- satpy.tests.compositor_tests.test_agri module
- satpy.tests.compositor_tests.test_ahi module
- satpy.tests.compositor_tests.test_glm module
- satpy.tests.compositor_tests.test_sar module
- satpy.tests.compositor_tests.test_spectral module
- satpy.tests.compositor_tests.test_viirs module
- Module contents
- Submodules
- satpy.tests.enhancement_tests package
- satpy.tests.modifier_tests package
- Submodules
- satpy.tests.modifier_tests.test_angles module
TestAngleGeneration
_angle_cache_area_def()
_angle_cache_stacked_area_def()
_assert_allclose_if()
_diff_sat_pos_datetime()
_get_angle_test_data()
_get_angle_test_data_odd_chunks()
_get_angle_test_data_odd_chunks2()
_get_angle_test_data_rgb()
_get_angle_test_data_rgb_nodims()
_get_stacked_angle_test_data()
_glob_reversed()
_mock_glob_if()
_similar_sat_pos_datetime()
- satpy.tests.modifier_tests.test_crefl module
- satpy.tests.modifier_tests.test_filters module
- satpy.tests.modifier_tests.test_parallax module
- satpy.tests.modifier_tests.test_angles module
- Module contents
- Submodules
- satpy.tests.multiscene_tests package
- satpy.tests.reader_tests package
- Subpackages
- Submodules
- satpy.tests.reader_tests._li_test_utils module
FakeLIFileHandlerBase
accumulation_dimensions()
add_attributes()
extract_filetype_info()
fci_grid_definition()
get_product_schema()
l2_af_schema()
l2_afa_schema()
l2_afr_schema()
l2_le_schema()
l2_lef_schema()
l2_lfl_schema()
l2_lgr_schema()
mtg_geos_projection()
populate_dummy_data()
set_variable_path()
- satpy.tests.reader_tests.conftest module
- satpy.tests.reader_tests.test_aapp_l1b module
- satpy.tests.reader_tests.test_aapp_mhs_amsub_l1c module
- satpy.tests.reader_tests.test_abi_l1b module
Test_NC_ABI_L1B
_apply_dask_chunk_size()
_check_area()
_check_dims_and_coords()
_create_fake_rad_dataarray()
_create_fake_rad_dataset()
_create_reader_for_data()
_fake_c07_data()
_get_and_check_array()
c01_counts()
c01_rad()
c01_rad_h5netcdf()
c01_refl()
c07_bt_creator()
generate_l1b_filename()
test_file_patterns_match()
test_ir_calibrate()
test_open_dataset()
test_raw_calibrate()
test_vis_calibrate()
- satpy.tests.reader_tests.test_abi_l2_nc module
- satpy.tests.reader_tests.test_acspo module
- satpy.tests.reader_tests.test_agri_l1 module
- satpy.tests.reader_tests.test_ahi_hrit module
- satpy.tests.reader_tests.test_ahi_hsd module
- satpy.tests.reader_tests.test_ahi_l1b_gridded_bin module
- satpy.tests.reader_tests.test_ahi_l2_nc module
- satpy.tests.reader_tests.test_ami_l1b module
- satpy.tests.reader_tests.test_amsr2_l1b module
- satpy.tests.reader_tests.test_amsr2_l2 module
- satpy.tests.reader_tests.test_amsr2_l2_gaasp module
- satpy.tests.reader_tests.test_ascat_l2_soilmoisture_bufr module
- satpy.tests.reader_tests.test_atms_l1b_nc module
- satpy.tests.reader_tests.test_atms_sdr_hdf5 module
- satpy.tests.reader_tests.test_avhrr_l0_hrpt module
- satpy.tests.reader_tests.test_avhrr_l1b_gaclac module
- satpy.tests.reader_tests.test_cmsaf_claas module
- satpy.tests.reader_tests.test_electrol_hrit module
- satpy.tests.reader_tests.test_epic_l1b_h5 module
- satpy.tests.reader_tests.test_eps_l1b module
- satpy.tests.reader_tests.test_eum_base module
- satpy.tests.reader_tests.test_eum_l2_bufr module
- satpy.tests.reader_tests.test_fci_l1c_nc module
FakeFCIFileHandlerAF
FakeFCIFileHandlerAF_fixture()
FakeFCIFileHandlerBase
FakeFCIFileHandlerFDHSI
FakeFCIFileHandlerFDHSIError_fixture()
FakeFCIFileHandlerFDHSIIQTI
FakeFCIFileHandlerFDHSIIQTI_fixture()
FakeFCIFileHandlerFDHSIQ4_fixture()
FakeFCIFileHandlerFDHSI_fixture()
FakeFCIFileHandlerHRFI
FakeFCIFileHandlerHRFIIQTI
FakeFCIFileHandlerHRFIIQTI_fixture()
FakeFCIFileHandlerHRFIQ4_fixture()
FakeFCIFileHandlerHRFI_fixture()
FakeFCIFileHandlerWithBadData
FakeH5Variable
ModuleTestFCIL1cNcReader
TestFCIL1cNCReader
TestFCIL1cNCReaderBadData
_get_global_attributes()
_get_reader_with_filehandlers()
_get_test_calib_data_for_channel()
_get_test_calib_for_channel_ir()
_get_test_calib_for_channel_vis()
_get_test_content_areadef()
_get_test_content_aux_data()
_get_test_content_for_channel()
_get_test_geolocation_for_channel()
_get_test_image_data_for_channel()
_get_test_index_map_for_channel()
_get_test_pixel_quality_for_channel()
_get_test_segment_position_for_channel()
clear_cache()
fill_chans_af()
generate_parameters()
get_list_channel_calibration()
mocked_basefilehandler()
reader_configs()
resolutions_AF_products()
- satpy.tests.reader_tests.test_fci_l2_nc module
- satpy.tests.reader_tests.test_fy4_base module
- satpy.tests.reader_tests.test_generic_image module
FakeGenericImageFileHandler
_assert_image_common()
_save_image()
alpha_channel()
random_image_channel()
random_image_channel_b()
random_image_channel_g()
random_image_channel_l()
random_image_channel_r()
random_image_channel_with_nans()
reader_l_nan_fill_value()
rgba_dset()
test_GenericImageFileHandler()
test_GenericImageFileHandler_datasetid()
test_GenericImageFileHandler_masking_for_integer()
test_GenericImageFileHandler_no_masking_for_float()
test_GenericImageFileHandler_nodata_fill_value()
test_GenericImageFileHandler_nodata_nan_mask()
test_GenericImageFileHandler_nodata_nan_mask_default()
test_geotiff_scene_nan()
test_geotiff_scene_nan_fill_value()
test_geotiff_scene_rgb()
test_geotiff_scene_rgba()
test_image_l()
test_image_l_nan()
test_image_l_nan_fill_value()
test_image_la()
test_image_rgb()
test_image_rgba()
test_png_scene_l_mode()
test_png_scene_la_mode()
- satpy.tests.reader_tests.test_geocat module
- satpy.tests.reader_tests.test_geos_area module
- satpy.tests.reader_tests.test_gerb_l2_hr_h5 module
- satpy.tests.reader_tests.test_ghi_l1 module
- satpy.tests.reader_tests.test_ghrsst_l2 module
- satpy.tests.reader_tests.test_gld360_ualf2 module
fake_file()
fake_filehandler()
fake_scn()
test_altitude()
test_altitude_uncertainty()
test_angle_indicator()
test_area_()
test_chi_squared_value_location_optimization()
test_cloud_indicator()
test_cloud_pulse_count()
test_column_names_length()
test_degree_freedom_for_location()
test_error_ellipse_angle()
test_error_ellipse_max_axis_length()
test_error_ellipse_min_axis_length()
test_latitude()
test_longitude()
test_multiplicity_flash()
test_nanoseconds_index()
test_network_type()
test_number_of_sensors()
test_pad_nanoseconds()
test_peak_current()
test_scene_attributes()
test_scene_load()
test_signal_indicator()
test_time()
test_timing_indicator()
test_ualf2_record_type()
test_vhf_range()
test_wave_form_max_rate_of_rise()
test_wave_form_peak_to_zero_time()
test_wave_form_rise_time()
- satpy.tests.reader_tests.test_glm_l2 module
- satpy.tests.reader_tests.test_goci2_l2_nc module
- satpy.tests.reader_tests.test_goes_imager_hrit module
- satpy.tests.reader_tests.test_goes_imager_nc_eum module
- satpy.tests.reader_tests.test_goes_imager_nc_noaa module
- satpy.tests.reader_tests.test_gpm_imerg module
- satpy.tests.reader_tests.test_grib module
- satpy.tests.reader_tests.test_hdf4_utils module
- satpy.tests.reader_tests.test_hdf5_utils module
- satpy.tests.reader_tests.test_hdfeos_base module
- satpy.tests.reader_tests.test_hrit_base module
- satpy.tests.reader_tests.test_hsaf_grib module
- satpy.tests.reader_tests.test_hsaf_h5 module
- satpy.tests.reader_tests.test_hy2_scat_l2b_h5 module
- satpy.tests.reader_tests.test_iasi_l2 module
- satpy.tests.reader_tests.test_iasi_l2_so2_bufr module
- satpy.tests.reader_tests.test_ici_l1b_nc module
- satpy.tests.reader_tests.test_insat3d_img_l1b_h5 module
_create_channels()
_create_lonlats()
insat_filehandler()
insat_filename()
mask_array()
test_filehandler_has_start_and_end_time()
test_filehandler_returns_area()
test_filehandler_returns_coords()
test_filehandler_returns_data_array()
test_filehandler_returns_masked_data_in_space()
test_insat3d_backend_has_1km_channels()
test_insat3d_datatree_has_global_attributes()
test_insat3d_has_calibrated_arrays()
test_insat3d_has_dask_arrays()
test_insat3d_has_global_attributes()
test_insat3d_has_orbital_parameters()
test_insat3d_only_has_3_resolutions()
test_insat3d_opens_datatree()
test_insat3d_returns_lonlat()
test_satpy_load_array()
test_satpy_load_two_arrays()
- satpy.tests.reader_tests.test_li_l2_nc module
- satpy.tests.reader_tests.test_meris_nc module
- satpy.tests.reader_tests.test_mersi_l1b module
FakeHDF5FileHandler2
MERSI12llL1BTester
MERSIL1BTester
TestFY3AMERSI1L1B
TestFY3BMERSI1L1B
TestFY3CMERSI1L1B
TestFY3DMERSI2L1B
TestFY3EMERSIllL1B
TestMERSIRML1B
_assert_bands_mda_as_exp()
_get_1km_data()
_get_250m_data()
_get_250m_ll_data()
_get_500m_data()
_get_calibration()
_get_geo_data()
_test_find_files_and_readers()
_test_multi_resolutions()
make_test_data()
- satpy.tests.reader_tests.test_mimic_TPW2_lowres module
- satpy.tests.reader_tests.test_mimic_TPW2_nc module
- satpy.tests.reader_tests.test_mirs module
_check_area()
_check_attrs()
_check_fill_value()
_check_metadata()
_check_valid_range()
_create_fake_reader()
_get_datasets_with_attributes()
_get_datasets_with_less_attributes()
_load_and_check_limb_correction_variables()
fake_coeff_from_fn()
fake_open_dataset()
test_available_datasets()
test_basic_load()
- satpy.tests.reader_tests.test_msi_safe module
- satpy.tests.reader_tests.test_msu_gsa_l1b module
- satpy.tests.reader_tests.test_mviri_l1b_fiduceo_nc module
- satpy.tests.reader_tests.test_mws_l1b_nc module
- satpy.tests.reader_tests.test_netcdf_utils module
- satpy.tests.reader_tests.test_nucaps module
- satpy.tests.reader_tests.test_nwcsaf_msg module
- satpy.tests.reader_tests.test_nwcsaf_nc module
TestNcNWCSAFFileKeyPrefix
TestNcNWCSAFGeo
TestNcNWCSAFPPS
_check_filehandler_area_def()
create_cmic_file()
create_cot_pal_variable()
create_cot_variable()
create_cre_variables()
create_ctth_alti_pal_variable_with_fill_value_color()
create_ctth_file()
create_ctth_variables()
create_nwcsaf_geo_ct_file()
nwcsaf_geo_ct_filehandler()
nwcsaf_geo_ct_filename()
nwcsaf_old_geo_ct_filehandler()
nwcsaf_old_geo_ct_filename()
nwcsaf_pps_cmic_filehandler()
nwcsaf_pps_cmic_filename()
nwcsaf_pps_cpp_filehandler()
nwcsaf_pps_cpp_filename()
nwcsaf_pps_ctth_filehandler()
nwcsaf_pps_ctth_filename()
- satpy.tests.reader_tests.test_oceancolorcci_l3_nc module
- satpy.tests.reader_tests.test_oci_l2_bgc module
- satpy.tests.reader_tests.test_olci_nc module
- satpy.tests.reader_tests.test_omps_edr module
- satpy.tests.reader_tests.test_osisaf_l3 module
- satpy.tests.reader_tests.test_safe_sar_l2_ocn module
- satpy.tests.reader_tests.test_sar_c_safe module
Calibration
TestSAFEGRD
TestSAFEXMLCalibration
TestSAFEXMLNoise
annotation_file()
annotation_filehandler()
calibration_file()
calibration_filehandler()
granule_directory()
measurement_file()
measurement_filehandler()
noise_file()
noise_filehandler()
noise_with_holes_filehandler()
test_filename_filtering_from_reader()
test_incidence_angle()
test_reading_from_reader()
test_swath_def_contains_gcps()
- satpy.tests.reader_tests.test_satpy_cf_nc module
- satpy.tests.reader_tests.test_scmi module
- satpy.tests.reader_tests.test_seadas_l2 module
- satpy.tests.reader_tests.test_seviri_base module
- satpy.tests.reader_tests.test_seviri_l1b_calibration module
- satpy.tests.reader_tests.test_seviri_l1b_hrit module
- satpy.tests.reader_tests.test_seviri_l1b_hrit_setup module
- satpy.tests.reader_tests.test_seviri_l1b_icare module
- satpy.tests.reader_tests.test_seviri_l1b_native module
TestNativeMSGCalibration
TestNativeMSGDataset
TestNativeMSGFileHandler
TestNativeMSGFilenames
TestNativeMSGPadder
amend_seviri_native_null_header()
append_data_and_trailer_content_to_seviri_native_header()
compress_seviri_native_file()
create_physical_seviri_native_file()
create_test_header()
create_test_trailer()
generate_seviri_native_null_header()
prepare_area_definitions()
prepare_is_roi()
scene_from_physical_seviri_nat_file()
session_tmp_path()
test_area_definitions()
test_has_archive_header()
test_header_type()
test_header_warning()
test_is_roi()
test_read_header()
test_read_physical_seviri_nat_file()
test_stacked_area_definitions()
tmp_seviri_nat_filename()
- satpy.tests.reader_tests.test_seviri_l1b_nc module
- satpy.tests.reader_tests.test_seviri_l2_grib module
- satpy.tests.reader_tests.test_sgli_l1b module
add_downsampled_geometry_data()
sgli_ir_file()
sgli_pol_file()
sgli_vn_file()
test_channel_is_chunked()
test_channel_is_masked()
test_end_time()
test_get_dataset_counts()
test_get_dataset_for_unknown_channel()
test_get_polarized_dataset_reflectance()
test_get_polarized_longitudes()
test_get_sw_dataset_reflectances()
test_get_ti_dataset_bt()
test_get_ti_dataset_radiance()
test_get_ti_lon_lats()
test_get_vn_dataset_radiance()
test_get_vn_dataset_reflectances()
test_loading_lon_lat()
test_loading_sensor_angles()
test_loading_solar_angles()
test_missing_values_are_masked()
test_start_time()
- satpy.tests.reader_tests.test_slstr_l1b module
- satpy.tests.reader_tests.test_smos_l2_wind module
- satpy.tests.reader_tests.test_tropomi_l2 module
- satpy.tests.reader_tests.test_utils module
- satpy.tests.reader_tests.test_vaisala_gld360 module
- satpy.tests.reader_tests.test_vii_base_nc module
- satpy.tests.reader_tests.test_vii_l1b_nc module
- satpy.tests.reader_tests.test_vii_l2_nc module
- satpy.tests.reader_tests.test_vii_utils module
- satpy.tests.reader_tests.test_vii_wv_nc module
- satpy.tests.reader_tests.test_viirs_atms_utils module
- satpy.tests.reader_tests.test_viirs_compact module
- satpy.tests.reader_tests.test_viirs_edr module
TestVIIRSJRRReader
_array_checks()
_check_continuous_data_arr()
_check_surf_refl_data_arr()
_check_surf_refl_qf_data_arr()
_check_vi_data_arr()
_create_continuous_variables()
_create_fake_dataset()
_create_fake_file()
_create_lst_variables()
_create_surf_refl_variables()
_create_surface_reflectance_file()
_create_veg_index_variables()
_is_mband_res()
_shared_metadata_checks()
aod_file()
cloud_height_file()
lst_file()
multiple_surface_reflectance_files()
multiple_surface_reflectance_files_with_veg_indices()
surface_reflectance_file()
surface_reflectance_file2()
surface_reflectance_with_veg_indices_file()
surface_reflectance_with_veg_indices_file2()
test_available_datasets()
- satpy.tests.reader_tests.test_viirs_edr_active_fires module
- satpy.tests.reader_tests.test_viirs_edr_flood module
- satpy.tests.reader_tests.test_viirs_l1b module
- satpy.tests.reader_tests.test_viirs_l2 module
- satpy.tests.reader_tests.test_viirs_sdr module
- satpy.tests.reader_tests.test_viirs_vgac_l1c_nc module
- satpy.tests.reader_tests.test_virr_l1b module
- satpy.tests.reader_tests.utils module
- satpy.tests.reader_tests._li_test_utils module
- Module contents
- satpy.tests.scene_tests package
- satpy.tests.writer_tests package
- Submodules
- satpy.tests.writer_tests.test_awips_tiled module
- satpy.tests.writer_tests.test_cf module
- satpy.tests.writer_tests.test_geotiff module
- satpy.tests.writer_tests.test_mitiff module
- satpy.tests.writer_tests.test_ninjogeotiff module
_get_fake_da()
_patch_datetime_now()
ntg1()
ntg2()
ntg3()
ntg_cmyk()
ntg_latlon()
ntg_no_fill_value()
ntg_northpole()
ntg_rgba()
ntg_weird()
test_area_epsg4326()
test_area_merc()
test_area_northpole()
test_area_small_eqc_wgs84()
test_area_tiny_antarctic()
test_area_tiny_eqc_sphere()
test_area_tiny_stereographic_wgs84()
test_area_weird()
test_calc_single_tag_by_name()
test_create_unknown_tags()
test_get_all_tags()
test_get_central_meridian()
test_get_color_depth()
test_get_creation_date_id()
test_get_date_id()
test_get_earth_radius_large()
test_get_earth_radius_small()
test_get_filename()
test_get_max_gray_value_L()
test_get_max_gray_value_P()
test_get_max_gray_value_RGB()
test_get_meridian_east()
test_get_meridian_west()
test_get_min_gray_value_L()
test_get_min_gray_value_P()
test_get_min_gray_value_RGB()
test_get_projection()
test_get_ref_lat_1()
test_get_ref_lat_2()
test_get_transparent_pixel()
test_get_xmax()
test_get_ymax()
test_image_cmyk_antarctic()
test_image_large_asia_RGB()
test_image_latlon()
test_image_northpole()
test_image_rgba_merc()
test_image_small_arctic_P()
test_image_small_mid_atlantic_K_L()
test_image_small_mid_atlantic_L()
test_image_small_mid_atlantic_L_no_quantity()
test_image_weird()
test_str_ids()
test_write_and_read_file()
test_write_and_read_file_LA()
test_write_and_read_file_P()
test_write_and_read_file_RGB()
test_write_and_read_file_units()
test_write_and_read_no_quantity()
test_write_and_read_via_scene()
- satpy.tests.writer_tests.test_ninjotiff module
- satpy.tests.writer_tests.test_simple_image module
- satpy.tests.writer_tests.test_utils module
- Module contents
- Submodules
Submodules
- satpy.tests.conftest module
- satpy.tests.test_cf_roundtrip module
- satpy.tests.test_composites module
TestAddBands
TestBackgroundCompositor
TestCategoricalDataCompositor
TestCloudCompositorCommonMask
TestCloudCompositorWithoutCloudfree
TestCloudCompositorWithoutCloudfree.setup_method()
TestCloudCompositorWithoutCloudfree.test_bad_indata()
TestCloudCompositorWithoutCloudfree.test_call_bad_optical_conditions()
TestCloudCompositorWithoutCloudfree.test_call_dask_with_invalid_value_in_status()
TestCloudCompositorWithoutCloudfree.test_call_numpy_with_invalid_value_in_status()
TestColorizeCompositor
TestColormapCompositor
TestDayNightCompositor
TestDayNightCompositor._classSetupFailed
TestDayNightCompositor._class_cleanups
TestDayNightCompositor.setUp()
TestDayNightCompositor.test_day_only_area_with_alpha()
TestDayNightCompositor.test_day_only_area_with_alpha_and_missing_data()
TestDayNightCompositor.test_day_only_area_without_alpha()
TestDayNightCompositor.test_day_only_sza_with_alpha()
TestDayNightCompositor.test_day_only_sza_without_alpha()
TestDayNightCompositor.test_daynight_area()
TestDayNightCompositor.test_daynight_sza()
TestDayNightCompositor.test_night_only_area_with_alpha()
TestDayNightCompositor.test_night_only_area_without_alpha()
TestDayNightCompositor.test_night_only_sza_with_alpha()
TestDayNightCompositor.test_night_only_sza_without_alpha()
TestDifferenceCompositor
TestEnhance2Dataset
TestFillingCompositor
TestGenericCompositor
TestGenericCompositor._classSetupFailed
TestGenericCompositor._class_cleanups
TestGenericCompositor.setUp()
TestGenericCompositor.test_call()
TestGenericCompositor.test_call_with_mock()
TestGenericCompositor.test_concat_datasets()
TestGenericCompositor.test_deprecation_warning()
TestGenericCompositor.test_get_sensors()
TestGenericCompositor.test_masking()
TestHighCloudCompositor
TestInferMode
TestInlineComposites
TestLongitudeMaskingCompositor
TestLowCloudCompositor
TestLuminanceSharpeningCompositor
TestMaskingCompositor
TestMaskingCompositor.conditions_v1()
TestMaskingCompositor.conditions_v2()
TestMaskingCompositor.reference_alpha()
TestMaskingCompositor.reference_data()
TestMaskingCompositor.test_call_named_fields()
TestMaskingCompositor.test_call_named_fields_string()
TestMaskingCompositor.test_call_numerical_transparency_data()
TestMaskingCompositor.test_ct_data()
TestMaskingCompositor.test_ct_data_v3()
TestMaskingCompositor.test_data()
TestMaskingCompositor.test_get_flag_value()
TestMaskingCompositor.test_incorrect_method()
TestMaskingCompositor.test_incorrect_mode()
TestMaskingCompositor.test_init()
TestMaskingCompositor.test_method_absolute_import()
TestMaskingCompositor.test_method_isnan()
TestMaskingCompositor.test_rgb_dataset()
TestMaskingCompositor.test_rgba_dataset()
TestMatchDataArrays
TestMatchDataArrays._get_test_ds()
TestMatchDataArrays.test_almost_equal_geo_coordinates()
TestMatchDataArrays.test_mult_ds_area()
TestMatchDataArrays.test_mult_ds_diff_area()
TestMatchDataArrays.test_mult_ds_diff_dims()
TestMatchDataArrays.test_mult_ds_diff_size()
TestMatchDataArrays.test_mult_ds_no_area()
TestMatchDataArrays.test_nondimensional_coords()
TestMatchDataArrays.test_single_ds()
TestMultiFiller
TestNaturalEnhCompositor
TestPaletteCompositor
TestPrecipCloudsCompositor
TestRatioSharpenedCompositors
TestRatioSharpenedCompositors.setup_method()
TestRatioSharpenedCompositors.test_bad_colors()
TestRatioSharpenedCompositors.test_basic_no_high_res()
TestRatioSharpenedCompositors.test_basic_no_sharpen()
TestRatioSharpenedCompositors.test_match_data_arrays()
TestRatioSharpenedCompositors.test_more_than_three_datasets()
TestRatioSharpenedCompositors.test_ratio_sharpening()
TestRatioSharpenedCompositors.test_self_sharpened_basic()
TestRatioSharpenedCompositors.test_self_sharpened_no_high_res()
TestRealisticColors
TestSandwichCompositor
TestSingleBandCompositor
TestStaticImageCompositor
_create_fake_composite_config()
_enhance2dataset()
fake_area()
fake_dataset_pair()
test_bad_sensor_yaml_configs()
test_ratio_compositor()
test_sum_compositor()
- satpy.tests.test_config module
TestBuiltinAreas
TestConfigObject
TestPluginsConfigs
TestPluginsConfigs._check_available_component()
TestPluginsConfigs._get_and_check_reader_writer_configs()
TestPluginsConfigs.setup_method()
TestPluginsConfigs.test_get_plugin_configs()
TestPluginsConfigs.test_load_entry_point_composite()
TestPluginsConfigs.test_plugin_enhancements_generic_sensor()
TestPluginsConfigs.test_plugin_reader_available_readers()
TestPluginsConfigs.test_plugin_reader_configs()
TestPluginsConfigs.test_plugin_writer_available_writers()
TestPluginsConfigs.test_plugin_writer_configs()
_create_fake_importlib_files()
_create_fake_iter_entry_points()
_create_yamlbased_plugin()
_get_entry_points_and_etc_paths()
_is_writable()
_os_specific_multipaths()
_write_fake_composite_yaml()
_write_fake_enh_yamls()
_write_fake_reader_yaml()
_write_fake_writer_yaml()
fake_composite_plugin_etc_path()
fake_enh_plugin_etc_path()
fake_plugin_etc_path()
fake_reader_plugin_etc_path()
fake_writer_plugin_etc_path()
test_is_writable()
- satpy.tests.test_crefl_utils module
- satpy.tests.test_data_download module
TestDataDownload
TestDataDownload._setup_custom_configs()
TestDataDownload.test_download_script()
TestDataDownload.test_find_registerable()
TestDataDownload.test_limited_find_registerable()
TestDataDownload.test_no_downloads_in_tests()
TestDataDownload.test_offline_retrieve()
TestDataDownload.test_offline_retrieve_all()
TestDataDownload.test_retrieve()
TestDataDownload.test_retrieve_all()
UnfriendlyModifier
_assert_comp_files_downloaded()
_assert_mod_files_downloaded()
_assert_reader_files_downloaded()
_assert_writer_files_downloaded()
_setup_custom_composite_config()
_setup_custom_reader_config()
_setup_custom_writer_config()
- satpy.tests.test_dataset module
TestCombineMetadata
TestCombineMetadata._classSetupFailed
TestCombineMetadata._class_cleanups
TestCombineMetadata.setUp()
TestCombineMetadata.test_average_datetimes()
TestCombineMetadata.test_combine_arrays()
TestCombineMetadata.test_combine_dask_arrays()
TestCombineMetadata.test_combine_empty_metadata()
TestCombineMetadata.test_combine_end_times()
TestCombineMetadata.test_combine_end_times_with_none()
TestCombineMetadata.test_combine_identical_numpy_scalars()
TestCombineMetadata.test_combine_lists_different_size()
TestCombineMetadata.test_combine_lists_identical()
TestCombineMetadata.test_combine_lists_same_size_diff_values()
TestCombineMetadata.test_combine_nans()
TestCombineMetadata.test_combine_numpy_arrays()
TestCombineMetadata.test_combine_one_metadata_object()
TestCombineMetadata.test_combine_other_times()
TestCombineMetadata.test_combine_real_world_mda()
TestCombineMetadata.test_combine_start_times()
TestCombineMetadata.test_combine_start_times_with_none()
TestDataID
TestDataQuery
TestIDQueryInteractions
TestIDQueryInteractions._classSetupFailed
TestIDQueryInteractions._class_cleanups
TestIDQueryInteractions.setUp()
TestIDQueryInteractions.test_hash_equality()
TestIDQueryInteractions.test_id_filtering()
TestIDQueryInteractions.test_inequality()
TestIDQueryInteractions.test_seviri_hrv_has_priority_over_vis008()
TestIDQueryInteractions.test_sort_dataids()
TestIDQueryInteractions.test_sort_dataids_with_different_set_of_keys()
test_combine_dicts_close()
test_combine_dicts_different()
test_dataid()
test_dataid_copy()
test_dataid_elements_picklable()
test_dataid_equal_if_enums_different()
test_dataid_pickle()
test_frequency_double_side_band_channel_containment()
test_frequency_double_side_band_channel_distances()
test_frequency_double_side_band_channel_equality()
test_frequency_double_side_band_channel_str()
test_frequency_double_side_band_class_method_convert()
test_frequency_quadruple_side_band_channel_containment()
test_frequency_quadruple_side_band_channel_distances()
test_frequency_quadruple_side_band_channel_equality()
test_frequency_quadruple_side_band_channel_str()
test_frequency_quadruple_side_band_class_method_convert()
test_frequency_range_channel_containment()
test_frequency_range_channel_distances()
test_frequency_range_channel_equality()
test_frequency_range_class_method_convert()
test_frequency_range_class_method_str()
test_wavelength_range()
test_wavelength_range_cf_roundtrip()
- satpy.tests.test_demo module
TestAHIDemoDownload
TestDemo
TestGCPUtils
TestSEVIRIHRITDemoDownload
TestSEVIRIHRITDemoDownload._classSetupFailed
TestSEVIRIHRITDemoDownload._class_cleanups
TestSEVIRIHRITDemoDownload.setUp()
TestSEVIRIHRITDemoDownload.tearDown()
TestSEVIRIHRITDemoDownload.test_do_not_download_same_file_twice()
TestSEVIRIHRITDemoDownload.test_download_a_subset_of_files()
TestSEVIRIHRITDemoDownload.test_download_from_zenodo()
TestSEVIRIHRITDemoDownload.test_download_gets_files_with_contents()
TestSEVIRIHRITDemoDownload.test_download_to_output_directory()
TestVIIRSSDRDemoDownload
TestVIIRSSDRDemoDownload.ALL_BAND_PREFIXES
TestVIIRSSDRDemoDownload.ALL_GEO_PREFIXES
TestVIIRSSDRDemoDownload._assert_bands_in_filenames()
TestVIIRSSDRDemoDownload._assert_bands_in_filenames_and_contents()
TestVIIRSSDRDemoDownload._assert_file_contents()
TestVIIRSSDRDemoDownload.test_do_not_download_the_files_twice()
TestVIIRSSDRDemoDownload.test_download()
TestVIIRSSDRDemoDownload.test_download_channels_num_granules_dnb()
TestVIIRSSDRDemoDownload.test_download_channels_num_granules_im()
TestVIIRSSDRDemoDownload.test_download_channels_num_granules_im_twice()
_FakeRequest
_GlobHelper
_create_and_populate_dummy_tarfile()
mock_filesystem()
test_fci_download()
test_fs()
- satpy.tests.test_dependency_tree module
TestDependencyTree
TestDependencyTree._classSetupFailed
TestDependencyTree._class_cleanups
TestDependencyTree._nodes_equal()
TestDependencyTree.setUp()
TestDependencyTree.test_copy_preserves_all_nodes()
TestDependencyTree.test_copy_preserves_unique_empty_node()
TestDependencyTree.test_new_dependency_tree_preserves_unique_empty_node()
TestMissingDependencies
TestMultipleResolutionSameChannelDependency
TestMultipleSensors
- satpy.tests.test_file_handlers module
TestBaseFileHandler
TestBaseFileHandler._classSetupFailed
TestBaseFileHandler._class_cleanups
TestBaseFileHandler.setUp()
TestBaseFileHandler.test_combine_area()
TestBaseFileHandler.test_combine_orbital_parameters()
TestBaseFileHandler.test_combine_orbits()
TestBaseFileHandler.test_combine_time_parameters()
TestBaseFileHandler.test_combine_times()
TestBaseFileHandler.test_file_is_kept_intact()
test_file_type_match()
test_open_dataset()
- satpy.tests.test_modifiers module
TestNIREmissivePartFromReflectance
TestNIRReflectance
TestNIRReflectance._classSetupFailed
TestNIRReflectance._class_cleanups
TestNIRReflectance.fake_refl_from_tbs()
TestNIRReflectance.setUp()
TestNIRReflectance.test_masking_limit_default_value_is_not_none()
TestNIRReflectance.test_no_sunz_no_co2()
TestNIRReflectance.test_no_sunz_with_co2()
TestNIRReflectance.test_provide_masking_limit()
TestNIRReflectance.test_provide_sunz_and_threshold()
TestNIRReflectance.test_provide_sunz_no_co2()
TestNIRReflectance.test_sunz_threshold_default_value_is_not_none()
TestPSPAtmosphericalCorrection
TestPSPRayleighReflectance
TestSunZenithCorrector
TestSunZenithReducer
_get_ds1()
_shared_sunz_attrs()
_sunz_area_def()
_sunz_bigger_area_def()
_sunz_stacked_area_def()
sunz_ds1()
sunz_ds1_stacked()
sunz_ds2()
sunz_sza()
- satpy.tests.test_node module
FakeCompositor
TestCompositorNode
TestCompositorNode._classSetupFailed
TestCompositorNode._class_cleanups
TestCompositorNode.setUp()
TestCompositorNode.test_add_optional_nodes()
TestCompositorNode.test_add_optional_nodes_twice()
TestCompositorNode.test_add_required_nodes()
TestCompositorNode.test_add_required_nodes_twice()
TestCompositorNode.test_compositor_node_init()
TestCompositorNodeCopy
- satpy.tests.test_readers module
TestDatasetDict
TestDatasetDict._classSetupFailed
TestDatasetDict._class_cleanups
TestDatasetDict.setUp()
TestDatasetDict.test_contains()
TestDatasetDict.test_get_key()
TestDatasetDict.test_getitem()
TestDatasetDict.test_init_dict()
TestDatasetDict.test_init_noargs()
TestDatasetDict.test_keys()
TestDatasetDict.test_setitem()
TestFSFile
TestFSFile.test_equality()
TestFSFile.test_fs_property_is_read_only()
TestFSFile.test_fs_property_read()
TestFSFile.test_fsfile_with_fs_open_file_abides_pathlike()
TestFSFile.test_fsfile_with_pathlike()
TestFSFile.test_fsfile_with_regular_filename_abides_pathlike()
TestFSFile.test_fsfile_with_regular_filename_and_fs_spec_abides_pathlike()
TestFSFile.test_hash()
TestFSFile.test_open_local_fs_file()
TestFSFile.test_open_regular_file()
TestFSFile.test_open_zip_fs_openfile()
TestFSFile.test_open_zip_fs_regular_filename()
TestFSFile.test_regular_filename_is_returned_with_str()
TestFSFile.test_repr_includes_filename()
TestFSFile.test_sorting_fsfiles()
TestFindFilesAndReaders
TestFindFilesAndReaders.setup_method()
TestFindFilesAndReaders.teardown_method()
TestFindFilesAndReaders.test_bad_sensor()
TestFindFilesAndReaders.test_no_parameters()
TestFindFilesAndReaders.test_no_parameters_both_atms_and_viirs()
TestFindFilesAndReaders.test_old_reader_name_mapping()
TestFindFilesAndReaders.test_pending_old_reader_name_mapping()
TestFindFilesAndReaders.test_reader_load_failed()
TestFindFilesAndReaders.test_reader_name()
TestFindFilesAndReaders.test_reader_name_matched_end_time()
TestFindFilesAndReaders.test_reader_name_matched_start_end_time()
TestFindFilesAndReaders.test_reader_name_matched_start_time()
TestFindFilesAndReaders.test_reader_name_unmatched_start_end_time()
TestFindFilesAndReaders.test_reader_other_name()
TestFindFilesAndReaders.test_sensor()
TestFindFilesAndReaders.test_sensor_no_files()
TestGroupFiles
TestGroupFiles._classSetupFailed
TestGroupFiles._class_cleanups
TestGroupFiles._filenames_abi_glm
TestGroupFiles.setUp()
TestGroupFiles.test_bad_reader()
TestGroupFiles.test_default_behavior()
TestGroupFiles.test_default_behavior_set()
TestGroupFiles.test_large_time_threshold()
TestGroupFiles.test_multi_readers()
TestGroupFiles.test_multi_readers_empty_groups_missing_skip()
TestGroupFiles.test_multi_readers_empty_groups_passed()
TestGroupFiles.test_multi_readers_empty_groups_raises_filenotfounderror()
TestGroupFiles.test_multi_readers_invalid_parameter()
TestGroupFiles.test_no_reader()
TestGroupFiles.test_non_datetime_group_key()
TestGroupFiles.test_two_instruments_files()
TestGroupFiles.test_two_instruments_files_split()
TestGroupFiles.test_unknown_files()
TestGroupFiles.test_viirs_orbits()
TestGroupFiles.test_viirs_override_keys()
TestReaderLoader
TestReaderLoader._classSetupFailed
TestReaderLoader._class_cleanups
TestReaderLoader.setUp()
TestReaderLoader.tearDown()
TestReaderLoader.test_all_filtered()
TestReaderLoader.test_all_filtered_multiple()
TestReaderLoader.test_almost_all_filtered()
TestReaderLoader.test_bad_reader_name_with_filenames()
TestReaderLoader.test_empty_filenames_as_dict()
TestReaderLoader.test_filenames_and_reader()
TestReaderLoader.test_filenames_as_dict()
TestReaderLoader.test_filenames_as_dict_bad_reader()
TestReaderLoader.test_filenames_as_dict_with_reader()
TestReaderLoader.test_filenames_as_path()
TestReaderLoader.test_filenames_only()
TestReaderLoader.test_missing_requirements()
TestReaderLoader.test_no_args()
TestYAMLFiles
_assert_is_open_file_and_close()
_generate_random_string()
_local_file()
_open_h5py()
_open_xarray_default()
_open_xarray_h5netcdf()
_open_xarray_netcdf4()
_posixify_path()
atms_file()
local_file()
local_filename()
local_filename2()
local_hdf5_filename()
local_hdf5_fsspec()
local_hdf5_path()
local_netcdf_filename()
local_netcdf_fsfile()
local_netcdf_fsspec()
local_netcdf_path()
local_zip_file()
make_dataid()
random_string()
test_open_file_or_filename()
test_open_file_or_filename_uses_mode()
viirs_file()
- satpy.tests.test_regressions module
- satpy.tests.test_resample module
TestBilinearResampler
TestBucketAvg
TestBucketCount
TestBucketFraction
TestBucketSum
TestCoordinateHelpers
TestHLResample
TestKDTreeResampler
TestNativeResampler
TestNativeResampler.setup_method()
TestNativeResampler.test_expand_dims()
TestNativeResampler.test_expand_dims_3d()
TestNativeResampler.test_expand_reduce_agg_rechunk()
TestNativeResampler.test_expand_reduce_aggregate()
TestNativeResampler.test_expand_reduce_aggregate_identity()
TestNativeResampler.test_expand_reduce_aggregate_invalid()
TestNativeResampler.test_expand_reduce_numpy()
TestNativeResampler.test_expand_reduce_replicate()
TestNativeResampler.test_expand_without_dims()
TestNativeResampler.test_expand_without_dims_4D()
get_test_data()
- satpy.tests.test_testing module
- satpy.tests.test_utils module
TestCheckSatpy
TestGeoUtils
TestGetSatPos
TestShowVersions
_data_arrays_from_params()
_verify_unchanged_chunks()
_verify_unified()
test_chunk_size_limit()
test_chunk_size_limit_from_dask_config()
test_convert_remote_files_to_fsspec_filename_dict()
test_convert_remote_files_to_fsspec_fsfile()
test_convert_remote_files_to_fsspec_local_files()
test_convert_remote_files_to_fsspec_local_pathlib_files()
test_convert_remote_files_to_fsspec_mixed_sources()
test_convert_remote_files_to_fsspec_storage_options()
test_convert_remote_files_to_fsspec_windows_paths()
test_datetime64_to_pydatetime()
test_debug_on()
test_find_in_ancillary()
test_get_legacy_chunk_size()
test_import_error_helper()
test_logging_on_and_off()
test_make_fake_scene()
test_resolution_chunking()
test_unify_chunks()
- satpy.tests.test_writers module
TestBaseWriter
TestComplexSensorEnhancerConfigs
TestComplexSensorEnhancerConfigs.ENH_FN
TestComplexSensorEnhancerConfigs.ENH_FN2
TestComplexSensorEnhancerConfigs.TEST_CONFIGS
TestComplexSensorEnhancerConfigs.test_enhance_bad_query_value()
TestComplexSensorEnhancerConfigs.test_multisensor_choice()
TestComplexSensorEnhancerConfigs.test_multisensor_exact()
TestComputeWriterResults
TestComputeWriterResults.setup_method()
TestComputeWriterResults.teardown_method()
TestComputeWriterResults.test_empty()
TestComputeWriterResults.test_geotiff()
TestComputeWriterResults.test_mixed()
TestComputeWriterResults.test_multiple_geotiff()
TestComputeWriterResults.test_multiple_simple()
TestComputeWriterResults.test_simple_image()
TestEnhancer
TestEnhancerUserConfigs
TestEnhancerUserConfigs.ENH_ENH_FN
TestEnhancerUserConfigs.ENH_ENH_FN2
TestEnhancerUserConfigs.ENH_FN
TestEnhancerUserConfigs.ENH_FN2
TestEnhancerUserConfigs.ENH_FN3
TestEnhancerUserConfigs.TEST_CONFIGS
TestEnhancerUserConfigs.test_enhance_empty_config()
TestEnhancerUserConfigs.test_enhance_with_sensor_entry()
TestEnhancerUserConfigs.test_enhance_with_sensor_entry2()
TestEnhancerUserConfigs.test_enhance_with_sensor_no_entry()
TestEnhancerUserConfigs.test_no_enhance()
TestEnhancerUserConfigs.test_writer_custom_enhance()
TestEnhancerUserConfigs.test_writer_no_enhance()
TestOverlays
TestReaderEnhancerConfigs
TestReaderEnhancerConfigs.ENH_FN
TestReaderEnhancerConfigs.TEST_CONFIGS
TestReaderEnhancerConfigs._get_enhanced_image()
TestReaderEnhancerConfigs._get_test_data_array()
TestReaderEnhancerConfigs.test_no_matching_reader()
TestReaderEnhancerConfigs.test_no_reader()
TestReaderEnhancerConfigs.test_only_reader_matches()
TestReaderEnhancerConfigs.test_reader_and_name_match()
TestWritersModule
TestYAMLFiles
_BaseCustomEnhancementConfigTests
_CustomImageWriter
test_group_results_by_output_file()
- satpy.tests.test_yaml_reader module
DummyReader
FakeFH
GVSYReader()
TestFileFileYAMLReader
TestFileFileYAMLReader._classSetupFailed
TestFileFileYAMLReader._class_cleanups
TestFileFileYAMLReader.setUp()
TestFileFileYAMLReader.test_all_data_ids()
TestFileFileYAMLReader.test_all_dataset_names()
TestFileFileYAMLReader.test_available_dataset_ids()
TestFileFileYAMLReader.test_available_dataset_names()
TestFileFileYAMLReader.test_deprecated_passing_config_files()
TestFileFileYAMLReader.test_file_covers_area()
TestFileFileYAMLReader.test_filter_fh_by_time()
TestFileFileYAMLReader.test_get_coordinates_for_dataset_key()
TestFileFileYAMLReader.test_get_coordinates_for_dataset_key_without()
TestFileFileYAMLReader.test_get_coordinates_for_dataset_keys()
TestFileFileYAMLReader.test_get_file_handlers()
TestFileFileYAMLReader.test_load_area_def()
TestFileFileYAMLReader.test_load_entire_dataset()
TestFileFileYAMLReader.test_preferred_filetype()
TestFileFileYAMLReader.test_select_from_directory()
TestFileFileYAMLReader.test_select_from_pathnames()
TestFileFileYAMLReader.test_start_end_time()
TestFileFileYAMLReader.test_supports_sensor()
TestFileFileYAMLReaderMultipleFileTypes
TestFileFileYAMLReaderMultiplePatterns
TestFileFileYAMLReaderMultiplePatterns._classSetupFailed
TestFileFileYAMLReaderMultiplePatterns._class_cleanups
TestFileFileYAMLReaderMultiplePatterns.setUp()
TestFileFileYAMLReaderMultiplePatterns.test_create_filehandlers()
TestFileFileYAMLReaderMultiplePatterns.test_fn_items_for_ft()
TestFileFileYAMLReaderMultiplePatterns.test_select_from_pathnames()
TestFileFileYAMLReaderMultiplePatterns.test_serializable()
TestFileYAMLReaderLoading
TestFileYAMLReaderLoading._check_area_for_ch01()
TestFileYAMLReaderLoading._classSetupFailed
TestFileYAMLReaderLoading._class_cleanups
TestFileYAMLReaderLoading.setUp()
TestFileYAMLReaderLoading.test_load_dataset_with_builtin_coords()
TestFileYAMLReaderLoading.test_load_dataset_with_builtin_coords_in_wrong_order()
TestFileYAMLReaderWithCustomIDKey
TestGEOFlippableFileYAMLReader
TestGEOFlippableFileYAMLReader._classSetupFailed
TestGEOFlippableFileYAMLReader._class_cleanups
TestGEOFlippableFileYAMLReader.test_load_dataset_with_area_for_data_without_area()
TestGEOFlippableFileYAMLReader.test_load_dataset_with_area_for_single_areas()
TestGEOFlippableFileYAMLReader.test_load_dataset_with_area_for_stacked_areas()
TestGEOFlippableFileYAMLReader.test_load_dataset_with_area_for_swath_def_data()
TestGEOSegmentYAMLReader
TestGEOSegmentYAMLReader._classSetupFailed
TestGEOSegmentYAMLReader._class_cleanups
TestGEOSegmentYAMLReader.test_find_missing_segments()
TestGEOSegmentYAMLReader.test_get_expected_segments()
TestGEOSegmentYAMLReader.test_load_area_def()
TestGEOSegmentYAMLReader.test_load_dataset()
TestGEOSegmentYAMLReader.test_pad_earlier_segments_area()
TestGEOSegmentYAMLReader.test_pad_later_segments_area()
TestGEOSegmentYAMLReader.test_segments_sorting()
TestGEOVariableSegmentYAMLReader
TestGEOVariableSegmentYAMLReader.test_get_empty_segment()
TestGEOVariableSegmentYAMLReader.test_get_empty_segment_with_height()
TestGEOVariableSegmentYAMLReader.test_pad_earlier_segments_area()
TestGEOVariableSegmentYAMLReader.test_pad_later_segments_area()
TestGEOVariableSegmentYAMLReader.test_pad_later_segments_area_for_multiple_segments_gap()
TestUtils
_create_mocked_basic_fh()
_create_mocked_fh_and_areadef()
available_datasets()
fake_adef()
fake_geswh()
fake_mss()
fake_xr()
file_type_matches()
- satpy.tests.utils module
CustomScheduler
FakeCompositor
FakeFileHandler
FakeModifier
_compare_nonarray()
_compare_numpy_array()
_filter_datasets()
_get_did_for_fake_scene()
_get_fake_scene_area()
_swath_def_of_data_arrays()
assert_attrs_equal()
assert_dict_array_equality()
assert_maximum_dask_computes()
convert_file_content_to_data_array()
make_cid()
make_dataid()
make_dsq()
make_fake_scene()
skip_numba_unstable_if_missing()
spy_decorator()
xfail_h5py_unstable_numpy2()
xfail_skyfield_unstable_numpy2()
Module contents
The tests package.