Skip to content

Commit

Permalink
Merge pull request #105 from csdms/tiangan/update-link-for-notebooks
Browse files Browse the repository at this point in the history
Tiangan/update link for notebooks
  • Loading branch information
mdpiper authored Jan 13, 2020
2 parents 3be2770 + d46d2a4 commit 32f0b20
Show file tree
Hide file tree
Showing 11 changed files with 21 additions and 21 deletions.
2 changes: 1 addition & 1 deletion docs/environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ name: pymt_docs
channels:
- conda-forge
dependencies:
- python==3.6
- python=3.6
- pandoc
- pip
- nbformat
Expand Down
4 changes: 2 additions & 2 deletions notebooks/cem.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@
"source": [
"## Coastline Evolution Model\n",
"\n",
"* Link to this notebook: https://github.com/csdms/pymt/blob/master/docs/demos/cem.ipynb\n",
"* Link to this notebook: https://github.com/csdms/pymt/blob/master/notebooks/cem.ipynb\n",
"* Install command: `$ conda install notebook pymt_cem`\n",
"* Download local copy of notebook:\n",
"\n",
" `$ curl -O https://raw.githubusercontent.com/csdms/pymt/master/docs/demos/cem.ipynb`\n",
" `$ curl -O https://raw.githubusercontent.com/csdms/pymt/master/notebooks/cem.ipynb`\n",
"\n",
"This example explores how to use a BMI implementation using the CEM model as an example.\n",
"\n",
Expand Down
2 changes: 1 addition & 1 deletion notebooks/cem_and_waves.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"source": [
"## Coastline Evolution Model + Waves\n",
"\n",
"* Link to this notebook: https://github.com/csdms/pymt/blob/master/docs/demos/cem_and_waves.ipynb\n",
"* Link to this notebook: https://github.com/csdms/pymt/blob/master/notebooks/cem_and_waves.ipynb\n",
"* Install command: `$ conda install notebook pymt_cem`\n",
"\n",
"This example explores how to use a BMI implementation to couple the Waves component with the Coastline Evolution Model component.\n",
Expand Down
2 changes: 1 addition & 1 deletion notebooks/child.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"metadata": {},
"source": [
"## CHILD Landscape Evolution Model\n",
"* Link to this notebook: https://github.com/csdms/pymt/blob/master/docs/demos/child.ipynb\n",
"* Link to this notebook: https://github.com/csdms/pymt/blob/master/notebooks/child.ipynb\n",
"* Install command: `$ conda install notebook pymt_child`\n",
"\n"
]
Expand Down
4 changes: 2 additions & 2 deletions notebooks/frost_number.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,15 @@
"source": [
"## Frost Number Model\n",
"\n",
"* Link to this notebook: https://github.com/csdms/pymt/blob/master/docs/demos/frost_number.ipynb\n",
"* Link to this notebook: https://github.com/csdms/pymt/blob/master/notebooks/frost_number.ipynb\n",
"* Install command:\n",
"```\n",
"$ conda install notebook pymt_permamodel\n",
"```\n",
"\n",
"* Download a local copy of the notebook:\n",
"```\n",
"$ curl -O https://raw.githubusercontent.com/csdms/pymt/master/docs/demos/frost_number.ipynb\n",
"$ curl -O https://raw.githubusercontent.com/csdms/pymt/master/notebooks/frost_number.ipynb\n",
"```\n",
"\n",
"* Start a Jupyter Notebook session in the current directory:\n",
Expand Down
6 changes: 3 additions & 3 deletions notebooks/hydrotrend.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@
"source": [
"## HydroTrend\n",
"\n",
"* Link to this notebook: https://github.com/csdms/pymt/blob/master/docs/demos/hydrotrend.ipynb\n",
"* Link to this notebook: https://github.com/csdms/pymt/blob/master/notebooks/hydrotrend.ipynb\n",
"* Package installation command: `$ conda install notebook pymt_hydrotrend`\n",
"* Command to download a local copy:\n",
"\n",
" `$ curl -O https://raw.githubusercontent.com/csdms/pymt/master/docs/demos/hydrotrend.ipynb`\n",
" `$ curl -O https://raw.githubusercontent.com/csdms/pymt/master/notebooks/hydrotrend.ipynb`\n",
"\n",
"HydroTrend is a 2D hydrological water balance and transport model that simulates water discharge and sediment load at a river outlet. You can read more about the model, find references or download the source code at: https://csdms.colorado.edu/wiki/Model:HydroTrend.\n",
"\n",
Expand Down Expand Up @@ -511,7 +511,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.6.0"
"version": "3.7.4"
}
},
"nbformat": 4,
Expand Down
6 changes: 3 additions & 3 deletions notebooks/ku.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@
"source": [
"## Kudryavtsev Model\n",
"\n",
"* Link to this notebook: https://github.com/csdms/pymt/blob/master/docs/demos/ku.ipynb\n",
"* Link to this notebook: https://github.com/csdms/pymt/blob/master/notebooks/ku.ipynb\n",
"* Install command: `$ conda install notebook pymt_permamodel`\n",
"* Download local copy of notebook:\n",
"\n",
" `$ curl -O https://raw.githubusercontent.com/csdms/pymt/master/docs/demos/ku.ipynb`\n",
" `$ curl -O https://raw.githubusercontent.com/csdms/pymt/master/notebooks/ku.ipynb`\n",
"\n",
"### Introduction to Permafrost Processes - Lesson 2 Kudryavtsev Model\n",
"\n",
Expand Down Expand Up @@ -998,7 +998,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.6.0"
"version": "3.7.4"
}
},
"nbformat": 4,
Expand Down
2 changes: 1 addition & 1 deletion notebooks/sedflux3d.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"metadata": {},
"source": [
"## Sedflux3D\n",
"* Link to this notebook: https://github.com/csdms/pymt/blob/master/docs/demos/sedflux3d.ipynb\n",
"* Link to this notebook: https://github.com/csdms/pymt/blob/master/notebooks/sedflux3d.ipynb\n",
"* Install command: `$ conda install notebook pymt_sedflux`\n",
"\n"
]
Expand Down
4 changes: 2 additions & 2 deletions notebooks/sedflux3d_and_child.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"metadata": {},
"source": [
"## Sedflux3D + CHILD\n",
"* Link to this notebook: https://github.com/csdms/pymt/blob/master/docs/demos/sedflux3d_and_child.ipynb\n",
"* Link to this notebook: https://github.com/csdms/pymt/blob/master/notebooks/sedflux3d_and_child.ipynb\n",
"* Install command: `$ conda install notebook pymt_sedflux pymt_child`\n",
"\n"
]
Expand Down Expand Up @@ -270,7 +270,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.6.5"
"version": "3.7.4"
}
},
"nbformat": 4,
Expand Down
8 changes: 4 additions & 4 deletions notebooks/subside.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"source": [
"## Flexural Subsidence\n",
"\n",
"* Link to this notebook: https://github.com/csdms/pymt/blob/master/docs/demos/subside.ipynb\n",
"* Link to this notebook: https://github.com/csdms/pymt/blob/master/notebooks/subside.ipynb\n",
"* Install command: `$ conda install notebook pymt_sedflux`\n",
"\n",
"This example explores how to use a BMI implementation using sedflux's subsidence model as an example.\n",
Expand Down Expand Up @@ -431,9 +431,9 @@
],
"metadata": {
"kernelspec": {
"display_name": "Python 3 (pymt)",
"display_name": "Python 3",
"language": "python",
"name": "pymt-dev"
"name": "python3"
},
"language_info": {
"codemirror_mode": {
Expand All @@ -445,7 +445,7 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.7.3"
"version": "3.7.4"
}
},
"nbformat": 4,
Expand Down
2 changes: 1 addition & 1 deletion pymt/cfunits/units.py
Original file line number Diff line number Diff line change
Expand Up @@ -1849,7 +1849,7 @@ def reftime(self):
:Examples:
>>> repr(Units('days since 1900-1-1').reftime)
'cftime.datetime(1900, 1, 1, 0, 0, 0, 0, -1, 1)'
'cftime.datetime(1900-01-01 00:00:00)'
>>> str(Units('days since 1900-1-1 03:00').reftime)
'1900-01-01 03:00:00'
Expand Down

0 comments on commit 32f0b20

Please sign in to comment.