Skip to content

Commit a69712b

Browse files
author
Chahan Kropf
committed
Improve wording
1 parent a9c76e8 commit a69712b

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

CHANGELOG.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,6 @@ Removed:
2121
`plot_intensity`, `plot_fraction`, `_event_plot` to mask plotting when regions are too far from data points [#1047](https://github.com/CLIMADA-project/climada_python/pull/1047). To recreate previous plots (no masking), the parameter can be set to None.
2222
- Added instructions to install Climada petals on Euler cluster in `doc.guide.Guide_Euler.ipynb` [#1029](https://github.com/CLIMADA-project/climada_python/pull/1029)
2323
- Added util methods to handle crs coordinates consistently: `is_geo_coords`, `check_if_geo_coords`, `get_crs_unit`, `estimate_matching_threshold`, `degree_to_km`, and `km_to_degree` [#1080](https://github.com/CLIMADA-project/climada_python/pull/1080)
24-
2524
- `ImpactFunc` and `ImpactFuncSet` now support equality comparisons via `==` [#1027](https://github.com/CLIMADA-project/climada_python/pull/1027)
2625

2726
### Changed

climada/util/coordinates.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1147,7 +1147,8 @@ def degree_to_km(degree):
11471147
Notes
11481148
-----
11491149
The conversion is based on the formula:
1150-
.. math:: $distance = angle_{radians} \\times R$
1150+
.. math::
1151+
distance = angle_{radians} \\times R
11511152
where R is the Earth's radius in km.
11521153
11531154
Examples
@@ -1183,7 +1184,8 @@ def km_to_degree(km):
11831184
Notes
11841185
-----
11851186
The conversion is based on the formula:
1186-
.. math::$angle_{radians} = distance / R$
1187+
.. math::
1188+
angle_{radians} = distance / R
11871189
where R is the Earth's radius in km.
11881190
11891191
Examples

0 commit comments

Comments
 (0)