Skip to content

Commit

Permalink
load_earth_magnatic_anomaly: Fix the description of resolution and re…
Browse files Browse the repository at this point in the history
…gistration (#2328)

Co-authored-by: Will Schlitzer <[email protected]>
  • Loading branch information
seisman and willschlitzer authored Jan 19, 2023
1 parent 7b501ca commit b8ac1f8
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions pygmt/datasets/earth_magnetic_anomaly.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@ def load_earth_magnetic_anomaly(
The grid resolution. The suffix ``d`` and ``m`` stand for
arc-degrees and arc-minutes. It can be ``"01d"``, ``"30m"``,
``"20m"``, ``"15m"``, ``"10m"``, ``"06m"``, ``"05m"``, ``"04m"``,
``"03m"``, or ``"02m"``.
``"03m"``, or ``"02m"``. The ``"02m"`` resolution is not available for
``data_source="wdmam"``.
region : str or list
The subregion of the grid to load, in the form of a list
Expand All @@ -53,7 +54,8 @@ def load_earth_magnetic_anomaly(
registration : str
Grid registration type. Either ``"pixel"`` for pixel registration or
``"gridline"`` for gridline registration. Default is ``"gridline"``
for all resolutions except ``"02m"`` which is ``"pixel"`` only.
for all resolutions except ``"02m"`` for ``data_source="emag2"`` or
``data_source="emag2_4km"``, which are ``"pixel"`` only.
data_source : str
Select the source of the magnetic anomaly data.
Expand Down

0 comments on commit b8ac1f8

Please sign in to comment.