[docs] Update Staggered_Grids documentation
{
"cell_type": "markdown",
"source": [
- "Slicing spatial dimensions on grids is different from slicing the `values` tensor directly.\n",
- "Here, a sub-grid is selected.\n",
- "The number of sample points depends on the grid type and extrapolation."
+ "Grids do not support slicing along spatial dimensions because the result would be ambiguous with StaggeredGrids.\n",
+ "Instead, slice the `values` directly."
],
"metadata": {
"collapsed": false,
"execution_count": null,
"outputs": [],
"source": [
- "grid.x[3:4] # spatial slice"
+ "grid.values.x[3:4] # spatial slice"
],
"metadata": {
"collapsed": false,
"execution_count": null,
"outputs": [],
"source": [
- "grid.x[0] # spatial slice"
+ "grid.values.x[0] # spatial slice"
],
"metadata": {
"collapsed": false,
