Skip to content

Commit

Permalink
Update to the latest dataset definition
Browse files Browse the repository at this point in the history
  • Loading branch information
seisman committed Jan 14, 2024
1 parent 75c2d46 commit 6baf2c7
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 20 deletions.
28 changes: 14 additions & 14 deletions pygmt/datasets/load_remote_dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -233,20 +233,20 @@ class GMTRemoteDataset(NamedTuple):
units="meters",
extra_attributes={},
resolutions={
"01d": Resolution(["gridline", "pixel"], False),
"30m": Resolution(["gridline", "pixel"], False),
"20m": Resolution(["gridline", "pixel"], False),
"15m": Resolution(["gridline", "pixel"], False),
"10m": Resolution(["gridline", "pixel"], False),
"06m": Resolution(["gridline", "pixel"], False),
"05m": Resolution(["gridline", "pixel"], True),
"04m": Resolution(["gridline", "pixel"], True),
"03m": Resolution(["gridline", "pixel"], True),
"02m": Resolution(["gridline", "pixel"], True),
"01m": Resolution(["gridline", "pixel"], True),
"30s": Resolution(["gridline", "pixel"], True),
"15s": Resolution(["gridline", "pixel"], True),
"14s": Resolution(["pixel"], True),
"01d": Resolution("01d"),
"30m": Resolution("30m"),
"20m": Resolution("20m"),
"15m": Resolution("15m"),
"10m": Resolution("10m"),
"06m": Resolution("06m"),
"05m": Resolution("05m", tiled=True),
"04m": Resolution("04m", tiled=True),
"03m": Resolution("03m", tiled=True),
"02m": Resolution("02m", tiled=True),
"01m": Resolution("01m", tiled=True),
"30s": Resolution("30s", tiled=True),
"15s": Resolution("15s", tiled=True),
"14s": Resolution("14s", registrations=["pixel"], tiled=True),
},
),
}
Expand Down
6 changes: 0 additions & 6 deletions pygmt/tests/test_datasets_moon_relief.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,9 @@
"""
import numpy as np
import numpy.testing as npt
import pytest
from pygmt.datasets import load_moon_relief


@pytest.fixture(autouse=True)
def _use_candidate_server(monkeypatch):
monkeypatch.setenv("GMT_DATA_SERVER", "candidate")


def test_moon_relief_01d():
"""
Test some properties of the Moon relief 01d data.
Expand Down

0 comments on commit 6baf2c7

Please sign in to comment.