Skip to content

Commit

Permalink
1.6.1 update (#94)
Browse files Browse the repository at this point in the history
* update edu notebooks

* update water resources

* update requirements
  • Loading branch information
fmaussion authored Aug 27, 2023
1 parent 065ef91 commit e17ac89
Show file tree
Hide file tree
Showing 18 changed files with 20 additions and 35 deletions.
11 changes: 2 additions & 9 deletions _toc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,18 +21,11 @@ parts:
- file: oggm-edu/accumulation_and_ablation
- file: oggm-edu/advance_and_retreat
- file: oggm-edu/low_pass_climate
- file: oggm-edu/temperature_index_model

- caption: Glaciers as water resources
chapters:
- file: oggm-edu/glacier_water_resources_index
sections:
- file: oggm-edu/glacier_water_resources_pre16
- file: oggm-edu/glacier_water_resources
- file: oggm-edu/glacier_water_resources_projections_index
sections:
- file: oggm-edu/glacier_water_resources_projections_pre16
- file: oggm-edu/glacier_water_resources_projections
- file: oggm-edu/glacier_water_resources
- file: oggm-edu/glacier_water_resources_projections

- caption: Graphics
chapters:
Expand Down
2 changes: 1 addition & 1 deletion oggm-edu/accumulation_and_ablation.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -561,7 +561,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.10.9"
"version": "3.11.4"
}
},
"nbformat": 4,
Expand Down
2 changes: 1 addition & 1 deletion oggm-edu/advance_and_retreat.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -572,7 +572,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.10.9"
"version": "3.11.4"
}
},
"nbformat": 4,
Expand Down
2 changes: 1 addition & 1 deletion oggm-edu/edu_intro.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -702,7 +702,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.10.9"
"version": "3.11.4"
},
"toc": {
"base_numbering": 1,
Expand Down
4 changes: 2 additions & 2 deletions oggm-edu/glacier_water_resources.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@
"outputs": [],
"source": [
"# We pick the elevation-bands glaciers because they run a bit faster - but they create more step changes in the area outputs\n",
"base_url = 'https://cluster.klima.uni-bremen.de/~oggm/gdirs/oggm_v1.6/L3-L5_files/2023.1/elev_bands/W5E5'\n",
"base_url = 'https://cluster.klima.uni-bremen.de/~oggm/gdirs/oggm_v1.6/L3-L5_files/2023.3/elev_bands/W5E5'\n",
"gdir = workflow.init_glacier_directories([rgi_id], from_prepro_level=5, prepro_border=80, prepro_base_url=base_url)[0]"
]
},
Expand Down Expand Up @@ -809,7 +809,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.10.9"
"version": "3.11.4"
},
"toc": {
"base_numbering": 1,
Expand Down
5 changes: 0 additions & 5 deletions oggm-edu/glacier_water_resources_index.md

This file was deleted.

4 changes: 2 additions & 2 deletions oggm-edu/glacier_water_resources_projections.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@
"outputs": [],
"source": [
"# We pick the elevation-bands glaciers because they run a bit faster - but they create more step changes in the area outputs\n",
"base_url = 'https://cluster.klima.uni-bremen.de/~oggm/gdirs/oggm_v1.6/L3-L5_files/2023.1/elev_bands/W5E5_spinup'\n",
"base_url = 'https://cluster.klima.uni-bremen.de/~oggm/gdirs/oggm_v1.6/L3-L5_files/2023.3/elev_bands/W5E5_spinup'\n",
"gdir = workflow.init_glacier_directories([rgi_id], from_prepro_level=5, prepro_border=160, prepro_base_url=base_url)[0]"
]
},
Expand Down Expand Up @@ -808,7 +808,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.10.9"
"version": "3.11.4"
},
"toc": {
"base_numbering": 1,
Expand Down
5 changes: 0 additions & 5 deletions oggm-edu/glacier_water_resources_projections_index.md

This file was deleted.

2 changes: 1 addition & 1 deletion oggm-edu/ice_flow_parameters.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -331,7 +331,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.10.6"
"version": "3.11.4"
},
"toc": {
"base_numbering": 1,
Expand Down
2 changes: 1 addition & 1 deletion oggm-edu/ice_on_incline.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -699,7 +699,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.10.9"
"version": "3.11.4"
},
"toc": {
"base_numbering": 1,
Expand Down
2 changes: 1 addition & 1 deletion oggm-edu/low_pass_climate.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -749,7 +749,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.10.8"
"version": "3.11.4"
}
},
"nbformat": 4,
Expand Down
2 changes: 1 addition & 1 deletion oggm-edu/mass_balance_gradients.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -604,7 +604,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.10.9"
"version": "3.11.4"
},
"toc": {
"base_numbering": 1,
Expand Down
2 changes: 1 addition & 1 deletion oggm-edu/surging_experiment.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.10.9"
"version": "3.11.4"
},
"toc": {
"base_numbering": 1,
Expand Down
2 changes: 1 addition & 1 deletion oggm-edu/temperature_index_model.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -716,7 +716,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.10.9"
"version": "3.11.4"
}
},
"nbformat": 4,
Expand Down
4 changes: 2 additions & 2 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
jupyter-book
oggm==1.6.0
oggm==1.6.1
bokeh
panel
holoviews
Expand All @@ -15,5 +15,5 @@ numpy
scipy
pyproj
geopandas
sklearn
scikit-learn
git+https://github.com/oggm/oggm-edu.git@master#egg=oggm_edu
4 changes: 3 additions & 1 deletion welcome.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,8 @@
"- [Glaciers as water resources: part 1 (idealized climate)](oggm-edu/glacier_water_resources.ipynb)\n",
"- [Glaciers as water resources: part 2 (projections)](oggm-edu/glacier_water_resources_projections.ipynb)\n",
"\n",
"*Same notebooks for OGGM versions < 1.6: [Part 1](oggm-edu/pre16/glacier_water_resources_pre16.ipynb), [Part 2](oggm-edu/pre16/glacier_water_resources_projections_pre16.ipynb)*\n",
"\n",
"**Educational graphics:**\n",
"- [ELA changes and response time](graphics/ela_changes_response_time.ipynb)"
]
Expand Down Expand Up @@ -119,7 +121,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.10.9"
"version": "3.11.4"
},
"toc": {
"base_numbering": 1,
Expand Down

0 comments on commit e17ac89

Please sign in to comment.