load_earth_relief: Move parameter use_srtm below data_source
@@ -18,8 +18,8 @@ def load_earth_relief(
resolution="01d",
region=None,
registration=None,
- use_srtm=False,
data_source="igpp",
+ use_srtm=False,
):
r"""
Load Earth relief grids (topography and bathymetry) in various resolutions.
@@ -62,13 +62,6 @@ def load_earth_relief(
**Note**: For GMT 6.3, ``registration=None`` returns a pixel-registered
grid by default unless only the gridline-registered grid is available.
- use_srtm : bool
- By default, the land-only SRTM tiles from NASA are used to generate the
- ``"03s"`` and ``"01s"`` grids, and the missing ocean values are filled
- by up-sampling the SRTM15 tiles which have a resolution of 15
- arc-second (i.e., ``"15s"``). If True, will only load the original
- land-only SRTM tiles. Only works when ``data_source="igpp"``.
-
data_source : str
Select the source for the Earth relief data.
@@ -88,6 +81,13 @@ def load_earth_relief(
- **gebcosi** : GEBCO Global Earth Relief that gives sub-ice (si)
elevations.
+ use_srtm : bool
+ By default, the land-only SRTM tiles from NASA are used to generate the
+ ``"03s"`` and ``"01s"`` grids, and the missing ocean values are filled
+ by up-sampling the SRTM15 tiles which have a resolution of 15
+ arc-second (i.e., ``"15s"``). If True, will only load the original
+ land-only SRTM tiles. Only works when ``data_source="igpp"``.
+
Returns
-------
grid : :class:`xarray.DataArray`
