Published January 26, 2021
| Version v4.8
Software
Open
SHTOOLS/SHTOOLS: Version 4.8
Authors/Creators
- 1. Laboratoire Lagrange - Observatoire de la Côte d'Azur
- 2. @tweag
- 3. Center of Geodesy, Cartography and SDI (TsNIIGAiK)
- 4. University of Bonn
- 5. Universität Bonn
- 6. University of Tokyo
- 7. @gitlabhq
Description
Version 4.8
- Several functions have been vectorized using
numpy.vectorize(). These include:spharm_lm(),legendre_lm(),MakeGridPoint(),MakeGridPointC(),DownContFilterMA(),DownContFilterMC(),NormalGravity(),SHConfidence(), andPlmIndex(). - A new Fortran routine
MakeGradientDHwas added to compute the horizontal gradient of a real scalar function. The method.gradient()was added to theSHCoeffsclass, and a new classSHGradientwas created to store and plot the two horizontal components of the gradient. - Added new Fortran functions
MakeGravGridPointandMakeMagGridPointto compute the gravity and magnetic field vector at a single point. - Added the option to compute the gravity and magnetic field vectors at a single point using the python class methods
SHGravCoeffs.expand()andSHMagCoeffs.expand(). - The
plot_spectrum2d()routines have been updated to include more plotting options, including placement of the origin, tick intervals, and colormaps. Most optional parameters are the same as in theSHGrid.plot()method. - Added the option to including intensity shading in the
SHGrid.plotgmt()routine. The shading can be derived from the gradient of the input grid (by settingshading=True) or from a different map by supplying anSHGridclass instance. Optional parameters include the azimuth of the shading (shading_azimuth), as well as the maximum amplitude of the intensity (shading_amplitude). - Modified all the Fortran routines to use a slightly more efficient way to compute the radius of an ellipsoid as a function of geocentric latitude.
- Fixed a bug in
SHCoeffs.expand()whencolatwas specified in radians. - All declarations of integers in the Fortran code are now made using the types defined in the module
iso_fortran_env. Furthermore, the python wrapper and signature files have been updated to be explicit when defining the Fortran variables. - Fixed a bug where the old module name
constantneeded to be updated toconstantsin the methodSHCoeffs.centroid(). - Corrected the parameterization used when generating ellipsoids in
SHGrid.from_ellipsoid(). Though this method was introduced in v4.7, it was not mentioned in the release notes. - Changed the default behavior of
SHCoeffs.to_array()so that the default value is not to return the errors by settingerrors=False. - Added the optional attribute
nameto the coefficient classesSHGrid,SHGravCoeffs,SHMagCoeffsandSlepianCoeffs. All datasets now explicity setnameto the function call of the dataset. - Moved the file
shtools.hfromsrc/toinclude/and updated the Makefiles accordingly.
M. A. Wieczorek, M. Meschede, E. Sales de Andrade, A. Corbin, I. Oshchepkov, B. Xu, and A. Walker, A. Hattori, S. Schröder, K. Leinweber, A. Vasishta (2021). SHTOOLS: Version 4.8, Zenodo, doi:10.5281/zenodo.592762
Files
SHTOOLS/SHTOOLS-v4.8.zip
Files
(41.3 MB)
| Name | Size | Download all |
|---|---|---|
|
md5:b579d466d5f81b05183f3f6325d7f8b9
|
41.3 MB | Preview Download |
Additional details
Related works
- Is supplement to
- https://github.com/SHTOOLS/SHTOOLS/tree/v4.8 (URL)