Commit 98b4fe04 authored by Carsten Ehbrecht's avatar Carsten Ehbrecht

added remote fs docu

parent fe8f763a
......@@ -37,8 +37,24 @@
"outputs": [],
"source": [
"#Set cdo to the binary which allows etccdi indices\n",
"cdoWithETCCDI=\"/work/bm0021/cdo_climateindices/cdo_cei/bin/cdo\"\n",
"cdo.setCdo(cdoWithETCCDI)"
"#cdoWithETCCDI=\"/work/bm0021/cdo_climateindices/cdo_cei/bin/cdo\"\n",
"#cdo.setCdo(cdoWithETCCDI)"
]
},
{
"cell_type": "markdown",
"metadata": {},
"source": [
"**Mount remote filesystem**\n",
"\n",
"Links:\n",
"* https://linuxize.com/post/how-to-use-sshfs-to-mount-remote-directories-over-ssh/\n",
"\n",
"Mount read-only:\n",
"```\n",
"$ mkdir /work/bm0021\n",
"$ sshfs user@mistral.dkrz.de:/mnt/lustre02/work/bm0021 /work/bm0021 -o ro\n",
"```"
]
},
{
......@@ -56,6 +72,16 @@
"!ls /work/bm0021/k204210/INDICES2/timeseries/"
]
},
{
"cell_type": "code",
"execution_count": null,
"metadata": {},
"outputs": [],
"source": [
"#Try cdo sinfo\n",
"cdo.sinfo(input=timeseriesDir+'tasmin_MPI-ESM1-2-HR_historical_r1i1p1f1_1961-1990.nc')"
]
},
{
"cell_type": "code",
"execution_count": null,
......@@ -375,9 +401,9 @@
],
"metadata": {
"kernelspec": {
"display_name": "Python 3 bleeding edge (using the module anaconda3/bleeding_edge)",
"display_name": "Python 3",
"language": "python",
"name": "anaconda3_bleeding"
"name": "python3"
},
"language_info": {
"codemirror_mode": {
......@@ -389,9 +415,9 @@
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython3",
"version": "3.6.9"
"version": "3.7.6"
}
},
"nbformat": 4,
"nbformat_minor": 2
"nbformat_minor": 4
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment