Skip to content

Commit

Permalink
docs: improve Pangeo Forge examples
Browse files Browse the repository at this point in the history
  • Loading branch information
annehaley authored and johnkit committed Apr 30, 2024
1 parent 2f0a0ae commit 5f1be01
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 10 deletions.
12 changes: 6 additions & 6 deletions examples/example_config_noaa.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@
},
"data_slices": {
"lat": [
-45,
45,
100
],
"lon": [
-90,
90,
100
20
],
"lon": [
-180,
180,
20
]
},
"ui": {
Expand Down
17 changes: 13 additions & 4 deletions examples/jupyter/pangeo_forge.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
" 'data_origin': dataset_path,\n",
" 'data_array': {\n",
" 'active': 'analysed_sst',\n",
" 'x': 'lat',\n",
" 'y': 'lon',\n",
" 'x': 'lon',\n",
" 'y': 'lat',\n",
" 't': 'time',\n",
" 't_index': 5,\n",
" },\n",
Expand All @@ -34,6 +34,7 @@
" 'ui': {\n",
" 'main_drawer': False,\n",
" 'axis_drawer': False,\n",
" 'expanded_coordinates': []\n",
" }\n",
"}\n",
"builder = DatasetBuilder()\n",
Expand All @@ -43,13 +44,21 @@
"await builder.viewer.ready\n",
"builder.viewer"
]
},
{
"cell_type": "code",
"execution_count": null,
"id": "34086301",
"metadata": {},
"outputs": [],
"source": []
}
],
"metadata": {
"kernelspec": {
"display_name": "Python 3 (ipykernel)",
"display_name": "pan3d",
"language": "python",
"name": "python3"
"name": "pan3d"
},
"language_info": {
"codemirror_mode": {
Expand Down

0 comments on commit 5f1be01

Please sign in to comment.