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 pyshtools from 4.12.2 to 4.13.1 #243

Closed
wants to merge 1 commit into from

Conversation

dependabot[bot]
Copy link
Contributor

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

Bumps pyshtools from 4.12.2 to 4.13.1.

Release notes

Sourced from pyshtools's releases.

Version 4.13.1

More constants

  • Added mean orbital elements (a, e, i) for all of the planets, Pluto, and the asteroids in the constants submodule.
  • Added the mean orbital elements of the Galilean satellites, Titan, and Enceladus (including the tilt with respect to the Laplace plane).
  • Added constants for the Sun, Pluto, and Charon.
  • Added orbit_period and orbit_angular_velocity, which are estimated using Kepler's third law, the mass of the Sun, the mass of the body, and the semimajor axis.
  • Renamed the omega constant to angular_velocity.
  • Divided the web documentation page "Constants and Datasets" into two separate web pages.

Datasets

  • Added gravity datasets of Jupiter (Kaspi2023_gravity), Saturn (Jacobson2022_gravity), Uranus (Jacobson2014_gravity), and Neptune (Jacobson2009_gravity).
  • Added two shape models of Psyche: Shepard2017 and Shepard2021.
  • Added a new ultrahigh degree principal-axis shape model of the Moon LDEM_pa, and moved the previous LOLA_pa shape model to historical.
  • Allow passing a negative lmax to get the maximum resolution model (when several resolution models are available).

Better least squares

  • The fortran weighted least squares routine in SHExpandLSQ has been modified and is now just as fast as the method without weights. LAPACK DGELS is used to perform the inversion after appropriately scaling the data kernel matrix and input data.
  • Added a new fortran routine LSQ_G and python wrapped function to precompute the data kernel matrix.
  • The fortran routine SHExpandLSQ now accepts as an optional argument a precomputed data matrix kernel, which offers some improvement in speed for high degrees.
  • Added python wrapped functions SHExpandLSQ_G and SHExpandWLSQ_G that require passing the data kernel matrix.
  • Added a new pure python routine shlsq that is a convenience function for calling the various fortran routines with or without data weights, and with or without the data kernel matrix. This function only works with real spherical harmonics.
  • Added a new class method SHCoeffs.from_least_squares() that allows one to initialize an SHCoeffs instance by performing a least squares inversion of irregularly space data.

Change of normal gravity for rotating spheres

  • The normal gravity is defined as the magnitude of the total gravity (gravitation + centrifugal) on the surface of a reference ellipsoid. Previously, the fortran NormalGravity routine set the centrifugal term to zero when the reference ellipsoid was a sphere. For the case of a sphere, it should be noted that the surface does not correspond to an equipotential surface, and the gravity vector is not normal to the surface.

Packaging

  • We have migrated from using multibuild and Appveyor to cibuildwheel to build our wheels for distribution on pypi.org. We are currently distributing wheels for macOS (intel and Apple silicon), windows, and linux (intel and ARM).

Other changes

  • Replaced the undefined attribute self._vii_units in Tensor.to_xarray() by self.units, and added a demo using the fixed Tensor.to_xarray method in the tutorial notebook gravity-and-magnetic-fields.ipynb.
  • isinstance is now used when comparing python types.
  • except Exception is now used to avoid a bare python except.
  • Improved setuptools_scm version detection when working with non-git-versioned projects.
  • Improved handling of the class attribute name. This attribute was added to classes that did not previously define name, and every method that returns a class instance now has the ability to set the name of the new instance. When creating grids from coefficients, the name of the grid class is inherited from the name of the coefficient class.
  • Added the option to rotate the ellipsoid generated by SHGrid.from_ellipsoid() about the z axis by the angle alpha.
  • Added legend_title, legend_titlesize, and legend_fontsize arguments to all plot_spectrum() and plot_cross_spectrum() methods.
  • Allow to pass dictionaries of optional arguments for all methods that previously accepted the generic **kwargs catch all. For the plotting routines, this allows to specify separate optional parameters for numpy.plot(), numpy.errorbar(), and numpy.legend().
  • Replaced the deprecated matplotlib cm.get_cmap() method with the pyplot method get_cmap().
  • Fixed a bug when using SHGrid.plotgmt() with cmap_scale='log' but without setting cb_tick_interval. The default is set to use cb_tick_interval=1 when left unspecified.
  • Updated the fortran documentation to note the accuracy limitations of the SHRotate routines at degrees close to 1200.

Reference

M. A. Wieczorek, M. Meschede, A. Broquet, T. Brugere, A. Corbin, EricAtORS, A. Hattori, A. Kalinin, J. Kohler, D. Kutra, K. Leinweber, P. Lobo, J. Maia, E. Mentzer, D. Minton, I. Oshchepkov, P.-L. Phan, O. Poplawski, M. Reinecke, E. Sales de Andrade, E. Schnetter, S. Schröder, D. Shin, J. Sierra, A. Vasishta, A. Walker, xoviat, B. Xu (2024). SHTOOLS: Version 4.13, Zenodo, doi:10.5281/zenodo.592762.

Commits

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 [pyshtools](https://github.com/SHTOOLS/SHTOOLS) from 4.12.2 to 4.13.1.
- [Release notes](https://github.com/SHTOOLS/SHTOOLS/releases)
- [Commits](SHTOOLS/SHTOOLS@v4.12.2...v4.13.1)

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

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Jul 9, 2024
Copy link

github-actions bot commented Jul 9, 2024

🦙 MegaLinter status: ✅ SUCCESS

Descriptor Linter Files Fixed Errors Elapsed time
✅ ACTION actionlint 4 0 0.24s
✅ COPYPASTE jscpd yes no 14.01s
✅ JSON prettier 2 0 0 0.45s
✅ JSON v8r 2 0 3.9s
✅ MARKDOWN markdownlint 1 0 0 0.37s
✅ MARKDOWN markdown-link-check 1 0 1.42s
✅ MARKDOWN markdown-table-formatter 1 0 0 0.35s
✅ PYTHON bandit 231 0 6.42s
✅ PYTHON black 231 0 0 4.83s
✅ PYTHON flake8 231 0 3.62s
✅ PYTHON isort 231 0 0 0.69s
✅ PYTHON mypy 231 0 6.8s
✅ PYTHON pylint 231 0 62.16s
✅ PYTHON ruff 231 0 0 0.07s
✅ REPOSITORY checkov yes no 14.64s
✅ REPOSITORY gitleaks yes no 3.27s
✅ REPOSITORY git_diff yes no 0.02s
✅ REPOSITORY grype yes no 20.45s
✅ REPOSITORY secretlint yes no 4.7s
✅ REPOSITORY trivy-sbom yes no 1.29s
✅ REPOSITORY trufflehog yes no 21.3s
✅ YAML prettier 8 0 0 0.71s
✅ YAML v8r 8 0 7.91s
✅ YAML yamllint 8 0 0.3s

See detailed report in MegaLinter reports

MegaLinter is graciously provided by OX Security

Copy link

github-actions bot commented Jul 9, 2024

Test Results

0 files   -     3  0 suites   - 3   0s ⏱️ - 55m 36s
0 tests  -   415  0 ✅  -   415  0 💤 ±  0  0 ❌ ±0 
0 runs   - 1 245  0 ✅  - 1 047  0 💤  - 198  0 ❌ ±0 

Results for commit 3f5c05c. ± Comparison against base commit 12d64ea.

@ISAS-Admin ISAS-Admin closed this Jul 9, 2024
@ISAS-Admin ISAS-Admin deleted the dependabot/pip/pyshtools-4.13.1 branch July 9, 2024 22:15
Copy link
Contributor Author

dependabot bot commented on behalf of github Jul 9, 2024

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

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.

1 participant