Skip to content

Commit

Permalink
Fix incorrect units in cos sza docstring
Browse files Browse the repository at this point in the history
  • Loading branch information
djhoese committed Dec 3, 2021
1 parent e969751 commit c3303e1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions satpy/modifiers/angles.py
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ def get_satellite_zenith_angle(data_arr: xr.DataArray) -> xr.DataArray:
Note that this function can benefit from the ``satpy.config`` parameters
:ref:`cache_lonlats <config_cache_lonlats_setting>` and
:ref:`cache_sensor_angles <config_cache_sensor_angles_setting>`
being set to ``True``.
being set to ``True``. Values are in degrees.
"""
satz = _get_sensor_angles(data_arr)[1]
Expand All @@ -279,7 +279,7 @@ def get_cos_sza(data_arr: xr.DataArray) -> xr.DataArray:
"""Generate the cosine of the solar zenith angle for the provided data.
Returns:
DataArray with the same shape as ``data_arr``. Units are radians.
DataArray with the same shape as ``data_arr``.
"""
lons, lats = _get_valid_lonlats(data_arr.attrs["area"], data_arr.chunks)
Expand Down

0 comments on commit c3303e1

Please sign in to comment.