ERROR 000628:Sentinel2建立mosaic dataset出错?
ESRI GeoNet发布了Sentinel2的小插件,我按照这个视频的步骤下载导入toolbox,
但是导入level-1C的.SAFE文件夹运行时总是出现错误,以下是result log:
Executing: Sentinel2 "D:\Geek\Hui_Ramdom Choose\ClassValidation.gdb" demoS2 'D:\Geek\OYLX-South Sea & Sentinel' true false false false true
Start Time: Mon Aug 15 17:37:24 2016
Running script Sentinel2...
log-msg: Using template:C:\Program Files (x86)\ArcGIS\Desktop10.3\Sentinel2 ArcGIS/Parameter/Config/sentinel2\GP_S_Sentinel2_MS_10.xml
log-msg: Processing command(s):CM+AF+AR+CV+CC+BF+BB+SP+DO+BO
log-msg: Command:CM->Create a new mosaic dataset.
log-msg: Creating Geodatabase: (D:/Geek/Hui_Ramdom Choose/ClassValidation.gdb)
log-msg: 000258: File geodatabase already exists!
log-msg: Creating source mosaic datasets:
log-msg: demoS2MS_10
log-status: OK
log-msg: Command:AF->Add fields.
log-msg: Adding custom fields:
log-msg: Using mosaic dataset:demoS2MS_10
log-msg: Creating fields:
log-msg: Dataset_ID
log-status: OK
log-msg: Command:AR->Add rasters/data to a mosaic dataset.
log-msg: Adding rasters:
log-msg: Using mosaic dataset/ID:demoS2MS_10/Sentinel2_10
log-msg: Using ART for DEMOS2MS_10: C:\Program Files (x86)\ArcGIS\Desktop10.3\Sentinel2 ArcGIS\Scripts\Base\..\..\parameter\Rastertype\Sentinel2_MS_10.art.xml
log-msg: Adding items..
log-warning: More args supplied than required to function (arcpy.AddRastersToMosaicDataset_management)
log-msg: Calling (arcpy.AddRastersToMosaicDataset_management)
log-critical: ERROR 000622: Failed to execute (Add Rasters To Mosaic Dataset). Parameters are not valid.
ERROR 000628: Cannot set input into parameter raster_type.
log-msg: Status: FAILED
log-msg: No new mosaic dataset item was added for Dataset ID (Sentinel2_10)
log-critical: No new mosaic dataset items added to dataset (demoS2MS_10). Verify the input data path/raster type is correct
log-critical: ERROR 000622: Failed to execute (Add Rasters To Mosaic Dataset). Parameters are not valid.
ERROR 000628: Cannot set input into parameter raster_type.
log-status: Failed!
log-msg: Done...
Completed script Sentinel2...
Failed to execute (Sentinel2).
Failed at Mon Aug 15 17:37:33 2016 (Elapsed Time: 9.30 seconds)
而且我用ArcGIS--data management里面自带的add raster to mosaic dataset工具也无法实现添加。
stackoverflow上有个相似的问题,可能的原因是jp2文件路径太长(当然Sentinel的文件名都很长),这里须注意他用的是pro而不是desktop。
这个补丁在raster type中增加了Sentinel2的类型,可惜我下载下来因为版本不对而不能安装(我是10.3,补丁是10.3.1)
另外抱歉的是,我在GeoNet论坛也提了一个相同的问题,但是那个论坛好像不太活跃……
但是导入level-1C的.SAFE文件夹运行时总是出现错误,以下是result log:
Executing: Sentinel2 "D:\Geek\Hui_Ramdom Choose\ClassValidation.gdb" demoS2 'D:\Geek\OYLX-South Sea & Sentinel' true false false false true
Start Time: Mon Aug 15 17:37:24 2016
Running script Sentinel2...
log-msg: Using template:C:\Program Files (x86)\ArcGIS\Desktop10.3\Sentinel2 ArcGIS/Parameter/Config/sentinel2\GP_S_Sentinel2_MS_10.xml
log-msg: Processing command(s):CM+AF+AR+CV+CC+BF+BB+SP+DO+BO
log-msg: Command:CM->Create a new mosaic dataset.
log-msg: Creating Geodatabase: (D:/Geek/Hui_Ramdom Choose/ClassValidation.gdb)
log-msg: 000258: File geodatabase already exists!
log-msg: Creating source mosaic datasets:
log-msg: demoS2MS_10
log-status: OK
log-msg: Command:AF->Add fields.
log-msg: Adding custom fields:
log-msg: Using mosaic dataset:demoS2MS_10
log-msg: Creating fields:
log-msg: Dataset_ID
log-status: OK
log-msg: Command:AR->Add rasters/data to a mosaic dataset.
log-msg: Adding rasters:
log-msg: Using mosaic dataset/ID:demoS2MS_10/Sentinel2_10
log-msg: Using ART for DEMOS2MS_10: C:\Program Files (x86)\ArcGIS\Desktop10.3\Sentinel2 ArcGIS\Scripts\Base\..\..\parameter\Rastertype\Sentinel2_MS_10.art.xml
log-msg: Adding items..
log-warning: More args supplied than required to function (arcpy.AddRastersToMosaicDataset_management)
log-msg: Calling (arcpy.AddRastersToMosaicDataset_management)
log-critical: ERROR 000622: Failed to execute (Add Rasters To Mosaic Dataset). Parameters are not valid.
ERROR 000628: Cannot set input into parameter raster_type.
log-msg: Status: FAILED
log-msg: No new mosaic dataset item was added for Dataset ID (Sentinel2_10)
log-critical: No new mosaic dataset items added to dataset (demoS2MS_10). Verify the input data path/raster type is correct
log-critical: ERROR 000622: Failed to execute (Add Rasters To Mosaic Dataset). Parameters are not valid.
ERROR 000628: Cannot set input into parameter raster_type.
log-status: Failed!
log-msg: Done...
Completed script Sentinel2...
Failed to execute (Sentinel2).
Failed at Mon Aug 15 17:37:33 2016 (Elapsed Time: 9.30 seconds)
而且我用ArcGIS--data management里面自带的add raster to mosaic dataset工具也无法实现添加。
stackoverflow上有个相似的问题,可能的原因是jp2文件路径太长(当然Sentinel的文件名都很长),这里须注意他用的是pro而不是desktop。
这个补丁在raster type中增加了Sentinel2的类型,可惜我下载下来因为版本不对而不能安装(我是10.3,补丁是10.3.1)
另外抱歉的是,我在GeoNet论坛也提了一个相同的问题,但是那个论坛好像不太活跃……
1 个回复
bwbj - 遥感
赞同来自: 潘建伟 、朱政
而10.3以下的版本用不了,因为raster type当中没有sentinel2类型。
但为什么用customize type也不行呢,我也不清楚了……
要回复问题请先登录或注册