Skip to content

*pygmt.test()* test failures on GMT 6.1.0 #508

Description

@lhoupert

Description 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]: importpygmtIn [2]: pygmt.test() 

53 tests failed, 212 passed, 1 skipped

Full error message

Click to expand!
In [2]: pygmt.test() PyGMTinformation:
version: v0.1.2Systeminformation:
python: 3.8.3|packagedbyconda-forge| (default, Jun12020, 17:21:09) [Clang9.0.1 ]
executable: /Users/locupe/anaconda2/envs/pygmt/bin/pythonmachine: macOS-10.15.5-x86_64-i386-64bitDependencyinformation:
numpy: 1.18.5pandas: 1.0.5xarray: 0.15.1netCDF4: 1.5.3packaging: 20.4ghostscript: 9.22gmt: 6.1.0GMTlibraryinformation:
binarydir: /Users/locupe/anaconda2/envs/pygmt/bincores: 12gridlayout: rowslibrarypath: /Users/locupe/anaconda2/envs/pygmt/lib/libgmt.dylibpadding: 2plugindir: /Users/locupe/anaconda2/envs/pygmt/lib/gmt/pluginssharedir: /Users/locupe/anaconda2/envs/pygmt/share/gmtversion: 6.1.0=======================================================================================================================testsessionstarts=======================================================================================================================platformdarwin--Python3.8.3, pytest-5.4.3, py-1.9.0, pluggy-0.13.1--/Users/locupe/anaconda2/envs/pygmt/bin/pythoncachedir: .pytest_cacheMatplotlib: 3.2.2Freetype: 2.10.2rootdir: /Users/locupe/Dropbox/Work/Python/Repos_perso/analysis_eel_dataplugins: mpl-0.11collected266itemsbase_plotting.py::pygmt.base_plotting.BasePlotting._preprocess<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/base_plotting.pyPASSED [ 0%]
figure.py::pygmt.figure.Figure<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/figure.pyPASSED [ 0%]
clib/conversion.py::pygmt.clib.conversion.as_c_contiguous<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/clib/conversion.pyPASSED [ 1%]
clib/conversion.py::pygmt.clib.conversion.dataarray_to_matrix<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/clib/conversion.pyFAILED [ 1%]
clib/conversion.py::pygmt.clib.conversion.kwargs_to_ctypes_array<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/clib/conversion.pyPASSED [ 1%]
clib/conversion.py::pygmt.clib.conversion.vectors_to_arrays<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/clib/conversion.pyPASSED [ 2%]
clib/session.py::pygmt.clib.session.Session<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/clib/session.pyFAILED [ 2%]
clib/session.py::pygmt.clib.session.Session._check_dtype_and_dim<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/clib/session.pyPASSED [ 3%]
clib/session.py::pygmt.clib.session.Session.extract_region<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/clib/session.pyPASSED [ 3%]
clib/session.py::pygmt.clib.session.Session.get_libgmt_func<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/clib/session.pyPASSED [ 3%]
clib/session.py::pygmt.clib.session.Session.open_virtual_file<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/clib/session.pyPASSED [ 4%]
clib/session.py::pygmt.clib.session.Session.virtualfile_from_grid<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/clib/session.pyFAILED [ 4%]
clib/session.py::pygmt.clib.session.Session.virtualfile_from_matrix<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/clib/session.pyPASSED [ 4%]
clib/session.py::pygmt.clib.session.Session.virtualfile_from_vectors<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/clib/session.pyPASSED [ 5%]
datasets/earth_relief.py::pygmt.datasets.earth_relief._is_valid_resolution<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/datasets/earth_relief.pyPASSED [ 5%]
datasets/earth_relief.py::pygmt.datasets.earth_relief._shape_from_resolution<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/datasets/earth_relief.pyPASSED [ 6%]
helpers/decorators.py::pygmt.helpers.decorators.fmt_docstring<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/helpers/decorators.pyPASSED [ 6%]
helpers/decorators.py::pygmt.helpers.decorators.kwargs_to_strings<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/helpers/decorators.pyPASSED [ 6%]
helpers/decorators.py::pygmt.helpers.decorators.use_alias<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/helpers/decorators.pyPASSED [ 7%]
helpers/tempfile.py::pygmt.helpers.tempfile.GMTTempFile<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/helpers/tempfile.pyPASSED [ 7%]
helpers/utils.py::pygmt.helpers.utils.build_arg_string<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/helpers/utils.pyPASSED [ 7%]
helpers/utils.py::pygmt.helpers.utils.data_kind<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/helpers/utils.pyPASSED [ 8%]
helpers/utils.py::pygmt.helpers.utils.dummy_context<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/helpers/utils.pyPASSED [ 8%]
helpers/utils.py::pygmt.helpers.utils.is_nonstr_iter<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/helpers/utils.pyPASSED [ 9%]
tests/test_basemap.py::test_basemap_required_args<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_basemap.pyPASSED [ 9%]
tests/test_basemap.py::test_basemap<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_basemap.pyPASSED [ 9%]
tests/test_basemap.py::test_basemap_list_region<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_basemap.pyPASSED [ 10%]
tests/test_basemap.py::test_basemap_loglog<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_basemap.pyPASSED [ 10%]
tests/test_basemap.py::test_basemap_power_axis<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_basemap.pyPASSED [ 10%]
tests/test_basemap.py::test_basemap_polar<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_basemap.pyFAILED [ 11%]
tests/test_basemap.py::test_basemap_winkel_tripel<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_basemap.pyPASSED [ 11%]
tests/test_basemap.py::test_basemap_aliases<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_basemap.pyPASSED [ 12%]
tests/test_blockmedian.py::test_blockmedian_input_dataframe<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_blockmedian.pyPASSED [ 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.pyPASSED [ 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.pyPASSED [ 13%]
tests/test_blockmedian.py::test_blockmedian_input_filename<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_blockmedian.pyPASSED [ 13%]
tests/test_blockmedian.py::test_blockmedian_without_outfile_setting<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_blockmedian.pyPASSED [ 13%]
tests/test_clib.py::test_getitem<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_clib.pyPASSED [ 14%]
tests/test_clib.py::test_create_destroy_session<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_clib.pyPASSED [ 14%]
tests/test_clib.py::test_create_session_fails<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_clib.pyPASSED [ 15%]
tests/test_clib.py::test_destroy_session_fails<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_clib.pyPASSED [ 15%]
tests/test_clib.py::test_call_module<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_clib.pyPASSED [ 15%]
tests/test_clib.py::test_call_module_invalid_arguments<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_clib.pyPASSED [ 16%]
tests/test_clib.py::test_call_module_invalid_name<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_clib.pyPASSED [ 16%]
tests/test_clib.py::test_call_module_error_message<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_clib.pyFAILED [ 16%]
tests/test_clib.py::test_method_no_session<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_clib.pyPASSED [ 17%]
tests/test_clib.py::test_parse_constant_single<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_clib.pyPASSED [ 17%]
tests/test_clib.py::test_parse_constant_composite<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_clib.pyPASSED [ 18%]
tests/test_clib.py::test_parse_constant_fails<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_clib.pyPASSED [ 18%]
tests/test_clib.py::test_create_data_dataset<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_clib.pyPASSED [ 18%]
tests/test_clib.py::test_create_data_grid_dim<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_clib.pyPASSED [ 19%]
tests/test_clib.py::test_create_data_grid_range<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_clib.pyPASSED [ 19%]
tests/test_clib.py::test_create_data_fails<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_clib.pyPASSED [ 19%]
tests/test_clib.py::test_put_vector<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_clib.pyPASSED [ 20%]
tests/test_clib.py::test_put_vector_invalid_dtype<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_clib.pyPASSED [ 20%]
tests/test_clib.py::test_put_vector_wrong_column<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_clib.pyPASSED [ 21%]
tests/test_clib.py::test_put_vector_2d_fails<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_clib.pyPASSED [ 21%]
tests/test_clib.py::test_put_matrix<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_clib.pyPASSED [ 21%]
tests/test_clib.py::test_put_matrix_fails<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_clib.pyPASSED [ 22%]
tests/test_clib.py::test_put_matrix_grid<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_clib.pyPASSED [ 22%]
tests/test_clib.py::test_virtual_file<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_clib.pyPASSED [ 22%]
tests/test_clib.py::test_virtual_file_fails<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_clib.pyPASSED [ 23%]
tests/test_clib.py::test_virtual_file_bad_direction<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_clib.pyPASSED [ 23%]
tests/test_clib.py::test_virtualfile_from_vectors<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_clib.pyPASSED [ 24%]
tests/test_clib.py::test_virtualfile_from_vectors_transpose<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_clib.pyPASSED [ 24%]
tests/test_clib.py::test_virtualfile_from_vectors_diff_size<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_clib.pyPASSED [ 24%]
tests/test_clib.py::test_virtualfile_from_matrix<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_clib.pyPASSED [ 25%]
tests/test_clib.py::test_virtualfile_from_matrix_slice<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_clib.pyPASSED [ 25%]
tests/test_clib.py::test_virtualfile_from_vectors_pandas<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_clib.pyPASSED [ 25%]
tests/test_clib.py::test_virtualfile_from_vectors_arraylike<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_clib.pyPASSED [ 26%]
tests/test_clib.py::test_extract_region_fails<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_clib.pyPASSED [ 26%]
tests/test_clib.py::test_extract_region_two_figures<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_clib.pyPASSED [ 27%]
tests/test_clib.py::test_write_data_fails<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_clib.pyPASSED [ 27%]
tests/test_clib.py::test_dataarray_to_matrix_works<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_clib.pyPASSED [ 27%]
tests/test_clib.py::test_dataarray_to_matrix_negative_x_increment<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_clib.pyPASSED [ 28%]
tests/test_clib.py::test_dataarray_to_matrix_negative_y_increment<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_clib.pyPASSED [ 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.pyPASSED [ 28%]
tests/test_clib.py::test_dataarray_to_matrix_dims_fails<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_clib.pyPASSED [ 29%]
tests/test_clib.py::test_dataarray_to_matrix_inc_fails<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_clib.pyPASSED [ 29%]
tests/test_clib.py::test_get_default<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_clib.pyPASSED [ 30%]
tests/test_clib.py::test_get_default_fails<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_clib.pyPASSED [ 30%]
tests/test_clib.py::test_info_dict<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_clib.pyPASSED [ 30%]
tests/test_clib.py::test_fails_for_wrong_version<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_clib.pyPASSED [ 31%]
tests/test_clib_loading.py::test_check_libgmt<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_clib_loading.pyPASSED [ 31%]
tests/test_clib_loading.py::test_load_libgmt<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_clib_loading.pyPASSED [ 31%]
tests/test_clib_loading.py::test_load_libgmt_fail<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_clib_loading.pyPASSED [ 32%]
tests/test_clib_loading.py::test_clib_names<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_clib_loading.pyPASSED [ 32%]
tests/test_coast.py::test_coast<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_coast.pyPASSED [ 33%]
tests/test_coast.py::test_coast_iceland<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_coast.pyFAILED [ 33%]
tests/test_coast.py::test_coast_aliases<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_coast.pyPASSED [ 33%]
tests/test_coast.py::test_coast_world_mercator<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_coast.pyPASSED [ 34%]
tests/test_colorbar.py::test_colorbar_using_paper_coordinates<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_colorbar.pyPASSED [ 34%]
tests/test_colorbar.py::test_colorbar_using_paper_coordinates_horizontal<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_colorbar.pyPASSED [ 34%]
tests/test_colorbar.py::test_colorbar_positioned_using_map_coordinates<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_colorbar.pyPASSED [ 35%]
tests/test_colorbar.py::test_colorbar_positioned_using_justification_code<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_colorbar.pyFAILED [ 35%]
tests/test_colorbar.py::test_colorbar_positioned_using_normalized_coords<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_colorbar.pyPASSED [ 36%]
tests/test_colorbar.py::test_colorbar_box<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_colorbar.pyPASSED [ 36%]
tests/test_colorbar.py::test_colorbar_box_with_pen<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_colorbar.pyPASSED [ 36%]
tests/test_colorbar.py::test_colorbar_box_with_fill<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_colorbar.pyPASSED [ 37%]
tests/test_colorbar.py::test_colorbar_box_with_clearance<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_colorbar.pyPASSED [ 37%]
tests/test_colorbar.py::test_colorbar_box_with_secondary_border<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_colorbar.pyPASSED [ 37%]
tests/test_colorbar.py::test_colorbar_box_with_rounded_corners<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_colorbar.pyPASSED [ 38%]
tests/test_colorbar.py::test_colorbar_box_with_offset_background<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_colorbar.pyPASSED [ 38%]
tests/test_colorbar.py::test_colorbar_truncated_to_zlow_zhigh<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_colorbar.pyPASSED [ 39%]
tests/test_colorbar.py::test_colorbar_scaled_z_values<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_colorbar.pyPASSED [ 39%]
tests/test_config.py::test_config<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_config.pyFAILED [ 39%]
tests/test_config.py::test_config_font_one<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_config.pyFAILED [ 40%]
tests/test_config.py::test_config_font_annot<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_config.pyFAILED [ 40%]
tests/test_config.py::test_config_format_time_map<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_config.pyPASSED [ 40%]
tests/test_config.py::test_config_map_annot_offset<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_config.pyPASSED [ 41%]
tests/test_config.py::test_config_map_grid_cross_size<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_config.pyPASSED [ 41%]
tests/test_config.py::test_config_map_grid_pen<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_config.pyPASSED [ 42%]
tests/test_config.py::test_config_map_tick_length<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_config.pyPASSED [ 42%]
tests/test_config.py::test_config_map_tick_pen<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_config.pyPASSED [ 42%]
tests/test_contour.py::test_contour_fail_no_data<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_contour.pyPASSED [ 43%]
tests/test_contour.py::test_contour_vec<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_contour.pyPASSED [ 43%]
tests/test_contour.py::test_contour_matrix<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_contour.pyPASSED [ 43%]
tests/test_contour.py::test_contour_from_file<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_contour.pyPASSED [ 44%]
tests/test_datasets.py::test_japan_quakes<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_datasets.pyPASSED [ 44%]
tests/test_datasets.py::test_ocean_ridge_points<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_datasets.pyPASSED [ 45%]
tests/test_datasets.py::test_sample_bathymetry<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_datasets.pyPASSED [ 45%]
tests/test_datasets.py::test_usgs_quakes<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_datasets.pyPASSED [ 45%]
tests/test_datasets.py::test_earth_relief_fails<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_datasets.pyPASSED [ 46%]
tests/test_datasets.py::test_earth_relief_01d<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_datasets.pyFAILED [ 46%]
tests/test_datasets.py::test_earth_relief_30m<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_datasets.pyFAILED [ 46%]
tests/test_figure.py::test_figure_region<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_figure.pyPASSED [ 47%]
tests/test_figure.py::test_figure_region_multiple<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_figure.pyPASSED [ 47%]
tests/test_figure.py::test_figure_region_country_codes<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_figure.pyPASSED [ 48%]
tests/test_figure.py::test_figure_savefig_exists<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_figure.pyPASSED [ 48%]
tests/test_figure.py::test_figure_savefig_transparent<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_figure.pyPASSED [ 48%]
tests/test_figure.py::test_figure_savefig<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_figure.pyPASSED [ 49%]
tests/test_figure.py::test_figure_show<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_figure.pyPASSED [ 49%]
tests/test_figure.py::test_shift_origin<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_figure.pyPASSED [ 50%]
tests/test_grdcontour.py::test_grdcontour<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_grdcontour.pyFAILED [ 50%]
tests/test_grdcontour.py::test_grdcontour_labels<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_grdcontour.pyFAILED [ 50%]
tests/test_grdcontour.py::test_grdcontour_slice<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_grdcontour.pyFAILED [ 51%]
tests/test_grdcontour.py::test_grdcontour_file<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_grdcontour.pyFAILED [ 51%]
tests/test_grdcontour.py::test_grdcontour_interval_file_full_opts<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_grdcontour.pyFAILED [ 51%]
tests/test_grdcontour.py::test_grdcontour_fails<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_grdcontour.pyPASSED [ 52%]
tests/test_grdcut.py::test_grdcut_file_in_file_out<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_grdcut.pyFAILED [ 52%]
tests/test_grdcut.py::test_grdcut_file_in_dataarray_out<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_grdcut.pyFAILED [ 53%]
tests/test_grdcut.py::test_grdcut_dataarray_in_file_out<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_grdcut.pyPASSED [ 53%]
tests/test_grdcut.py::test_grdcut_dataarray_in_dataarray_out<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_grdcut.pyPASSED [ 53%]
tests/test_grdcut.py::test_grdcut_dataarray_in_fail<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_grdcut.pyPASSED [ 54%]
tests/test_grdcut.py::test_grdcut_fails<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_grdcut.pyPASSED [ 54%]
tests/test_grdimage.py::test_grdimage<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_grdimage.pyFAILED [ 54%]
tests/test_grdimage.py::test_grdimage_slice<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_grdimage.pyFAILED [ 55%]
tests/test_grdimage.py::test_grdimage_file<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_grdimage.pyFAILED [ 55%]
tests/test_grdimage.py::test_grdimage_fails<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_grdimage.pyPASSED [ 56%]
tests/test_grdinfo.py::test_grdinfo<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_grdinfo.pyFAILED [ 56%]
tests/test_grdinfo.py::test_grdinfo_file<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_grdinfo.pyFAILED [ 56%]
tests/test_grdinfo.py::test_grdinfo_fails<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_grdinfo.pyPASSED [ 57%]
tests/test_grdtrack.py::test_grdtrack_input_dataframe_and_dataarray<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_grdtrack.pyFAILED [ 57%]
tests/test_grdtrack.py::test_grdtrack_input_csvfile_and_dataarray<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_grdtrack.pyFAILED [ 57%]
tests/test_grdtrack.py::test_grdtrack_input_dataframe_and_ncfile<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_grdtrack.pyFAILED [ 58%]
tests/test_grdtrack.py::test_grdtrack_input_csvfile_and_ncfile<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_grdtrack.pyFAILED [ 58%]
tests/test_grdtrack.py::test_grdtrack_wrong_kind_of_points_input<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_grdtrack.pyPASSED [ 59%]
tests/test_grdtrack.py::test_grdtrack_wrong_kind_of_grid_input<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_grdtrack.pyPASSED [ 59%]
tests/test_grdtrack.py::test_grdtrack_without_newcolname_setting<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_grdtrack.pyPASSED [ 59%]
tests/test_grdtrack.py::test_grdtrack_without_outfile_setting<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_grdtrack.pyPASSED [ 60%]
tests/test_grdview.py::test_grdview_grid_dataarray<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_grdview.pyFAILED [ 60%]
tests/test_grdview.py::test_grdview_grid_file_with_region_subset<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_grdview.pyFAILED [ 60%]
tests/test_grdview.py::test_grdview_wrong_kind_of_grid<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_grdview.pyPASSED [ 61%]
tests/test_grdview.py::test_grdview_with_perspective<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_grdview.pyFAILED [ 61%]
tests/test_grdview.py::test_grdview_with_perspective_and_zscale<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_grdview.pyFAILED [ 62%]
tests/test_grdview.py::test_grdview_with_perspective_and_zsize<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_grdview.pyFAILED [ 62%]
tests/test_grdview.py::test_grdview_with_cmap_for_image_plot<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_grdview.pyFAILED [ 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.pyFAILED [ 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.pyFAILED [ 63%]
tests/test_grdview.py::test_grdview_on_a_plane<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_grdview.pyFAILED [ 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.pyFAILED [ 64%]
tests/test_grdview.py::test_grdview_with_perspective_and_zaxis_frame<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_grdview.pyFAILED [ 64%]
tests/test_grdview.py::test_grdview_surface_plot_styled_with_contourpen<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_grdview.pyFAILED [ 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.pyFAILED [ 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.pyFAILED [ 65%]
tests/test_grdview.py::test_grdview_drapegrid_dataarray<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_grdview.pyFAILED [ 66%]
tests/test_grdview.py::test_grdview_wrong_kind_of_drapegrid<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_grdview.pyPASSED [ 66%]
tests/test_helpers.py::test_data_kind_fails[None-None-None] <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_helpers.pyPASSED [ 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.pyPASSED [ 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.pyPASSED [ 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.pyPASSED [ 68%]
tests/test_helpers.py::test_data_kind_fails[None-x4-None] <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_helpers.pyPASSED [ 68%]
tests/test_helpers.py::test_data_kind_fails[None-None-y5] <- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_helpers.pyPASSED [ 68%]
tests/test_helpers.py::test_unique_name<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_helpers.pyPASSED [ 69%]
tests/test_helpers.py::test_kwargs_to_strings_fails<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_helpers.pyPASSED [ 69%]
tests/test_helpers.py::test_kwargs_to_strings_no_bools<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_helpers.pyPASSED [ 69%]
tests/test_helpers.py::test_gmttempfile<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_helpers.pyPASSED [ 70%]
tests/test_helpers.py::test_gmttempfile_unique<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_helpers.pyPASSED [ 70%]
tests/test_helpers.py::test_gmttempfile_prefix_suffix<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_helpers.pyPASSED [ 71%]
tests/test_helpers.py::test_gmttempfile_read<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_helpers.pyPASSED [ 71%]
tests/test_image.py::test_image<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_image.pyPASSED [ 71%]
tests/test_info.py::test_info<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_info.pyPASSED [ 72%]
tests/test_info.py::test_info_per_column<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_info.pyPASSED [ 72%]
tests/test_info.py::test_info_spacing<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_info.pyPASSED [ 72%]
tests/test_info.py::test_info_per_column_spacing<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_info.pyPASSED [ 73%]
tests/test_info.py::test_info_nearest_multiple<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_info.pyPASSED [ 73%]
tests/test_info.py::test_info_fails<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_info.pyPASSED [ 74%]
tests/test_legend.py::test_legend_position<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_legend.pyPASSED [ 74%]
tests/test_legend.py::test_legend_default_position<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_legend.pyPASSED [ 74%]
tests/test_legend.py::test_legend_entries<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_legend.pyFAILED [ 75%]
tests/test_legend.py::test_legend_specfile<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_legend.pyPASSED [ 75%]
tests/test_legend.py::test_legend_fails<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_legend.pyPASSED [ 75%]
tests/test_logo.py::test_logo<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_logo.pyPASSED [ 76%]
tests/test_logo.py::test_logo_on_a_map<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_logo.pyPASSED [ 76%]
tests/test_logo.py::test_logo_fails<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_logo.pyPASSED [ 77%]
tests/test_makecpt.py::test_makecpt_to_plot_points<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_makecpt.pyPASSED [ 77%]
tests/test_makecpt.py::test_makecpt_to_plot_grid<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_makecpt.pyFAILED [ 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.pyFAILED [ 78%]
tests/test_makecpt.py::test_makecpt_output_to_cpt_file<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_makecpt.pyPASSED [ 78%]
tests/test_makecpt.py::test_makecpt_blank_output<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_makecpt.pyPASSED [ 78%]
tests/test_makecpt.py::test_makecpt_invalid_output<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_makecpt.pyPASSED [ 79%]
tests/test_makecpt.py::test_makecpt_truncated_to_zlow_zhigh<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_makecpt.pyFAILED [ 79%]
tests/test_makecpt.py::test_makecpt_truncated_at_zlow_only<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_makecpt.pyFAILED [ 80%]
tests/test_makecpt.py::test_makecpt_truncated_at_zhigh_only<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_makecpt.pyFAILED [ 80%]
tests/test_makecpt.py::test_makecpt_reverse_color_only<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_makecpt.pyFAILED [ 80%]
tests/test_makecpt.py::test_makecpt_reverse_zsign_only<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_makecpt.pyFAILED [ 81%]
tests/test_makecpt.py::test_makecpt_reverse_color_and_zsign<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_makecpt.pyFAILED [ 81%]
tests/test_makecpt.py::test_makecpt_continuous<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_makecpt.pyFAILED [ 81%]
tests/test_plot.py::test_plot_red_circles<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_plot.pyPASSED [ 82%]
tests/test_plot.py::test_plot_fail_no_data<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_plot.pyPASSED [ 82%]
tests/test_plot.py::test_plot_fail_size_color<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_plot.pyPASSED [ 83%]
tests/test_plot.py::test_plot_projection<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_plot.pyPASSED [ 83%]
tests/test_plot.py::test_plot_colors<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_plot.pyPASSED [ 83%]
tests/test_plot.py::test_plot_sizes<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_plot.pyPASSED [ 84%]
tests/test_plot.py::test_plot_colors_sizes<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_plot.pyPASSED [ 84%]
tests/test_plot.py::test_plot_colors_sizes_proj<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_plot.pyPASSED [ 84%]
tests/test_plot.py::test_plot_matrix<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_plot.pyPASSED [ 85%]
tests/test_plot.py::test_plot_matrix_color<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_plot.pyPASSED [ 85%]
tests/test_plot.py::test_plot_from_file<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_plot.pyPASSED [ 86%]
tests/test_plot.py::test_plot_vectors<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_plot.pyPASSED [ 86%]
tests/test_plot.py::test_plot_lines_with_arrows<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_plot.pyPASSED [ 86%]
tests/test_plot.py::test_plot_scalar_xy<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_plot.pyPASSED [ 87%]
tests/test_psconvert.py::test_psconvert<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_psconvert.pyPASSED [ 87%]
tests/test_psconvert.py::test_psconvert_twice<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_psconvert.pyPASSED [ 87%]
tests/test_psconvert.py::test_psconvert_int_options<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_psconvert.pyPASSED [ 88%]
tests/test_psconvert.py::test_psconvert_aliases<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_psconvert.pyPASSED [ 88%]
tests/test_session_management.py::test_begin_end<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_session_management.pyPASSED [ 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.pyPASSED [ 89%]
tests/test_sphinx_gallery.py::test_pygmtscraper<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_sphinx_gallery.pySKIPPED [ 89%]
tests/test_surface.py::test_surface_input_file<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_surface.pyPASSED [ 90%]
tests/test_surface.py::test_surface_input_data_array<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_surface.pyPASSED [ 90%]
tests/test_surface.py::test_surface_input_xyz<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_surface.pyPASSED [ 90%]
tests/test_surface.py::test_surface_input_xy_no_z<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_surface.pyPASSED [ 91%]
tests/test_surface.py::test_surface_wrong_kind_of_input<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_surface.pyPASSED [ 91%]
tests/test_surface.py::test_surface_with_outfile_param<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_surface.pyPASSED [ 92%]
tests/test_surface.py::test_surface_short_aliases<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_surface.pyPASSED [ 92%]
tests/test_text.py::test_text_single_line_of_text<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_text.pyPASSED [ 92%]
tests/test_text.py::test_text_multiple_lines_of_text<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_text.pyPASSED [ 93%]
tests/test_text.py::test_text_without_text_input<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_text.pyPASSED [ 93%]
tests/test_text.py::test_text_input_single_filename<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_text.pyPASSED [ 93%]
tests/test_text.py::test_text_input_remote_filename<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_text.pyPASSED [ 94%]
tests/test_text.py::test_text_input_multiple_filenames<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_text.pyPASSED [ 94%]
tests/test_text.py::test_text_nonexistent_filename<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_text.pyPASSED [ 95%]
tests/test_text.py::test_text_position<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_text.pyPASSED [ 95%]
tests/test_text.py::test_text_xy_with_position_fails<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_text.pyPASSED [ 95%]
tests/test_text.py::test_text_position_offset_with_line<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_text.pyPASSED [ 96%]
tests/test_text.py::test_text_angle_30<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_text.pyPASSED [ 96%]
tests/test_text.py::test_text_font_bold<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_text.pyPASSED [ 96%]
tests/test_text.py::test_text_fill<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_text.pyPASSED [ 97%]
tests/test_text.py::test_text_pen<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_text.pyPASSED [ 97%]
tests/test_text.py::test_text_round_clearance<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_text.pyPASSED [ 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.pyPASSED [ 98%]
tests/test_text.py::test_text_justify_parsed_from_textfile<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_text.pyPASSED [ 98%]
tests/test_text.py::test_text_angle_font_justify_from_textfile<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_text.pyPASSED [ 99%]
tests/test_which.py::test_which<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_which.pyPASSED [ 99%]
tests/test_which.py::test_which_fails<- ../../../../../anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_which.pyPASSED [100%]
============================================================================================================================FAILURES=============================================================================================================================_______________________________________________________________________________________________________ [doctest] pygmt.clib.conversion.dataarray_to_matrix_______________________________________________________________________________________________________042Ifthegridhasmorethantwodimensionsorvariablegridspacing.
043044Examples045--------046047>>>frompygmt.datasetsimportload_earth_relief048>>># Use the global Earth relief grid with 1 degree spacing049>>>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--------094095>>>frompygmt.datasetsimportload_earth_relief096>>>frompygmt.helpersimportGMTTempFile097>>>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>>>withSession() asses:
Expected:
-180180-9090-8592.5555911361181Got:
-179.5179.5-89.589.5-81825651.51136018000/Users/locupe/anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/clib/session.py:102: DocTestFailure___________________________________________________________________________________________________ [doctest] pygmt.clib.session.Session.virtualfile_from_grid____________________________________________________________________________________________________271Thenameofvirtualfile. Passthisasafilenameargumenttoa272GMTmodule.
273274Examples275--------276277>>>frompygmt.datasetsimportload_earth_relief278>>>frompygmt.helpersimportGMTTempFile279>>>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: Imagedimensionsdidnotmatch.
Expectedshape: (1958, 1822)
/var/folders/_3/9z9zj5090_b341bkc7cw74cr0000gq/T/tmpadq1tydr/baseline-test_basemap_polar.pngActualshape: (1957, 1822)
/var/folders/_3/9z9zj5090_b341bkc7cw74cr0000gq/T/tmpadq1tydr/test_basemap_polar.png_________________________________________________________________________________________________________________test_call_module_error_message__________________________________________________________________________________________________________________deftest_call_module_error_message():
"Check is the GMT error message was captured."withclib.Session() aslib:
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.Sessionobjectat0x7f7f1025f3a0>, module='info', args='bogus-data.bla'defcall_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()
)
ifstatus!=0:
>raiseGMTCLibError(
"Module '{}' failed with status code {}:\n{}".format(
module, status, self._error_message
)
)
Epygmt.exceptions.GMTCLibError: Module'info'failedwithstatuscode71:
Egmtinfo [ERROR]: Cannotfindfilebogus-data.bla/Users/locupe/anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/clib/session.py:498: GMTCLibErrorDuringhandlingoftheaboveexception, anotherexceptionoccurred:
deftest_call_module_error_message():
"Check is the GMT error message was captured."withclib.Session() aslib:
try:
lib.call_module("info", "bogus-data.bla")
exceptGMTCLibErroraserror:
msg="\n".join(
[
"Module 'info' failed with status code 71:",
"gmtinfo [ERROR]: Error for input file: No such file (bogus-data.bla)",
]
)
>assertstr(error) ==msgEassert ("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)')
EModule'info'failedwithstatuscode71:
E-gmtinfo [ERROR]: Errorforinputfile: Nosuchfile (bogus-data.bla)
E+gmtinfo [ERROR]: Cannotfindfilebogus-data.bla/Users/locupe/anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_clib.py:167: AssertionError----------------------------------------------------------------------------------------------------------------------Capturedstderrcall-----------------------------------------------------------------------------------------------------------------------gmtinfo [ERROR]: Cannotfindfilebogus-data.bla_______________________________________________________________________________________________________________________test_coast_iceland________________________________________________________________________________________________________________________Error: Imagefilesdidnotmatch.
RMSValue: 2.1592998456264336Expected: /var/folders/_3/9z9zj5090_b341bkc7cw74cr0000gq/T/tmpxcaci3oz/baseline-test_coast_iceland.pngActual: /var/folders/_3/9z9zj5090_b341bkc7cw74cr0000gq/T/tmpxcaci3oz/test_coast_iceland.pngDifference:
/var/folders/_3/9z9zj5090_b341bkc7cw74cr0000gq/T/tmpxcaci3oz/test_coast_iceland-failed-diff.pngTolerance: 2________________________________________________________________________________________________________test_colorbar_positioned_using_justification_code________________________________________________________________________________________________________Error: Imagefilesdidnotmatch.
RMSValue: 15.679802537698418Expected: /var/folders/_3/9z9zj5090_b341bkc7cw74cr0000gq/T/tmpy4ttafin/baseline-test_colorbar_positioned_using_justification_code.pngActual: /var/folders/_3/9z9zj5090_b341bkc7cw74cr0000gq/T/tmpy4ttafin/test_colorbar_positioned_using_justification_code.pngDifference:
/var/folders/_3/9z9zj5090_b341bkc7cw74cr0000gq/T/tmpy4ttafin/test_colorbar_positioned_using_justification_code-failed-diff.pngTolerance: 2___________________________________________________________________________________________________________________________test_config___________________________________________________________________________________________________________________________Error: Imagefilesdidnotmatch.
RMSValue: 7.013266407484722Expected: /var/folders/_3/9z9zj5090_b341bkc7cw74cr0000gq/T/tmplh3taghh/baseline-test_config.pngActual: /var/folders/_3/9z9zj5090_b341bkc7cw74cr0000gq/T/tmplh3taghh/test_config.pngDifference:
/var/folders/_3/9z9zj5090_b341bkc7cw74cr0000gq/T/tmplh3taghh/test_config-failed-diff.pngTolerance: 2______________________________________________________________________________________________________________________test_config_font_one_______________________________________________________________________________________________________________________Error: Imagedimensionsdidnotmatch.
Expectedshape: (1526, 1540)
/var/folders/_3/9z9zj5090_b341bkc7cw74cr0000gq/T/tmpd_syom1_/baseline-test_config_font_one.pngActualshape: (1531, 1545)
/var/folders/_3/9z9zj5090_b341bkc7cw74cr0000gq/T/tmpd_syom1_/test_config_font_one.png_____________________________________________________________________________________________________________________test_config_font_annot______________________________________________________________________________________________________________________Error: Imagedimensionsdidnotmatch.
Expectedshape: (1161, 1168)
/var/folders/_3/9z9zj5090_b341bkc7cw74cr0000gq/T/tmpwi_h0o1v/baseline-test_config_font_annot.pngActualshape: (1165, 1172)
/var/folders/_3/9z9zj5090_b341bkc7cw74cr0000gq/T/tmpwi_h0o1v/test_config_font_annot.png______________________________________________________________________________________________________________________test_earth_relief_01d______________________________________________________________________________________________________________________deftest_earth_relief_01d():
"Test some properties of the earth relief 01d data"data=load_earth_relief(resolution="01d")
>assertdata.shape== (181, 361)
Eassert (180, 360) == (181, 361)
EAtindex0diff: 180!=181EFulldiff:
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______________________________________________________________________________________________________________________deftest_earth_relief_30m():
"Test some properties of the earth relief 30m data"data=load_earth_relief(resolution="30m")
>assertdata.shape== (361, 721)
Eassert (360, 720) == (361, 721)
EAtindex0diff: 360!=361EFulldiff:
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----------------------------------------------------------------------------------------------------------------------Capturedstderrcall-----------------------------------------------------------------------------------------------------------------------gmtwhich [NOTICE]: RemotedatacourtesyofGMTdataserverOCEANIA [https://oceania.generic-mapping-tools.org]
gmtwhich [NOTICE]: EarthReliefat30x30arcminutesfromGaussianCartesianfiltering (55kmfullwidth) ofSRTM15+V2.1 [Tozeretal., 2019].
gmtwhich [NOTICE]: ->Downloadgridfile [395K]: earth_relief_30m_p.grd_________________________________________________________________________________________________________________________test_grdcontour_________________________________________________________________________________________________________________________Error: Imagedimensionsdidnotmatch.
Expectedshape: (1795, 900)
/var/folders/_3/9z9zj5090_b341bkc7cw74cr0000gq/T/tmpnta9dz9d/baseline-test_grdcontour.pngActualshape: (1794, 902)
/var/folders/_3/9z9zj5090_b341bkc7cw74cr0000gq/T/tmpnta9dz9d/test_grdcontour.png_____________________________________________________________________________________________________________________test_grdcontour_labels______________________________________________________________________________________________________________________Error: Imagedimensionsdidnotmatch.
Expectedshape: (1795, 900)
/var/folders/_3/9z9zj5090_b341bkc7cw74cr0000gq/T/tmp7dtpwm5q/baseline-test_grdcontour_labels.pngActualshape: (1794, 902)
/var/folders/_3/9z9zj5090_b341bkc7cw74cr0000gq/T/tmp7dtpwm5q/test_grdcontour_labels.png______________________________________________________________________________________________________________________test_grdcontour_slice______________________________________________________________________________________________________________________Error: Imagedimensionsdidnotmatch.
Expectedshape: (1801, 313)
/var/folders/_3/9z9zj5090_b341bkc7cw74cr0000gq/T/tmpxyc84zg6/baseline-test_grdcontour_slice.pngActualshape: (1801, 309)
/var/folders/_3/9z9zj5090_b341bkc7cw74cr0000gq/T/tmpxyc84zg6/test_grdcontour_slice.png______________________________________________________________________________________________________________________test_grdcontour_file_______________________________________________________________________________________________________________________Error: Imagedimensionsdidnotmatch.
Expectedshape: (3000, 1652)
/var/folders/_3/9z9zj5090_b341bkc7cw74cr0000gq/T/tmpyik9d1ae/baseline-test_grdcontour_file.pngActualshape: (2994, 1652)
/var/folders/_3/9z9zj5090_b341bkc7cw74cr0000gq/T/tmpyik9d1ae/test_grdcontour_file.png_____________________________________________________________________________________________________________test_grdcontour_interval_file_full_opts_____________________________________________________________________________________________________________Error: Imagefilesdidnotmatch.
RMSValue: 57.021765942941926Expected: /var/folders/_3/9z9zj5090_b341bkc7cw74cr0000gq/T/tmppcai0yyq/baseline-test_grdcontour_interval_file_full_opts.pngActual: /var/folders/_3/9z9zj5090_b341bkc7cw74cr0000gq/T/tmppcai0yyq/test_grdcontour_interval_file_full_opts.pngDifference:
/var/folders/_3/9z9zj5090_b341bkc7cw74cr0000gq/T/tmppcai0yyq/test_grdcontour_interval_file_full_opts-failed-diff.pngTolerance: 2__________________________________________________________________________________________________________________test_grdcut_file_in_file_out___________________________________________________________________________________________________________________deftest_grdcut_file_in_file_out():
"grduct an input grid file, and output to a grid file"withGMTTempFile(suffix=".nc") astmpfile:
result=grdcut("@earth_relief_01d", outgrid=tmpfile.name, region="0/180/0/90")
assertresultisNone# return value is Noneassertos.path.exists(path=tmpfile.name) # check that outgrid existsresult=grdinfo(tmpfile.name, C=True)
>assertresult=="0 180 0 90 -8592.5 5559 1 1 181 91\n"EAssertionError: 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-0180090-8592.555591118191E+0180090-81825651.5111809011/Users/locupe/anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_grdcut.py:22: AssertionError________________________________________________________________________________________________________________test_grdcut_file_in_dataarray_out________________________________________________________________________________________________________________deftest_grdcut_file_in_dataarray_out():
"grdcut an input grid file, and output as DataArray"outgrid=grdcut("@earth_relief_01d", region="0/180/0/90")
assertisinstance(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>assertoutgrid.coords["lat"].data.min() ==0.0Eassert0.5==0.0E+0.5E-0.0/Users/locupe/anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_grdcut.py:32: AssertionError__________________________________________________________________________________________________________________________test_grdimage__________________________________________________________________________________________________________________________Error: Imagedimensionsdidnotmatch.
Expectedshape: (1800, 900)
/var/folders/_3/9z9zj5090_b341bkc7cw74cr0000gq/T/tmpyab_pm_9/baseline-test_grdimage.pngActualshape: (1800, 902)
/var/folders/_3/9z9zj5090_b341bkc7cw74cr0000gq/T/tmpyab_pm_9/test_grdimage.png_______________________________________________________________________________________________________________________test_grdimage_slice_______________________________________________________________________________________________________________________Error: Imagedimensionsdidnotmatch.
Expectedshape: (1800, 313)
/var/folders/_3/9z9zj5090_b341bkc7cw74cr0000gq/T/tmp13aadxic/baseline-test_grdimage_slice.pngActualshape: (1800, 309)
/var/folders/_3/9z9zj5090_b341bkc7cw74cr0000gq/T/tmp13aadxic/test_grdimage_slice.png_______________________________________________________________________________________________________________________test_grdimage_file________________________________________________________________________________________________________________________Error: Imagefilesdidnotmatch.
RMSValue: 18.437474628436362Expected: /var/folders/_3/9z9zj5090_b341bkc7cw74cr0000gq/T/tmpqf2fju2f/baseline-test_grdimage_file.pngActual: /var/folders/_3/9z9zj5090_b341bkc7cw74cr0000gq/T/tmpqf2fju2f/test_grdimage_file.pngDifference:
/var/folders/_3/9z9zj5090_b341bkc7cw74cr0000gq/T/tmpqf2fju2f/test_grdimage_file-failed-diff.pngTolerance: 2__________________________________________________________________________________________________________________________test_grdinfo___________________________________________________________________________________________________________________________deftest_grdinfo():
"Make sure grd info works as expected"grid=load_earth_relief()
result=grdinfo(grid, L=0, C="n")
>assertresult.strip() =="-180 180 -90 90 -8592.5 5559 1 1 361 181"EAssertionError: 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--180180-9090-8592.5555911361181E+-179.5179.5-89.589.5-81825651.51136018000/Users/locupe/anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_grdinfo.py:16: AssertionError________________________________________________________________________________________________________________________test_grdinfo_file________________________________________________________________________________________________________________________deftest_grdinfo_file():
"Test grdinfo with file input"result=grdinfo("@earth_relief_01d", L=0, C="n")
>assertresult.strip() =="-180 180 -90 90 -8592.5 5559 1 1 361 181"EAssertionError: 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--180180-9090-8592.5555911361181E ? ^^-----^E+-180180-9090-81825651.51136018011E ? ++++^^^^++++/Users/locupe/anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_grdinfo.py:22: AssertionError___________________________________________________________________________________________________________test_grdtrack_input_dataframe_and_dataarray___________________________________________________________________________________________________________deftest_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")
assertisinstance(output, pd.DataFrame)
assertoutput.columns.to_list() == ["longitude", "latitude", "bathymetry"]
>npt.assert_allclose(output.iloc[0], [-110.9536, -42.2489, -2797.394987])
EAssertionError: ENotequaltotolerancertol=1e-07, atol=0EEMismatchedelements: 3/3 (100%)
EMaxabsolutedifference: 4050953.226623EMaxrelativedifference: 1448.11628156Ex: array([-1.117309e+02, -4.317060e+01, -4.053751e+06])
Ey: array([ -110.9536 , -42.2489 , -2797.394987])
/Users/locupe/anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_grdtrack.py:31: AssertionError----------------------------------------------------------------------------------------------------------------------Capturedstderrcall-----------------------------------------------------------------------------------------------------------------------grdtrack [WARNING]: Someinputpointswereoutsidethegriddomain(s).
____________________________________________________________________________________________________________test_grdtrack_input_csvfile_and_dataarray____________________________________________________________________________________________________________deftest_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)
assertoutputisNone# check that output is None since outfile is setassertos.path.exists(path=TEMP_TRACK) # check that outfile exists at pathtrack=pd.read_csv(TEMP_TRACK, sep="\t", header=None, comment=">")
>npt.assert_allclose(track.iloc[0], [-110.9536, -42.2489, -2797.394987])
EAssertionError: ENotequaltotolerancertol=1e-07, atol=0EEMismatchedelements: 3/3 (100%)
EMaxabsolutedifference: 3.77560601e+22EMaxrelativedifference: 1.34968642e+19Ex: array([-1.117309e+02, -4.317060e+01, -3.775606e+22])
Ey: array([ -110.9536 , -42.2489 , -2797.394987])
/Users/locupe/anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/tests/test_grdtrack.py:49: AssertionError----------------------------------------------------------------------------------------------------------------------Capturedstderrcall-----------------------------------------------------------------------------------------------------------------------grdtrack [WARNING]: Someinputpointswereoutsidethegriddomain(s).
____________________________________________________________________________________________________________test_grdtrack_input_dataframe_and_ncfile_____________________________________________________________________________________________________________deftest_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")
assertisinstance(output, pd.DataFrame)
assertoutput.columns.to_list() == ["longitude", "latitude", "bathymetry"]
>npt.assert_allclose(output.iloc[0], [-32.2971, 37.4118, -1686.748899])
EAssertionError: ENotequaltotolerancertol=1e-07, atol=0EEMismatchedelements: 1/3 (33.3%)
EMaxabsolutedifference: 252.99934649EMaxrelativedifference: 0.1499923Ex: array([ -32.2971 , 37.4118 , -1939.748245])
Ey: 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______________________________________________________________________________________________________________deftest_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)
assertoutputisNone# check that output is None since outfile is setassertos.path.exists(path=TEMP_TRACK) # check that outfile exists at pathtrack=pd.read_csv(TEMP_TRACK, sep="\t", header=None, comment=">")
>npt.assert_allclose(track.iloc[0], [-32.2971, 37.4118, -1686.748899])
EAssertionError: ENotequaltotolerancertol=1e-07, atol=0EEMismatchedelements: 1/3 (33.3%)
EMaxabsolutedifference: 252.99934649EMaxrelativedifference: 0.1499923Ex: array([ -32.2971 , 37.4118 , -1939.748245])
Ey: 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: Imagefilesdidnotmatch.
RMSValue: 40.16190604322967Expected: /var/folders/_3/9z9zj5090_b341bkc7cw74cr0000gq/T/tmpn46juxbg/baseline-test_grdview_grid_dataarray.pngActual: /var/folders/_3/9z9zj5090_b341bkc7cw74cr0000gq/T/tmpn46juxbg/test_grdview_grid_dataarray.pngDifference:
/var/folders/_3/9z9zj5090_b341bkc7cw74cr0000gq/T/tmpn46juxbg/test_grdview_grid_dataarray-failed-diff.pngTolerance: 2____________________________________________________________________________________________________________test_grdview_grid_file_with_region_subset____________________________________________________________________________________________________________Error: Imagedimensionsdidnotmatch.
Expectedshape: (1772, 1772)
/var/folders/_3/9z9zj5090_b341bkc7cw74cr0000gq/T/tmptmasslyu/baseline-test_grdview_grid_file_with_region_subset.pngActualshape: (1772, 760)
/var/folders/_3/9z9zj5090_b341bkc7cw74cr0000gq/T/tmptmasslyu/test_grdview_grid_file_with_region_subset.png__________________________________________________________________________________________________________________test_grdview_with_perspective__________________________________________________________________________________________________________________Error: Imagefilesdidnotmatch.
RMSValue: 49.520272872052345Expected: /var/folders/_3/9z9zj5090_b341bkc7cw74cr0000gq/T/tmpe49fxcp9/baseline-test_grdview_with_perspective.pngActual: /var/folders/_3/9z9zj5090_b341bkc7cw74cr0000gq/T/tmpe49fxcp9/test_grdview_with_perspective.pngDifference:
/var/folders/_3/9z9zj5090_b341bkc7cw74cr0000gq/T/tmpe49fxcp9/test_grdview_with_perspective-failed-diff.pngTolerance: 2____________________________________________________________________________________________________________test_grdview_with_perspective_and_zscale_____________________________________________________________________________________________________________Error: Imagedimensionsdidnotmatch.
Expectedshape: (2507, 1359)
/var/folders/_3/9z9zj5090_b341bkc7cw74cr0000gq/T/tmpbak1ehxa/baseline-test_grdview_with_perspective_and_zscale.pngActualshape: (2507, 1341)
/var/folders/_3/9z9zj5090_b341bkc7cw74cr0000gq/T/tmpbak1ehxa/test_grdview_with_perspective_and_zscale.png_____________________________________________________________________________________________________________test_grdview_with_perspective_and_zsize_____________________________________________________________________________________________________________Error: Imagedimensionsdidnotmatch.
Expectedshape: (2507, 1566)
/var/folders/_3/9z9zj5090_b341bkc7cw74cr0000gq/T/tmpcvze31pd/baseline-test_grdview_with_perspective_and_zsize.pngActualshape: (2507, 1555)
/var/folders/_3/9z9zj5090_b341bkc7cw74cr0000gq/T/tmpcvze31pd/test_grdview_with_perspective_and_zsize.png______________________________________________________________________________________________________________test_grdview_with_cmap_for_image_plot______________________________________________________________________________________________________________Error: Imagefilesdidnotmatch.
RMSValue: 82.90239290987333Expected: /var/folders/_3/9z9zj5090_b341bkc7cw74cr0000gq/T/tmphiwwtef5/baseline-test_grdview_with_cmap_for_image_plot.pngActual: /var/folders/_3/9z9zj5090_b341bkc7cw74cr0000gq/T/tmphiwwtef5/test_grdview_with_cmap_for_image_plot.pngDifference:
/var/folders/_3/9z9zj5090_b341bkc7cw74cr0000gq/T/tmphiwwtef5/test_grdview_with_cmap_for_image_plot-failed-diff.pngTolerance: 2_______________________________________________________________________________________________________test_grdview_with_cmap_for_surface_monochrome_plot________________________________________________________________________________________________________Error: Imagefilesdidnotmatch.
RMSValue: 71.67456522119535Expected: /var/folders/_3/9z9zj5090_b341bkc7cw74cr0000gq/T/tmpumox916_/baseline-test_grdview_with_cmap_for_surface_monochrome_plot.pngActual: /var/folders/_3/9z9zj5090_b341bkc7cw74cr0000gq/T/tmpumox916_/test_grdview_with_cmap_for_surface_monochrome_plot.pngDifference:
/var/folders/_3/9z9zj5090_b341bkc7cw74cr0000gq/T/tmpumox916_/test_grdview_with_cmap_for_surface_monochrome_plot-failed-diff.pngTolerance: 2_______________________________________________________________________________________________________test_grdview_with_cmap_for_perspective_surface_plot_______________________________________________________________________________________________________Error: Imagedimensionsdidnotmatch.
Expectedshape: (2506, 1358)
/var/folders/_3/9z9zj5090_b341bkc7cw74cr0000gq/T/tmpvnf10u9h/baseline-test_grdview_with_cmap_for_perspective_surface_plot.pngActualshape: (2506, 1340)
/var/folders/_3/9z9zj5090_b341bkc7cw74cr0000gq/T/tmpvnf10u9h/test_grdview_with_cmap_for_perspective_surface_plot.png_____________________________________________________________________________________________________________________test_grdview_on_a_plane_____________________________________________________________________________________________________________________Error: Imagedimensionsdidnotmatch.
Expectedshape: (2509, 1675)
/var/folders/_3/9z9zj5090_b341bkc7cw74cr0000gq/T/tmp5mi614b3/baseline-test_grdview_on_a_plane.pngActualshape: (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: Imagedimensionsdidnotmatch.
Expectedshape: (2509, 1676)
/var/folders/_3/9z9zj5090_b341bkc7cw74cr0000gq/T/tmp_ku0tx8u/baseline-test_grdview_on_a_plane_with_colored_frontal_facade.pngActualshape: (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: Imagedimensionsdidnotmatch.
Expectedshape: (2566, 1636)
/var/folders/_3/9z9zj5090_b341bkc7cw74cr0000gq/T/tmpokoupyvh/baseline-test_grdview_with_perspective_and_zaxis_frame.pngActualshape: (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: Imagefilesdidnotmatch.
RMSValue: 95.81921012966873Expected: /var/folders/_3/9z9zj5090_b341bkc7cw74cr0000gq/T/tmpeipjeyk9/baseline-test_grdview_surface_plot_styled_with_contourpen.pngActual: /var/folders/_3/9z9zj5090_b341bkc7cw74cr0000gq/T/tmpeipjeyk9/test_grdview_surface_plot_styled_with_contourpen.pngDifference:
/var/folders/_3/9z9zj5090_b341bkc7cw74cr0000gq/T/tmpeipjeyk9/test_grdview_surface_plot_styled_with_contourpen-failed-diff.pngTolerance: 2_______________________________________________________________________________________________________test_grdview_surface_mesh_plot_styled_with_meshpen________________________________________________________________________________________________________Error: Imagefilesdidnotmatch.
RMSValue: 95.72615837162644Expected: /var/folders/_3/9z9zj5090_b341bkc7cw74cr0000gq/T/tmph7da99u3/baseline-test_grdview_surface_mesh_plot_styled_with_meshpen.pngActual: /var/folders/_3/9z9zj5090_b341bkc7cw74cr0000gq/T/tmph7da99u3/test_grdview_surface_mesh_plot_styled_with_meshpen.pngDifference:
/var/folders/_3/9z9zj5090_b341bkc7cw74cr0000gq/T/tmph7da99u3/test_grdview_surface_mesh_plot_styled_with_meshpen-failed-diff.pngTolerance: 2__________________________________________________________________________________________________________test_grdview_on_a_plane_styled_with_facadepen__________________________________________________________________________________________________________Error: Imagedimensionsdidnotmatch.
Expectedshape: (2508, 1674)
/var/folders/_3/9z9zj5090_b341bkc7cw74cr0000gq/T/tmp1ghut5fh/baseline-test_grdview_on_a_plane_styled_with_facadepen.pngActualshape: (2508, 1690)
/var/folders/_3/9z9zj5090_b341bkc7cw74cr0000gq/T/tmp1ghut5fh/test_grdview_on_a_plane_styled_with_facadepen.png________________________________________________________________________________________________________________test_grdview_drapegrid_dataarray_________________________________________________________________________________________________________________Error: Imagefilesdidnotmatch.
RMSValue: 61.18795003636725Expected: /var/folders/_3/9z9zj5090_b341bkc7cw74cr0000gq/T/tmp5vncaj_d/baseline-test_grdview_drapegrid_dataarray.pngActual: /var/folders/_3/9z9zj5090_b341bkc7cw74cr0000gq/T/tmp5vncaj_d/test_grdview_drapegrid_dataarray.pngDifference:
/var/folders/_3/9z9zj5090_b341bkc7cw74cr0000gq/T/tmp5vncaj_d/test_grdview_drapegrid_dataarray-failed-diff.pngTolerance: 2_______________________________________________________________________________________________________________________test_legend_entries_______________________________________________________________________________________________________________________Error: Imagefilesdidnotmatch.
RMSValue: 3.7333930043449666Expected: /var/folders/_3/9z9zj5090_b341bkc7cw74cr0000gq/T/tmpuphow1kw/baseline-test_legend_entries.pngActual: /var/folders/_3/9z9zj5090_b341bkc7cw74cr0000gq/T/tmpuphow1kw/test_legend_entries.pngDifference:
/var/folders/_3/9z9zj5090_b341bkc7cw74cr0000gq/T/tmpuphow1kw/test_legend_entries-failed-diff.pngTolerance: 2____________________________________________________________________________________________________________________test_makecpt_to_plot_grid____________________________________________________________________________________________________________________Error: Imagedimensionsdidnotmatch.
Expectedshape: (1800, 900)
/var/folders/_3/9z9zj5090_b341bkc7cw74cr0000gq/T/tmp8iu7mk5f/baseline-test_makecpt_to_plot_grid.pngActualshape: (1800, 902)
/var/folders/_3/9z9zj5090_b341bkc7cw74cr0000gq/T/tmp8iu7mk5f/test_makecpt_to_plot_grid.png__________________________________________________________________________________________________________test_makecpt_to_plot_grid_scaled_with_series___________________________________________________________________________________________________________Error: Imagedimensionsdidnotmatch.
Expectedshape: (1800, 900)
/var/folders/_3/9z9zj5090_b341bkc7cw74cr0000gq/T/tmpari24ju5/baseline-test_makecpt_to_plot_grid_scaled_with_series.pngActualshape: (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: Imagedimensionsdidnotmatch.
Expectedshape: (1800, 900)
/var/folders/_3/9z9zj5090_b341bkc7cw74cr0000gq/T/tmpes95r11c/baseline-test_makecpt_truncated_to_zlow_zhigh.pngActualshape: (1800, 902)
/var/folders/_3/9z9zj5090_b341bkc7cw74cr0000gq/T/tmpes95r11c/test_makecpt_truncated_to_zlow_zhigh.png_______________________________________________________________________________________________________________test_makecpt_truncated_at_zlow_only_______________________________________________________________________________________________________________Error: Imagedimensionsdidnotmatch.
Expectedshape: (1800, 900)
/var/folders/_3/9z9zj5090_b341bkc7cw74cr0000gq/T/tmpzi1dbpx5/baseline-test_makecpt_truncated_at_zlow_only.pngActualshape: (1800, 902)
/var/folders/_3/9z9zj5090_b341bkc7cw74cr0000gq/T/tmpzi1dbpx5/test_makecpt_truncated_at_zlow_only.png______________________________________________________________________________________________________________test_makecpt_truncated_at_zhigh_only_______________________________________________________________________________________________________________Error: Imagedimensionsdidnotmatch.
Expectedshape: (1800, 900)
/var/folders/_3/9z9zj5090_b341bkc7cw74cr0000gq/T/tmp_w0sn3xo/baseline-test_makecpt_truncated_at_zhigh_only.pngActualshape: (1800, 902)
/var/folders/_3/9z9zj5090_b341bkc7cw74cr0000gq/T/tmp_w0sn3xo/test_makecpt_truncated_at_zhigh_only.png_________________________________________________________________________________________________________________test_makecpt_reverse_color_only_________________________________________________________________________________________________________________Error: Imagedimensionsdidnotmatch.
Expectedshape: (1800, 900)
/var/folders/_3/9z9zj5090_b341bkc7cw74cr0000gq/T/tmpuae7cclp/baseline-test_makecpt_reverse_color_only.pngActualshape: (1800, 902)
/var/folders/_3/9z9zj5090_b341bkc7cw74cr0000gq/T/tmpuae7cclp/test_makecpt_reverse_color_only.png_________________________________________________________________________________________________________________test_makecpt_reverse_zsign_only_________________________________________________________________________________________________________________Error: Imagedimensionsdidnotmatch.
Expectedshape: (1800, 900)
/var/folders/_3/9z9zj5090_b341bkc7cw74cr0000gq/T/tmptkwa_fbv/baseline-test_makecpt_reverse_zsign_only.pngActualshape: (1800, 902)
/var/folders/_3/9z9zj5090_b341bkc7cw74cr0000gq/T/tmptkwa_fbv/test_makecpt_reverse_zsign_only.png______________________________________________________________________________________________________________test_makecpt_reverse_color_and_zsign_______________________________________________________________________________________________________________Error: Imagedimensionsdidnotmatch.
Expectedshape: (1800, 900)
/var/folders/_3/9z9zj5090_b341bkc7cw74cr0000gq/T/tmp2pe_d_o5/baseline-test_makecpt_reverse_color_and_zsign.pngActualshape: (1800, 902)
/var/folders/_3/9z9zj5090_b341bkc7cw74cr0000gq/T/tmp2pe_d_o5/test_makecpt_reverse_color_and_zsign.png_____________________________________________________________________________________________________________________test_makecpt_continuous_____________________________________________________________________________________________________________________Error: Imagedimensionsdidnotmatch.
Expectedshape: (1800, 900)
/var/folders/_3/9z9zj5090_b341bkc7cw74cr0000gq/T/tmpdq63tcfv/baseline-test_makecpt_continuous.pngActualshape: (1800, 902)
/var/folders/_3/9z9zj5090_b341bkc7cw74cr0000gq/T/tmpdq63tcfv/test_makecpt_continuous.png=====================================================================================================================shorttestsummaryinfo=====================================================================================================================FAILEDclib/conversion.py::pygmt.clib.conversion.dataarray_to_matrixFAILEDclib/session.py::pygmt.clib.session.SessionFAILEDclib/session.py::pygmt.clib.session.Session.virtualfile_from_gridFAILEDtests/test_basemap.py::test_basemap_polarFAILEDtests/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]: Errorforinputfi...
FAILEDtests/test_coast.py::test_coast_icelandFAILEDtests/test_colorbar.py::test_colorbar_positioned_using_justification_codeFAILEDtests/test_config.py::test_configFAILEDtests/test_config.py::test_config_font_oneFAILEDtests/test_config.py::test_config_font_annotFAILEDtests/test_datasets.py::test_earth_relief_01d-assert (180, 360) == (181, 361)
FAILEDtests/test_datasets.py::test_earth_relief_30m-assert (360, 720) == (361, 721)
FAILEDtests/test_grdcontour.py::test_grdcontourFAILEDtests/test_grdcontour.py::test_grdcontour_labelsFAILEDtests/test_grdcontour.py::test_grdcontour_sliceFAILEDtests/test_grdcontour.py::test_grdcontour_fileFAILEDtests/test_grdcontour.py::test_grdcontour_interval_file_full_optsFAILEDtests/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'FAILEDtests/test_grdcut.py::test_grdcut_file_in_dataarray_out-assert0.5==0.0FAILEDtests/test_grdimage.py::test_grdimageFAILEDtests/test_grdimage.py::test_grdimage_sliceFAILEDtests/test_grdimage.py::test_grdimage_fileFAILEDtests/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'FAILEDtests/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'FAILEDtests/test_grdtrack.py::test_grdtrack_input_dataframe_and_dataarray-AssertionError: FAILEDtests/test_grdtrack.py::test_grdtrack_input_csvfile_and_dataarray-AssertionError: FAILEDtests/test_grdtrack.py::test_grdtrack_input_dataframe_and_ncfile-AssertionError: FAILEDtests/test_grdtrack.py::test_grdtrack_input_csvfile_and_ncfile-AssertionError: FAILEDtests/test_grdview.py::test_grdview_grid_dataarrayFAILEDtests/test_grdview.py::test_grdview_grid_file_with_region_subsetFAILEDtests/test_grdview.py::test_grdview_with_perspectiveFAILEDtests/test_grdview.py::test_grdview_with_perspective_and_zscaleFAILEDtests/test_grdview.py::test_grdview_with_perspective_and_zsizeFAILEDtests/test_grdview.py::test_grdview_with_cmap_for_image_plotFAILEDtests/test_grdview.py::test_grdview_with_cmap_for_surface_monochrome_plotFAILEDtests/test_grdview.py::test_grdview_with_cmap_for_perspective_surface_plotFAILEDtests/test_grdview.py::test_grdview_on_a_planeFAILEDtests/test_grdview.py::test_grdview_on_a_plane_with_colored_frontal_facadeFAILEDtests/test_grdview.py::test_grdview_with_perspective_and_zaxis_frameFAILEDtests/test_grdview.py::test_grdview_surface_plot_styled_with_contourpenFAILEDtests/test_grdview.py::test_grdview_surface_mesh_plot_styled_with_meshpenFAILEDtests/test_grdview.py::test_grdview_on_a_plane_styled_with_facadepenFAILEDtests/test_grdview.py::test_grdview_drapegrid_dataarrayFAILEDtests/test_legend.py::test_legend_entriesFAILEDtests/test_makecpt.py::test_makecpt_to_plot_gridFAILEDtests/test_makecpt.py::test_makecpt_to_plot_grid_scaled_with_seriesFAILEDtests/test_makecpt.py::test_makecpt_truncated_to_zlow_zhighFAILEDtests/test_makecpt.py::test_makecpt_truncated_at_zlow_onlyFAILEDtests/test_makecpt.py::test_makecpt_truncated_at_zhigh_onlyFAILEDtests/test_makecpt.py::test_makecpt_reverse_color_onlyFAILEDtests/test_makecpt.py::test_makecpt_reverse_zsign_onlyFAILEDtests/test_makecpt.py::test_makecpt_reverse_color_and_zsignFAILEDtests/test_makecpt.py::test_makecpt_continuous======================================================================================================53failed, 212passed, 1skippedin94.31s (0:01:34) =======================================================================================================---------------------------------------------------------------------------AssertionErrorTraceback (mostrecentcalllast)
<ipython-input-2-3b88ed9e84c1>in<module>---->1pygmt.test()
~/anaconda2/envs/pygmt/lib/python3.8/site-packages/pygmt/__init__.pyintest(doctest, verbose, coverage, figures)
185args.append(package)
186status=pytest.main(args)
-->187assertstatus==0, "Some tests have failed."AssertionError: Sometestshavefailed.

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions