Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 6 additions & 0 deletions pygmt/datasets/earth_relief.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,12 @@
from pygmt.exceptions import GMTInvalidInput
from pygmt.helpers import kwargs_to_strings
from pygmt.src import grdcut, which
import rioaxarray

def load_earth_night():
fname = which("@earth_night_01d")
dataarray=xr.open_dataarray(fname, engine="rasterio")
return dataarray


@kwargs_to_strings(region="sequence")
Expand Down