-
Notifications
You must be signed in to change notification settings - Fork 224
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor info to allow datetime inputs from xarray.Dataset and pandas…
….DataFrame tables (#619) Changes the backend mechanism of `info` from using lib.virtualfile_from_matrix() (which only supports single non-datetime dtypes) to using lib.virtualfile_from_vectors() (which supports datetime inputs as of #464). * Refactor info to use virtualfile_from_vectors to support datetime inputs * Test that xarray.Dataset inputs into pygmt.info works too * Expect failures on test_info_*_time_column on GMT 6.1.1 * Document xarray.Datasets with 1D data_vars as allowed inputs to info Co-authored-by: Dongdong Tian <[email protected]>
- Loading branch information
Showing
2 changed files
with
60 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters