Skip to content

Commit f562378

Browse files
committed
fix grid_mapping location
1 parent 4baa9a7 commit f562378

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

docs/getting_started/crs_management.ipynb

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
"If you have opened a dataset and the Coordinate Reference System (CRS) can be determined, you can access it via the `rio.crs` accessor.\n",
4444
"\n",
4545
"#### Search order for the CRS (DataArray and Dataset):\n",
46-
"1. Look in attributes (`attrs`) of your data array for the `grid_mapping` coordinate name.\n",
46+
"1. Look in `encoding` of your data array for the `grid_mapping` coordinate name.\n",
4747
" Inside the `grid_mapping` coordinate first look for `spatial_ref` then `crs_wkt` and lastly the CF grid mapping attributes.\n",
4848
" This is in line with the Climate and Forecast (CF) conventions for storing the CRS as well as GDAL netCDF conventions.\n",
4949
"2. Look in the `crs` attribute and load in the CRS from there. This is for backwards compatibility with `xarray.open_rasterio`, which is deprecated since version 0.20.0. We recommend using `rioxarray.open_rasterio` instead.\n",
@@ -73,7 +73,7 @@
7373
},
7474
{
7575
"cell_type": "code",
76-
"execution_count": 1,
76+
"execution_count": null,
7777
"metadata": {},
7878
"outputs": [],
7979
"source": [
@@ -84,7 +84,7 @@
8484
},
8585
{
8686
"cell_type": "code",
87-
"execution_count": 2,
87+
"execution_count": null,
8888
"metadata": {},
8989
"outputs": [],
9090
"source": [
@@ -93,7 +93,7 @@
9393
},
9494
{
9595
"cell_type": "code",
96-
"execution_count": 3,
96+
"execution_count": null,
9797
"metadata": {},
9898
"outputs": [
9999
{
@@ -113,7 +113,7 @@
113113
},
114114
{
115115
"cell_type": "code",
116-
"execution_count": 4,
116+
"execution_count": null,
117117
"metadata": {},
118118
"outputs": [
119119
{
@@ -497,7 +497,7 @@
497497
},
498498
{
499499
"cell_type": "code",
500-
"execution_count": 5,
500+
"execution_count": null,
501501
"metadata": {},
502502
"outputs": [
503503
{

0 commit comments

Comments
 (0)