satpy.readers package
Subpackages
- satpy.readers.gms package
- Submodules
- satpy.readers.gms.gms5_vissr_format module
- satpy.readers.gms.gms5_vissr_l1b module
- satpy.readers.gms.gms5_vissr_navigation module
Attitude
AttitudePrediction
EARTH_POLAR_RADIUS
EarthEllipsoid
ImageNavigationParameters
ImageOffset
Orbit
OrbitAngles
OrbitPrediction
Pixel
PixelNavigationParameters
PredictedNavigationParameters
ProjectionParameters
Satpos
ScanningAngles
ScanningParameters
StaticNavigationParameters
Vector2D
Vector3D
_AttitudePrediction
_OrbitPrediction
_correct_nutation_precession()
_find_enclosing_index()
_get_abc_helper()
_get_distance_to_intersection()
_get_distances_to_intersections()
_get_earth_fixed_coords()
_get_lons_lats_numba()
_get_map_blocks_kwargs()
_get_pixel_navigation_parameters()
_get_relative_observation_time()
_get_satellite_unit_vector_x()
_get_satellite_unit_vector_y()
_get_satellite_unit_vector_z()
_get_satellite_z_axis_1950()
_get_unit_vector_x()
_get_uz_cross_satsun()
_get_vector_from_satellite_to_sun()
_interpolate()
_interpolate_nearest()
_interpolate_orbit_angles()
_interpolate_sat_position()
_make_nav_params_numba_compatible()
_rotate_to_greenwich()
_wrap_2pi()
cross_product()
get_lon_lat()
get_lons_lats()
get_observation_time()
interpolate_angles()
interpolate_attitude_prediction()
interpolate_continuous()
interpolate_navigation_prediction()
interpolate_nearest()
interpolate_orbit_prediction()
intersect_with_earth()
matrix_vector()
normalize_vector()
transform_earth_fixed_to_geodetic_coords()
transform_image_coords_to_scanning_angles()
transform_satellite_to_earth_fixed_coords()
transform_scanning_angles_to_satellite_coords()
- Module contents
- Submodules
Submodules
- satpy.readers._geos_area module
- satpy.readers.aapp_l1b module
AAPPL1BaseFileHandler
AAPPL1BaseFileHandler._calibrate_active_channel_data()
AAPPL1BaseFileHandler._get_platform_name()
AAPPL1BaseFileHandler._set_filedata_layout()
AAPPL1BaseFileHandler._update_dataset_attributes()
AAPPL1BaseFileHandler.end_time
AAPPL1BaseFileHandler.get_dataset()
AAPPL1BaseFileHandler.read()
AAPPL1BaseFileHandler.start_time
AVHRRAAPPL1BFile
AVHRRAAPPL1BFile._calibrate_active_channel_data()
AVHRRAAPPL1BFile._convert_binary_channel_status_to_activation_dict()
AVHRRAAPPL1BFile._create_40km_interpolator()
AVHRRAAPPL1BFile._get_active_channels()
AVHRRAAPPL1BFile._get_all_interpolated_angles_uncached()
AVHRRAAPPL1BFile._get_all_interpolated_coordinates_uncached()
AVHRRAAPPL1BFile._get_channel_binary_status_from_header()
AVHRRAAPPL1BFile._get_coordinates_in_degrees()
AVHRRAAPPL1BFile._get_tiepoint_angles_in_degrees()
AVHRRAAPPL1BFile._interpolate_arrays()
AVHRRAAPPL1BFile._set_filedata_layout()
AVHRRAAPPL1BFile.available_datasets()
AVHRRAAPPL1BFile.calibrate()
AVHRRAAPPL1BFile.get_angles()
AVHRRAAPPL1BFile.navigate()
_ir_calibrate()
_vis_calibrate()
create_xarray()
get_aapp_chunks()
get_avhrr_lac_chunks()
- satpy.readers.aapp_mhs_amsub_l1c module
- satpy.readers.abi_base module
NC_ABI_BASE
NC_ABI_BASE._adjust_coords()
NC_ABI_BASE._adjust_data()
NC_ABI_BASE._chunk_bytes_for_resolution()
NC_ABI_BASE._get_areadef_fixedgrid()
NC_ABI_BASE._get_areadef_latlon()
NC_ABI_BASE._rename_dims()
NC_ABI_BASE.end_time
NC_ABI_BASE.get_area_def()
NC_ABI_BASE.get_dataset()
NC_ABI_BASE.nc
NC_ABI_BASE.sensor
NC_ABI_BASE.spatial_resolution_to_number()
NC_ABI_BASE.start_time
- satpy.readers.abi_l1b module
- satpy.readers.abi_l2_nc module
- satpy.readers.acspo module
- satpy.readers.agri_l1 module
- satpy.readers.ahi_hsd module
- Time Information
- Satellite Position
AHIHSDFileHandler
AHIHSDFileHandler._check_fpos()
AHIHSDFileHandler._get_area_def()
AHIHSDFileHandler._get_metadata()
AHIHSDFileHandler._get_user_calibration_correction_type()
AHIHSDFileHandler._ir_calibrate()
AHIHSDFileHandler._mask_invalid()
AHIHSDFileHandler._mask_space()
AHIHSDFileHandler._read_data()
AHIHSDFileHandler._read_header()
AHIHSDFileHandler._timeline
AHIHSDFileHandler._vis_calibrate()
AHIHSDFileHandler.area
AHIHSDFileHandler.calibrate()
AHIHSDFileHandler.convert_to_radiance()
AHIHSDFileHandler.end_time
AHIHSDFileHandler.get_area_def()
AHIHSDFileHandler.get_dataset()
AHIHSDFileHandler.nominal_end_time
AHIHSDFileHandler.nominal_start_time
AHIHSDFileHandler.observation_end_time
AHIHSDFileHandler.observation_start_time
AHIHSDFileHandler.read_band()
AHIHSDFileHandler.start_time
_NominalTimeCalculator
_NominalTimeCalculator._get_closest_timeline()
_NominalTimeCalculator._get_offset_relative_to_timeline()
_NominalTimeCalculator._modify_observation_time_for_nominal()
_NominalTimeCalculator._observation_frequency
_NominalTimeCalculator._parse_timeline()
_NominalTimeCalculator.get_nominal_end_time()
_NominalTimeCalculator.get_nominal_start_time()
- satpy.readers.ahi_l1b_gridded_bin module
AHIGriddedFileHandler
AHIGriddedFileHandler._calibrate()
AHIGriddedFileHandler._download_luts()
AHIGriddedFileHandler._get_luts()
AHIGriddedFileHandler._load_lut()
AHIGriddedFileHandler._read_data()
AHIGriddedFileHandler._untar_luts()
AHIGriddedFileHandler.calibrate()
AHIGriddedFileHandler.get_area_def()
AHIGriddedFileHandler.get_dataset()
AHIGriddedFileHandler.read_band()
- satpy.readers.ahi_l2_nc module
- satpy.readers.ami_l1b module
- satpy.readers.amsr2_l1b module
- satpy.readers.amsr2_l2 module
- satpy.readers.amsr2_l2_gaasp module
GAASPFileHandler
GAASPFileHandler._add_lonlat_coords()
GAASPFileHandler._available_if_this_file_type()
GAASPFileHandler._available_new_datasets()
GAASPFileHandler._fill_data()
GAASPFileHandler._get_ds_info_for_data_arr()
GAASPFileHandler._get_var_name_without_suffix()
GAASPFileHandler._is_2d_yx_data_array()
GAASPFileHandler._nan_for_dtype()
GAASPFileHandler._scale_data()
GAASPFileHandler.available_datasets()
GAASPFileHandler.dim_resolutions
GAASPFileHandler.end_time
GAASPFileHandler.get_dataset()
GAASPFileHandler.is_gridded
GAASPFileHandler.nc
GAASPFileHandler.platform_name
GAASPFileHandler.sensor_names
GAASPFileHandler.start_time
GAASPFileHandler.time_dims
GAASPFileHandler.x_dims
GAASPFileHandler.y_dims
GAASPGriddedFileHandler
GAASPLowResFileHandler
- satpy.readers.ascat_l2_soilmoisture_bufr module
- satpy.readers.atms_l1b_nc module
AtmsL1bNCFileHandler
AtmsL1bNCFileHandler._drop_coords()
AtmsL1bNCFileHandler._merge_attributes()
AtmsL1bNCFileHandler._select_dataset()
AtmsL1bNCFileHandler._standardize_dims()
AtmsL1bNCFileHandler.antenna_temperature
AtmsL1bNCFileHandler.attrs
AtmsL1bNCFileHandler.end_time
AtmsL1bNCFileHandler.get_dataset()
AtmsL1bNCFileHandler.platform_name
AtmsL1bNCFileHandler.sensor
AtmsL1bNCFileHandler.start_time
- satpy.readers.atms_sdr_hdf5 module
- satpy.readers.avhrr_l1b_gaclac module
GACLACFile
GACLACFile._get_angle()
GACLACFile._get_channel()
GACLACFile._get_qual_flags()
GACLACFile._is_avhrr2()
GACLACFile._is_avhrr3()
GACLACFile._slice()
GACLACFile._strip_invalid_lat()
GACLACFile._update_attrs()
GACLACFile.end_time
GACLACFile.get_dataset()
GACLACFile.read_raw_data()
GACLACFile.slice()
GACLACFile.start_time
- satpy.readers.clavrx module
CLAVRXHDF4FileHandler
CLAVRXHDF4FileHandler._available_aliases()
CLAVRXHDF4FileHandler._dynamic_datasets()
CLAVRXHDF4FileHandler._is_polar()
CLAVRXHDF4FileHandler.available_datasets()
CLAVRXHDF4FileHandler.end_time
CLAVRXHDF4FileHandler.get_area_def()
CLAVRXHDF4FileHandler.get_dataset()
CLAVRXHDF4FileHandler.get_shape()
CLAVRXHDF4FileHandler.start_time
CLAVRXNetCDFFileHandler
CLAVRXNetCDFFileHandler._available_file_datasets()
CLAVRXNetCDFFileHandler._dynamic_dataset_info()
CLAVRXNetCDFFileHandler._is_2d_yx_data_array()
CLAVRXNetCDFFileHandler._is_polar()
CLAVRXNetCDFFileHandler.available_datasets()
CLAVRXNetCDFFileHandler.get_area_def()
CLAVRXNetCDFFileHandler.get_dataset()
_CLAVRxHelper
_get_platform()
_get_rows_per_scan()
_get_sensor()
_scale_data()
- satpy.readers.cmsaf_claas2 module
- satpy.readers.electrol_hrit module
- satpy.readers.epic_l1b_h5 module
- satpy.readers.eps_l1b module
EPSAVHRRFile
EPSAVHRRFile._get_angle_dataarray()
EPSAVHRRFile._get_calibrated_dataarray()
EPSAVHRRFile._get_data_array()
EPSAVHRRFile._get_full_angles()
EPSAVHRRFile._get_full_angles_uncached()
EPSAVHRRFile._get_full_lonlats_uncached()
EPSAVHRRFile._interpolate()
EPSAVHRRFile._read_all()
EPSAVHRRFile.end_time
EPSAVHRRFile.get_bounding_box()
EPSAVHRRFile.get_dataset()
EPSAVHRRFile.get_lonlats()
EPSAVHRRFile.keys()
EPSAVHRRFile.platform_name
EPSAVHRRFile.sensor_name
EPSAVHRRFile.sensors
EPSAVHRRFile.spacecrafts
EPSAVHRRFile.start_time
EPSAVHRRFile.three_a_mask
EPSAVHRRFile.three_b_mask
EPSAVHRRFile.units
create_xarray()
radiance_to_bt()
radiance_to_refl()
read_records()
- satpy.readers.eum_base module
- satpy.readers.eum_l2_bufr module
EumetsatL2BufrFileHandler
EumetsatL2BufrFileHandler._add_attributes()
EumetsatL2BufrFileHandler._construct_area_def()
EumetsatL2BufrFileHandler._read_mpef_header()
EumetsatL2BufrFileHandler.get_area_def()
EumetsatL2BufrFileHandler.get_array()
EumetsatL2BufrFileHandler.get_attributes()
EumetsatL2BufrFileHandler.get_dataset()
EumetsatL2BufrFileHandler.get_dataset_with_area_def()
EumetsatL2BufrFileHandler.platform_name
EumetsatL2BufrFileHandler.sensor_name
EumetsatL2BufrFileHandler.ssp_lon
EumetsatL2BufrFileHandler.start_time
- satpy.readers.fci_l1c_nc module
FCIL1cNCFileHandler
FCIL1cNCFileHandler._compute_sun_earth_distance
FCIL1cNCFileHandler._get_aux_data_lut_vector()
FCIL1cNCFileHandler._get_dataset_aux_data()
FCIL1cNCFileHandler._get_dataset_index_map()
FCIL1cNCFileHandler._get_dataset_measurand()
FCIL1cNCFileHandler._get_dataset_quality()
FCIL1cNCFileHandler._getitem()
FCIL1cNCFileHandler._platform_name_translate
FCIL1cNCFileHandler.calc_area_extent()
FCIL1cNCFileHandler.calibrate()
FCIL1cNCFileHandler.calibrate_counts_to_physical_quantity()
FCIL1cNCFileHandler.calibrate_counts_to_rad()
FCIL1cNCFileHandler.calibrate_rad_to_bt()
FCIL1cNCFileHandler.calibrate_rad_to_refl()
FCIL1cNCFileHandler.end_time
FCIL1cNCFileHandler.get_area_def()
FCIL1cNCFileHandler.get_channel_measured_group_path()
FCIL1cNCFileHandler.get_dataset()
FCIL1cNCFileHandler.get_iqt_parameters_lon_lat_alt()
FCIL1cNCFileHandler.get_parameters_lon_lat_alt()
FCIL1cNCFileHandler.get_segment_position_info()
FCIL1cNCFileHandler.nominal_end_time
FCIL1cNCFileHandler.nominal_start_time
FCIL1cNCFileHandler.observation_end_time
FCIL1cNCFileHandler.observation_start_time
FCIL1cNCFileHandler.orbital_param
FCIL1cNCFileHandler.rc_period_min
FCIL1cNCFileHandler.start_time
_ensure_dataarray()
_get_aux_data_name_from_dsname()
_get_channel_name_from_dsname()
- satpy.readers.fci_l2_nc module
FciL2CommonFunctions
FciL2CommonFunctions._add_flag_values_and_meanings()
FciL2CommonFunctions._get_global_attributes()
FciL2CommonFunctions._mask_data()
FciL2CommonFunctions._set_attributes()
FciL2CommonFunctions._slice_dataset()
FciL2CommonFunctions.sensor_name
FciL2CommonFunctions.spacecraft_name
FciL2CommonFunctions.ssp_lon
FciL2NCAMVFileHandler
FciL2NCFileHandler
FciL2NCSegmentFileHandler
- satpy.readers.file_handlers module
BaseFileHandler
BaseFileHandler._combine()
BaseFileHandler._combine_orbital_parameters()
BaseFileHandler.available_datasets()
BaseFileHandler.combine_info()
BaseFileHandler.end_time
BaseFileHandler.file_type_matches()
BaseFileHandler.get_area_def()
BaseFileHandler.get_bounding_box()
BaseFileHandler.get_dataset()
BaseFileHandler.sensor_names
BaseFileHandler.start_time
open_dataset()
- satpy.readers.fy4_base module
- satpy.readers.generic_image module
- satpy.readers.geocat module
GEOCATFileHandler
GEOCATFileHandler._calc_area_resolution()
GEOCATFileHandler._first_good_nav()
GEOCATFileHandler._get_extents()
GEOCATFileHandler._get_proj()
GEOCATFileHandler._load_nav()
GEOCATFileHandler.available_datasets()
GEOCATFileHandler.end_time
GEOCATFileHandler.get_area_def()
GEOCATFileHandler.get_dataset()
GEOCATFileHandler.get_metadata()
GEOCATFileHandler.get_platform()
GEOCATFileHandler.get_sensor()
GEOCATFileHandler.get_shape()
GEOCATFileHandler.is_geo
GEOCATFileHandler.platforms
GEOCATFileHandler.resolution
GEOCATFileHandler.resolutions
GEOCATFileHandler.sensor_names
GEOCATFileHandler.sensors
GEOCATFileHandler.start_time
- satpy.readers.gerb_l2_hr_h5 module
- satpy.readers.ghi_l1 module
- satpy.readers.ghrsst_l2 module
- satpy.readers.gld360_ualf2 module
- satpy.readers.glm_l2 module
- satpy.readers.goci2_l2_nc module
- satpy.readers.goes_imager_hrit module
- satpy.readers.goes_imager_nc module
- NOAA-CLASS
- EUMETSAT
- References:
AreaDefEstimator
AreaDefEstimator._create_area_def()
AreaDefEstimator._get_area_description()
AreaDefEstimator._get_area_extent_at_max_scan_angle()
AreaDefEstimator._get_max_scan_angle()
AreaDefEstimator._get_projection()
AreaDefEstimator._get_shape_with_uniform_pixel_size()
AreaDefEstimator._get_uniform_pixel_size()
AreaDefEstimator.get_area_def_with_uniform_sampling()
GOESCoefficientReader
GOESCoefficientReader._denoise()
GOESCoefficientReader._float()
GOESCoefficientReader._get_ir_coefs()
GOESCoefficientReader._get_table()
GOESCoefficientReader._get_vis_coefs()
GOESCoefficientReader._load_url_or_file()
GOESCoefficientReader.get_coefs()
GOESCoefficientReader.gvar_channels
GOESCoefficientReader.ir_tables
GOESCoefficientReader.vis_tables
GOESEUMGEONCFileHandler
GOESEUMNCFileHandler
GOESNCBaseFileHandler
GOESNCBaseFileHandler._calibrate()
GOESNCBaseFileHandler._calibrate_ir()
GOESNCBaseFileHandler._calibrate_vis()
GOESNCBaseFileHandler._counts2radiance()
GOESNCBaseFileHandler._get_area_def_uniform_sampling()
GOESNCBaseFileHandler._get_earth_mask()
GOESNCBaseFileHandler._get_nadir_pixel()
GOESNCBaseFileHandler._get_platform_name()
GOESNCBaseFileHandler._get_sector()
GOESNCBaseFileHandler._ircounts2radiance()
GOESNCBaseFileHandler._is_yaw_flip()
GOESNCBaseFileHandler._update_metadata()
GOESNCBaseFileHandler._viscounts2radiance()
GOESNCBaseFileHandler.available_datasets()
GOESNCBaseFileHandler.calibrate()
GOESNCBaseFileHandler.end_time
GOESNCBaseFileHandler.get_dataset()
GOESNCBaseFileHandler.get_shape()
GOESNCBaseFileHandler.ir_sectors
GOESNCBaseFileHandler.meta
GOESNCBaseFileHandler.resolution
GOESNCBaseFileHandler.start_time
GOESNCBaseFileHandler.vis_sectors
GOESNCBaseFileHandler.yaw_flip_sampling_distance
GOESNCFileHandler
is_vis_channel()
test_coefs()
- satpy.readers.gpm_imerg module
- satpy.readers.grib module
GRIBFileHandler
GRIBFileHandler._analyze_messages()
GRIBFileHandler._area_def_from_msg()
GRIBFileHandler._convert_datetime()
GRIBFileHandler._correct_cyl_minmax_xy()
GRIBFileHandler._correct_proj_params_over_prime_meridian()
GRIBFileHandler._create_dataset_ids()
GRIBFileHandler._get_area_info()
GRIBFileHandler._get_corner_lonlat()
GRIBFileHandler._get_corner_xy()
GRIBFileHandler._get_cyl_area_info()
GRIBFileHandler._get_cyl_minmax_lonlat()
GRIBFileHandler._get_extents()
GRIBFileHandler._get_message()
GRIBFileHandler.available_datasets()
GRIBFileHandler.end_time
GRIBFileHandler.get_area_def()
GRIBFileHandler.get_dataset()
GRIBFileHandler.get_metadata()
GRIBFileHandler.start_time
- satpy.readers.hdf4_utils module
- satpy.readers.hdf5_utils module
- satpy.readers.hdfeos_base module
HDFEOSBaseFileReader
HDFEOSBaseFileReader._add_satpy_metadata()
HDFEOSBaseFileReader._chunks_for_variable()
HDFEOSBaseFileReader._get_good_data_mask()
HDFEOSBaseFileReader._get_res_multiplier()
HDFEOSBaseFileReader._load_all_metadata_attributes()
HDFEOSBaseFileReader._platform_name_from_filename()
HDFEOSBaseFileReader._read_dataset_in_file()
HDFEOSBaseFileReader._read_mda()
HDFEOSBaseFileReader._resolution_to_rows_per_scan()
HDFEOSBaseFileReader._scale_and_mask_data_array()
HDFEOSBaseFileReader._split_line()
HDFEOSBaseFileReader._start_time_from_filename()
HDFEOSBaseFileReader.end_time
HDFEOSBaseFileReader.load_dataset()
HDFEOSBaseFileReader.metadata_platform_name
HDFEOSBaseFileReader.read_mda()
HDFEOSBaseFileReader.start_time
HDFEOSGeoReader
HDFEOSGeoReader.DATASET_NAMES
HDFEOSGeoReader._geo_resolution_for_l1b()
HDFEOSGeoReader._geo_resolution_for_l2_l1b()
HDFEOSGeoReader._load_ds_by_name()
HDFEOSGeoReader.geo_resolution
HDFEOSGeoReader.get_dataset()
HDFEOSGeoReader.get_interpolated_dataset()
HDFEOSGeoReader.is_geo_loadable_dataset()
HDFEOSGeoReader.read_geo_resolution()
_find_and_run_interpolation()
_interpolate_no_angles()
_interpolate_with_angles()
_modis_date()
interpolate()
- satpy.readers.hrit_base module
HRITFileHandler
HRITFileHandler._get_hd()
HRITFileHandler._get_output_info()
HRITFileHandler.end_time
HRITFileHandler.get_area_def()
HRITFileHandler.get_area_extent()
HRITFileHandler.get_dataset()
HRITFileHandler.get_xy_from_linecol()
HRITFileHandler.observation_end_time
HRITFileHandler.observation_start_time
HRITFileHandler.read_band()
HRITFileHandler.start_time
HRITSegment
decompress()
get_header_content()
get_header_id()
- satpy.readers.hrit_jma module
- Introduction
- Example:
- Compression
HRITJMAFileHandler
HRITJMAFileHandler._check_sensor_platform_consistency()
HRITJMAFileHandler._get_acq_time()
HRITJMAFileHandler._get_area_def()
HRITJMAFileHandler._get_line_offset()
HRITJMAFileHandler._get_platform()
HRITJMAFileHandler._interp()
HRITJMAFileHandler._mask_space()
HRITJMAFileHandler.calibrate()
HRITJMAFileHandler.end_time
HRITJMAFileHandler.get_area_def()
HRITJMAFileHandler.get_dataset()
HRITJMAFileHandler.start_time
mjd2datetime64()
- satpy.readers.hrpt module
HRPTFile
HRPTFile._chunks
HRPTFile._data
HRPTFile._get_avhrr_tiepoints()
HRPTFile._get_ch3_mask_or_true()
HRPTFile._get_channel_data()
HRPTFile._get_navigation_data()
HRPTFile._is3b
HRPTFile.calibrate_solar_channel()
HRPTFile.calibrate_thermal_channel()
HRPTFile.calibrator
HRPTFile.end_time
HRPTFile.get_dataset()
HRPTFile.lons_lats
HRPTFile.platform_name
HRPTFile.read()
HRPTFile.start_time
HRPTFile.telemetry
HRPTFile.times
_get_channel_index()
bfield()
geo_interpolate()
time_seconds()
- satpy.readers.hsaf_grib module
- satpy.readers.hsaf_h5 module
- satpy.readers.hy2_scat_l2b_h5 module
HY2SCATL2BH5FileHandler
HY2SCATL2BH5FileHandler._mask_data()
HY2SCATL2BH5FileHandler._scale_data()
HY2SCATL2BH5FileHandler.end_time
HY2SCATL2BH5FileHandler.get_dataset()
HY2SCATL2BH5FileHandler.get_metadata()
HY2SCATL2BH5FileHandler.get_variable_metadata()
HY2SCATL2BH5FileHandler.platform_name
HY2SCATL2BH5FileHandler.start_time
- satpy.readers.iasi_l2 module
- satpy.readers.iasi_l2_so2_bufr module
- satpy.readers.ici_l1b_nc module
IciL1bNCFileHandler
IciL1bNCFileHandler._calibrate()
IciL1bNCFileHandler._calibrate_bt()
IciL1bNCFileHandler._drop_coords()
IciL1bNCFileHandler._fetch_variable()
IciL1bNCFileHandler._filter_variable()
IciL1bNCFileHandler._get_global_attributes()
IciL1bNCFileHandler._get_quality_attributes()
IciL1bNCFileHandler._get_third_dimension_name()
IciL1bNCFileHandler._interpolate()
IciL1bNCFileHandler._interpolate_geo()
IciL1bNCFileHandler._interpolate_viewing_angle()
IciL1bNCFileHandler._manage_attributes()
IciL1bNCFileHandler._orthorectify()
IciL1bNCFileHandler._standardize_dims()
IciL1bNCFileHandler.end_time
IciL1bNCFileHandler.get_dataset()
IciL1bNCFileHandler.latitude
IciL1bNCFileHandler.longitude
IciL1bNCFileHandler.longitude_and_latitude
IciL1bNCFileHandler.observation_azimuth
IciL1bNCFileHandler.observation_azimuth_and_zenith
IciL1bNCFileHandler.observation_zenith
IciL1bNCFileHandler.platform_name
IciL1bNCFileHandler.sensor
IciL1bNCFileHandler.solar_azimuth
IciL1bNCFileHandler.solar_azimuth_and_zenith
IciL1bNCFileHandler.solar_zenith
IciL1bNCFileHandler.ssp_lon
IciL1bNCFileHandler.start_time
InterpolationType
- satpy.readers.insat3d_img_l1b_h5 module
- satpy.readers.li_base_nc module
LINCFileHandler
LINCFileHandler.add_provided_dataset()
LINCFileHandler.apply_accumulate_index_offset()
LINCFileHandler.apply_broadcast_to()
LINCFileHandler.apply_fill_value()
LINCFileHandler.apply_milliseconds_to_timedelta()
LINCFileHandler.apply_seconds_to_datetime()
LINCFileHandler.apply_seconds_to_timedelta()
LINCFileHandler.apply_transforms()
LINCFileHandler.apply_use_rescaling()
LINCFileHandler.available_datasets()
LINCFileHandler.check_variable_extra_info()
LINCFileHandler.combine_info()
LINCFileHandler.end_time
LINCFileHandler.generate_coords_from_scan_angles()
LINCFileHandler.get_coordinate_names()
LINCFileHandler.get_daskified_lon_lat()
LINCFileHandler.get_dataset()
LINCFileHandler.get_dataset_infos()
LINCFileHandler.get_first_valid_variable()
LINCFileHandler.get_latlon_names()
LINCFileHandler.get_measured_variable()
LINCFileHandler.get_projection_config()
LINCFileHandler.get_transform_reference()
LINCFileHandler.get_transformed_dataset()
LINCFileHandler.get_variable_search_paths()
LINCFileHandler.inverse_projection()
LINCFileHandler.is_prod_in_accumulation_grid()
LINCFileHandler.register_available_datasets()
LINCFileHandler.register_coords_from_scan_angles()
LINCFileHandler.register_dataset()
LINCFileHandler.register_sector_datasets()
LINCFileHandler.register_variable_datasets()
LINCFileHandler.sensor_names
LINCFileHandler.start_time
LINCFileHandler.update_array_attributes()
LINCFileHandler.validate_array_dimensions()
LINCFileHandler.variable_path_exists()
- satpy.readers.li_l2_nc module
- satpy.readers.maia module
- satpy.readers.mcd12q1 module
- satpy.readers.meris_nc_sen3 module
- satpy.readers.mersi_l1b module
MERSIL1B
MERSIL1B._get_bt_dataset()
MERSIL1B._get_coefficients()
MERSIL1B._get_coefficients_mersi1()
MERSIL1B._get_dn_corrections()
MERSIL1B._get_rad_dataset()
MERSIL1B._get_ref_dataset()
MERSIL1B._get_single_slope_intercept()
MERSIL1B._mask_data()
MERSIL1B._strptime()
MERSIL1B.end_time
MERSIL1B.get_dataset()
MERSIL1B.get_refl_mult()
MERSIL1B.platform_name
MERSIL1B.sensor_name
MERSIL1B.start_time
- satpy.readers.mimic_TPW2_nc module
- satpy.readers.mirs module
MiRSL2ncHandler
MiRSL2ncHandler._apply_valid_range()
MiRSL2ncHandler._available_btemp_datasets()
MiRSL2ncHandler._available_new_datasets()
MiRSL2ncHandler._count_channel_repeat_number()
MiRSL2ncHandler._fill_data()
MiRSL2ncHandler._get_coeff_filenames
MiRSL2ncHandler._get_ds_info_for_data_arr()
MiRSL2ncHandler._get_platform_name
MiRSL2ncHandler._get_sensor
MiRSL2ncHandler._is_2d_yx_data_array()
MiRSL2ncHandler._nan_for_dtype()
MiRSL2ncHandler._scale_data()
MiRSL2ncHandler.apply_attributes()
MiRSL2ncHandler.available_datasets()
MiRSL2ncHandler.end_time
MiRSL2ncHandler.force_date()
MiRSL2ncHandler.force_time()
MiRSL2ncHandler.get_dataset()
MiRSL2ncHandler.platform_shortname
MiRSL2ncHandler.sensor_names
MiRSL2ncHandler.start_time
MiRSL2ncHandler.update_metadata()
apply_atms_limb_correction()
get_coeff_by_sfc()
get_resource_string()
limb_correct_atms_bt()
read_atms_coeff_to_string()
read_atms_limb_correction_coefficients()
- satpy.readers.modis_l1b module
- Introduction
- Saturation Handling
- Geolocation files
HDFEOSBandReader
HDFEOSBandReader._calibrate_data()
HDFEOSBandReader._fill_saturated()
HDFEOSBandReader._get_band_index()
HDFEOSBandReader._get_band_variable_name_and_index()
HDFEOSBandReader._mask_invalid()
HDFEOSBandReader._mask_uncertain_pixels()
HDFEOSBandReader.get_dataset()
HDFEOSBandReader.res
HDFEOSBandReader.res_to_possible_variable_names
MixedHDFEOSReader
calibrate_bt()
calibrate_counts()
calibrate_radiance()
calibrate_refl()
- satpy.readers.modis_l2 module
- Introduction
- Geolocation files
ModisL2HDFFileHandler
ModisL2HDFFileHandler._extract_and_mask_category_dataset()
ModisL2HDFFileHandler._load_all_metadata_attributes()
ModisL2HDFFileHandler._mask_with_quality_assurance_if_needed()
ModisL2HDFFileHandler._select_hdf_dataset()
ModisL2HDFFileHandler.end_time
ModisL2HDFFileHandler.get_dataset()
ModisL2HDFFileHandler.is_imapp_mask_byte1
ModisL2HDFFileHandler.read_geo_resolution()
ModisL2HDFFileHandler.start_time
_bits_strip()
_extract_byte_mask()
_extract_two_byte_mask()
- satpy.readers.modis_l3 module
- satpy.readers.msi_safe module
SAFEMSIL1C
SAFEMSIMDXML
SAFEMSIMDXML._band_index()
SAFEMSIMDXML._sanitize_data()
SAFEMSIMDXML.band_indices
SAFEMSIMDXML.band_offset()
SAFEMSIMDXML.band_offsets
SAFEMSIMDXML.calibrate_to_atmospheric()
SAFEMSIMDXML.calibrate_to_radiances()
SAFEMSIMDXML.calibrate_to_reflectances()
SAFEMSIMDXML.no_data
SAFEMSIMDXML.physical_gain()
SAFEMSIMDXML.physical_gains
SAFEMSIMDXML.saturated
SAFEMSIMDXML.special_values
SAFEMSITileMDXML
SAFEMSITileMDXML._area_extent()
SAFEMSITileMDXML._do_interp()
SAFEMSITileMDXML._get_coarse_dataset()
SAFEMSITileMDXML._get_satellite_angles()
SAFEMSITileMDXML._get_solar_angles()
SAFEMSITileMDXML._get_values_from_tag()
SAFEMSITileMDXML._shape()
SAFEMSITileMDXML.get_area_def()
SAFEMSITileMDXML.get_dataset()
SAFEMSITileMDXML.interpolate_angles()
SAFEMSITileMDXML.projection
SAFEMSITileMDXML.start_time()
SAFEMSIXMLMetadata
_fill_swath_edges()
- satpy.readers.msu_gsa_l1b module
- satpy.readers.mviri_l1b_fiduceo_nc module
- Introduction
- Dataset Names
- Example:
- Image Orientation
- Geolocation
- Huge VIS Reflectances
- VIS Channel Quality Flags
- Angles
- References:
ALTITUDE
DatasetWrapper
FiduceoMviriBase
FiduceoMviriBase._calibrate()
FiduceoMviriBase._calibrate_vis()
FiduceoMviriBase._cleanup_coords()
FiduceoMviriBase._get_acq_time_uncached()
FiduceoMviriBase._get_angles_uncached()
FiduceoMviriBase._get_calib_coefs()
FiduceoMviriBase._get_channel()
FiduceoMviriBase._get_orbital_parameters()
FiduceoMviriBase._get_other_dataset()
FiduceoMviriBase._get_ssp()
FiduceoMviriBase._get_ssp_lonlat()
FiduceoMviriBase._update_attrs()
FiduceoMviriBase.get_area_def()
FiduceoMviriBase.get_dataset()
FiduceoMviriBase.nc_keys
FiduceoMviriEasyFcdrFileHandler
FiduceoMviriFullFcdrFileHandler
IRWVCalibrator
Interpolator
MVIRI_FIELD_OF_VIEW
Navigator
VISCalibrator
VisQualityControl
is_high_resol()
- satpy.readers.mws_l1b module
MWSL1BFile
MWSL1BFile._drop_coords()
MWSL1BFile._get_dataset_aux_data()
MWSL1BFile._get_dataset_channel()
MWSL1BFile._get_global_attributes()
MWSL1BFile._get_quality_attributes()
MWSL1BFile._manage_attributes()
MWSL1BFile._platform_name_translate
MWSL1BFile._standardize_dims()
MWSL1BFile.end_time
MWSL1BFile.get_dataset()
MWSL1BFile.platform_name
MWSL1BFile.sensor
MWSL1BFile.start_time
MWSL1BFile.sub_satellite_latitude_end
MWSL1BFile.sub_satellite_latitude_start
MWSL1BFile.sub_satellite_longitude_end
MWSL1BFile.sub_satellite_longitude_start
_get_aux_data_name_from_dsname()
get_channel_index_from_name()
- satpy.readers.netcdf_utils module
NetCDF4FileHandler
NetCDF4FileHandler._collect_attrs()
NetCDF4FileHandler._collect_cache_var_names()
NetCDF4FileHandler._collect_global_attrs()
NetCDF4FileHandler._collect_groups_info()
NetCDF4FileHandler._collect_listed_variables()
NetCDF4FileHandler._collect_variable_info()
NetCDF4FileHandler._collect_variables_info()
NetCDF4FileHandler._get_attr()
NetCDF4FileHandler._get_attr_value()
NetCDF4FileHandler._get_file_handle()
NetCDF4FileHandler._get_group()
NetCDF4FileHandler._get_object_attrs()
NetCDF4FileHandler._get_required_variable_names()
NetCDF4FileHandler._get_var_from_filehandle()
NetCDF4FileHandler._get_var_from_xr()
NetCDF4FileHandler._get_variable()
NetCDF4FileHandler._set_file_handle_auto_maskandscale()
NetCDF4FileHandler._set_xarray_kwargs()
NetCDF4FileHandler.collect_cache_vars()
NetCDF4FileHandler.collect_dimensions()
NetCDF4FileHandler.collect_metadata()
NetCDF4FileHandler.file_handle
NetCDF4FileHandler.get()
NetCDF4FileHandler.get_and_cache_npxr()
NetCDF4FsspecFileHandler
_compose_replacement_names()
get_data_as_xarray()
- satpy.readers.nucaps module
NUCAPSFileHandler
NUCAPSFileHandler._parse_datetime()
NUCAPSFileHandler.end_orbit_number
NUCAPSFileHandler.end_time
NUCAPSFileHandler.get_dataset()
NUCAPSFileHandler.get_metadata()
NUCAPSFileHandler.get_shape()
NUCAPSFileHandler.platform_name
NUCAPSFileHandler.sensor_names
NUCAPSFileHandler.start_orbit_number
NUCAPSFileHandler.start_time
NUCAPSReader
_get_pressure_level_condition()
_mask_data_below_surface_pressure()
_mask_data_with_quality_flag()
_remove_data_at_pressure_levels()
- satpy.readers.nwcsaf_msg2013_hdf5 module
- satpy.readers.nwcsaf_nc module
NcNWCSAF
NcNWCSAF._adjust_variable_for_legacy_software()
NcNWCSAF._ensure_crs_extents_in_meters()
NcNWCSAF._get_filekeys()
NcNWCSAF._get_projection()
NcNWCSAF._get_varname_in_file()
NcNWCSAF._mask_variable()
NcNWCSAF._prepare_variable_for_palette()
NcNWCSAF._upsample_geolocation_uncached()
NcNWCSAF.drop_xycoords()
NcNWCSAF.end_time
NcNWCSAF.get_area_def()
NcNWCSAF.get_dataset()
NcNWCSAF.get_orbital_parameters()
NcNWCSAF.remove_timedim()
NcNWCSAF.scale_dataset()
NcNWCSAF.sensor_names
NcNWCSAF.set_platform_and_sensor()
NcNWCSAF.start_time
read_nwcsaf_time()
remove_empties()
- satpy.readers.oceancolorcci_l3_nc module
- satpy.readers.olci_nc module
- satpy.readers.omps_edr module
- satpy.readers.osisaf_l3_nc module
OSISAFL3NCFileHandler
OSISAFL3NCFileHandler._get_ds_units()
OSISAFL3NCFileHandler._get_ease_grid()
OSISAFL3NCFileHandler._get_finfo_grid()
OSISAFL3NCFileHandler._get_ftype_grid()
OSISAFL3NCFileHandler._get_geographic_grid()
OSISAFL3NCFileHandler._get_instname()
OSISAFL3NCFileHandler._get_platname()
OSISAFL3NCFileHandler._get_polar_stereographic_grid()
OSISAFL3NCFileHandler._parse_datetime()
OSISAFL3NCFileHandler.end_time
OSISAFL3NCFileHandler.get_area_def()
OSISAFL3NCFileHandler.get_dataset()
OSISAFL3NCFileHandler.start_time
- satpy.readers.pmw_channels_definitions module
FrequencyBandBaseArithmetics
FrequencyDoubleSideBand
FrequencyDoubleSideBandBase
FrequencyDoubleSideBandBase._asdict()
FrequencyDoubleSideBandBase._field_defaults
FrequencyDoubleSideBandBase._fields
FrequencyDoubleSideBandBase._make()
FrequencyDoubleSideBandBase._replace()
FrequencyDoubleSideBandBase.bandwidth
FrequencyDoubleSideBandBase.central
FrequencyDoubleSideBandBase.side
FrequencyDoubleSideBandBase.unit
FrequencyQuadrupleSideBand
FrequencyQuadrupleSideBandBase
FrequencyQuadrupleSideBandBase._asdict()
FrequencyQuadrupleSideBandBase._field_defaults
FrequencyQuadrupleSideBandBase._fields
FrequencyQuadrupleSideBandBase._make()
FrequencyQuadrupleSideBandBase._replace()
FrequencyQuadrupleSideBandBase.bandwidth
FrequencyQuadrupleSideBandBase.central
FrequencyQuadrupleSideBandBase.side
FrequencyQuadrupleSideBandBase.sideside
FrequencyQuadrupleSideBandBase.unit
FrequencyRange
FrequencyRangeBase
_is_inside_interval()
- satpy.readers.safe_sar_l2_ocn module
- satpy.readers.sar_c_safe module
AzimuthNoiseReader
AzimuthNoiseReader._assemble_azimuth_noise_blocks()
AzimuthNoiseReader._create_dask_slice_from_block_line()
AzimuthNoiseReader._create_dask_slices_from_blocks()
AzimuthNoiseReader._fill_dask_pieces()
AzimuthNoiseReader._find_blocks_covering_line()
AzimuthNoiseReader._get_array_pieces_for_current_line()
AzimuthNoiseReader._get_next_start_line()
AzimuthNoiseReader._get_padded_dask_pieces()
AzimuthNoiseReader._read_azimuth_noise_blocks()
AzimuthNoiseReader.read_azimuth_noise_array()
Calibrator
Denoiser
SAFEGRD
SAFESARReader
SAFESARReader._abc_impl
SAFESARReader._create_calibrators()
SAFESARReader._create_denoisers()
SAFESARReader._create_measurement_handlers()
SAFESARReader._get_files_by_type()
SAFESARReader._get_image_shapes()
SAFESARReader.create_storage_items()
SAFESARReader.end_time
SAFESARReader.load()
SAFESARReader.start_time
SAFEXML
SAFEXMLAnnotation
XMLArray
_AzimuthBlock
_dictify()
_get_calibration_name()
dictify()
get_gcps_from_array()
interpolate_xarray_linear()
intp()
- satpy.readers.satpy_cf_nc module
- Introduction
- Generic reader
- Example:
- EUMETSAT AVHRR GAC FDR L1C reader
- Example:
SatpyCFFileHandler
SatpyCFFileHandler._assign_ds_info()
SatpyCFFileHandler._compare_attr()
SatpyCFFileHandler._coordinate_datasets()
SatpyCFFileHandler._dataid_attrs_equal()
SatpyCFFileHandler._dynamic_datasets()
SatpyCFFileHandler._existing_datasets()
SatpyCFFileHandler.available_datasets()
SatpyCFFileHandler.end_time
SatpyCFFileHandler.fix_modifier_attr()
SatpyCFFileHandler.get_area_def()
SatpyCFFileHandler.get_dataset()
SatpyCFFileHandler.sensor_names
SatpyCFFileHandler.start_time
- satpy.readers.scmi module
SCMIFileHandler
SCMIFileHandler._calc_extents()
SCMIFileHandler._get_cf_grid_mapping_var()
SCMIFileHandler._get_proj4_name()
SCMIFileHandler._get_proj_specific_params()
SCMIFileHandler._get_sensor()
SCMIFileHandler.end_time
SCMIFileHandler.get_area_def()
SCMIFileHandler.get_dataset()
SCMIFileHandler.get_shape()
SCMIFileHandler.sensor_names
SCMIFileHandler.start_time
- satpy.readers.seadas_l2 module
SEADASL2HDFFileHandler
SEADASL2NetCDFFileHandler
_SEADASL2Base
_SEADASL2Base._add_satpy_metadata()
_SEADASL2Base._filter_by_valid_min_max()
_SEADASL2Base._get_file_key_and_variable()
_SEADASL2Base._mask_based_on_l2_flags()
_SEADASL2Base._platform_name()
_SEADASL2Base._rename_2d_dims_if_necessary()
_SEADASL2Base._rows_per_scan()
_SEADASL2Base._valid_min_max()
_SEADASL2Base.end_time
_SEADASL2Base.get_dataset()
_SEADASL2Base.sensor_names
_SEADASL2Base.start_time
- satpy.readers.seviri_base module
- Introduction
- Calibration
- Masking of bad quality scan lines
- Metadata
MeirinkCalibrationHandler
MpefProductHeader
NoValidOrbitParams
OrbitPolynomial
OrbitPolynomialFinder
SEVIRICalibrationAlgorithm
SEVIRICalibrationHandler
_create_bad_quality_lines_mask()
add_scanline_acq_time()
calculate_area_extent()
chebyshev()
chebyshev_3d()
create_coef_dict()
dec10216()
get_cds_time()
get_meirink_slope()
get_padding_area()
get_satpos()
mask_bad_quality()
pad_data_horizontally()
pad_data_vertically()
round_nom_time()
should_apply_meirink()
- satpy.readers.seviri_l1b_hrit module
- Introduction
- Reader Arguments
- Compression
- Nominal start/end time
- Example:
HRITMSGEpilogueFileHandler
HRITMSGFileHandler
HRITMSGFileHandler._add_scanline_acq_time()
HRITMSGFileHandler._get_area_extent()
HRITMSGFileHandler._get_calib_coefs()
HRITMSGFileHandler._get_header()
HRITMSGFileHandler._get_raw_mda()
HRITMSGFileHandler._mask_bad_quality()
HRITMSGFileHandler._repeat_cycle_duration
HRITMSGFileHandler._update_attrs()
HRITMSGFileHandler.calibrate()
HRITMSGFileHandler.end_time
HRITMSGFileHandler.get_area_def()
HRITMSGFileHandler.get_dataset()
HRITMSGFileHandler.nominal_end_time
HRITMSGFileHandler.nominal_start_time
HRITMSGFileHandler.observation_end_time
HRITMSGFileHandler.observation_start_time
HRITMSGFileHandler.pad_hrv_data()
HRITMSGFileHandler.start_time
HRITMSGPrologueEpilogueBase
HRITMSGPrologueFileHandler
pad_data()
- satpy.readers.seviri_l1b_icare module
- Introduction
- Example:
SEVIRI_ICARE
SEVIRI_ICARE._get_dsname()
SEVIRI_ICARE.alt
SEVIRI_ICARE.end_time
SEVIRI_ICARE.geoloc
SEVIRI_ICARE.get_area_def()
SEVIRI_ICARE.get_dataset()
SEVIRI_ICARE.get_metadata()
SEVIRI_ICARE.projection
SEVIRI_ICARE.projlon
SEVIRI_ICARE.res
SEVIRI_ICARE.satlon
SEVIRI_ICARE.sensor_name
SEVIRI_ICARE.start_time
SEVIRI_ICARE.zone
- satpy.readers.seviri_l1b_native module
- Introduction
ImageBoundaries
NativeMSGFileHandler
NativeMSGFileHandler._add_scanline_acq_time()
NativeMSGFileHandler._get_acq_time_hrv()
NativeMSGFileHandler._get_acq_time_visir()
NativeMSGFileHandler._get_calib_coefs()
NativeMSGFileHandler._get_data_dtype()
NativeMSGFileHandler._get_hrv_channel()
NativeMSGFileHandler._get_orbital_parameters()
NativeMSGFileHandler._get_visir_channel()
NativeMSGFileHandler._make_dask_array_with_map_blocks()
NativeMSGFileHandler._number_of_visir_channels()
NativeMSGFileHandler._read_header()
NativeMSGFileHandler._read_trailer()
NativeMSGFileHandler._repeat_cycle_duration
NativeMSGFileHandler._update_attrs()
NativeMSGFileHandler.calibrate()
NativeMSGFileHandler.end_time
NativeMSGFileHandler.get_area_def()
NativeMSGFileHandler.get_area_extent()
NativeMSGFileHandler.get_dataset()
NativeMSGFileHandler.is_roi()
NativeMSGFileHandler.nominal_end_time
NativeMSGFileHandler.nominal_start_time
NativeMSGFileHandler.observation_end_time
NativeMSGFileHandler.observation_start_time
NativeMSGFileHandler.satpos
NativeMSGFileHandler.start_time
Padder
_get_array()
get_available_channels()
has_archive_header()
read_header()
- satpy.readers.seviri_l1b_native_hdr module
DEFAULT_15_SECONDARY_PRODUCT_HEADER
GSDTRecords
HritPrologue
L15DataHeaderRecord
L15MainProductHeaderRecord
L15PhData
L15SecondaryProductHeaderRecord
Msg15NativeHeaderRecord
Msg15NativeTrailerRecord
Msg15NativeTrailerRecord.geometric_quality
Msg15NativeTrailerRecord.get()
Msg15NativeTrailerRecord.image_production_stats
Msg15NativeTrailerRecord.navigation_extraction_results
Msg15NativeTrailerRecord.radiometric_quality
Msg15NativeTrailerRecord.seviri_l15_trailer
Msg15NativeTrailerRecord.timeliness_and_completeness
get_native_header()
- satpy.readers.seviri_l1b_nc module
NCSEVIRIFileHandler
NCSEVIRIFileHandler._add_scanline_acq_time()
NCSEVIRIFileHandler._get_acq_time_hrv()
NCSEVIRIFileHandler._get_acq_time_visir()
NCSEVIRIFileHandler._get_calib_coefs()
NCSEVIRIFileHandler._get_earth_model()
NCSEVIRIFileHandler._mask_bad_quality()
NCSEVIRIFileHandler._repeat_cycle_duration
NCSEVIRIFileHandler._update_attrs()
NCSEVIRIFileHandler.calibrate()
NCSEVIRIFileHandler.end_time
NCSEVIRIFileHandler.get_area_def()
NCSEVIRIFileHandler.get_area_extent()
NCSEVIRIFileHandler.get_dataset()
NCSEVIRIFileHandler.get_metadata()
NCSEVIRIFileHandler.nc
NCSEVIRIFileHandler.nominal_end_time
NCSEVIRIFileHandler.nominal_start_time
NCSEVIRIFileHandler.observation_end_time
NCSEVIRIFileHandler.observation_start_time
NCSEVIRIFileHandler.satpos
NCSEVIRIFileHandler.start_time
NCSEVIRIHRVFileHandler
- satpy.readers.seviri_l2_grib module
SeviriL2GribFileHandler
SeviriL2GribFileHandler._get_attributes()
SeviriL2GribFileHandler._get_from_msg()
SeviriL2GribFileHandler._get_proj_area()
SeviriL2GribFileHandler._get_xarray_from_msg()
SeviriL2GribFileHandler._read_attributes()
SeviriL2GribFileHandler._scale_earth_axis()
SeviriL2GribFileHandler.end_time
SeviriL2GribFileHandler.get_area_def()
SeviriL2GribFileHandler.get_dataset()
SeviriL2GribFileHandler.start_time
- satpy.readers.sgli_l1b module
HDF5SGLI
HDF5SGLI.calibrate_ir()
HDF5SGLI.calibrate_vis()
HDF5SGLI.end_time
HDF5SGLI.get_angles()
HDF5SGLI.get_dataset()
HDF5SGLI.get_full_angles()
HDF5SGLI.get_ir_dataset()
HDF5SGLI.get_lon_lats()
HDF5SGLI.get_missing_and_saturated()
HDF5SGLI.get_sensor_angles()
HDF5SGLI.get_solar_angles()
HDF5SGLI.get_visible_dataset()
HDF5SGLI.interpolate_spherical()
HDF5SGLI.mask_to_14_bits()
HDF5SGLI.prepare_dataset()
HDF5SGLI.scale_array()
HDF5SGLI.start_time
- satpy.readers.slstr_l1b module
- satpy.readers.smos_l2_wind module
SMOSL2WINDFileHandler
SMOSL2WINDFileHandler._adjust_lon_coord()
SMOSL2WINDFileHandler._create_area_extent()
SMOSL2WINDFileHandler._mask_dataset()
SMOSL2WINDFileHandler._remove_time_coordinate()
SMOSL2WINDFileHandler._rename_coords()
SMOSL2WINDFileHandler._roll_dataset_lon_coord()
SMOSL2WINDFileHandler.available_datasets()
SMOSL2WINDFileHandler.end_time
SMOSL2WINDFileHandler.get_area_def()
SMOSL2WINDFileHandler.get_dataset()
SMOSL2WINDFileHandler.get_metadata()
SMOSL2WINDFileHandler.platform_name
SMOSL2WINDFileHandler.platform_shortname
SMOSL2WINDFileHandler.start_time
- satpy.readers.tropomi_l2 module
TROPOMIL2FileHandler
TROPOMIL2FileHandler._iterate_over_dataset_contents()
TROPOMIL2FileHandler._rename_dims()
TROPOMIL2FileHandler.available_datasets()
TROPOMIL2FileHandler.end_time
TROPOMIL2FileHandler.get_dataset()
TROPOMIL2FileHandler.get_metadata()
TROPOMIL2FileHandler.platform_shortname
TROPOMIL2FileHandler.prepare_geo()
TROPOMIL2FileHandler.sensor
TROPOMIL2FileHandler.sensor_names
TROPOMIL2FileHandler.start_time
TROPOMIL2FileHandler.time_coverage_end
TROPOMIL2FileHandler.time_coverage_start
- satpy.readers.utils module
CalibrationCoefficientPicker
_CalibrationCoefficientParser
_CalibrationCoefficientParser._flatten_multi_channel_keys()
_CalibrationCoefficientParser._get_coefs()
_CalibrationCoefficientParser._get_coefs_by_mode()
_CalibrationCoefficientParser._get_coefs_set()
_CalibrationCoefficientParser._is_mode()
_CalibrationCoefficientParser._is_multi_channel()
_CalibrationCoefficientParser._parse_dict()
_CalibrationCoefficientParser._replace_calib_mode_with_actual_coefs()
_CalibrationCoefficientParser.get_calib_mode()
_CalibrationCoefficientParser.parse()
_get_geostationary_height()
_get_geostationary_reference_longitude()
_get_geostationary_semi_axes()
_lonlat_from_geos_angle()
_make_coefs()
_unzip_FSFile()
_unzip_local_file()
_unzip_with_bz2()
_unzip_with_pbzip()
_write_uncompressed_file()
apply_earthsun_distance_correction()
apply_rad_correction()
bbox()
fromfile()
generic_open()
get_array_date()
get_earth_radius()
get_geostationary_angle_extent()
get_geostationary_bounding_box()
get_geostationary_mask()
get_sub_area()
get_user_calibration_factors()
np2str()
reduce_mda()
remove_earthsun_distance_correction()
unzip_context()
unzip_file()
- satpy.readers.vaisala_gld360 module
- satpy.readers.vii_base_nc module
ViiNCBaseFileHandler
ViiNCBaseFileHandler._get_global_attributes()
ViiNCBaseFileHandler._perform_calibration()
ViiNCBaseFileHandler._perform_geo_interpolation()
ViiNCBaseFileHandler._perform_interpolation()
ViiNCBaseFileHandler._perform_orthorectification()
ViiNCBaseFileHandler._standardize_dims()
ViiNCBaseFileHandler.end_time
ViiNCBaseFileHandler.get_dataset()
ViiNCBaseFileHandler.sensor
ViiNCBaseFileHandler.spacecraft_name
ViiNCBaseFileHandler.ssp_lon
ViiNCBaseFileHandler.start_time
- satpy.readers.vii_l1b_nc module
- satpy.readers.vii_l2_nc module
- satpy.readers.vii_utils module
- satpy.readers.viirs_atms_sdr_base module
JPSS_SDR_FileHandler
JPSS_SDR_FileHandler._adjust_scaling_factors()
JPSS_SDR_FileHandler._generate_file_key()
JPSS_SDR_FileHandler._get_aggr_path()
JPSS_SDR_FileHandler._get_rows_per_granule()
JPSS_SDR_FileHandler._get_scans_per_granule()
JPSS_SDR_FileHandler._get_valid_scaling_factors()
JPSS_SDR_FileHandler._get_variable()
JPSS_SDR_FileHandler._map_and_apply_factors()
JPSS_SDR_FileHandler._mask_and_reshape_factors()
JPSS_SDR_FileHandler._parse_datetime()
JPSS_SDR_FileHandler._scale_factors_for_units()
JPSS_SDR_FileHandler._scan_size()
JPSS_SDR_FileHandler._update_data_attributes()
JPSS_SDR_FileHandler.available_datasets()
JPSS_SDR_FileHandler.concatenate_dataset()
JPSS_SDR_FileHandler.end_orbit_number
JPSS_SDR_FileHandler.end_time
JPSS_SDR_FileHandler.expand_single_values()
JPSS_SDR_FileHandler.mask_fill_values()
JPSS_SDR_FileHandler.platform_name
JPSS_SDR_FileHandler.scale_data_to_specified_unit()
JPSS_SDR_FileHandler.scale_swath_data()
JPSS_SDR_FileHandler.sensor_name
JPSS_SDR_FileHandler.start_orbit_number
JPSS_SDR_FileHandler.start_time
_apply_factors()
_get_file_units()
_get_scale_factors_for_units()
- satpy.readers.viirs_compact module
VIIRSCompactFileHandler
VIIRSCompactFileHandler._get_geographical_chunks()
VIIRSCompactFileHandler.angles()
VIIRSCompactFileHandler.end_time
VIIRSCompactFileHandler.expand_angle_and_nav()
VIIRSCompactFileHandler.expansion_coefs
VIIRSCompactFileHandler.get_bounding_box()
VIIRSCompactFileHandler.get_dataset()
VIIRSCompactFileHandler.navigate()
VIIRSCompactFileHandler.read_dataset()
VIIRSCompactFileHandler.read_geo()
VIIRSCompactFileHandler.start_time
_interpolate_data()
convert_from_angles()
convert_to_angles()
expand()
expand_arrays()
get_coefs()
- satpy.readers.viirs_edr module
- Vegetation Indexes
- AOD Filtering
VIIRSAODHandler
VIIRSJRRFileHandler
VIIRSJRRFileHandler._coord_names_for_resolution()
VIIRSJRRFileHandler._decode_flag_meanings()
VIIRSJRRFileHandler._dynamic_variables_from_file()
VIIRSJRRFileHandler._generate_dynamic_metadata()
VIIRSJRRFileHandler._mask_invalid()
VIIRSJRRFileHandler._rename_dims()
VIIRSJRRFileHandler._sanitize_metadata()
VIIRSJRRFileHandler.available_datasets()
VIIRSJRRFileHandler.end_time
VIIRSJRRFileHandler.get_dataset()
VIIRSJRRFileHandler.platform_name
VIIRSJRRFileHandler.rows_per_scans()
VIIRSJRRFileHandler.start_time
VIIRSLSTHandler
VIIRSSurfaceReflectanceWithVIHandler
- satpy.readers.viirs_edr_active_fires module
- satpy.readers.viirs_edr_flood module
- satpy.readers.viirs_l1b module
VIIRSL1BFileHandler
VIIRSL1BFileHandler._dataset_name_to_var_path()
VIIRSL1BFileHandler._get_dataset_file_units()
VIIRSL1BFileHandler._get_dataset_valid_range()
VIIRSL1BFileHandler._is_scan_based_array()
VIIRSL1BFileHandler._parse_datetime()
VIIRSL1BFileHandler.adjust_scaling_factors()
VIIRSL1BFileHandler.available_datasets()
VIIRSL1BFileHandler.end_orbit_number
VIIRSL1BFileHandler.end_time
VIIRSL1BFileHandler.get_dataset()
VIIRSL1BFileHandler.get_metadata()
VIIRSL1BFileHandler.get_shape()
VIIRSL1BFileHandler.platform_name
VIIRSL1BFileHandler.sensor_name
VIIRSL1BFileHandler.start_orbit_number
VIIRSL1BFileHandler.start_time
- satpy.readers.viirs_l2 module
VIIRSL2FileHandler
VIIRSL2FileHandler._get_dataset_file_units()
VIIRSL2FileHandler._get_dataset_valid_range()
VIIRSL2FileHandler._parse_datetime()
VIIRSL2FileHandler.adjust_scaling_factors()
VIIRSL2FileHandler.available_datasets()
VIIRSL2FileHandler.end_orbit_number
VIIRSL2FileHandler.end_time
VIIRSL2FileHandler.get_dataset()
VIIRSL2FileHandler.get_metadata()
VIIRSL2FileHandler.platform_name
VIIRSL2FileHandler.sensor_name
VIIRSL2FileHandler.start_orbit_number
VIIRSL2FileHandler.start_time
- satpy.readers.viirs_sdr module
VIIRSSDRFileHandler
VIIRSSDRReader
VIIRSSDRReader._abc_impl
VIIRSSDRReader._create_new_geo_file_handlers()
VIIRSSDRReader._geo_dataset_groups()
VIIRSSDRReader._get_coordinates_for_dataset_key()
VIIRSSDRReader._get_file_handlers()
VIIRSSDRReader._get_primary_secondary_geo_groups()
VIIRSSDRReader._is_viirs_dataset()
VIIRSSDRReader._load_filenames_from_geo_ref()
VIIRSSDRReader._remove_datasets_from_files()
VIIRSSDRReader._remove_geo_datasets_from_files()
VIIRSSDRReader._remove_non_viirs_datasets_from_files()
VIIRSSDRReader._remove_not_loaded_geo_dataset_group()
VIIRSSDRReader.filter_filenames_by_info()
VIIRSSDRReader.get_right_geo_fhs()
_get_invalid_info()
split_desired_other()
- satpy.readers.viirs_vgac_l1c_nc module
- satpy.readers.virr_l1b module
- satpy.readers.xmlformat module
- satpy.readers.yaml_reader module
AbstractYAMLReader
AbstractYAMLReader._abc_impl
AbstractYAMLReader._build_id_permutations()
AbstractYAMLReader.all_dataset_ids
AbstractYAMLReader.all_dataset_names
AbstractYAMLReader.available_dataset_ids
AbstractYAMLReader.available_dataset_names
AbstractYAMLReader.end_time
AbstractYAMLReader.filter_selected_filenames()
AbstractYAMLReader.from_config_files()
AbstractYAMLReader.get_dataset_key()
AbstractYAMLReader.load()
AbstractYAMLReader.load_ds_ids_from_config()
AbstractYAMLReader.select_files_from_directory()
AbstractYAMLReader.select_files_from_pathnames()
AbstractYAMLReader.sensor_names
AbstractYAMLReader.start_time
AbstractYAMLReader.supports_sensor()
FileYAMLReader
FileYAMLReader._abc_impl
FileYAMLReader._assign_coords_from_dataarray()
FileYAMLReader._coords_cache
FileYAMLReader._file_handlers_available_datasets()
FileYAMLReader._gather_ancillary_variables_ids()
FileYAMLReader._get_coordinates_for_dataset_key()
FileYAMLReader._get_coordinates_for_dataset_keys()
FileYAMLReader._get_file_handlers()
FileYAMLReader._get_lons_lats_from_coords()
FileYAMLReader._load_ancillary_variables()
FileYAMLReader._load_area_def()
FileYAMLReader._load_dataset()
FileYAMLReader._load_dataset_area()
FileYAMLReader._load_dataset_data()
FileYAMLReader._load_dataset_with_area()
FileYAMLReader._make_area_from_coords()
FileYAMLReader._make_swath_definition_from_lons_lats()
FileYAMLReader._new_filehandler_instances()
FileYAMLReader._new_filehandlers_for_filetype()
FileYAMLReader._preferred_filetype()
FileYAMLReader.available_dataset_ids
FileYAMLReader.check_file_covers_area()
FileYAMLReader.create_filehandlers()
FileYAMLReader.create_storage_items()
FileYAMLReader.end_time
FileYAMLReader.filter_fh_by_metadata()
FileYAMLReader.find_required_filehandlers()
FileYAMLReader.get_dataset_key()
FileYAMLReader.load()
FileYAMLReader.sensor_names
FileYAMLReader.start_time
FileYAMLReader.update_ds_ids_from_file_handlers()
GEOFlippableFileYAMLReader
GEOSegmentYAMLReader
GEOSegmentYAMLReader._abc_impl
GEOSegmentYAMLReader._get_empty_segment()
GEOSegmentYAMLReader._get_new_areadef_for_padded_segment()
GEOSegmentYAMLReader._get_new_areadef_heights()
GEOSegmentYAMLReader._get_segments_areadef_with_later_padded()
GEOSegmentYAMLReader._get_y_area_extents_for_padded_segment()
GEOSegmentYAMLReader._load_area_def()
GEOSegmentYAMLReader._load_area_def_with_padding()
GEOSegmentYAMLReader._load_dataset()
GEOSegmentYAMLReader._pad_earlier_segments_area()
GEOSegmentYAMLReader._pad_later_segments_area()
GEOSegmentYAMLReader._sort_segment_filehandler_by_segment_number()
GEOSegmentYAMLReader.create_filehandlers()
GEOVariableSegmentYAMLReader
GEOVariableSegmentYAMLReader._abc_impl
GEOVariableSegmentYAMLReader._collect_segment_position_infos()
GEOVariableSegmentYAMLReader._extract_segment_location_dicts()
GEOVariableSegmentYAMLReader._get_empty_segment()
GEOVariableSegmentYAMLReader._get_new_areadef_heights()
GEOVariableSegmentYAMLReader._initialise_segment_infos()
GEOVariableSegmentYAMLReader._segment_heights()
GenericYAMLReader
_compute_optimal_missing_segment_heights()
_compute_positioning_data_for_missing_group()
_compute_proposed_sizes_of_missing_segments_in_group()
_find_missing_segments()
_flip_dataset_data_and_area_extents()
_get_current_scene_orientation()
_get_dataset_area_extents_array()
_get_empty_segment_with_height()
_get_filebase()
_get_grid_width_to_grid_type()
_get_new_flipped_area_definition()
_get_projection_type()
_get_target_scene_orientation()
_init_positioning_arrays_for_variable_padding()
_load_area_def()
_match_filenames()
_populate_group_end_row_using_later_segment()
_populate_group_start_end_row_using_neighbour_segments()
_populate_group_start_row_using_previous_segment()
_populate_positioning_arrays_with_available_segment_info()
_populate_start_end_rows_of_missing_segments_with_proposed_sizes()
_set_orientation()
_stack_area_defs()
_verify_reader_info_assign_config_files()
listify_string()
load_yaml_configs()
split_integer_in_most_equal_parts()
Module contents
Shared objects of the various reader classes.
- class satpy.readers.FSFile(file, fs=None)[source]
Bases:
PathLike
Implementation of a PathLike file object, that can be opened.
Giving the filenames to
Scene
with valid transfer protocols will automatically use this class so manual usage of this class is needed mainly for fine-grained control.This class is made to be used in conjuction with fsspec or s3fs. For example:
from satpy import Scene import fsspec filename = 'noaa-goes16/ABI-L1b-RadC/2019/001/17/*_G16_s20190011702186*' the_files = fsspec.open_files("simplecache::s3://" + filename, s3={'anon': True}) from satpy.readers import FSFile fs_files = [FSFile(open_file) for open_file in the_files] scn = Scene(filenames=fs_files, reader='abi_l1b') scn.load(['true_color_raw'])
Initialise the FSFile instance.
- Parameters:
file (str, Pathlike, or OpenFile) – String, object implementing the os.PathLike protocol, or an fsspec.OpenFile instance. If passed an instance of fsspec.OpenFile, the following argument
fs
has no effect.fs (fsspec filesystem, optional) – Object implementing the fsspec filesystem protocol.
- _abc_impl = <_abc._abc_data object>
- _update_with_fs_open_kwargs(user_kwargs)[source]
Complement keyword arguments for opening a file via file system.
- property fs
Return the underlying private filesystem attribute.
- satpy.readers._assign_files_to_readers(files_to_sort, reader_names, reader_kwargs)[source]
Assign files to readers.
Given a list of file names (paths), match those to reader instances.
Internal helper for group_files.
- satpy.readers._filter_groups(groups, missing='pass')[source]
Filter multi-reader group-files behavior.
Helper for group_files. When group_files is called with multiple readers, make sure that the desired behaviour for missing files is enforced: if missing is
"raise"
, raise an exception if at least one group has at least one reader without files; if it is"skip"
, remove those. If it is"pass"
, do nothing. Yields groups to be kept.
- satpy.readers._get_file_keys_for_reader_files(reader_files, group_keys=None)[source]
From a mapping from _assign_files_to_readers, get file keys.
Given a mapping where each key is a reader name and each value is a tuple of reader instance (typically FileYAMLReader) and a collection of files, return a mapping with the same keys, but where the values are lists of tuples of (keys, filename), where keys are extracted from the filenames according to group_keys and filenames are the names those keys were extracted from.
Internal helper for group_files.
- Returns:
Mapping[str, List[Tuple[Tuple, str]]], as described.
- satpy.readers._get_fs_open_kwargs(file)[source]
Get keyword arguments for opening a file via file system.
For example compression.
- satpy.readers._get_keys_with_empty_values(grp)[source]
Find mapping keys where values have length zero.
Helper for _filter_groups, which is in turn a helper for group_files. Given a mapping key -> Collection[Any], return the keys where the length of the collection is zero.
- Parameters:
grp (Mapping[Any, Collection[Any]]) – dictionary to check
- Returns:
set of keys
- satpy.readers._get_loadables_for_reader_config(base_dir, reader, sensor, reader_configs, reader_kwargs, fs)[source]
Get loadables for reader configs.
Helper for find_files_and_readers.
- Parameters:
base_dir – as for find_files_and_readers
reader – as for find_files_and_readers
sensor – as for find_files_and_readers
reader_configs – reader metadata such as returned by configs_for_reader.
reader_kwargs – Keyword arguments to be passed to reader.
fs (FileSystem) – as for find_files_and_readers
- satpy.readers._get_reader_kwargs(reader, reader_kwargs)[source]
Help load_readers to form reader_kwargs.
Helper for load_readers to get reader_kwargs and reader_kwargs_without_filter in the desirable form.
- satpy.readers._get_sorted_file_groups(all_file_keys, time_threshold)[source]
Get sorted file groups.
Get a list of dictionaries, where each list item consists of a dictionary mapping a tuple of keys to a mapping of reader names to files. The files listed in each list item are considered to be grouped within the same time.
- Parameters:
all_file_keys
_get_file_keys_for_reader_files (as returned by)
time_threshold – temporal threshold
- Returns:
List[Mapping[Tuple, Mapping[str, List[str]]]], as described
Internal helper for group_files.
- satpy.readers.available_readers(as_dict=False, yaml_loader=<class 'yaml.loader.UnsafeLoader'>)[source]
Available readers based on current configuration.
- Parameters:
as_dict (bool) – Optionally return reader information as a dictionary. Default: False.
yaml_loader (Optional[Union[yaml.BaseLoader, yaml.FullLoader, yaml.UnsafeLoader]]) – The yaml loader type. Default:
yaml.UnsafeLoader
.
- Returns:
List of available reader names. If as_dict is True then a list of dictionaries including additionally reader information is returned.
- Return type:
- satpy.readers.configs_for_reader(reader=None)[source]
Generate reader configuration files for one or more readers.
- Parameters:
reader (Optional[str]) – Yield configs only for this reader
Returns: Generator of lists of configuration files
- satpy.readers.find_files_and_readers(start_time=None, end_time=None, base_dir=None, reader=None, sensor=None, filter_parameters=None, reader_kwargs=None, missing_ok=False, fs=None)[source]
Find files matching the provided parameters.
Use start_time and/or end_time to limit found filenames by the times in the filenames (not the internal file metadata). Files are matched if they fall anywhere within the range specified by these parameters.
Searching is NOT recursive.
Files may be either on-disk or on a remote file system. By default, files are searched for locally. Users can search on remote filesystems by passing an instance of an implementation of fsspec.spec.AbstractFileSystem (strictly speaking, any object of a class implementing a
glob
method works).If locating files on a local file system, the returned dictionary can be passed directly to the Scene object through the filenames keyword argument. If it points to a remote file system, it is the responsibility of the user to download the files first (directly reading from cloud storage is not currently available in Satpy).
The behaviour of time-based filtering depends on whether or not the filename contains information about the end time of the data or not:
if the end time is not present in the filename, the start time of the filename is used and has to fall between (inclusive) the requested start and end times
otherwise, the timespan of the filename has to overlap the requested timespan
Example usage for querying a s3 filesystem using the s3fs module:
>>> import s3fs, satpy.readers, datetime >>> satpy.readers.find_files_and_readers( ... base_dir="s3://noaa-goes16/ABI-L1b-RadF/2019/321/14/", ... fs=s3fs.S3FileSystem(anon=True), ... reader="abi_l1b", ... start_time=datetime.datetime(2019, 11, 17, 14, 40)) {'abi_l1b': [...]}
- Parameters:
start_time (datetime) – Limit used files by starting time.
end_time (datetime) – Limit used files by ending time.
base_dir (str) – The directory to search for files containing the data to load. Defaults to the current directory.
reader (str or list) – The name of the reader to use for loading the data or a list of names.
sensor (str or list) – Limit used files by provided sensors.
filter_parameters (dict) – Filename pattern metadata to filter on. start_time and end_time are automatically added to this dictionary. Shortcut for reader_kwargs[‘filter_parameters’].
reader_kwargs (dict) – Keyword arguments to pass to specific reader instances to further configure file searching.
missing_ok (bool) – If False (default), raise ValueError if no files are found. If True, return empty dictionary if no files are found.
fs (
fsspec.spec.AbstractFileSystem
) – Optional, instance of implementation offsspec.spec.AbstractFileSystem
(strictly speaking, any object of a class implementing.glob
is enough). Defaults to searching the local filesystem.
- Returns:
Dictionary mapping reader name string to list of filenames
- Return type:
- satpy.readers.get_valid_reader_names(reader)[source]
Check for old reader names or readers pending deprecation.
- satpy.readers.group_files(files_to_sort, reader=None, time_threshold=10, group_keys=None, reader_kwargs=None, missing='pass')[source]
Group series of files by file pattern information.
By default this will group files by their filename
start_time
assuming it exists in the pattern. By passing the individual dictionaries returned by this function to the Scene classes’filenames
, a series Scene objects can be easily created.- Parameters:
files_to_sort (iterable) – File paths to sort in to group
reader (str or Collection[str]) – Reader or readers whose file patterns should be used to sort files. If not given, try all readers (slow, adding a list of readers is strongly recommended).
time_threshold (int) – Number of seconds used to consider time elements in a group as being equal. For example, if the ‘start_time’ item is used to group files then any time within time_threshold seconds of the first file’s ‘start_time’ will be seen as occurring at the same time.
group_keys (list or tuple) – File pattern information to use to group files. Keys are sorted in order and only the first key is used when comparing datetime elements with time_threshold (see above). This means it is recommended that datetime values should only come from the first key in
group_keys
. Otherwise, there is a good chance that files will not be grouped properly (datetimes being barely unequal). Defaults to a reader’sgroup_keys
configuration (set in YAML), otherwise('start_time',)
. When passing multiple readers, passing group_keys is strongly recommended as the behaviour without doing so is undefined.reader_kwargs (dict) – Additional keyword arguments to pass to reader creation.
missing (str) – Parameter to control the behavior in the scenario where multiple readers were passed, but at least one group does not have files associated with every reader. Valid values are
"pass"
(the default),"skip"
, and"raise"
. If set to"pass"
, groups are passed as-is. Some groups may have zero files for some readers. If set to"skip"
, groups for which one or more readers have zero files are skipped (meaning that some files may not be associated to any group). If set to"raise"
, raise a FileNotFoundError in case there are any groups for which one or more readers have no files associated.
- Returns:
List of dictionaries mapping ‘reader’ to a list of filenames. Each of these dictionaries can be passed as
filenames
to a Scene object.
- satpy.readers.load_reader(reader_configs, **reader_kwargs)[source]
Import and setup the reader from reader_info.
- satpy.readers.load_readers(filenames=None, reader=None, reader_kwargs=None)[source]
Create specified readers and assign files to them.
- Parameters:
filenames (iterable or dict) – A sequence of files that will be used to load data from. A
dict
object should map reader names to a list of filenames for that reader.reader (str or list) – The name of the reader to use for loading the data or a list of names.
reader_kwargs (dict) – Keyword arguments to pass to specific reader instances. This can either be a single dictionary that will be passed to all reader instances, or a mapping of reader names to dictionaries. If the keys of
reader_kwargs
match exactly the list of strings inreader
or the keys of filenames, each reader instance will get its own keyword arguments accordingly.
Returns: Dictionary mapping reader name to reader instance
- satpy.readers.open_file_or_filename(unknown_file_thing, mode=None)[source]
Try to open the provided file “thing” if needed, otherwise return the filename or Path.
This wraps the logic of getting something like an fsspec OpenFile object that is not directly supported by most reading libraries and making it usable. If a
pathlib.Path
object or something that is not open-able is provided then that object is passed along. In the case of fsspec OpenFiles their.open()
method is called and the result returned.