Skip to content

Commit 5f9f5f5

Browse files
committed
Specify sampling_type to silence warning
1 parent 8000685 commit 5f9f5f5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

doc/source/quickstart/5)_Derived_Fields_and_Profiles.ipynb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
},
4242
"outputs": [],
4343
"source": [
44-
"@derived_field(name = \"dinosaurs\", units = \"K * cm/s\")\n",
44+
"@derived_field(name=\"dinosaurs\", units=\"K * cm/s\", sampling_type=\"cell\")\n",
4545
"def _dinos(field, data):\n",
4646
" return data[\"temperature\"] * data[\"velocity_magnitude\"]"
4747
]

0 commit comments

Comments
 (0)