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 ce11d4c commit 38fbbfcCopy full SHA for 38fbbfc
parcels/grid.py
@@ -115,6 +115,10 @@ def depth(self):
115
return self._depth
116
117
def negate_depth(self) -> None:
118
+ """Method to flip the sign of the depth dimension of a Grid.
119
+ Note that this method does _not_ change the direction of the vertical velocity;
120
+ for that users need to add a fieldset.W.set_scaling_factor(-1.0)
121
+ """
122
self._depth = -self._depth
123
124
@property
0 commit comments