satpy.readers.abi_base module

Advance Baseline Imager reader base class for the Level 1b and l2+ reader.

class satpy.readers.abi_base.NC_ABI_BASE(filename, filename_info, filetype_info)[source]

Bases: BaseFileHandler

Base reader for ABI L1B L2+ NetCDF4 files.

Open the NetCDF file with xarray and prepare the Dataset for reading.

_adjust_coords(data, item)[source]

Handle coordinates (and recursive fun).

_adjust_data(data, item)[source]

Adjust data with typing, scaling and filling.

_get_areadef_fixedgrid(key)[source]

Get the area definition of the data at hand.

Note this method takes special care to round and cast numbers to new data types so that the area definitions for different resolutions (different bands) should be equal. Without the special rounding in __getitem__ and this method the area extents can be 0 to 1.0 meters off depending on how the calculations are done.

_get_areadef_latlon(key)[source]

Get the area definition of the data at hand.

static _rename_dims(nc)[source]
property end_time

End time of the current file’s observations.

get_area_def(key)[source]

Get the area definition of the data at hand.

get_dataset(key, info)[source]

Load a dataset.

property nc

Get the xarray dataset for this file.

property sensor

Get sensor name for current file handler.

spatial_resolution_to_number()[source]

Convert the ‘spatial_resolution’ global attribute to meters.

property start_time

Start time of the current file’s observations.