Skip to content

Data formats > MDDF

MDDF - description

MDDF - description

Multi Dimensional Data Format structure contains 9 variables, where d and TestParameters are the most essential, because they contains the data which can be further processed. The other variables are used for the correct data description – coordinate system, time zone, etc.

MDDF file name following the scheme: MDDF_EPIZODNAME_file_description.

Variable nameTypeDescription
CRScharCoordinate Reference System EPSG code (or local) mapping surveying (http://epsg.io), standard WGS84 (EPSG: 4326)
dstructThe variable containing the data. The data may be as a single variable, a vector or an array. d structure contains the following fields:
- Station_codename – Code name of the station
- Measurements – Number of measurements or sample collection in the field. Structure containing the following fields:
- - Date – Time of measured parameter/sample collection
- Tests– Number of test performed/ measured parameters. Structure containing the following fields:
- - Test_name_id – Id of measured parameter/test
- Result – Result of measured parameter/test
- Result_duplicate (optional) – Quality assurance checkStage (optional)– Stage of monitoring
- Measurement_method (optional) – Method of measurement
dDescriptioncellDescription of the fields of ‘d’ variable. A cell contains two columns: the first contains the name of the field/column of data, the second contains a description of them. All data must be specified.
DescriptioncharThe text description of the data contained in the file
FormatNamecharName of data format MDDF (Multi Dimensional Data Format).
FormatVersionrealWhen changing/expansion of the format change its version. It can have one number after the decimal point.
TestParametersstructThe variable containing the parameters of data. The data may be as a single variable, a vector or an array. TestParameters structure contains the following fields:
- Test_name – Name of test/measured parameter
- Unit – Unit of test/measured parameter
- Type – Data type number: An array contains two columns: the first contains the name of the field/column of data, the second contains the data type number. All data must be specified. The Numbers of Data type:
1 – the real data without limits,
2 – the integer data,
3 – text value,
4 – the real number rounded to 0.1 (shown as 11),
5 – time in Matlab format serial time – the time display format; seconds with accuracy 1/10,
6 – the real data display in an engineering manner with one decimal place, e.g.: 3.5E6, (obsolete, recommended 2cd)
7 – the real data display in an engineering manner with two decimal place, (obsolete, recommended 2cd)
bc – (b and c are code digits) the real data is displayed in fix-point manner with at minimum b places before decimal and c decimal place,
                e.g. For number 3.149.
                10:          „3”
                11:          „3.1”
                12:          „3.15”
                20:          „03”
                23:          „03.149”
1bc– the same manner as bc, but with place for a sign (space for sign „+”, sign ‘-’ for sign „-”),
2cd– (c and d are code digits), the real data is displayed in an engineering manner, with place for a sign (space for sign „+”, sign ‘-’ for sign „-”), with c decimal place and exponent expressed by d places. The sign in exponent is always displayed.

e.g. For number 0.001                 211:          „1.0E-3”                 221:          „1.00E-3”                 212:          „1.0E-03”                 222:          „1.00E-03” — e.g. For number 1000                 211:          „1.0E+3”                 221:          „1.00E+3”                 212:          „1.0E+03”                 222:          „1.00E+03”

- Technique (optional) – Technique
- LOD (optional)– Limit of detection (Lower and Upper)
- LODType (optional)– Data type number of LOD
- Accreditation (optional) – Accreditation body
TestParametersDescriptioncellDescription of the fields of ‘TestParameters’ variable. A cell contains two columns: the first contains the name of the field/column of data, the second contains a description of them. All data must be specified.
TimeZonecharAcronym of Time Zone (http://en.wikipedia.org/wiki/List_of_time_zone_abbreviations), normally UTC

Table 1. The structure of Multi Dimensional Data Format

variableField nameStorage format
dStation_codenamechar
Measurementsstruct
Measurements.Datedouble
Measurements.Testsstruct
Measurements.Tests.Test_name_iddouble
Measurements.Tests.Resultdouble
Measurements.Tests.Result_duplicatedouble
Measurements.Stagechar
Measurements.Measurement_methodchar
TestParametersTest_namechar
Unitchar
Typedouble
Techniquechar
LODdouble
LODTypedouble
Accreditationchar

Table 2. The format of fields ‘d’ and ‘TestParameters’ variables

Data details:
‘d’ structure contains the following fields:
Station_codename – Code name of the station
Measurements – Number of measurements or sample collection in the field. Structure containing the following fields:
Date – Time of measured parameter/sample collection
Tests – Number of test performed/ measured parameters.. Structure containing the following fields:
Test_name_id – Id of measured parameter/test
Result – Result of measured parameter/test
Result_duplicate (optional) – Quality assurance check
Stage (optional) – Stage of monitoring
Measurement_method (optional) – Method of measurement

‘TestParameters’ structure contains the following fields:
Test_name – Name of test/measured parameter
Unit – Unit of test/measured parameter
Type – Data type number
Technique (optional) – Technique
LOD (optional) – Limit of detection (Lower and Upper)
LODType (optional) – Data type number of LOD
Accreditation (optional) – Accreditation body