Skip to content

Commit d18ddfa

Browse files
Updating unitconverters notebook to use Unity
1 parent a00616c commit d18ddfa

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

docs/user_guide/examples/tutorial_unitconverters.ipynb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,7 @@
146146
"cell_type": "markdown",
147147
"metadata": {},
148148
"source": [
149-
"So the U field has a `GeographicPolar` UnitConverter object, the V field has a `Geographic` UnitConverter and the `temp` field has a `UnitConverter` object.\n",
149+
"So the U field has a `GeographicPolar` UnitConverter object, the V field has a `Geographic` UnitConverter and the `temp` field has a `Unity` object.\n",
150150
"\n",
151151
"Indeed, if we multiply the value of the V field with 1852 \\* 60 (the number of meters in 1 degree of latitude), we get the expected 1 m/s.\n"
152152
]
@@ -248,7 +248,7 @@
248248
"cell_type": "markdown",
249249
"metadata": {},
250250
"source": [
251-
"Indeed, in this case all Fields have the same default `UnitConverter` object.\n"
251+
"Indeed, in this case all Fields have the same default `Unity` object.\n"
252252
]
253253
},
254254
{
@@ -348,7 +348,7 @@
348348
"| `\"V\"` | `Geographic` | $1852 \\cdot 60$ | 1 |\n",
349349
"| `\"Kh_zonal\"` | `GeographicPolarSquare` | $(1852 \\cdot 60 \\cdot \\cos(lat \\cdot \\frac{\\pi}{180}))^2$ | 1 |\n",
350350
"| `\"Kh_meridional\"` | `GeographicSquare` | $(1852 \\cdot 60)^2$ | 1 |\n",
351-
"| All other fields | `UnitConverter` | 1 | 1 |\n",
351+
"| All other fields | `Unity` | 1 | 1 |\n",
352352
"\n",
353353
"Only four Field names are recognised and assigned an automatic UnitConverter object. This means that things might go very wrong when e.g. a velocity field is not called `U` or `V`.\n",
354354
"\n",

0 commit comments

Comments
 (0)