Avatar for the GenericMappingTools user
GenericMappingTools
pygmt
BlogDocsChangelog

Deprecate pygmt.io.load_dataarray, use xarray.load_dataarray instead

#3922Merged
Comparing
deprecate/load_dataarray
(
898f349
) with
main
(
f389e05
)
CodSpeed Performance Gauge
-85%
Regression
2
Untouched
102
New
1
Dropped
1

Benchmarks

106 total
test_io_load_dataarray
pygmt/tests/test_io.py
Missing
CodSpeed Performance Gauge
N/A
23.9 msN/A
test_put_matrix_grid
pygmt/tests/test_clib_put_matrix.py
CodSpeed Performance Gauge
-85%
69 ms465.9 ms
test_earth_relief_holes
pygmt/tests/test_datasets_samples.py
CodSpeed Performance Gauge
-41%
39.2 ms66 ms
test_xarray_backend_load_dataarray
pygmt/tests/test_xarray_backend.py
CodSpeed Performance Gauge
N/A
N/A64.7 ms
test_legend_entries
pygmt/tests/test_legend.py
CodSpeed Performance Gauge
+8%
125.2 ms116 ms
test_virtualfile_from_vectors
pygmt/tests/test_clib_virtualfile_from_vectors.py
CodSpeed Performance Gauge
+1%
82.5 ms81.7 ms
test_virtualfile_from_matrix
pygmt/tests/test_clib_virtualfile_from_matrix.py
CodSpeed Performance Gauge
+1%
80.1 ms79.4 ms
test_equalize_grid_no_outgrid
pygmt/tests/test_grdhisteq.py
CodSpeed Performance Gauge
0%
10.4 ms10.3 ms
test_grdcut_dataarray_in_dataarray_out
pygmt/tests/test_grdcut.py
CodSpeed Performance Gauge
0%
10.4 ms10.3 ms
test_timestamp_font
pygmt/tests/test_timestamp.py
CodSpeed Performance Gauge
0%
14.5 ms14.5 ms
test_grdfilter_dataarray_in_dataarray_out
pygmt/tests/test_grdfilter.py
CodSpeed Performance Gauge
0%
10.5 ms10.5 ms
test_subplot_basic_frame
pygmt/tests/test_subplot.py
CodSpeed Performance Gauge
0%
55.9 ms55.8 ms
test_colorbar
pygmt/tests/test_colorbar.py
CodSpeed Performance Gauge
0%
14.9 ms14.9 ms
test_text_multiple_lines_of_text[numpy]
pygmt/tests/test_text.py
CodSpeed Performance Gauge
0%
14.7 ms14.7 ms
test_dataarray_to_matrix_works
pygmt/tests/test_clib_dataarray_to_matrix.py
CodSpeed Performance Gauge
0%
2.3 ms2.3 ms
test_grdproject_no_outgrid[M10c]
pygmt/tests/test_grdproject.py
CodSpeed Performance Gauge
0%
10.4 ms10.4 ms
test_text_multiple_lines_of_text[pyarrow]
pygmt/tests/test_text.py
CodSpeed Performance Gauge
0%
14.8 ms14.8 ms
test_grdcut_image_file
pygmt/tests/test_grdcut_image.py
CodSpeed Performance Gauge
0%
26.1 ms26 ms
test_meca_spec_multiple_focalmecha[dict_mecha_mixed]
pygmt/tests/test_meca.py
CodSpeed Performance Gauge
0%
26.7 ms26.7 ms
test_config_format_date_map
pygmt/tests/test_config.py
CodSpeed Performance Gauge
0%
38.3 ms38.3 ms
test_psconvert
pygmt/tests/test_psconvert.py
CodSpeed Performance Gauge
0%
23.9 ms23.9 ms
test_surface_input_xyz
pygmt/tests/test_surface.py
CodSpeed Performance Gauge
0%
11 ms11 ms
test_meca_spec_multiple_focalmecha[array2d]
pygmt/tests/test_meca.py
CodSpeed Performance Gauge
0%
26.8 ms26.8 ms
test_rose_plot_data_using_cpt
pygmt/tests/test_rose.py
CodSpeed Performance Gauge
0%
17.4 ms17.4 ms
test_xyz2grd_input_array[Dataset]
pygmt/tests/test_xyz2grd.py
CodSpeed Performance Gauge
0%
31.9 ms31.9 ms

Commits

Click on a commit to change the comparison range
Base
main
f389e05
-40.64%
Move test_io_load_dataarray benchmark test to test_xarray_backend
6583bfc
10 months ago
by weiji14
0%
Replace pygmt.io.load_dataarray with xr.load_dataarray in tests
b46692a
10 months ago
by weiji14
-44.54%
Replace xr.open_dataarray with xr.load_dataarray in tests
898f349
10 months ago
by weiji14
© 2026 CodSpeed Technology
Home Terms Privacy Docs