The function CheckMetaDataCubeCompatibility checks whether the metadata are compatible to the raw data cube specified by the parameter Cube.
The function returns the following error codes:
0 ... everything OK, metadata and data cube are compatible
-1 ... SizeX does not match the number of cube columns
-2 ... SizeY does not match the number of cube rows
-3 ... SizeL does not match the number of cube layers
-4 ... SizeT does not match the number of cube time slots
|