Skip to content

Commit

Permalink
Merge pull request #2910 from djhoese/bugfix-dep-aerosoltype
Browse files Browse the repository at this point in the history
Remove deprecated usage of pyspectral's download_luts aerosol_type
  • Loading branch information
mraspaud authored Oct 18, 2024
2 parents b3394c7 + 7421103 commit 4169a21
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion benchmarks/abi_l1b_benchmarks.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def setup_cache(self):
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")
download_luts(aerosol_types=["rayleigh_only"])

def setup(self):
"""Set up the benchmarks."""
Expand Down
2 changes: 1 addition & 1 deletion benchmarks/ahi_hsd_benchmarks.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def setup_cache(self):
except ImportError:
assert len(get_filenames(self.subdir)) == 4 # nosec
download_rsr()
download_luts(aerosol_type="rayleigh_only")
download_luts(aerosol_types=["rayleigh_only"])

def setup(self):
"""Set up the benchmarks."""
Expand Down
2 changes: 1 addition & 1 deletion benchmarks/seviri_hrit_benchmarks.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def setup_cache(self):
except ImportError:
assert len(get_filenames(self.subdir)) == 114 # nosec
download_rsr()
download_luts(aerosol_type="rayleigh_only")
download_luts(aerosol_types=["rayleigh_only"])

def setup(self):
"""Set up the benchmarks."""
Expand Down
2 changes: 1 addition & 1 deletion benchmarks/viirs_sdr_benchmarks.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def setup_cache(self):
except ImportError:
assert len(self.get_filenames()) == 6 * 3 # nosec
download_rsr()
download_luts(aerosol_type="rayleigh_only")
download_luts(aerosol_types=["rayleigh_only"])

def setup(self, name):
"""Set up the benchmarks."""
Expand Down

0 comments on commit 4169a21

Please sign in to comment.