ERROR 000628 when creating Sentinel2 Mosaic Dataset

2080
1
Jump to solution
08-15-2016 04:26 AM
liteng
by
New Contributor II

i downloaded (http://www.arcgis.com/home/item.html?id=e6e1f20cb0374d28a6eed24f5c2ff51b )and import the "Sentinel.pyt" script  as toolbox in ArcGIS10.3 just like this video did (http://s3.amazonaws.com/ImageManagementWorkflowsTeam/ImageryTeamHowToVideos/Sentinel2_Build_MD.mp4 ).

However, i always got an error when trying to add a new raster to mosaic dataset. below is the log record:

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)

what is even worse is i can't add a new raster band (neither file nor workspace) manually through build-in tools in data-management.

any help will be appreciated, thks!

0 Kudos
1 Solution

Accepted Solutions
liteng
by
New Contributor II

Mervyn Lotter‌ told me that this script can only be use in certain version of ArcGIS. Unfortunately, below is my version, which did not embed sentinel2 as a valid raster type.

my ArcGIS version

if you version is 10.3.1 or 10.4 or Pro, Raster Type Cumulative Patch can help.

View solution in original post

1 Reply
liteng
by
New Contributor II

Mervyn Lotter‌ told me that this script can only be use in certain version of ArcGIS. Unfortunately, below is my version, which did not embed sentinel2 as a valid raster type.

my ArcGIS version

if you version is 10.3.1 or 10.4 or Pro, Raster Type Cumulative Patch can help.