Wei Ji

Results 115 issues of Wei Ji

**Description of the problem** Two unit tests have been failing consistenly on the Windows CI tests (both the regular and Dev versions). See e.g. https://github.com/GenericMappingTools/pygmt/runs/7890620920?check_suite_focus=true#step:11:661 **Full code that generated the...

bug
maintenance

### 🐛 Describe the bug When using an IterDataPipe in their functional form as recommended in https://pytorch.org/data/0.4/torchdata.datapipes.iter.html#torchdata.datapipes.iter.IterDataPipe, users have to write something like `dp.batch(...)`. However, when looking at the docstring...

Hi there, I've been trying at to read a GeoParquet file using `pyogrio` and was wondering if: 1. It's actually possible with `pyogrio`, because looking at https://pyogrio.readthedocs.io/en/latest/supported_formats.html#read-support, reading GeoParquet should...

### Is your feature request related to a problem? To enable chipping/batching datasets with different spatial resolutions, each dataset (either an `xarray.DataArray` or `xarray.Dataset`) currently needs to be sliced separately...

enhancement

**Description of proposed changes** Check that [`pyarrow.array`](https://arrow.apache.org/docs/13.0/python/generated/pyarrow.array.html) objects of [string type](https://arrow.apache.org/docs/13.0/python/generated/pyarrow.string.html) can be passed to PyGMT modules/functions. This PR also adds type hints to the docstring of the `put_strings` method...

maintenance
run/benchmark

### Description of the desired feature We are attempting some big refactoring steps in PyGMT to avoid the use of temporary intermediate files #2730, and will also be performing some...

maintenance

**Description of proposed changes** Check that [`pyarrow.array`](https://arrow.apache.org/docs/13.0/python/generated/pyarrow.array.html) and [`pyarrow.table`](https://arrow.apache.org/docs/13.0/python/generated/pyarrow.table.html) objects of various types (uint/int/timestamp) can be passed to PyGMT modules/functions. TODO: - [x] Initial compatibility check of `pyarrow.array` by adding...

maintenance

### Description of the desired feature [Apache Arrow](https://arrow.apache.org/docs/index.html) is an in-memory format that is starting to become a common exchange format between different libraries in Python and other programming languages....

help wanted
feature request
longterm

### Description of the desired feature Some functions like [`histogram`](https://www.pygmt.org/v0.8.0/api/generated/pygmt.Figure.histogram.html) and [`plot`](https://www.pygmt.org/v0.8.0/api/generated/pygmt.Figure.plot.html) have a `-Gp` or `-GP` option (in PyGMT, `-G` is aliased to `fill` after #1617) that sets bit...

good first issue
documentation

**Description of the problem** PyGMT currently assumes `xarray.DataArray` grids as gridline registered (`GMT_GRID_NODE_REG`), and of cartesian type (`GMT_GRID_IS_CARTESIAN`). This hardcoding has very likely resulted in the issue reported by @MarkWieczorek...

question
longterm