Browse Source

Updated notebooks. Conda recipe changed to use latest libgcc since continuum broke the 4.8.5 build by excluding libgfortran in build 2

main 1.0a2
Bill Ladwig 9 years ago
parent
commit
62216c5d04
  1. 4
      conda_recipe/meta.yaml
  2. 2
      doc/source/conf.py
  3. 10
      test/ipynb/WRF_Workshop_Demo.ipynb
  4. 23
      test/ipynb/WRF_python_demo.ipynb
  5. 11
      test/ipynb/nocopy_test.ipynb

4
conda_recipe/meta.yaml

@ -19,13 +19,13 @@ requirements: @@ -19,13 +19,13 @@ requirements:
- wrapt
- gcc
- python
- libgcc 4.8.5
- libgcc
run:
- numpy x.x
- python
- wrapt
- libgcc 4.8.5
- libgcc
- xarray
test:

2
doc/source/conf.py

@ -48,7 +48,7 @@ master_doc = 'index' @@ -48,7 +48,7 @@ master_doc = 'index'
# General information about the project.
project = u'wrf-python'
copyright = u'2016, Bill Ladwig'
copyright = u'2016, UCAR'
author = u'Bill Ladwig'
# The version info for the project you're documenting, acts as replacement for

10
test/ipynb/WRF_Workshop_Demo.ipynb

@ -424,21 +424,21 @@ @@ -424,21 +424,21 @@
],
"metadata": {
"kernelspec": {
"display_name": "Python 2",
"display_name": "Python 3",
"language": "python",
"name": "python2"
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 2
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython2",
"version": "2.7.11"
"pygments_lexer": "ipython3",
"version": "3.5.2"
}
},
"nbformat": 4,

23
test/ipynb/WRF_python_demo.ipynb

@ -948,7 +948,7 @@ @@ -948,7 +948,7 @@
"pivot_point = (t2.shape[-2] / 2, t2.shape[-1] / 2) \n",
"angle = 90.0\n",
"\n",
"t2_line = interpline(t2, pivot_point=pivot_point, angle=angle, inc_latlon=True)\n",
"t2_line = interpline(t2, pivot_point=pivot_point, angle=angle, latlon=True)\n",
"print(t2_line)\n",
"print(\"\\n\")\n",
"\n",
@ -959,7 +959,7 @@ @@ -959,7 +959,7 @@
"start_point = (t2.shape[-2]/2, 0)\n",
"end_point = (t2.shape[-2]/2, -1)\n",
"\n",
"t2_line = interpline(t2, start_point=start_point, end_point=end_point, inc_latlon=True)\n",
"t2_line = interpline(t2, start_point=start_point, end_point=end_point, latlon=True)\n",
"print(t2_line)\n",
"print(\"\\n\")\n",
"\n",
@ -1017,6 +1017,15 @@ @@ -1017,6 +1017,15 @@
"print(d)\n"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {
"collapsed": true
},
"outputs": [],
"source": []
},
{
"cell_type": "code",
"execution_count": null,
@ -1029,21 +1038,21 @@ @@ -1029,21 +1038,21 @@
],
"metadata": {
"kernelspec": {
"display_name": "Python 2",
"display_name": "Python 3",
"language": "python",
"name": "python2"
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 2
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython2",
"version": "2.7.11"
"pygments_lexer": "ipython3",
"version": "3.5.2"
}
},
"nbformat": 4,

11
test/ipynb/nocopy_test.ipynb

@ -475,6 +475,7 @@ @@ -475,6 +475,7 @@
"only_height = (Ellipsis,) + tuple(only_height[-3:])\n",
"\n",
"v_in = field3d[only_height]\n",
"print(\"v_in\", v_in)\n",
"z_in = z[only_height]\n",
"z_out = np.asarray([100.,200.,300.,500.,1000.,5000.], field3d.dtype)\n",
"\n",
@ -556,21 +557,21 @@ @@ -556,21 +557,21 @@
],
"metadata": {
"kernelspec": {
"display_name": "Python 2",
"display_name": "Python 3",
"language": "python",
"name": "python2"
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 2
"version": 3
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython2",
"version": "2.7.11"
"pygments_lexer": "ipython3",
"version": "3.5.2"
}
},
"nbformat": 4,

Loading…
Cancel
Save