%
% DESCRIPTION: Program to create the Injection Volume Multi GDF file in the Matlab format.
% 
% [TimeZone] and [Description] have text format so the values give in ''


clear;clc;
[FormatName] = 'GDF';
[FormatVersion] = 2.1;
[CRS] = 'n/a'%['EPSG:' num2str(input('[CRS] EPSG code (just number) = '))];
[TimeZone] = 'UTC';%input('TimeZone (char) = ');
[Description] = 'Description of the dataset' %input('Description of data (char) = ');
         
[FieldDescription] = {
    'Date','Time of injected volume'
    'Well_number_1','Injected volume for a specified well no.1'
    'Well_number_2','Injected volume for a specified well no.2'
    'Well_number_n','Injected volume for a specified well no.n'
    };
[FieldType] = {
    'Date',5
    'Well_number_1',54
    'Well_number_2',54
    'Well_number_n',54
    };
[FieldUnit] = {
    'Date','datenum'
    'Well_number_1','m^3'
    'Well_number_2','m^3'
    'Well_number_n','m^3'
    };
[d] = struct();

d.Date = [];

d.Well_number_1 = [];

d.Well_number_2 = [];

d.Well_number_n = [];

save('GDF_EpisodeName_Injection_volume_multi_example.mat')