From a3454ebbd1036701767a825057c3c36e666676ac Mon Sep 17 00:00:00 2001 From: mnCompanyPC1 Date: Tue, 17 Oct 2023 17:46:27 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A4=8D=E8=A2=AB=E9=AB=98=E5=BA=A6=E6=A8=A1?= =?UTF-8?q?=E5=9D=97=E5=BE=85=E4=BF=AE=E6=94=B9=E7=9A=84=E6=B3=A8=E9=87=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- vegetationHeight-L-SAR/VegetationHeightAlg.py | 2 +- vegetationHeight-L-SAR/VegetationHeightMain.py | 3 +++ vegetationPhenology/VegetationPhenology.xml | 10 +++++----- 3 files changed, 9 insertions(+), 6 deletions(-) diff --git a/vegetationHeight-L-SAR/VegetationHeightAlg.py b/vegetationHeight-L-SAR/VegetationHeightAlg.py index 221f5c22..7f3a5d21 100644 --- a/vegetationHeight-L-SAR/VegetationHeightAlg.py +++ b/vegetationHeight-L-SAR/VegetationHeightAlg.py @@ -253,7 +253,7 @@ class PlantHeightAlg: :func 利用Boxcar方法对T6矩阵进行滤波处理 :return: 滤波的矩阵 """ - + # TODO:当前使用滤波方法及滤波核通过代码无法确认;根据流程文档应为Boxcar滤波,滤波核为21*21; if not os.path.exists(boxcar_filter_tool_path): raise Exception(boxcar_filter_tool_path + ' is not exists!') n_look = int(args[0]) diff --git a/vegetationHeight-L-SAR/VegetationHeightMain.py b/vegetationHeight-L-SAR/VegetationHeightMain.py index 52898563..0cc0c503 100644 --- a/vegetationHeight-L-SAR/VegetationHeightMain.py +++ b/vegetationHeight-L-SAR/VegetationHeightMain.py @@ -776,6 +776,7 @@ class VegetationHeightMain: data_convert_s2_t6_path = os.path.join(current_path, "data_convert_MLK_S2_T6.exe") master_slave_t6 = self.__workspace_preprocessed2_path + "master_slave_t6""\\" os.makedirs(master_slave_t6) + ## TODO:应为T4,写T6,核对T6和T4兼容性或不一致性。 self.PlantHeightAlg.s2_to_t6(master_fer, slave_fer, data_convert_s2_t6_path, master_slave_t6) logger.info("s2 data convert t6 finish") logger.info('progress bar :60%') @@ -796,6 +797,7 @@ class VegetationHeightMain: logger.info("T6 lee_refined_filter finish") logger.info('progress bar :85%') # 5、 T6->coherence_estimation->T6 相干度估计 + # TODO:相干性估计:HH\VV\HH-VV\HH+VV\OPT1\OPT2\PDhigh\PDlow\,代码实际生成不同 coherence_estimation_path = os.path.join(current_path, "complex_coherence_estimation.exe") # coherence_opt_estimation_path = os.path.join(current_path, "complex_coherence_opt_estimation_T6.exe") master_slave_t6_box_coh = master_slave_t6_box @@ -819,6 +821,7 @@ class VegetationHeightMain: #VegetationHeightMain.calc_kz(rows, cols,lamda_01,height_01, width_01,lamda_02,height_02, width_02, 1, 1) # 参数不为(1,1),须注释掉下面的掩膜部分 # 6、 T6->RVOG->产品 + #TODO:调用的.exe在本地无代码,无法确认; height_estimation_inversion_rvog_path = os.path.join(current_path, "forest_height_estimation.exe") diff --git a/vegetationPhenology/VegetationPhenology.xml b/vegetationPhenology/VegetationPhenology.xml index 820f3533..df502b4e 100644 --- a/vegetationPhenology/VegetationPhenology.xml +++ b/vegetationPhenology/VegetationPhenology.xml @@ -1,7 +1,7 @@ CSAR_202107275419_0001-0 - E:\WorkCode\runresult\ + K:\mircoData\VegetablePhenologyTest\ File ElementAlg @@ -37,8 +37,8 @@ File tar.gz Man - E:\WorkCode\mircoData\VegetationPhenoData\GF3_SAY_QPSI_011444_E118.9_N31.4_20181012_L1A_AHV_L10003515422_RD.tar.gz; - E:\WorkCode\mircoData\VegetationPhenoData\GF3_SAY_QPSI_013952_E118.9_N31.5_20190404_L1A_AHV_L10003923848_RD.tar.gz + K:\mircoData\VegetationPhenoData\GF3_SAY_QPSI_011444_E118.9_N31.4_20181012_L1A_AHV_L10003515422_RD.tar.gz; + K:\mircoData\VegetationPhenoData\GF3_SAY_QPSI_013952_E118.9_N31.5_20190404_L1A_AHV_L10003923848_RD.tar.gz DEFAULT DEFAULT @@ -53,7 +53,7 @@ File csv Man - E:\WorkCode\mircoData\VegetationPhenoData\VegetationPhenologyMeasureData_E118.9_N31.4_37_5.csv + K:\mircoData\VegetationPhenoData\VegetationPhenologyMeasureData_E118.9_N31.4_37_5.csv DEFAULT DEFAULT DEFAULT @@ -102,7 +102,7 @@ File tar.gz Man - E:\WorkCode\runresult\VegetationPhenology\Output\VegetationPhenologyProduct.tar.gz + K:\mircoData\VegetablePhenologyTest\VegetationPhenology\Output\VegetationPhenologyProduct.tar.gz DEFAULT DEFAULT DEFAULT