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

added remote fs docu

parent fe8f763a
......@@ -21,12 +21,25 @@
%% Cell type:code id: tags:
``` python
#Set cdo to the binary which allows etccdi indices
cdoWithETCCDI="/work/bm0021/cdo_climateindices/cdo_cei/bin/cdo"
cdo.setCdo(cdoWithETCCDI)
#cdoWithETCCDI="/work/bm0021/cdo_climateindices/cdo_cei/bin/cdo"
#cdo.setCdo(cdoWithETCCDI)
```
%% Cell type:markdown id: tags:
**Mount remote filesystem**
Links:
* https://linuxize.com/post/how-to-use-sshfs-to-mount-remote-directories-over-ssh/
Mount read-only:
```
$ mkdir /work/bm0021
$ sshfs user@mistral.dkrz.de:/mnt/lustre02/work/bm0021 /work/bm0021 -o ro
```
%% Cell type:code id: tags:
``` python
......@@ -40,10 +53,17 @@
```
%% Cell type:code id: tags:
``` python
#Try cdo sinfo
cdo.sinfo(input=timeseriesDir+'tasmin_MPI-ESM1-2-HR_historical_r1i1p1f1_1961-1990.nc')
```
%% Cell type:code id: tags:
``` python
#Select a subarea because memory might not be large enough
#and change units
cdo.mulc(86400,
input="-sellonlatbox,9,10,53,54 " + pr,
output=prHamburg)
......
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