Skip to content

Commit

Permalink
Correct types in '_check_attributes' docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
ealerskans committed Dec 13, 2024
1 parent e3c0f22 commit e907a6d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mllam_data_prep/derived_variables.py
Original file line number Diff line number Diff line change
Expand Up @@ -212,15 +212,15 @@ def _check_attributes(field, field_attributes):
Parameters
----------
field: Union[xr.DataArray, Tuple[xr.DataArray]]
field: xr.DataArray
The derived field
field_attributes: Dict[str, str]
Dictionary with attributes for the derived variables.
Defined in the config file.
Returns
-------
field: Union[xr.DataArray, Tuple[xr.DataArray]]
field: xr.DataArray
The derived field
"""
for attribute in ["units", "long_name"]:
Expand Down

0 comments on commit e907a6d

Please sign in to comment.