Skip to content

Commit

Permalink
Update the order of datasets and grid registrations (#2276)
Browse files Browse the repository at this point in the history
  • Loading branch information
seisman authored Dec 26, 2022
1 parent a2c28d1 commit 7c67cf0
Showing 1 changed file with 80 additions and 80 deletions.
160 changes: 80 additions & 80 deletions pygmt/datasets/load_remote_dataset.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,67 +64,63 @@ class GMTRemoteDataset(NamedTuple):


datasets = {
"earth_relief": GMTRemoteDataset(
title="Earth relief",
name="elevation",
long_name="Earth elevation relative to the geoid",
units="meters",
extra_attributes={"vertical_datum": "EGM96", "horizontal_datum": "WGS84"},
resolutions={
"01d": Resolution(["pixel", "gridline"], False),
"30m": Resolution(["pixel", "gridline"], False),
"20m": Resolution(["pixel", "gridline"], False),
"15m": Resolution(["pixel", "gridline"], False),
"10m": Resolution(["pixel", "gridline"], False),
"06m": Resolution(["pixel", "gridline"], False),
"05m": Resolution(["pixel", "gridline"], True),
"04m": Resolution(["pixel", "gridline"], True),
"03m": Resolution(["pixel", "gridline"], True),
"02m": Resolution(["pixel", "gridline"], True),
"01m": Resolution(["pixel", "gridline"], True),
"30s": Resolution(["pixel", "gridline"], True),
"15s": Resolution(["pixel"], True),
"03s": Resolution(["gridline"], True),
"01s": Resolution(["gridline"], True),
},
),
"earth_age": GMTRemoteDataset(
title="seafloor age",
name="seafloor_age",
long_name="age of seafloor crust",
units="Myr",
extra_attributes={"horizontal_datum": "WGS84"},
resolutions={
"01d": Resolution(["pixel", "gridline"], False),
"30m": Resolution(["pixel", "gridline"], False),
"20m": Resolution(["pixel", "gridline"], False),
"15m": Resolution(["pixel", "gridline"], False),
"10m": Resolution(["pixel", "gridline"], False),
"06m": Resolution(["pixel", "gridline"], False),
"05m": Resolution(["pixel", "gridline"], True),
"04m": Resolution(["pixel", "gridline"], True),
"03m": Resolution(["pixel", "gridline"], True),
"02m": Resolution(["pixel", "gridline"], True),
"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"], True),
},
),
"earth_free_air_anomaly": GMTRemoteDataset(
title="free air anomaly",
name="free_air_anomaly",
long_name="IGPP Global Earth Free-Air Anomaly",
units="mGal",
extra_attributes={"horizontal_datum": "WGS84"},
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(["pixel"], True),
},
),
"earth_geoid": GMTRemoteDataset(
title="Earth geoid",
name="earth_geoid",
long_name="EGM2008 Global Earth Geoid",
units="m",
extra_attributes={"horizontal_datum": "WGS84"},
resolutions={
"01d": Resolution(["pixel", "gridline"], False),
"30m": Resolution(["pixel", "gridline"], False),
"20m": Resolution(["pixel", "gridline"], False),
"15m": Resolution(["pixel", "gridline"], False),
"10m": Resolution(["pixel", "gridline"], False),
"06m": Resolution(["pixel", "gridline"], False),
"05m": Resolution(["pixel", "gridline"], True),
"04m": Resolution(["pixel", "gridline"], True),
"03m": Resolution(["pixel", "gridline"], True),
"02m": Resolution(["pixel", "gridline"], True),
"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"], True),
},
),
Expand All @@ -135,36 +131,40 @@ class GMTRemoteDataset(NamedTuple):
units="nT",
extra_attributes={"horizontal_datum": "WGS84"},
resolutions={
"01d": Resolution(["pixel", "gridline"], False),
"30m": Resolution(["pixel", "gridline"], False),
"20m": Resolution(["pixel", "gridline"], False),
"15m": Resolution(["pixel", "gridline"], False),
"10m": Resolution(["pixel", "gridline"], False),
"06m": Resolution(["pixel", "gridline"], False),
"05m": Resolution(["pixel", "gridline"], True),
"04m": Resolution(["pixel", "gridline"], True),
"03m": Resolution(["pixel", "gridline"], True),
"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(["pixel"], True),
},
),
"earth_free_air_anomaly": GMTRemoteDataset(
title="free air anomaly",
name="free_air_anomaly",
long_name="IGPP Global Earth Free-Air Anomaly",
units="mGal",
extra_attributes={"horizontal_datum": "WGS84"},
"earth_relief": GMTRemoteDataset(
title="Earth relief",
name="elevation",
long_name="Earth elevation relative to the geoid",
units="meters",
extra_attributes={"vertical_datum": "EGM96", "horizontal_datum": "WGS84"},
resolutions={
"01d": Resolution(["pixel", "gridline"], False),
"30m": Resolution(["pixel", "gridline"], False),
"20m": Resolution(["pixel", "gridline"], False),
"15m": Resolution(["pixel", "gridline"], False),
"10m": Resolution(["pixel", "gridline"], False),
"06m": Resolution(["pixel", "gridline"], False),
"05m": Resolution(["pixel", "gridline"], True),
"04m": Resolution(["pixel", "gridline"], True),
"03m": Resolution(["pixel", "gridline"], True),
"02m": Resolution(["pixel", "gridline"], True),
"01m": Resolution(["pixel"], True),
"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(["pixel"], True),
"03s": Resolution(["gridline"], True),
"01s": Resolution(["gridline"], True),
},
),
"earth_vgg": GMTRemoteDataset(
Expand All @@ -174,16 +174,16 @@ class GMTRemoteDataset(NamedTuple):
units="Eotvos",
extra_attributes={"horizontal_datum": "WGS84"},
resolutions={
"01d": Resolution(["pixel", "gridline"], False),
"30m": Resolution(["pixel", "gridline"], False),
"20m": Resolution(["pixel", "gridline"], False),
"15m": Resolution(["pixel", "gridline"], False),
"10m": Resolution(["pixel", "gridline"], False),
"06m": Resolution(["pixel", "gridline"], False),
"05m": Resolution(["pixel", "gridline"], True),
"04m": Resolution(["pixel", "gridline"], True),
"03m": Resolution(["pixel", "gridline"], True),
"02m": Resolution(["pixel", "gridline"], True),
"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(["pixel"], True),
},
),
Expand Down

0 comments on commit 7c67cf0

Please sign in to comment.