-
Notifications
You must be signed in to change notification settings - Fork 225
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Create LibGMT.grid_to_vfile for xarray input support (#159)
Implements a new context manager `LibGMT.grid_to_vfile` that takes an `xarray.DataArray`, creates a `GMT_MATRIX` to store the data, passes it along to a virtual file, and yields the virtual file name. This is the main building block for supporting the `grd*` commands (#124).
- Loading branch information
Showing
3 changed files
with
284 additions
and
68 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
Oops, something went wrong.