satpy.readers.iasi_ng_l2_nc module

IASI-NG L2 reader implementation.

This reader supports reading all the products from the IASI-NG L2 processing level:

  • IASI-L2-TWV

  • IASI-L2-CLD

  • IASI-L2-GHG

  • IASI-L2-SFC

  • IASI-L2-O3

  • IASI-L2-CO

For more information in the product files content, please refer to the EPS-SG IASI-NG Level 2 Format specification document provided by EUMETSAT at: https://www-cdn.eumetsat.int/files/2022-04/EPS-SG%20IASI-NG%20L2%20Product%20Format%20Specification_web_0.pdf

class satpy.readers.iasi_ng_l2_nc.IASINGL2NCFileHandler(filename, filename_info, filetype_info, **kwargs)[source]

Bases: NetCDF4FsspecFileHandler

Reader for IASI-NG L2 products in NetCDF format.

Initialize object.

__init__(filename, filename_info, filetype_info, **kwargs)[source]

Initialize object.

_collect_groups_info(base_name, obj)[source]
available_datasets(configured_datasets=None)[source]

Determine automatically the datasets provided by this file.

First yield on any element from the provided configured_datasets, and then continues with the internally provided datasets.

check_variable_alias(vpath, ds_name)[source]

Check if a variable path matches an alias pattern.

convert_to_datetime(data_array, ds_info)[source]

Convert the data to datetime values.

property end_time

Get the end time.

get_dataset(dataset_id, ds_info=None)[source]

Get a dataset.

get_dataset_infos(ds_name)[source]

Retrieve the dataset infos corresponding to one of the registered datasets.

get_transformed_dataset(ds_info)[source]

Retrieve a dataset with all transformations applied on it.

has_at_most_one_element(shape)[source]

Check if a shape corresponds to an array with at most 1 element.

has_variable_desc(var_path)[source]

Check if a given variable path is available.

is_attribute_path(var_path)[source]

Check if a given path is a root attribute path.

is_netcdf_group(obj)[source]

Check if a given object is a netCDF group.

is_property_path(var_path)[source]

Check if a given path is a sub-property path.

is_variable_ignored(var_name)[source]

Check if a variable should be ignored.

parse_file_content()[source]

Parse the file_content to discover the available datasets and dimensions.

prepare_variable_description(key, shape)[source]

Prepare a description for a given variable.

process_attribute(key, value)[source]

Process a attribute entry from the file_content.

process_dimension(key, value)[source]

Process a dimension entry from the file_content.

process_variable(key)[source]

Process a variable entry from the file_content.

register_available_datasets()[source]

Register the available dataset in the current product file.

register_dataset(ds_name, desc)[source]

Register a simple dataset given its name and a desc dict.

same_dim_names_for_different_groups(dim_name, value)[source]

Check if we already have this dim_name registered from another group.

property sensor_names

List of sensors represented in this file.

property start_time

Get the start time.

variable_path_exists(var_path)[source]

Check if a given variable path is available in the underlying netCDF file.

All we really need to do here is to access the file_content dictionary and check if we have a variable under that var_path key.