-
Notifications
You must be signed in to change notification settings - Fork 229
Closed
Labels
enhancementImproving an existing featureImproving an existing feature
Milestone
Description
One of the project goals is to interface with GMT C API directly using ctypes without system calls. It lets us work on data in memory, which is more efficient than working on files on disk.
However, currently PyGMT still writes tables/grids/CPTs into temporary files. With PRs #2729 and #2398 (not merged yet), we can write data into memory and then working on these data-in-memory directly. Thus, it's possible to get rid of temporary files completely.
This issue report is the central place to track all the functions/methods that need to be refactored.
Modules writting tables
-
blockm*
pygmt.blockm*: Add 'output_type' parameter for output in pandas/numpy/file formats #3103 -
filter1d
pygmt.filter1d: Improve performance by storing output in virtual files #3085 -
grdinfo
[Will be tracked in Better return values for grdinfo #593] -
grdtrack
pygmt.grdtrack: Add 'output_type' parameter for output in pandas/numpy/file formats #3106 -
triangulate
pygmt.triangulate.delaunay_triples: Improve performance by storing output in virtual files #3107 -
grdvolume
pygmt.grdvolume: Refactor to store output in virtual files instead of temporary files #3102 -
select
pygmt.select: Improve performance by storing output in virtual files #3108 -
which
pygmt.which: Refactor to get rid of temporary files #3148 -
grdhisteq
pygmt.grdhisteq.compute_bins: Refactor to store output in virtual files instead of temporary files #3109 -
x2sys_cross
[Will be tracked in x2sys_cross: Refactor to get rid of temporary files and have consistent table-like output behavior #3160] -
info
[Will be tracked in Better return value for pygmt.info #3159] -
project
pygmt.project: Add 'output_type' parameter for output in pandas/numpy/file formats #3110 -
grd2xyz
pygmt.grd2xyz: Improve performance by storing output in virtual files #3097
Modules writting grids
Most modules are refactored in #2398, except grdcut
.
-
dimfilter
-
grdclip
-
sphinterpolate
-
grdsample
-
grdfilter
-
grdproject
-
grdgradient
-
grdfill
-
triangulate
-
sphdistance
-
xyz2grd
-
grdcut
[**BREAKING** pygmt.grdcut: Refactor to store output in virtualfiles for grids #3115] -
grdhisteq
-
nearneighbor
-
sph2grd
-
grdlandmask
-
binstats
-
surface
weiji14
Metadata
Metadata
Assignees
Labels
enhancementImproving an existing featureImproving an existing feature