Skip to content

Commit

Permalink
Merge a19c0a2 into d434fec
Browse files Browse the repository at this point in the history
  • Loading branch information
Waelthus committed Aug 18, 2022
2 parents d434fec + a19c0a2 commit 63ab38a
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion py/picca/delta_extraction/data_catalogues/desi_healpix.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,11 @@ def get_filename(self, survey, healpix):
is_mock: bool
False, as we are reading DESI data
"""
input_directory = f'{self.input_directory}/{survey}/dark'
if survey.lower().startswith("sv"):
input_directory = self.input_directory.replace("guadalupe", "fuji")
else:
input_directory = self.input_directory
input_directory = f'{input_directory}/{survey}/dark'
coadd_name = "spectra" if self.use_non_coadded_spectra else "coadd"
filename = (
f"{input_directory}/{healpix//100}/{healpix}/{coadd_name}-{survey}-"
Expand Down

0 comments on commit 63ab38a

Please sign in to comment.