*pygmt.test()* test failures on GMT 6.1.0
See original GitHub issueDescription of the problem
Hi I followed the tutorial to install pygmt and gmt through conda [described here]. But I am running through a lot of faillure when running pygmt.test().
Any idea why? Should I try a less recent version of python?
Full code that generated the error
In [1]: import pygmt
In [2]: pygmt.test()
53 tests failed, 212 passed, 1 skipped
Full error message
Click to expand!
In [2]: pygmt.test()
PyGMT information:
version: v0.1.2
System information:
python: 3.8.3 | packaged by conda-forge | (default, Jun 1 2020, 17:21:09) [Clang 9.0.1 ]
executable: /Users/locupe/anaconda2/envs/pygmt/bin/python
machine: macOS-10.15.5-x86_64-i386-64bit
Dependency information:
numpy: 1.18.5
pandas: 1.0.5
xarray: 0.15.1
netCDF4: 1.5.3
packaging: 20.4
ghostscript: 9.22
gmt: 6.1.0
GMT library information:
binary dir: /Users/locupe/anaconda2/envs/pygmt/bin
cores: 12
grid layout: rows
library path: /Users/locupe/anaconda2/envs/pygmt/lib/libgmt.dylib
padding: 2
plugin dir: /Users/locupe/anaconda2/envs/pygmt/lib/gmt/plugins
share dir: /Users/locupe/anaconda2/envs/pygmt/share/gmt
version: 6.1.0
======================================================================================================================= test session starts =======================================================================================================================
platform darwin -- Python 3.8.3, pytest-5.4.3, py-1.9.0, pluggy-0.13.1 -- /Users/locupe/anaconda2/envs/pygmt/bin/python
cachedir: .pytest_cache
Matplotlib: 3.2.2
Freetype: 2.10.2
rootdir: /Users/locupe/Dropbox/Work/Python/Repos_perso/analysis_eel_data
plugins: mpl-0.11
collected 266 items
base_plotting.py::pygmt.base_plotting.BasePlotting._preprocess <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/base_plotting.py PASSED [ 0%]
figure.py::pygmt.figure.Figure <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/figure.py PASSED [ 0%]
clib/conversion.py::pygmt.clib.conversion.as_c_contiguous <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/clib/conversion.py PASSED [ 1%]
clib/conversion.py::pygmt.clib.conversion.dataarray_to_matrix <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/clib/conversion.py FAILED [ 1%]
clib/conversion.py::pygmt.clib.conversion.kwargs_to_ctypes_array <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/clib/conversion.py PASSED [ 1%]
clib/conversion.py::pygmt.clib.conversion.vectors_to_arrays <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/clib/conversion.py PASSED [ 2%]
clib/session.py::pygmt.clib.session.Session <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/clib/session.py FAILED [ 2%]
clib/session.py::pygmt.clib.session.Session._check_dtype_and_dim <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/clib/session.py PASSED [ 3%]
clib/session.py::pygmt.clib.session.Session.extract_region <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/clib/session.py PASSED [ 3%]
clib/session.py::pygmt.clib.session.Session.get_libgmt_func <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/clib/session.py PASSED [ 3%]
clib/session.py::pygmt.clib.session.Session.open_virtual_file <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/clib/session.py PASSED [ 4%]
clib/session.py::pygmt.clib.session.Session.virtualfile_from_grid <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/clib/session.py FAILED [ 4%]
clib/session.py::pygmt.clib.session.Session.virtualfile_from_matrix <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/clib/session.py PASSED [ 4%]
clib/session.py::pygmt.clib.session.Session.virtualfile_from_vectors <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/clib/session.py PASSED [ 5%]
datasets/earth_relief.py::pygmt.datasets.earth_relief._is_valid_resolution <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/datasets/earth_relief.py PASSED [ 5%]
datasets/earth_relief.py::pygmt.datasets.earth_relief._shape_from_resolution <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/datasets/earth_relief.py PASSED [ 6%]
helpers/decorators.py::pygmt.helpers.decorators.fmt_docstring <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/helpers/decorators.py PASSED [ 6%]
helpers/decorators.py::pygmt.helpers.decorators.kwargs_to_strings <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/helpers/decorators.py PASSED [ 6%]
helpers/decorators.py::pygmt.helpers.decorators.use_alias <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/helpers/decorators.py PASSED [ 7%]
helpers/tempfile.py::pygmt.helpers.tempfile.GMTTempFile <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/helpers/tempfile.py PASSED [ 7%]
helpers/utils.py::pygmt.helpers.utils.build_arg_string <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/helpers/utils.py PASSED [ 7%]
helpers/utils.py::pygmt.helpers.utils.data_kind <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/helpers/utils.py PASSED [ 8%]
helpers/utils.py::pygmt.helpers.utils.dummy_context <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/helpers/utils.py PASSED [ 8%]
helpers/utils.py::pygmt.helpers.utils.is_nonstr_iter <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/helpers/utils.py PASSED [ 9%]
tests/test_basemap.py::test_basemap_required_args <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_basemap.py PASSED [ 9%]
tests/test_basemap.py::test_basemap <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_basemap.py PASSED [ 9%]
tests/test_basemap.py::test_basemap_list_region <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_basemap.py PASSED [ 10%]
tests/test_basemap.py::test_basemap_loglog <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_basemap.py PASSED [ 10%]
tests/test_basemap.py::test_basemap_power_axis <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_basemap.py PASSED [ 10%]
tests/test_basemap.py::test_basemap_polar <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_basemap.py FAILED [ 11%]
tests/test_basemap.py::test_basemap_winkel_tripel <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_basemap.py PASSED [ 11%]
tests/test_basemap.py::test_basemap_aliases <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_basemap.py PASSED [ 12%]
tests/test_blockmedian.py::test_blockmedian_input_dataframe <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_blockmedian.py PASSED [ 12%]
tests/test_blockmedian.py::test_blockmedian_wrong_kind_of_input_table_matrix <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_blockmedian.py PASSED [ 12%]
tests/test_blockmedian.py::test_blockmedian_wrong_kind_of_input_table_grid <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_blockmedian.py PASSED [ 13%]
tests/test_blockmedian.py::test_blockmedian_input_filename <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_blockmedian.py PASSED [ 13%]
tests/test_blockmedian.py::test_blockmedian_without_outfile_setting <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_blockmedian.py PASSED [ 13%]
tests/test_clib.py::test_getitem <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_clib.py PASSED [ 14%]
tests/test_clib.py::test_create_destroy_session <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_clib.py PASSED [ 14%]
tests/test_clib.py::test_create_session_fails <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_clib.py PASSED [ 15%]
tests/test_clib.py::test_destroy_session_fails <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_clib.py PASSED [ 15%]
tests/test_clib.py::test_call_module <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_clib.py PASSED [ 15%]
tests/test_clib.py::test_call_module_invalid_arguments <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_clib.py PASSED [ 16%]
tests/test_clib.py::test_call_module_invalid_name <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_clib.py PASSED [ 16%]
tests/test_clib.py::test_call_module_error_message <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_clib.py FAILED [ 16%]
tests/test_clib.py::test_method_no_session <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_clib.py PASSED [ 17%]
tests/test_clib.py::test_parse_constant_single <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_clib.py PASSED [ 17%]
tests/test_clib.py::test_parse_constant_composite <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_clib.py PASSED [ 18%]
tests/test_clib.py::test_parse_constant_fails <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_clib.py PASSED [ 18%]
tests/test_clib.py::test_create_data_dataset <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_clib.py PASSED [ 18%]
tests/test_clib.py::test_create_data_grid_dim <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_clib.py PASSED [ 19%]
tests/test_clib.py::test_create_data_grid_range <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_clib.py PASSED [ 19%]
tests/test_clib.py::test_create_data_fails <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_clib.py PASSED [ 19%]
tests/test_clib.py::test_put_vector <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_clib.py PASSED [ 20%]
tests/test_clib.py::test_put_vector_invalid_dtype <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_clib.py PASSED [ 20%]
tests/test_clib.py::test_put_vector_wrong_column <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_clib.py PASSED [ 21%]
tests/test_clib.py::test_put_vector_2d_fails <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_clib.py PASSED [ 21%]
tests/test_clib.py::test_put_matrix <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_clib.py PASSED [ 21%]
tests/test_clib.py::test_put_matrix_fails <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_clib.py PASSED [ 22%]
tests/test_clib.py::test_put_matrix_grid <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_clib.py PASSED [ 22%]
tests/test_clib.py::test_virtual_file <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_clib.py PASSED [ 22%]
tests/test_clib.py::test_virtual_file_fails <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_clib.py PASSED [ 23%]
tests/test_clib.py::test_virtual_file_bad_direction <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_clib.py PASSED [ 23%]
tests/test_clib.py::test_virtualfile_from_vectors <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_clib.py PASSED [ 24%]
tests/test_clib.py::test_virtualfile_from_vectors_transpose <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_clib.py PASSED [ 24%]
tests/test_clib.py::test_virtualfile_from_vectors_diff_size <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_clib.py PASSED [ 24%]
tests/test_clib.py::test_virtualfile_from_matrix <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_clib.py PASSED [ 25%]
tests/test_clib.py::test_virtualfile_from_matrix_slice <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_clib.py PASSED [ 25%]
tests/test_clib.py::test_virtualfile_from_vectors_pandas <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_clib.py PASSED [ 25%]
tests/test_clib.py::test_virtualfile_from_vectors_arraylike <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_clib.py PASSED [ 26%]
tests/test_clib.py::test_extract_region_fails <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_clib.py PASSED [ 26%]
tests/test_clib.py::test_extract_region_two_figures <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_clib.py PASSED [ 27%]
tests/test_clib.py::test_write_data_fails <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_clib.py PASSED [ 27%]
tests/test_clib.py::test_dataarray_to_matrix_works <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_clib.py PASSED [ 27%]
tests/test_clib.py::test_dataarray_to_matrix_negative_x_increment <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_clib.py PASSED [ 28%]
tests/test_clib.py::test_dataarray_to_matrix_negative_y_increment <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_clib.py PASSED [ 28%]
tests/test_clib.py::test_dataarray_to_matrix_negative_x_and_y_increment <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_clib.py PASSED [ 28%]
tests/test_clib.py::test_dataarray_to_matrix_dims_fails <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_clib.py PASSED [ 29%]
tests/test_clib.py::test_dataarray_to_matrix_inc_fails <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_clib.py PASSED [ 29%]
tests/test_clib.py::test_get_default <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_clib.py PASSED [ 30%]
tests/test_clib.py::test_get_default_fails <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_clib.py PASSED [ 30%]
tests/test_clib.py::test_info_dict <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_clib.py PASSED [ 30%]
tests/test_clib.py::test_fails_for_wrong_version <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_clib.py PASSED [ 31%]
tests/test_clib_loading.py::test_check_libgmt <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_clib_loading.py PASSED [ 31%]
tests/test_clib_loading.py::test_load_libgmt <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_clib_loading.py PASSED [ 31%]
tests/test_clib_loading.py::test_load_libgmt_fail <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_clib_loading.py PASSED [ 32%]
tests/test_clib_loading.py::test_clib_names <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_clib_loading.py PASSED [ 32%]
tests/test_coast.py::test_coast <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_coast.py PASSED [ 33%]
tests/test_coast.py::test_coast_iceland <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_coast.py FAILED [ 33%]
tests/test_coast.py::test_coast_aliases <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_coast.py PASSED [ 33%]
tests/test_coast.py::test_coast_world_mercator <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_coast.py PASSED [ 34%]
tests/test_colorbar.py::test_colorbar_using_paper_coordinates <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_colorbar.py PASSED [ 34%]
tests/test_colorbar.py::test_colorbar_using_paper_coordinates_horizontal <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_colorbar.py PASSED [ 34%]
tests/test_colorbar.py::test_colorbar_positioned_using_map_coordinates <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_colorbar.py PASSED [ 35%]
tests/test_colorbar.py::test_colorbar_positioned_using_justification_code <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_colorbar.py FAILED [ 35%]
tests/test_colorbar.py::test_colorbar_positioned_using_normalized_coords <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_colorbar.py PASSED [ 36%]
tests/test_colorbar.py::test_colorbar_box <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_colorbar.py PASSED [ 36%]
tests/test_colorbar.py::test_colorbar_box_with_pen <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_colorbar.py PASSED [ 36%]
tests/test_colorbar.py::test_colorbar_box_with_fill <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_colorbar.py PASSED [ 37%]
tests/test_colorbar.py::test_colorbar_box_with_clearance <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_colorbar.py PASSED [ 37%]
tests/test_colorbar.py::test_colorbar_box_with_secondary_border <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_colorbar.py PASSED [ 37%]
tests/test_colorbar.py::test_colorbar_box_with_rounded_corners <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_colorbar.py PASSED [ 38%]
tests/test_colorbar.py::test_colorbar_box_with_offset_background <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_colorbar.py PASSED [ 38%]
tests/test_colorbar.py::test_colorbar_truncated_to_zlow_zhigh <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_colorbar.py PASSED [ 39%]
tests/test_colorbar.py::test_colorbar_scaled_z_values <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_colorbar.py PASSED [ 39%]
tests/test_config.py::test_config <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_config.py FAILED [ 39%]
tests/test_config.py::test_config_font_one <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_config.py FAILED [ 40%]
tests/test_config.py::test_config_font_annot <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_config.py FAILED [ 40%]
tests/test_config.py::test_config_format_time_map <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_config.py PASSED [ 40%]
tests/test_config.py::test_config_map_annot_offset <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_config.py PASSED [ 41%]
tests/test_config.py::test_config_map_grid_cross_size <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_config.py PASSED [ 41%]
tests/test_config.py::test_config_map_grid_pen <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_config.py PASSED [ 42%]
tests/test_config.py::test_config_map_tick_length <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_config.py PASSED [ 42%]
tests/test_config.py::test_config_map_tick_pen <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_config.py PASSED [ 42%]
tests/test_contour.py::test_contour_fail_no_data <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_contour.py PASSED [ 43%]
tests/test_contour.py::test_contour_vec <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_contour.py PASSED [ 43%]
tests/test_contour.py::test_contour_matrix <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_contour.py PASSED [ 43%]
tests/test_contour.py::test_contour_from_file <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_contour.py PASSED [ 44%]
tests/test_datasets.py::test_japan_quakes <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_datasets.py PASSED [ 44%]
tests/test_datasets.py::test_ocean_ridge_points <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_datasets.py PASSED [ 45%]
tests/test_datasets.py::test_sample_bathymetry <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_datasets.py PASSED [ 45%]
tests/test_datasets.py::test_usgs_quakes <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_datasets.py PASSED [ 45%]
tests/test_datasets.py::test_earth_relief_fails <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_datasets.py PASSED [ 46%]
tests/test_datasets.py::test_earth_relief_01d <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_datasets.py FAILED [ 46%]
tests/test_datasets.py::test_earth_relief_30m <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_datasets.py FAILED [ 46%]
tests/test_figure.py::test_figure_region <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_figure.py PASSED [ 47%]
tests/test_figure.py::test_figure_region_multiple <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_figure.py PASSED [ 47%]
tests/test_figure.py::test_figure_region_country_codes <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_figure.py PASSED [ 48%]
tests/test_figure.py::test_figure_savefig_exists <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_figure.py PASSED [ 48%]
tests/test_figure.py::test_figure_savefig_transparent <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_figure.py PASSED [ 48%]
tests/test_figure.py::test_figure_savefig <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_figure.py PASSED [ 49%]
tests/test_figure.py::test_figure_show <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_figure.py PASSED [ 49%]
tests/test_figure.py::test_shift_origin <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_figure.py PASSED [ 50%]
tests/test_grdcontour.py::test_grdcontour <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_grdcontour.py FAILED [ 50%]
tests/test_grdcontour.py::test_grdcontour_labels <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_grdcontour.py FAILED [ 50%]
tests/test_grdcontour.py::test_grdcontour_slice <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_grdcontour.py FAILED [ 51%]
tests/test_grdcontour.py::test_grdcontour_file <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_grdcontour.py FAILED [ 51%]
tests/test_grdcontour.py::test_grdcontour_interval_file_full_opts <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_grdcontour.py FAILED [ 51%]
tests/test_grdcontour.py::test_grdcontour_fails <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_grdcontour.py PASSED [ 52%]
tests/test_grdcut.py::test_grdcut_file_in_file_out <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_grdcut.py FAILED [ 52%]
tests/test_grdcut.py::test_grdcut_file_in_dataarray_out <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_grdcut.py FAILED [ 53%]
tests/test_grdcut.py::test_grdcut_dataarray_in_file_out <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_grdcut.py PASSED [ 53%]
tests/test_grdcut.py::test_grdcut_dataarray_in_dataarray_out <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_grdcut.py PASSED [ 53%]
tests/test_grdcut.py::test_grdcut_dataarray_in_fail <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_grdcut.py PASSED [ 54%]
tests/test_grdcut.py::test_grdcut_fails <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_grdcut.py PASSED [ 54%]
tests/test_grdimage.py::test_grdimage <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_grdimage.py FAILED [ 54%]
tests/test_grdimage.py::test_grdimage_slice <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_grdimage.py FAILED [ 55%]
tests/test_grdimage.py::test_grdimage_file <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_grdimage.py FAILED [ 55%]
tests/test_grdimage.py::test_grdimage_fails <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_grdimage.py PASSED [ 56%]
tests/test_grdinfo.py::test_grdinfo <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_grdinfo.py FAILED [ 56%]
tests/test_grdinfo.py::test_grdinfo_file <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_grdinfo.py FAILED [ 56%]
tests/test_grdinfo.py::test_grdinfo_fails <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_grdinfo.py PASSED [ 57%]
tests/test_grdtrack.py::test_grdtrack_input_dataframe_and_dataarray <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_grdtrack.py FAILED [ 57%]
tests/test_grdtrack.py::test_grdtrack_input_csvfile_and_dataarray <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_grdtrack.py FAILED [ 57%]
tests/test_grdtrack.py::test_grdtrack_input_dataframe_and_ncfile <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_grdtrack.py FAILED [ 58%]
tests/test_grdtrack.py::test_grdtrack_input_csvfile_and_ncfile <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_grdtrack.py FAILED [ 58%]
tests/test_grdtrack.py::test_grdtrack_wrong_kind_of_points_input <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_grdtrack.py PASSED [ 59%]
tests/test_grdtrack.py::test_grdtrack_wrong_kind_of_grid_input <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_grdtrack.py PASSED [ 59%]
tests/test_grdtrack.py::test_grdtrack_without_newcolname_setting <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_grdtrack.py PASSED [ 59%]
tests/test_grdtrack.py::test_grdtrack_without_outfile_setting <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_grdtrack.py PASSED [ 60%]
tests/test_grdview.py::test_grdview_grid_dataarray <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_grdview.py FAILED [ 60%]
tests/test_grdview.py::test_grdview_grid_file_with_region_subset <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_grdview.py FAILED [ 60%]
tests/test_grdview.py::test_grdview_wrong_kind_of_grid <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_grdview.py PASSED [ 61%]
tests/test_grdview.py::test_grdview_with_perspective <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_grdview.py FAILED [ 61%]
tests/test_grdview.py::test_grdview_with_perspective_and_zscale <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_grdview.py FAILED [ 62%]
tests/test_grdview.py::test_grdview_with_perspective_and_zsize <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_grdview.py FAILED [ 62%]
tests/test_grdview.py::test_grdview_with_cmap_for_image_plot <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_grdview.py FAILED [ 62%]
tests/test_grdview.py::test_grdview_with_cmap_for_surface_monochrome_plot <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_grdview.py FAILED [ 63%]
tests/test_grdview.py::test_grdview_with_cmap_for_perspective_surface_plot <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_grdview.py FAILED [ 63%]
tests/test_grdview.py::test_grdview_on_a_plane <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_grdview.py FAILED [ 63%]
tests/test_grdview.py::test_grdview_on_a_plane_with_colored_frontal_facade <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_grdview.py FAILED [ 64%]
tests/test_grdview.py::test_grdview_with_perspective_and_zaxis_frame <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_grdview.py FAILED [ 64%]
tests/test_grdview.py::test_grdview_surface_plot_styled_with_contourpen <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_grdview.py FAILED [ 65%]
tests/test_grdview.py::test_grdview_surface_mesh_plot_styled_with_meshpen <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_grdview.py FAILED [ 65%]
tests/test_grdview.py::test_grdview_on_a_plane_styled_with_facadepen <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_grdview.py FAILED [ 65%]
tests/test_grdview.py::test_grdview_drapegrid_dataarray <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_grdview.py FAILED [ 66%]
tests/test_grdview.py::test_grdview_wrong_kind_of_drapegrid <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_grdview.py PASSED [ 66%]
tests/test_helpers.py::test_data_kind_fails[None-None-None] <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_helpers.py PASSED [ 66%]
tests/test_helpers.py::test_data_kind_fails[data.txt-x1-y1] <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_helpers.py PASSED [ 67%]
tests/test_helpers.py::test_data_kind_fails[data.txt-x2-None] <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_helpers.py PASSED [ 67%]
tests/test_helpers.py::test_data_kind_fails[data.txt-None-y3] <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_helpers.py PASSED [ 68%]
tests/test_helpers.py::test_data_kind_fails[None-x4-None] <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_helpers.py PASSED [ 68%]
tests/test_helpers.py::test_data_kind_fails[None-None-y5] <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_helpers.py PASSED [ 68%]
tests/test_helpers.py::test_unique_name <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_helpers.py PASSED [ 69%]
tests/test_helpers.py::test_kwargs_to_strings_fails <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_helpers.py PASSED [ 69%]
tests/test_helpers.py::test_kwargs_to_strings_no_bools <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_helpers.py PASSED [ 69%]
tests/test_helpers.py::test_gmttempfile <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_helpers.py PASSED [ 70%]
tests/test_helpers.py::test_gmttempfile_unique <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_helpers.py PASSED [ 70%]
tests/test_helpers.py::test_gmttempfile_prefix_suffix <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_helpers.py PASSED [ 71%]
tests/test_helpers.py::test_gmttempfile_read <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_helpers.py PASSED [ 71%]
tests/test_image.py::test_image <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_image.py PASSED [ 71%]
tests/test_info.py::test_info <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_info.py PASSED [ 72%]
tests/test_info.py::test_info_per_column <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_info.py PASSED [ 72%]
tests/test_info.py::test_info_spacing <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_info.py PASSED [ 72%]
tests/test_info.py::test_info_per_column_spacing <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_info.py PASSED [ 73%]
tests/test_info.py::test_info_nearest_multiple <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_info.py PASSED [ 73%]
tests/test_info.py::test_info_fails <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_info.py PASSED [ 74%]
tests/test_legend.py::test_legend_position <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_legend.py PASSED [ 74%]
tests/test_legend.py::test_legend_default_position <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_legend.py PASSED [ 74%]
tests/test_legend.py::test_legend_entries <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_legend.py FAILED [ 75%]
tests/test_legend.py::test_legend_specfile <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_legend.py PASSED [ 75%]
tests/test_legend.py::test_legend_fails <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_legend.py PASSED [ 75%]
tests/test_logo.py::test_logo <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_logo.py PASSED [ 76%]
tests/test_logo.py::test_logo_on_a_map <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_logo.py PASSED [ 76%]
tests/test_logo.py::test_logo_fails <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_logo.py PASSED [ 77%]
tests/test_makecpt.py::test_makecpt_to_plot_points <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_makecpt.py PASSED [ 77%]
tests/test_makecpt.py::test_makecpt_to_plot_grid <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_makecpt.py FAILED [ 77%]
tests/test_makecpt.py::test_makecpt_to_plot_grid_scaled_with_series <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_makecpt.py FAILED [ 78%]
tests/test_makecpt.py::test_makecpt_output_to_cpt_file <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_makecpt.py PASSED [ 78%]
tests/test_makecpt.py::test_makecpt_blank_output <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_makecpt.py PASSED [ 78%]
tests/test_makecpt.py::test_makecpt_invalid_output <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_makecpt.py PASSED [ 79%]
tests/test_makecpt.py::test_makecpt_truncated_to_zlow_zhigh <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_makecpt.py FAILED [ 79%]
tests/test_makecpt.py::test_makecpt_truncated_at_zlow_only <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_makecpt.py FAILED [ 80%]
tests/test_makecpt.py::test_makecpt_truncated_at_zhigh_only <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_makecpt.py FAILED [ 80%]
tests/test_makecpt.py::test_makecpt_reverse_color_only <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_makecpt.py FAILED [ 80%]
tests/test_makecpt.py::test_makecpt_reverse_zsign_only <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_makecpt.py FAILED [ 81%]
tests/test_makecpt.py::test_makecpt_reverse_color_and_zsign <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_makecpt.py FAILED [ 81%]
tests/test_makecpt.py::test_makecpt_continuous <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_makecpt.py FAILED [ 81%]
tests/test_plot.py::test_plot_red_circles <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_plot.py PASSED [ 82%]
tests/test_plot.py::test_plot_fail_no_data <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_plot.py PASSED [ 82%]
tests/test_plot.py::test_plot_fail_size_color <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_plot.py PASSED [ 83%]
tests/test_plot.py::test_plot_projection <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_plot.py PASSED [ 83%]
tests/test_plot.py::test_plot_colors <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_plot.py PASSED [ 83%]
tests/test_plot.py::test_plot_sizes <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_plot.py PASSED [ 84%]
tests/test_plot.py::test_plot_colors_sizes <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_plot.py PASSED [ 84%]
tests/test_plot.py::test_plot_colors_sizes_proj <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_plot.py PASSED [ 84%]
tests/test_plot.py::test_plot_matrix <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_plot.py PASSED [ 85%]
tests/test_plot.py::test_plot_matrix_color <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_plot.py PASSED [ 85%]
tests/test_plot.py::test_plot_from_file <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_plot.py PASSED [ 86%]
tests/test_plot.py::test_plot_vectors <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_plot.py PASSED [ 86%]
tests/test_plot.py::test_plot_lines_with_arrows <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_plot.py PASSED [ 86%]
tests/test_plot.py::test_plot_scalar_xy <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_plot.py PASSED [ 87%]
tests/test_psconvert.py::test_psconvert <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_psconvert.py PASSED [ 87%]
tests/test_psconvert.py::test_psconvert_twice <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_psconvert.py PASSED [ 87%]
tests/test_psconvert.py::test_psconvert_int_options <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_psconvert.py PASSED [ 88%]
tests/test_psconvert.py::test_psconvert_aliases <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_psconvert.py PASSED [ 88%]
tests/test_session_management.py::test_begin_end <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_session_management.py PASSED [ 89%]
tests/test_session_management.py::test_gmt_compat_6_is_applied <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_session_management.py PASSED [ 89%]
tests/test_sphinx_gallery.py::test_pygmtscraper <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_sphinx_gallery.py SKIPPED [ 89%]
tests/test_surface.py::test_surface_input_file <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_surface.py PASSED [ 90%]
tests/test_surface.py::test_surface_input_data_array <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_surface.py PASSED [ 90%]
tests/test_surface.py::test_surface_input_xyz <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_surface.py PASSED [ 90%]
tests/test_surface.py::test_surface_input_xy_no_z <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_surface.py PASSED [ 91%]
tests/test_surface.py::test_surface_wrong_kind_of_input <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_surface.py PASSED [ 91%]
tests/test_surface.py::test_surface_with_outfile_param <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_surface.py PASSED [ 92%]
tests/test_surface.py::test_surface_short_aliases <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_surface.py PASSED [ 92%]
tests/test_text.py::test_text_single_line_of_text <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_text.py PASSED [ 92%]
tests/test_text.py::test_text_multiple_lines_of_text <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_text.py PASSED [ 93%]
tests/test_text.py::test_text_without_text_input <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_text.py PASSED [ 93%]
tests/test_text.py::test_text_input_single_filename <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_text.py PASSED [ 93%]
tests/test_text.py::test_text_input_remote_filename <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_text.py PASSED [ 94%]
tests/test_text.py::test_text_input_multiple_filenames <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_text.py PASSED [ 94%]
tests/test_text.py::test_text_nonexistent_filename <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_text.py PASSED [ 95%]
tests/test_text.py::test_text_position <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_text.py PASSED [ 95%]
tests/test_text.py::test_text_xy_with_position_fails <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_text.py PASSED [ 95%]
tests/test_text.py::test_text_position_offset_with_line <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_text.py PASSED [ 96%]
tests/test_text.py::test_text_angle_30 <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_text.py PASSED [ 96%]
tests/test_text.py::test_text_font_bold <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_text.py PASSED [ 96%]
tests/test_text.py::test_text_fill <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_text.py PASSED [ 97%]
tests/test_text.py::test_text_pen <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_text.py PASSED [ 97%]
tests/test_text.py::test_text_round_clearance <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_text.py PASSED [ 98%]
tests/test_text.py::test_text_justify_bottom_right_and_top_left <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_text.py PASSED [ 98%]
tests/test_text.py::test_text_justify_parsed_from_textfile <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_text.py PASSED [ 98%]
tests/test_text.py::test_text_angle_font_justify_from_textfile <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_text.py PASSED [ 99%]
tests/test_which.py::test_which <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_which.py PASSED [ 99%]
tests/test_which.py::test_which_fails <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_which.py PASSED [100%]
============================================================================================================================ FAILURES =============================================================================================================================
_______________________________________________________________________________________________________ [doctest] pygmt.clib.conversion.dataarray_to_matrix _______________________________________________________________________________________________________
042 If the grid has more than two dimensions or variable grid spacing.
043
044 Examples
045 --------
046
047 >>> from pygmt.datasets import load_earth_relief
048 >>> # Use the global Earth relief grid with 1 degree spacing
049 >>> grid = load_earth_relief(resolution='01d')
050 >>> matrix, region, inc = dataarray_to_matrix(grid)
051 >>> print(region)
Expected:
[-180.0, 180.0, -90.0, 90.0]
Got:
[-179.5, 179.5, -89.5, 89.5]
/Users/locupe/anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/clib/conversion.py:51: DocTestFailure
______________________________________________________________________________________________________________ [doctest] pygmt.clib.session.Session _______________________________________________________________________________________________________________
093 --------
094
095 >>> from pygmt.datasets import load_earth_relief
096 >>> from pygmt.helpers import GMTTempFile
097 >>> grid = load_earth_relief()
098 >>> type(grid)
099 <class 'xarray.core.dataarray.DataArray'>
100 >>> # Create a session and destroy it automatically when exiting the "with"
101 >>> # block.
102 >>> with Session() as ses:
Expected:
-180 180 -90 90 -8592.5 5559 1 1 361 181
Got:
-179.5 179.5 -89.5 89.5 -8182 5651.5 1 1 360 180 0 0
/Users/locupe/anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/clib/session.py:102: DocTestFailure
___________________________________________________________________________________________________ [doctest] pygmt.clib.session.Session.virtualfile_from_grid ____________________________________________________________________________________________________
271 The name of virtual file. Pass this as a file name argument to a
272 GMT module.
273
274 Examples
275 --------
276
277 >>> from pygmt.datasets import load_earth_relief
278 >>> from pygmt.helpers import GMTTempFile
279 >>> data = load_earth_relief(resolution='01d')
280 >>> print(data.shape)
Expected:
(181, 361)
Got:
(180, 360)
/Users/locupe/anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/clib/session.py:280: DocTestFailure
_______________________________________________________________________________________________________________________ test_basemap_polar ________________________________________________________________________________________________________________________
Error: Image dimensions did not match.
Expected shape: (1958, 1822)
/var/folders/_3/9z9zj5090_b341bkc7cw74cr0000gq/T/tmpadq1tydr/baseline-test_basemap_polar.png
Actual shape: (1957, 1822)
/var/folders/_3/9z9zj5090_b341bkc7cw74cr0000gq/T/tmpadq1tydr/test_basemap_polar.png
_________________________________________________________________________________________________________________ test_call_module_error_message __________________________________________________________________________________________________________________
def test_call_module_error_message():
"Check is the GMT error message was captured."
with clib.Session() as lib:
try:
> lib.call_module("info", "bogus-data.bla")
/Users/locupe/anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_clib.py:159:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <pygmt.clib.session.Session object at 0x7f7f1025f3a0>, module = 'info', args = 'bogus-data.bla'
def call_module(self, module, args):
"""
Call a GMT module with the given arguments.
Makes a call to ``GMT_Call_Module`` from the C API using mode
``GMT_MODULE_CMD`` (arguments passed as a single string).
Most interactions with the C API are done through this function.
Parameters
----------
module : str
Module name (``'coast'``, ``'basemap'``, etc).
args : str
String with the command line arguments that will be passed to the
module (for example, ``'-R0/5/0/10 -JM'``).
Raises
------
GMTCLibError
If the returned status code of the function is non-zero.
"""
c_call_module = self.get_libgmt_func(
"GMT_Call_Module",
argtypes=[ctp.c_void_p, ctp.c_char_p, ctp.c_int, ctp.c_void_p],
restype=ctp.c_int,
)
mode = self["GMT_MODULE_CMD"]
status = c_call_module(
self.session_pointer, module.encode(), mode, args.encode()
)
if status != 0:
> raise GMTCLibError(
"Module '{}' failed with status code {}:\n{}".format(
module, status, self._error_message
)
)
E pygmt.exceptions.GMTCLibError: Module 'info' failed with status code 71:
E gmtinfo [ERROR]: Cannot find file bogus-data.bla
/Users/locupe/anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/clib/session.py:498: GMTCLibError
During handling of the above exception, another exception occurred:
def test_call_module_error_message():
"Check is the GMT error message was captured."
with clib.Session() as lib:
try:
lib.call_module("info", "bogus-data.bla")
except GMTCLibError as error:
msg = "\n".join(
[
"Module 'info' failed with status code 71:",
"gmtinfo [ERROR]: Error for input file: No such file (bogus-data.bla)",
]
)
> assert str(error) == msg
E assert ("Module 'info' failed with status code 71:\n"\n 'gmtinfo [ERROR]: Cannot find file bogus-data.bla') == ("Module 'info' failed with status code 71:\n"\n 'gmtinfo [ERROR]: Error for input file: No such file (bogus-data.bla)')
E Module 'info' failed with status code 71:
E - gmtinfo [ERROR]: Error for input file: No such file (bogus-data.bla)
E + gmtinfo [ERROR]: Cannot find file bogus-data.bla
/Users/locupe/anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_clib.py:167: AssertionError
---------------------------------------------------------------------------------------------------------------------- Captured stderr call -----------------------------------------------------------------------------------------------------------------------
gmtinfo [ERROR]: Cannot find file bogus-data.bla
_______________________________________________________________________________________________________________________ test_coast_iceland ________________________________________________________________________________________________________________________
Error: Image files did not match.
RMS Value: 2.1592998456264336
Expected:
/var/folders/_3/9z9zj5090_b341bkc7cw74cr0000gq/T/tmpxcaci3oz/baseline-test_coast_iceland.png
Actual:
/var/folders/_3/9z9zj5090_b341bkc7cw74cr0000gq/T/tmpxcaci3oz/test_coast_iceland.png
Difference:
/var/folders/_3/9z9zj5090_b341bkc7cw74cr0000gq/T/tmpxcaci3oz/test_coast_iceland-failed-diff.png
Tolerance:
2
________________________________________________________________________________________________________ test_colorbar_positioned_using_justification_code ________________________________________________________________________________________________________
Error: Image files did not match.
RMS Value: 15.679802537698418
Expected:
/var/folders/_3/9z9zj5090_b341bkc7cw74cr0000gq/T/tmpy4ttafin/baseline-test_colorbar_positioned_using_justification_code.png
Actual:
/var/folders/_3/9z9zj5090_b341bkc7cw74cr0000gq/T/tmpy4ttafin/test_colorbar_positioned_using_justification_code.png
Difference:
/var/folders/_3/9z9zj5090_b341bkc7cw74cr0000gq/T/tmpy4ttafin/test_colorbar_positioned_using_justification_code-failed-diff.png
Tolerance:
2
___________________________________________________________________________________________________________________________ test_config ___________________________________________________________________________________________________________________________
Error: Image files did not match.
RMS Value: 7.013266407484722
Expected:
/var/folders/_3/9z9zj5090_b341bkc7cw74cr0000gq/T/tmplh3taghh/baseline-test_config.png
Actual:
/var/folders/_3/9z9zj5090_b341bkc7cw74cr0000gq/T/tmplh3taghh/test_config.png
Difference:
/var/folders/_3/9z9zj5090_b341bkc7cw74cr0000gq/T/tmplh3taghh/test_config-failed-diff.png
Tolerance:
2
______________________________________________________________________________________________________________________ test_config_font_one _______________________________________________________________________________________________________________________
Error: Image dimensions did not match.
Expected shape: (1526, 1540)
/var/folders/_3/9z9zj5090_b341bkc7cw74cr0000gq/T/tmpd_syom1_/baseline-test_config_font_one.png
Actual shape: (1531, 1545)
/var/folders/_3/9z9zj5090_b341bkc7cw74cr0000gq/T/tmpd_syom1_/test_config_font_one.png
_____________________________________________________________________________________________________________________ test_config_font_annot ______________________________________________________________________________________________________________________
Error: Image dimensions did not match.
Expected shape: (1161, 1168)
/var/folders/_3/9z9zj5090_b341bkc7cw74cr0000gq/T/tmpwi_h0o1v/baseline-test_config_font_annot.png
Actual shape: (1165, 1172)
/var/folders/_3/9z9zj5090_b341bkc7cw74cr0000gq/T/tmpwi_h0o1v/test_config_font_annot.png
______________________________________________________________________________________________________________________ test_earth_relief_01d ______________________________________________________________________________________________________________________
def test_earth_relief_01d():
"Test some properties of the earth relief 01d data"
data = load_earth_relief(resolution="01d")
> assert data.shape == (181, 361)
E assert (180, 360) == (181, 361)
E At index 0 diff: 180 != 181
E Full diff:
E - (181, 361)
E ? ^ ^
E + (180, 360)
E ? ^ ^
/Users/locupe/anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_datasets.py:74: AssertionError
______________________________________________________________________________________________________________________ test_earth_relief_30m ______________________________________________________________________________________________________________________
def test_earth_relief_30m():
"Test some properties of the earth relief 30m data"
data = load_earth_relief(resolution="30m")
> assert data.shape == (361, 721)
E assert (360, 720) == (361, 721)
E At index 0 diff: 360 != 361
E Full diff:
E - (361, 721)
E ? ^ ^
E + (360, 720)
E ? ^ ^
/Users/locupe/anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_datasets.py:84: AssertionError
---------------------------------------------------------------------------------------------------------------------- Captured stderr call -----------------------------------------------------------------------------------------------------------------------
gmtwhich [NOTICE]: Remote data courtesy of GMT data server OCEANIA [https://oceania.generic-mapping-tools.org]
gmtwhich [NOTICE]: Earth Relief at 30x30 arc minutes from Gaussian Cartesian filtering (55 km fullwidth) of SRTM15+V2.1 [Tozer et al., 2019].
gmtwhich [NOTICE]: -> Download grid file [395K]: earth_relief_30m_p.grd
_________________________________________________________________________________________________________________________ test_grdcontour _________________________________________________________________________________________________________________________
Error: Image dimensions did not match.
Expected shape: (1795, 900)
/var/folders/_3/9z9zj5090_b341bkc7cw74cr0000gq/T/tmpnta9dz9d/baseline-test_grdcontour.png
Actual shape: (1794, 902)
/var/folders/_3/9z9zj5090_b341bkc7cw74cr0000gq/T/tmpnta9dz9d/test_grdcontour.png
_____________________________________________________________________________________________________________________ test_grdcontour_labels ______________________________________________________________________________________________________________________
Error: Image dimensions did not match.
Expected shape: (1795, 900)
/var/folders/_3/9z9zj5090_b341bkc7cw74cr0000gq/T/tmp7dtpwm5q/baseline-test_grdcontour_labels.png
Actual shape: (1794, 902)
/var/folders/_3/9z9zj5090_b341bkc7cw74cr0000gq/T/tmp7dtpwm5q/test_grdcontour_labels.png
______________________________________________________________________________________________________________________ test_grdcontour_slice ______________________________________________________________________________________________________________________
Error: Image dimensions did not match.
Expected shape: (1801, 313)
/var/folders/_3/9z9zj5090_b341bkc7cw74cr0000gq/T/tmpxyc84zg6/baseline-test_grdcontour_slice.png
Actual shape: (1801, 309)
/var/folders/_3/9z9zj5090_b341bkc7cw74cr0000gq/T/tmpxyc84zg6/test_grdcontour_slice.png
______________________________________________________________________________________________________________________ test_grdcontour_file _______________________________________________________________________________________________________________________
Error: Image dimensions did not match.
Expected shape: (3000, 1652)
/var/folders/_3/9z9zj5090_b341bkc7cw74cr0000gq/T/tmpyik9d1ae/baseline-test_grdcontour_file.png
Actual shape: (2994, 1652)
/var/folders/_3/9z9zj5090_b341bkc7cw74cr0000gq/T/tmpyik9d1ae/test_grdcontour_file.png
_____________________________________________________________________________________________________________ test_grdcontour_interval_file_full_opts _____________________________________________________________________________________________________________
Error: Image files did not match.
RMS Value: 57.021765942941926
Expected:
/var/folders/_3/9z9zj5090_b341bkc7cw74cr0000gq/T/tmppcai0yyq/baseline-test_grdcontour_interval_file_full_opts.png
Actual:
/var/folders/_3/9z9zj5090_b341bkc7cw74cr0000gq/T/tmppcai0yyq/test_grdcontour_interval_file_full_opts.png
Difference:
/var/folders/_3/9z9zj5090_b341bkc7cw74cr0000gq/T/tmppcai0yyq/test_grdcontour_interval_file_full_opts-failed-diff.png
Tolerance:
2
__________________________________________________________________________________________________________________ test_grdcut_file_in_file_out ___________________________________________________________________________________________________________________
def test_grdcut_file_in_file_out():
"grduct an input grid file, and output to a grid file"
with GMTTempFile(suffix=".nc") as tmpfile:
result = grdcut("@earth_relief_01d", outgrid=tmpfile.name, region="0/180/0/90")
assert result is None # return value is None
assert os.path.exists(path=tmpfile.name) # check that outgrid exists
result = grdinfo(tmpfile.name, C=True)
> assert result == "0 180 0 90 -8592.5 5559 1 1 181 91\n"
E AssertionError: assert '0 180 0 90 -8182 5651.5 1 1 180 90 1 1\n' == '0 180 0 90 -8592.5 5559 1 1 181 91\n'
E - 0 180 0 90 -8592.5 5559 1 1 181 91
E + 0 180 0 90 -8182 5651.5 1 1 180 90 1 1
/Users/locupe/anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_grdcut.py:22: AssertionError
________________________________________________________________________________________________________________ test_grdcut_file_in_dataarray_out ________________________________________________________________________________________________________________
def test_grdcut_file_in_dataarray_out():
"grdcut an input grid file, and output as DataArray"
outgrid = grdcut("@earth_relief_01d", region="0/180/0/90")
assert isinstance(outgrid, xr.DataArray)
# check information of the output grid
# the '@earth_relief_01d' is in pixel registration, so the grid range is
# not exactly 0/180/0/90
> assert outgrid.coords["lat"].data.min() == 0.0
E assert 0.5 == 0.0
E +0.5
E -0.0
/Users/locupe/anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_grdcut.py:32: AssertionError
__________________________________________________________________________________________________________________________ test_grdimage __________________________________________________________________________________________________________________________
Error: Image dimensions did not match.
Expected shape: (1800, 900)
/var/folders/_3/9z9zj5090_b341bkc7cw74cr0000gq/T/tmpyab_pm_9/baseline-test_grdimage.png
Actual shape: (1800, 902)
/var/folders/_3/9z9zj5090_b341bkc7cw74cr0000gq/T/tmpyab_pm_9/test_grdimage.png
_______________________________________________________________________________________________________________________ test_grdimage_slice _______________________________________________________________________________________________________________________
Error: Image dimensions did not match.
Expected shape: (1800, 313)
/var/folders/_3/9z9zj5090_b341bkc7cw74cr0000gq/T/tmp13aadxic/baseline-test_grdimage_slice.png
Actual shape: (1800, 309)
/var/folders/_3/9z9zj5090_b341bkc7cw74cr0000gq/T/tmp13aadxic/test_grdimage_slice.png
_______________________________________________________________________________________________________________________ test_grdimage_file ________________________________________________________________________________________________________________________
Error: Image files did not match.
RMS Value: 18.437474628436362
Expected:
/var/folders/_3/9z9zj5090_b341bkc7cw74cr0000gq/T/tmpqf2fju2f/baseline-test_grdimage_file.png
Actual:
/var/folders/_3/9z9zj5090_b341bkc7cw74cr0000gq/T/tmpqf2fju2f/test_grdimage_file.png
Difference:
/var/folders/_3/9z9zj5090_b341bkc7cw74cr0000gq/T/tmpqf2fju2f/test_grdimage_file-failed-diff.png
Tolerance:
2
__________________________________________________________________________________________________________________________ test_grdinfo ___________________________________________________________________________________________________________________________
def test_grdinfo():
"Make sure grd info works as expected"
grid = load_earth_relief()
result = grdinfo(grid, L=0, C="n")
> assert result.strip() == "-180 180 -90 90 -8592.5 5559 1 1 361 181"
E AssertionError: assert '-179.5 179.5 -89.5 89.5 -8182 5651.5 1 1 360 180 0 0' == '-180 180 -90 90 -8592.5 5559 1 1 361 181'
E - -180 180 -90 90 -8592.5 5559 1 1 361 181
E + -179.5 179.5 -89.5 89.5 -8182 5651.5 1 1 360 180 0 0
/Users/locupe/anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_grdinfo.py:16: AssertionError
________________________________________________________________________________________________________________________ test_grdinfo_file ________________________________________________________________________________________________________________________
def test_grdinfo_file():
"Test grdinfo with file input"
result = grdinfo("@earth_relief_01d", L=0, C="n")
> assert result.strip() == "-180 180 -90 90 -8592.5 5559 1 1 361 181"
E AssertionError: assert '-180 180 -90 90 -8182 5651.5 1 1 360 180 1 1' == '-180 180 -90 90 -8592.5 5559 1 1 361 181'
E - -180 180 -90 90 -8592.5 5559 1 1 361 181
E ? ^^ ----- ^
E + -180 180 -90 90 -8182 5651.5 1 1 360 180 1 1
E ? ++++ ^^^ ^ ++ ++
/Users/locupe/anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_grdinfo.py:22: AssertionError
___________________________________________________________________________________________________________ test_grdtrack_input_dataframe_and_dataarray ___________________________________________________________________________________________________________
def test_grdtrack_input_dataframe_and_dataarray():
"""
Run grdtrack by passing in a pandas.DataFrame and xarray.DataArray as
inputs
"""
dataframe = load_ocean_ridge_points()
dataarray = load_earth_relief().sel(lat=slice(-49, -42), lon=slice(-118, -107))
output = grdtrack(points=dataframe, grid=dataarray, newcolname="bathymetry")
assert isinstance(output, pd.DataFrame)
assert output.columns.to_list() == ["longitude", "latitude", "bathymetry"]
> npt.assert_allclose(output.iloc[0], [-110.9536, -42.2489, -2797.394987])
E AssertionError:
E Not equal to tolerance rtol=1e-07, atol=0
E
E Mismatched elements: 3 / 3 (100%)
E Max absolute difference: 4050953.226623
E Max relative difference: 1448.11628156
E x: array([-1.117309e+02, -4.317060e+01, -4.053751e+06])
E y: array([ -110.9536 , -42.2489 , -2797.394987])
/Users/locupe/anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_grdtrack.py:31: AssertionError
---------------------------------------------------------------------------------------------------------------------- Captured stderr call -----------------------------------------------------------------------------------------------------------------------
grdtrack [WARNING]: Some input points were outside the grid domain(s).
____________________________________________________________________________________________________________ test_grdtrack_input_csvfile_and_dataarray ____________________________________________________________________________________________________________
def test_grdtrack_input_csvfile_and_dataarray():
"""
Run grdtrack by passing in a csvfile and xarray.DataArray as inputs
"""
csvfile = which("@ridge.txt", download="c")
dataarray = load_earth_relief().sel(lat=slice(-49, -42), lon=slice(-118, -107))
try:
output = grdtrack(points=csvfile, grid=dataarray, outfile=TEMP_TRACK)
assert output is None # check that output is None since outfile is set
assert os.path.exists(path=TEMP_TRACK) # check that outfile exists at path
track = pd.read_csv(TEMP_TRACK, sep="\t", header=None, comment=">")
> npt.assert_allclose(track.iloc[0], [-110.9536, -42.2489, -2797.394987])
E AssertionError:
E Not equal to tolerance rtol=1e-07, atol=0
E
E Mismatched elements: 3 / 3 (100%)
E Max absolute difference: 3.77560601e+22
E Max relative difference: 1.34968642e+19
E x: array([-1.117309e+02, -4.317060e+01, -3.775606e+22])
E y: array([ -110.9536 , -42.2489 , -2797.394987])
/Users/locupe/anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_grdtrack.py:49: AssertionError
---------------------------------------------------------------------------------------------------------------------- Captured stderr call -----------------------------------------------------------------------------------------------------------------------
grdtrack [WARNING]: Some input points were outside the grid domain(s).
____________________________________________________________________________________________________________ test_grdtrack_input_dataframe_and_ncfile _____________________________________________________________________________________________________________
def test_grdtrack_input_dataframe_and_ncfile():
"""
Run grdtrack by passing in a pandas.DataFrame and netcdf file as inputs
"""
dataframe = load_ocean_ridge_points()
ncfile = which("@earth_relief_01d", download="c")
output = grdtrack(points=dataframe, grid=ncfile, newcolname="bathymetry")
assert isinstance(output, pd.DataFrame)
assert output.columns.to_list() == ["longitude", "latitude", "bathymetry"]
> npt.assert_allclose(output.iloc[0], [-32.2971, 37.4118, -1686.748899])
E AssertionError:
E Not equal to tolerance rtol=1e-07, atol=0
E
E Mismatched elements: 1 / 3 (33.3%)
E Max absolute difference: 252.99934649
E Max relative difference: 0.1499923
E x: array([ -32.2971 , 37.4118 , -1939.748245])
E y: array([ -32.2971 , 37.4118 , -1686.748899])
/Users/locupe/anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_grdtrack.py:66: AssertionError
_____________________________________________________________________________________________________________ test_grdtrack_input_csvfile_and_ncfile ______________________________________________________________________________________________________________
def test_grdtrack_input_csvfile_and_ncfile():
"""
Run grdtrack by passing in a csvfile and netcdf file as inputs
"""
csvfile = which("@ridge.txt", download="c")
ncfile = which("@earth_relief_01d", download="c")
try:
output = grdtrack(points=csvfile, grid=ncfile, outfile=TEMP_TRACK)
assert output is None # check that output is None since outfile is set
assert os.path.exists(path=TEMP_TRACK) # check that outfile exists at path
track = pd.read_csv(TEMP_TRACK, sep="\t", header=None, comment=">")
> npt.assert_allclose(track.iloc[0], [-32.2971, 37.4118, -1686.748899])
E AssertionError:
E Not equal to tolerance rtol=1e-07, atol=0
E
E Mismatched elements: 1 / 3 (33.3%)
E Max absolute difference: 252.99934649
E Max relative difference: 0.1499923
E x: array([ -32.2971 , 37.4118 , -1939.748245])
E y: array([ -32.2971 , 37.4118 , -1686.748899])
/Users/locupe/anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_grdtrack.py:84: AssertionError
___________________________________________________________________________________________________________________ test_grdview_grid_dataarray ___________________________________________________________________________________________________________________
Error: Image files did not match.
RMS Value: 40.16190604322967
Expected:
/var/folders/_3/9z9zj5090_b341bkc7cw74cr0000gq/T/tmpn46juxbg/baseline-test_grdview_grid_dataarray.png
Actual:
/var/folders/_3/9z9zj5090_b341bkc7cw74cr0000gq/T/tmpn46juxbg/test_grdview_grid_dataarray.png
Difference:
/var/folders/_3/9z9zj5090_b341bkc7cw74cr0000gq/T/tmpn46juxbg/test_grdview_grid_dataarray-failed-diff.png
Tolerance:
2
____________________________________________________________________________________________________________ test_grdview_grid_file_with_region_subset ____________________________________________________________________________________________________________
Error: Image dimensions did not match.
Expected shape: (1772, 1772)
/var/folders/_3/9z9zj5090_b341bkc7cw74cr0000gq/T/tmptmasslyu/baseline-test_grdview_grid_file_with_region_subset.png
Actual shape: (1772, 760)
/var/folders/_3/9z9zj5090_b341bkc7cw74cr0000gq/T/tmptmasslyu/test_grdview_grid_file_with_region_subset.png
__________________________________________________________________________________________________________________ test_grdview_with_perspective __________________________________________________________________________________________________________________
Error: Image files did not match.
RMS Value: 49.520272872052345
Expected:
/var/folders/_3/9z9zj5090_b341bkc7cw74cr0000gq/T/tmpe49fxcp9/baseline-test_grdview_with_perspective.png
Actual:
/var/folders/_3/9z9zj5090_b341bkc7cw74cr0000gq/T/tmpe49fxcp9/test_grdview_with_perspective.png
Difference:
/var/folders/_3/9z9zj5090_b341bkc7cw74cr0000gq/T/tmpe49fxcp9/test_grdview_with_perspective-failed-diff.png
Tolerance:
2
____________________________________________________________________________________________________________ test_grdview_with_perspective_and_zscale _____________________________________________________________________________________________________________
Error: Image dimensions did not match.
Expected shape: (2507, 1359)
/var/folders/_3/9z9zj5090_b341bkc7cw74cr0000gq/T/tmpbak1ehxa/baseline-test_grdview_with_perspective_and_zscale.png
Actual shape: (2507, 1341)
/var/folders/_3/9z9zj5090_b341bkc7cw74cr0000gq/T/tmpbak1ehxa/test_grdview_with_perspective_and_zscale.png
_____________________________________________________________________________________________________________ test_grdview_with_perspective_and_zsize _____________________________________________________________________________________________________________
Error: Image dimensions did not match.
Expected shape: (2507, 1566)
/var/folders/_3/9z9zj5090_b341bkc7cw74cr0000gq/T/tmpcvze31pd/baseline-test_grdview_with_perspective_and_zsize.png
Actual shape: (2507, 1555)
/var/folders/_3/9z9zj5090_b341bkc7cw74cr0000gq/T/tmpcvze31pd/test_grdview_with_perspective_and_zsize.png
______________________________________________________________________________________________________________ test_grdview_with_cmap_for_image_plot ______________________________________________________________________________________________________________
Error: Image files did not match.
RMS Value: 82.90239290987333
Expected:
/var/folders/_3/9z9zj5090_b341bkc7cw74cr0000gq/T/tmphiwwtef5/baseline-test_grdview_with_cmap_for_image_plot.png
Actual:
/var/folders/_3/9z9zj5090_b341bkc7cw74cr0000gq/T/tmphiwwtef5/test_grdview_with_cmap_for_image_plot.png
Difference:
/var/folders/_3/9z9zj5090_b341bkc7cw74cr0000gq/T/tmphiwwtef5/test_grdview_with_cmap_for_image_plot-failed-diff.png
Tolerance:
2
_______________________________________________________________________________________________________ test_grdview_with_cmap_for_surface_monochrome_plot ________________________________________________________________________________________________________
Error: Image files did not match.
RMS Value: 71.67456522119535
Expected:
/var/folders/_3/9z9zj5090_b341bkc7cw74cr0000gq/T/tmpumox916_/baseline-test_grdview_with_cmap_for_surface_monochrome_plot.png
Actual:
/var/folders/_3/9z9zj5090_b341bkc7cw74cr0000gq/T/tmpumox916_/test_grdview_with_cmap_for_surface_monochrome_plot.png
Difference:
/var/folders/_3/9z9zj5090_b341bkc7cw74cr0000gq/T/tmpumox916_/test_grdview_with_cmap_for_surface_monochrome_plot-failed-diff.png
Tolerance:
2
_______________________________________________________________________________________________________ test_grdview_with_cmap_for_perspective_surface_plot _______________________________________________________________________________________________________
Error: Image dimensions did not match.
Expected shape: (2506, 1358)
/var/folders/_3/9z9zj5090_b341bkc7cw74cr0000gq/T/tmpvnf10u9h/baseline-test_grdview_with_cmap_for_perspective_surface_plot.png
Actual shape: (2506, 1340)
/var/folders/_3/9z9zj5090_b341bkc7cw74cr0000gq/T/tmpvnf10u9h/test_grdview_with_cmap_for_perspective_surface_plot.png
_____________________________________________________________________________________________________________________ test_grdview_on_a_plane _____________________________________________________________________________________________________________________
Error: Image dimensions did not match.
Expected shape: (2509, 1675)
/var/folders/_3/9z9zj5090_b341bkc7cw74cr0000gq/T/tmp5mi614b3/baseline-test_grdview_on_a_plane.png
Actual shape: (2509, 1691)
/var/folders/_3/9z9zj5090_b341bkc7cw74cr0000gq/T/tmp5mi614b3/test_grdview_on_a_plane.png
_______________________________________________________________________________________________________ test_grdview_on_a_plane_with_colored_frontal_facade _______________________________________________________________________________________________________
Error: Image dimensions did not match.
Expected shape: (2509, 1676)
/var/folders/_3/9z9zj5090_b341bkc7cw74cr0000gq/T/tmp_ku0tx8u/baseline-test_grdview_on_a_plane_with_colored_frontal_facade.png
Actual shape: (2509, 1692)
/var/folders/_3/9z9zj5090_b341bkc7cw74cr0000gq/T/tmp_ku0tx8u/test_grdview_on_a_plane_with_colored_frontal_facade.png
__________________________________________________________________________________________________________ test_grdview_with_perspective_and_zaxis_frame __________________________________________________________________________________________________________
Error: Image dimensions did not match.
Expected shape: (2566, 1636)
/var/folders/_3/9z9zj5090_b341bkc7cw74cr0000gq/T/tmpokoupyvh/baseline-test_grdview_with_perspective_and_zaxis_frame.png
Actual shape: (2566, 1626)
/var/folders/_3/9z9zj5090_b341bkc7cw74cr0000gq/T/tmpokoupyvh/test_grdview_with_perspective_and_zaxis_frame.png
________________________________________________________________________________________________________ test_grdview_surface_plot_styled_with_contourpen _________________________________________________________________________________________________________
Error: Image files did not match.
RMS Value: 95.81921012966873
Expected:
/var/folders/_3/9z9zj5090_b341bkc7cw74cr0000gq/T/tmpeipjeyk9/baseline-test_grdview_surface_plot_styled_with_contourpen.png
Actual:
/var/folders/_3/9z9zj5090_b341bkc7cw74cr0000gq/T/tmpeipjeyk9/test_grdview_surface_plot_styled_with_contourpen.png
Difference:
/var/folders/_3/9z9zj5090_b341bkc7cw74cr0000gq/T/tmpeipjeyk9/test_grdview_surface_plot_styled_with_contourpen-failed-diff.png
Tolerance:
2
_______________________________________________________________________________________________________ test_grdview_surface_mesh_plot_styled_with_meshpen ________________________________________________________________________________________________________
Error: Image files did not match.
RMS Value: 95.72615837162644
Expected:
/var/folders/_3/9z9zj5090_b341bkc7cw74cr0000gq/T/tmph7da99u3/baseline-test_grdview_surface_mesh_plot_styled_with_meshpen.png
Actual:
/var/folders/_3/9z9zj5090_b341bkc7cw74cr0000gq/T/tmph7da99u3/test_grdview_surface_mesh_plot_styled_with_meshpen.png
Difference:
/var/folders/_3/9z9zj5090_b341bkc7cw74cr0000gq/T/tmph7da99u3/test_grdview_surface_mesh_plot_styled_with_meshpen-failed-diff.png
Tolerance:
2
__________________________________________________________________________________________________________ test_grdview_on_a_plane_styled_with_facadepen __________________________________________________________________________________________________________
Error: Image dimensions did not match.
Expected shape: (2508, 1674)
/var/folders/_3/9z9zj5090_b341bkc7cw74cr0000gq/T/tmp1ghut5fh/baseline-test_grdview_on_a_plane_styled_with_facadepen.png
Actual shape: (2508, 1690)
/var/folders/_3/9z9zj5090_b341bkc7cw74cr0000gq/T/tmp1ghut5fh/test_grdview_on_a_plane_styled_with_facadepen.png
________________________________________________________________________________________________________________ test_grdview_drapegrid_dataarray _________________________________________________________________________________________________________________
Error: Image files did not match.
RMS Value: 61.18795003636725
Expected:
/var/folders/_3/9z9zj5090_b341bkc7cw74cr0000gq/T/tmp5vncaj_d/baseline-test_grdview_drapegrid_dataarray.png
Actual:
/var/folders/_3/9z9zj5090_b341bkc7cw74cr0000gq/T/tmp5vncaj_d/test_grdview_drapegrid_dataarray.png
Difference:
/var/folders/_3/9z9zj5090_b341bkc7cw74cr0000gq/T/tmp5vncaj_d/test_grdview_drapegrid_dataarray-failed-diff.png
Tolerance:
2
_______________________________________________________________________________________________________________________ test_legend_entries _______________________________________________________________________________________________________________________
Error: Image files did not match.
RMS Value: 3.7333930043449666
Expected:
/var/folders/_3/9z9zj5090_b341bkc7cw74cr0000gq/T/tmpuphow1kw/baseline-test_legend_entries.png
Actual:
/var/folders/_3/9z9zj5090_b341bkc7cw74cr0000gq/T/tmpuphow1kw/test_legend_entries.png
Difference:
/var/folders/_3/9z9zj5090_b341bkc7cw74cr0000gq/T/tmpuphow1kw/test_legend_entries-failed-diff.png
Tolerance:
2
____________________________________________________________________________________________________________________ test_makecpt_to_plot_grid ____________________________________________________________________________________________________________________
Error: Image dimensions did not match.
Expected shape: (1800, 900)
/var/folders/_3/9z9zj5090_b341bkc7cw74cr0000gq/T/tmp8iu7mk5f/baseline-test_makecpt_to_plot_grid.png
Actual shape: (1800, 902)
/var/folders/_3/9z9zj5090_b341bkc7cw74cr0000gq/T/tmp8iu7mk5f/test_makecpt_to_plot_grid.png
__________________________________________________________________________________________________________ test_makecpt_to_plot_grid_scaled_with_series ___________________________________________________________________________________________________________
Error: Image dimensions did not match.
Expected shape: (1800, 900)
/var/folders/_3/9z9zj5090_b341bkc7cw74cr0000gq/T/tmpari24ju5/baseline-test_makecpt_to_plot_grid_scaled_with_series.png
Actual shape: (1800, 902)
/var/folders/_3/9z9zj5090_b341bkc7cw74cr0000gq/T/tmpari24ju5/test_makecpt_to_plot_grid_scaled_with_series.png
______________________________________________________________________________________________________________ test_makecpt_truncated_to_zlow_zhigh _______________________________________________________________________________________________________________
Error: Image dimensions did not match.
Expected shape: (1800, 900)
/var/folders/_3/9z9zj5090_b341bkc7cw74cr0000gq/T/tmpes95r11c/baseline-test_makecpt_truncated_to_zlow_zhigh.png
Actual shape: (1800, 902)
/var/folders/_3/9z9zj5090_b341bkc7cw74cr0000gq/T/tmpes95r11c/test_makecpt_truncated_to_zlow_zhigh.png
_______________________________________________________________________________________________________________ test_makecpt_truncated_at_zlow_only _______________________________________________________________________________________________________________
Error: Image dimensions did not match.
Expected shape: (1800, 900)
/var/folders/_3/9z9zj5090_b341bkc7cw74cr0000gq/T/tmpzi1dbpx5/baseline-test_makecpt_truncated_at_zlow_only.png
Actual shape: (1800, 902)
/var/folders/_3/9z9zj5090_b341bkc7cw74cr0000gq/T/tmpzi1dbpx5/test_makecpt_truncated_at_zlow_only.png
______________________________________________________________________________________________________________ test_makecpt_truncated_at_zhigh_only _______________________________________________________________________________________________________________
Error: Image dimensions did not match.
Expected shape: (1800, 900)
/var/folders/_3/9z9zj5090_b341bkc7cw74cr0000gq/T/tmp_w0sn3xo/baseline-test_makecpt_truncated_at_zhigh_only.png
Actual shape: (1800, 902)
/var/folders/_3/9z9zj5090_b341bkc7cw74cr0000gq/T/tmp_w0sn3xo/test_makecpt_truncated_at_zhigh_only.png
_________________________________________________________________________________________________________________ test_makecpt_reverse_color_only _________________________________________________________________________________________________________________
Error: Image dimensions did not match.
Expected shape: (1800, 900)
/var/folders/_3/9z9zj5090_b341bkc7cw74cr0000gq/T/tmpuae7cclp/baseline-test_makecpt_reverse_color_only.png
Actual shape: (1800, 902)
/var/folders/_3/9z9zj5090_b341bkc7cw74cr0000gq/T/tmpuae7cclp/test_makecpt_reverse_color_only.png
_________________________________________________________________________________________________________________ test_makecpt_reverse_zsign_only _________________________________________________________________________________________________________________
Error: Image dimensions did not match.
Expected shape: (1800, 900)
/var/folders/_3/9z9zj5090_b341bkc7cw74cr0000gq/T/tmptkwa_fbv/baseline-test_makecpt_reverse_zsign_only.png
Actual shape: (1800, 902)
/var/folders/_3/9z9zj5090_b341bkc7cw74cr0000gq/T/tmptkwa_fbv/test_makecpt_reverse_zsign_only.png
______________________________________________________________________________________________________________ test_makecpt_reverse_color_and_zsign _______________________________________________________________________________________________________________
Error: Image dimensions did not match.
Expected shape: (1800, 900)
/var/folders/_3/9z9zj5090_b341bkc7cw74cr0000gq/T/tmp2pe_d_o5/baseline-test_makecpt_reverse_color_and_zsign.png
Actual shape: (1800, 902)
/var/folders/_3/9z9zj5090_b341bkc7cw74cr0000gq/T/tmp2pe_d_o5/test_makecpt_reverse_color_and_zsign.png
_____________________________________________________________________________________________________________________ test_makecpt_continuous _____________________________________________________________________________________________________________________
Error: Image dimensions did not match.
Expected shape: (1800, 900)
/var/folders/_3/9z9zj5090_b341bkc7cw74cr0000gq/T/tmpdq63tcfv/baseline-test_makecpt_continuous.png
Actual shape: (1800, 902)
/var/folders/_3/9z9zj5090_b341bkc7cw74cr0000gq/T/tmpdq63tcfv/test_makecpt_continuous.png
===================================================================================================================== short test summary info =====================================================================================================================
FAILED clib/conversion.py::pygmt.clib.conversion.dataarray_to_matrix
FAILED clib/session.py::pygmt.clib.session.Session
FAILED clib/session.py::pygmt.clib.session.Session.virtualfile_from_grid
FAILED tests/test_basemap.py::test_basemap_polar
FAILED tests/test_clib.py::test_call_module_error_message - assert ("Module 'info' failed with status code 71:\n"\n 'gmtinfo [ERROR]: Cannot find file bogus-data.bla') == ("Module 'info' failed with status code 71:\n"\n 'gmtinfo [ERROR]: Error for input fi...
FAILED tests/test_coast.py::test_coast_iceland
FAILED tests/test_colorbar.py::test_colorbar_positioned_using_justification_code
FAILED tests/test_config.py::test_config
FAILED tests/test_config.py::test_config_font_one
FAILED tests/test_config.py::test_config_font_annot
FAILED tests/test_datasets.py::test_earth_relief_01d - assert (180, 360) == (181, 361)
FAILED tests/test_datasets.py::test_earth_relief_30m - assert (360, 720) == (361, 721)
FAILED tests/test_grdcontour.py::test_grdcontour
FAILED tests/test_grdcontour.py::test_grdcontour_labels
FAILED tests/test_grdcontour.py::test_grdcontour_slice
FAILED tests/test_grdcontour.py::test_grdcontour_file
FAILED tests/test_grdcontour.py::test_grdcontour_interval_file_full_opts
FAILED tests/test_grdcut.py::test_grdcut_file_in_file_out - AssertionError: assert '0 180 0 90 -8182 5651.5 1 1 180 90 1 1\n' == '0 180 0 90 -8592.5 5559 1 1 181 91\n'
FAILED tests/test_grdcut.py::test_grdcut_file_in_dataarray_out - assert 0.5 == 0.0
FAILED tests/test_grdimage.py::test_grdimage
FAILED tests/test_grdimage.py::test_grdimage_slice
FAILED tests/test_grdimage.py::test_grdimage_file
FAILED tests/test_grdinfo.py::test_grdinfo - AssertionError: assert '-179.5 179.5 -89.5 89.5 -8182 5651.5 1 1 360 180 0 0' == '-180 180 -90 90 -8592.5 5559 1 1 361 181'
FAILED tests/test_grdinfo.py::test_grdinfo_file - AssertionError: assert '-180 180 -90 90 -8182 5651.5 1 1 360 180 1 1' == '-180 180 -90 90 -8592.5 5559 1 1 361 181'
FAILED tests/test_grdtrack.py::test_grdtrack_input_dataframe_and_dataarray - AssertionError:
FAILED tests/test_grdtrack.py::test_grdtrack_input_csvfile_and_dataarray - AssertionError:
FAILED tests/test_grdtrack.py::test_grdtrack_input_dataframe_and_ncfile - AssertionError:
FAILED tests/test_grdtrack.py::test_grdtrack_input_csvfile_and_ncfile - AssertionError:
FAILED tests/test_grdview.py::test_grdview_grid_dataarray
FAILED tests/test_grdview.py::test_grdview_grid_file_with_region_subset
FAILED tests/test_grdview.py::test_grdview_with_perspective
FAILED tests/test_grdview.py::test_grdview_with_perspective_and_zscale
FAILED tests/test_grdview.py::test_grdview_with_perspective_and_zsize
FAILED tests/test_grdview.py::test_grdview_with_cmap_for_image_plot
FAILED tests/test_grdview.py::test_grdview_with_cmap_for_surface_monochrome_plot
FAILED tests/test_grdview.py::test_grdview_with_cmap_for_perspective_surface_plot
FAILED tests/test_grdview.py::test_grdview_on_a_plane
FAILED tests/test_grdview.py::test_grdview_on_a_plane_with_colored_frontal_facade
FAILED tests/test_grdview.py::test_grdview_with_perspective_and_zaxis_frame
FAILED tests/test_grdview.py::test_grdview_surface_plot_styled_with_contourpen
FAILED tests/test_grdview.py::test_grdview_surface_mesh_plot_styled_with_meshpen
FAILED tests/test_grdview.py::test_grdview_on_a_plane_styled_with_facadepen
FAILED tests/test_grdview.py::test_grdview_drapegrid_dataarray
FAILED tests/test_legend.py::test_legend_entries
FAILED tests/test_makecpt.py::test_makecpt_to_plot_grid
FAILED tests/test_makecpt.py::test_makecpt_to_plot_grid_scaled_with_series
FAILED tests/test_makecpt.py::test_makecpt_truncated_to_zlow_zhigh
FAILED tests/test_makecpt.py::test_makecpt_truncated_at_zlow_only
FAILED tests/test_makecpt.py::test_makecpt_truncated_at_zhigh_only
FAILED tests/test_makecpt.py::test_makecpt_reverse_color_only
FAILED tests/test_makecpt.py::test_makecpt_reverse_zsign_only
FAILED tests/test_makecpt.py::test_makecpt_reverse_color_and_zsign
FAILED tests/test_makecpt.py::test_makecpt_continuous
====================================================================================================== 53 failed, 212 passed, 1 skipped in 94.31s (0:01:34) =======================================================================================================
---------------------------------------------------------------------------
AssertionError Traceback (most recent call last)
<ipython-input-2-3b88ed9e84c1> in <module>
----> 1 pygmt.test()
~/anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/__init__.py in test(doctest, verbose, coverage, figures)
185 args.append(package)
186 status = pytest.main(args)
--> 187 assert status == 0, "Some tests have failed."
AssertionError: Some tests have failed.
System information
Please paste the output of python -c "import pygmt; pygmt.show_versions()"
:
python -c "import pygmt; pygmt.show_versions()" ✭ 14:56:44
PyGMT information:
version: v0.1.2
System information:
python: 3.8.3 | packaged by conda-forge | (default, Jun 1 2020, 17:21:09) [Clang 9.0.1 ]
executable: /Users/locupe/anaconda2/envs/pygmt/bin/python
machine: macOS-10.15.5-x86_64-i386-64bit
Dependency information:
numpy: 1.18.5
pandas: 1.0.5
xarray: 0.15.1
netCDF4: 1.5.3
packaging: 20.4
ghostscript: 9.22
gmt: 6.1.0
GMT library information:
binary dir: /Users/locupe/anaconda2/envs/pygmt/bin
cores: 12
grid layout: rows
library path: /Users/locupe/anaconda2/envs/pygmt/lib/libgmt.dylib
padding: 2
plugin dir: /Users/locupe/anaconda2/envs/pygmt/lib/gmt/plugins
share dir: /Users/locupe/anaconda2/envs/pygmt/share/gmt
version: 6.1.0
Issue Analytics
- State:
- Created 3 years ago
- Comments:7 (6 by maintainers)
Top Results From Across the Web
Changelog - PyGMT
Update GMT Dev Tests workflow to test on macOS-12 and ubuntu-22.04 (#1918) ... Let pygmt.show_versions() report geopandas version (#1846).
Read more >About pygmt.test() - GMT Community Forum
When I tested my installation by running “pygmt.test()” command, ... Session FAILED anaconda3/envs/pygmt/lib/python3.8/site-packages/pygmt/ ...
Read more >Release PyGMT 0.1.2 · Issue #501 - GitHub
WIP: Add a separate CI job for testing GMT master branch #462 Test GMT master branch. There are still tests failing due to...
Read more >GMT tutorial for beginners (codes included) - Earth Inversion
For readers interested in GMT 6, I recommend beginners to get started with pyGMT. Contents. How to install GMT. Requirements: Examples: Linear ...
Read more >GMT 中文手册v6.1
gmt grdtrack -R101/108/35/42 -G@earth_relief_06m CN-faults.gmt > faults.xyz ... echo 5 5 | gmt plot -JX10c/10c -R0/10/0/10 -Baf -Sc4c -Gfill -pdf test.
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Great thank you I will explore pygmt for a little bit before asking new features 😄
Great! Thank you for your work on this. I will give it another try when I am back on pygmt!
Le sam. 12 sept. 2020 à 22:31, Wei Ji notifications@github.com a écrit :