def setup_cache(self): """Fetch the data files.""" try: from satpy.demo import download_typhoon_surigae_ahi download_typhoon_surigae_ahi(channels=[1, 2, 3, 4], segments=[4]) except ImportError: assert len(get_filenames(self.subdir)) == 4 download_rsr() download_luts(aerosol_type='rayleigh_only')
def setup_cache(self): """Fetch the data files.""" try: from satpy.demo import get_us_midlatitude_cyclone_abi get_us_midlatitude_cyclone_abi() except ImportError: assert len(get_filenames(self.subdir)) == 16 download_rsr() download_luts(aerosol_type='rayleigh_only')
def setup_cache(self): """Fetch the data files.""" try: from satpy.demo import download_seviri_hrit_20180228_1500 download_seviri_hrit_20180228_1500() except ImportError: assert len(get_filenames(self.subdir)) == 114 download_rsr() download_luts(aerosol_type='rayleigh_only')
def setup_cache(self): """Fetch the data files.""" try: from satpy.demo import get_viirs_sdr_20170128_1229 get_viirs_sdr_20170128_1229(channels=("I01", "M03", "M04", "M05"), granules=(2, 3, 4)) except ImportError: assert len(self.get_filenames()) == 6 * 3 download_rsr() download_luts(aerosol_type='rayleigh_only')
def setup_cache(self): """Fetch the data files.""" try: from satpy.demo import get_us_midlatitude_cyclone_abi get_us_midlatitude_cyclone_abi() except ImportError: if len(get_filenames(self.subdir)) != 16: raise RuntimeError("Existing data files do not match the expected number of files.") download_rsr() download_luts(aerosol_type='rayleigh_only')