Commit 01b3a1ae191f9ac226556954eacc82d39790c136

Authored by Jordi Inglada
1 parent 35985b4b
Exists in master

start updating for cluster

Showing 1 changed file with 17 additions and 15 deletions   Show diff stats
notebook/exploration.org
... ... @@ -9,7 +9,8 @@
9 9 Le nom des fichiers zippés est ~RPG_TERLAB_DEP65-66_2017.7z~ ou ~RPG_TERLAB_DEP10_2017.7z~
10 10 #+begin_src python :results output :session :exports code
11 11  
12   -terlabdir = '/home/inglada/stok/DATA/OSO/MAA_SSP/'
  12 +#terlabdir = '/home/inglada/stok/DATA/OSO/MAA_SSP/'
  13 +terlabdir = '/work/OT/theia/oso/shapes/TERLAB/'
13 14 import glob
14 15 def find_terlab_file(dpt):
15 16 tld = terlabdir
... ... @@ -32,19 +33,20 @@ def find_terlab_file(dpt):
32 33 #+end_src
33 34  
34 35 #+RESULTS:
35   -: Python 3.7.0 (default, Oct 9 2018, 10:31:47)
36   -: [GCC 7.3.0] :: Anaconda, Inc. on linux
37   -: Type "help", "copyright", "credits" or "license" for more information.
38   -: python.el: native completion setup loaded
39 36  
  37 +#+begin_src python :results output :session :exports both
  38 +print(terlabdir)
  39 +#+end_src
40 40  
  41 +#+RESULTS:
  42 +: /work/OT/theia/oso/shapes/TERLAB/
41 43  
42 44  
43 45 #+begin_src python :results output :session :exports both
44   -assert '/home/inglada/stok/DATA/OSO/MAA_SSP/RPG_TERLAB_DEP90-91-93-94-95_2017.7z'==find_terlab_file('94')
45   -assert '/home/inglada/stok/DATA/OSO/MAA_SSP/RPG_TERLAB_DEP90-91-93-94-95_2017.7z'==find_terlab_file('95')
46   -assert '/home/inglada/stok/DATA/OSO/MAA_SSP/RPG_TERLAB_DEP31_2017.7z'==find_terlab_file('31')
47   -assert '/home/inglada/stok/DATA/OSO/MAA_SSP/RPG_TERLAB_Corse_2017.7z'==find_terlab_file('2A')
  46 +assert terlabdir+'RPG_TERLAB_DEP90-91-93-94-95_2017.7z'==find_terlab_file('94')
  47 +assert terlabdir+'RPG_TERLAB_DEP90-91-93-94-95_2017.7z'==find_terlab_file('95')
  48 +assert terlabdir+'RPG_TERLAB_DEP31_2017.7z'==find_terlab_file('31')
  49 +assert terlabdir+'RPG_TERLAB_Corse_2017.7z'==find_terlab_file('2A')
48 50 #+end_src
49 51  
50 52 #+RESULTS:
... ... @@ -75,12 +77,12 @@ print(df31.head())
75 77 #+end_src
76 78  
77 79 #+RESULTS:
78   -: CODE_CULTU SURF_ADM PRECISION SEMENCE DEST_ICHN ... LIBCULTURE SURUTISOL RENDNORME MMEAU geometry
79   -: 0 ORH 1.42 None 0 None ... 03_ORGE_HIVER NaN NaN NaN POLYGON ((506016.382600002 6234988.195600003, ...
80   -: 1 PPH 0.00 None 0 None ... 00_XXXXXXXXXX NaN NaN NaN POLYGON ((506032.0680000037 6235002.251000002,...
81   -: 2 PPH 0.00 None 0 None ... 00_XXXXXXXXXX NaN NaN NaN POLYGON ((506108.3540000021 6234766.824000001,...
82   -: 3 ORH 1.87 None 0 None ... 03_ORGE_HIVER NaN NaN NaN POLYGON ((506107.6996000037 6234765.226100001,...
83   -: 4 PPH 0.00 None 0 None ... 00_XXXXXXXXXX NaN NaN NaN POLYGON ((506874.6119000018 6234495.103300001,...
  80 +: CODE_CULTU SURF_ADM PRECISION ... RENDNORME MMEAU geometry
  81 +: 0 ORH 1.42 None ... NaN NaN POLYGON ((506016.382600002 6234988.195600003, ...
  82 +: 1 PPH 0.00 None ... NaN NaN POLYGON ((506032.0680000037 6235002.251000002,...
  83 +: 2 PPH 0.00 None ... NaN NaN POLYGON ((506108.3540000021 6234766.824000001,...
  84 +: 3 ORH 1.87 None ... NaN NaN POLYGON ((506107.6996000037 6234765.226100001,...
  85 +: 4 PPH 0.00 None ... NaN NaN POLYGON ((506874.6119000018 6234495.103300001,...
84 86 :
85 87 : [5 rows x 18 columns]
86 88  
... ...