From 0c99245d0d8a0c22b65449033367b43c14024468 Mon Sep 17 00:00:00 2001 From: Dongdong Tian Date: Fri, 13 Jun 2025 10:47:36 +0800 Subject: [PATCH 01/16] Add v0.15.0 entry in doc/_static/version_switch.js for documentation switcher --- 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 f3c47e68b40..3db1fc7ebdc 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.16.0': 'v0.16.0', 'v0.15.0': 'v0.15.0', 'v0.14.2': 'v0.14.2', 'v0.14.1': 'v0.14.1', From 57f6bc7403777452b9567dfcc6e74c34767d9803 Mon Sep 17 00:00:00 2001 From: Dongdong Tian Date: Fri, 13 Jun 2025 10:48:38 +0800 Subject: [PATCH 02/16] Add the version to the compatibility table doc/minversions.md --- doc/minversions.md | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/minversions.md b/doc/minversions.md index c070b858e79..48ffb57abba 100644 --- a/doc/minversions.md +++ b/doc/minversions.md @@ -47,6 +47,7 @@ compatibility reasons. | PyGMT Version | Documentation | GMT | Python | NumPy | pandas | Xarray | |---|---|---|---|---|---|---| | [Dev][]* | , [HTML+ZIP](doc:dev/pygmt-docs.zip), [PDF](doc:dev/pygmt-docs.pdf) | {{ requires.gmt }} | {{ requires.python }} | {{ requires.numpy }} | {{ requires.pandas }} | {{ requires.xarray }} | +| | , , | >=6.4.0 | >=3.11 | >=1.26 | >=2.1 | >=2023.07 | | | , , | >=6.4.0 | >=3.11 | >=1.25 | >=2.0 | >=2023.04 | | | , | >=6.4.0 | >=3.11 | >=1.25 | >=2.0 | >=2023.04 | | | , | >=6.4.0 | >=3.11 | >=1.25 | >=2.0 | >=2023.04 | From 4340e86a6ba69efd4790c33b5d0d069132c25265 Mon Sep 17 00:00:00 2001 From: Dongdong Tian Date: Fri, 13 Jun 2025 10:53:21 +0800 Subject: [PATCH 03/16] Update citation information CITATION.cff and BibTeX in README --- CITATION.cff | 6 +++--- README.md | 10 +++++----- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/CITATION.cff b/CITATION.cff index 826218b6cd2..e6b9b19418d 100644 --- a/CITATION.cff +++ b/CITATION.cff @@ -76,9 +76,9 @@ authors: family-names: Wessel affiliation: University of Hawaiʻi at Mānoa, USA orcid: https://orcid.org/0000-0001-5708-7336 -date-released: 2025-03-31 -doi: 10.5281/zenodo.15071586 +date-released: 2025-06-18 +doi: 10.5281/zenodo.15628725 license: BSD-3-Clause repository-code: https://github.com/GenericMappingTools/pygmt type: software -version: 0.15.0 +version: 0.16.0 diff --git a/README.md b/README.md index 5ee75a6e0e5..63ff3bf52a3 100644 --- a/README.md +++ b/README.md @@ -137,7 +137,7 @@ Feel free to cite our work in your research using the following BibTeX: ``` @software{ - pygmt_2025_15071586, + pygmt_2025_15628725, author = {Tian, Dongdong and Uieda, Leonardo and Leong, Wei Ji and @@ -157,12 +157,12 @@ Feel free to cite our work in your research using the following BibTeX: Quinn, Jamie and Wessel, Paul}, title = {{PyGMT: A Python interface for the Generic Mapping Tools}}, - month = mar, + month = jun, year = 2025, publisher = {Zenodo}, - version = {0.15.0}, - doi = {10.5281/zenodo.15071586}, - url = {https://doi.org/10.5281/zenodo.15071586} + version = {0.16.0}, + doi = {10.5281/zenodo.15628725}, + url = {https://doi.org/10.5281/zenodo.15628725} } ``` From f8ec823da7ff2539a7f726230de20fe1b1505e6d Mon Sep 17 00:00:00 2001 From: Dongdong Tian Date: Fri, 13 Jun 2025 10:54:16 +0800 Subject: [PATCH 04/16] Update affiliation of YF --- CITATION.cff | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/CITATION.cff b/CITATION.cff index e6b9b19418d..2df9903b5d0 100644 --- a/CITATION.cff +++ b/CITATION.cff @@ -18,7 +18,7 @@ authors: orcid: https://orcid.org/0000-0003-2354-1988 - given-names: Yvonne family-names: Fröhlich - affiliation: Karlsruhe Institute of Technology, Germany + affiliation: Unaffiliated orcid: https://orcid.org/0000-0002-8566-0619 - given-names: William family-names: Schlitzer From 382e6e9af3c0629f595cb83bb4dd017f806b23b0 Mon Sep 17 00:00:00 2001 From: Dongdong Tian Date: Fri, 13 Jun 2025 10:55:22 +0800 Subject: [PATCH 05/16] Copy the draft release note from the release page --- doc/changes.md | 60 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 60 insertions(+) diff --git a/doc/changes.md b/doc/changes.md index 1ebcb03d77a..381529dc0c4 100644 --- a/doc/changes.md +++ b/doc/changes.md @@ -1,5 +1,65 @@ # Changelog +## Release v0.16.0 (20YY/MM/DD) + +[![Digital Object Identifier for PyGMT v0.16.0](https://zenodo.org/badge/DOI/10.5281/zenodo.3781524.svg)](https://doi.org/10.5281/zenodo.3781524) + +### Highlights + +* + +### New Features + +* Implement gmt xarray BackendEntrypoint ([#3919](https://github.com/GenericMappingTools/pygmt/pull/3919)) + +### Enhancements + +* pygmt.grdclip: Parameters 'between' and 'replace' accept a 2-D sequence ([#3883](https://github.com/GenericMappingTools/pygmt/pull/3883)) +* Store first tile as source encoding for tiled grids ([#3950](https://github.com/GenericMappingTools/pygmt/pull/3950)) +* Figure.coast/pygmt.select/pygmt.grdlandmask: Use long names ("crude"/"low"/"intermediate"/"high"/"full") for the 'resolution' parameter ([#3013](https://github.com/GenericMappingTools/pygmt/pull/3013)) +* Allow passing region to GMTBackendEntrypoint.open_dataset ([#3932](https://github.com/GenericMappingTools/pygmt/pull/3932)) +* Add a helper function sequence_join to join a sequence by a separator ([#3961](https://github.com/GenericMappingTools/pygmt/pull/3961)) + +### Deprecations + +* Session.virtualfile_in: Deprecate the parameter 'extra_arrays'. Prepare and pass a dictionary of arrays instead (will be removed in v0.20.0) ([#3823](https://github.com/GenericMappingTools/pygmt/pull/3823)) +* Session.virtualfile_in: Deprecate parameter 'required_z'. Use 'mincols' instead (will be removed in v0.20.0) ([#3369](https://github.com/GenericMappingTools/pygmt/pull/3369)) +* Session.virtualfile_in: Deprecate parameter 'required_data' to 'required' (will be removed in v0.20.0) ([#3931](https://github.com/GenericMappingTools/pygmt/pull/3931)) +* Session.virtualfile_from_vectors: Remove the deprecated '*args' parameter [deprecated since v0.14.0] ([#3893](https://github.com/GenericMappingTools/pygmt/pull/3893)) +* SPEC 0: Bump minimum supported versions to NumPy 1.26 ([#3916](https://github.com/GenericMappingTools/pygmt/pull/3916)) +* SPEC 0: Bump minimum supported version to xarray>=2023.07 ([#3918](https://github.com/GenericMappingTools/pygmt/pull/3918)) +* SPEC 0: Bump minimum supported version to pandas>=2.1 ([#3895](https://github.com/GenericMappingTools/pygmt/pull/3895)) +* Remove the dependency of netCDF4 ([#3643](https://github.com/GenericMappingTools/pygmt/pull/3643)) +* Figure: Deprecate the private _preprocess method (will be removed in v0.18.0) ([#3948](https://github.com/GenericMappingTools/pygmt/pull/3948)) +* Deprecate pygmt.io.load_dataarray, use xarray.load_dataarray instead ([#3922](https://github.com/GenericMappingTools/pygmt/pull/3922)) +* Bump minimum supported version to pyarrow>=16 ([#3917](https://github.com/GenericMappingTools/pygmt/pull/3917)) +* Bump minimum supported version to packaging>=24.2 ([#3933](https://github.com/GenericMappingTools/pygmt/pull/3933)) +* Bump minimum supported version to geopandas>=1.0 ([#3908](https://github.com/GenericMappingTools/pygmt/pull/3908)) +* Bump minimum supported version to contextily>=1.5 ([#3912](https://github.com/GenericMappingTools/pygmt/pull/3912)) + +### Bug Fixes + +* pygmt.select: parameter 'mask' accepts a sequence of strings ([#3956](https://github.com/GenericMappingTools/pygmt/pull/3956)) + +### Documentation + +* GMTDataArrayAccessor: Improve the documentation to clarify how the accessor works ([#3955](https://github.com/GenericMappingTools/pygmt/pull/3955)) + +### Maintenance + +* Update the AUTHORSHIP and Maintainers' Guides to reflect co-author contributions ([#3904](https://github.com/GenericMappingTools/pygmt/pull/3904)) +* Set registration and gtype properly as enums on gmt accessor init ([#3942](https://github.com/GenericMappingTools/pygmt/pull/3942)) +* Set license and license-files key in project metadata to follow PEP639 ([#3699](https://github.com/GenericMappingTools/pygmt/pull/3699)) +* CI: Test NumPy 2.3 in the GMT Tests workflow ([#3968](https://github.com/GenericMappingTools/pygmt/pull/3968)) + +**Full Changelog**: + +### Contributors + +[Michael Grund](https://github.com/michaelgrund), [Dongdong Tian](https://github.com/seisman), [Wei Ji Leong](https://github.com/weiji14) and [Yvonne Fröhlich](https://github.com/yvonnefroehlich) + +--- + ## Release v0.15.0 (2025/03/31) [![Digital Object Identifier for PyGMT v0.15.0](https://zenodo.org/badge/DOI/10.5281/zenodo.15071586.svg)](https://doi.org/10.5281/zenodo.15071586) From 3af4c94e114fec1bb586eef9a21568cf0a3d11f5 Mon Sep 17 00:00:00 2001 From: Dongdong Tian Date: Fri, 13 Jun 2025 10:57:37 +0800 Subject: [PATCH 06/16] Update release date, doi and contributors in the changelog --- doc/changes.md | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/doc/changes.md b/doc/changes.md index 381529dc0c4..2943892f293 100644 --- a/doc/changes.md +++ b/doc/changes.md @@ -1,8 +1,8 @@ # Changelog -## Release v0.16.0 (20YY/MM/DD) +## Release v0.16.0 (2025/06/18) -[![Digital Object Identifier for PyGMT v0.16.0](https://zenodo.org/badge/DOI/10.5281/zenodo.3781524.svg)](https://doi.org/10.5281/zenodo.3781524) +[![Digital Object Identifier for PyGMT v0.16.0](https://zenodo.org/badge/DOI/10.5281/zenodo.15628725.svg)](https://doi.org/10.5281/zenodo.15628725) ### Highlights @@ -56,7 +56,10 @@ ### Contributors -[Michael Grund](https://github.com/michaelgrund), [Dongdong Tian](https://github.com/seisman), [Wei Ji Leong](https://github.com/weiji14) and [Yvonne Fröhlich](https://github.com/yvonnefroehlich) +* [Dongdong Tian](https://github.com/seisman) +* [Wei Ji Leong](https://github.com/weiji14) +* [Yvonne Fröhlich](https://github.com/yvonnefroehlich) +* [Michael Grund](https://github.com/michaelgrund) --- From 9af616c7624367555871d38535bb17b19dea61cd Mon Sep 17 00:00:00 2001 From: Dongdong Tian Date: Sat, 14 Jun 2025 11:10:10 +0800 Subject: [PATCH 07/16] Move Michael before William --- CITATION.cff | 8 ++++---- README.md | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/CITATION.cff b/CITATION.cff index 2df9903b5d0..fecb6107431 100644 --- a/CITATION.cff +++ b/CITATION.cff @@ -20,14 +20,14 @@ authors: family-names: Fröhlich affiliation: Unaffiliated orcid: https://orcid.org/0000-0002-8566-0619 -- given-names: William - family-names: Schlitzer - affiliation: Unaffiliated - orcid: https://orcid.org/0000-0002-5843-2282 - given-names: Michael family-names: Grund affiliation: SNP Innovation Lab GmbH, Germany orcid: https://orcid.org/0000-0001-8759-2018 +- given-names: William + family-names: Schlitzer + affiliation: Unaffiliated + orcid: https://orcid.org/0000-0002-5843-2282 - given-names: Max family-names: Jones affiliation: University of Hawaiʻi at Mānoa, USA diff --git a/README.md b/README.md index 63ff3bf52a3..4c2167c90e3 100644 --- a/README.md +++ b/README.md @@ -142,8 +142,8 @@ Feel free to cite our work in your research using the following BibTeX: Uieda, Leonardo and Leong, Wei Ji and Fröhlich, Yvonne and - Schlitzer, William and Grund, Michael and + Schlitzer, William and Jones, Max and Toney, Liam and Yao, Jiayuan and From 0f780bc1f48875e4218709bc7cc520ff7115c64b Mon Sep 17 00:00:00 2001 From: Dongdong Tian Date: Sat, 14 Jun 2025 11:14:30 +0800 Subject: [PATCH 08/16] Merge some change entries --- doc/changes.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/doc/changes.md b/doc/changes.md index 2943892f293..3cc0c479125 100644 --- a/doc/changes.md +++ b/doc/changes.md @@ -10,14 +10,13 @@ ### New Features -* Implement gmt xarray BackendEntrypoint ([#3919](https://github.com/GenericMappingTools/pygmt/pull/3919)) +* Implement gmt xarray BackendEntrypoint to load raster files via GMT ([#3919](https://github.com/GenericMappingTools/pygmt/pull/3919), [#3932](https://github.com/GenericMappingTools/pygmt/pull/3932)) ### Enhancements * pygmt.grdclip: Parameters 'between' and 'replace' accept a 2-D sequence ([#3883](https://github.com/GenericMappingTools/pygmt/pull/3883)) * Store first tile as source encoding for tiled grids ([#3950](https://github.com/GenericMappingTools/pygmt/pull/3950)) * Figure.coast/pygmt.select/pygmt.grdlandmask: Use long names ("crude"/"low"/"intermediate"/"high"/"full") for the 'resolution' parameter ([#3013](https://github.com/GenericMappingTools/pygmt/pull/3013)) -* Allow passing region to GMTBackendEntrypoint.open_dataset ([#3932](https://github.com/GenericMappingTools/pygmt/pull/3932)) * Add a helper function sequence_join to join a sequence by a separator ([#3961](https://github.com/GenericMappingTools/pygmt/pull/3961)) ### Deprecations @@ -39,7 +38,7 @@ ### Bug Fixes -* pygmt.select: parameter 'mask' accepts a sequence of strings ([#3956](https://github.com/GenericMappingTools/pygmt/pull/3956)) +* pygmt.select: Parameter 'mask' accepts a sequence of strings ([#3956](https://github.com/GenericMappingTools/pygmt/pull/3956)) ### Documentation From dbf83a7a6dd4a90788dd8cfd7b350d941d9bbb42 Mon Sep 17 00:00:00 2001 From: Dongdong Tian Date: Tue, 17 Jun 2025 08:27:16 +0800 Subject: [PATCH 09/16] Add hightlights --- doc/changes.md | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) diff --git a/doc/changes.md b/doc/changes.md index 3cc0c479125..38382325d64 100644 --- a/doc/changes.md +++ b/doc/changes.md @@ -6,11 +6,9 @@ ### Highlights -* - -### New Features - +* 🎉 Sixteenth minor release of PyGMT 🎉 * Implement gmt xarray BackendEntrypoint to load raster files via GMT ([#3919](https://github.com/GenericMappingTools/pygmt/pull/3919), [#3932](https://github.com/GenericMappingTools/pygmt/pull/3932)) +* Remove the dependency of netCDF4 ([#3643](https://github.com/GenericMappingTools/pygmt/pull/3643)) ### Enhancements @@ -28,7 +26,6 @@ * SPEC 0: Bump minimum supported versions to NumPy 1.26 ([#3916](https://github.com/GenericMappingTools/pygmt/pull/3916)) * SPEC 0: Bump minimum supported version to xarray>=2023.07 ([#3918](https://github.com/GenericMappingTools/pygmt/pull/3918)) * SPEC 0: Bump minimum supported version to pandas>=2.1 ([#3895](https://github.com/GenericMappingTools/pygmt/pull/3895)) -* Remove the dependency of netCDF4 ([#3643](https://github.com/GenericMappingTools/pygmt/pull/3643)) * Figure: Deprecate the private _preprocess method (will be removed in v0.18.0) ([#3948](https://github.com/GenericMappingTools/pygmt/pull/3948)) * Deprecate pygmt.io.load_dataarray, use xarray.load_dataarray instead ([#3922](https://github.com/GenericMappingTools/pygmt/pull/3922)) * Bump minimum supported version to pyarrow>=16 ([#3917](https://github.com/GenericMappingTools/pygmt/pull/3917)) From 851e43b86a252e26ad81c3905f198bb9f1d7a5b5 Mon Sep 17 00:00:00 2001 From: Dongdong Tian Date: Tue, 17 Jun 2025 08:32:38 +0800 Subject: [PATCH 10/16] Merge some entries --- doc/changes.md | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) diff --git a/doc/changes.md b/doc/changes.md index 38382325d64..5ca3e7d516b 100644 --- a/doc/changes.md +++ b/doc/changes.md @@ -23,15 +23,10 @@ * Session.virtualfile_in: Deprecate parameter 'required_z'. Use 'mincols' instead (will be removed in v0.20.0) ([#3369](https://github.com/GenericMappingTools/pygmt/pull/3369)) * Session.virtualfile_in: Deprecate parameter 'required_data' to 'required' (will be removed in v0.20.0) ([#3931](https://github.com/GenericMappingTools/pygmt/pull/3931)) * Session.virtualfile_from_vectors: Remove the deprecated '*args' parameter [deprecated since v0.14.0] ([#3893](https://github.com/GenericMappingTools/pygmt/pull/3893)) -* SPEC 0: Bump minimum supported versions to NumPy 1.26 ([#3916](https://github.com/GenericMappingTools/pygmt/pull/3916)) -* SPEC 0: Bump minimum supported version to xarray>=2023.07 ([#3918](https://github.com/GenericMappingTools/pygmt/pull/3918)) -* SPEC 0: Bump minimum supported version to pandas>=2.1 ([#3895](https://github.com/GenericMappingTools/pygmt/pull/3895)) +* SPEC 0: Bump minimum supported versions to NumPy 1.26, xarray>=2023.07 and pandas>=2.1 ([#3916](https://github.com/GenericMappingTools/pygmt/pull/3916), [#3918](https://github.com/GenericMappingTools/pygmt/pull/3918), [#3895](https://github.com/GenericMappingTools/pygmt/pull/3895)) * Figure: Deprecate the private _preprocess method (will be removed in v0.18.0) ([#3948](https://github.com/GenericMappingTools/pygmt/pull/3948)) * Deprecate pygmt.io.load_dataarray, use xarray.load_dataarray instead ([#3922](https://github.com/GenericMappingTools/pygmt/pull/3922)) -* Bump minimum supported version to pyarrow>=16 ([#3917](https://github.com/GenericMappingTools/pygmt/pull/3917)) -* Bump minimum supported version to packaging>=24.2 ([#3933](https://github.com/GenericMappingTools/pygmt/pull/3933)) -* Bump minimum supported version to geopandas>=1.0 ([#3908](https://github.com/GenericMappingTools/pygmt/pull/3908)) -* Bump minimum supported version to contextily>=1.5 ([#3912](https://github.com/GenericMappingTools/pygmt/pull/3912)) +* Bump minimum supported version to pyarrow>=16, packaging>=24.2, geopandas>=1.0, and contextily>=1.5 ([#3917](https://github.com/GenericMappingTools/pygmt/pull/3917), [#3933](https://github.com/GenericMappingTools/pygmt/pull/3933), [#3908](https://github.com/GenericMappingTools/pygmt/pull/3908), [#3912](https://github.com/GenericMappingTools/pygmt/pull/3912)) ### Bug Fixes From 493153c93dd397004fdb232cbe80ea9a8139a535 Mon Sep 17 00:00:00 2001 From: Dongdong Tian Date: Tue, 17 Jun 2025 08:33:35 +0800 Subject: [PATCH 11/16] Reorder some entries --- doc/changes.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/changes.md b/doc/changes.md index 5ca3e7d516b..e667b1017fa 100644 --- a/doc/changes.md +++ b/doc/changes.md @@ -23,9 +23,9 @@ * Session.virtualfile_in: Deprecate parameter 'required_z'. Use 'mincols' instead (will be removed in v0.20.0) ([#3369](https://github.com/GenericMappingTools/pygmt/pull/3369)) * Session.virtualfile_in: Deprecate parameter 'required_data' to 'required' (will be removed in v0.20.0) ([#3931](https://github.com/GenericMappingTools/pygmt/pull/3931)) * Session.virtualfile_from_vectors: Remove the deprecated '*args' parameter [deprecated since v0.14.0] ([#3893](https://github.com/GenericMappingTools/pygmt/pull/3893)) -* SPEC 0: Bump minimum supported versions to NumPy 1.26, xarray>=2023.07 and pandas>=2.1 ([#3916](https://github.com/GenericMappingTools/pygmt/pull/3916), [#3918](https://github.com/GenericMappingTools/pygmt/pull/3918), [#3895](https://github.com/GenericMappingTools/pygmt/pull/3895)) * Figure: Deprecate the private _preprocess method (will be removed in v0.18.0) ([#3948](https://github.com/GenericMappingTools/pygmt/pull/3948)) * Deprecate pygmt.io.load_dataarray, use xarray.load_dataarray instead ([#3922](https://github.com/GenericMappingTools/pygmt/pull/3922)) +* SPEC 0: Bump minimum supported versions to NumPy 1.26, xarray>=2023.07 and pandas>=2.1 ([#3916](https://github.com/GenericMappingTools/pygmt/pull/3916), [#3918](https://github.com/GenericMappingTools/pygmt/pull/3918), [#3895](https://github.com/GenericMappingTools/pygmt/pull/3895)) * Bump minimum supported version to pyarrow>=16, packaging>=24.2, geopandas>=1.0, and contextily>=1.5 ([#3917](https://github.com/GenericMappingTools/pygmt/pull/3917), [#3933](https://github.com/GenericMappingTools/pygmt/pull/3933), [#3908](https://github.com/GenericMappingTools/pygmt/pull/3908), [#3912](https://github.com/GenericMappingTools/pygmt/pull/3912)) ### Bug Fixes From 13d4fbfc3c0adfaacf958d584781ca050e18d098 Mon Sep 17 00:00:00 2001 From: Dongdong Tian Date: Tue, 17 Jun 2025 09:51:31 +0800 Subject: [PATCH 12/16] Boldify one changelog entry --- doc/changes.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/changes.md b/doc/changes.md index e667b1017fa..6a1621acba9 100644 --- a/doc/changes.md +++ b/doc/changes.md @@ -6,7 +6,7 @@ ### Highlights -* 🎉 Sixteenth minor release of PyGMT 🎉 +* 🎉 **Sixteenth minor release of PyGMT** 🎉 * Implement gmt xarray BackendEntrypoint to load raster files via GMT ([#3919](https://github.com/GenericMappingTools/pygmt/pull/3919), [#3932](https://github.com/GenericMappingTools/pygmt/pull/3932)) * Remove the dependency of netCDF4 ([#3643](https://github.com/GenericMappingTools/pygmt/pull/3643)) From 62f0e19752ffb64640cd03ae8cde35ce842872ee Mon Sep 17 00:00:00 2001 From: Dongdong Tian Date: Tue, 17 Jun 2025 10:07:19 +0800 Subject: [PATCH 13/16] Add two new changelog entries for recently merged PRs --- doc/changes.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/changes.md b/doc/changes.md index 6a1621acba9..3c20b2804dd 100644 --- a/doc/changes.md +++ b/doc/changes.md @@ -13,9 +13,11 @@ ### Enhancements * pygmt.grdclip: Parameters 'between' and 'replace' accept a 2-D sequence ([#3883](https://github.com/GenericMappingTools/pygmt/pull/3883)) +* pygmt.grdlandmask: Improve the checking of parameters 'maskvalues'/'bordervalues' ([#3963](https://github.com/GenericMappingTools/pygmt/pull/3963)) * Store first tile as source encoding for tiled grids ([#3950](https://github.com/GenericMappingTools/pygmt/pull/3950)) * Figure.coast/pygmt.select/pygmt.grdlandmask: Use long names ("crude"/"low"/"intermediate"/"high"/"full") for the 'resolution' parameter ([#3013](https://github.com/GenericMappingTools/pygmt/pull/3013)) * Add a helper function sequence_join to join a sequence by a separator ([#3961](https://github.com/GenericMappingTools/pygmt/pull/3961)) +* Improve decorators @use_alias/@fmt_docstrings to list non-aliased aliases ([#3965](https://github.com/GenericMappingTools/pygmt/pull/3965)) ### Deprecations From 4268e9075b2458058f28fd34f668aed26074f9b7 Mon Sep 17 00:00:00 2001 From: Dongdong Tian Date: Tue, 17 Jun 2025 10:08:15 +0800 Subject: [PATCH 14/16] Reorder some entries --- doc/changes.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/doc/changes.md b/doc/changes.md index 3c20b2804dd..b54e67a0e87 100644 --- a/doc/changes.md +++ b/doc/changes.md @@ -14,19 +14,19 @@ * pygmt.grdclip: Parameters 'between' and 'replace' accept a 2-D sequence ([#3883](https://github.com/GenericMappingTools/pygmt/pull/3883)) * pygmt.grdlandmask: Improve the checking of parameters 'maskvalues'/'bordervalues' ([#3963](https://github.com/GenericMappingTools/pygmt/pull/3963)) -* Store first tile as source encoding for tiled grids ([#3950](https://github.com/GenericMappingTools/pygmt/pull/3950)) * Figure.coast/pygmt.select/pygmt.grdlandmask: Use long names ("crude"/"low"/"intermediate"/"high"/"full") for the 'resolution' parameter ([#3013](https://github.com/GenericMappingTools/pygmt/pull/3013)) * Add a helper function sequence_join to join a sequence by a separator ([#3961](https://github.com/GenericMappingTools/pygmt/pull/3961)) * Improve decorators @use_alias/@fmt_docstrings to list non-aliased aliases ([#3965](https://github.com/GenericMappingTools/pygmt/pull/3965)) +* Store first tile as source encoding for tiled grids ([#3950](https://github.com/GenericMappingTools/pygmt/pull/3950)) ### Deprecations +* Figure: Deprecate the private _preprocess method (will be removed in v0.18.0) ([#3948](https://github.com/GenericMappingTools/pygmt/pull/3948)) +* Deprecate pygmt.io.load_dataarray, use xarray.load_dataarray instead ([#3922](https://github.com/GenericMappingTools/pygmt/pull/3922)) * Session.virtualfile_in: Deprecate the parameter 'extra_arrays'. Prepare and pass a dictionary of arrays instead (will be removed in v0.20.0) ([#3823](https://github.com/GenericMappingTools/pygmt/pull/3823)) * Session.virtualfile_in: Deprecate parameter 'required_z'. Use 'mincols' instead (will be removed in v0.20.0) ([#3369](https://github.com/GenericMappingTools/pygmt/pull/3369)) * Session.virtualfile_in: Deprecate parameter 'required_data' to 'required' (will be removed in v0.20.0) ([#3931](https://github.com/GenericMappingTools/pygmt/pull/3931)) * Session.virtualfile_from_vectors: Remove the deprecated '*args' parameter [deprecated since v0.14.0] ([#3893](https://github.com/GenericMappingTools/pygmt/pull/3893)) -* Figure: Deprecate the private _preprocess method (will be removed in v0.18.0) ([#3948](https://github.com/GenericMappingTools/pygmt/pull/3948)) -* Deprecate pygmt.io.load_dataarray, use xarray.load_dataarray instead ([#3922](https://github.com/GenericMappingTools/pygmt/pull/3922)) * SPEC 0: Bump minimum supported versions to NumPy 1.26, xarray>=2023.07 and pandas>=2.1 ([#3916](https://github.com/GenericMappingTools/pygmt/pull/3916), [#3918](https://github.com/GenericMappingTools/pygmt/pull/3918), [#3895](https://github.com/GenericMappingTools/pygmt/pull/3895)) * Bump minimum supported version to pyarrow>=16, packaging>=24.2, geopandas>=1.0, and contextily>=1.5 ([#3917](https://github.com/GenericMappingTools/pygmt/pull/3917), [#3933](https://github.com/GenericMappingTools/pygmt/pull/3933), [#3908](https://github.com/GenericMappingTools/pygmt/pull/3908), [#3912](https://github.com/GenericMappingTools/pygmt/pull/3912)) From 850b4d9310755845c68f7a2c3325b96adfb0cff6 Mon Sep 17 00:00:00 2001 From: Dongdong Tian Date: Wed, 18 Jun 2025 13:24:25 +0800 Subject: [PATCH 15/16] Add changelog entry for PR 3980 [skip ci] --- doc/changes.md | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/changes.md b/doc/changes.md index b54e67a0e87..d6de5289ecb 100644 --- a/doc/changes.md +++ b/doc/changes.md @@ -44,6 +44,7 @@ * Set registration and gtype properly as enums on gmt accessor init ([#3942](https://github.com/GenericMappingTools/pygmt/pull/3942)) * Set license and license-files key in project metadata to follow PEP639 ([#3699](https://github.com/GenericMappingTools/pygmt/pull/3699)) * CI: Test NumPy 2.3 in the GMT Tests workflow ([#3968](https://github.com/GenericMappingTools/pygmt/pull/3968)) +* Bump to ruff>=0.12.0 and fix violations ([#3980](https://github.com/GenericMappingTools/pygmt/pull/3980)) **Full Changelog**: From 806120947ccd50e66ba5b61ab99a1a110a9fdd1d Mon Sep 17 00:00:00 2001 From: Dongdong Tian Date: Wed, 18 Jun 2025 13:24:48 +0800 Subject: [PATCH 16/16] Add FE as contributor --- doc/changes.md | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/changes.md b/doc/changes.md index d6de5289ecb..2dacc04152a 100644 --- a/doc/changes.md +++ b/doc/changes.md @@ -54,6 +54,7 @@ * [Wei Ji Leong](https://github.com/weiji14) * [Yvonne Fröhlich](https://github.com/yvonnefroehlich) * [Michael Grund](https://github.com/michaelgrund) +* [Federico Esteban](https://github.com/Esteban82) ---