Skip to content

Commit def001c

Browse files
MateusStanoCopilot
andauthored
DOCS: checked todo
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 264eb4f commit def001c

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
@@ -2058,8 +2058,10 @@ class for some dictionary examples.
20582058
lon_array = data.variables[dictionary["longitude"]]
20592059
lat_array = data.variables[dictionary["latitude"]]
20602060

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

0 commit comments

Comments
 (0)