Skip to content

v0.5.0

Compare
Choose a tag to compare
@github-actions github-actions released this 29 Oct 19:47
· 1579 commits to main since this release
9e8a7bd

Release v0.5.0 (2021/10/29)

Digital Object Identifier for PyGMT v0.5.0

Highlights

  • 🎉 Fifth minor release of PyGMT 🎉
  • Wrapped 12 GMT modules
  • Standardized and reorder table inputs to be 'data, x, y, z' across functions (#1479)
  • Added a gallery example showing usage of line objects from a geopandas.GeoDataFrame (#1474)

New Features

  • Wrap blockmode (#1456)
  • Wrap gmtselect (#1429)
  • Wrap grd2xyz (#1284)
  • Wrap grdproject (#1377)
  • Wrap grdsample (#1380)
  • Wrap grdvolume (#1299)
  • Wrap nearneighbor (#1379)
  • Wrap project (#1122)
  • Wrap sph2grd (#1434)
  • Wrap sphdistance (#1383)
  • Wrap sphinterpolate (#1418)
  • Wrap xyz2grd (#636)
  • Add function to import seafloor crustal age dataset (#1471)
  • Add pygmt.load_dataarray function (#1439)

Enhancements

  • Expand table-like input options for Figure.contour (#1531)
  • Expand table-like input options for pygmt.surface (#1455)
  • Raise GMTInvalidInput exception when required z is missing (#1478)
  • Add support for passing pathlib.Path objects as filenames (#1382)
  • Allow passing a list to the 'incols' parameter for blockm, grdtrack and text (#1475)
  • Plot square or cube by default for OGR/GMT files with Point/MultiPoint types (#1438)
  • Plot square or cube by default for geopandas Point/MultiPoint types (#1405)
  • Add area_thresh to COMMON_OPTIONS (#1426)
  • Add function to import Mars dataset (#1420)
  • Add function to import hotspot dataset (#1386)

Deprecations

  • pygmt.blockm*: Reorder input parameters to 'data, x, y, z' (#1565)
  • pygmt.surface: Reorder input parameters to 'data, x, y, z' (#1562)
  • Figure.contour: Reorder input parameters to 'data, x, y, z' (#1561)
  • Figure.plot3d: Reorder input parameters to 'data, x, y, z' (#1560)
  • Figure.plot: Reorder input parameters to "data, x, y" (#1547)
  • Figure.rose: Reorder input parameters to 'data, length, azimuth' (#1546)
  • Figure.wiggle: Reorder input parameter to 'data, x, y, z' (#1548)
  • Figure.histogram: Deprecate parameter "table" to "data" (remove in v0.7.0) (#1540)
  • pygmt.info: Deprecate parameter "table" to "data" (remove in v0.7.0) (#1538)
  • Figure.wiggle: Deprecate parameter "columns" to "incols" (remove in v0.7.0) (#1504)
  • pygmt.surface: Deprecate parameter "outfile" to "outgrid" (remove in v0.7.0) (#1458)
  • NEP29: Set minimum required version to NumPy 1.18+ (#1430)

Bug Fixes

  • Allow GMTDataArrayAccessor to work on sliced datacubes (#1581)
  • Allow non-string color when input data is a matrix or a file for plot and plot3d (#1526)
  • Raise RuntimeWarning instead of an exception for irregular grid spacing (#1530)
  • Raise an error for zero increment grid (#1484)

Documentation

  • Add CITATION.cff file for PyGMT (#1592)
  • Update region and projection standard docstrings (#1510)
  • Document gmtwhich -Ga option to download to appropriate cache folder (#1554)
  • Add gallery example showing the usage of text symbols (#1522)
  • Add gallery example for grdgradient (#1428)
  • Add gallery example for grdlandmask (#1469)
  • Add missing aliases to pygmt.grdgradient (#1515)
  • Add missing aliases to pygmt.sphdistance (#1516)
  • Add missing aliases to pygmt.blockmean and pygmt.blockmedian (#1500)
  • Add missing aliases to pygmt.Figure.wiggle (#1498)
  • Add missing aliases to pygmt.Figure.velo (#1497)
  • Add missing aliases to pygmt.surface (#1501)
  • Add missing aliases to pygmt.Figure.plot3d (#1503)
  • Add missing aliases to pygmt.grdlandmask (#1423)
  • Add missing aliases to pygmt.grdtrack (#1499)
  • Add missing aliases to pygmt.Figure.plot (#1502)
  • Add missing aliases to pygmt.Figure.text (#1448)
  • Add missing aliases to pygmt.Figure.histogram (#1451)
  • Add missing alias to pygmt.Figure.legend (#1453)
  • Add missing aliases to pygmt.Figure.rose (#1452)
  • Add missing alias to pygmt.Figure.grdview (#1450)
  • Add missing aliases to pygmt.Figure.image.py (#1449)
  • Add missing common options to contour (#1446)
  • Add missing 'incols' alias to info (#1476)

Maintenance

  • Add support for Python 3.10 (#1591)
  • Make IPython partially optional on CI to increase test coverage of figure.py (#1496)
  • Use mamba to install Continuous Integration dependencies (#841)
  • Remove deprecated codecov dependency from CI (#1494)
  • Add the use of Flake8 to check examples and fix warnings (#1477)

Contributors