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

Set properties on catalog import #393

Closed
3 tasks done
delucchi-cmu opened this issue Sep 26, 2024 · 1 comment
Closed
3 tasks done

Set properties on catalog import #393

delucchi-cmu opened this issue Sep 26, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@delucchi-cmu
Copy link
Contributor

delucchi-cmu commented Sep 26, 2024

Feature request

Set key-value pairs in the catalog's properties file, according to user argument input:

  • hats_builder
    • Example hats-import v0.6.4
  • hats_cols_default
    • new field - provide argument to users to enable setting some default columns
  • hats_cols_sort
    • Current sort_columns argument
  • hats_cols_survey_id
    • new field - provide argument
  • hats_creation_date
    • now()
  • hats_estsize
    • total size estimation – Format: positive integer – Unit : KB
    • this might be slow to estimate for large catalogs, but i think that's ok?
  • hats_max_rows
    • from partition_threshold
  • hats_order
    • max order from PartitionInfo
  • hats_release_date
    • hard-code to 2024-09-18 for now.
  • hats_version
    • hard-code to v0.1 for now.
  • moc_sky_fraction
    • calculate based on PartitionInfo

In addition, allow users to provide additional key-value pairs for other properties to be stored in the properties file.

See astronomy-commons/hats#339, and property list

  • I have described the purpose of the suggested change, specifying what I need the enhancement to accomplish, i.e. what problem it solves.
  • I have included any relevant links, screenshots, environment information, and data relevant to implementing the requested feature, as well as pseudocode for how I want to access the new functionality.
  • If I have ideas for how the new feature could be implemented, I have provided explanations and/or pseudocode and/or task lists for the steps.
@delucchi-cmu
Copy link
Contributor Author

Closed with #396

@github-project-automation github-project-automation bot moved this from Todo to Done in HATS / LSDB Oct 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: Done
Development

No branches or pull requests

1 participant