From ad5736c4181386d2a9f2aa6c65e680d572c673e7 Mon Sep 17 00:00:00 2001 From: Will Schlitzer Date: Fri, 29 Oct 2021 07:26:48 +0100 Subject: [PATCH 01/20] initial copy for v0.5.0 changelog --- doc/changes.md | 102 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 102 insertions(+) diff --git a/doc/changes.md b/doc/changes.md index 1a502de56c5..9f3f80332d7 100644 --- a/doc/changes.md +++ b/doc/changes.md @@ -1,5 +1,107 @@ # Changelog +## Release v0.5.0 (2021/10/29) + +[![Digital Object Identifier for PyGMT v0.5.0](https://zenodo.org/badge/DOI/10.5281/zenodo.3781524.svg)](https://doi.org/10.5281/zenodo.3781524) + +### Highlights + +* + +### New Features + +* Wrap gmtselect ([#1429](https://github.com/GenericMappingTools/pygmt/pull/1429)) +* Wrap project ([#1122](https://github.com/GenericMappingTools/pygmt/pull/1122)) +* Wrap grdvolume ([#1299](https://github.com/GenericMappingTools/pygmt/pull/1299)) +* Add function to import seafloor crustal age dataset ([#1471](https://github.com/GenericMappingTools/pygmt/pull/1471)) +* Wrap sphinterpolate ([#1418](https://github.com/GenericMappingTools/pygmt/pull/1418)) +* Wrap sph2grd ([#1434](https://github.com/GenericMappingTools/pygmt/pull/1434)) +* Wrap nearneighbor ([#1379](https://github.com/GenericMappingTools/pygmt/pull/1379)) +* Wrap grd2xyz ([#1284](https://github.com/GenericMappingTools/pygmt/pull/1284)) +* Add Mars dataset ([#1420](https://github.com/GenericMappingTools/pygmt/pull/1420)) +* Wrap blockmode ([#1456](https://github.com/GenericMappingTools/pygmt/pull/1456)) +* Wrap sphdistance ([#1383](https://github.com/GenericMappingTools/pygmt/pull/1383)) +* Add pygmt.load_dataarray function and refactor modules that return None or xarray.dataarray ([#1439](https://github.com/GenericMappingTools/pygmt/pull/1439)) +* Wrap grdproject ([#1377](https://github.com/GenericMappingTools/pygmt/pull/1377)) +* Add function to import hotspot dataset ([#1386](https://github.com/GenericMappingTools/pygmt/pull/1386)) +* Wrap grdsample ([#1380](https://github.com/GenericMappingTools/pygmt/pull/1380)) +* Wrap xyz2grd ([#636](https://github.com/GenericMappingTools/pygmt/pull/636)) + +### Enhancements + +* Expand table-like input options for Figure.contour ([#1531](https://github.com/GenericMappingTools/pygmt/pull/1531)) +* Expand table-like input options for pygmt.surface ([#1455](https://github.com/GenericMappingTools/pygmt/pull/1455)) +* Raise GMTInvalidInput exception when required z is missing ([#1478](https://github.com/GenericMappingTools/pygmt/pull/1478)) +* Add support for passing pathlib.Path objects as filenames ([#1382](https://github.com/GenericMappingTools/pygmt/pull/1382)) +* Allow passing a list to the 'incols' parameter for blockm, grdtrack and text ([#1475](https://github.com/GenericMappingTools/pygmt/pull/1475)) +* Add the 'incols' alias to info ([#1476](https://github.com/GenericMappingTools/pygmt/pull/1476)) +* Plot square or cube by default for OGR/GMT files with Point/MultiPoint types ([#1438](https://github.com/GenericMappingTools/pygmt/pull/1438)) +* Update/add grdlandmask parameters and aliases ([#1423](https://github.com/GenericMappingTools/pygmt/pull/1423)) +* Plot square or cube by default for geopandas Point/MultiPoint types ([#1405](https://github.com/GenericMappingTools/pygmt/pull/1405)) +* Add area_thresh to COMMON_OPTIONS ([#1426](https://github.com/GenericMappingTools/pygmt/pull/1426)) + +### Deprecations + +* pygmt.blockm*: Reorder input parameters to 'data, x, y, z' ([#1565](https://github.com/GenericMappingTools/pygmt/pull/1565)) +* pygmt.surface: Reorder input parameters to 'data, x, y, z' ([#1562](https://github.com/GenericMappingTools/pygmt/pull/1562)) +* Figure.contour: Reorder input parameters to 'data, x, y, z' ([#1561](https://github.com/GenericMappingTools/pygmt/pull/1561)) +* Figure.plot3d: Reorder input parameters to 'data, x, y, z' ([#1560](https://github.com/GenericMappingTools/pygmt/pull/1560)) +* Figure.plot: Reorder input parameters to "data, x, y" ([#1547](https://github.com/GenericMappingTools/pygmt/pull/1547)) +* Figure.rose: Reorder input parameters to 'data, length, azimuth' ([#1546](https://github.com/GenericMappingTools/pygmt/pull/1546)) +* Figure.wiggle: Reorder input parameter to 'data, x, y, z' ([#1548](https://github.com/GenericMappingTools/pygmt/pull/1548)) +* Figure.histogram: Deprecate parameter "table" to "data" (remove in v0.7.0) ([#1540](https://github.com/GenericMappingTools/pygmt/pull/1540)) +* pygmt.info: Deprecate parameter "table" to "data" (remove in v0.7.0) ([#1538](https://github.com/GenericMappingTools/pygmt/pull/1538)) +* Figure.wiggle: Deprecate parameter "columns" to "incols" (remove in v0.7.0) ([#1504](https://github.com/GenericMappingTools/pygmt/pull/1504)) +* pygmt.surface: Deprecate parameter "outfile" to "outgrid" (remove in v0.7.0) ([#1458](https://github.com/GenericMappingTools/pygmt/pull/1458)) +* NEP29: Set minimum required version to NumPy 1.18+ ([#1430](https://github.com/GenericMappingTools/pygmt/pull/1430)) + +### Bug Fixes + +* Allow GMTDataArrayAccessor to work on sliced datacubes ([#1581](https://github.com/GenericMappingTools/pygmt/pull/1581)) +* Allow non-string color when input data is a matrix or a file for plot and plot3d ([#1526](https://github.com/GenericMappingTools/pygmt/pull/1526)) +* Raise RuntimeWarning instead of an exception for irregular grid spacing ([#1530](https://github.com/GenericMappingTools/pygmt/pull/1530)) +* Raise an error for zero increment grid ([#1484](https://github.com/GenericMappingTools/pygmt/pull/1484)) + +### Documentation + +* Add missing aliases to pygmt.grdgradient ([#1515](https://github.com/GenericMappingTools/pygmt/pull/1515)) +* Remove disclaimer in README ([#1590](https://github.com/GenericMappingTools/pygmt/pull/1590)) +* Add missing aliases to sphdistance ([#1516](https://github.com/GenericMappingTools/pygmt/pull/1516)) +* Update region and projection standard docstrings ([#1510](https://github.com/GenericMappingTools/pygmt/pull/1510)) +* Document gmtwhich -Ga option to download to appropriate cache folder ([#1554](https://github.com/GenericMappingTools/pygmt/pull/1554)) +* Add a gallery example showing the usage of text symbols ([#1522](https://github.com/GenericMappingTools/pygmt/pull/1522)) +* Add gallery example for grdgradient ([#1428](https://github.com/GenericMappingTools/pygmt/pull/1428)) +* Add missing aliases to pygmt.blockmean and pygmt.blockmedian ([#1500](https://github.com/GenericMappingTools/pygmt/pull/1500)) +* Add missing aliases to pygmt.Figure.wiggle ([#1498](https://github.com/GenericMappingTools/pygmt/pull/1498)) +* Add missing aliases to pygmt.Figure.velo ([#1497](https://github.com/GenericMappingTools/pygmt/pull/1497)) +* Add missing aliases to pygmt.surface ([#1501](https://github.com/GenericMappingTools/pygmt/pull/1501)) +* Add missing aliases to pygmt.Figure.plot3d ([#1503](https://github.com/GenericMappingTools/pygmt/pull/1503)) +* Add missing aliases to pygmt.grdtrack ([#1499](https://github.com/GenericMappingTools/pygmt/pull/1499)) +* Add missing aliases to pygmt.Figure.plot ([#1502](https://github.com/GenericMappingTools/pygmt/pull/1502)) +* Add gallery example showing usage of line objects from a geopandas.GeoDataFrame ([#1474](https://github.com/GenericMappingTools/pygmt/pull/1474)) +* Add gallery example for grdlandmask ([#1469](https://github.com/GenericMappingTools/pygmt/pull/1469)) +* Add missing aliases to pygmt.Figure.text ([#1448](https://github.com/GenericMappingTools/pygmt/pull/1448)) +* Add missing aliases to pygmt.Figure.histogram ([#1451](https://github.com/GenericMappingTools/pygmt/pull/1451)) +* Add missing alias to pygmt.Figure.legend ([#1453](https://github.com/GenericMappingTools/pygmt/pull/1453)) +* Add missing aliases to pygmt.Figure.rose ([#1452](https://github.com/GenericMappingTools/pygmt/pull/1452)) +* Add missing alias to pygmt.Figure.grdview ([#1450](https://github.com/GenericMappingTools/pygmt/pull/1450)) +* Add missing aliases to pygmt.Figure.image.py ([#1449](https://github.com/GenericMappingTools/pygmt/pull/1449)) +* Add missing common options to contour ([#1446](https://github.com/GenericMappingTools/pygmt/pull/1446)) + +### Maintenance + +* Support Python 3.10 ([#1591](https://github.com/GenericMappingTools/pygmt/pull/1591)) +* Make IPython partially optional on CI to increase test coverage of figure.py ([#1496](https://github.com/GenericMappingTools/pygmt/pull/1496)) +* Use mamba to install Continuous Integration dependencies ([#841](https://github.com/GenericMappingTools/pygmt/pull/841)) +* Remove deprecated codecov dependency from CI ([#1494](https://github.com/GenericMappingTools/pygmt/pull/1494)) +* Let Flake8 check examples and fix warnings ([#1477](https://github.com/GenericMappingTools/pygmt/pull/1477)) + +### Contributors + +@BeckySalvage, @JamieJQuinn, @aitorres, @arleaman, @carocamargo, @claudiodsf, @daroari, @dependabot, @dependabot[bot], @meghanrjones, @michaelgrund, @obaney, @seisman, @srijac, @weiji14, @willschlitzer and @yohaimagen + +---- + ## Release v0.4.1 (2021/08/07) [![Digital Object Identifier for PyGMT v0.4.1](https://zenodo.org/badge/DOI/10.5281/zenodo.5162003.svg)](https://doi.org/10.5281/zenodo.5162003) From ef9c0ab167c8d222c0a0d07ef73dc084b8ca0163 Mon Sep 17 00:00:00 2001 From: Will Schlitzer Date: Fri, 29 Oct 2021 07:30:10 +0100 Subject: [PATCH 02/20] remove README update --- doc/changes.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/doc/changes.md b/doc/changes.md index 9f3f80332d7..3e35b58f9b6 100644 --- a/doc/changes.md +++ b/doc/changes.md @@ -2,7 +2,7 @@ ## Release v0.5.0 (2021/10/29) -[![Digital Object Identifier for PyGMT v0.5.0](https://zenodo.org/badge/DOI/10.5281/zenodo.3781524.svg)](https://doi.org/10.5281/zenodo.3781524) +[![Digital Object Identifier for PyGMT v0.5.0](https://zenodo.org/badge/DOI/10.5281/zenodo.5607255.svg)](https://doi.org/10.5281/zenodo.5607255) ### Highlights @@ -65,7 +65,6 @@ ### Documentation * Add missing aliases to pygmt.grdgradient ([#1515](https://github.com/GenericMappingTools/pygmt/pull/1515)) -* Remove disclaimer in README ([#1590](https://github.com/GenericMappingTools/pygmt/pull/1590)) * Add missing aliases to sphdistance ([#1516](https://github.com/GenericMappingTools/pygmt/pull/1516)) * Update region and projection standard docstrings ([#1510](https://github.com/GenericMappingTools/pygmt/pull/1510)) * Document gmtwhich -Ga option to download to appropriate cache folder ([#1554](https://github.com/GenericMappingTools/pygmt/pull/1554)) From 7c38c0c3faf915f244534d84ea528b36f5c22413 Mon Sep 17 00:00:00 2001 From: Will Schlitzer Date: Fri, 29 Oct 2021 07:31:44 +0100 Subject: [PATCH 03/20] update wording in maintenance changes --- doc/changes.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/changes.md b/doc/changes.md index 3e35b58f9b6..0fba68d7c04 100644 --- a/doc/changes.md +++ b/doc/changes.md @@ -89,11 +89,11 @@ ### Maintenance -* Support Python 3.10 ([#1591](https://github.com/GenericMappingTools/pygmt/pull/1591)) +* Add support Python 3.10 ([#1591](https://github.com/GenericMappingTools/pygmt/pull/1591)) * Make IPython partially optional on CI to increase test coverage of figure.py ([#1496](https://github.com/GenericMappingTools/pygmt/pull/1496)) * Use mamba to install Continuous Integration dependencies ([#841](https://github.com/GenericMappingTools/pygmt/pull/841)) * Remove deprecated codecov dependency from CI ([#1494](https://github.com/GenericMappingTools/pygmt/pull/1494)) -* Let Flake8 check examples and fix warnings ([#1477](https://github.com/GenericMappingTools/pygmt/pull/1477)) +* Add the use of Flake8 to check examples and fix warnings ([#1477](https://github.com/GenericMappingTools/pygmt/pull/1477)) ### Contributors From 5008840c9ae1a6a27278a2593309fc4f07946ad1 Mon Sep 17 00:00:00 2001 From: Will Schlitzer Date: Fri, 29 Oct 2021 07:41:17 +0100 Subject: [PATCH 04/20] change order and organization of items in change log --- doc/changes.md | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/doc/changes.md b/doc/changes.md index 0fba68d7c04..8d24d7c2334 100644 --- a/doc/changes.md +++ b/doc/changes.md @@ -18,12 +18,10 @@ * Wrap sph2grd ([#1434](https://github.com/GenericMappingTools/pygmt/pull/1434)) * Wrap nearneighbor ([#1379](https://github.com/GenericMappingTools/pygmt/pull/1379)) * Wrap grd2xyz ([#1284](https://github.com/GenericMappingTools/pygmt/pull/1284)) -* Add Mars dataset ([#1420](https://github.com/GenericMappingTools/pygmt/pull/1420)) * Wrap blockmode ([#1456](https://github.com/GenericMappingTools/pygmt/pull/1456)) * Wrap sphdistance ([#1383](https://github.com/GenericMappingTools/pygmt/pull/1383)) * Add pygmt.load_dataarray function and refactor modules that return None or xarray.dataarray ([#1439](https://github.com/GenericMappingTools/pygmt/pull/1439)) * Wrap grdproject ([#1377](https://github.com/GenericMappingTools/pygmt/pull/1377)) -* Add function to import hotspot dataset ([#1386](https://github.com/GenericMappingTools/pygmt/pull/1386)) * Wrap grdsample ([#1380](https://github.com/GenericMappingTools/pygmt/pull/1380)) * Wrap xyz2grd ([#636](https://github.com/GenericMappingTools/pygmt/pull/636)) @@ -36,9 +34,11 @@ * Allow passing a list to the 'incols' parameter for blockm, grdtrack and text ([#1475](https://github.com/GenericMappingTools/pygmt/pull/1475)) * Add the 'incols' alias to info ([#1476](https://github.com/GenericMappingTools/pygmt/pull/1476)) * Plot square or cube by default for OGR/GMT files with Point/MultiPoint types ([#1438](https://github.com/GenericMappingTools/pygmt/pull/1438)) -* Update/add grdlandmask parameters and aliases ([#1423](https://github.com/GenericMappingTools/pygmt/pull/1423)) * Plot square or cube by default for geopandas Point/MultiPoint types ([#1405](https://github.com/GenericMappingTools/pygmt/pull/1405)) * Add area_thresh to COMMON_OPTIONS ([#1426](https://github.com/GenericMappingTools/pygmt/pull/1426)) +* Add function to import Mars dataset ([#1420](https://github.com/GenericMappingTools/pygmt/pull/1420)) +* Add function to import hotspot dataset ([#1386](https://github.com/GenericMappingTools/pygmt/pull/1386)) + ### Deprecations @@ -64,20 +64,21 @@ ### Documentation -* Add missing aliases to pygmt.grdgradient ([#1515](https://github.com/GenericMappingTools/pygmt/pull/1515)) -* Add missing aliases to sphdistance ([#1516](https://github.com/GenericMappingTools/pygmt/pull/1516)) * Update region and projection standard docstrings ([#1510](https://github.com/GenericMappingTools/pygmt/pull/1510)) * Document gmtwhich -Ga option to download to appropriate cache folder ([#1554](https://github.com/GenericMappingTools/pygmt/pull/1554)) * Add a gallery example showing the usage of text symbols ([#1522](https://github.com/GenericMappingTools/pygmt/pull/1522)) * Add gallery example for grdgradient ([#1428](https://github.com/GenericMappingTools/pygmt/pull/1428)) +* Add gallery example showing usage of line objects from a geopandas.GeoDataFrame ([#1474](https://github.com/GenericMappingTools/pygmt/pull/1474)) +* Add missing aliases to pygmt.grdgradient ([#1515](https://github.com/GenericMappingTools/pygmt/pull/1515)) +* Add missing aliases to pygmt.sphdistance ([#1516](https://github.com/GenericMappingTools/pygmt/pull/1516)) * Add missing aliases to pygmt.blockmean and pygmt.blockmedian ([#1500](https://github.com/GenericMappingTools/pygmt/pull/1500)) * Add missing aliases to pygmt.Figure.wiggle ([#1498](https://github.com/GenericMappingTools/pygmt/pull/1498)) * Add missing aliases to pygmt.Figure.velo ([#1497](https://github.com/GenericMappingTools/pygmt/pull/1497)) * Add missing aliases to pygmt.surface ([#1501](https://github.com/GenericMappingTools/pygmt/pull/1501)) * Add missing aliases to pygmt.Figure.plot3d ([#1503](https://github.com/GenericMappingTools/pygmt/pull/1503)) +* Add missing aliases to pygmt.grdlandmask ([#1423](https://github.com/GenericMappingTools/pygmt/pull/1423)) * Add missing aliases to pygmt.grdtrack ([#1499](https://github.com/GenericMappingTools/pygmt/pull/1499)) * Add missing aliases to pygmt.Figure.plot ([#1502](https://github.com/GenericMappingTools/pygmt/pull/1502)) -* Add gallery example showing usage of line objects from a geopandas.GeoDataFrame ([#1474](https://github.com/GenericMappingTools/pygmt/pull/1474)) * Add gallery example for grdlandmask ([#1469](https://github.com/GenericMappingTools/pygmt/pull/1469)) * Add missing aliases to pygmt.Figure.text ([#1448](https://github.com/GenericMappingTools/pygmt/pull/1448)) * Add missing aliases to pygmt.Figure.histogram ([#1451](https://github.com/GenericMappingTools/pygmt/pull/1451)) From f82677b3eb7840eb4519e7b8b922e678002ffe35 Mon Sep 17 00:00:00 2001 From: Will Schlitzer Date: Fri, 29 Oct 2021 08:06:18 +0100 Subject: [PATCH 05/20] update author list --- doc/changes.md | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) diff --git a/doc/changes.md b/doc/changes.md index 8d24d7c2334..5e7523ba5f1 100644 --- a/doc/changes.md +++ b/doc/changes.md @@ -98,7 +98,21 @@ ### Contributors -@BeckySalvage, @JamieJQuinn, @aitorres, @arleaman, @carocamargo, @claudiodsf, @daroari, @dependabot, @dependabot[bot], @meghanrjones, @michaelgrund, @obaney, @seisman, @srijac, @weiji14, @willschlitzer and @yohaimagen +* [Dongdong Tian](https://github.com/seisman) +* [Will Schlitzer](https://github.com/willschlitzer) +* [Michael Grund](https://github.com/michaelgrund) +* [Wei Ji Leong](https://github.com/weiji14) +* [Meghan Jones](https://github.com/meghanrjones) +* [@yohaimagen](https://github.com/yohaimagen) +* [Amanda Leaman](https://github.com/arleaman) +* [@daroari](https://github.com/daroari) +* [@obaney](https://github.com/obaney) +* [@srijac](https://github.com/srijac) +* [AndrΓ©s Ignacio Torres](https://github.com/aitorres) +* [Becky Salvage](https://github.com/BeckySalvage) +* [Claudio Satriano](https://github.com/claudiodsf) +* [Jamie J Quinn](https://github.com/JamieJQuinn) +* [@carocamargo](https://github.com/carocamargo) ---- From 9253c96e6037171614a87c0af49209c814b3b7ec Mon Sep 17 00:00:00 2001 From: Will Schlitzer Date: Fri, 29 Oct 2021 08:09:21 +0100 Subject: [PATCH 06/20] add highlight --- doc/changes.md | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/doc/changes.md b/doc/changes.md index 5e7523ba5f1..4739b99d7f3 100644 --- a/doc/changes.md +++ b/doc/changes.md @@ -6,7 +6,8 @@ ### Highlights -* +* πŸŽ‰ **Fifth minor release of PyGMT** πŸŽ‰ +* Add support for Python 3.10 ([#1591](https://github.com/GenericMappingTools/pygmt/pull/1591)) ### New Features @@ -20,7 +21,7 @@ * Wrap grd2xyz ([#1284](https://github.com/GenericMappingTools/pygmt/pull/1284)) * Wrap blockmode ([#1456](https://github.com/GenericMappingTools/pygmt/pull/1456)) * Wrap sphdistance ([#1383](https://github.com/GenericMappingTools/pygmt/pull/1383)) -* Add pygmt.load_dataarray function and refactor modules that return None or xarray.dataarray ([#1439](https://github.com/GenericMappingTools/pygmt/pull/1439)) +* Add pygmt.load_dataarray function ([#1439](https://github.com/GenericMappingTools/pygmt/pull/1439)) * Wrap grdproject ([#1377](https://github.com/GenericMappingTools/pygmt/pull/1377)) * Wrap grdsample ([#1380](https://github.com/GenericMappingTools/pygmt/pull/1380)) * Wrap xyz2grd ([#636](https://github.com/GenericMappingTools/pygmt/pull/636)) From 7e3c37211086fd5e80bed335ad6fb027335a3b6b Mon Sep 17 00:00:00 2001 From: Will Schlitzer Date: Fri, 29 Oct 2021 08:19:40 +0100 Subject: [PATCH 07/20] update README.rst; no changes to author list --- README.rst | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/README.rst b/README.rst index 5a3e41a4168..003e21d463c 100644 --- a/README.rst +++ b/README.rst @@ -137,7 +137,7 @@ Developers". Feel free to cite our work in your research using the following Bib .. code-block:: - @software{pygmt_2021_5162003, + @software{pygmt_2021_5607255, author = {Uieda, Leonardo and Tian, Dongdong and Leong, Wei Ji and @@ -153,12 +153,12 @@ Developers". Feel free to cite our work in your research using the following Bib Magen, Yohai and Wessel, Paul}, title = {{PyGMT: A Python interface for the Generic Mapping Tools}}, - month = aug, + month = oct, year = 2021, publisher = {Zenodo}, - version = {v0.4.1}, - doi = {10.5281/zenodo.5162003}, - url = {https://doi.org/10.5281/zenodo.5162003} + version = {v0.5.0}, + doi = {10.5281/zenodo.5607255}, + url = {https://doi.org/10.5281/zenodo.5607255} } To cite a specific version of PyGMT, go to our Zenodo page at From 8e6aa9f4cc7f0698f91f9281480abf0bf1c99618 Mon Sep 17 00:00:00 2001 From: Will Schlitzer Date: Fri, 29 Oct 2021 08:23:18 +0100 Subject: [PATCH 08/20] add v0.5.0 to version_switch.js --- doc/_static/version_switch.js | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/_static/version_switch.js b/doc/_static/version_switch.js index cd97cfe63c6..74fbee73788 100644 --- a/doc/_static/version_switch.js +++ b/doc/_static/version_switch.js @@ -12,6 +12,7 @@ var all_versions = { 'latest': 'latest', 'dev': 'dev', + 'v0.5.0': 'v0.5.0', 'v0.4.1': 'v0.4.1', 'v0.4.0': 'v0.4.0', 'v0.3.1': 'v0.3.1', From 3c24d752f601c28985337e16aaab6adfb2729de7 Mon Sep 17 00:00:00 2001 From: Will Schlitzer Date: Fri, 29 Oct 2021 08:28:07 +0100 Subject: [PATCH 09/20] adding version v0.5.0 as the latest release instead of dev release --- README.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.rst b/README.rst index 003e21d463c..195c8db5080 100644 --- a/README.rst +++ b/README.rst @@ -211,12 +211,12 @@ Compatibility with GMT/Python/NumPy versions - GMT - Python - Numpy - * - `v0.5.0 `_ (upcoming release) - - `Dev Documentation `_ (reflects `main branch `_) + * - `v0.5.0 `_ (latest release) + - `v0.5.0 Documentation `_ - >=6.2.0 - >=3.7 - >=1.18 - * - `v0.4.1 `_ (latest release) + * - `v0.4.1 `_ - `v0.4.1 Documentation `_ - >=6.2.0 - >=3.7 From 0e54ddbee8ba6a5e20acb7624c28d1d119eb71b7 Mon Sep 17 00:00:00 2001 From: Will Schlitzer Date: Fri, 29 Oct 2021 09:06:57 +0100 Subject: [PATCH 10/20] add dev release to PyGMT version table --- README.rst | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/README.rst b/README.rst index 195c8db5080..a7de52c6d07 100644 --- a/README.rst +++ b/README.rst @@ -211,6 +211,11 @@ Compatibility with GMT/Python/NumPy versions - GMT - Python - Numpy + * - `Dev `_ (upcoming release) + - `Dev Documentation `_ + - >=6.2.0 + - >=3.7 + - >=1.18 * - `v0.5.0 `_ (latest release) - `v0.5.0 Documentation `_ - >=6.2.0 From d18ed2fd0d9c9d3145512cd84623c9099c382432 Mon Sep 17 00:00:00 2001 From: Will Schlitzer Date: Fri, 29 Oct 2021 10:27:32 +0100 Subject: [PATCH 11/20] add wrapping 12 modules to highlights --- doc/changes.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/changes.md b/doc/changes.md index 4739b99d7f3..64c24d86f82 100644 --- a/doc/changes.md +++ b/doc/changes.md @@ -7,7 +7,8 @@ ### Highlights * πŸŽ‰ **Fifth minor release of PyGMT** πŸŽ‰ -* Add support for Python 3.10 ([#1591](https://github.com/GenericMappingTools/pygmt/pull/1591)) +* Added support for Python 3.10 ([#1591](https://github.com/GenericMappingTools/pygmt/pull/1591)) +* Wrapped 12 GMT modules ### New Features From 009944dca855a8cc091d959f500c3f5e3bb2e11f Mon Sep 17 00:00:00 2001 From: Will Schlitzer Date: Fri, 29 Oct 2021 11:32:53 +0100 Subject: [PATCH 12/20] Apply suggestions from code review Co-authored-by: Wei Ji <23487320+weiji14@users.noreply.github.com> Co-authored-by: Michael Grund <23025878+michaelgrund@users.noreply.github.com> --- README.rst | 2 +- doc/changes.md | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/README.rst b/README.rst index a7de52c6d07..8817c47841d 100644 --- a/README.rst +++ b/README.rst @@ -212,7 +212,7 @@ Compatibility with GMT/Python/NumPy versions - Python - Numpy * - `Dev `_ (upcoming release) - - `Dev Documentation `_ + - `Dev Documentation `_ (reflects `main branch `_) - >=6.2.0 - >=3.7 - >=1.18 diff --git a/doc/changes.md b/doc/changes.md index 64c24d86f82..ce79650908d 100644 --- a/doc/changes.md +++ b/doc/changes.md @@ -9,6 +9,7 @@ * πŸŽ‰ **Fifth minor release of PyGMT** πŸŽ‰ * Added support for Python 3.10 ([#1591](https://github.com/GenericMappingTools/pygmt/pull/1591)) * Wrapped 12 GMT modules +* Standardized and reorder table inputs to be 'data, x, y, z' across functions ([#1479](https://github.com/GenericMappingTools/pygmt/pull/1479)) ### New Features @@ -66,6 +67,7 @@ ### Documentation +* Add CITATION.cff file for PyGMT ([#1592](https://github.com/GenericMappingTools/pygmt/pull/1592)) * Update region and projection standard docstrings ([#1510](https://github.com/GenericMappingTools/pygmt/pull/1510)) * Document gmtwhich -Ga option to download to appropriate cache folder ([#1554](https://github.com/GenericMappingTools/pygmt/pull/1554)) * Add a gallery example showing the usage of text symbols ([#1522](https://github.com/GenericMappingTools/pygmt/pull/1522)) @@ -105,7 +107,7 @@ * [Michael Grund](https://github.com/michaelgrund) * [Wei Ji Leong](https://github.com/weiji14) * [Meghan Jones](https://github.com/meghanrjones) -* [@yohaimagen](https://github.com/yohaimagen) +* [Yohai Magen](https://github.com/yohaimagen) * [Amanda Leaman](https://github.com/arleaman) * [@daroari](https://github.com/daroari) * [@obaney](https://github.com/obaney) From eddf8ad34433db74e9285e6d76dabbfff1455d85 Mon Sep 17 00:00:00 2001 From: Will Schlitzer Date: Fri, 29 Oct 2021 11:34:46 +0100 Subject: [PATCH 13/20] move Yohai up in author list --- README.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.rst b/README.rst index 8817c47841d..2a6fb71b64e 100644 --- a/README.rst +++ b/README.rst @@ -146,11 +146,11 @@ Developers". Feel free to cite our work in your research using the following Bib Grund, Michael and Jones, Meghan and Yao, Jiayuan and + Magen, Yohai and Materna, Kathryn and Newton, Tyler and Anant, Abhishek and Ziebarth, Malte and - Magen, Yohai and Wessel, Paul}, title = {{PyGMT: A Python interface for the Generic Mapping Tools}}, month = oct, From dd46dc91250d9804b163014674c8366110b54c1a Mon Sep 17 00:00:00 2001 From: Will Schlitzer Date: Fri, 29 Oct 2021 11:36:50 +0100 Subject: [PATCH 14/20] move Meghan up in author list --- README.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.rst b/README.rst index 2a6fb71b64e..adfa4242faa 100644 --- a/README.rst +++ b/README.rst @@ -141,10 +141,10 @@ Developers". Feel free to cite our work in your research using the following Bib author = {Uieda, Leonardo and Tian, Dongdong and Leong, Wei Ji and + Jones, Meghan and Schlitzer, William and Toney, Liam and Grund, Michael and - Jones, Meghan and Yao, Jiayuan and Magen, Yohai and Materna, Kathryn and From 1e03470fdc217a04d52988c7142a6e3a85caf753 Mon Sep 17 00:00:00 2001 From: Will Schlitzer Date: Fri, 29 Oct 2021 11:39:36 +0100 Subject: [PATCH 15/20] remove highlight of Python 3.10 support --- doc/changes.md | 1 - 1 file changed, 1 deletion(-) diff --git a/doc/changes.md b/doc/changes.md index ce79650908d..ef2882faca1 100644 --- a/doc/changes.md +++ b/doc/changes.md @@ -7,7 +7,6 @@ ### Highlights * πŸŽ‰ **Fifth minor release of PyGMT** πŸŽ‰ -* Added support for Python 3.10 ([#1591](https://github.com/GenericMappingTools/pygmt/pull/1591)) * Wrapped 12 GMT modules * Standardized and reorder table inputs to be 'data, x, y, z' across functions ([#1479](https://github.com/GenericMappingTools/pygmt/pull/1479)) From bbbc0ac241c128d22c29278cb472254fbb73ccb7 Mon Sep 17 00:00:00 2001 From: Will Schlitzer Date: Fri, 29 Oct 2021 12:46:19 +0100 Subject: [PATCH 16/20] update CITATION.cff --- CITATION.cff | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/CITATION.cff b/CITATION.cff index 10d51dc4017..377a862d78f 100644 --- a/CITATION.cff +++ b/CITATION.cff @@ -16,6 +16,10 @@ authors: family-names: Leong affiliation: Victoria University of Wellington, New Zealand orcid: https://orcid.org/0000-0003-2354-1988 +- given-names: Meghan + family-names: Jones + affiliation: University of Hawai'i at Mānoa, USA + orcid: https://orcid.org/0000-0003-0180-8928 - given-names: William family-names: Schlitzer affiliation: Unaffiliated @@ -28,14 +32,14 @@ authors: family-names: Grund affiliation: Innoplexia GmbH, Germany orcid: https://orcid.org/0000-0001-8759-2018 -- given-names: Meghan - family-names: Jones - affiliation: University of Hawai'i at Mānoa, USA - orcid: https://orcid.org/0000-0003-0180-8928 - given-names: Jiayuan family-names: Yao affiliation: Nanyang Technological University, Singapore orcid: https://orcid.org/0000-0001-7036-4238 +- given-names: Yohai + family-names: Magen + affiliation: Tel Aviv University + orcid: https://orcid.org/0000-0002-4892-4013 - given-names: Kathryn family-names: Materna affiliation: US Geological Survey, USA @@ -52,17 +56,13 @@ authors: family-names: Ziebarth affiliation: GFZ German Research Centre for Geosciences, Germany orcid: https://orcid.org/0000-0002-5190-4478 -- given-names: Yohai - family-names: Magen - affiliation: Tel Aviv University - orcid: https://orcid.org/0000-0002-4892-4013 - given-names: Paul family-names: Wessel affiliation: University of Hawai'i at Mānoa, USA orcid: https://orcid.org/0000-0001-5708-7336 -date-released: 2021-08-07 -doi: 10.5281/zenodo.5162003 +date-released: 2021-10-29 +doi: 10.5281/zenodo.5607255 license: BSD-3-Clause repository-code: https://github.com/GenericMappingTools/pygmt type: software -version: 0.4.1 +version: 0.5.0 From 1067dda0b6a4d92dc5619520402bfdc159406cab Mon Sep 17 00:00:00 2001 From: Will Schlitzer Date: Fri, 29 Oct 2021 14:21:49 +0100 Subject: [PATCH 17/20] Apply suggestions from code review Co-authored-by: Meghan Jones Co-authored-by: Dongdong Tian Co-authored-by: Wei Ji <23487320+weiji14@users.noreply.github.com> --- doc/changes.md | 23 +++++++++++------------ 1 file changed, 11 insertions(+), 12 deletions(-) diff --git a/doc/changes.md b/doc/changes.md index ef2882faca1..e1d257e7f27 100644 --- a/doc/changes.md +++ b/doc/changes.md @@ -9,23 +9,24 @@ * πŸŽ‰ **Fifth minor release of PyGMT** πŸŽ‰ * Wrapped 12 GMT modules * Standardized and reorder table inputs to be 'data, x, y, z' across functions ([#1479](https://github.com/GenericMappingTools/pygmt/pull/1479)) +* Added a gallery example showing usage of line objects from a geopandas.GeoDataFrame (#1474) ### New Features +* Wrap blockmode ([#1456](https://github.com/GenericMappingTools/pygmt/pull/1456)) * Wrap gmtselect ([#1429](https://github.com/GenericMappingTools/pygmt/pull/1429)) -* Wrap project ([#1122](https://github.com/GenericMappingTools/pygmt/pull/1122)) -* Wrap grdvolume ([#1299](https://github.com/GenericMappingTools/pygmt/pull/1299)) -* Add function to import seafloor crustal age dataset ([#1471](https://github.com/GenericMappingTools/pygmt/pull/1471)) -* Wrap sphinterpolate ([#1418](https://github.com/GenericMappingTools/pygmt/pull/1418)) -* Wrap sph2grd ([#1434](https://github.com/GenericMappingTools/pygmt/pull/1434)) -* Wrap nearneighbor ([#1379](https://github.com/GenericMappingTools/pygmt/pull/1379)) * Wrap grd2xyz ([#1284](https://github.com/GenericMappingTools/pygmt/pull/1284)) -* Wrap blockmode ([#1456](https://github.com/GenericMappingTools/pygmt/pull/1456)) -* Wrap sphdistance ([#1383](https://github.com/GenericMappingTools/pygmt/pull/1383)) -* Add pygmt.load_dataarray function ([#1439](https://github.com/GenericMappingTools/pygmt/pull/1439)) * Wrap grdproject ([#1377](https://github.com/GenericMappingTools/pygmt/pull/1377)) * Wrap grdsample ([#1380](https://github.com/GenericMappingTools/pygmt/pull/1380)) +* Wrap grdvolume ([#1299](https://github.com/GenericMappingTools/pygmt/pull/1299)) +* Wrap nearneighbor ([#1379](https://github.com/GenericMappingTools/pygmt/pull/1379)) +* Wrap project ([#1122](https://github.com/GenericMappingTools/pygmt/pull/1122)) +* Wrap sph2grd ([#1434](https://github.com/GenericMappingTools/pygmt/pull/1434)) +* Wrap sphdistance ([#1383](https://github.com/GenericMappingTools/pygmt/pull/1383)) +* Wrap sphinterpolate ([#1418](https://github.com/GenericMappingTools/pygmt/pull/1418)) * Wrap xyz2grd ([#636](https://github.com/GenericMappingTools/pygmt/pull/636)) +* Add function to import seafloor crustal age dataset ([#1471](https://github.com/GenericMappingTools/pygmt/pull/1471)) +* Add pygmt.load_dataarray function ([#1439](https://github.com/GenericMappingTools/pygmt/pull/1439)) ### Enhancements @@ -41,7 +42,6 @@ * Add function to import Mars dataset ([#1420](https://github.com/GenericMappingTools/pygmt/pull/1420)) * Add function to import hotspot dataset ([#1386](https://github.com/GenericMappingTools/pygmt/pull/1386)) - ### Deprecations * pygmt.blockm*: Reorder input parameters to 'data, x, y, z' ([#1565](https://github.com/GenericMappingTools/pygmt/pull/1565)) @@ -71,7 +71,6 @@ * Document gmtwhich -Ga option to download to appropriate cache folder ([#1554](https://github.com/GenericMappingTools/pygmt/pull/1554)) * Add a gallery example showing the usage of text symbols ([#1522](https://github.com/GenericMappingTools/pygmt/pull/1522)) * Add gallery example for grdgradient ([#1428](https://github.com/GenericMappingTools/pygmt/pull/1428)) -* Add gallery example showing usage of line objects from a geopandas.GeoDataFrame ([#1474](https://github.com/GenericMappingTools/pygmt/pull/1474)) * Add missing aliases to pygmt.grdgradient ([#1515](https://github.com/GenericMappingTools/pygmt/pull/1515)) * Add missing aliases to pygmt.sphdistance ([#1516](https://github.com/GenericMappingTools/pygmt/pull/1516)) * Add missing aliases to pygmt.blockmean and pygmt.blockmedian ([#1500](https://github.com/GenericMappingTools/pygmt/pull/1500)) @@ -102,8 +101,8 @@ ### Contributors * [Dongdong Tian](https://github.com/seisman) -* [Will Schlitzer](https://github.com/willschlitzer) * [Michael Grund](https://github.com/michaelgrund) +* [Will Schlitzer](https://github.com/willschlitzer) * [Wei Ji Leong](https://github.com/weiji14) * [Meghan Jones](https://github.com/meghanrjones) * [Yohai Magen](https://github.com/yohaimagen) From 6e2aa0a0ce601db741a99e6460bc6a80df5b586e Mon Sep 17 00:00:00 2001 From: Will Schlitzer Date: Fri, 29 Oct 2021 16:01:18 +0100 Subject: [PATCH 18/20] Apply suggestions from code review Co-authored-by: Michael Grund <23025878+michaelgrund@users.noreply.github.com> --- doc/changes.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/changes.md b/doc/changes.md index e1d257e7f27..6a662852808 100644 --- a/doc/changes.md +++ b/doc/changes.md @@ -9,7 +9,7 @@ * πŸŽ‰ **Fifth minor release of PyGMT** πŸŽ‰ * Wrapped 12 GMT modules * Standardized and reorder table inputs to be 'data, x, y, z' across functions ([#1479](https://github.com/GenericMappingTools/pygmt/pull/1479)) -* Added a gallery example showing usage of line objects from a geopandas.GeoDataFrame (#1474) +* Added a gallery example showing usage of line objects from a geopandas.GeoDataFrame ([#1474](https://github.com/GenericMappingTools/pygmt/pull/1474)) ### New Features From 2787554147996a5d82f16750d595ab5bc858ecbd Mon Sep 17 00:00:00 2001 From: Will Schlitzer Date: Fri, 29 Oct 2021 17:59:34 +0100 Subject: [PATCH 19/20] Apply suggestions from code review Co-authored-by: Meghan Jones --- CITATION.cff | 4 ++++ README.rst | 1 + doc/changes.md | 6 +++--- 3 files changed, 8 insertions(+), 3 deletions(-) diff --git a/CITATION.cff b/CITATION.cff index 377a862d78f..8606dc2df15 100644 --- a/CITATION.cff +++ b/CITATION.cff @@ -56,6 +56,10 @@ authors: family-names: Ziebarth affiliation: GFZ German Research Centre for Geosciences, Germany orcid: https://orcid.org/0000-0002-5190-4478 +- given-names: Jamie + family-names: Quinn + affiliation: University College London + orcid: https://orcid.org/0000-0002-0268-7032 - given-names: Paul family-names: Wessel affiliation: University of Hawai'i at Mānoa, USA diff --git a/README.rst b/README.rst index adfa4242faa..7828584b5f8 100644 --- a/README.rst +++ b/README.rst @@ -151,6 +151,7 @@ Developers". Feel free to cite our work in your research using the following Bib Newton, Tyler and Anant, Abhishek and Ziebarth, Malte and + Quinn, Jamie aand Wessel, Paul}, title = {{PyGMT: A Python interface for the Generic Mapping Tools}}, month = oct, diff --git a/doc/changes.md b/doc/changes.md index 6a662852808..45e65d95f30 100644 --- a/doc/changes.md +++ b/doc/changes.md @@ -35,7 +35,6 @@ * Raise GMTInvalidInput exception when required z is missing ([#1478](https://github.com/GenericMappingTools/pygmt/pull/1478)) * Add support for passing pathlib.Path objects as filenames ([#1382](https://github.com/GenericMappingTools/pygmt/pull/1382)) * Allow passing a list to the 'incols' parameter for blockm, grdtrack and text ([#1475](https://github.com/GenericMappingTools/pygmt/pull/1475)) -* Add the 'incols' alias to info ([#1476](https://github.com/GenericMappingTools/pygmt/pull/1476)) * Plot square or cube by default for OGR/GMT files with Point/MultiPoint types ([#1438](https://github.com/GenericMappingTools/pygmt/pull/1438)) * Plot square or cube by default for geopandas Point/MultiPoint types ([#1405](https://github.com/GenericMappingTools/pygmt/pull/1405)) * Add area_thresh to COMMON_OPTIONS ([#1426](https://github.com/GenericMappingTools/pygmt/pull/1426)) @@ -69,8 +68,9 @@ * Add CITATION.cff file for PyGMT ([#1592](https://github.com/GenericMappingTools/pygmt/pull/1592)) * Update region and projection standard docstrings ([#1510](https://github.com/GenericMappingTools/pygmt/pull/1510)) * Document gmtwhich -Ga option to download to appropriate cache folder ([#1554](https://github.com/GenericMappingTools/pygmt/pull/1554)) -* Add a gallery example showing the usage of text symbols ([#1522](https://github.com/GenericMappingTools/pygmt/pull/1522)) +* Add gallery example showing the usage of text symbols ([#1522](https://github.com/GenericMappingTools/pygmt/pull/1522)) * Add gallery example for grdgradient ([#1428](https://github.com/GenericMappingTools/pygmt/pull/1428)) +* Add gallery example for grdlandmask ([#1469](https://github.com/GenericMappingTools/pygmt/pull/1469)) * Add missing aliases to pygmt.grdgradient ([#1515](https://github.com/GenericMappingTools/pygmt/pull/1515)) * Add missing aliases to pygmt.sphdistance ([#1516](https://github.com/GenericMappingTools/pygmt/pull/1516)) * Add missing aliases to pygmt.blockmean and pygmt.blockmedian ([#1500](https://github.com/GenericMappingTools/pygmt/pull/1500)) @@ -81,7 +81,6 @@ * Add missing aliases to pygmt.grdlandmask ([#1423](https://github.com/GenericMappingTools/pygmt/pull/1423)) * Add missing aliases to pygmt.grdtrack ([#1499](https://github.com/GenericMappingTools/pygmt/pull/1499)) * Add missing aliases to pygmt.Figure.plot ([#1502](https://github.com/GenericMappingTools/pygmt/pull/1502)) -* Add gallery example for grdlandmask ([#1469](https://github.com/GenericMappingTools/pygmt/pull/1469)) * Add missing aliases to pygmt.Figure.text ([#1448](https://github.com/GenericMappingTools/pygmt/pull/1448)) * Add missing aliases to pygmt.Figure.histogram ([#1451](https://github.com/GenericMappingTools/pygmt/pull/1451)) * Add missing alias to pygmt.Figure.legend ([#1453](https://github.com/GenericMappingTools/pygmt/pull/1453)) @@ -89,6 +88,7 @@ * Add missing alias to pygmt.Figure.grdview ([#1450](https://github.com/GenericMappingTools/pygmt/pull/1450)) * Add missing aliases to pygmt.Figure.image.py ([#1449](https://github.com/GenericMappingTools/pygmt/pull/1449)) * Add missing common options to contour ([#1446](https://github.com/GenericMappingTools/pygmt/pull/1446)) +* Add missing 'incols' alias to info ([#1476](https://github.com/GenericMappingTools/pygmt/pull/1476)) ### Maintenance From 4b7da9a3a5c7b432bf1ed160a69aa9004897d0ec Mon Sep 17 00:00:00 2001 From: Wei Ji <23487320+weiji14@users.noreply.github.com> Date: Sat, 30 Oct 2021 07:34:13 +1300 Subject: [PATCH 20/20] Update doc/changes.md --- doc/changes.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/changes.md b/doc/changes.md index 45e65d95f30..fd2a53e9994 100644 --- a/doc/changes.md +++ b/doc/changes.md @@ -92,7 +92,7 @@ ### Maintenance -* Add support Python 3.10 ([#1591](https://github.com/GenericMappingTools/pygmt/pull/1591)) +* Add support for Python 3.10 ([#1591](https://github.com/GenericMappingTools/pygmt/pull/1591)) * Make IPython partially optional on CI to increase test coverage of figure.py ([#1496](https://github.com/GenericMappingTools/pygmt/pull/1496)) * Use mamba to install Continuous Integration dependencies ([#841](https://github.com/GenericMappingTools/pygmt/pull/841)) * Remove deprecated codecov dependency from CI ([#1494](https://github.com/GenericMappingTools/pygmt/pull/1494))