From 40c9f02826e8384e7c66134a4ca5bd5d9fe1d37b Mon Sep 17 00:00:00 2001 From: Dongdong Tian Date: Sat, 27 Jan 2024 21:10:23 +0800 Subject: [PATCH 01/21] Add v0.11.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 6218b013d87..f4545ebbe4e 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.11.0': 'v0.11.0', 'v0.10.0': 'v0.10.0', 'v0.9.0': 'v0.9.0', 'v0.8.0': 'v0.8.0', From ea993a98c767ef949640841e65adfad855e881c2 Mon Sep 17 00:00:00 2001 From: Dongdong Tian Date: Sat, 27 Jan 2024 21:18:03 +0800 Subject: [PATCH 02/21] Copy draft release note --- doc/changes.md | 146 +++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 146 insertions(+) diff --git a/doc/changes.md b/doc/changes.md index 3674af83f50..21ca72f0978 100644 --- a/doc/changes.md +++ b/doc/changes.md @@ -1,5 +1,151 @@ # Changelog +## Release v0.11.0 (20YY/MM/DD) + +[![Digital Object Identifier for PyGMT v0.11.0](https://zenodo.org/badge/DOI/10.5281/zenodo.3781524.svg)](https://doi.org/10.5281/zenodo.3781524) + +### Highlights + +* + +### New Features + +* Support timedelta64 dtype as input ([#2884](https://github.com/GenericMappingTools/pygmt/pull/2884)) +* Figure.text: Support passing in a list of angle/font/justify values ([#2720](https://github.com/GenericMappingTools/pygmt/pull/2720)) +* Figure.savefig: Support saving figures in PPM (.ppm) format ([#2771](https://github.com/GenericMappingTools/pygmt/pull/2771)) +* Figure.savefig: Support generating GeoTIFF file (with extension '.tiff') ([#2698](https://github.com/GenericMappingTools/pygmt/pull/2698)) +* Figure.savefig: Add the 'worldfile' parameter to write a companion world file for raster images ([#2766](https://github.com/GenericMappingTools/pygmt/pull/2766)) +* Add load_venus_relief to load Venus relief dataset in various resolutions ([#2906](https://github.com/GenericMappingTools/pygmt/pull/2906)) +* Add load_moon_relief to load Moon relief dataset in various resolutions and registrations ([#2674](https://github.com/GenericMappingTools/pygmt/pull/2674)) +* Add load_mars_relief to load Mars relief dataset in various resolutions and registrations ([#2847](https://github.com/GenericMappingTools/pygmt/pull/2847)) + +### Enhancements + +* pyarrow: Support date32[day] and date64[ms] dtypes in pandas objects ([#2845](https://github.com/GenericMappingTools/pygmt/pull/2845)) +* geopandas: Correctly handle columns with integer values bigger than the largest 32-bit integer ([#2841](https://github.com/GenericMappingTools/pygmt/pull/2841)) +* Set GMT_SESSION_NAME to a unique name on Windows for multiprocessing support ([#2938](https://github.com/GenericMappingTools/pygmt/pull/2938)) +* Improve the error messages for unsupported numpy dtypes ([#2856](https://github.com/GenericMappingTools/pygmt/pull/2856)) +* Improve performance by avoiding loading the GMT library repeatedly ([#2930](https://github.com/GenericMappingTools/pygmt/pull/2930)) +* Figure.savefig: Support uppercase file extensions (e.g., PNG, PDF) ([#2697](https://github.com/GenericMappingTools/pygmt/pull/2697)) +* Figure.savefig: Support .jpeg as JPEG image extension ([#2691](https://github.com/GenericMappingTools/pygmt/pull/2691)) +* Figure.coast: Add alias "box" for "-F" ([#2823](https://github.com/GenericMappingTools/pygmt/pull/2823)) +* Add zoom_adjust param to pygmt.datasets.load_tile_map and Figure.tilemap ([#2934](https://github.com/GenericMappingTools/pygmt/pull/2934)) +* Add common alias cores (x) for grdlandmask ([#2944](https://github.com/GenericMappingTools/pygmt/pull/2944)) + +### Deprecations + +* Rename API function Session.open_virtual_file to Session.open_virtualfile (remove in v0.15.0) ([#2996](https://github.com/GenericMappingTools/pygmt/pull/2996)) +* NEP29: Set minimum required version to NumPy 1.23+ ([#2991](https://github.com/GenericMappingTools/pygmt/pull/2991)) +* Figure.timestamp: Deprecate parameter 'justification' to 'justify' (remove in v0.13.0) ([#3002](https://github.com/GenericMappingTools/pygmt/pull/3002)) +* Figure.grdimage: Remove the unsupported 'img_out'/'A' parameter ([#2907](https://github.com/GenericMappingTools/pygmt/pull/2907)) + +### Bug Fixes + +* pygmt.which: Fix the bug when passing multiple files ([#2726](https://github.com/GenericMappingTools/pygmt/pull/2726)) +* pygmt.filter1d: Fix the bug that the first line is read as headers ([#2780](https://github.com/GenericMappingTools/pygmt/pull/2780)) +* clib: Fix the bug when passing multiple columns of strings with variable lengths to the GMT C API ([#2719](https://github.com/GenericMappingTools/pygmt/pull/2719)) +* Let kwargs_to_strings work with default values and postional arguments ([#2826](https://github.com/GenericMappingTools/pygmt/pull/2826)) +* Figure.meca: Fix typo pricipal_axis -> principal_axis ([#2940](https://github.com/GenericMappingTools/pygmt/pull/2940)) + +### Documentation + +* docs: Use consistent description for the 'outgrid' parameter ([#2874](https://github.com/GenericMappingTools/pygmt/pull/2874)) +* doc: Link to GMT 6.4 documentation instead of the latest one ([#2681](https://github.com/GenericMappingTools/pygmt/pull/2681)) +* Switch away from Stamen basemaps ([#2717](https://github.com/GenericMappingTools/pygmt/pull/2717)) +* Recommend Miniforge instead of Mambaforge ([#2833](https://github.com/GenericMappingTools/pygmt/pull/2833)) +* Improve the onboarding access checklist for contributors, maintainers and administrators ([#2656](https://github.com/GenericMappingTools/pygmt/pull/2656)) +* Gallery example "Legend": Update regarding input data and multi-column legends ([#2762](https://github.com/GenericMappingTools/pygmt/pull/2762)) +* Figure.shift_origin: Improve docstrings, add inline examples and add type hints ([#2879](https://github.com/GenericMappingTools/pygmt/pull/2879)) +* Figure.plot: Update docstring for "connection" parameter to GMT 6.5 ([#2994](https://github.com/GenericMappingTools/pygmt/pull/2994)) +* Examples: Replace deprecated "np.random.seed()" with "np.random.Generator()" (NPY002 warning by ruff) ([#2781](https://github.com/GenericMappingTools/pygmt/pull/2781)) +* Add the Japanese "PyGMT-HOWTO" tutorial to "External Resources" ([#2743](https://github.com/GenericMappingTools/pygmt/pull/2743)) +* Add gallery example showing usage of polygon objects from a geopandas.GeoDataFrame (choropleth map) ([#2796](https://github.com/GenericMappingTools/pygmt/pull/2796)) +* Add gallery example showing how to adjust line segment ends (caps and joints) ([#3015](https://github.com/GenericMappingTools/pygmt/pull/3015)) +* Add gallery example for plotting connection lines ("connection" parameter of Figure.plot) ([#2999](https://github.com/GenericMappingTools/pygmt/pull/2999)) +* Add gallery example "Scale bar" ([#2822](https://github.com/GenericMappingTools/pygmt/pull/2822)) +* Add a tutorial for working with table inputs in PyGMT ([#2722](https://github.com/GenericMappingTools/pygmt/pull/2722)) +* Add a 'Common installation issues' section to the install guides ([#2868](https://github.com/GenericMappingTools/pygmt/pull/2868)) + +### Maintenance + +* ruff: Fix violations of ruff's S607 rule ([#2888](https://github.com/GenericMappingTools/pygmt/pull/2888)) +* pyarrow: Check compatibility of pyarrow-backed pandas objects with numeric dtypes ([#2774](https://github.com/GenericMappingTools/pygmt/pull/2774)) +* doc: Convert the installation guides source code from ReST to Markdown ([#2992](https://github.com/GenericMappingTools/pygmt/pull/2992)) +* doc: Convert overview source code from ReST to Markdown ([#2953](https://github.com/GenericMappingTools/pygmt/pull/2953)) +* Use ruff to format codes so remove black ([#2819](https://github.com/GenericMappingTools/pygmt/pull/2819)) +* Use ruff to format code snippets in docstrings and remove blackdoc ([#2909](https://github.com/GenericMappingTools/pygmt/pull/2909)) +* Use ruff format to ensure UNIX line endings in Python files ([#2770](https://github.com/GenericMappingTools/pygmt/pull/2770)) +* Use codespell to check common misspellings ([#2673](https://github.com/GenericMappingTools/pygmt/pull/2673)) +* Use GITHUB_TOKEN instead of PAT in "Slash Command Dispatch" and "GMT Dev Tests" workflows ([#2950](https://github.com/GenericMappingTools/pygmt/pull/2950)) +* Use "# %%" as code block separators in examples ([#2662](https://github.com/GenericMappingTools/pygmt/pull/2662)) +* Update output shape and mean values from some x2sys_cross tests ([#2986](https://github.com/GenericMappingTools/pygmt/pull/2986)) +* TYP: Improve the doc style for type hints ([#2813](https://github.com/GenericMappingTools/pygmt/pull/2813)) +* TYP: Add type hints support for pygmt.datasets.load_sample_data ([#2859](https://github.com/GenericMappingTools/pygmt/pull/2859)) +* TYP: Add type hints for the 'registration' parameter in pygmt.datasets.load_* functions ([#2867](https://github.com/GenericMappingTools/pygmt/pull/2867)) +* TYP: Add type hints for 'data_source' in load_earth_relief and load_earth_magnetic_anomaly functions ([#2849](https://github.com/GenericMappingTools/pygmt/pull/2849)) +* Setup Continuous Benchmarking workflow with pytest-codspeed ([#2908](https://github.com/GenericMappingTools/pygmt/pull/2908)) +* Replace flakeheaven and isort with ruff ([#2747](https://github.com/GenericMappingTools/pygmt/pull/2747)) +* Release Drafter: Automatically replace GitHub handles with names and links ([#2777](https://github.com/GenericMappingTools/pygmt/pull/2777)) +* Refactor the internal _load_remote_dataset function to simplify datasets' definitions ([#2917](https://github.com/GenericMappingTools/pygmt/pull/2917)) +* RUF010: Avoid calling str() within an f-string ([#2871](https://github.com/GenericMappingTools/pygmt/pull/2871)) +* RUF005: Use the unpacking operator to concatenate collections ([#2869](https://github.com/GenericMappingTools/pygmt/pull/2869)) +* NEP29: Test PyGMT on NumPy 1.26 ([#2692](https://github.com/GenericMappingTools/pygmt/pull/2692)) +* Move variable __gmt_version__ to pygmt.clib to avoid cyclic-import errors ([#2713](https://github.com/GenericMappingTools/pygmt/pull/2713)) +* Let 'ruff check --fix' always exit with zero ([#2997](https://github.com/GenericMappingTools/pygmt/pull/2997)) +* Improve the way to import optional modules ([#2809](https://github.com/GenericMappingTools/pygmt/pull/2809)) +* Fix fixture_xr_image to open earth_day_01d_p directly with rioxarray ([#2963](https://github.com/GenericMappingTools/pygmt/pull/2963)) +* Figure.timestamp: Add type hints to parameters ([#2890](https://github.com/GenericMappingTools/pygmt/pull/2890)) +* Figure.solar: Add type hints to the 'terminator' parameter and simplify codes ([#2881](https://github.com/GenericMappingTools/pygmt/pull/2881)) +* Exclude CODE_OF_CONDUCT.md, AUTHORSHIP.md and pygmt/tests directory from distributions ([#2957](https://github.com/GenericMappingTools/pygmt/pull/2957)) +* Enable the PDF format documentation in the ReadTheDocs site ([#2876](https://github.com/GenericMappingTools/pygmt/pull/2876)) +* Enable ruff's ruff-specific (RUF) rules ([#2901](https://github.com/GenericMappingTools/pygmt/pull/2901)) +* Enable ruff's pyupgrade (UP) rules ([#2749](https://github.com/GenericMappingTools/pygmt/pull/2749)) +* Enable ruff's pylint rules (PL) and remove pylint ([#2815](https://github.com/GenericMappingTools/pygmt/pull/2815)) +* Enable ruff's pydocstyle (D) rules and remove docformatter ([#2925](https://github.com/GenericMappingTools/pygmt/pull/2925)) +* Enable ruff's perflint (PERF) rules ([#2886](https://github.com/GenericMappingTools/pygmt/pull/2886)) +* Enable ruff's pep8-naming (N) rules ([#2877](https://github.com/GenericMappingTools/pygmt/pull/2877)) +* Enable ruff's pandas-vet (PD) rules ([#2830](https://github.com/GenericMappingTools/pygmt/pull/2830)) +* Enable ruff's flynt (FLY) rules ([#2835](https://github.com/GenericMappingTools/pygmt/pull/2835)) +* Enable ruff's flake8-unused-arguments (ARG) rules ([#2900](https://github.com/GenericMappingTools/pygmt/pull/2900)) +* Enable ruff's flake8-simplify (SIM) rules ([#2829](https://github.com/GenericMappingTools/pygmt/pull/2829)) +* Enable ruff's flake8-return (RET) rules and ignore RET504 ([#2897](https://github.com/GenericMappingTools/pygmt/pull/2897)) +* Enable ruff's flake8-pytest-style (PT) rules ([#2899](https://github.com/GenericMappingTools/pygmt/pull/2899)) +* Enable ruff's flake8-print (T20) rules ([#2894](https://github.com/GenericMappingTools/pygmt/pull/2894)) +* Enable ruff's flake8-pie (PIE) rules ([#2866](https://github.com/GenericMappingTools/pygmt/pull/2866)) +* Enable ruff's flake8-implicit-str-concat (ISC) rules ([#2837](https://github.com/GenericMappingTools/pygmt/pull/2837)) +* Enable ruff's flake8-future-annotations (FA) rules ([#2855](https://github.com/GenericMappingTools/pygmt/pull/2855)) +* Enable ruff's flake8-executable (EXE) rules ([#2898](https://github.com/GenericMappingTools/pygmt/pull/2898)) +* Enable ruff's flake8-comprehensions (C4) rules ([#2887](https://github.com/GenericMappingTools/pygmt/pull/2887)) +* Enable ruff's flake8-builtins (A) rules ([#2882](https://github.com/GenericMappingTools/pygmt/pull/2882)) +* Enable ruff's flake8-bugbear (B) rules ([#2825](https://github.com/GenericMappingTools/pygmt/pull/2825)) +* Enable ruff's flake8-bandit (S) rules ([#2892](https://github.com/GenericMappingTools/pygmt/pull/2892)) +* Enable ruff's NumPy-specific rules ([#2782](https://github.com/GenericMappingTools/pygmt/pull/2782)) +* Enable ruff's BLE/ICN/PGH/RSE/TCH/TID/YTT rules ([#2878](https://github.com/GenericMappingTools/pygmt/pull/2878)) +* Create skip_if_no helper function to skip tests when missing a package ([#2883](https://github.com/GenericMappingTools/pygmt/pull/2883)) +* CI: Trigger the cache_data workflow in PRs if cache files are added/deleted/updated ([#2939](https://github.com/GenericMappingTools/pygmt/pull/2939)) +* CI: Test GMT dev version on Windows by building from source ([#2773](https://github.com/GenericMappingTools/pygmt/pull/2773)) +* CI: Set cache-downloads to false to speedup the "Setup Micromamba" step ([#2946](https://github.com/GenericMappingTools/pygmt/pull/2946)) +* CI: Run certain GitHub Actions workflows on official repo only ([#2951](https://github.com/GenericMappingTools/pygmt/pull/2951)) +* CI: Run benchmarks if PR is labeled with "run/benchmark" ([#2958](https://github.com/GenericMappingTools/pygmt/pull/2958)) +* CI: Run "GMT Dev Tests" if PR is labeled with 'run/test-gmt-dev' ([#2960](https://github.com/GenericMappingTools/pygmt/pull/2960)) +* CI: Require at least one code block separator for example files in the Style Checks workflow ([#2810](https://github.com/GenericMappingTools/pygmt/pull/2810)) +* CI: Cache the earth_day_01d_p grid ([#2937](https://github.com/GenericMappingTools/pygmt/pull/2937)) +* Bump the GMT version in CI to 6.5.0 ([#2962](https://github.com/GenericMappingTools/pygmt/pull/2962)) +* Bump ghostscript to 10.02.1 ([#2694](https://github.com/GenericMappingTools/pygmt/pull/2694)) +* Benchmark grdsample, grdfilter and sph2grd with fixed cores ([#2945](https://github.com/GenericMappingTools/pygmt/pull/2945)) +* Add the validate_output_table_type function to check the output_type parameter ([#2772](https://github.com/GenericMappingTools/pygmt/pull/2772)) +* Add the full changelog link to the release drafter template ([#2838](https://github.com/GenericMappingTools/pygmt/pull/2838)) +* Add support for Python 3.12 ([#2711](https://github.com/GenericMappingTools/pygmt/pull/2711)) +* Add Zenodo's GMT community to the maintainer's onboarding list ([#2761](https://github.com/GenericMappingTools/pygmt/pull/2761)) +* Add Mypy for static type checking ([#2808](https://github.com/GenericMappingTools/pygmt/pull/2808)) + +**Full Changelog**: https://github.com/GenericMappingTools/pygmt/compare/v0.10.0...v0.11.0 + +### Contributors + +[Max Jones](https://github.com/maxrjones), [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.10.0 (2023/09/02) [![Digital Object Identifier for PyGMT v0.10.0](https://zenodo.org/badge/DOI/10.5281/zenodo.8303186.svg)](https://doi.org/10.5281/zenodo.8303186) From 63f98d42113a485c229ded33e93aa8862e476f6e Mon Sep 17 00:00:00 2001 From: Dongdong Tian Date: Sat, 27 Jan 2024 22:23:34 +0800 Subject: [PATCH 03/21] Update the list of contributors --- doc/changes.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/doc/changes.md b/doc/changes.md index 21ca72f0978..c77fa07e54b 100644 --- a/doc/changes.md +++ b/doc/changes.md @@ -143,8 +143,13 @@ ### Contributors -[Max Jones](https://github.com/maxrjones), [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) +* [Wei Ji Leong](https://github.com/weiji14) +* [Michael Grund](https://github.com/michaelgrund) +* [Max Jones](https://github.com/maxrjones) +--- ## Release v0.10.0 (2023/09/02) From 480164a993a00cb2aa63f631dc8aa5d9bb6687b3 Mon Sep 17 00:00:00 2001 From: Dongdong Tian Date: Sun, 28 Jan 2024 23:26:23 +0800 Subject: [PATCH 04/21] Combine ruff-related entries --- doc/changes.md | 30 +----------------------------- 1 file changed, 1 insertion(+), 29 deletions(-) diff --git a/doc/changes.md b/doc/changes.md index c77fa07e54b..a14cbd89456 100644 --- a/doc/changes.md +++ b/doc/changes.md @@ -68,13 +68,10 @@ ### Maintenance -* ruff: Fix violations of ruff's S607 rule ([#2888](https://github.com/GenericMappingTools/pygmt/pull/2888)) * pyarrow: Check compatibility of pyarrow-backed pandas objects with numeric dtypes ([#2774](https://github.com/GenericMappingTools/pygmt/pull/2774)) * doc: Convert the installation guides source code from ReST to Markdown ([#2992](https://github.com/GenericMappingTools/pygmt/pull/2992)) * doc: Convert overview source code from ReST to Markdown ([#2953](https://github.com/GenericMappingTools/pygmt/pull/2953)) -* Use ruff to format codes so remove black ([#2819](https://github.com/GenericMappingTools/pygmt/pull/2819)) -* Use ruff to format code snippets in docstrings and remove blackdoc ([#2909](https://github.com/GenericMappingTools/pygmt/pull/2909)) -* Use ruff format to ensure UNIX line endings in Python files ([#2770](https://github.com/GenericMappingTools/pygmt/pull/2770)) +* Use ruff to lint and format codes, and remove flakeheaven/isort/black/blackdoc ([#2741](https://github.com/GenericMappingTools/pygmt/issues/2741)) * Use codespell to check common misspellings ([#2673](https://github.com/GenericMappingTools/pygmt/pull/2673)) * Use GITHUB_TOKEN instead of PAT in "Slash Command Dispatch" and "GMT Dev Tests" workflows ([#2950](https://github.com/GenericMappingTools/pygmt/pull/2950)) * Use "# %%" as code block separators in examples ([#2662](https://github.com/GenericMappingTools/pygmt/pull/2662)) @@ -84,43 +81,18 @@ * TYP: Add type hints for the 'registration' parameter in pygmt.datasets.load_* functions ([#2867](https://github.com/GenericMappingTools/pygmt/pull/2867)) * TYP: Add type hints for 'data_source' in load_earth_relief and load_earth_magnetic_anomaly functions ([#2849](https://github.com/GenericMappingTools/pygmt/pull/2849)) * Setup Continuous Benchmarking workflow with pytest-codspeed ([#2908](https://github.com/GenericMappingTools/pygmt/pull/2908)) -* Replace flakeheaven and isort with ruff ([#2747](https://github.com/GenericMappingTools/pygmt/pull/2747)) * Release Drafter: Automatically replace GitHub handles with names and links ([#2777](https://github.com/GenericMappingTools/pygmt/pull/2777)) * Refactor the internal _load_remote_dataset function to simplify datasets' definitions ([#2917](https://github.com/GenericMappingTools/pygmt/pull/2917)) * RUF010: Avoid calling str() within an f-string ([#2871](https://github.com/GenericMappingTools/pygmt/pull/2871)) * RUF005: Use the unpacking operator to concatenate collections ([#2869](https://github.com/GenericMappingTools/pygmt/pull/2869)) * NEP29: Test PyGMT on NumPy 1.26 ([#2692](https://github.com/GenericMappingTools/pygmt/pull/2692)) * Move variable __gmt_version__ to pygmt.clib to avoid cyclic-import errors ([#2713](https://github.com/GenericMappingTools/pygmt/pull/2713)) -* Let 'ruff check --fix' always exit with zero ([#2997](https://github.com/GenericMappingTools/pygmt/pull/2997)) * Improve the way to import optional modules ([#2809](https://github.com/GenericMappingTools/pygmt/pull/2809)) * Fix fixture_xr_image to open earth_day_01d_p directly with rioxarray ([#2963](https://github.com/GenericMappingTools/pygmt/pull/2963)) * Figure.timestamp: Add type hints to parameters ([#2890](https://github.com/GenericMappingTools/pygmt/pull/2890)) * Figure.solar: Add type hints to the 'terminator' parameter and simplify codes ([#2881](https://github.com/GenericMappingTools/pygmt/pull/2881)) * Exclude CODE_OF_CONDUCT.md, AUTHORSHIP.md and pygmt/tests directory from distributions ([#2957](https://github.com/GenericMappingTools/pygmt/pull/2957)) * Enable the PDF format documentation in the ReadTheDocs site ([#2876](https://github.com/GenericMappingTools/pygmt/pull/2876)) -* Enable ruff's ruff-specific (RUF) rules ([#2901](https://github.com/GenericMappingTools/pygmt/pull/2901)) -* Enable ruff's pyupgrade (UP) rules ([#2749](https://github.com/GenericMappingTools/pygmt/pull/2749)) -* Enable ruff's pylint rules (PL) and remove pylint ([#2815](https://github.com/GenericMappingTools/pygmt/pull/2815)) -* Enable ruff's pydocstyle (D) rules and remove docformatter ([#2925](https://github.com/GenericMappingTools/pygmt/pull/2925)) -* Enable ruff's perflint (PERF) rules ([#2886](https://github.com/GenericMappingTools/pygmt/pull/2886)) -* Enable ruff's pep8-naming (N) rules ([#2877](https://github.com/GenericMappingTools/pygmt/pull/2877)) -* Enable ruff's pandas-vet (PD) rules ([#2830](https://github.com/GenericMappingTools/pygmt/pull/2830)) -* Enable ruff's flynt (FLY) rules ([#2835](https://github.com/GenericMappingTools/pygmt/pull/2835)) -* Enable ruff's flake8-unused-arguments (ARG) rules ([#2900](https://github.com/GenericMappingTools/pygmt/pull/2900)) -* Enable ruff's flake8-simplify (SIM) rules ([#2829](https://github.com/GenericMappingTools/pygmt/pull/2829)) -* Enable ruff's flake8-return (RET) rules and ignore RET504 ([#2897](https://github.com/GenericMappingTools/pygmt/pull/2897)) -* Enable ruff's flake8-pytest-style (PT) rules ([#2899](https://github.com/GenericMappingTools/pygmt/pull/2899)) -* Enable ruff's flake8-print (T20) rules ([#2894](https://github.com/GenericMappingTools/pygmt/pull/2894)) -* Enable ruff's flake8-pie (PIE) rules ([#2866](https://github.com/GenericMappingTools/pygmt/pull/2866)) -* Enable ruff's flake8-implicit-str-concat (ISC) rules ([#2837](https://github.com/GenericMappingTools/pygmt/pull/2837)) -* Enable ruff's flake8-future-annotations (FA) rules ([#2855](https://github.com/GenericMappingTools/pygmt/pull/2855)) -* Enable ruff's flake8-executable (EXE) rules ([#2898](https://github.com/GenericMappingTools/pygmt/pull/2898)) -* Enable ruff's flake8-comprehensions (C4) rules ([#2887](https://github.com/GenericMappingTools/pygmt/pull/2887)) -* Enable ruff's flake8-builtins (A) rules ([#2882](https://github.com/GenericMappingTools/pygmt/pull/2882)) -* Enable ruff's flake8-bugbear (B) rules ([#2825](https://github.com/GenericMappingTools/pygmt/pull/2825)) -* Enable ruff's flake8-bandit (S) rules ([#2892](https://github.com/GenericMappingTools/pygmt/pull/2892)) -* Enable ruff's NumPy-specific rules ([#2782](https://github.com/GenericMappingTools/pygmt/pull/2782)) -* Enable ruff's BLE/ICN/PGH/RSE/TCH/TID/YTT rules ([#2878](https://github.com/GenericMappingTools/pygmt/pull/2878)) * Create skip_if_no helper function to skip tests when missing a package ([#2883](https://github.com/GenericMappingTools/pygmt/pull/2883)) * CI: Trigger the cache_data workflow in PRs if cache files are added/deleted/updated ([#2939](https://github.com/GenericMappingTools/pygmt/pull/2939)) * CI: Test GMT dev version on Windows by building from source ([#2773](https://github.com/GenericMappingTools/pygmt/pull/2773)) From 175226bdd1d963fce33ec8514b4c2cb0b84688c5 Mon Sep 17 00:00:00 2001 From: Dongdong Tian Date: Mon, 29 Jan 2024 08:39:25 +0800 Subject: [PATCH 05/21] Apply suggestions from code review MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Wei Ji <23487320+weiji14@users.noreply.github.com> Co-authored-by: Yvonne Fröhlich <94163266+yvonnefroehlich@users.noreply.github.com> --- doc/changes.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/doc/changes.md b/doc/changes.md index a14cbd89456..b9d74e7f357 100644 --- a/doc/changes.md +++ b/doc/changes.md @@ -2,7 +2,7 @@ ## Release v0.11.0 (20YY/MM/DD) -[![Digital Object Identifier for PyGMT v0.11.0](https://zenodo.org/badge/DOI/10.5281/zenodo.3781524.svg)](https://doi.org/10.5281/zenodo.3781524) +[![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) ### Highlights @@ -29,7 +29,7 @@ * Figure.savefig: Support uppercase file extensions (e.g., PNG, PDF) ([#2697](https://github.com/GenericMappingTools/pygmt/pull/2697)) * Figure.savefig: Support .jpeg as JPEG image extension ([#2691](https://github.com/GenericMappingTools/pygmt/pull/2691)) * Figure.coast: Add alias "box" for "-F" ([#2823](https://github.com/GenericMappingTools/pygmt/pull/2823)) -* Add zoom_adjust param to pygmt.datasets.load_tile_map and Figure.tilemap ([#2934](https://github.com/GenericMappingTools/pygmt/pull/2934)) +* Add zoom_adjust parameter to pygmt.datasets.load_tile_map and Figure.tilemap ([#2934](https://github.com/GenericMappingTools/pygmt/pull/2934)) * Add common alias cores (x) for grdlandmask ([#2944](https://github.com/GenericMappingTools/pygmt/pull/2944)) ### Deprecations @@ -44,7 +44,7 @@ * pygmt.which: Fix the bug when passing multiple files ([#2726](https://github.com/GenericMappingTools/pygmt/pull/2726)) * pygmt.filter1d: Fix the bug that the first line is read as headers ([#2780](https://github.com/GenericMappingTools/pygmt/pull/2780)) * clib: Fix the bug when passing multiple columns of strings with variable lengths to the GMT C API ([#2719](https://github.com/GenericMappingTools/pygmt/pull/2719)) -* Let kwargs_to_strings work with default values and postional arguments ([#2826](https://github.com/GenericMappingTools/pygmt/pull/2826)) +* Let kwargs_to_strings work with default values and positional arguments ([#2826](https://github.com/GenericMappingTools/pygmt/pull/2826)) * Figure.meca: Fix typo pricipal_axis -> principal_axis ([#2940](https://github.com/GenericMappingTools/pygmt/pull/2940)) ### Documentation @@ -86,7 +86,7 @@ * RUF010: Avoid calling str() within an f-string ([#2871](https://github.com/GenericMappingTools/pygmt/pull/2871)) * RUF005: Use the unpacking operator to concatenate collections ([#2869](https://github.com/GenericMappingTools/pygmt/pull/2869)) * NEP29: Test PyGMT on NumPy 1.26 ([#2692](https://github.com/GenericMappingTools/pygmt/pull/2692)) -* Move variable __gmt_version__ to pygmt.clib to avoid cyclic-import errors ([#2713](https://github.com/GenericMappingTools/pygmt/pull/2713)) +* Move variable `__gmt_version__` to pygmt.clib to avoid cyclic-import errors ([#2713](https://github.com/GenericMappingTools/pygmt/pull/2713)) * Improve the way to import optional modules ([#2809](https://github.com/GenericMappingTools/pygmt/pull/2809)) * Fix fixture_xr_image to open earth_day_01d_p directly with rioxarray ([#2963](https://github.com/GenericMappingTools/pygmt/pull/2963)) * Figure.timestamp: Add type hints to parameters ([#2890](https://github.com/GenericMappingTools/pygmt/pull/2890)) From 6eb0c37616f2a85af8edbaf20fbe787ff3ca1baa Mon Sep 17 00:00:00 2001 From: Dongdong Tian Date: Tue, 30 Jan 2024 11:04:55 +0800 Subject: [PATCH 06/21] Update link to full changelog 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 b9d74e7f357..71af494466c 100644 --- a/doc/changes.md +++ b/doc/changes.md @@ -111,7 +111,7 @@ * Add Zenodo's GMT community to the maintainer's onboarding list ([#2761](https://github.com/GenericMappingTools/pygmt/pull/2761)) * Add Mypy for static type checking ([#2808](https://github.com/GenericMappingTools/pygmt/pull/2808)) -**Full Changelog**: https://github.com/GenericMappingTools/pygmt/compare/v0.10.0...v0.11.0 +**Full Changelog**: [https://github.com/GenericMappingTools/pygmt/compare/v0.10.0...v0.11.0]() ### Contributors From d3e5b81b523cd098634ebdb893c35bf1bfcd39a6 Mon Sep 17 00:00:00 2001 From: Dongdong Tian Date: Tue, 30 Jan 2024 23:17:56 +0800 Subject: [PATCH 07/21] Use automatic link syntax --- doc/changes.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/changes.md b/doc/changes.md index 71af494466c..597f10112b5 100644 --- a/doc/changes.md +++ b/doc/changes.md @@ -1,6 +1,6 @@ # Changelog -## Release v0.11.0 (20YY/MM/DD) +## 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) @@ -111,7 +111,7 @@ * Add Zenodo's GMT community to the maintainer's onboarding list ([#2761](https://github.com/GenericMappingTools/pygmt/pull/2761)) * Add Mypy for static type checking ([#2808](https://github.com/GenericMappingTools/pygmt/pull/2808)) -**Full Changelog**: [https://github.com/GenericMappingTools/pygmt/compare/v0.10.0...v0.11.0]() +**Full Changelog**: ### Contributors From 42feab48ee359cfa1df7802fce735917421388ce Mon Sep 17 00:00:00 2001 From: Dongdong Tian Date: Wed, 31 Jan 2024 00:10:31 +0800 Subject: [PATCH 08/21] Remove some entries --- doc/changes.md | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/doc/changes.md b/doc/changes.md index 597f10112b5..cd6c1a95143 100644 --- a/doc/changes.md +++ b/doc/changes.md @@ -15,7 +15,7 @@ * Figure.savefig: Support saving figures in PPM (.ppm) format ([#2771](https://github.com/GenericMappingTools/pygmt/pull/2771)) * Figure.savefig: Support generating GeoTIFF file (with extension '.tiff') ([#2698](https://github.com/GenericMappingTools/pygmt/pull/2698)) * Figure.savefig: Add the 'worldfile' parameter to write a companion world file for raster images ([#2766](https://github.com/GenericMappingTools/pygmt/pull/2766)) -* Add load_venus_relief to load Venus relief dataset in various resolutions ([#2906](https://github.com/GenericMappingTools/pygmt/pull/2906)) +* Add load_venus_relief to load Venus relief dataset in various resolutions and registrations ([#2906](https://github.com/GenericMappingTools/pygmt/pull/2906)) * Add load_moon_relief to load Moon relief dataset in various resolutions and registrations ([#2674](https://github.com/GenericMappingTools/pygmt/pull/2674)) * Add load_mars_relief to load Mars relief dataset in various resolutions and registrations ([#2847](https://github.com/GenericMappingTools/pygmt/pull/2847)) @@ -49,22 +49,19 @@ ### Documentation -* docs: Use consistent description for the 'outgrid' parameter ([#2874](https://github.com/GenericMappingTools/pygmt/pull/2874)) -* doc: Link to GMT 6.4 documentation instead of the latest one ([#2681](https://github.com/GenericMappingTools/pygmt/pull/2681)) +* Use consistent description for the 'outgrid' parameter ([#2874](https://github.com/GenericMappingTools/pygmt/pull/2874)) * Switch away from Stamen basemaps ([#2717](https://github.com/GenericMappingTools/pygmt/pull/2717)) * Recommend Miniforge instead of Mambaforge ([#2833](https://github.com/GenericMappingTools/pygmt/pull/2833)) * Improve the onboarding access checklist for contributors, maintainers and administrators ([#2656](https://github.com/GenericMappingTools/pygmt/pull/2656)) * Gallery example "Legend": Update regarding input data and multi-column legends ([#2762](https://github.com/GenericMappingTools/pygmt/pull/2762)) * Figure.shift_origin: Improve docstrings, add inline examples and add type hints ([#2879](https://github.com/GenericMappingTools/pygmt/pull/2879)) * Figure.plot: Update docstring for "connection" parameter to GMT 6.5 ([#2994](https://github.com/GenericMappingTools/pygmt/pull/2994)) -* Examples: Replace deprecated "np.random.seed()" with "np.random.Generator()" (NPY002 warning by ruff) ([#2781](https://github.com/GenericMappingTools/pygmt/pull/2781)) * Add the Japanese "PyGMT-HOWTO" tutorial to "External Resources" ([#2743](https://github.com/GenericMappingTools/pygmt/pull/2743)) * Add gallery example showing usage of polygon objects from a geopandas.GeoDataFrame (choropleth map) ([#2796](https://github.com/GenericMappingTools/pygmt/pull/2796)) * Add gallery example showing how to adjust line segment ends (caps and joints) ([#3015](https://github.com/GenericMappingTools/pygmt/pull/3015)) * Add gallery example for plotting connection lines ("connection" parameter of Figure.plot) ([#2999](https://github.com/GenericMappingTools/pygmt/pull/2999)) * Add gallery example "Scale bar" ([#2822](https://github.com/GenericMappingTools/pygmt/pull/2822)) * Add a tutorial for working with table inputs in PyGMT ([#2722](https://github.com/GenericMappingTools/pygmt/pull/2722)) -* Add a 'Common installation issues' section to the install guides ([#2868](https://github.com/GenericMappingTools/pygmt/pull/2868)) ### Maintenance @@ -73,7 +70,6 @@ * doc: Convert overview source code from ReST to Markdown ([#2953](https://github.com/GenericMappingTools/pygmt/pull/2953)) * Use ruff to lint and format codes, and remove flakeheaven/isort/black/blackdoc ([#2741](https://github.com/GenericMappingTools/pygmt/issues/2741)) * Use codespell to check common misspellings ([#2673](https://github.com/GenericMappingTools/pygmt/pull/2673)) -* Use GITHUB_TOKEN instead of PAT in "Slash Command Dispatch" and "GMT Dev Tests" workflows ([#2950](https://github.com/GenericMappingTools/pygmt/pull/2950)) * Use "# %%" as code block separators in examples ([#2662](https://github.com/GenericMappingTools/pygmt/pull/2662)) * Update output shape and mean values from some x2sys_cross tests ([#2986](https://github.com/GenericMappingTools/pygmt/pull/2986)) * TYP: Improve the doc style for type hints ([#2813](https://github.com/GenericMappingTools/pygmt/pull/2813)) @@ -83,8 +79,6 @@ * Setup Continuous Benchmarking workflow with pytest-codspeed ([#2908](https://github.com/GenericMappingTools/pygmt/pull/2908)) * Release Drafter: Automatically replace GitHub handles with names and links ([#2777](https://github.com/GenericMappingTools/pygmt/pull/2777)) * Refactor the internal _load_remote_dataset function to simplify datasets' definitions ([#2917](https://github.com/GenericMappingTools/pygmt/pull/2917)) -* RUF010: Avoid calling str() within an f-string ([#2871](https://github.com/GenericMappingTools/pygmt/pull/2871)) -* RUF005: Use the unpacking operator to concatenate collections ([#2869](https://github.com/GenericMappingTools/pygmt/pull/2869)) * NEP29: Test PyGMT on NumPy 1.26 ([#2692](https://github.com/GenericMappingTools/pygmt/pull/2692)) * Move variable `__gmt_version__` to pygmt.clib to avoid cyclic-import errors ([#2713](https://github.com/GenericMappingTools/pygmt/pull/2713)) * Improve the way to import optional modules ([#2809](https://github.com/GenericMappingTools/pygmt/pull/2809)) @@ -101,7 +95,6 @@ * CI: Run benchmarks if PR is labeled with "run/benchmark" ([#2958](https://github.com/GenericMappingTools/pygmt/pull/2958)) * CI: Run "GMT Dev Tests" if PR is labeled with 'run/test-gmt-dev' ([#2960](https://github.com/GenericMappingTools/pygmt/pull/2960)) * CI: Require at least one code block separator for example files in the Style Checks workflow ([#2810](https://github.com/GenericMappingTools/pygmt/pull/2810)) -* CI: Cache the earth_day_01d_p grid ([#2937](https://github.com/GenericMappingTools/pygmt/pull/2937)) * Bump the GMT version in CI to 6.5.0 ([#2962](https://github.com/GenericMappingTools/pygmt/pull/2962)) * Bump ghostscript to 10.02.1 ([#2694](https://github.com/GenericMappingTools/pygmt/pull/2694)) * Benchmark grdsample, grdfilter and sph2grd with fixed cores ([#2945](https://github.com/GenericMappingTools/pygmt/pull/2945)) From 0787005ac19915483dcb9c27acb3a1049da0c19f Mon Sep 17 00:00:00 2001 From: Dongdong Tian Date: Wed, 31 Jan 2024 00:21:18 +0800 Subject: [PATCH 09/21] Add v0.11.0 to doc/minversions.rst --- doc/minversions.rst | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/doc/minversions.rst b/doc/minversions.rst index 99ff919274f..2e2b530f92e 100644 --- a/doc/minversions.rst +++ b/doc/minversions.rst @@ -23,6 +23,11 @@ alongside the rest of the Scientific Python ecosystem, and therefore supports: - >=6.3.0 - >=3.9 - >=1.23 + * - `v0.11.0 `_ (latest release) + - `v0.11.0 Documentation `_ + - >=6.3.0 + - >=3.9 + - >=1.23 * - `v0.10.0 `_ (latest release) - `v0.10.0 Documentation `_ - >=6.3.0 From 2f30c0c3a69b5e95076197b240d7fa291a9bf05f Mon Sep 17 00:00:00 2001 From: Dongdong Tian Date: Wed, 31 Jan 2024 00:21:50 +0800 Subject: [PATCH 10/21] Update citation information in CITATION.cff and README.rst --- CITATION.cff | 6 +++--- README.rst | 10 +++++----- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/CITATION.cff b/CITATION.cff index 9c73143ac54..bc92a5fcccf 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: 2023-09-02 -doi: 10.5281/zenodo.8303186 +date-released: 2024-02-01 +doi: 10.5281/zenodo.10578540 license: BSD-3-Clause repository-code: https://github.com/GenericMappingTools/pygmt type: software -version: 0.10.0 +version: 0.11.0 diff --git a/README.rst b/README.rst index 6a8872708ce..4f5409de932 100644 --- a/README.rst +++ b/README.rst @@ -203,12 +203,12 @@ Developers". Feel free to cite our work in your research using the following Bib Quinn, Jamie and Wessel, Paul}, title = {{PyGMT: A Python interface for the Generic Mapping Tools}}, - month = sep, - year = 2023, + month = feb, + year = 2024, publisher = {Zenodo}, - version = {0.10.0}, - doi = {10.5281/zenodo.8303186}, - url = {https://doi.org/10.5281/zenodo.8303186} + version = {0.11.0}, + doi = {10.5281/zenodo.10578540}, + url = {https://doi.org/10.5281/zenodo.10578540} } To cite a specific version of PyGMT, go to our Zenodo page at From 617ec7da486229057f4415f509934ca80acf0aee Mon Sep 17 00:00:00 2001 From: Dongdong Tian Date: Wed, 31 Jan 2024 00:29:42 +0800 Subject: [PATCH 11/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 | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/doc/changes.md b/doc/changes.md index cd6c1a95143..ee00016eb16 100644 --- a/doc/changes.md +++ b/doc/changes.md @@ -6,7 +6,10 @@ ### Highlights -* +* Intro for table inputs in PyGMT +* Gallery example for Chorophleth map +* Easy access to remote datasets of planetary reliefs (Moon, Venus, Mars, Mercury, Pluto) +* `Figure.text`: Allow lists as input type for the `angle`, `font`, and `justify` parameters ### New Features From 8efe45ca266bee609cd345087ab7aa88d4021142 Mon Sep 17 00:00:00 2001 From: Dongdong Tian Date: Wed, 31 Jan 2024 17:41:09 +0800 Subject: [PATCH 12/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 | 1 + 1 file changed, 1 insertion(+) diff --git a/doc/changes.md b/doc/changes.md index ee00016eb16..d152e5b4fbe 100644 --- a/doc/changes.md +++ b/doc/changes.md @@ -71,6 +71,7 @@ * pyarrow: Check compatibility of pyarrow-backed pandas objects with numeric dtypes ([#2774](https://github.com/GenericMappingTools/pygmt/pull/2774)) * doc: Convert the installation guides source code from ReST to Markdown ([#2992](https://github.com/GenericMappingTools/pygmt/pull/2992)) * doc: Convert overview source code from ReST to Markdown ([#2953](https://github.com/GenericMappingTools/pygmt/pull/2953)) +* doc: Move compatibility table from README to separate file ([#2862](https://github.com/GenericMappingTools/pygmt/pull/2862)) * Use ruff to lint and format codes, and remove flakeheaven/isort/black/blackdoc ([#2741](https://github.com/GenericMappingTools/pygmt/issues/2741)) * Use codespell to check common misspellings ([#2673](https://github.com/GenericMappingTools/pygmt/pull/2673)) * Use "# %%" as code block separators in examples ([#2662](https://github.com/GenericMappingTools/pygmt/pull/2662)) From 50b86ecca4366e6f88ead8928d77ae3f358ba6e0 Mon Sep 17 00:00:00 2001 From: Dongdong Tian Date: Wed, 31 Jan 2024 22:58:05 +0800 Subject: [PATCH 13/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 d152e5b4fbe..92a37a4cff2 100644 --- a/doc/changes.md +++ b/doc/changes.md @@ -7,7 +7,7 @@ ### Highlights * Intro for table inputs in PyGMT -* Gallery example for Chorophleth map +* Gallery example for Choropleth map * Easy access to remote datasets of planetary reliefs (Moon, Venus, Mars, Mercury, Pluto) * `Figure.text`: Allow lists as input type for the `angle`, `font`, and `justify` parameters From cd2f18c4a12c27370db9e505a9a669e6ce7de326 Mon Sep 17 00:00:00 2001 From: Dongdong Tian Date: Thu, 1 Feb 2024 09:35:24 +0800 Subject: [PATCH 14/21] Improve highlights --- doc/changes.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/doc/changes.md b/doc/changes.md index 92a37a4cff2..fa71a0d547f 100644 --- a/doc/changes.md +++ b/doc/changes.md @@ -6,10 +6,9 @@ ### Highlights -* Intro for table inputs in PyGMT -* Gallery example for Choropleth map +* Intro for table inputs in PyGMT and gallery example for choropleth map * Easy access to remote datasets of planetary reliefs (Moon, Venus, Mars, Mercury, Pluto) -* `Figure.text`: Allow lists as input type for the `angle`, `font`, and `justify` parameters +* Faster PyGMT by ~0.1 seconds for each module call ### New Features From 1b0317598460c5f013c61ffe1560b2ae961cc441 Mon Sep 17 00:00:00 2001 From: Dongdong Tian Date: Thu, 1 Feb 2024 10:15:53 +0800 Subject: [PATCH 15/21] Apply suggestions from code review Co-authored-by: Wei Ji <23487320+weiji14@users.noreply.github.com> --- doc/changes.md | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/doc/changes.md b/doc/changes.md index fa71a0d547f..a0a500b629c 100644 --- a/doc/changes.md +++ b/doc/changes.md @@ -6,9 +6,9 @@ ### Highlights -* Intro for table inputs in PyGMT and gallery example for choropleth map -* Easy access to remote datasets of planetary reliefs (Moon, Venus, Mars, Mercury, Pluto) -* Faster PyGMT by ~0.1 seconds for each module call +* Tutorial for table inputs ([#2722](https://github.com/GenericMappingTools/pygmt/pull/2722)) and gallery example for choropleth map ([#2796](https://github.com/GenericMappingTools/pygmt/pull/2796)) +* Easy access to remote datasets of planetary reliefs (Moon, Venus, Mars, Mercury, Pluto) ([#2674](https://github.com/GenericMappingTools/pygmt/pull/2674), [#2906](https://github.com/GenericMappingTools/pygmt/pull/2906), [#2847](https://github.com/GenericMappingTools/pygmt/pull/2847)) +* Faster PyGMT by ~0.1 seconds for each module call ([#2930](https://github.com/GenericMappingTools/pygmt/pull/2930)) ### New Features @@ -17,9 +17,6 @@ * Figure.savefig: Support saving figures in PPM (.ppm) format ([#2771](https://github.com/GenericMappingTools/pygmt/pull/2771)) * Figure.savefig: Support generating GeoTIFF file (with extension '.tiff') ([#2698](https://github.com/GenericMappingTools/pygmt/pull/2698)) * Figure.savefig: Add the 'worldfile' parameter to write a companion world file for raster images ([#2766](https://github.com/GenericMappingTools/pygmt/pull/2766)) -* Add load_venus_relief to load Venus relief dataset in various resolutions and registrations ([#2906](https://github.com/GenericMappingTools/pygmt/pull/2906)) -* Add load_moon_relief to load Moon relief dataset in various resolutions and registrations ([#2674](https://github.com/GenericMappingTools/pygmt/pull/2674)) -* Add load_mars_relief to load Mars relief dataset in various resolutions and registrations ([#2847](https://github.com/GenericMappingTools/pygmt/pull/2847)) ### Enhancements @@ -27,7 +24,6 @@ * geopandas: Correctly handle columns with integer values bigger than the largest 32-bit integer ([#2841](https://github.com/GenericMappingTools/pygmt/pull/2841)) * Set GMT_SESSION_NAME to a unique name on Windows for multiprocessing support ([#2938](https://github.com/GenericMappingTools/pygmt/pull/2938)) * Improve the error messages for unsupported numpy dtypes ([#2856](https://github.com/GenericMappingTools/pygmt/pull/2856)) -* Improve performance by avoiding loading the GMT library repeatedly ([#2930](https://github.com/GenericMappingTools/pygmt/pull/2930)) * Figure.savefig: Support uppercase file extensions (e.g., PNG, PDF) ([#2697](https://github.com/GenericMappingTools/pygmt/pull/2697)) * Figure.savefig: Support .jpeg as JPEG image extension ([#2691](https://github.com/GenericMappingTools/pygmt/pull/2691)) * Figure.coast: Add alias "box" for "-F" ([#2823](https://github.com/GenericMappingTools/pygmt/pull/2823)) @@ -59,11 +55,9 @@ * Figure.shift_origin: Improve docstrings, add inline examples and add type hints ([#2879](https://github.com/GenericMappingTools/pygmt/pull/2879)) * Figure.plot: Update docstring for "connection" parameter to GMT 6.5 ([#2994](https://github.com/GenericMappingTools/pygmt/pull/2994)) * Add the Japanese "PyGMT-HOWTO" tutorial to "External Resources" ([#2743](https://github.com/GenericMappingTools/pygmt/pull/2743)) -* Add gallery example showing usage of polygon objects from a geopandas.GeoDataFrame (choropleth map) ([#2796](https://github.com/GenericMappingTools/pygmt/pull/2796)) * Add gallery example showing how to adjust line segment ends (caps and joints) ([#3015](https://github.com/GenericMappingTools/pygmt/pull/3015)) * Add gallery example for plotting connection lines ("connection" parameter of Figure.plot) ([#2999](https://github.com/GenericMappingTools/pygmt/pull/2999)) * Add gallery example "Scale bar" ([#2822](https://github.com/GenericMappingTools/pygmt/pull/2822)) -* Add a tutorial for working with table inputs in PyGMT ([#2722](https://github.com/GenericMappingTools/pygmt/pull/2722)) ### Maintenance From 20093d2189d3262c561ead83d624d0bf570e9c59 Mon Sep 17 00:00:00 2001 From: Dongdong Tian Date: Thu, 1 Feb 2024 12:53:13 +0800 Subject: [PATCH 16/21] 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 a0a500b629c..16396e7e689 100644 --- a/doc/changes.md +++ b/doc/changes.md @@ -7,7 +7,7 @@ ### Highlights * Tutorial for table inputs ([#2722](https://github.com/GenericMappingTools/pygmt/pull/2722)) and gallery example for choropleth map ([#2796](https://github.com/GenericMappingTools/pygmt/pull/2796)) -* Easy access to remote datasets of planetary reliefs (Moon, Venus, Mars, Mercury, Pluto) ([#2674](https://github.com/GenericMappingTools/pygmt/pull/2674), [#2906](https://github.com/GenericMappingTools/pygmt/pull/2906), [#2847](https://github.com/GenericMappingTools/pygmt/pull/2847)) +* Easy access to planetary relief datasets (Moon, Venus, Mars, Mercury, Pluto) ([#2674](https://github.com/GenericMappingTools/pygmt/pull/2674), [#2906](https://github.com/GenericMappingTools/pygmt/pull/2906), [#2847](https://github.com/GenericMappingTools/pygmt/pull/2847), [#3027](https://github.com/GenericMappingTools/pygmt/pull/3027), [#3028](https://github.com/GenericMappingTools/pygmt/pull/3028)) * Faster PyGMT by ~0.1 seconds for each module call ([#2930](https://github.com/GenericMappingTools/pygmt/pull/2930)) ### New Features From d5e56023cf63e18bf056bbd6e707c903e11693cd Mon Sep 17 00:00:00 2001 From: Dongdong Tian Date: Thu, 1 Feb 2024 13:21:49 +0800 Subject: [PATCH 17/21] Apply suggestions from code review Co-authored-by: Wei Ji <23487320+weiji14@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 16396e7e689..04bd35cadf8 100644 --- a/doc/changes.md +++ b/doc/changes.md @@ -6,8 +6,9 @@ ### Highlights +* 🎉 **Eleventh minor release of PyGMT** 🎉 * Tutorial for table inputs ([#2722](https://github.com/GenericMappingTools/pygmt/pull/2722)) and gallery example for choropleth map ([#2796](https://github.com/GenericMappingTools/pygmt/pull/2796)) -* Easy access to planetary relief datasets (Moon, Venus, Mars, Mercury, Pluto) ([#2674](https://github.com/GenericMappingTools/pygmt/pull/2674), [#2906](https://github.com/GenericMappingTools/pygmt/pull/2906), [#2847](https://github.com/GenericMappingTools/pygmt/pull/2847), [#3027](https://github.com/GenericMappingTools/pygmt/pull/3027), [#3028](https://github.com/GenericMappingTools/pygmt/pull/3028)) +* Easy access to planetary relief datasets (Mercury, Venus, Moon, Mars, Pluto) ([#3028](https://github.com/GenericMappingTools/pygmt/pull/3028), [#2906](https://github.com/GenericMappingTools/pygmt/pull/2906), [#2674](https://github.com/GenericMappingTools/pygmt/pull/2674), [#2847](https://github.com/GenericMappingTools/pygmt/pull/2847), [#3027](https://github.com/GenericMappingTools/pygmt/pull/3027)) * Faster PyGMT by ~0.1 seconds for each module call ([#2930](https://github.com/GenericMappingTools/pygmt/pull/2930)) ### New Features From 6b1c7605eff60ece40a4c5abaf36ac4e7bcbe153 Mon Sep 17 00:00:00 2001 From: Dongdong Tian Date: Thu, 1 Feb 2024 13:22:48 +0800 Subject: [PATCH 18/21] Fix citation key --- README.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.rst b/README.rst index 04544840017..d476cf4ca14 100644 --- a/README.rst +++ b/README.rst @@ -183,7 +183,7 @@ Developers". Feel free to cite our work in your research using the following Bib .. code-block:: - @software{pygmt_2023_8303186, + @software{pygmt_2024_10578540, author = {Tian, Dongdong and Uieda, Leonardo and Leong, Wei Ji and From 9472185ea91bb46f3992a8dbc2927905024f805c Mon Sep 17 00:00:00 2001 From: Dongdong Tian Date: Thu, 1 Feb 2024 18:58:27 +0800 Subject: [PATCH 19/21] Update doc/minversions.rst 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/minversions.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/minversions.rst b/doc/minversions.rst index 2e2b530f92e..404cd1b5ef3 100644 --- a/doc/minversions.rst +++ b/doc/minversions.rst @@ -28,7 +28,7 @@ alongside the rest of the Scientific Python ecosystem, and therefore supports: - >=6.3.0 - >=3.9 - >=1.23 - * - `v0.10.0 `_ (latest release) + * - `v0.10.0 `_ - `v0.10.0 Documentation `_ - >=6.3.0 - >=3.9 From fbd3562968f37e8e201d3d29802ac660778b2b48 Mon Sep 17 00:00:00 2001 From: Dongdong Tian Date: Thu, 1 Feb 2024 19:00:11 +0800 Subject: [PATCH 20/21] Apply suggestions from code review 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 | 74 +++++++++++++++++++++++++------------------------- 1 file changed, 37 insertions(+), 37 deletions(-) diff --git a/doc/changes.md b/doc/changes.md index 04bd35cadf8..7305dd3f885 100644 --- a/doc/changes.md +++ b/doc/changes.md @@ -48,59 +48,59 @@ ### Documentation -* Use consistent description for the 'outgrid' parameter ([#2874](https://github.com/GenericMappingTools/pygmt/pull/2874)) -* Switch away from Stamen basemaps ([#2717](https://github.com/GenericMappingTools/pygmt/pull/2717)) -* Recommend Miniforge instead of Mambaforge ([#2833](https://github.com/GenericMappingTools/pygmt/pull/2833)) -* Improve the onboarding access checklist for contributors, maintainers and administrators ([#2656](https://github.com/GenericMappingTools/pygmt/pull/2656)) +* Add gallery example "Scale bar" ([#2822](https://github.com/GenericMappingTools/pygmt/pull/2822)) +* Add gallery example for plotting connection lines ("connection" parameter of Figure.plot) ([#2999](https://github.com/GenericMappingTools/pygmt/pull/2999)) +* Add gallery example showing how to adjust line segment ends (caps and joints) ([#3015](https://github.com/GenericMappingTools/pygmt/pull/3015)) * Gallery example "Legend": Update regarding input data and multi-column legends ([#2762](https://github.com/GenericMappingTools/pygmt/pull/2762)) -* Figure.shift_origin: Improve docstrings, add inline examples and add type hints ([#2879](https://github.com/GenericMappingTools/pygmt/pull/2879)) -* Figure.plot: Update docstring for "connection" parameter to GMT 6.5 ([#2994](https://github.com/GenericMappingTools/pygmt/pull/2994)) * Add the Japanese "PyGMT-HOWTO" tutorial to "External Resources" ([#2743](https://github.com/GenericMappingTools/pygmt/pull/2743)) -* Add gallery example showing how to adjust line segment ends (caps and joints) ([#3015](https://github.com/GenericMappingTools/pygmt/pull/3015)) -* Add gallery example for plotting connection lines ("connection" parameter of Figure.plot) ([#2999](https://github.com/GenericMappingTools/pygmt/pull/2999)) -* Add gallery example "Scale bar" ([#2822](https://github.com/GenericMappingTools/pygmt/pull/2822)) +* Figure.plot: Update docstring for "connection" parameter to GMT 6.5 ([#2994](https://github.com/GenericMappingTools/pygmt/pull/2994)) +* Use consistent description for the "outgrid" parameter ([#2874](https://github.com/GenericMappingTools/pygmt/pull/2874)) +* Improve the onboarding access checklist for contributors, maintainers and administrators ([#2656](https://github.com/GenericMappingTools/pygmt/pull/2656)) +* Recommend Miniforge instead of Mambaforge ([#2833](https://github.com/GenericMappingTools/pygmt/pull/2833)) ### Maintenance * pyarrow: Check compatibility of pyarrow-backed pandas objects with numeric dtypes ([#2774](https://github.com/GenericMappingTools/pygmt/pull/2774)) -* doc: Convert the installation guides source code from ReST to Markdown ([#2992](https://github.com/GenericMappingTools/pygmt/pull/2992)) -* doc: Convert overview source code from ReST to Markdown ([#2953](https://github.com/GenericMappingTools/pygmt/pull/2953)) -* doc: Move compatibility table from README to separate file ([#2862](https://github.com/GenericMappingTools/pygmt/pull/2862)) -* Use ruff to lint and format codes, and remove flakeheaven/isort/black/blackdoc ([#2741](https://github.com/GenericMappingTools/pygmt/issues/2741)) -* Use codespell to check common misspellings ([#2673](https://github.com/GenericMappingTools/pygmt/pull/2673)) -* Use "# %%" as code block separators in examples ([#2662](https://github.com/GenericMappingTools/pygmt/pull/2662)) -* Update output shape and mean values from some x2sys_cross tests ([#2986](https://github.com/GenericMappingTools/pygmt/pull/2986)) -* TYP: Improve the doc style for type hints ([#2813](https://github.com/GenericMappingTools/pygmt/pull/2813)) -* TYP: Add type hints support for pygmt.datasets.load_sample_data ([#2859](https://github.com/GenericMappingTools/pygmt/pull/2859)) -* TYP: Add type hints for the 'registration' parameter in pygmt.datasets.load_* functions ([#2867](https://github.com/GenericMappingTools/pygmt/pull/2867)) -* TYP: Add type hints for 'data_source' in load_earth_relief and load_earth_magnetic_anomaly functions ([#2849](https://github.com/GenericMappingTools/pygmt/pull/2849)) +* Switch away from Stamen basemaps ([#2717](https://github.com/GenericMappingTools/pygmt/pull/2717)) +* Add the "validate_output_table_type" function to check the "output_type" parameter ([#2772](https://github.com/GenericMappingTools/pygmt/pull/2772)) +* Create "skip_if_no" helper function to skip tests when missing a package ([#2883](https://github.com/GenericMappingTools/pygmt/pull/2883)) +* Fix "fixture_xr_image" to open "earth_day_01d_p" directly with rioxarray ([#2963](https://github.com/GenericMappingTools/pygmt/pull/2963)) +* Improve the way to import optional modules ([#2809](https://github.com/GenericMappingTools/pygmt/pull/2809)) +* Move variable `__gmt_version__` to pygmt.clib to avoid cyclic-import errors ([#2713](https://github.com/GenericMappingTools/pygmt/pull/2713)) +* Refactor the internal "_load_remote_dataset function" to simplify datasets' definitions ([#2917](https://github.com/GenericMappingTools/pygmt/pull/2917)) +* Benchmark grdsample, grdfilter and sph2grd with fixed cores ([#2945](https://github.com/GenericMappingTools/pygmt/pull/2945)) * Setup Continuous Benchmarking workflow with pytest-codspeed ([#2908](https://github.com/GenericMappingTools/pygmt/pull/2908)) -* Release Drafter: Automatically replace GitHub handles with names and links ([#2777](https://github.com/GenericMappingTools/pygmt/pull/2777)) -* Refactor the internal _load_remote_dataset function to simplify datasets' definitions ([#2917](https://github.com/GenericMappingTools/pygmt/pull/2917)) +* Update output shape and mean values from some x2sys_cross tests ([#2986](https://github.com/GenericMappingTools/pygmt/pull/2986)) +* Bump the GMT version in CI to 6.5.0 ([#2962](https://github.com/GenericMappingTools/pygmt/pull/2962)) +* Bump ghostscript to 10.02.1 ([#2694](https://github.com/GenericMappingTools/pygmt/pull/2694)) +* Add support for Python 3.12 ([#2711](https://github.com/GenericMappingTools/pygmt/pull/2711)) * NEP29: Test PyGMT on NumPy 1.26 ([#2692](https://github.com/GenericMappingTools/pygmt/pull/2692)) -* Move variable `__gmt_version__` to pygmt.clib to avoid cyclic-import errors ([#2713](https://github.com/GenericMappingTools/pygmt/pull/2713)) -* Improve the way to import optional modules ([#2809](https://github.com/GenericMappingTools/pygmt/pull/2809)) -* Fix fixture_xr_image to open earth_day_01d_p directly with rioxarray ([#2963](https://github.com/GenericMappingTools/pygmt/pull/2963)) -* Figure.timestamp: Add type hints to parameters ([#2890](https://github.com/GenericMappingTools/pygmt/pull/2890)) -* Figure.solar: Add type hints to the 'terminator' parameter and simplify codes ([#2881](https://github.com/GenericMappingTools/pygmt/pull/2881)) -* Exclude CODE_OF_CONDUCT.md, AUTHORSHIP.md and pygmt/tests directory from distributions ([#2957](https://github.com/GenericMappingTools/pygmt/pull/2957)) -* Enable the PDF format documentation in the ReadTheDocs site ([#2876](https://github.com/GenericMappingTools/pygmt/pull/2876)) -* Create skip_if_no helper function to skip tests when missing a package ([#2883](https://github.com/GenericMappingTools/pygmt/pull/2883)) * CI: Trigger the cache_data workflow in PRs if cache files are added/deleted/updated ([#2939](https://github.com/GenericMappingTools/pygmt/pull/2939)) * CI: Test GMT dev version on Windows by building from source ([#2773](https://github.com/GenericMappingTools/pygmt/pull/2773)) * CI: Set cache-downloads to false to speedup the "Setup Micromamba" step ([#2946](https://github.com/GenericMappingTools/pygmt/pull/2946)) * CI: Run certain GitHub Actions workflows on official repo only ([#2951](https://github.com/GenericMappingTools/pygmt/pull/2951)) * CI: Run benchmarks if PR is labeled with "run/benchmark" ([#2958](https://github.com/GenericMappingTools/pygmt/pull/2958)) -* CI: Run "GMT Dev Tests" if PR is labeled with 'run/test-gmt-dev' ([#2960](https://github.com/GenericMappingTools/pygmt/pull/2960)) +* CI: Run "GMT Dev Tests" if PR is labeled with "run/test-gmt-dev" ([#2960](https://github.com/GenericMappingTools/pygmt/pull/2960)) * CI: Require at least one code block separator for example files in the Style Checks workflow ([#2810](https://github.com/GenericMappingTools/pygmt/pull/2810)) -* Bump the GMT version in CI to 6.5.0 ([#2962](https://github.com/GenericMappingTools/pygmt/pull/2962)) -* Bump ghostscript to 10.02.1 ([#2694](https://github.com/GenericMappingTools/pygmt/pull/2694)) -* Benchmark grdsample, grdfilter and sph2grd with fixed cores ([#2945](https://github.com/GenericMappingTools/pygmt/pull/2945)) -* Add the validate_output_table_type function to check the output_type parameter ([#2772](https://github.com/GenericMappingTools/pygmt/pull/2772)) +* Add Mypy for static type checking ([#2808](https://github.com/GenericMappingTools/pygmt/pull/2808)) +* TYP: Improve the doc style for type hints ([#2813](https://github.com/GenericMappingTools/pygmt/pull/2813)) +* TYP: Add type hints support for pygmt.datasets.load_sample_data ([#2859](https://github.com/GenericMappingTools/pygmt/pull/2859)) +* TYP: Add type hints for the "registration" parameter in pygmt.datasets.load_* functions ([#2867](https://github.com/GenericMappingTools/pygmt/pull/2867)) +* TYP: Add type hints for "data_source" in load_earth_relief and load_earth_magnetic_anomaly functions ([#2849](https://github.com/GenericMappingTools/pygmt/pull/2849)) +* TYP: Add type hints for parameters of Figure.timestamp([#2890](https://github.com/GenericMappingTools/pygmt/pull/2890)) +* TYP: Add type hints for "terminator" in Figure.solar and simplify codes ([#2881](https://github.com/GenericMappingTools/pygmt/pull/2881)) +* TYP: Add type hints for parameters of Figure.shift_origin, improve docstrings, and add inline examples ([#2879](https://github.com/GenericMappingTools/pygmt/pull/2879)) +* doc: Convert the installation guides source code from ReST to Markdown ([#2992](https://github.com/GenericMappingTools/pygmt/pull/2992)) +* doc: Convert overview source code from ReST to Markdown ([#2953](https://github.com/GenericMappingTools/pygmt/pull/2953)) +* doc: Move compatibility table from README to separate file ([#2862](https://github.com/GenericMappingTools/pygmt/pull/2862)) +* Enable the PDF format documentation in the ReadTheDocs site ([#2876](https://github.com/GenericMappingTools/pygmt/pull/2876)) * Add the full changelog link to the release drafter template ([#2838](https://github.com/GenericMappingTools/pygmt/pull/2838)) -* Add support for Python 3.12 ([#2711](https://github.com/GenericMappingTools/pygmt/pull/2711)) +* Release Drafter: Automatically replace GitHub handles with names and links ([#2777](https://github.com/GenericMappingTools/pygmt/pull/2777)) +* Exclude CODE_OF_CONDUCT.md, AUTHORSHIP.md and pygmt/tests directory from distributions ([#2957](https://github.com/GenericMappingTools/pygmt/pull/2957)) * Add Zenodo's GMT community to the maintainer's onboarding list ([#2761](https://github.com/GenericMappingTools/pygmt/pull/2761)) -* Add Mypy for static type checking ([#2808](https://github.com/GenericMappingTools/pygmt/pull/2808)) +* Use ruff to lint and format codes, and remove flakeheaven/isort/black/blackdoc ([#2741](https://github.com/GenericMappingTools/pygmt/issues/2741)) +* Use codespell to check common misspellings ([#2673](https://github.com/GenericMappingTools/pygmt/pull/2673)) +* Use "# %%" as code block separators in examples ([#2662](https://github.com/GenericMappingTools/pygmt/pull/2662)) **Full Changelog**: From d879ce32a66e7d72b8963753a761eb073ef068f5 Mon Sep 17 00:00:00 2001 From: Dongdong Tian Date: Thu, 1 Feb 2024 19:01:32 +0800 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 | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/doc/changes.md b/doc/changes.md index 7305dd3f885..dbd9105a99e 100644 --- a/doc/changes.md +++ b/doc/changes.md @@ -21,15 +21,15 @@ ### Enhancements -* pyarrow: Support date32[day] and date64[ms] dtypes in pandas objects ([#2845](https://github.com/GenericMappingTools/pygmt/pull/2845)) * geopandas: Correctly handle columns with integer values bigger than the largest 32-bit integer ([#2841](https://github.com/GenericMappingTools/pygmt/pull/2841)) -* Set GMT_SESSION_NAME to a unique name on Windows for multiprocessing support ([#2938](https://github.com/GenericMappingTools/pygmt/pull/2938)) +* pyarrow: Support date32[day] and date64[ms] dtypes in pandas objects ([#2845](https://github.com/GenericMappingTools/pygmt/pull/2845)) +* datasets.load_tile_map and Figure.tilemap: Add "zoom_adjust" parameter ([#2934](https://github.com/GenericMappingTools/pygmt/pull/2934)) +* grdlandmask: Add common alias "cores" for "x" ([#2944](https://github.com/GenericMappingTools/pygmt/pull/2944)) +* Figure.coast: Add alias "box" for "-F" ([#2823](https://github.com/GenericMappingTools/pygmt/pull/2823)) * Improve the error messages for unsupported numpy dtypes ([#2856](https://github.com/GenericMappingTools/pygmt/pull/2856)) -* Figure.savefig: Support uppercase file extensions (e.g., PNG, PDF) ([#2697](https://github.com/GenericMappingTools/pygmt/pull/2697)) +* Set GMT_SESSION_NAME to a unique name on Windows for multiprocessing support ([#2938](https://github.com/GenericMappingTools/pygmt/pull/2938)) * Figure.savefig: Support .jpeg as JPEG image extension ([#2691](https://github.com/GenericMappingTools/pygmt/pull/2691)) -* Figure.coast: Add alias "box" for "-F" ([#2823](https://github.com/GenericMappingTools/pygmt/pull/2823)) -* Add zoom_adjust parameter to pygmt.datasets.load_tile_map and Figure.tilemap ([#2934](https://github.com/GenericMappingTools/pygmt/pull/2934)) -* Add common alias cores (x) for grdlandmask ([#2944](https://github.com/GenericMappingTools/pygmt/pull/2944)) +* Figure.savefig: Support uppercase file extensions (e.g., PNG, PDF) ([#2697](https://github.com/GenericMappingTools/pygmt/pull/2697)) ### Deprecations