File tree Expand file tree Collapse file tree 3 files changed +4
-5
lines changed Expand file tree Collapse file tree 3 files changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -42,7 +42,7 @@ Below is a list of top-level API functions that are available in ``xcdat``.
4242Module-level API Functions
4343--------------------------
4444
45- Below is a list of model -level API functions that are available in ``xcdat ``.
45+ Below is a list of module -level API functions that are available in ``xcdat ``.
4646
4747.. autosummary ::
4848 :toctree: generated/
Original file line number Diff line number Diff line change @@ -201,8 +201,7 @@ def test_mask_fractional(self, ds):
201201 xr .testing .assert_allclose (output .ts , expected_sea )
202202
203203 # invert expected
204- expected_land = expected_sea .copy ()
205- expected_land = xr .where (expected_sea == 1 , np .nan , expected_land )
204+ expected_land = xr .where (expected_sea == 1 , np .nan , expected_sea )
206205 expected_land = xr .where (np .isnan (expected_sea ), 1.0 , np .nan )
207206
208207 output = mask .generate_and_apply_land_sea_mask (
Original file line number Diff line number Diff line change @@ -140,7 +140,7 @@ def mask_sea(
140140 method : str = "regionmask" ,
141141 criteria : float | None = None ,
142142 mask : xr .DataArray | None = None ,
143- output_mask : bool = False ,
143+ output_mask : bool | str = False ,
144144 ** options : Any ,
145145 ):
146146 """
@@ -166,7 +166,7 @@ def mask_sea(
166166 **options : Any
167167 These options are passed directly to the ``method``. See specific
168168 method documentation for available options:
169- :func:`xcdat.mask.pcmdi_land_sea_mask` for PCMDI options
169+ :func:`xcdat.mask.pcmdi_land_sea_mask` for PCMDI options.
170170
171171 Returns
172172 -------
You can’t perform that action at this time.
0 commit comments