satpy.readers.viirs_atms_sdr_base module

Common utilities for reading VIIRS and ATMS SDR data.

class satpy.readers.viirs_atms_sdr_base.JPSS_SDR_FileHandler(filename, filename_info, filetype_info, **kwargs)[source]

Bases: HDF5FileHandler

Base class for reading JPSS VIIRS & ATMS SDR HDF5 Files.

Initialize file handler.

_adjust_scaling_factors(factors, file_units, output_units)[source]

Adjust scaling factors .

_generate_file_key(ds_id, ds_info, factors=False)[source]
_get_aggr_path(fileinfo_key, aggr_default)[source]
_get_rows_per_granule(dataset_group)[source]
_get_scans_per_granule(dataset_group)[source]
static _get_valid_scaling_factors(factors)[source]
_get_variable(var_path, **kwargs)[source]
static _map_and_apply_factors(data, factors, rows_per_gran)[source]
static _mask_and_reshape_factors(factors)[source]
_parse_datetime(datestr, timestr)[source]
static _scale_factors_for_units(factors, file_units, output_units)[source]
_scan_size(dataset_group_name)[source]

Get how many rows of data constitute one scanline.

_update_data_attributes(data, dataset_id, ds_info)[source]
available_datasets(configured_datasets=None)[source]

Generate dataset info and their availablity.

See satpy.readers.file_handlers.BaseFileHandler.available_datasets() for details.

concatenate_dataset(dataset_group, var_path, **kwargs)[source]

Concatenate dataset.

property end_orbit_number

Get end orbit number.

property end_time

Get end time.

static expand_single_values(var, scans)[source]

Expand single valued variable to full scan lengths.

mask_fill_values(data, ds_info)[source]

Mask fill values.

property platform_name

Get platform name.

scale_data_to_specified_unit(data, dataset_id, ds_info)[source]

Get sscale and offset factors and convert/scale data to given physical unit.

scale_swath_data(data, scaling_factors, dataset_group)[source]

Scale swath data using scaling factors and offsets.

Multi-granule (a.k.a. aggregated) files will have more than the usual two values.

property sensor_name

Get sensor name.

property start_orbit_number

Get start orbit number.

property start_time

Get start time.

satpy.readers.viirs_atms_sdr_base._apply_factors(data, factor_set)[source]
satpy.readers.viirs_atms_sdr_base._get_file_units(dataset_id, ds_info)[source]

Get file units from metadata.

satpy.readers.viirs_atms_sdr_base._get_scale_factors_for_units(factors, file_units, output_units)[source]