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

Insert dataset dir and use general ra/dec column names. #377

Merged
merged 2 commits into from
Oct 15, 2024

Conversation

delucchi-cmu
Copy link
Contributor

Change Description

Closes #366

Adds a dataset directory that contains all parquet files (leaf parquet data files, and root-level metadata files).

Other changes included:

  • rename the ra/dec column properties, and add key for default epoch
  • re-generate unit test data with these changes included.

Code Quality

  • I have read the Contribution Guide
  • My code follows the code style of this project
  • My code builds (or compiles) cleanly without any errors or warnings
  • My code contains relevant comments and necessary documentation

Copy link

Check out this pull request on  ReviewNB

See visual diffs & provide feedback on Jupyter Notebooks.


Powered by ReviewNB

Copy link

codecov bot commented Oct 15, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 92.75%. Comparing base (ab5d272) to head (4b65ee1).

Additional details and impacted files
@@           Coverage Diff           @@
##             hats     #377   +/-   ##
=======================================
  Coverage   92.74%   92.75%           
=======================================
  Files          48       48           
  Lines        1931     1933    +2     
=======================================
+ Hits         1791     1793    +2     
  Misses        140      140           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

tests/data/small_sky/properties Show resolved Hide resolved
@delucchi-cmu delucchi-cmu merged commit 7c4a3e4 into hats Oct 15, 2024
10 checks passed
@delucchi-cmu delucchi-cmu deleted the delucchi/data_dir branch October 15, 2024 19:07
delucchi-cmu added a commit that referenced this pull request Oct 16, 2024
* Initial renaming (#352)

* Initial renaming

* A few more spots.

* Docs issues found in code review.

* Few more issues of bad find/replace...

* Update unit test data with changes to hipscat-import (#354)

* Update unit test data with changes to hipscat-import

* Add new pylint config.

* Create HIPS-style properties file (#358)

* Update unit test data with changes to hipscat-import

* Add new pylint config.

* catalog_info.json -> properties.

* Support hips-style space-delimited lists

* Good type hint

* Reduce duplication.

* Changes from code review

* Add default column to properties (#359)

* Add default column to properties

* Add fractional coverage on partition info

* Add convenience import.

* Clean it up

* Comment about square degrees.

* Add copy_and_update

* replace hipscat index

* update docs

* fix typo

* isort

* rename test hipscat id

* Improve reading/writing of fits file. (#361)

* Improve reading/writing of fits file.

* Pylint findings

* Set total_rows to non-none value. (#362)

* Code review comments.

* change healpix to index type

* update return type

* Clean up straggling instances of hips/hipscat (#369)

* Straggling instances of hips/hipscat

* A little more cleanup

* Insert dataset dir and use general ra/dec column names. (#377)

* Insert dataset dir and use general ra/dec column names.

* Update documentated directory structure.

* Code review comments.

---------

Co-authored-by: Sean McGuire <[email protected]>
Co-authored-by: Sean McGuire <[email protected]>
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