satpy.readers.nwcsaf_nc module

Nowcasting SAF common PPS&MSG NetCDF/CF format reader.

References

class satpy.readers.nwcsaf_nc.NcNWCSAF(filename, filename_info, filetype_info)[source]

Bases: BaseFileHandler

NWCSAF PPS&MSG NetCDF reader.

Init method.

_adjust_variable_for_legacy_software(variable)[source]
static _ensure_crs_extents_in_meters(crs, area_extent)[source]

Fix units in Earth shape, satellite altitude and ‘units’ attribute.

_get_filekeys(dsid_name, info)[source]
_get_projection()[source]

Get projection from the NetCDF4 attributes.

_get_varname_in_file(info, info_type='file_key')[source]
static _mask_variable(variable)[source]
_prepare_variable_for_palette(variable, info)[source]
_upsample_geolocation_uncached()[source]

Upsample the geolocation (lon,lat) from the tiepoint grid.

drop_xycoords(variable)[source]

Drop x, y coords when y is scan line number.

property end_time

Return the end time of the object.

get_area_def(dsid)[source]

Get the area definition of the datasets in the file.

Only applicable for MSG products!

get_dataset(dsid, info)[source]

Load a dataset.

get_orbital_parameters(variable)[source]

Get the orbital parameters from the file if possible (geo).

remove_timedim(var)[source]

Remove time dimension from dataset.

scale_dataset(variable, info)[source]

Scale the data set, applying the attributes from the netCDF file.

The scale and offset attributes will then be removed from the resulting variable.

property sensor_names

List of sensors represented in this file.

set_platform_and_sensor(**kwargs)[source]

Set some metadata: platform_name, sensors, and pps (identifying PPS or Geo).

property start_time

Return the start time of the object.

satpy.readers.nwcsaf_nc.read_nwcsaf_time(time_value)[source]

Read the time, nwcsaf-style.

satpy.readers.nwcsaf_nc.remove_empties(variable)[source]

Remove empty objects from the variable’s attrs.