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 06a5034 commit 18e110cCopy full SHA for 18e110c
1 file changed
rocketpy/environment/environment.py
@@ -2059,8 +2059,10 @@ class for some dictionary examples.
2059
lon_array = data.variables[dictionary["longitude"]]
2060
lat_array = data.variables[dictionary["latitude"]]
2061
2062
- # Some THREDDS datasets use projected x/y coordinates.
2063
- # 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
2064
+ # the launch site's geodesic coordinates to the model's projected
2065
+ # coordinate system before locating the nearest grid cell.
2066
if dictionary.get("projection") is not None:
2067
projection_variable = data.variables[dictionary["projection"]]
2068
x_units = getattr(lon_array, "units", "m")
0 commit comments