Skip to content

Commit 061d71c

Browse files
committed
Merge branch 'bug/deactivation-opendap-nomads' of https://github.com/RocketPy-Team/RocketPy into bug/deactivation-opendap-nomads
2 parents ee2663b + def001c commit 061d71c

1 file changed

Lines changed: 6 additions & 4 deletions

File tree

rocketpy/environment/environment.py

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2033,8 +2033,8 @@ def process_ensemble(self, file, dictionary): # pylint: disable=too-many-locals
20332033
20342034
See also
20352035
--------
2036-
See the :class:``rocketpy.environment.weather_model_mapping`` for some
2037-
dictionary examples.
2036+
See the :class:`rocketpy.environment.weather_model_mapping.WeatherModelMapping`
2037+
class for some dictionary examples.
20382038
20392039
Raises
20402040
------
@@ -2059,8 +2059,10 @@ def process_ensemble(self, file, dictionary): # pylint: disable=too-many-locals
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)