warsa.precipitation.satellite.gpm package

Submodules

warsa.precipitation.satellite.gpm.download module

class GPMImerg3BHHRearlyFTP(local_dir, ftp_user, ftp_password)

Bases: warsa.precipitation.satellite.gpm.download.GPMImergRealTimeFTP

class GPMImerg3BHHRlateFTP(local_dir, ftp_user, ftp_password)

Bases: warsa.precipitation.satellite.gpm.download.GPMImergRealTimeFTP

class GPMImerg3BHHRv03FTP(local_dir, ftp_user, ftp_password)

Bases: warsa.precipitation.satellite.gpm.download.GPMImergVersionFTP

class GPMImerg3BHHRv04FTP(local_dir, ftp_user, ftp_password)

Bases: warsa.precipitation.satellite.gpm.download.GPMImergVersionFTP

class GPMImerg3BHHRv05FTP(local_dir, ftp_user, ftp_password)

Bases: warsa.precipitation.satellite.gpm.download.GPMImergVersionFTP

class GPMImerg3BMOv03FTP(local_dir, ftp_user, ftp_password)

Bases: warsa.precipitation.satellite.gpm.download.GPMImergVersionFTP

class GPMImerg3BMOv04FTP(local_dir, ftp_user, ftp_password)

Bases: warsa.precipitation.satellite.gpm.download.GPMImergVersionFTP

class GPMImerg3BMOv05FTP(local_dir, ftp_user, ftp_password)

Bases: warsa.precipitation.satellite.gpm.download.GPMImergVersionFTP

class GPMImergFTP(local_dir, prefix, suffix, dir_lens, ftp_host, ftp_dir, ftp_user, ftp_password, ftp_timeout, product_subfolder)

Bases: warsa.precipitation.satellite.download.SatelliteBasedPrecipitationDownloadFTP

static get_datetime_from_file_name(filename)
class GPMImergGIS3BDailyV03FTP(local_dir, ftp_user, ftp_password)

Bases: warsa.precipitation.satellite.gpm.download.GPMImergVersionFTP

class GPMImergGIS3BDailyV04FTP(local_dir, ftp_user, ftp_password)

Bases: warsa.precipitation.satellite.gpm.download.GPMImergVersionFTP

class GPMImergGIS3BDailyV05FTP(local_dir, ftp_user, ftp_password)

Bases: warsa.precipitation.satellite.gpm.download.GPMImergVersionFTP

class GPMImergGIS3BHHRv03FTP(local_dir, ftp_user, ftp_password)

Bases: warsa.precipitation.satellite.gpm.download.GPMImergVersionFTP

class GPMImergGIS3BHHRv04FTP(local_dir, ftp_user, ftp_password)

Bases: warsa.precipitation.satellite.gpm.download.GPMImergVersionFTP

class GPMImergGIS3BHHRv05FTP(local_dir, ftp_user, ftp_password)

Bases: warsa.precipitation.satellite.gpm.download.GPMImergVersionFTP

class GPMImergGIS3BMOv03FTP(local_dir, ftp_user, ftp_password)

Bases: warsa.precipitation.satellite.gpm.download.GPMImergVersionFTP

class GPMImergGIS3BMOv04FTP(local_dir, ftp_user, ftp_password)

Bases: warsa.precipitation.satellite.gpm.download.GPMImergVersionFTP

class GPMImergGIS3BMOv05FTP(local_dir, ftp_user, ftp_password)

Bases: warsa.precipitation.satellite.gpm.download.GPMImergVersionFTP

class GPMImergProductionHHFTP(local_dir, ftp_user, ftp_password)

Bases: warsa.precipitation.satellite.gpm.download.GPMImergFTP

Source:
ftp://arthurhou.pps.eosdis.nasa.gov/gpmdata/2014/03/01/imerg ftp://arthurhou.pps.eosdis.nasa.gov/gpmdata/2014/11/07/imerg
Format:
3B-MO.MS.MRG.3IMERG.20140312-S000000-E235959.03.V03D.HDF5 3B-HHR.MS.MRG.3IMERG.20141107-S000000-E002959.0000.V03D.HDF5
class GPMImergProductionMOFTP(local_dir, ftp_user, ftp_password)

Bases: warsa.precipitation.satellite.gpm.download.GPMImergFTP

Source:
ftp://arthurhou.pps.eosdis.nasa.gov/gpmdata/2014/03/01/imerg ftp://arthurhou.pps.eosdis.nasa.gov/gpmdata/2014/11/07/imerg
Format:
3B-MO.MS.MRG.3IMERG.20140312-S000000-E235959.03.V03D.HDF5 3B-HHR.MS.MRG.3IMERG.20141107-S000000-E002959.0000.V03D.HDF5
class GPMImergRealTimeFTP(local_dir, prefix, suffix, ftp_dir, ftp_user, ftp_password)

Bases: warsa.precipitation.satellite.gpm.download.GPMImergFTP

Source:
ftp://jsimpson.pps.eosdis.nasa.gov/data/imerg/early/201503/
Format:
3B-HHR-E.MS.MRG.3IMERG.20150331-S190000-E192959.1140.V03E.RT-H5 3B-HHR-L.MS.MRG.3IMERG.20150307-S000000-E002959.0000.V03E.RT-H5
class GPMImergVersionFTP(local_dir, version, prefix, suffix, ftp_user, ftp_password, ftp_timeout, product_subfolder)

Bases: warsa.precipitation.satellite.gpm.download.GPMImergFTP

Source:
ftp://arthurhou.pps.eosdis.nasa.gov/gpmdata/2014/03/01/imerg ftp://arthurhou.pps.eosdis.nasa.gov/gpmdata/2014/11/07/imerg
Format:
3B-MO.MS.MRG.3IMERG.20140312-S000000-E235959.03.V03D.HDF5 3B-HHR.MS.MRG.3IMERG.20141107-S000000-E002959.0000.V03D.HDF5

warsa.precipitation.satellite.gpm.download_gpm_imerg_3BHHR_early module

class GPMImerg3BHHRearlyFTP(local_folder, ftp_user, ftp_password)

Bases: object

ftp://ftp.cpc.ncep.noaa.gov/precip/CMORPH_V0.x/RAW/8km-30min/2011/201108/ CMORPH_V0.x_RAW_8km-30min_2011080100.gz

download(update=False, verbose=True, begin=None, end=None)
Parameters:
  • update – if TRUE, checks for any missing file on the local folder, otherwise starts download at the last saved file
  • verbose – if TRUE, outputs the current file being downloaded as well the time in seconds took to download each file
  • begin
  • end
download_ftp_files(missing_datetime)
static filename_to_timestamp(filename)
static get_datetime_from_file_name(filename)
get_ftp_file_names(lines)
get_full_dir_name(dt)
get_local_files()
get_missing_datetime(datetime_begin=None, datetime_end=None)
get_missing_ftp_files(missing_datetimes)
static valid_filename(filename)
clean_path(path)
parse_ftp_dirs(folder_length, lines)

warsa.precipitation.satellite.gpm.download_gpm_imerg_3BHHR_v05 module

class GPMImerg3BHHRv05FTP(local_folder, ftp_user, ftp_password)

Bases: object

ftp://ftp.cpc.ncep.noaa.gov/precip/CMORPH_V0.x/RAW/8km-30min/2011/201108/ CMORPH_V0.x_RAW_8km-30min_2011080100.gz

download(update=False, verbose=True, begin=None, end=None)
Parameters:
  • update – if TRUE, checks for any missing file on the local folder, otherwise starts download at the last saved file
  • verbose – if TRUE, outputs the current file being downloaded as well the time in seconds took to download each file
  • begin
  • end
download_ftp_files(missing_datetime)
static filename_to_timestamp(filename)
static get_datetime_from_file_name(filename)
get_ftp_file_names(lines)
get_full_dir_name(dt)
get_local_files()
get_missing_datetime(datetime_begin=None, datetime_end=None)
get_missing_ftp_files(missing_datetimes)
static valid_filename(filename)
clean_path(path)
parse_ftp_dirs(folder_length, lines)

warsa.precipitation.satellite.gpm.rasterize module

Module contents