2018 Oct 04 15:11:27 : Application.logger (INFO) Generating BV samples 2018 Oct 04 15:11:28 : Application.logger (INFO) 40000 samples generated and saved in /mnt/archive/temp/test/33UUQ//out_bv_dist_samples.txt Loading file: /usr/share/sen2agri/rsr_cfg.txt Product mission is SENTINEL-2B Product instrument is Checking line: SPOT4#HRVIR1=/usr/share/sen2agri/spot4hrvir1.rsr Checking line: SPOT5#HRG1=/usr/share/sen2agri/spot5hrg1.rsr Checking line: LANDSAT_8=/usr/share/sen2agri/landsat8_7b.rsr Checking line: SENTINEL-2A=/usr/share/sen2agri/Sentinel2_real.rsr Checking line: SENTINEL-2B=/usr/share/sen2agri/Sentinel2_real.rsr Found configured file! Loading file: /usr/share/sen2agri/Lai_Bands_Cfgs_Belcam.cfg Product mission is SENTINEL-2B Product instrument is Checking line: LANDSAT_8=/usr/share/sen2agri/Lai_Bands_L8_Belcam.cfg Checking line: SENTINEL-2A=/usr/share/sen2agri/Lai_Bands_S2_Belcam_allbands.cfg Checking line: SENTINEL-2B=/usr/share/sen2agri/Lai_Bands_S2_Belcam_allbands.cfg Found configured file! ====================== Add NDVI:1 Add RVI:0 Loaded bands indexes: 3 4 8 5 6 7 9 12 13 Using RSR bands indexes: 3 4 8 5 6 7 9 12 13 ====================== 2018 Oct 04 15:11:29 : Application.logger (INFO) Using rsr file /usr/share/sen2agri/Sentinel2_real.rsr 2018 Oct 04 15:11:29 : Application.logger (INFO) RSR bands indexes used: 0 3 1 4 2 5 3 6 4 7 5 8 6 9 7 12 8 13 2018 Oct 04 15:11:29 : Application.logger (INFO) Filtered rsr file /mnt/archive/temp/test/33UUQ/filtered_rsr.rsr 2018 Oct 04 15:11:29 : Application.logger (INFO) Simulating 9 spectral bands. 2018 Oct 04 15:11:29 : Application.logger (INFO) Bands for sensor 0 0.538 0.582 1 0.647 0.683 2 0.695 0.713 3 0.732 0.749 4 0.77 0.796 5 0.775 0.906 6 0.849 0.879 7 1.557 1.668 8 2.087 2.316 2018 Oct 04 15:11:29 : Application.logger (INFO) Processing simulations ... 2018 Oct 04 15:11:30 : Application.logger (INFO) 40001 samples read. 2018 Oct 04 15:11:30 : Application.logger (INFO) Using 36 threads for the simulations. 2018 Oct 04 15:15:48 : Application.logger (INFO) 40001 samples processed. 2018 Oct 04 15:15:49 : Application.logger (INFO) Results saved in /mnt/archive/temp/test/33UUQ//out_simu_refls.txt Loading file: /usr/share/sen2agri/Lai_Bands_Cfgs_Belcam.cfg Product mission is SENTINEL-2B Product instrument is Checking line: LANDSAT_8=/usr/share/sen2agri/Lai_Bands_L8_Belcam.cfg Checking line: SENTINEL-2A=/usr/share/sen2agri/Lai_Bands_S2_Belcam_allbands.cfg Checking line: SENTINEL-2B=/usr/share/sen2agri/Lai_Bands_S2_Belcam_allbands.cfg Found configured file! ====================== Add NDVI:1 Add RVI:0 Loaded bands indexes: 3 4 8 5 6 7 9 12 13 Using RSR bands indexes: 3 4 8 5 6 7 9 12 13 ====================== ================================= addndvi : 1 addrvi : 0 Bands used : 3 4 8 5 6 7 9 12 13 ================================= 2018 Oct 04 15:15:50 : Application.logger (INFO) RSR bands indexes used: 0 3 1 4 2 5 3 6 4 7 5 8 6 9 7 12 8 13 2018 Oct 04 15:15:52 : Application.logger (INFO) Found 10 input variables in /mnt/archive/temp/test/33UUQ//out_training.txt 2018 Oct 04 15:15:53 : Application.logger (INFO) Found 40000 samples in /mnt/archive/temp/test/33UUQ//out_training.txt 2018 Oct 04 15:15:53 : Application.logger (INFO) Neural networks 2018 Oct 04 15:15:53 : Application.logger (INFO) Selecting best of 1 models. Total nb samples is 20000 2018 Oct 04 15:15:53 : Application.logger (INFO) Model estimation ... 2018 Oct 04 15:15:53 : Application.logger (INFO) Estimation of prediction error from training samples ... 2018 Oct 04 15:15:53 : Application.logger (INFO) RMSE for model number 1 = 0.00418091 using 20000 samples. 2018 Oct 04 15:15:53 : Application.logger (INFO) Selecting model number 1 2018 Oct 04 15:15:53 : Application.logger (INFO) RMSE = 0.00418091 2018 Oct 04 15:15:53 : Application.logger (INFO) Learning regression model for the error 2018 Oct 04 15:15:53 : Application.logger (INFO) Error model estimation ... Wrinting flags /mnt/archive/temp/test/33UUQ//S2B_OPER_SSC_L2VALD_33UUQ____20170807_LAI_mono_date_mask_flags_img.tif: 100% [**************************************************] (3 seconds) Writing /mnt/archive/temp/test/33UUQ//S2B_OPER_SSC_L2VALD_33UUQ____20170807_Single_NDVI.tif...: 100% [**************************************************] (9 seconds) ERROR: Missing mandatory parameter: angles 0 ERROR: Troubles loading parameter, please check your line argument... This is the BVLaiNewProcessor application, version 5.0.0 The feature extraction step produces the NDVI and RVI for a product. Complete documentation: http://www.orfeo-toolbox.org/Applications/BVLaiNewProcessor.html Parameters: -progress Report progress -xml Product Metadata XML File (mandatory) MISSING -angles Angles raster (mandatory) -laimodel LAI Model file (optional, off by default) -faparmodel FAPAR Model file (optional, off by default) -fcovermodel FCOVER Model file (optional, off by default) -outlai The out image corresponding to the LAI mono date (optional, off by default) -outfapar The out image corresponding to the FAPAR mono date (optional, off by default) -outfcover The out image corresponding to the FCOVER mono date (optional, off by default) -fts [pixel] Output features enterring in the neural filter [pixel=uint8/uint16/int16/uint32/int32/float/double] (default value is float) (optional, off by default) -laicfgs Master file containing the LAI configuration files for each mission. (optional, off by default) -laicfg File containing the bands indexes to be used for the LAI. (optional, off by default) -outres Output resolution. If not specified, is the same as the input resolution. (optional, off by default) -inxml Load otb application from xml file (optional, off by default) Examples: otbcli_BVLaiNewProcessor -xml data.xml -laimodel laimodel.txt The resolution is : 10 The resolution should be either 10 or 20. The product will be created with the original resolution without resampling. Processing started: 2018-10-04 15:11:26.671475 Generating Input BV Distribution file with parameters : minlai: 0.0 maxlai: 5.0 modlai: 0.5 stdlai: 1.0 minala: 5.0 maxala: 80.0 modala: 40.0 stdala: 20.0 otbcli BVInputVariableGeneration '' -samples 40000 -out /mnt/archive/temp/test/33UUQ//out_bv_dist_samples.txt -minlai 0.0 -maxlai 5.0 -modlai 0.5 -stdlai 1.0 -minala 5.0 -maxala 80.0 -modala 40.0 -stdala 20.0 OTB app finished in: 0:00:01.792669 Generating simulation reflectances ... otbcli ProSailSimulatorNew '' -xml /mnt/archive/maccs_def/at/l2a//S2B_MSIL2A_20170807T101029_N0205_R022_T33UUQ_20170807T101349.SAFE/S2B_OPER_SSC_L2VALD_33UUQ____20170807.HDR -bvfile /mnt/archive/temp/test/33UUQ//out_bv_dist_samples.txt -rsrcfg /usr/share/sen2agri/rsr_cfg.txt -out /mnt/archive/temp/test/33UUQ//out_simu_refls.txt -outangles /mnt/archive/temp/test/33UUQ//out_angles.txt -laicfgs /usr/share/sen2agri/Lai_Bands_Cfgs_Belcam.cfg OTB app finished in: 0:04:20.756970 Generating training file ... otbcli TrainingDataGeneratorNew '' -xml /mnt/archive/maccs_def/at/l2a//S2B_MSIL2A_20170807T101029_N0205_R022_T33UUQ_20170807T101349.SAFE/S2B_OPER_SSC_L2VALD_33UUQ____20170807.HDR -biovarsfile /mnt/archive/temp/test/33UUQ//out_bv_dist_samples.txt -simureflsfile /mnt/archive/temp/test/33UUQ//out_simu_refls.txt -outtrainfile /mnt/archive/temp/test/33UUQ//out_training.txt -laicfgs /usr/share/sen2agri/Lai_Bands_Cfgs_Belcam.cfg OTB app finished in: 0:00:02.104182 Read solar ZENITH ANGLE 34.7997 Read sensor ZENITH ANGLE 3.17317 Read Rel Azimuth ANGLE -2.60289 SOLAR ANGLE reduced from 34.7997 to 34.7 SENSOR ANGLE reduced from 3.17317 to 3.1 AZIMUTH ANGLE reduced from -2.60289 to -2.6 Generating model ... otbcli InverseModelLearning '' -training /mnt/archive/temp/test/33UUQ//out_training.txt -out /mnt/archive/temp/test/33UUQ//img_model.txt -errest /mnt/archive/temp/test/33UUQ//err_est_model.txt -regression nn -bestof 1 -xml /mnt/archive/maccs_def/at/l2a//S2B_MSIL2A_20170807T101029_N0205_R022_T33UUQ_20170807T101349.SAFE/S2B_OPER_SSC_L2VALD_33UUQ____20170807.HDR -computedmodelnames /mnt/archive/temp/test/33UUQ//new_models_names.txt -newnamesoutfolder /mnt/archive/temp/test/33UUQ/ OTB app finished in: 0:00:02.002147 otbcli GenerateLaiMonoDateMaskFlags '' -inxml /mnt/archive/maccs_def/at/l2a//S2B_MSIL2A_20170807T101029_N0205_R022_T33UUQ_20170807T101349.SAFE/S2B_OPER_SSC_L2VALD_33UUQ____20170807.HDR -out /mnt/archive/temp/test/33UUQ//S2B_OPER_SSC_L2VALD_33UUQ____20170807_LAI_mono_date_mask_flags_img.tif OTB app finished in: 0:00:04.683970 Exec time: 0:04:31.343880 otbcli NdviRviExtractionNew '' -xml /mnt/archive/maccs_def/at/l2a//S2B_MSIL2A_20170807T101029_N0205_R022_T33UUQ_20170807T101349.SAFE/S2B_OPER_SSC_L2VALD_33UUQ____20170807.HDR -msks /mnt/archive/temp/test/33UUQ//S2B_OPER_SSC_L2VALD_33UUQ____20170807_LAI_mono_date_mask_flags_img.tif -ndvi /mnt/archive/temp/test/33UUQ//S2B_OPER_SSC_L2VALD_33UUQ____20170807_Single_NDVI.tif -laicfgs /usr/share/sen2agri/Lai_Bands_Cfgs_Belcam.cfg OTB app finished in: 0:00:11.065351 otbcli BVLaiNewProcessor '' -xml /mnt/archive/maccs_def/at/l2a//S2B_MSIL2A_20170807T101029_N0205_R022_T33UUQ_20170807T101349.SAFE/S2B_OPER_SSC_L2VALD_33UUQ____20170807.HDR -outlai /mnt/archive/temp/test/33UUQ//S2B_OPER_SSC_L2VALD_33UUQ____20170807_LAI_img.tif -laicfgs /usr/share/sen2agri/Lai_Bands_Cfgs_Belcam.cfg OTB app finished in: 0:00:01.468235 OTB application error