We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 264eb4f commit def001cCopy full SHA for def001c
1 file changed
rocketpy/environment/environment.py
@@ -2058,8 +2058,10 @@ class for some dictionary examples.
2058
lon_array = data.variables[dictionary["longitude"]]
2059
lat_array = data.variables[dictionary["latitude"]]
2060
2061
- # Some THREDDS datasets use projected x/y coordinates.
2062
- # TODO CHECK THIS I AM NOT SURE?????
+ # Some THREDDS datasets use projected x/y coordinates. When a
+ # "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.
2065
if dictionary.get("projection") is not None:
2066
projection_variable = data.variables[dictionary["projection"]]
2067
x_units = getattr(lon_array, "units", "m")
0 commit comments