Declaration: TMetaData.ResizeContainers (NrOfColumns, NrOfRows, NrOfLayers, NrOfTimeSlots: integer);
The method ResizeContainers adjusts the sizes of all arrays of the metadata to match the size of the raw data cube. The parameters NrOfColumns, NrOfRows, NrOfLayers, NrOfTimeSlots specify the size of the data cube. ResizeContainers affects the following fields of the metadata:

Hint 1: This function is potentially dangerous and might destroy the meta data if not applied appropriately. Normally you should not need this method except for very low level operations.

Hint 2: In order to directly access the metadata of the currently loaded dataset you can use the pre-declared global variable MData.