From 89691ce1db4a46ed46e157837d8c5435a2be8f99 Mon Sep 17 00:00:00 2001 From: Dongdong Tian Date: Wed, 24 Apr 2024 21:27:57 +0800 Subject: [PATCH 01/21] Add v0.12.0 to doc/_static/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 f4545ebbe4e..f79874cb998 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.12.0': 'v0.12.0', 'v0.11.0': 'v0.11.0', 'v0.10.0': 'v0.10.0', 'v0.9.0': 'v0.9.0', From c93c7e0bbf057ce51b0ed5a6de94b52b022f6fee Mon Sep 17 00:00:00 2001 From: Dongdong Tian Date: Wed, 24 Apr 2024 21:31:24 +0800 Subject: [PATCH 02/21] Copy draft release note to doc/changes.md --- doc/changes.md | 83 ++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 83 insertions(+) diff --git a/doc/changes.md b/doc/changes.md index d3eea0bcccd..fba0eac058e 100644 --- a/doc/changes.md +++ b/doc/changes.md @@ -1,5 +1,88 @@ # Changelog +## Release v0.12.0 (2024/05/01) + +[![Digital Object Identifier for PyGMT v0.12.0](https://zenodo.org/badge/DOI/10.5281/zenodo.3781524.svg)](https://doi.org/10.5281/zenodo.3781524) + +### Highlights + +* + +### Enhancements + +* pygmt.project: Add 'output_type' parameter for output in pandas/numpy/file formats ([#3110](https://github.com/GenericMappingTools/pygmt/pull/3110)) +* pygmt.grdtrack: Add 'output_type' parameter for output in pandas/numpy/file formats ([#3106](https://github.com/GenericMappingTools/pygmt/pull/3106)) +* pygmt.blockm*: Add 'output_type' parameter for output in pandas/numpy/file formats ([#3103](https://github.com/GenericMappingTools/pygmt/pull/3103)) +* clib: Wrap the GMT API function GMT_Read_VirtualFile ([#2993](https://github.com/GenericMappingTools/pygmt/pull/2993)) +* clib: Add virtualfile_to_dataset method for converting virtualfile to a dataset ([#3083](https://github.com/GenericMappingTools/pygmt/pull/3083)) +* clib: Add the virtualfile_out method for creating output virtualfile ([#3057](https://github.com/GenericMappingTools/pygmt/pull/3057)) +* Wrap GMT_Inquire_VirtualFile to get the family of virtualfiles ([#3152](https://github.com/GenericMappingTools/pygmt/pull/3152)) +* Wrap GMT's standard data type GMT_GRID for grids ([#2398](https://github.com/GenericMappingTools/pygmt/pull/2398)) +* Wrap GMT's standard data type GMT_DATASET for table inputs ([#2729](https://github.com/GenericMappingTools/pygmt/pull/2729)) +* Wrap GMT's data structure GMT_GRID_HEADER for grid/image/cube headers ([#3127](https://github.com/GenericMappingTools/pygmt/pull/3127)) +* Session.virtualfile_to_dataset: Add new parameters 'dtype'/'index_col' for pandas output ([#3140](https://github.com/GenericMappingTools/pygmt/pull/3140)) +* Session.virtualfile_to_dataset: Add 'strings' output type for the array of trailing texts ([#3157](https://github.com/GenericMappingTools/pygmt/pull/3157)) +* Session.virtualfile_to_dataset: Add 'header' parameter to parse column names from table header ([#3117](https://github.com/GenericMappingTools/pygmt/pull/3117)) +* Session.call_module: Support passing a list of argument strings ([#3139](https://github.com/GenericMappingTools/pygmt/pull/3139)) +* Refactor the _load_remote_dataset function to load tiled and non-tiled grids in a consistent way ([#3120](https://github.com/GenericMappingTools/pygmt/pull/3120)) +* Refactor all wrappers to pass an argument list to Session.call_module ([#3132](https://github.com/GenericMappingTools/pygmt/pull/3132)) +* GMT_GRID_HEADER: Parse grid header and add grid properties ([#3134](https://github.com/GenericMappingTools/pygmt/pull/3134)) +* GMT_DATASET.to_dataframe: Return an empty DataFrame if a file contains no data ([#3131](https://github.com/GenericMappingTools/pygmt/pull/3131)) +* Add function build_arg_list for building arguments list from keyword dictionaries ([#3149](https://github.com/GenericMappingTools/pygmt/pull/3149)) + +### Deprecations + +* clib: Rename the virtualfile_from_data method to virtualfile_in ([#3068](https://github.com/GenericMappingTools/pygmt/pull/3068)) +* Figure: Remove deprecated "xshift" ("X") and "yshift" ("Y") parameters, use "Figure.shift_origin" instead (deprecated since v0.8.0) ([#3044](https://github.com/GenericMappingTools/pygmt/pull/3044)) +* Figure: Remove deprecated "timestamp" ("U") parameter, use "Figure.timestamp" instead (deprecated since v0.9.0) ([#3045](https://github.com/GenericMappingTools/pygmt/pull/3045)) +* Figure.wiggle: Remove deprecated parameter 'color', use fillpositive/fillnegative instead (deprecated since v0.8.0) ([#3035](https://github.com/GenericMappingTools/pygmt/pull/3035)) +* Figure.velo: Remove deprecated parameters color/uncertaintycolor, use fill/uncertaintyfill (deprecated since v0.8.0) ([#3034](https://github.com/GenericMappingTools/pygmt/pull/3034)) +* Figure.plot/plot3d/rose: Remove deprecated 'color' parameter, use 'fill' instead (deprecated since v0.8.0) ([#3032](https://github.com/GenericMappingTools/pygmt/pull/3032)) +* Figure.grdimage: Remove deprecated parameter 'bit_color', use 'bitcolor' instead (deprecated since v0.8.0) ([#3036](https://github.com/GenericMappingTools/pygmt/pull/3036)) +* Deprecate the build_arg_string function in v0.12.0 (will be removed in v0.14.0) and use build_arg_list instead ([#3184](https://github.com/GenericMappingTools/pygmt/pull/3184)) + +### Documentation + +* Tutorial "Plotting text": Rewrite to improve structure, add parameters, add list input ([#2760](https://github.com/GenericMappingTools/pygmt/pull/2760)) +* Gallery example "Custom symbols": Mention own coustom symbols ([#3186](https://github.com/GenericMappingTools/pygmt/pull/3186)) + +### Maintenance + +* pygmt.which: Refactor to get rid of temporary files ([#3148](https://github.com/GenericMappingTools/pygmt/pull/3148)) +* pygmt.triangulate.delaunay_triples: Improve performance by storing output in virtual files ([#3107](https://github.com/GenericMappingTools/pygmt/pull/3107)) +* pygmt.select: Improve performance by storing output in virtual files ([#3108](https://github.com/GenericMappingTools/pygmt/pull/3108)) +* pygmt.grdvolume: Refactor to store output in virtual files instead of temporary files ([#3102](https://github.com/GenericMappingTools/pygmt/pull/3102)) +* pygmt.grdhisteq.compute_bins: Refactor to store output in virtual files instead of temporary files ([#3109](https://github.com/GenericMappingTools/pygmt/pull/3109)) +* pygmt.grd2xyz: Improve performance by storing output in virtual files ([#3097](https://github.com/GenericMappingTools/pygmt/pull/3097)) +* pygmt.filter1d: Improve performance by storing output in virtual files ([#3085](https://github.com/GenericMappingTools/pygmt/pull/3085)) +* Use consistent names (vintbl and vingrd) for input virtual files ([#3082](https://github.com/GenericMappingTools/pygmt/pull/3082)) +* Switch to official GitHub action for managing app tokens ([#3165](https://github.com/GenericMappingTools/pygmt/pull/3165)) +* SPEC 0: Set minimum supported versions to pandas>=1.5 and xarray>=2022.03 ([#3043](https://github.com/GenericMappingTools/pygmt/pull/3043)) +* SPEC 0: Set minimum supported version to Python 3.10+ ([#3039](https://github.com/GenericMappingTools/pygmt/pull/3039)) +* SPEC 0: Bump minimum supported versions to xarray 2022.06 ([#3151](https://github.com/GenericMappingTools/pygmt/pull/3151)) +* Remote Datasets: Adjust attributes - remove "title", use default of "name" and "long_name", introduce "description" ([#3048](https://github.com/GenericMappingTools/pygmt/pull/3048)) +* Migrate from os.path to pathlib ([#3119](https://github.com/GenericMappingTools/pygmt/pull/3119)) +* GMT_DATASET: Add workaround for None values in the trailing text ([#3174](https://github.com/GenericMappingTools/pygmt/pull/3174)) +* Figure.psconvert: Ignore the unrecognized 'metadata' parameter added by pytest-mpl v0.17.0 ([#3054](https://github.com/GenericMappingTools/pygmt/pull/3054)) +* Enable ruff's PTH (flake8-use-pathlib) rules and fix violations ([#3129](https://github.com/GenericMappingTools/pygmt/pull/3129)) +* Document the support policy for minimum required GMT versions ([#3070](https://github.com/GenericMappingTools/pygmt/pull/3070)) +* Change the dev dependency 'matplotlib' to 'matplotlib-base' to reduce environment size ([#3158](https://github.com/GenericMappingTools/pygmt/pull/3158)) +* CI: Use 'gh release' to upload assets to release ([#3187](https://github.com/GenericMappingTools/pygmt/pull/3187)) +* CI: Consistently use github.token instead of secrets.GITHUB_TOKEN ([#3189](https://github.com/GenericMappingTools/pygmt/pull/3189)) +* CI: Configure workflows to run on 'workflow_dispatch' event ([#3133](https://github.com/GenericMappingTools/pygmt/pull/3133)) +* Bump to ruff 0.3.0 ([#3081](https://github.com/GenericMappingTools/pygmt/pull/3081)) +* Bump to ruff 0.2.0 ([#3031](https://github.com/GenericMappingTools/pygmt/pull/3031)) +* Bump to ghostscript 10.03.0 ([#3112](https://github.com/GenericMappingTools/pygmt/pull/3112)) +* Adopt SPEC 0 policy and drop NEP 29 policy ([#3037](https://github.com/GenericMappingTools/pygmt/pull/3037)) +* Add strings_to_ctypes_array to convert a sequence of strings into a ctypes array ([#3137](https://github.com/GenericMappingTools/pygmt/pull/3137)) +* Add sequence_to_ctypes_array to convert a sequence to a ctypes array ([#3136](https://github.com/GenericMappingTools/pygmt/pull/3136)) + +**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.11.0 (2024/02/01) [![Digital Object Identifier for PyGMT v0.11.0](https://zenodo.org/badge/DOI/10.5281/zenodo.10578540.svg)](https://doi.org/10.5281/zenodo.10578540) From b74dc44d255c15bd4d00c975f756178a125a1e43 Mon Sep 17 00:00:00 2001 From: Dongdong Tian Date: Wed, 24 Apr 2024 21:33:40 +0800 Subject: [PATCH 03/21] Update the order of contributors --- doc/changes.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/doc/changes.md b/doc/changes.md index fba0eac058e..7354febbe1a 100644 --- a/doc/changes.md +++ b/doc/changes.md @@ -77,11 +77,14 @@ * Add strings_to_ctypes_array to convert a sequence of strings into a ctypes array ([#3137](https://github.com/GenericMappingTools/pygmt/pull/3137)) * Add sequence_to_ctypes_array to convert a sequence to a ctypes array ([#3136](https://github.com/GenericMappingTools/pygmt/pull/3136)) -**Full Changelog**: +**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) +* [Dongdong Tian](https://github.com/seisman) +* [Yvonne Fröhlich](https://github.com/yvonnefroehlich) +* [Michael Grund](https://github.com/michaelgrund) +* [Wei Ji Leong](https://github.com/weiji14) ## Release v0.11.0 (2024/02/01) From bbce499fa0d1f0a17e8612be1b940346ed2495f2 Mon Sep 17 00:00:00 2001 From: Dongdong Tian Date: Wed, 24 Apr 2024 21:36:02 +0800 Subject: [PATCH 04/21] Add v0.12.0 to doc/minversions.md --- doc/minversions.md | 3 +++ 1 file changed, 3 insertions(+) diff --git a/doc/minversions.md b/doc/minversions.md index b2fa02cd9f4..50633d9776f 100644 --- a/doc/minversions.md +++ b/doc/minversions.md @@ -13,6 +13,7 @@ after their initial release. | PyGMT Version | GMT | Python | NumPy | Pandas | Xarray | |---|---|---|---|---|---| | [Dev][]* [[Docs][Docs Dev]] | >=6.3.0 | >=3.10 | >=1.23 | >=1.5 | >=2022.06 | +| [v0.12.0][]* [[Docs][Docs v0.12.0]] | >=6.3.0 | >=3.10 | >=1.23 | >=1.5 | >=2022.06 | | [v0.11.0][] [[Docs][Docs v0.11.0]] | >=6.3.0 | >=3.9 | >=1.23 | | | | [v0.10.0][] [[Docs][Docs v0.10.0]] | >=6.3.0 | >=3.9 | >=1.22 | | | | [v0.9.0][] [[Docs][Docs v0.9.0]] | >=6.3.0 | >=3.8 | >=1.21 | | | @@ -34,6 +35,7 @@ after their initial release. *Dev reflects the main branch and is for the upcoming release. [Dev]: https://github.com/GenericMappingTools/pygmt/milestones +[v0.12.0]: https://github.com/GenericMappingTools/pygmt/releases/tag/v0.12.0 [v0.11.0]: https://github.com/GenericMappingTools/pygmt/releases/tag/v0.11.0 [v0.10.0]: https://github.com/GenericMappingTools/pygmt/releases/tag/v0.10.0 [v0.9.0]: https://github.com/GenericMappingTools/pygmt/releases/tag/v0.9.0 @@ -53,6 +55,7 @@ after their initial release. [v0.1.0]: https://github.com/GenericMappingTools/pygmt/releases/tag/v0.1.0 [Docs Dev]: https://www.pygmt.org/dev +[Docs v0.12.0]: https://www.pygmt.org/v0.12.0 [Docs v0.11.0]: https://www.pygmt.org/v0.11.0 [Docs v0.10.0]: https://www.pygmt.org/v0.10.0 [Docs v0.9.0]: https://www.pygmt.org/v0.9.0 From 6d4f515b6edeeaf0c4dec26f25702bff98d02986 Mon Sep 17 00:00:00 2001 From: Dongdong Tian Date: Thu, 25 Apr 2024 08:17:57 +0800 Subject: [PATCH 05/21] Apply suggestions from code review --- doc/changes.md | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/doc/changes.md b/doc/changes.md index 7354febbe1a..aa4826cd437 100644 --- a/doc/changes.md +++ b/doc/changes.md @@ -57,9 +57,7 @@ * pygmt.filter1d: Improve performance by storing output in virtual files ([#3085](https://github.com/GenericMappingTools/pygmt/pull/3085)) * Use consistent names (vintbl and vingrd) for input virtual files ([#3082](https://github.com/GenericMappingTools/pygmt/pull/3082)) * Switch to official GitHub action for managing app tokens ([#3165](https://github.com/GenericMappingTools/pygmt/pull/3165)) -* SPEC 0: Set minimum supported versions to pandas>=1.5 and xarray>=2022.03 ([#3043](https://github.com/GenericMappingTools/pygmt/pull/3043)) -* SPEC 0: Set minimum supported version to Python 3.10+ ([#3039](https://github.com/GenericMappingTools/pygmt/pull/3039)) -* SPEC 0: Bump minimum supported versions to xarray 2022.06 ([#3151](https://github.com/GenericMappingTools/pygmt/pull/3151)) +* SPEC 0: Set minimum supported versions to Python>=3.10, pandas>=1.5 and xarray>=2022.06 ([#3043](https://github.com/GenericMappingTools/pygmt/pull/3043), [#3039](https://github.com/GenericMappingTools/pygmt/pull/3039), [#3151](https://github.com/GenericMappingTools/pygmt/pull/3151)) * Remote Datasets: Adjust attributes - remove "title", use default of "name" and "long_name", introduce "description" ([#3048](https://github.com/GenericMappingTools/pygmt/pull/3048)) * Migrate from os.path to pathlib ([#3119](https://github.com/GenericMappingTools/pygmt/pull/3119)) * GMT_DATASET: Add workaround for None values in the trailing text ([#3174](https://github.com/GenericMappingTools/pygmt/pull/3174)) @@ -71,7 +69,6 @@ * CI: Consistently use github.token instead of secrets.GITHUB_TOKEN ([#3189](https://github.com/GenericMappingTools/pygmt/pull/3189)) * CI: Configure workflows to run on 'workflow_dispatch' event ([#3133](https://github.com/GenericMappingTools/pygmt/pull/3133)) * Bump to ruff 0.3.0 ([#3081](https://github.com/GenericMappingTools/pygmt/pull/3081)) -* Bump to ruff 0.2.0 ([#3031](https://github.com/GenericMappingTools/pygmt/pull/3031)) * Bump to ghostscript 10.03.0 ([#3112](https://github.com/GenericMappingTools/pygmt/pull/3112)) * Adopt SPEC 0 policy and drop NEP 29 policy ([#3037](https://github.com/GenericMappingTools/pygmt/pull/3037)) * Add strings_to_ctypes_array to convert a sequence of strings into a ctypes array ([#3137](https://github.com/GenericMappingTools/pygmt/pull/3137)) From b23b45ea2ee0540f827190390874bfc606a33e66 Mon Sep 17 00:00:00 2001 From: Dongdong Tian Date: Thu, 25 Apr 2024 08:23:18 +0800 Subject: [PATCH 06/21] Add entries for two new PRs --- doc/changes.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/changes.md b/doc/changes.md index aa4826cd437..9055234148c 100644 --- a/doc/changes.md +++ b/doc/changes.md @@ -29,6 +29,8 @@ * GMT_GRID_HEADER: Parse grid header and add grid properties ([#3134](https://github.com/GenericMappingTools/pygmt/pull/3134)) * GMT_DATASET.to_dataframe: Return an empty DataFrame if a file contains no data ([#3131](https://github.com/GenericMappingTools/pygmt/pull/3131)) * Add function build_arg_list for building arguments list from keyword dictionaries ([#3149](https://github.com/GenericMappingTools/pygmt/pull/3149)) +* Support left/right single quotation marks in text and arguments ([#3192](https://github.com/GenericMappingTools/pygmt/pull/3192)) +* non_ascii_to_octal: Return the input string if it only contains printable ASCII characters ([#3199](https://github.com/GenericMappingTools/pygmt/pull/3199)) ### Deprecations From b18c3671eb3f1b003f988b8161b841e6fd43e95d Mon Sep 17 00:00:00 2001 From: Dongdong Tian Date: Thu, 25 Apr 2024 08:38:33 +0800 Subject: [PATCH 07/21] Update DOI badge Co-authored-by: Wei Ji <23487320+weiji14@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 9055234148c..6ecfba02c25 100644 --- a/doc/changes.md +++ b/doc/changes.md @@ -2,7 +2,7 @@ ## Release v0.12.0 (2024/05/01) -[![Digital Object Identifier for PyGMT v0.12.0](https://zenodo.org/badge/DOI/10.5281/zenodo.3781524.svg)](https://doi.org/10.5281/zenodo.3781524) +[![Digital Object Identifier for PyGMT v0.12.0](https://zenodo.org/badge/DOI/10.5281/zenodo.11062720.svg)](https://doi.org/10.5281/zenodo.11062720) ### Highlights From 91d76e81ee293552fc27ab153683dfd4c62aaf9b Mon Sep 17 00:00:00 2001 From: Dongdong Tian Date: Thu, 25 Apr 2024 09:37:10 +0800 Subject: [PATCH 08/21] Update citation information --- CITATION.cff | 6 +++--- README.md | 10 +++++----- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/CITATION.cff b/CITATION.cff index bc92a5fcccf..772df927b7b 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: 2024-02-01 -doi: 10.5281/zenodo.10578540 +date-released: 2024-05-01 +doi: 10.5281/zenodo.11062720 license: BSD-3-Clause repository-code: https://github.com/GenericMappingTools/pygmt type: software -version: 0.11.0 +version: 0.12.0 diff --git a/README.md b/README.md index de5a1fe7d61..b1dc84a67f2 100644 --- a/README.md +++ b/README.md @@ -129,7 +129,7 @@ research using the following BibTeX: ``` @software{ - pygmt_2024_10578540, + pygmt_2024_11062720, author = {Tian, Dongdong and Uieda, Leonardo and Leong, Wei Ji and @@ -149,12 +149,12 @@ research using the following BibTeX: Quinn, Jamie and Wessel, Paul}, title = {{PyGMT: A Python interface for the Generic Mapping Tools}}, - month = feb, + month = may, year = 2024, publisher = {Zenodo}, - version = {0.11.0}, - doi = {10.5281/zenodo.10578540}, - url = {https://doi.org/10.5281/zenodo.10578540} + version = {0.12.0}, + doi = {10.5281/zenodo.11062720}, + url = {https://doi.org/10.5281/zenodo.11062720} } ``` From 224f9188130aff9c17397787b9f9acef0f109279 Mon Sep 17 00:00:00 2001 From: Dongdong Tian Date: Thu, 25 Apr 2024 16:27:42 +0800 Subject: [PATCH 09/21] Sort entries MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Yvonne Fröhlich <94163266+yvonnefroehlich@users.noreply.github.com> --- doc/changes.md | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/doc/changes.md b/doc/changes.md index 6ecfba02c25..0fb6b40c00c 100644 --- a/doc/changes.md +++ b/doc/changes.md @@ -14,14 +14,12 @@ * pygmt.grdtrack: Add 'output_type' parameter for output in pandas/numpy/file formats ([#3106](https://github.com/GenericMappingTools/pygmt/pull/3106)) * pygmt.blockm*: Add 'output_type' parameter for output in pandas/numpy/file formats ([#3103](https://github.com/GenericMappingTools/pygmt/pull/3103)) * clib: Wrap the GMT API function GMT_Read_VirtualFile ([#2993](https://github.com/GenericMappingTools/pygmt/pull/2993)) -* clib: Add virtualfile_to_dataset method for converting virtualfile to a dataset ([#3083](https://github.com/GenericMappingTools/pygmt/pull/3083)) +* clib: Add virtualfile_to_dataset method for converting virtualfile to a dataset ([#3083](https://github.com/GenericMappingTools/pygmt/pull/3083), [#3140](https://github.com/GenericMappingTools/pygmt/pull/3140), [#3157](https://github.com/GenericMappingTools/pygmt/pull/3157)) * clib: Add the virtualfile_out method for creating output virtualfile ([#3057](https://github.com/GenericMappingTools/pygmt/pull/3057)) * Wrap GMT_Inquire_VirtualFile to get the family of virtualfiles ([#3152](https://github.com/GenericMappingTools/pygmt/pull/3152)) * Wrap GMT's standard data type GMT_GRID for grids ([#2398](https://github.com/GenericMappingTools/pygmt/pull/2398)) * Wrap GMT's standard data type GMT_DATASET for table inputs ([#2729](https://github.com/GenericMappingTools/pygmt/pull/2729)) * Wrap GMT's data structure GMT_GRID_HEADER for grid/image/cube headers ([#3127](https://github.com/GenericMappingTools/pygmt/pull/3127)) -* Session.virtualfile_to_dataset: Add new parameters 'dtype'/'index_col' for pandas output ([#3140](https://github.com/GenericMappingTools/pygmt/pull/3140)) -* Session.virtualfile_to_dataset: Add 'strings' output type for the array of trailing texts ([#3157](https://github.com/GenericMappingTools/pygmt/pull/3157)) * Session.virtualfile_to_dataset: Add 'header' parameter to parse column names from table header ([#3117](https://github.com/GenericMappingTools/pygmt/pull/3117)) * Session.call_module: Support passing a list of argument strings ([#3139](https://github.com/GenericMappingTools/pygmt/pull/3139)) * Refactor the _load_remote_dataset function to load tiled and non-tiled grids in a consistent way ([#3120](https://github.com/GenericMappingTools/pygmt/pull/3120)) @@ -34,14 +32,14 @@ ### Deprecations -* clib: Rename the virtualfile_from_data method to virtualfile_in ([#3068](https://github.com/GenericMappingTools/pygmt/pull/3068)) +* Figure.plot/plot3d/rose: Remove deprecated parameter "color", use "fill" instead (deprecated since v0.8.0) ([#3032](https://github.com/GenericMappingTools/pygmt/pull/3032)) +* Figure.velo: Remove deprecated parameters "color"/"uncertaintycolor", use "fill"/"uncertaintyfill" instead (deprecated since v0.8.0) ([#3034](https://github.com/GenericMappingTools/pygmt/pull/3034)) +* Figure.wiggle: Remove deprecated parameter "color", use "fillpositive"/"fillnegative" instead (deprecated since v0.8.0) ([#3035](https://github.com/GenericMappingTools/pygmt/pull/3035)) +* Figure.grdimage: Remove deprecated parameter "bit_color", use "bitcolor" instead (deprecated since v0.8.0) ([#3036](https://github.com/GenericMappingTools/pygmt/pull/3036)) * Figure: Remove deprecated "xshift" ("X") and "yshift" ("Y") parameters, use "Figure.shift_origin" instead (deprecated since v0.8.0) ([#3044](https://github.com/GenericMappingTools/pygmt/pull/3044)) * Figure: Remove deprecated "timestamp" ("U") parameter, use "Figure.timestamp" instead (deprecated since v0.9.0) ([#3045](https://github.com/GenericMappingTools/pygmt/pull/3045)) -* Figure.wiggle: Remove deprecated parameter 'color', use fillpositive/fillnegative instead (deprecated since v0.8.0) ([#3035](https://github.com/GenericMappingTools/pygmt/pull/3035)) -* Figure.velo: Remove deprecated parameters color/uncertaintycolor, use fill/uncertaintyfill (deprecated since v0.8.0) ([#3034](https://github.com/GenericMappingTools/pygmt/pull/3034)) -* Figure.plot/plot3d/rose: Remove deprecated 'color' parameter, use 'fill' instead (deprecated since v0.8.0) ([#3032](https://github.com/GenericMappingTools/pygmt/pull/3032)) -* Figure.grdimage: Remove deprecated parameter 'bit_color', use 'bitcolor' instead (deprecated since v0.8.0) ([#3036](https://github.com/GenericMappingTools/pygmt/pull/3036)) -* Deprecate the build_arg_string function in v0.12.0 (will be removed in v0.14.0) and use build_arg_list instead ([#3184](https://github.com/GenericMappingTools/pygmt/pull/3184)) +* clib: Rename the "virtualfile_from_data" method to "virtualfile_in" ([#3068](https://github.com/GenericMappingTools/pygmt/pull/3068)) +* Deprecate the "build_arg_string" function, use build_arg_list instead (deprecated since v0.12.0, will be removed in v0.14.0) ([#3184](https://github.com/GenericMappingTools/pygmt/pull/3184)) ### Documentation From b024159f415cd251d12c961b20fcb98a669a4b86 Mon Sep 17 00:00:00 2001 From: Dongdong Tian Date: Thu, 25 Apr 2024 19:24:00 +0800 Subject: [PATCH 10/21] Update doc/changes.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Yvonne Fröhlich <94163266+yvonnefroehlich@users.noreply.github.com> --- doc/changes.md | 36 ++++++++++++++++++------------------ 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/doc/changes.md b/doc/changes.md index 0fb6b40c00c..9d5656e54da 100644 --- a/doc/changes.md +++ b/doc/changes.md @@ -48,31 +48,31 @@ ### Maintenance -* pygmt.which: Refactor to get rid of temporary files ([#3148](https://github.com/GenericMappingTools/pygmt/pull/3148)) -* pygmt.triangulate.delaunay_triples: Improve performance by storing output in virtual files ([#3107](https://github.com/GenericMappingTools/pygmt/pull/3107)) -* pygmt.select: Improve performance by storing output in virtual files ([#3108](https://github.com/GenericMappingTools/pygmt/pull/3108)) +* pygmt.filter1d: Improve performance by storing output in virtual files ([#3085](https://github.com/GenericMappingTools/pygmt/pull/3085)) * pygmt.grdvolume: Refactor to store output in virtual files instead of temporary files ([#3102](https://github.com/GenericMappingTools/pygmt/pull/3102)) * pygmt.grdhisteq.compute_bins: Refactor to store output in virtual files instead of temporary files ([#3109](https://github.com/GenericMappingTools/pygmt/pull/3109)) * pygmt.grd2xyz: Improve performance by storing output in virtual files ([#3097](https://github.com/GenericMappingTools/pygmt/pull/3097)) -* pygmt.filter1d: Improve performance by storing output in virtual files ([#3085](https://github.com/GenericMappingTools/pygmt/pull/3085)) +* pygmt.select: Improve performance by storing output in virtual files ([#3108](https://github.com/GenericMappingTools/pygmt/pull/3108)) +* pygmt.triangulate.delaunay_triples: Improve performance by storing output in virtual files ([#3107](https://github.com/GenericMappingTools/pygmt/pull/3107)) +* pygmt.which: Refactor to get rid of temporary files ([#3148](https://github.com/GenericMappingTools/pygmt/pull/3148)) * Use consistent names (vintbl and vingrd) for input virtual files ([#3082](https://github.com/GenericMappingTools/pygmt/pull/3082)) -* Switch to official GitHub action for managing app tokens ([#3165](https://github.com/GenericMappingTools/pygmt/pull/3165)) -* SPEC 0: Set minimum supported versions to Python>=3.10, pandas>=1.5 and xarray>=2022.06 ([#3043](https://github.com/GenericMappingTools/pygmt/pull/3043), [#3039](https://github.com/GenericMappingTools/pygmt/pull/3039), [#3151](https://github.com/GenericMappingTools/pygmt/pull/3151)) -* Remote Datasets: Adjust attributes - remove "title", use default of "name" and "long_name", introduce "description" ([#3048](https://github.com/GenericMappingTools/pygmt/pull/3048)) -* Migrate from os.path to pathlib ([#3119](https://github.com/GenericMappingTools/pygmt/pull/3119)) +* Add sequence_to_ctypes_array to convert a sequence to a ctypes array ([#3136](https://github.com/GenericMappingTools/pygmt/pull/3136)) +* Add strings_to_ctypes_array to convert a sequence of strings into a ctypes array ([#3137](https://github.com/GenericMappingTools/pygmt/pull/3137)) +* Figure.psconvert: Ignore the unrecognized "metadata" parameter added by pytest-mpl v0.17.0 ([#3054](https://github.com/GenericMappingTools/pygmt/pull/3054)) * GMT_DATASET: Add workaround for None values in the trailing text ([#3174](https://github.com/GenericMappingTools/pygmt/pull/3174)) -* Figure.psconvert: Ignore the unrecognized 'metadata' parameter added by pytest-mpl v0.17.0 ([#3054](https://github.com/GenericMappingTools/pygmt/pull/3054)) -* Enable ruff's PTH (flake8-use-pathlib) rules and fix violations ([#3129](https://github.com/GenericMappingTools/pygmt/pull/3129)) +* Remote Datasets: Adjust attributes - remove "title", use default of "name" and "long_name", introduce "description" ([#3048](https://github.com/GenericMappingTools/pygmt/pull/3048)) +* Adopt SPEC 0 policy and drop NEP 29 policy ([#3037](https://github.com/GenericMappingTools/pygmt/pull/3037)) +* SPEC 0: Set minimum supported versions to Python>=3.10, pandas>=1.5 and xarray>=2022.06 ([#3043](https://github.com/GenericMappingTools/pygmt/pull/3043), [#3039](https://github.com/GenericMappingTools/pygmt/pull/3039), [#3151](https://github.com/GenericMappingTools/pygmt/pull/3151)) * Document the support policy for minimum required GMT versions ([#3070](https://github.com/GenericMappingTools/pygmt/pull/3070)) -* Change the dev dependency 'matplotlib' to 'matplotlib-base' to reduce environment size ([#3158](https://github.com/GenericMappingTools/pygmt/pull/3158)) -* CI: Use 'gh release' to upload assets to release ([#3187](https://github.com/GenericMappingTools/pygmt/pull/3187)) -* CI: Consistently use github.token instead of secrets.GITHUB_TOKEN ([#3189](https://github.com/GenericMappingTools/pygmt/pull/3189)) -* CI: Configure workflows to run on 'workflow_dispatch' event ([#3133](https://github.com/GenericMappingTools/pygmt/pull/3133)) -* Bump to ruff 0.3.0 ([#3081](https://github.com/GenericMappingTools/pygmt/pull/3081)) * Bump to ghostscript 10.03.0 ([#3112](https://github.com/GenericMappingTools/pygmt/pull/3112)) -* Adopt SPEC 0 policy and drop NEP 29 policy ([#3037](https://github.com/GenericMappingTools/pygmt/pull/3037)) -* Add strings_to_ctypes_array to convert a sequence of strings into a ctypes array ([#3137](https://github.com/GenericMappingTools/pygmt/pull/3137)) -* Add sequence_to_ctypes_array to convert a sequence to a ctypes array ([#3136](https://github.com/GenericMappingTools/pygmt/pull/3136)) +* Bump to ruff 0.3.0 ([#3081](https://github.com/GenericMappingTools/pygmt/pull/3081)) +* Enable ruff's PTH (flake8-use-pathlib) rules and fix violations ([#3129](https://github.com/GenericMappingTools/pygmt/pull/3129)) +* Change the dev dependency "matplotlib" to "matplotlib-base" to reduce environment size ([#3158](https://github.com/GenericMappingTools/pygmt/pull/3158)) +* Migrate from os.path to pathlib ([#3119](https://github.com/GenericMappingTools/pygmt/pull/3119)) +* CI: Use "gh release" to upload assets to release ([#3187](https://github.com/GenericMappingTools/pygmt/pull/3187)) +* CI: Consistently use github.token instead of secrets.GITHUB_TOKEN ([#3189](https://github.com/GenericMappingTools/pygmt/pull/3189)) +* CI: Configure workflows to run on "workflow_dispatch" event ([#3133](https://github.com/GenericMappingTools/pygmt/pull/3133)) +* Switch to official GitHub action for managing app tokens ([#3165](https://github.com/GenericMappingTools/pygmt/pull/3165)) **Full Changelog**: From f178d2a2b1361a5d6386f5a9240241b885d8a80b Mon Sep 17 00:00:00 2001 From: Dongdong Tian Date: Thu, 25 Apr 2024 21:41:30 +0800 Subject: [PATCH 11/21] Apply suggestions from code review --- doc/changes.md | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/doc/changes.md b/doc/changes.md index 9d5656e54da..1e6e90d06f5 100644 --- a/doc/changes.md +++ b/doc/changes.md @@ -14,18 +14,16 @@ * pygmt.grdtrack: Add 'output_type' parameter for output in pandas/numpy/file formats ([#3106](https://github.com/GenericMappingTools/pygmt/pull/3106)) * pygmt.blockm*: Add 'output_type' parameter for output in pandas/numpy/file formats ([#3103](https://github.com/GenericMappingTools/pygmt/pull/3103)) * clib: Wrap the GMT API function GMT_Read_VirtualFile ([#2993](https://github.com/GenericMappingTools/pygmt/pull/2993)) -* clib: Add virtualfile_to_dataset method for converting virtualfile to a dataset ([#3083](https://github.com/GenericMappingTools/pygmt/pull/3083), [#3140](https://github.com/GenericMappingTools/pygmt/pull/3140), [#3157](https://github.com/GenericMappingTools/pygmt/pull/3157)) +* clib: Add virtualfile_to_dataset method for converting virtualfile to a dataset ([#3083](https://github.com/GenericMappingTools/pygmt/pull/3083), [#3140](https://github.com/GenericMappingTools/pygmt/pull/3140), [#3157](https://github.com/GenericMappingTools/pygmt/pull/3157), +[#3117](https://github.com/GenericMappingTools/pygmt/pull/3117)) * clib: Add the virtualfile_out method for creating output virtualfile ([#3057](https://github.com/GenericMappingTools/pygmt/pull/3057)) * Wrap GMT_Inquire_VirtualFile to get the family of virtualfiles ([#3152](https://github.com/GenericMappingTools/pygmt/pull/3152)) * Wrap GMT's standard data type GMT_GRID for grids ([#2398](https://github.com/GenericMappingTools/pygmt/pull/2398)) -* Wrap GMT's standard data type GMT_DATASET for table inputs ([#2729](https://github.com/GenericMappingTools/pygmt/pull/2729)) -* Wrap GMT's data structure GMT_GRID_HEADER for grid/image/cube headers ([#3127](https://github.com/GenericMappingTools/pygmt/pull/3127)) -* Session.virtualfile_to_dataset: Add 'header' parameter to parse column names from table header ([#3117](https://github.com/GenericMappingTools/pygmt/pull/3117)) +* Wrap GMT's standard data type GMT_DATASET for table inputs ([#2729](https://github.com/GenericMappingTools/pygmt/pull/2729), [#3131](https://github.com/GenericMappingTools/pygmt/pull/3131)) +* Wrap GMT's data structure GMT_GRID_HEADER for grid/image/cube headers ([#3127](https://github.com/GenericMappingTools/pygmt/pull/3127), [#3134](https://github.com/GenericMappingTools/pygmt/pull/3134)) * Session.call_module: Support passing a list of argument strings ([#3139](https://github.com/GenericMappingTools/pygmt/pull/3139)) * Refactor the _load_remote_dataset function to load tiled and non-tiled grids in a consistent way ([#3120](https://github.com/GenericMappingTools/pygmt/pull/3120)) * Refactor all wrappers to pass an argument list to Session.call_module ([#3132](https://github.com/GenericMappingTools/pygmt/pull/3132)) -* GMT_GRID_HEADER: Parse grid header and add grid properties ([#3134](https://github.com/GenericMappingTools/pygmt/pull/3134)) -* GMT_DATASET.to_dataframe: Return an empty DataFrame if a file contains no data ([#3131](https://github.com/GenericMappingTools/pygmt/pull/3131)) * Add function build_arg_list for building arguments list from keyword dictionaries ([#3149](https://github.com/GenericMappingTools/pygmt/pull/3149)) * Support left/right single quotation marks in text and arguments ([#3192](https://github.com/GenericMappingTools/pygmt/pull/3192)) * non_ascii_to_octal: Return the input string if it only contains printable ASCII characters ([#3199](https://github.com/GenericMappingTools/pygmt/pull/3199)) From 5ade3c34d395a17ff65737da2ece578b4eb0c155 Mon Sep 17 00:00:00 2001 From: Dongdong Tian Date: Thu, 25 Apr 2024 21:43:03 +0800 Subject: [PATCH 12/21] Apply suggestions from code review --- doc/changes.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/doc/changes.md b/doc/changes.md index 1e6e90d06f5..15be1f346d3 100644 --- a/doc/changes.md +++ b/doc/changes.md @@ -19,7 +19,7 @@ * clib: Add the virtualfile_out method for creating output virtualfile ([#3057](https://github.com/GenericMappingTools/pygmt/pull/3057)) * Wrap GMT_Inquire_VirtualFile to get the family of virtualfiles ([#3152](https://github.com/GenericMappingTools/pygmt/pull/3152)) * Wrap GMT's standard data type GMT_GRID for grids ([#2398](https://github.com/GenericMappingTools/pygmt/pull/2398)) -* Wrap GMT's standard data type GMT_DATASET for table inputs ([#2729](https://github.com/GenericMappingTools/pygmt/pull/2729), [#3131](https://github.com/GenericMappingTools/pygmt/pull/3131)) +* Wrap GMT's standard data type GMT_DATASET for table inputs ([#2729](https://github.com/GenericMappingTools/pygmt/pull/2729), [#3131](https://github.com/GenericMappingTools/pygmt/pull/3131), [#3174](https://github.com/GenericMappingTools/pygmt/pull/3174)) * Wrap GMT's data structure GMT_GRID_HEADER for grid/image/cube headers ([#3127](https://github.com/GenericMappingTools/pygmt/pull/3127), [#3134](https://github.com/GenericMappingTools/pygmt/pull/3134)) * Session.call_module: Support passing a list of argument strings ([#3139](https://github.com/GenericMappingTools/pygmt/pull/3139)) * Refactor the _load_remote_dataset function to load tiled and non-tiled grids in a consistent way ([#3120](https://github.com/GenericMappingTools/pygmt/pull/3120)) @@ -57,7 +57,6 @@ * Add sequence_to_ctypes_array to convert a sequence to a ctypes array ([#3136](https://github.com/GenericMappingTools/pygmt/pull/3136)) * Add strings_to_ctypes_array to convert a sequence of strings into a ctypes array ([#3137](https://github.com/GenericMappingTools/pygmt/pull/3137)) * Figure.psconvert: Ignore the unrecognized "metadata" parameter added by pytest-mpl v0.17.0 ([#3054](https://github.com/GenericMappingTools/pygmt/pull/3054)) -* GMT_DATASET: Add workaround for None values in the trailing text ([#3174](https://github.com/GenericMappingTools/pygmt/pull/3174)) * Remote Datasets: Adjust attributes - remove "title", use default of "name" and "long_name", introduce "description" ([#3048](https://github.com/GenericMappingTools/pygmt/pull/3048)) * Adopt SPEC 0 policy and drop NEP 29 policy ([#3037](https://github.com/GenericMappingTools/pygmt/pull/3037)) * SPEC 0: Set minimum supported versions to Python>=3.10, pandas>=1.5 and xarray>=2022.06 ([#3043](https://github.com/GenericMappingTools/pygmt/pull/3043), [#3039](https://github.com/GenericMappingTools/pygmt/pull/3039), [#3151](https://github.com/GenericMappingTools/pygmt/pull/3151)) From 338e6b607d1c5f08969389326ddb603151ce21d0 Mon Sep 17 00:00:00 2001 From: Dongdong Tian Date: Fri, 26 Apr 2024 10:17:27 +0800 Subject: [PATCH 13/21] Update the author order of Yvonne --- CITATION.cff | 8 ++++---- README.md | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/CITATION.cff b/CITATION.cff index 772df927b7b..ee4d5ded691 100644 --- a/CITATION.cff +++ b/CITATION.cff @@ -16,14 +16,14 @@ authors: family-names: Leong affiliation: Development Seed, USA orcid: https://orcid.org/0000-0003-2354-1988 -- given-names: William - family-names: Schlitzer - affiliation: Unaffiliated - orcid: https://orcid.org/0000-0002-5843-2282 - given-names: Yvonne family-names: Fröhlich affiliation: Karlsruhe Institute of Technology, Germany 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 diff --git a/README.md b/README.md index b1dc84a67f2..9782b0f6517 100644 --- a/README.md +++ b/README.md @@ -133,8 +133,8 @@ research using the following BibTeX: author = {Tian, Dongdong and Uieda, Leonardo and Leong, Wei Ji and - Schlitzer, William and Fröhlich, Yvonne and + Schlitzer, William and Grund, Michael and Jones, Max and Toney, Liam and From cd9223f46ff422d5b4ab3b2a37c2470f4d947fd9 Mon Sep 17 00:00:00 2001 From: Dongdong Tian Date: Fri, 26 Apr 2024 10:32:47 +0800 Subject: [PATCH 14/21] Apply suggestions from code review Co-authored-by: Wei Ji <23487320+weiji14@users.noreply.github.com> --- doc/changes.md | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/doc/changes.md b/doc/changes.md index 15be1f346d3..25af12659b6 100644 --- a/doc/changes.md +++ b/doc/changes.md @@ -6,7 +6,10 @@ ### Highlights -* +* 🎉 **Twelveth minor release of PyGMT** 🎉 +* 🚀 Almost all module wrappers (with a few exceptions) now use in-memory GMT *virtual files* instead of intermediate temporary files to improve performance ([#2730](https://github.com/GenericMappingTools/pygmt/issues/2730)) +* Almost all module wrappers (with a few exceptions) now have consistent behavior for table-like output ([#1318](https://github.com/GenericMappingTools/pygmt/issues/1318)) +* Adopt [SPEC 0](https://scientific-python.org/specs/spec-0000/) policy for minimum supported versions of GMT, Python, and other core dependencies ### Enhancements @@ -42,7 +45,7 @@ ### Documentation * Tutorial "Plotting text": Rewrite to improve structure, add parameters, add list input ([#2760](https://github.com/GenericMappingTools/pygmt/pull/2760)) -* Gallery example "Custom symbols": Mention own coustom symbols ([#3186](https://github.com/GenericMappingTools/pygmt/pull/3186)) +* Gallery example "Custom symbols": Mention own custom symbols ([#3186](https://github.com/GenericMappingTools/pygmt/pull/3186)) ### Maintenance From e5a75d721c1bc921d82238664796cca4456a890e Mon Sep 17 00:00:00 2001 From: Dongdong Tian Date: Fri, 26 Apr 2024 13:44:50 +0800 Subject: [PATCH 15/21] Update doc/changes.md 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 25af12659b6..2d9cf32329b 100644 --- a/doc/changes.md +++ b/doc/changes.md @@ -6,7 +6,7 @@ ### Highlights -* 🎉 **Twelveth minor release of PyGMT** 🎉 +* 🎉 **Twelfth minor release of PyGMT** 🎉 * 🚀 Almost all module wrappers (with a few exceptions) now use in-memory GMT *virtual files* instead of intermediate temporary files to improve performance ([#2730](https://github.com/GenericMappingTools/pygmt/issues/2730)) * Almost all module wrappers (with a few exceptions) now have consistent behavior for table-like output ([#1318](https://github.com/GenericMappingTools/pygmt/issues/1318)) * Adopt [SPEC 0](https://scientific-python.org/specs/spec-0000/) policy for minimum supported versions of GMT, Python, and other core dependencies From cf9220970197161a02b067c6f69ae47d7aaf0048 Mon Sep 17 00:00:00 2001 From: Dongdong Tian Date: Sun, 28 Apr 2024 12:42:07 +0800 Subject: [PATCH 16/21] Add entries form grdcontour and contour --- doc/changes.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/doc/changes.md b/doc/changes.md index 2d9cf32329b..d2920ffcbee 100644 --- a/doc/changes.md +++ b/doc/changes.md @@ -16,6 +16,8 @@ * pygmt.project: Add 'output_type' parameter for output in pandas/numpy/file formats ([#3110](https://github.com/GenericMappingTools/pygmt/pull/3110)) * pygmt.grdtrack: Add 'output_type' parameter for output in pandas/numpy/file formats ([#3106](https://github.com/GenericMappingTools/pygmt/pull/3106)) * pygmt.blockm*: Add 'output_type' parameter for output in pandas/numpy/file formats ([#3103](https://github.com/GenericMappingTools/pygmt/pull/3103)) +* Figure.grdcontour: Adjust processing arguments passed to "annotation" and "interval" parameters ([#3116](https://github.com/GenericMappingTools/pygmt/pull/3116)) +* Figure.contour: Adjust processing arguments passed to "annotation" and "levels" parameters ([#2706](https://github.com/GenericMappingTools/pygmt/pull/2706)) * clib: Wrap the GMT API function GMT_Read_VirtualFile ([#2993](https://github.com/GenericMappingTools/pygmt/pull/2993)) * clib: Add virtualfile_to_dataset method for converting virtualfile to a dataset ([#3083](https://github.com/GenericMappingTools/pygmt/pull/3083), [#3140](https://github.com/GenericMappingTools/pygmt/pull/3140), [#3157](https://github.com/GenericMappingTools/pygmt/pull/3157), [#3117](https://github.com/GenericMappingTools/pygmt/pull/3117)) From c952b9068a55e76094d5ddedcffa4cc247df3b18 Mon Sep 17 00:00:00 2001 From: Dongdong Tian Date: Sun, 28 Apr 2024 18:13:22 +0800 Subject: [PATCH 17/21] Update doc/changes.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Yvonne Fröhlich <94163266+yvonnefroehlich@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 d2920ffcbee..4ed08571cbf 100644 --- a/doc/changes.md +++ b/doc/changes.md @@ -43,7 +43,7 @@ * Figure: Remove deprecated "timestamp" ("U") parameter, use "Figure.timestamp" instead (deprecated since v0.9.0) ([#3045](https://github.com/GenericMappingTools/pygmt/pull/3045)) * clib: Rename the "virtualfile_from_data" method to "virtualfile_in" ([#3068](https://github.com/GenericMappingTools/pygmt/pull/3068)) * Deprecate the "build_arg_string" function, use build_arg_list instead (deprecated since v0.12.0, will be removed in v0.14.0) ([#3184](https://github.com/GenericMappingTools/pygmt/pull/3184)) - +* Figure.grdcontour: Deprecate "sequence_plus", only used for the "annotation" parameter (deprecated since v0.12.0, will be removed in v0.14.0) ([#3116](https://github.com/GenericMappingTools/pygmt/pull/3116)) ### Documentation * Tutorial "Plotting text": Rewrite to improve structure, add parameters, add list input ([#2760](https://github.com/GenericMappingTools/pygmt/pull/2760)) From 69784db1f87b6d87bf82fc61bdc98cb6cca9a8f9 Mon Sep 17 00:00:00 2001 From: Dongdong Tian Date: Sun, 28 Apr 2024 18:45:18 +0800 Subject: [PATCH 18/21] Update doc/changes.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Yvonne Fröhlich <94163266+yvonnefroehlich@users.noreply.github.com> --- doc/changes.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/doc/changes.md b/doc/changes.md index 4ed08571cbf..18b28844607 100644 --- a/doc/changes.md +++ b/doc/changes.md @@ -43,7 +43,8 @@ * Figure: Remove deprecated "timestamp" ("U") parameter, use "Figure.timestamp" instead (deprecated since v0.9.0) ([#3045](https://github.com/GenericMappingTools/pygmt/pull/3045)) * clib: Rename the "virtualfile_from_data" method to "virtualfile_in" ([#3068](https://github.com/GenericMappingTools/pygmt/pull/3068)) * Deprecate the "build_arg_string" function, use build_arg_list instead (deprecated since v0.12.0, will be removed in v0.14.0) ([#3184](https://github.com/GenericMappingTools/pygmt/pull/3184)) -* Figure.grdcontour: Deprecate "sequence_plus", only used for the "annotation" parameter (deprecated since v0.12.0, will be removed in v0.14.0) ([#3116](https://github.com/GenericMappingTools/pygmt/pull/3116)) +* Deprecate the "sequence_plus" converter, only used for the "annotation" parameter of Figure.grdcontour (deprecated since v0.12.0, will be removed in v0.14.0) ([#3207](https://github.com/GenericMappingTools/pygmt/pull/3207)) + ### Documentation * Tutorial "Plotting text": Rewrite to improve structure, add parameters, add list input ([#2760](https://github.com/GenericMappingTools/pygmt/pull/2760)) From 4568c1592a77d372b28fb60f265e78c0781001e7 Mon Sep 17 00:00:00 2001 From: Dongdong Tian Date: Mon, 29 Apr 2024 17:46:29 +0800 Subject: [PATCH 19/21] Update doc/changes.md --- doc/changes.md | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/changes.md b/doc/changes.md index 18b28844607..ba0d17768cc 100644 --- a/doc/changes.md +++ b/doc/changes.md @@ -44,6 +44,7 @@ * clib: Rename the "virtualfile_from_data" method to "virtualfile_in" ([#3068](https://github.com/GenericMappingTools/pygmt/pull/3068)) * Deprecate the "build_arg_string" function, use build_arg_list instead (deprecated since v0.12.0, will be removed in v0.14.0) ([#3184](https://github.com/GenericMappingTools/pygmt/pull/3184)) * Deprecate the "sequence_plus" converter, only used for the "annotation" parameter of Figure.grdcontour (deprecated since v0.12.0, will be removed in v0.14.0) ([#3207](https://github.com/GenericMappingTools/pygmt/pull/3207)) +* Figure.grdcontour: Deprecate parameter "interval" to "levels" (FutureWarning since v0.12.0, will be removed in v0.16.0) ([#3209](https://github.com/GenericMappingTools/pygmt/pull/3209)) ### Documentation From 2d632cc7e46aa0755f8ba9a4ea30ea023460ee0b Mon Sep 17 00:00:00 2001 From: yvonnefroelich Date: Tue, 30 Apr 2024 20:04:13 +0200 Subject: [PATCH 20/21] Add PRs 3213 and 3214 to changelog --- doc/changes.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/doc/changes.md b/doc/changes.md index ba0d17768cc..9cf7cb61784 100644 --- a/doc/changes.md +++ b/doc/changes.md @@ -48,8 +48,10 @@ ### Documentation -* Tutorial "Plotting text": Rewrite to improve structure, add parameters, add list input ([#2760](https://github.com/GenericMappingTools/pygmt/pull/2760)) +* External Resources: Add repository "gmt-pygmt-plotting" ([#3213](https://github.com/GenericMappingTools/pygmt/pull/3213)) * Gallery example "Custom symbols": Mention own custom symbols ([#3186](https://github.com/GenericMappingTools/pygmt/pull/3186)) +* Intro "04 Tabel inputs": Document that a list of file names, pathlib.Path objects, URLs, or remote files is supported ([3214](https://github.com/GenericMappingTools/pygmt/pull/3214)) +* Tutorial "Plotting text": Rewrite to improve structure, explain more parameters, show list input ([#2760](https://github.com/GenericMappingTools/pygmt/pull/2760)) ### Maintenance From 7d59fb502353e864cb038637db54955cf458bf51 Mon Sep 17 00:00:00 2001 From: Wei Ji <23487320+weiji14@users.noreply.github.com> Date: Wed, 1 May 2024 22:46:40 +1200 Subject: [PATCH 21/21] Update doc/changes.md MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Yvonne Fröhlich <94163266+yvonnefroehlich@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 7562c6c18cb..e9a1a6ca17c 100644 --- a/doc/changes.md +++ b/doc/changes.md @@ -50,7 +50,7 @@ * External Resources: Add repository "gmt-pygmt-plotting" ([#3213](https://github.com/GenericMappingTools/pygmt/pull/3213)) * Gallery example "Custom symbols": Mention own custom symbols ([#3186](https://github.com/GenericMappingTools/pygmt/pull/3186)) -* Intro "04 Tabel inputs": Document that a list of file names, pathlib.Path objects, URLs, or remote files is supported ([3214](https://github.com/GenericMappingTools/pygmt/pull/3214)) +* Intro "04 Table inputs": Document that a list of file names, pathlib.Path objects, URLs, or remote files is supported ([3214](https://github.com/GenericMappingTools/pygmt/pull/3214)) * Tutorial "Plotting text": Rewrite to improve structure, explain more parameters, show list input ([#2760](https://github.com/GenericMappingTools/pygmt/pull/2760)) ### Maintenance