satpy.readers.fci_l2_nc module
Reader for the FCI L2 products in NetCDF4 format.
- class satpy.readers.fci_l2_nc.FciL2CommonFunctions[source]
Bases:
object
Shared operations for file handlers.
- static _add_flag_values_and_meanings(filename, key, variable)[source]
Build flag values and meaning from enum datatype.
- _get_global_attributes()[source]
Create a dictionary of global attributes to be added to all datasets.
- Returns:
- A dictionary of global attributes.
filename: name of the product file spacecraft_name: name of the spacecraft ssp_lon: longitude of subsatellite point sensor: name of sensor platform_name: name of the platform
- Return type:
- static _mask_data(variable, fill_value)[source]
Set fill_values, as defined in yaml-file, to NaN.
Set data points in variable to NaN if they are equal to fill_value or any of the values in fill_value if fill_value is a list.
- _slice_dataset(variable, dataset_info, dimensions)[source]
Slice data if dimension layers have been provided in yaml-file.
- property sensor_name
Return instrument name.
- property spacecraft_name
Return spacecraft name.
- property ssp_lon
Return longitude at subsatellite point.
- class satpy.readers.fci_l2_nc.FciL2NCAMVFileHandler(filename, filename_info, filetype_info)[source]
Bases:
FciL2CommonFunctions
,BaseFileHandler
Reader class for FCI L2 AMV products in NetCDF4 format.
Open the NetCDF file with xarray and prepare for dataset reading.
- _get_global_attributes()[source]
Create a dictionary of global attributes to be added to all datasets.
- Returns:
- A dictionary of global attributes.
filename: name of the product file spacecraft_name: name of the spacecraft sensor: name of sensor platform_name: name of the platform
- Return type:
- property nc
Read the file.
- class satpy.readers.fci_l2_nc.FciL2NCFileHandler(filename, filename_info, filetype_info, with_area_definition=True)[source]
Bases:
FciL2CommonFunctions
,BaseFileHandler
Reader class for FCI L2 products in NetCDF4 format.
Open the NetCDF file with xarray and prepare for dataset reading.
- class satpy.readers.fci_l2_nc.FciL2NCSegmentFileHandler(filename, filename_info, filetype_info, with_area_definition=False)[source]
Bases:
FciL2CommonFunctions
,BaseFileHandler
Reader class for FCI L2 Segmented products in NetCDF4 format.
Open the NetCDF file with xarray and prepare for dataset reading.
- _construct_area_def(dataset_id)[source]
Construct the area definition.
- Returns:
A pyresample AreaDefinition object containing the area definition.
- Return type:
AreaDefinition