Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 18 additions & 13 deletions docs/source/how-tos/grib/grib_overview.ipynb

Large diffs are not rendered by default.

12 changes: 7 additions & 5 deletions docs/source/how-tos/grib/grib_to_netcdf.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,6 @@
"\t\tt:long_name = \"Temperature\" ;\n",
"\t\tt:units = \"kelvin\" ;\n",
"\t\tt:level_type = \"pressure\" ;\n",
"\t\tt:earthkit_grid_spec = \"{\\\"grid\\\": [30, 30]}\" ;\n",
"\tint64 level(level) ;\n",
"\t\tlevel:standard_name = \"air_pressure\" ;\n",
"\t\tlevel:long_name = \"pressure\" ;\n",
Expand Down Expand Up @@ -182,7 +181,6 @@
"\t\tt:long_name = \"Temperature\" ;\n",
"\t\tt:units = \"kelvin\" ;\n",
"\t\tt:level_type = \"pressure\" ;\n",
"\t\tt:earthkit_grid_spec = \"{\\\"grid\\\": [30, 30]}\" ;\n",
"\tint64 level(level) ;\n",
"\t\tlevel:standard_name = \"air_pressure\" ;\n",
"\t\tlevel:long_name = \"pressure\" ;\n",
Expand Down Expand Up @@ -257,7 +255,6 @@
"\t\tt:long_name = \"Temperature\" ;\n",
"\t\tt:units = \"kelvin\" ;\n",
"\t\tt:level_type = \"pressure\" ;\n",
"\t\tt:earthkit_grid_spec = \"{\\\"grid\\\": [30, 30]}\" ;\n",
"\tint64 level(level) ;\n",
"\t\tlevel:standard_name = \"air_pressure\" ;\n",
"\t\tlevel:long_name = \"pressure\" ;\n",
Expand Down Expand Up @@ -316,7 +313,6 @@
"\t\tt:long_name = \"Temperature\" ;\n",
"\t\tt:units = \"kelvin\" ;\n",
"\t\tt:level_type = \"pressure\" ;\n",
"\t\tt:earthkit_grid_spec = \"{\\\"grid\\\": [30, 30]}\" ;\n",
"\t\tt:coordinates = \"latitude longitude\" ;\n",
"\tint64 level(level) ;\n",
"\t\tlevel:standard_name = \"air_pressure\" ;\n",
Expand Down Expand Up @@ -351,7 +347,13 @@
"cell_type": "code",
"execution_count": null,
"id": "80f49214-43c6-43be-af56-9d55a16f0f8c",
"metadata": {},
"metadata": {
"editable": true,
"slideshow": {
"slide_type": ""
},
"tags": []
},
"outputs": [],
"source": []
}
Expand Down
148 changes: 16 additions & 132 deletions docs/source/how-tos/source/data.ipynb

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/source/how-tos/source/data_from_stream.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -1234,7 +1234,7 @@
" t (level, latitude, longitude) float64 1kB ...\n",
"Attributes:\n",
" Conventions: CF-1.8\n",
" institution: ECMWF</pre><div class='xr-wrap' style='display:none'><div class='xr-header'><div class='xr-obj-type'>xarray.Dataset</div></div><ul class='xr-sections'><li class='xr-section-item'><input id='section-2e4585bb-c408-4428-9240-d6a242b47369' class='xr-section-summary-in' type='checkbox' disabled /><label for='section-2e4585bb-c408-4428-9240-d6a242b47369' class='xr-section-summary'>Dimensions:</label><div class='xr-section-inline-details'><ul class='xr-dim-list'><li><span class='xr-has-index'>level</span>: 2</li><li><span class='xr-has-index'>latitude</span>: 7</li><li><span class='xr-has-index'>longitude</span>: 12</li></ul></div></li><li class='xr-section-item'><input id='section-94067b41-6e0a-49e5-a6e1-0f40838d37c2' class='xr-section-summary-in' type='checkbox' checked /><label for='section-94067b41-6e0a-49e5-a6e1-0f40838d37c2' class='xr-section-summary' title='Expand/collapse section'>Coordinates: <span>(3)</span></label><div class='xr-section-inline-details'></div><div class='xr-section-details'><ul class='xr-var-list'><li class='xr-var-item'><div class='xr-var-name'><span class='xr-has-index'>level</span></div><div class='xr-var-dims'>(level)</div><div class='xr-var-dtype'>int64</div><div class='xr-var-preview xr-preview'>850 1000</div><input id='attrs-86c3fa54-944f-425b-aea9-f923df263ebd' class='xr-var-attrs-in' type='checkbox' ><label for='attrs-86c3fa54-944f-425b-aea9-f923df263ebd' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-e11a7758-5670-45ca-84c1-140897a302c1' class='xr-var-data-in' type='checkbox'><label for='data-e11a7758-5670-45ca-84c1-140897a302c1' title='Show/Hide data repr'><svg class='icon xr-icon-database'><use xlink:href='#icon-database'></use></svg></label><div class='xr-var-attrs'><dl class='xr-attrs'><dt><span>standard_name :</span></dt><dd>air_pressure</dd><dt><span>long_name :</span></dt><dd>pressure</dd><dt><span>units :</span></dt><dd>hectopascal</dd><dt><span>positive :</span></dt><dd>down</dd></dl></div><div class='xr-var-data'><pre>array([ 850, 1000])</pre></div></li><li class='xr-var-item'><div class='xr-var-name'><span class='xr-has-index'>latitude</span></div><div class='xr-var-dims'>(latitude)</div><div class='xr-var-dtype'>float64</div><div class='xr-var-preview xr-preview'>90.0 60.0 30.0 ... -60.0 -90.0</div><input id='attrs-7f334920-4559-4d7f-8adc-605722c35072' class='xr-var-attrs-in' type='checkbox' ><label for='attrs-7f334920-4559-4d7f-8adc-605722c35072' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-c717908e-9027-4a5b-83c2-639b599eb3a7' class='xr-var-data-in' type='checkbox'><label for='data-c717908e-9027-4a5b-83c2-639b599eb3a7' title='Show/Hide data repr'><svg class='icon xr-icon-database'><use xlink:href='#icon-database'></use></svg></label><div class='xr-var-attrs'><dl class='xr-attrs'><dt><span>units :</span></dt><dd>degrees_north</dd><dt><span>standard_name :</span></dt><dd>latitude</dd><dt><span>long_name :</span></dt><dd>latitude</dd></dl></div><div class='xr-var-data'><pre>array([ 90., 60., 30., 0., -30., -60., -90.])</pre></div></li><li class='xr-var-item'><div class='xr-var-name'><span class='xr-has-index'>longitude</span></div><div class='xr-var-dims'>(longitude)</div><div class='xr-var-dtype'>float64</div><div class='xr-var-preview xr-preview'>0.0 30.0 60.0 ... 270.0 300.0 330.0</div><input id='attrs-cf4b34cf-74dd-408a-a6b4-558a68855834' class='xr-var-attrs-in' type='checkbox' ><label for='attrs-cf4b34cf-74dd-408a-a6b4-558a68855834' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-2943d0d2-9322-41d8-a097-2ea874ecf2ce' class='xr-var-data-in' type='checkbox'><label for='data-2943d0d2-9322-41d8-a097-2ea874ecf2ce' title='Show/Hide data repr'><svg class='icon xr-icon-database'><use xlink:href='#icon-database'></use></svg></label><div class='xr-var-attrs'><dl class='xr-attrs'><dt><span>units :</span></dt><dd>degrees_east</dd><dt><span>standard_name :</span></dt><dd>longitude</dd><dt><span>long_name :</span></dt><dd>longitude</dd></dl></div><div class='xr-var-data'><pre>array([ 0., 30., 60., 90., 120., 150., 180., 210., 240., 270., 300., 330.])</pre></div></li></ul></div></li><li class='xr-section-item'><input id='section-c39b2f41-6f95-4312-951f-7b2da70fd197' class='xr-section-summary-in' type='checkbox' checked /><label for='section-c39b2f41-6f95-4312-951f-7b2da70fd197' class='xr-section-summary' title='Expand/collapse section'>Data variables: <span>(1)</span></label><div class='xr-section-inline-details'></div><div class='xr-section-details'><ul class='xr-var-list'><li class='xr-var-item'><div class='xr-var-name'><span>t</span></div><div class='xr-var-dims'>(level, latitude, longitude)</div><div class='xr-var-dtype'>float64</div><div class='xr-var-preview xr-preview'>...</div><input id='attrs-bf4d8c16-dd1b-4c78-a32d-1b0b24d17920' class='xr-var-attrs-in' type='checkbox' ><label for='attrs-bf4d8c16-dd1b-4c78-a32d-1b0b24d17920' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-4ae70904-0715-4310-8845-d52bba29ad59' class='xr-var-data-in' type='checkbox'><label for='data-4ae70904-0715-4310-8845-d52bba29ad59' title='Show/Hide data repr'><svg class='icon xr-icon-database'><use xlink:href='#icon-database'></use></svg></label><div class='xr-var-attrs'><dl class='xr-attrs'><dt><span>standard_name :</span></dt><dd>air_temperature</dd><dt><span>long_name :</span></dt><dd>Temperature</dd><dt><span>units :</span></dt><dd>kelvin</dd><dt><span>level_type :</span></dt><dd>pressure</dd><dt><span>_earthkit :</span></dt><dd>{&#x27;message&#x27;: b&#x27;GRIB\\x00\\x00l\\x01\\x00\\x004\\x80b\\xfe\\xff\\x80\\x82d\\x03R\\x12\\x08\\x01\\x0c\\x00\\x01\\x00\\x00\\x00\\x00\\x00\\x00\\x15\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x01\\x01\\x02\\x04\\x010001\\x00\\x00\\x00\\x00\\x00 \\x00\\xff\\x00\\x00\\x0c\\x00\\x07\\x01_\\x90\\x00\\x00\\x00\\x80\\x81_\\x90\\x05\\t\\x10u0u0\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x0c\\x00\\x80\\x02D\\xb9}n\\x00\\x007777&#x27;, &#x27;bitsPerValue&#x27;: 4, &#x27;grid_spec&#x27;: &#x27;{&quot;grid&quot;: [30, 30]}&#x27;}</dd><dt><span>earthkit_grid_spec :</span></dt><dd>{&quot;grid&quot;: [30, 30]}</dd></dl></div><div class='xr-var-data'><pre>[168 values with dtype=float64]</pre></div></li></ul></div></li><li class='xr-section-item'><input id='section-db49b8f4-a33c-4a3d-bd18-71a38ffa5cfb' class='xr-section-summary-in' type='checkbox' checked /><label for='section-db49b8f4-a33c-4a3d-bd18-71a38ffa5cfb' class='xr-section-summary' title='Expand/collapse section'>Attributes: <span>(2)</span></label><div class='xr-section-inline-details'></div><div class='xr-section-details'><dl class='xr-attrs'><dt><span>Conventions :</span></dt><dd>CF-1.8</dd><dt><span>institution :</span></dt><dd>ECMWF</dd></dl></div></li></ul></div></div>"
" institution: ECMWF</pre><div class='xr-wrap' style='display:none'><div class='xr-header'><div class='xr-obj-type'>xarray.Dataset</div></div><ul class='xr-sections'><li class='xr-section-item'><input id='section-53974c19-a80c-40d1-b6f8-2e3684369521' class='xr-section-summary-in' type='checkbox' disabled /><label for='section-53974c19-a80c-40d1-b6f8-2e3684369521' class='xr-section-summary'>Dimensions:</label><div class='xr-section-inline-details'><ul class='xr-dim-list'><li><span class='xr-has-index'>level</span>: 2</li><li><span class='xr-has-index'>latitude</span>: 7</li><li><span class='xr-has-index'>longitude</span>: 12</li></ul></div></li><li class='xr-section-item'><input id='section-e3d5a7f9-1990-429e-b3c3-926e3ddd7efa' class='xr-section-summary-in' type='checkbox' checked /><label for='section-e3d5a7f9-1990-429e-b3c3-926e3ddd7efa' class='xr-section-summary' title='Expand/collapse section'>Coordinates: <span>(3)</span></label><div class='xr-section-inline-details'></div><div class='xr-section-details'><ul class='xr-var-list'><li class='xr-var-item'><div class='xr-var-name'><span class='xr-has-index'>level</span></div><div class='xr-var-dims'>(level)</div><div class='xr-var-dtype'>int64</div><div class='xr-var-preview xr-preview'>850 1000</div><input id='attrs-996c2d86-8071-47cf-8f53-ecd6b94a06e7' class='xr-var-attrs-in' type='checkbox' ><label for='attrs-996c2d86-8071-47cf-8f53-ecd6b94a06e7' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-7f3b0e21-604f-4109-b236-c40c6f2db294' class='xr-var-data-in' type='checkbox'><label for='data-7f3b0e21-604f-4109-b236-c40c6f2db294' title='Show/Hide data repr'><svg class='icon xr-icon-database'><use xlink:href='#icon-database'></use></svg></label><div class='xr-var-attrs'><dl class='xr-attrs'><dt><span>standard_name :</span></dt><dd>air_pressure</dd><dt><span>long_name :</span></dt><dd>pressure</dd><dt><span>units :</span></dt><dd>hectopascal</dd><dt><span>positive :</span></dt><dd>down</dd></dl></div><div class='xr-var-data'><pre>array([ 850, 1000])</pre></div></li><li class='xr-var-item'><div class='xr-var-name'><span class='xr-has-index'>latitude</span></div><div class='xr-var-dims'>(latitude)</div><div class='xr-var-dtype'>float64</div><div class='xr-var-preview xr-preview'>90.0 60.0 30.0 ... -60.0 -90.0</div><input id='attrs-c1975582-cac0-4747-97b7-a682d10bcf8e' class='xr-var-attrs-in' type='checkbox' ><label for='attrs-c1975582-cac0-4747-97b7-a682d10bcf8e' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-68de7897-e5a7-4df6-8f88-8f9eb1e6aae3' class='xr-var-data-in' type='checkbox'><label for='data-68de7897-e5a7-4df6-8f88-8f9eb1e6aae3' title='Show/Hide data repr'><svg class='icon xr-icon-database'><use xlink:href='#icon-database'></use></svg></label><div class='xr-var-attrs'><dl class='xr-attrs'><dt><span>units :</span></dt><dd>degrees_north</dd><dt><span>standard_name :</span></dt><dd>latitude</dd><dt><span>long_name :</span></dt><dd>latitude</dd></dl></div><div class='xr-var-data'><pre>array([ 90., 60., 30., 0., -30., -60., -90.])</pre></div></li><li class='xr-var-item'><div class='xr-var-name'><span class='xr-has-index'>longitude</span></div><div class='xr-var-dims'>(longitude)</div><div class='xr-var-dtype'>float64</div><div class='xr-var-preview xr-preview'>0.0 30.0 60.0 ... 270.0 300.0 330.0</div><input id='attrs-b1165f59-a420-464d-a860-a281b53790cb' class='xr-var-attrs-in' type='checkbox' ><label for='attrs-b1165f59-a420-464d-a860-a281b53790cb' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-93e1520f-9e53-488c-9c95-321d329646f6' class='xr-var-data-in' type='checkbox'><label for='data-93e1520f-9e53-488c-9c95-321d329646f6' title='Show/Hide data repr'><svg class='icon xr-icon-database'><use xlink:href='#icon-database'></use></svg></label><div class='xr-var-attrs'><dl class='xr-attrs'><dt><span>units :</span></dt><dd>degrees_east</dd><dt><span>standard_name :</span></dt><dd>longitude</dd><dt><span>long_name :</span></dt><dd>longitude</dd></dl></div><div class='xr-var-data'><pre>array([ 0., 30., 60., 90., 120., 150., 180., 210., 240., 270., 300., 330.])</pre></div></li></ul></div></li><li class='xr-section-item'><input id='section-88657a62-5095-4b6f-ab05-5026fd0d728a' class='xr-section-summary-in' type='checkbox' checked /><label for='section-88657a62-5095-4b6f-ab05-5026fd0d728a' class='xr-section-summary' title='Expand/collapse section'>Data variables: <span>(1)</span></label><div class='xr-section-inline-details'></div><div class='xr-section-details'><ul class='xr-var-list'><li class='xr-var-item'><div class='xr-var-name'><span>t</span></div><div class='xr-var-dims'>(level, latitude, longitude)</div><div class='xr-var-dtype'>float64</div><div class='xr-var-preview xr-preview'>...</div><input id='attrs-4860e80d-91f7-489c-b704-84699487e145' class='xr-var-attrs-in' type='checkbox' ><label for='attrs-4860e80d-91f7-489c-b704-84699487e145' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-398b66f0-0b4a-4cb9-b405-ca5720011fff' class='xr-var-data-in' type='checkbox'><label for='data-398b66f0-0b4a-4cb9-b405-ca5720011fff' title='Show/Hide data repr'><svg class='icon xr-icon-database'><use xlink:href='#icon-database'></use></svg></label><div class='xr-var-attrs'><dl class='xr-attrs'><dt><span>standard_name :</span></dt><dd>air_temperature</dd><dt><span>long_name :</span></dt><dd>Temperature</dd><dt><span>units :</span></dt><dd>kelvin</dd><dt><span>level_type :</span></dt><dd>pressure</dd><dt><span>_earthkit :</span></dt><dd>{&#x27;message&#x27;: b&#x27;GRIB\\x00\\x00l\\x01\\x00\\x004\\x80b\\xfe\\xff\\x80\\x82d\\x03R\\x12\\x08\\x01\\x0c\\x00\\x01\\x00\\x00\\x00\\x00\\x00\\x00\\x15\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x01\\x01\\x02\\x04\\x010001\\x00\\x00\\x00\\x00\\x00 \\x00\\xff\\x00\\x00\\x0c\\x00\\x07\\x01_\\x90\\x00\\x00\\x00\\x80\\x81_\\x90\\x05\\t\\x10u0u0\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x0c\\x00\\x80\\x02D\\xb9}n\\x00\\x007777&#x27;, &#x27;bitsPerValue&#x27;: 4, &#x27;grid_spec&#x27;: &#x27;{&quot;grid&quot;: [30, 30]}&#x27;}</dd></dl></div><div class='xr-var-data'><pre>[168 values with dtype=float64]</pre></div></li></ul></div></li><li class='xr-section-item'><input id='section-0f7485c8-c411-4f9d-8435-2c98add26ab0' class='xr-section-summary-in' type='checkbox' checked /><label for='section-0f7485c8-c411-4f9d-8435-2c98add26ab0' class='xr-section-summary' title='Expand/collapse section'>Attributes: <span>(2)</span></label><div class='xr-section-inline-details'></div><div class='xr-section-details'><dl class='xr-attrs'><dt><span>Conventions :</span></dt><dd>CF-1.8</dd><dt><span>institution :</span></dt><dd>ECMWF</dd></dl></div></li></ul></div></div>"
],
"text/plain": [
"<xarray.Dataset> Size: 2kB\n",
Expand Down
Loading
Loading