Skip to content

Commit

Permalink
Try the same workaround for grdimage
Browse files Browse the repository at this point in the history
  • Loading branch information
seisman committed Jul 18, 2024
1 parent 71094bc commit ebd7359
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion pygmt/src/grdimage.py
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,9 @@ def grdimage(self, grid, **kwargs):

with Session() as lib:
with (
lib.virtualfile_in(check_kind="raster", data=grid) as vingrd,
lib.virtualfile_in(
check_kind="raster", data=grid, _grid_mode="GMT_IN|GMT_IS_REFERENCE"
) as vingrd,
lib.virtualfile_in(
check_kind="raster", data=kwargs.get("I"), required_data=False
) as vshadegrid,
Expand Down

0 comments on commit ebd7359

Please sign in to comment.