Skip to content

Commit

Permalink
Updated notebook
Browse files Browse the repository at this point in the history
  • Loading branch information
trondkr committed Mar 28, 2021
1 parent 15f27d9 commit 10a60fc
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion Examples/M2R_plot_streamlines.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,27 @@
"plt.style.use('default')"
]
},
{
"cell_type": "markdown",
"source": [
"To use this example you first need to :\n",
"1. Put your grid into the `Grids` folder\n",
"2. Run M2R with your grid to create an init file and put the file in the `test_data` folder\n",
"3. Use the init and the grid file as input to this notebook below"
],
"metadata": {
"collapsed": false,
"pycharm": {
"name": "#%% md\n"
}
}
},
{
"cell_type": "code",
"execution_count": 22,
"outputs": [],
"source": [
"ds_full = xr.open_dataset('test_data/Antarctic_init_GLORYS_19930115_to_19930531.nc')\n",
"\n",
"ds_grid=xr.open_dataset(\"Grids/ANT_01.nc\")"
],
"metadata": {
Expand Down

0 comments on commit 10a60fc

Please sign in to comment.