satpy.readers.avhrr_l1b_gaclac module

Reading and calibrating GAC and LAC AVHRR data.

class satpy.readers.avhrr_l1b_gaclac.GACLACFile(filename, filename_info, filetype_info, start_line=None, end_line=None, strip_invalid_coords=True, interpolate_coords=True, **reader_kwargs)[source]

Bases: satpy.readers.file_handlers.BaseFileHandler

Reader for GAC and LAC data.

Init the file handler.

Parameters
  • start_line – User defined start scanline

  • end_line – User defined end scanline

  • strip_invalid_coords – Strip scanlines with invalid coordinates in the beginning/end of the orbit

  • interpolate_coords – Interpolate coordinates from every eighth pixel to all pixels.

  • reader_kwargs – More keyword arguments to be passed to pygac.Reader. See the pygac documentation for available options.

property end_time

Get the end time.

get_dataset(key, info)[source]

Get the dataset.

read_raw_data()[source]

Create a pygac reader and read raw data from the file.

slice(data, times)[source]

Select user-defined scanlines and/or strip invalid coordinates.

Furthermore, update scanline timestamps.

Parameters
  • data – Data to be sliced

  • times – Scanline timestamps

Returns

Sliced data and timestamps

property start_time

Get the start time.