Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

allow gaia data_dir to be absolute path #97

Merged
merged 1 commit into from
May 13, 2024

Conversation

JoanneBogart
Copy link
Collaborator

The update makes it possible to use an absolute path to specify where data files may be found.
To access files at sdf for Gaia dr2, the skyCatalogs config file should contain a section like this:

object_types:
  gaia_star:
    area_partition:
      level: 7
      type: htm
    id_prefix: gaia_dr2_
    data_file_type: fits
    data_dir: /sdf/group/rubin/datasets/refcats/htm/v1/gaia_dr2_20200414
    basename_template: (?P<htm>\d+).fits
    sed_method: use_lut

optionally followed by more object type sections.

@JoanneBogart JoanneBogart requested a review from jmeyers314 May 11, 2024 17:38
Copy link
Member

@jmeyers314 jmeyers314 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! Thanks for this!

@JoanneBogart JoanneBogart merged commit e1d5e56 into main May 13, 2024
1 check passed
@JoanneBogart JoanneBogart deleted the u/jrbogart/gaia_abspath branch May 20, 2024 20:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants