Version 4.12 - #455
Merged
Merged
Version 4.12#455
Conversation
…use the +r string
Latest Cartopy produces wheels, so there's no need to install its build-time dependencies ourselves.
…ng a logarithmic scale
Remove Cartopy build-time dependencies
…d of SHCoeffs, SHMagCoeffs, and SHGravCoeffs
…roperty to constants.
Add pathlib support to input and output
Version 4.12
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Version 4.12
New Datasets!
volume_equivalent_radiusandvolumeto the constants modules.densitytomean_densityandg0togravity_mean_radius.Bug fixes
SHGrid.from_xarray(), check if the first row is 90 or -90 and flip accordingly.SHCoeffs.convert()when coefficient errors are present.spectralanalysis.cross_spectrum()when using real unnormalized coefficients.Plotting improvements
rectangleto theSHGrid.plotgmt()method that allows the use of rectangular projections that are specified by the lower-left and upper-right coordinates.cmap_background_foregroundtoSHGrid.plotgmt()that controls how data are plotted when they exceed the limits of the colormap.title_offsettoSHGrid.plotgmt()andSHGrid.plot()that specifies how much space to add between the plot and title.SHGrid.plotgmt()shading options based on changes made in pygmt 0.7, including the use of xarrays directly instead of creating temporary files.cmap_rlimitsandcmap_rlimits_complextoSHGrid.plot(),SHGrid.plotgmt()andSHGrid.plot3d()to specify colorbar limits with respect to the maximum value of the data.cmap_scaletoSHGrid.plot()andSHGrid.plotgmt()to allow using either a linear or logarithmic color map.cb_powertoSHGrid.plotgmt()to allow plotting annotations as powers of 10.SHCoeffs.plot_spectrum()to plot the error spectrum (if present) or not.Other changes
rtoSHMagCoeffs.expand()andSHGravCoeffs.expand()that allows one to compute the field at an arbitrary list of (r, lat, lon) points.pathlib.Pathobjects to all methods that require a filename.pyproject.toml.MakeCircleCoordwhen the angular radius is zero.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, D. Minton, I. Oshchepkov, P.-L. Phan, O. Poplawski, M. Reinecke, E. Sales de Andrade, E. Schnetter, S. Schröder, J. Sierra, A. Vasishta, A. Walker, xoviat, B. Xu (2024). SHTOOLS: Version 4.12, Zenodo, doi:10.5281/zenodo.592762
Reminders
developbranch: themasterbranch is used only when releasing new versions.make checkto ensure that the python code follows standard formatting conventions.