You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Should probably also add a DR keyword to the header, to ensure that information is recorded somewhere in the file
Indeed. As a general principle throughout all our code and files, any metadata that is encoded in the directory structure and filename should also be present in the header keywords. i.e. the directories and filenames are useful for finding the files and keeping ourselves organized, but the contents of the file should also be sufficient to re-derive the associated metadata to recreate the filepath and filename.
Currently, targets (and the associated directory structure) look like:
target/catalogs/dr8/0.39.0/targets/sv1/resolve/bright/sv1-targets-dr8-hp-21.fits
To make the filenames unique but free of extraneous information, make the following updates in
io.find_target_files()
:sv1targets
instead ofsv1-targets
).targets-
instead oftargets-dr8
).targets-
without any trailingmain
.bright
/dark
) to the filenames.noresolve
to the filenames where needed for the rare cases that we release targets that are not resolved across the "North"/"South" imaging.Some example results should look like:
The text was updated successfully, but these errors were encountered: