satpy.readers.vii_base_nc module

EUMETSAT EPS-SG Visible/Infrared Imager (VII) readers base class.

class satpy.readers.vii_base_nc.ViiNCBaseFileHandler(filename, filename_info, filetype_info, orthorect=False)[source]

Bases: NetCDF4FileHandler

Base reader class for VII products in netCDF format.

Parameters:
  • filename (str) – File to read

  • filename_info (dict) – Dictionary with filename information

  • filetype_info (dict) – Dictionary with filetype information

  • orthorect (bool) – activates the orthorectification correction where available

Prepare the class for dataset reading.

_get_global_attributes()[source]

Create a dictionary of global attributes to be added to all datasets.

_perform_calibration(variable, dataset_info)[source]

Perform the calibration.

static _perform_geo_interpolation(longitude, latitude)[source]

Perform the interpolation of geographic coodinates from tie points to pixel points.

Parameters:
  • longitude – xarray DataArray containing the longitude dataset to interpolate.

  • latitude – xarray DataArray containing the longitude dataset to interpolate.

Returns:

tuple of arrays containing the interpolate values, all the original metadata

and the updated dimension names.

static _perform_interpolation(variable)[source]

Perform the interpolation from tie points to pixel points.

Parameters:

variable – xarray DataArray containing the dataset to interpolate.

Returns:

array containing the interpolate values, all the original metadata

and the updated dimension names.

Return type:

DataArray

_perform_orthorectification(variable, orthorect_data_name)[source]

Perform the orthorectification.

_standardize_dims(variable)[source]

Standardize dims to y, x.

property end_time

Get observation end time.

get_dataset(dataset_id, dataset_info)[source]

Get dataset using file_key in dataset_info.

property sensor

Return sensor.

property spacecraft_name

Return spacecraft name.

property ssp_lon

Return subsatellite point longitude.

property start_time

Get observation start time.