cartopy.io.srtm.SRTMDownloader#

class cartopy.io.srtm.SRTMDownloader(target_path_template, pre_downloaded_path_template='')[source]#

Provide a SRTM download mechanism.

__init__(target_path_template, pre_downloaded_path_template='')[source]#

Methods

__init__(target_path_template[, ...])

acquire_resource(target_path, format_dict)

Download, via HTTP, the file that this resource represents.

default_downloader()

Return a typical downloader for this class.

from_config(specification[, config_dict])

The from_config static method implements the logic for acquiring a Downloader (sub)class instance from the config dictionary.

path(format_dict)

Returns the path to a file on disk that this resource represents.

pre_downloaded_path(format_dict)

The path on disk of the file that this resource represents, if it does not exist, then no further action will be taken with this path, and all further processing will be done using target_path() instead.

target_path(format_dict)

The path on disk of the file that this resource represents, must either exist, or be writable by the current user.

url(format_dict)

The full URL that this resource represents.

Attributes

FORMAT_KEYS

The minimum keys which should be provided in the format_dict argument for the path, url, target_path, pre_downloaded_path and acquire_resource methods.