satpy.readers.tropomi_l2 module

Interface to TROPOMI L2 Reader.

The TROPOspheric Monitoring Instrument (TROPOMI) is the satellite instrument on board the Copernicus Sentinel-5 Precursor satellite. It measures key atmospheric trace gasses, such as ozone, nitrogen oxides, sulfur dioxide, carbon monoxide, methane, and formaldehyde.

Level 2 data products are available via the Copernicus Open Access Hub. For more information visit the following URL: http://www.tropomi.eu/data-products/level-2-products

class satpy.readers.tropomi_l2.TROPOMIL2FileHandler(filename, filename_info, filetype_info, auto_maskandscale=False, xarray_kwargs=None, cache_var_size=0, cache_handle=False)[source]

Bases: NetCDF4FileHandler

File handler for TROPOMI L2 netCDF files.

Initialize object.

_iterate_over_dataset_contents(handled_variables, shape)[source]

Iterate over dataset contents.

This is where we dynamically add new datasets We will sift through all groups and variables, looking for data matching the geolocation bounds

_rename_dims(data_arr)[source]

Normalize dimension names with the rest of Satpy.

available_datasets(configured_datasets=None)[source]

Automatically determine datasets provided by this file.

property end_time

Get end time.

get_dataset(ds_id, ds_info)[source]

Get dataset.

get_metadata(data, ds_info)[source]

Get metadata.

property platform_shortname

Get platform shortname.

prepare_geo(bounds_data)[source]

Prepare lat/lon bounds for pcolormesh.

lat/lon bounds are ordered in the following way:

3----2
|    |
0----1

Extend longitudes and latitudes with one element to support “pcolormesh”:

(X[i+1, j], Y[i+1, j])         (X[i+1, j+1], Y[i+1, j+1])
                      +--------+
                      | C[i,j] |
                      +--------+
     (X[i, j], Y[i, j])        (X[i, j+1], Y[i, j+1])
property sensor

Get sensor.

property sensor_names

Get sensor set.

property start_time

Get start time.

property time_coverage_end

Get time_coverage_end.

property time_coverage_start

Get time_coverage_start.