6 "name": "read_wrfout.ipynb",
8 "collapsed_sections": []
12 "display_name": "Python 3"
20 "cell_type": "markdown",
25 "**Python basics 05 - download a NetCDF file and read it**"
29 "cell_type": "markdown",
34 "Run rhe code below to upload a file. Try to run it twice to see what happens."
43 "! wget --no-clobber --output-document=wrf.nc https://home.chpc.utah.edu/~u0703457/people_share/jan/simulation_canopy/wrfout_d01_2018-09-16_00:00:00\n"
45 "execution_count": null,
49 "cell_type": "markdown",
54 " **Exercise 1** Find the documenation of the wget command online and describe the meaning of the arguments used."
58 "cell_type": "markdown",
63 "**Exercise 2** Complete the code below to read the arrays XLAT, XLONG as lats, lons, and variable tr17_1 from the file you uploaded similarly as in https://github.com/openwfm/wrfxpy/blob/829abe55c950840693dfae09adbb928ffdf3652a/src/forecast.py#L522, and print their shape (i.e., dimensions). Hint: look up NumPy shape online. "
72 "import netCDF4 as nc4\n",
75 "execution_count": null,