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

Bump mocpy from 0.13.1 to 0.17.0 #460

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Oct 17, 2024

Bumps mocpy from 0.13.1 to 0.17.0.

Release notes

Sourced from mocpy's releases.

v0.17.0

What's Changed

Added

  • Add support of regions.Regions #163
  • Add option to turn off optimization in fill. The optimization degrades MOCs that are way more precise than the given WCS #166
  • Creation of a MOC from a zone (defined by min/max ra and dec)MOC.from_zone
  • Creation of a single MOC from a lot of cones/boxes is faster with the new option in MOC.from_cones/MOC.from_boxes: the keyword 'union_strategy' can now take the value 'small_cones'/'small_boxes' or 'large_cones'/'large_boxes'. Small cones/boxes is faster for non-overlapping cones/boxes.
  • MOC.from_fits_images can now loop through the HDUList to only keep images with the parameter hdu_index set to -1 #110
  • MOC.from_fits_image now has an 'approximate' option that returns a rough approximation of the footprint of the image data from the corners of a square deduced from its WCS and does not apply any mask.

Fixed

  • fix healpix order corresponding to 1 pixel on the image calculation in MOC.from_fits_image #169
  • MOC.from_fits_images will return an empty MOC and emit a warning if there are no images in the FITS file instead of returning an error.

Full Changelog: cds-astro/mocpy@v0.16.2...v0.17.0

v0.16.2

What's Changed

Fixed

  • MOC.from_astropy_regions now accepts EllipseSkyRegion and RectangleSkyRegion where width > height.

Full Changelog: cds-astro/mocpy@v0.16.1...v0.16.2

v0.16.1

What's Changed

Full Changelog: cds-astro/mocpy@v0.16.0...v0.16.1

v0.16.0

What's changed

Added

... (truncated)

Changelog

Sourced from mocpy's changelog.

[0.17.0]

Added

  • Add support of regions.Regions #163
  • Add option to turn off optimization in fill. The optimization degrades MOCs that are way more precise than the given WCS #166
  • Creation of a MOC from a zone (defined by min/max ra and dec)MOC.from_zone
  • Creation of a single MOC from a lot of cones/boxes is faster with the new option in MOC.from_cones/MOC.from_boxes: the keyword 'union_strategy' can now take the value 'small_cones'/'small_boxes' or 'large_cones'/'large_boxes'. Small cones/boxes is faster for non-overlapping cones/boxes.
  • MOC.from_fits_images can now loop through the HDUList to only keep images with the parameter hdu_index set to -1 #110
  • MOC.from_fits_image now has an 'approximate' option that returns a rough approximation of the footprint of the image data from the corners of a square deduced from its WCS and does not apply any mask.

Fixed

  • fix healpix order corresponding to 1 pixel on the image calculation in MOC.from_fits_image #169
  • MOC.from_fits_images will return an empty MOC and emit a warning if there are no images in the FITS file instead of returning an error.

[0.16.2]

Fixed

  • MOC.from_astropy_regions now accepts EllipseSkyRegion and RectangleSkyRegion where width > height.

[0.16.1]

Fixed

  • from_healpix_cells and from_valued_healpix_cells accept order zero cells again

[0.16.0]

Added

  • MOC.mask_uniq allows to mas an array of uniq cells with a MOC
  • MOC.values_and_weights_in_multiorder_map allows to filter a multiordermap by a MOC with weights corresponding to the area of the cells intersecting the MOC and the multiordermap
  • the mocpy.WCS class can now accept a sequence of angles as its fov argument rather than always representing square areas of the sky.
  • MOC.from_polygons and MOC.from_polygons now accept a boolean complement that allows to chose between the small MOC described by the polygon or the bigger one (its complement)
  • implement multi-moc operations on STMOCs (ex: stmoc1.union(stmoc2, stmoc3, ...)) for union, intersection, and difference

... (truncated)

Commits
  • 744a8fc add support of numpy2.0
  • c8f6fc4 maint: depend on stable moclib-rust and cdshealpix-rust. Also apply modificat...
  • 0f19457 maint: revert supporting python 3.13, this is blocked by pyerfa (astropy mand...
  • 99dd1f2 maint: add python 3.13 in ci
  • c7a13b0 fix: switch to Array vendored by numpy crate to avoid versions mismatchs
  • 61fc465 maint: prepare 0.17.0
  • dffc32b maint: add support for python 3.13 and relax constraint on numpy
  • 1ce2c6a maint: bump pyo3 to 0.22
  • b253f10 fix: from_fits_image and from_fits_images [PR #168]
  • 8851681 feat: add approximate option for faster MOC generation
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Bumps [mocpy](https://github.com/cds-astro/mocpy) from 0.13.1 to 0.17.0.
- [Release notes](https://github.com/cds-astro/mocpy/releases)
- [Changelog](https://github.com/cds-astro/mocpy/blob/master/CHANGELOG.md)
- [Commits](cds-astro/mocpy@v0.13.1...v0.17.0)

---
updated-dependencies:
- dependency-name: mocpy
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Oct 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants