gpm.dataset.decoding package#
Submodules#
gpm.dataset.decoding.cf module#
This module contains functions to CF-decoding the GPM files.
- gpm.dataset.decoding.cf.apply_cf_decoding(ds)[source]#
Apply CF decoding to the xarray dataset.
- For more information on CF-decoding, read:
https://docs.xarray.dev/en/stable/generated/xarray.decode_cf.html
gpm.dataset.decoding.coordinates module#
This module contains functions to sanitize GPM-API Dataset coordinates.
- gpm.dataset.decoding.coordinates.ensure_valid_coords(ds, raise_error=False)[source]#
Ensure geographic coordinates are within expected range.
gpm.dataset.decoding.dataarray_attrs module#
This module contains functions to standardize GPM-API Dataset attributes.
gpm.dataset.decoding.decode_1c_pmw module#
This module contains functions to decode GPM PMW 1C products.
gpm.dataset.decoding.decode_2a_pmw module#
This module contains functions to decode GPM PMW 2A products.
- gpm.dataset.decoding.decode_2a_pmw.decode_airmassLiftIndex(da)[source]#
Decode the 2A-<PMW> variable airmassLiftIndex.
- gpm.dataset.decoding.decode_2a_pmw.decode_cloudWaterPath(da)[source]#
Decode the 2A-<PMW> variable cloudWaterPath.
_FillValue is often reported as -9999.9, but in data the values are -9999.0 !
- gpm.dataset.decoding.decode_2a_pmw.decode_iceWaterPath(da)[source]#
Decode the 2A-<PMW> variable iceWaterPath.
_FillValue is often reported as -9999.9, but in data the values are -9999.0 !
- gpm.dataset.decoding.decode_2a_pmw.decode_pixelStatus(da)[source]#
Decode the 2A-<PMW> variable pixelStatus.
- gpm.dataset.decoding.decode_2a_pmw.decode_precip1stTertial(da)[source]#
Decode the 2A-<PMW> variable precip1stTertial.
- gpm.dataset.decoding.decode_2a_pmw.decode_precip2ndTertial(da)[source]#
Decode the 2A-<PMW> variable precip2ndTertial.
- gpm.dataset.decoding.decode_2a_pmw.decode_precipitationYesNoFlag(da)[source]#
Decode the 2A-<PMW> variable precipitationYesNoFlag.
_FillValue is reported as -9999.0, but in data the values are -99. !
- gpm.dataset.decoding.decode_2a_pmw.decode_qualityFlag(da)[source]#
Decode the 2A-<PMW> variable qualityFlag.
- gpm.dataset.decoding.decode_2a_pmw.decode_rainWaterPath(da)[source]#
Decode the 2A-<PMW> variable rainWaterPath.
_FillValue is often reported as -9999.9, but in data the values are -9999.0 !
- gpm.dataset.decoding.decode_2a_pmw.decode_sunGlintAngle(da)[source]#
Decode the 2A-<PMW> variable sunGlintAngle.
Set -88 value (sun below horizon) to np.nan
gpm.dataset.decoding.decode_2a_radar module#
This module contains functions to decode GPM DPR, PR, Ka and Ku products.
- gpm.dataset.decoding.decode_2a_radar.decode_attenuationNP(da)[source]#
Decode the 2A-<RADAR> variable flagBB.
- gpm.dataset.decoding.decode_2a_radar.decode_binBBBottom(da)[source]#
Decode the 2A-<RADAR> variable binBBBottom.
- gpm.dataset.decoding.decode_2a_radar.decode_binBBPeak(da)[source]#
Decode the 2A-<RADAR> variable binBBPeak.
- gpm.dataset.decoding.decode_2a_radar.decode_binBBTop(da)[source]#
Decode the 2A-<RADAR> variable binBBTop.
- gpm.dataset.decoding.decode_2a_radar.decode_binDFRmMLBottom(da)[source]#
Decode the 2A-<RADAR> variable binDFRmMLBottom.
- gpm.dataset.decoding.decode_2a_radar.decode_binDFRmMLTop(da)[source]#
Decode the 2A-<RADAR> variable binDFRmMLTop.
- gpm.dataset.decoding.decode_2a_radar.decode_binHeavyIcePrecipBottom(da)[source]#
Decode the 2A-<RADAR> variable binHeavyIcePrecipBottom.
- gpm.dataset.decoding.decode_2a_radar.decode_binHeavyIcePrecipTop(da)[source]#
Decode the 2A-<RADAR> variable binHeavyIcePrecipTop.
- gpm.dataset.decoding.decode_2a_radar.decode_flagAnvil(da)[source]#
Decode the 2A-<RADAR> variable flagAnvil.
- gpm.dataset.decoding.decode_2a_radar.decode_flagBB(da)[source]#
Decode the 2A-<RADAR> variable flagBB.
- gpm.dataset.decoding.decode_2a_radar.decode_flagGraupelHail(da)[source]#
Decode the 2A-<RADAR> variable flagGraupelHail.
- gpm.dataset.decoding.decode_2a_radar.decode_flagHail(da)[source]#
Decode the 2A-<RADAR> variable flagHail.
- gpm.dataset.decoding.decode_2a_radar.decode_flagHeavyIcePrecip(da)[source]#
Decode the 2A-<RADAR> variable flagHeavyIcePrecip.
- gpm.dataset.decoding.decode_2a_radar.decode_flagPrecip(da)[source]#
Decode the 2A-<RADAR> variable flagPrecip.
- gpm.dataset.decoding.decode_2a_radar.decode_flagShallowRain(da)[source]#
Decode the 2A-<RADAR> variable flagShallowRain.
- gpm.dataset.decoding.decode_2a_radar.decode_flagSurfaceSnowfall(da)[source]#
Decode the 2A-<RADAR> variable flagSurfaceSnowfall.
- gpm.dataset.decoding.decode_2a_radar.decode_heightBB(da)[source]#
Decode the 2A-<RADAR> variable heightBB.
- gpm.dataset.decoding.decode_2a_radar.decode_landSurfaceType(da)[source]#
Decode the 2A-<RADAR> variable landSurfaceType.
- gpm.dataset.decoding.decode_2a_radar.decode_phase(da)[source]#
Decode the 2A-<RADAR> variable phase.
- gpm.dataset.decoding.decode_2a_radar.decode_phaseNearSurface(da)[source]#
Decode the 2A-<RADAR> variable phaseNearSurface.
- gpm.dataset.decoding.decode_2a_radar.decode_qualityTypePrecip(da)[source]#
Decode the 2A-<RADAR> variable qualityTypePrecip.
gpm.dataset.decoding.decode_imerg module#
This module contains functions to decode GPM PMW 2A products.
- gpm.dataset.decoding.decode_imerg.decode_HQobservationTime(da)[source]#
Decode the IMERG V6 variable HQobservationTime.
- gpm.dataset.decoding.decode_imerg.decode_HQprecipSource(da)[source]#
Decode the IMERG V6 variable HQprecipSource.
- gpm.dataset.decoding.decode_imerg.decode_HQprecipitation(da)[source]#
Decode the IMERG V6 variable HQprecipitation.
- gpm.dataset.decoding.decode_imerg.decode_IRinfluence(da)[source]#
Decode the IMERG V7 variable IRinfluence.
- gpm.dataset.decoding.decode_imerg.decode_IRkalmanFilterWeight(da)[source]#
Decode the IMERG V6 variable IRkalmanFilterWeight.
- gpm.dataset.decoding.decode_imerg.decode_IRprecipitation(da)[source]#
Decode the IMERG V6 and V7 variable IRprecipitation.
- gpm.dataset.decoding.decode_imerg.decode_MWobservationTime(da)[source]#
Decode the IMERG V7 variable MWobservationTime.
- gpm.dataset.decoding.decode_imerg.decode_MWprecipSource(da)[source]#
Decode the IMERG V7 variable MWprecipSource.
- gpm.dataset.decoding.decode_imerg.decode_MWprecipitation(da)[source]#
Decode the IMERG V7 variable MWprecipitation.
- gpm.dataset.decoding.decode_imerg.decode_precipitation(da)[source]#
Decode the IMERG V7 variable precipitation.
- gpm.dataset.decoding.decode_imerg.decode_precipitationCal(da)[source]#
Decode the IMERG V6 variable precipitationCal.
- gpm.dataset.decoding.decode_imerg.decode_precipitationQualityIndex(da)[source]#
Decode the IMERG V6 and V7 variable precipitationQualityIndex.
- gpm.dataset.decoding.decode_imerg.decode_precipitationUncal(da)[source]#
Decode the IMERG V6 and V7 variable precipitationUncal.
gpm.dataset.decoding.routines module#
This module contains functions to apply the products decoding routines.
gpm.dataset.decoding.utils module#
This module contains utilities for the decoding of GPM product variables.
- gpm.dataset.decoding.utils.add_decoded_flag(ds, variables)[source]#
Add gpm_api_decoded flag to GPM-API decoded variables.
Module contents#
This directory contains the GPM-API dataset decoding functions.