Esempio n. 1
0
 def __init__(
     self,
     url_template=_NE_URL_TEMPLATE,
     target_path_template=None,
     pre_downloaded_path_template='',
 ):
     # adds some NE defaults to the __init__ of a Downloader
     Downloader.__init__(self, url_template, target_path_template,
                         pre_downloaded_path_template)
Esempio n. 2
0
 def __init__(self,
              url_template=_NE_URL_TEMPLATE,
              target_path_template=None,
              pre_downloaded_path_template='',
              ):
     # adds some NE defaults to the __init__ of a Downloader
     Downloader.__init__(self, url_template,
                         target_path_template,
                         pre_downloaded_path_template)
Esempio n. 3
0
 def __init__(self,
              target_path_template,
              pre_downloaded_path_template='',
              ):
     # adds some SRTM3 defaults to the __init__ of a Downloader
     # namely, the URl is determined on the fly using the
     # ``SRTM3Downloader._SRTM3_LOOKUP_URL`` dictionary
     Downloader.__init__(self, None,
                         target_path_template,
                         pre_downloaded_path_template)
Esempio n. 4
0
 def __init__(self,
              target_path_template,
              pre_downloaded_path_template='',
              ):
     # adds some SRTM defaults to the __init__ of a Downloader
     # namely, the URL is determined on the fly using the
     # ``SRTMDownloader._SRTM_LOOKUP_MASK`` array
     Downloader.__init__(self, None,
                         target_path_template,
                         pre_downloaded_path_template)
Esempio n. 5
0
 def __init__(
     self,
     target_path_template,
     pre_downloaded_path_template='',
 ):
     # adds some SRTM3 defaults to the __init__ of a Downloader
     # namely, the URl is determined on the fly using the
     # ``SRTM3Downloader._SRTM3_LOOKUP_URL`` dictionary
     Downloader.__init__(self, None, target_path_template,
                         pre_downloaded_path_template)
Esempio n. 6
0
 def __init__(
     self,
     target_path_template,
     pre_downloaded_path_template='',
 ):
     # adds some SRTM defaults to the __init__ of a Downloader
     # namely, the URL is determined on the fly using the
     # ``SRTMDownloader._SRTM_LOOKUP_MASK`` array
     Downloader.__init__(self, None, target_path_template,
                         pre_downloaded_path_template)
Esempio n. 7
0
 def __init__(self, target_path_template, pre_downloaded_path_template=""):
     # adds some SRTM defaults to the __init__ of a Downloader
     # namely, the URL is determined on the fly using the
     # ``SRTMDownloader._SRTM_LOOKUP_MASK`` array
     Downloader.__init__(self, None, target_path_template, pre_downloaded_path_template)
     warnings.warn(
         "SRTM requires an account set up and log in to access."
         "use of this class is likely to fail with"
         " HTTP 401 errors."
     )
Esempio n. 8
0
 def __init__(self,
              target_path_template,
              pre_downloaded_path_template='',
              ):
     # adds some SRTM defaults to the __init__ of a Downloader
     # namely, the URL is determined on the fly using the
     # ``SRTMDownloader._SRTM_LOOKUP_MASK`` array
     Downloader.__init__(self, None,
                         target_path_template,
                         pre_downloaded_path_template)
     warnings.warn('SRTM requires an account set up and log in to access.'
                   'use of this class is likely to fail with'
                   ' HTTP 401 errors.')