植被高度模块待修改的注释

MnVegetationHeight
mnCompanyPC1 2023-10-17 17:46:27 +08:00
parent a7afafa36d
commit a3454ebbd1
3 changed files with 9 additions and 6 deletions

View File

@ -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])

View File

@ -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")

View File

@ -1,7 +1,7 @@
<?xml version='1.0' encoding='utf-8'?>
<Root>
<TaskID>CSAR_202107275419_0001-0</TaskID>
<WorkSpace>E:\WorkCode\runresult\</WorkSpace>
<WorkSpace>K:\mircoData\VegetablePhenologyTest\</WorkSpace>
<AlgCompt>
<DataTransModel>File</DataTransModel>
<Artificial>ElementAlg</Artificial>
@ -37,8 +37,8 @@
<ParaType>File</ParaType>
<DataType>tar.gz</DataType>
<ParaSource>Man</ParaSource>
<ParaValue>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
<ParaValue>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
</ParaValue>
<MaxValue>DEFAULT</MaxValue>
<MinValue>DEFAULT</MinValue>
@ -53,7 +53,7 @@
<ParaType>File</ParaType>
<DataType>csv</DataType>
<ParaSource>Man</ParaSource>
<ParaValue>E:\WorkCode\mircoData\VegetationPhenoData\VegetationPhenologyMeasureData_E118.9_N31.4_37_5.csv</ParaValue>
<ParaValue>K:\mircoData\VegetationPhenoData\VegetationPhenologyMeasureData_E118.9_N31.4_37_5.csv</ParaValue>
<MaxValue>DEFAULT</MaxValue>
<MinValue>DEFAULT</MinValue>
<OptionValue>DEFAULT</OptionValue>
@ -102,7 +102,7 @@
<ParaType>File</ParaType>
<DataType>tar.gz</DataType>
<ParaSource>Man</ParaSource>
<ParaValue>E:\WorkCode\runresult\VegetationPhenology\Output\VegetationPhenologyProduct.tar.gz</ParaValue>
<ParaValue>K:\mircoData\VegetablePhenologyTest\VegetationPhenology\Output\VegetationPhenologyProduct.tar.gz</ParaValue>
<MaxValue>DEFAULT</MaxValue>
<MinValue>DEFAULT</MinValue>
<OptionValue>DEFAULT</OptionValue>