grace_find_months
Finds the months available for a GRACE/GRACE-FO/Swarm product
Finds the all months missing from the product
Calling Sequence
from gravity_toolkit.grace_find_months import grace_find_months
grace_months = grace_find_months(base_dir, PROC, DREL, DSET=DSET)
- gravity_toolkit.grace_find_months(base_dir, PROC, DREL, DSET='GSM')[source]
Parses date index file
Finds the months available for a GRACE/GRACE-FO/Swarm product
Finds the all months missing from the product
- Parameters:
- base_dir: str
working data directory
- PROC: str
GRACE data processing center
'CSR': University of Texas Center for Space Research'GFZ': German Research Centre for Geosciences (GeoForschungsZentrum)'JPL': Jet Propulsion Laboratory'CNES': French Centre National D’Etudes Spatiales'GRAZ': Institute of Geodesy from GRAZ University of Technology'COSTG': Combination Service for Time-variable Gravity Fields'Swarm': Time-variable gravity data from Swarm satellites
- DREL: str
GRACE/GRACE-FO/Swarm data release
- DSET: str, default ‘GSM’
GRACE/GRACE-FO/Swarm dataset
'GAA': non-tidal atmospheric correction'GAB': non-tidal oceanic correction'GAC': combined non-tidal atmospheric and oceanic correction'GAD': ocean bottom pressure product'GSM': corrected monthly static gravity field product
- Returns:
- start: int
First month in a GRACE/GRACE-FO dataset
- end: int
Last month in a GRACE/GRACE-FO dataset
- missing: list
missing months in a GRACE/GRACE-FO dataset
- months: list
all available months in a GRACE/GRACE-FO dataset
- time: list
center dates of all available months in a GRACE/GRACE-FO dataset