Skip to content

Commit 18e110c

Browse files
MateusStanoCopilot
andcommitted
DOCS: checked todo
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 06a5034 commit 18e110c

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

rocketpy/environment/environment.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2059,8 +2059,10 @@ class for some dictionary examples.
20592059
lon_array = data.variables[dictionary["longitude"]]
20602060
lat_array = data.variables[dictionary["latitude"]]
20612061

2062-
# Some THREDDS datasets use projected x/y coordinates.
2063-
# TODO CHECK THIS I AM NOT SURE?????
2062+
# Some THREDDS datasets use projected x/y coordinates. When a
2063+
# "projection" variable is provided in the mapping dictionary, convert
2064+
# the launch site's geodesic coordinates to the model's projected
2065+
# coordinate system before locating the nearest grid cell.
20642066
if dictionary.get("projection") is not None:
20652067
projection_variable = data.variables[dictionary["projection"]]
20662068
x_units = getattr(lon_array, "units", "m")

0 commit comments

Comments
 (0)