Commit 82b6361ac3446c6b32db354bb4f384a752aff28b

Authored by Louis Baetens
1 parent 2e0df20a
Exists in master

Update parameters files

ALCD/parameters_files/global_parameters.json
... ... @@ -103,11 +103,11 @@
103 103 "training_proportion": "0.9"
104 104 },
105 105 "user_choices": {
106   - "clear_date": "20171005",
107   - "current_date": "20171002",
108   - "location": "Arles",
109   - "main_dir": "/mnt/data/home/baetensl/clouds_detection_git/Data_ALCD/Arles_31TFJ_20171002",
110   - "raw_img": "Arles_bands.tif",
111   - "tile": "31TFJ"
  106 + "clear_date": "20160126",
  107 + "current_date": "20160126",
  108 + "location": "49JGL_20160126",
  109 + "main_dir": "/mnt/data/home/baetensl/clouds_detection_git/Data_ALCD_Hollstein/49JGL_20160126_49JGL_20160126",
  110 + "raw_img": "49JGL_20160126_bands.tif",
  111 + "tile": "49JGL"
112 112 }
113 113 }
114 114 \ No newline at end of file
... ...
PCC/parameters_files/comparison_parameters.json
1 1 {
2 2 "alcd_output": {
3   - "cirrus_threshold": "200",
4 3 "dilation_radius_meters": "480",
5 4 "erosion_radius_meters": "480",
6 5 "labeled_img_name": "labeled_img_regular.tif",
... ... @@ -20,12 +19,6 @@
20 19 "maja_version": 3
21 20 },
22 21 "processing": {
23   - "alcd_cirrus": {
24   - "cloud_mask": "alcd_cirrus.tif",
25   - "name": "alcd_cirrus",
26   - "prefix": "alcd_cirrus",
27   - "sub_dir": "ALCD_cirrus"
28   - },
29 22 "alcd_dilat": {
30 23 "cloud_mask": "alcd_dilat.tif",
31 24 "name": "alcd_dilat",
... ... @@ -73,4 +66,4 @@
73 66 "prefix": "sen2cor_dilat"
74 67 }
75 68 }
76   -}
77 69 \ No newline at end of file
  70 +}
... ...
Tools/export_data_alcd_publi.py
... ... @@ -173,12 +173,16 @@ def copy_all_data(src_data_alcd, dst_data_alcd):
173 173 def main():
174 174 src_main_dir = '/mnt/data/home/baetensl/clouds_detection_git'
175 175 dst_data_alcd = '/mnt/data/home/baetensl/clouds_detection_git/Data_ALCD_publication'
176   - #~ for src_sub_dir in ['Data_ALCD', 'Data_ALCD_Hollstein']:
177   - #~ src_data_alcd = op.join(src_main_dir, src_sub_dir)
178   - #~ copy_all_data(src_data_alcd, dst_data_alcd)
  176 + for src_sub_dir in ['Data_ALCD', 'Data_ALCD_Hollstein']:
  177 + src_data_alcd = op.join(src_main_dir, src_sub_dir)
  178 + copy_all_data(src_data_alcd, dst_data_alcd)
179 179  
180 180 src_dir = '/mnt/data/home/baetensl/clouds_detection_git/Data_ALCD_publication/32scenes/S2A_OPER_PRD_MSIL1C_PDMC_20160417T203056_R137_V20160417T111159_20160417T111159'
181 181 dst_dir = '/mnt/data/home/baetensl/clouds_detection_git/Data_ALCD_publication/Hollstein/S2A_OPER_PRD_MSIL1C_PDMC_20160417T203056_R137_V20160417T111159_20160417T111159'
  182 + try:
  183 + shutil.rmtree(dst_dir)
  184 + except:
  185 + pass
182 186 shutil.copytree(src_dir, dst_dir)
183 187 return
184 188  
... ...