Explore interoperability with parallel and lazy computation workflows

Open
#4,655 1 comment 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
42/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Quiet
Tech stack
pandas, python
Domain
data, testing

Research direction

No files or tests are named. Start by testing PyGMT's existing pandas and xarray object support with Dask-backed workflows, then compare Polars. Done means the current interoperability level and any limitations are recorded.

Written by the indexing model from the issue text.

Description

discussions

Here is the reviewer’s comment:

The text mentions pandas, geopandas and xarray - but no mention of dask and the other tools aimed at making these tools suitable for parallel computation (e.g. dask). I assume this is possible but would be useful to add detail.

As far as I know, Dask and Polars are two widely used tools in the Python data ecosystem, but PyGMT compatibility with them has never been formally tested.

PyGMT may already interoperate with Dask-backed DataFrames and DataArrays through its existing support for pandas and xarray objects, but Polars is less likely to work because it uses a different API and data model.

We need to test the current level of interoperability, especially for Dask-backed workflows. Since I‘m not very familiar with these tools, it would be great if @weiji14 could provide some guidance.

Dominant language
Python
Stars
882
Forks
261
Avg merge
1d 3h
Merged PRs (30d)
29

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from GenericMappingTools/pygmt

All issues in GenericMappingTools/pygmt

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.