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 gov.nasa.gsfc.heasarc:nom-tam-fits from 1.19.1 to 1.20.0 #135

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jul 1, 2024

⚠️ Dependabot is rebasing this PR ⚠️

Rebasing might not happen immediately, so don't worry if this takes some time.

Note: if you make any changes to this PR yourself, they will take precedence over the rebase.


Bumps gov.nasa.gsfc.heasarc:nom-tam-fits from 1.19.1 to 1.20.0.

Release notes

Sourced from gov.nasa.gsfc.heasarc:nom-tam-fits's releases.

1.20.0

This release packs a slew of new features, and provides a some important bug fixes also.

Known Issues

  • #636 -- A newly introduced bug in this release results in the loss of column names when compressing tables (reported by @​keastrid). As such it somewhat spoils an otherwise very strong release. Will fix for 1.20.1. The fix is also available on the master branch at 5216861. Sorry for the mishap.

Fixed

  • #596 -- Botched compression of multicolumn tables, resulting in extra rows in the compressed table (as many rows as there were total table tiles across all columns). Bug reported by @​keastrid.

  • #610 -- Standard.TNULLn keyword can take any value type (was previously restricted to strings only).

  • #621 -- MultiArrayIterator fixes to size() and deepComponentType() methods.

Added

  • #586 -- Default column names. Some tools, including (C)FITSIO have issues dealing with table columns that have no CTYPEn keywords set to define column names. Therefore to enhance interoperability we will use 'Column N' type naming, until the user sets a column name otherwise.

  • #592 -- ImageData now supports complex valued images as per the FITS specification, both when constructed programatically from ComplexValue[]... data; or if so described with an image axis whose CTYPEn header value is 'COMPLEX' and the axis contains 2 components (so long as the complex axis is either the first or last axis). The latter is true even if integer representation is used in the FITS, e.g. via a quantization. When reading complex valued images, the native ImageData is that of the stored type (e.g. float[]..[2] or float[2]..[]) for compatibility, but ImageData.convertTo(ComplexValue.class) or .convertTo(ComplexValue.Float.class) can convert these to be true complex valued images in a second step after reading. (You may also use ImageData.isComplexValued() to check if the data were designated as complex-valued at origination, by the FITS header or the constructor.)

  • #611 - New Quantizer class to handle generic decimal-integer conversions in line with the FITS specification for integer representation of floating-point data. The new class will interpret the necessary header keywords for both images and tables, and can fill the required values in FITS headers.

  • #611 -- ImageData.setQuantizer() / .getQuantizer() and BinaryTable.ColumnDesc.setQuantizer() / .getQuantizer() methods to access the quantizers that handle decimal-integer conversions for images and binary table columns, respectively.

  • #610 -- ImageData.convertTo(Class type) will return the equivalent image data with another storage type (but otherwise the same as the original image). Any decimal-integer conversion is handled by the image's own quantizer (which is either specified in the image header or else set by the user) if it is available.

  • #610 -- New BinaryTable.getArrayElement(row, col) and .getArrayElementAs(int row, int col, Class asType) methods to return the table element as an array always (without the boxing of scalar entries). The former is similar to the original .getElement() method except that it represents FITS logicals as Boolean[]..., bits as boolean[]..., and complex values a ComplexValue[]... arrays. The second form allows accessing numerical table elements as arrays of a desired other numerical type.

  • #610 -- ArrayFuncs.convertArray(Object array, Class newType, Quantizer quant) method provides generic conversions to numerical type arrays, including ComplexValue type arrays, and can be used for explicit quantization conversions outside of images and table columns.

  • #619 -- New ArrayFuncs.sample() and .slice() methods, to provide generic support for obtaining slices and samplings from arrays in one or more dimensions, with the option of reversed order sampling along selected axes. (Suggested by @​at88mph)

Changed

  • #590 -- Removed Main class, and main() entry points from JAR, which also clears up a whole lot of junk being added to the classpath into MANIFEST.MF. (Suggested by @​bogdanni)

  • #592 -- ArrayFuncs.convertArray(Object, Class) is now the same as the new ArrayFuncs.convertArray(Object, Class, Quantizer) method without a quantizer, and thus allows conversions to/from complex valued data also, when primitive arrays have a trailing dimension of 2 (e.g. float[]..[2] or int[]..[2]).

  • #609 -- MultiArrayCopier.copyInto() now rounds floating point values before casting to integer types for a more regular behavior.

  • #611 -- BinaryTable.getDouble(...), .getLong(...) and .set(...) methods will now use the specified quantization (as specified in the header or else set explicitly by the user) when converting from decimal to integer types and vice-versa.

  • #620 -- Updated github.io landing page with history and partial listing of software that uses nom-tam-fits.

  • #620 -- Fix up POM to cure various build warnings, and allow Google Analytics for online Javadoc.

  • #623 -- Fix up test code to use latest nanohttpd-webserver for unit testing.

... (truncated)

Commits
  • df39955 1.20.0
  • 3a4983c Merge pull request #630 from nom-tam-fits/dependabot/maven/org.apache.maven.p...
  • 7d29129 Merge pull request #629 from nom-tam-fits/dependabot/maven/org.apache.maven.p...
  • 0316cb5 build(deps): bump org.apache.maven.plugins:maven-jxr-plugin
  • 40d8573 build(deps): bump org.apache.maven.plugins:maven-checkstyle-plugin
  • 94288d1 Merge pull request #628 from nom-tam-fits/dependabot/maven/org.apache.maven.p...
  • 60cd9b7 build(deps): bump org.apache.maven.plugins:maven-javadoc-plugin
  • 2a8ee16 Back to SNAPSHOT until the next release
  • fe94430 1.20.0-rc2
  • cae82db Merge pull request #626 from nom-tam-fits/dependabot/maven/org.codehaus.mojo-...
  • 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 [gov.nasa.gsfc.heasarc:nom-tam-fits](https://github.com/nom-tam-fits/nom-tam-fits) from 1.19.1 to 1.20.0.
- [Release notes](https://github.com/nom-tam-fits/nom-tam-fits/releases)
- [Changelog](https://github.com/nom-tam-fits/nom-tam-fits/blob/master/release-HOWTO.md)
- [Commits](nom-tam-fits/nom-tam-fits@1.19.1...1.20.0)

---
updated-dependencies:
- dependency-name: gov.nasa.gsfc.heasarc:nom-tam-fits
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added dependencies Pull requests that update a dependency file java Pull requests that update Java code labels Jul 1, 2024
@dependabot dependabot bot requested a review from a team as a code owner July 1, 2024 23:55
@jordanpadams jordanpadams merged commit bc0fe95 into main Jul 2, 2024
3 checks passed
@jordanpadams jordanpadams deleted the dependabot/maven/gov.nasa.gsfc.heasarc-nom-tam-fits-1.20.0 branch July 2, 2024 22:02
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 java Pull requests that update Java code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant