cmaqsatproc.readers.omps package¶
Module contents¶
- class cmaqsatproc.readers.omps.OMPS_NPP_L2[source]¶
Bases:
satellite
Default OMPS satellite processor.
- classmethod open_dataset(path, bbox=None, **kwargs)[source]¶
- Parameters:
path (str) – Path to a OMPS L2 OpenDAP-style file
bbox (iterable) – swlon, swlat, nelon, nelat in decimal degrees East and North of 0, 0
kwargs (mappable) – Passed to xarray.open_dataset
- Returns:
sat – Satellite processing instance
- Return type:
- classmethod prep_dataset(ds, bbox=None, path=None)[source]¶
Defines valid based on Latitude/Longitude and bbox, and inteprolates pixel centers to corners.
- Parameters:
ds (xarray.Dataset) – Satellite dataset
bbox (iterable) – swlon, swlat, nelon, nelat in decimal degrees East and North
path (str) – Unused.
- Returns:
ds
- Return type:
xarray.Dataset
- class cmaqsatproc.readers.omps.OMPS_NPP_NMNO2_L2[source]¶
Bases:
OMPS_NPP_L2
Default OMPS NO2 satellite processor. * valid when
GroundPixelQualityFlags == 0
PixelQualityFlags == 0
- classmethod cmr_links(method='opendap', **kwargs)[source]¶
Thin wrapper around satellite.cmr_links where concept_id is set to “C1386443916-GES_DISC”.
- Parameters:
method (str) – ‘opendap’, ‘download’, or ‘s3’.
- Returns:
links – List of links for download or OpenDAP
- Return type:
list
- classmethod prep_dataset(ds, bbox=None, path=None)[source]¶
Defines valid based on Latitude/Longitude and bbox, and inteprolates pixel centers to corners. Then further subsets valid pixels where GroundPixel and Pixel QualityFlags are 0.
- Parameters:
ds (xarray.Dataset) – Satellite dataset
bbox (iterable) – swlon, swlat, nelon, nelat in decimal degrees East and North
path (str) – Unused.
- Returns:
ds
- Return type:
xarray.Dataset
- class cmaqsatproc.readers.omps.OMPS_NPP_NMTO3_L2[source]¶
Bases:
OMPS_NPP_L2
Default OMPS O3 satellite processor. * valid when
GroundPixelQualityFlags == 0
QualityFlags == 0
- classmethod cmr_links(method='opendap', **kwargs)[source]¶
Thin wrapper around satellite.cmr_links where concept_id is set to “C1386443916-GES_DISC”.
- Parameters:
method (str) – ‘opendap’, ‘download’, or ‘s3’.
- Returns:
links – List of links for download or OpenDAP
- Return type:
list
- classmethod prep_dataset(ds, bbox=None, path=None)[source]¶
Defines valid based on Latitude/Longitude and bbox, and inteprolates pixel centers to corners. Then further subsets valid pixels where GroundPixelQualityFlags and QualityFlags are 0.
- Parameters:
ds (xarray.Dataset) – Satellite dataset
bbox (iterable) – swlon, swlat, nelon, nelat in decimal degrees East and North
path (str) – Unused.
- Returns:
ds
- Return type:
xarray.Dataset