satpy.readers.avhrr_l1b_gaclac module

Reading and calibrating GAC and LAC AVHRR data.

Uses Pygac under the hood. See the Pygac Documentation for supported data formats as well as calibration and navigation methods.

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: 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.

_get_angle(key)[source]

Get angles and buffer results.

_get_channel(key)[source]

Get channel and buffer results.

_get_qual_flags()[source]

Get quality flags and buffer results.

_is_avhrr2()[source]
_is_avhrr3()[source]
_slice(data)[source]

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

Returns:

Sliced data

_strip_invalid_lat()[source]

Strip scanlines with invalid coordinates in the beginning/end of the orbit.

Returns:

First and last scanline with valid latitudes.

_update_attrs(res)[source]

Update dataset attributes.

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.