diff --git a/matlab/TCV/gdat_tcv.m b/matlab/TCV/gdat_tcv.m
index b2c79d0c691685e60e02a250b6fe2705c3d3b47e..547a646ea7bf2b293faf1f91bbb048af157a4ea4 100644
--- a/matlab/TCV/gdat_tcv.m
+++ b/matlab/TCV/gdat_tcv.m
@@ -1285,8 +1285,8 @@ elseif strcmp(mapping_for_tcv.method,'switchcase')
       ids_top_name = [];
       warning('gdat:EmptyIDSName','Need an ids name in ''source'' parameter\n check substructure gdat_params.sources_available for an ids list');
       addpath(ids_empty_path);
-      assert(~~exist('ids_list','file'),'could not find ids_list.m in %s',ids_empty_path);
-      gdat_data.gdat_params.sources_available = ids_list;
+      assert(~~exist('ids_list_all','file'),'could not find ids_list_all.m in %s',ids_empty_path);
+      gdat_data.gdat_params.sources_available = ids_list_all; % avoid adding ids_list.m which would override ids_list from IMAS
       rmpath(ids_empty_path);
       return
     end
diff --git a/matlab/TCV_IMAS/ids_empty/ids_empty_amns_data.m b/matlab/TCV_IMAS/ids_empty/ids_empty_amns_data.m
index 57d4cc903222a3a83f677ffc74e7adffb1a8a579..f876dff3ecfdd146791a38e595e26f5a69b017a0 100644
--- a/matlab/TCV_IMAS/ids_empty/ids_empty_amns_data.m
+++ b/matlab/TCV_IMAS/ids_empty/ids_empty_amns_data.m
@@ -5,173 +5,177 @@ function S = ids_empty_amns_data
 
 S = ... 
 struct(...
-'a',double(-9.0000000000000006360851714687e+40),...
-'a_error_index',double(-999999999),...
-'a_error_lower',double(-9.0000000000000006360851714687e+40),...
-'a_error_upper',double(-9.0000000000000006360851714687e+40),...
+'a',double(-9e+40),...
+'a_error_index',int32(-999999999),...
+'a_error_lower',double(-9e+40),...
+'a_error_upper',double(-9e+40),...
 'code',struct(...
-'commit',double([]),...
-'name',double([]),...
-'output_flag',double([]),...
-'parameters',double([]),...
-'repository',double([]),...
-'version',double([])),...
+'commit','',...
+'name','',...
+'output_flag',int32([]),...
+'parameters','',...
+'repository','',...
+'version',''),...
 'coordinate_system',{{struct(...
 'coordinate',{{struct(...
-'extrapolation_type',double([]),...
-'interpolation_type',double(-999999999),...
-'label',double([]),...
-'spacing',double(-999999999),...
-'transformation',double(-999999999),...
-'units',double([]),...
-'value_labels',{{double([]);}},...
+'extrapolation_type',int32([]),...
+'interpolation_type',int32(-999999999),...
+'label','',...
+'spacing',int32(-999999999),...
+'transformation',int32(-999999999),...
+'units','',...
+'value_labels',{{}},...
 'values',double([]),...
-'values_error_index',double(-999999999),...
+'values_error_index',int32(-999999999),...
 'values_error_lower',double([]),...
 'values_error_upper',double([]))
 ;}})
 ;}},...
 'ids_properties',struct(...
-'comment',double([]),...
-'creation_date',double([]),...
-'homogeneous_time',double(-999999999),...
-'provider',double([]),...
-'source',double([])),...
+'comment','',...
+'creation_date','',...
+'homogeneous_time',int32(-999999999),...
+'provider','',...
+'source','',...
+'version_put',struct(...
+'access_layer','',...
+'access_layer_language','',...
+'data_dictionary','')),...
 'process',{{struct(...
 'charge_state',{{struct(...
-'label',double([]),...
-'table_0d',double(-9.0000000000000006360851714687e+40),...
-'table_0d_error_index',double(-999999999),...
-'table_0d_error_lower',double(-9.0000000000000006360851714687e+40),...
-'table_0d_error_upper',double(-9.0000000000000006360851714687e+40),...
+'label','',...
+'table_0d',double(-9e+40),...
+'table_0d_error_index',int32(-999999999),...
+'table_0d_error_lower',double(-9e+40),...
+'table_0d_error_upper',double(-9e+40),...
 'table_1d',double([]),...
-'table_1d_error_index',double(-999999999),...
+'table_1d_error_index',int32(-999999999),...
 'table_1d_error_lower',double([]),...
 'table_1d_error_upper',double([]),...
 'table_2d',double([]),...
-'table_2d_error_index',double(-999999999),...
+'table_2d_error_index',int32(-999999999),...
 'table_2d_error_lower',double([]),...
 'table_2d_error_upper',double([]),...
 'table_3d',double([]),...
-'table_3d_error_index',double(-999999999),...
+'table_3d_error_index',int32(-999999999),...
 'table_3d_error_lower',double([]),...
 'table_3d_error_upper',double([]),...
 'table_4d',double([]),...
-'table_4d_error_index',double(-999999999),...
+'table_4d_error_index',int32(-999999999),...
 'table_4d_error_lower',double([]),...
 'table_4d_error_upper',double([]),...
 'table_5d',double([]),...
-'table_5d_error_index',double(-999999999),...
+'table_5d_error_index',int32(-999999999),...
 'table_5d_error_lower',double([]),...
 'table_5d_error_upper',double([]),...
 'table_6d',double([]),...
-'table_6d_error_index',double(-999999999),...
+'table_6d_error_index',int32(-999999999),...
 'table_6d_error_lower',double([]),...
 'table_6d_error_upper',double([]),...
-'z_max',double(-9.0000000000000006360851714687e+40),...
-'z_max_error_index',double(-999999999),...
-'z_max_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_max_error_upper',double(-9.0000000000000006360851714687e+40),...
-'z_min',double(-9.0000000000000006360851714687e+40),...
-'z_min_error_index',double(-999999999),...
-'z_min_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_min_error_upper',double(-9.0000000000000006360851714687e+40))
+'z_max',double(-9e+40),...
+'z_max_error_index',int32(-999999999),...
+'z_max_error_lower',double(-9e+40),...
+'z_max_error_upper',double(-9e+40),...
+'z_min',double(-9e+40),...
+'z_min_error_index',int32(-999999999),...
+'z_min_error_lower',double(-9e+40),...
+'z_min_error_upper',double(-9e+40))
 ;}},...
-'citation',double([]),...
-'coordinate_index',double(-999999999),...
-'label',double([]),...
+'citation','',...
+'coordinate_index',int32(-999999999),...
+'label','',...
 'products',{{struct(...
-'charge',double(-9.0000000000000006360851714687e+40),...
-'charge_error_index',double(-999999999),...
-'charge_error_lower',double(-9.0000000000000006360851714687e+40),...
-'charge_error_upper',double(-9.0000000000000006360851714687e+40),...
+'charge',double(-9e+40),...
+'charge_error_index',int32(-999999999),...
+'charge_error_lower',double(-9e+40),...
+'charge_error_upper',double(-9e+40),...
 'element',{{struct(...
-'a',double(-9.0000000000000006360851714687e+40),...
-'a_error_index',double(-999999999),...
-'a_error_lower',double(-9.0000000000000006360851714687e+40),...
-'a_error_upper',double(-9.0000000000000006360851714687e+40),...
-'atoms_n',double(-999999999),...
-'multiplicity',double(-9.0000000000000006360851714687e+40),...
-'multiplicity_error_index',double(-999999999),...
-'multiplicity_error_lower',double(-9.0000000000000006360851714687e+40),...
-'multiplicity_error_upper',double(-9.0000000000000006360851714687e+40),...
-'z_n',double(-9.0000000000000006360851714687e+40),...
-'z_n_error_index',double(-999999999),...
-'z_n_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_n_error_upper',double(-9.0000000000000006360851714687e+40))
+'a',double(-9e+40),...
+'a_error_index',int32(-999999999),...
+'a_error_lower',double(-9e+40),...
+'a_error_upper',double(-9e+40),...
+'atoms_n',int32(-999999999),...
+'multiplicity',double(-9e+40),...
+'multiplicity_error_index',int32(-999999999),...
+'multiplicity_error_lower',double(-9e+40),...
+'multiplicity_error_upper',double(-9e+40),...
+'z_n',double(-9e+40),...
+'z_n_error_index',int32(-999999999),...
+'z_n_error_lower',double(-9e+40),...
+'z_n_error_upper',double(-9e+40))
 ;}},...
-'label',double([]),...
-'mass',double(-9.0000000000000006360851714687e+40),...
-'mass_error_index',double(-999999999),...
-'mass_error_lower',double(-9.0000000000000006360851714687e+40),...
-'mass_error_upper',double(-9.0000000000000006360851714687e+40),...
-'metastable',double([]),...
-'metastable_label',double([]),...
-'multiplicity',double(-9.0000000000000006360851714687e+40),...
-'multiplicity_error_index',double(-999999999),...
-'multiplicity_error_lower',double(-9.0000000000000006360851714687e+40),...
-'multiplicity_error_upper',double(-9.0000000000000006360851714687e+40),...
-'relative_charge',double(-999999999),...
+'label','',...
+'mass',double(-9e+40),...
+'mass_error_index',int32(-999999999),...
+'mass_error_lower',double(-9e+40),...
+'mass_error_upper',double(-9e+40),...
+'metastable',int32([]),...
+'metastable_label','',...
+'multiplicity',double(-9e+40),...
+'multiplicity_error_index',int32(-999999999),...
+'multiplicity_error_lower',double(-9e+40),...
+'multiplicity_error_upper',double(-9e+40),...
+'relative_charge',int32(-999999999),...
 'role',struct(...
-'description',double([]),...
-'index',double(-999999999),...
-'name',double([])))
+'description','',...
+'index',int32(-999999999),...
+'name',''))
 ;}},...
-'provider',double([]),...
+'provider','',...
 'reactants',{{struct(...
-'charge',double(-9.0000000000000006360851714687e+40),...
-'charge_error_index',double(-999999999),...
-'charge_error_lower',double(-9.0000000000000006360851714687e+40),...
-'charge_error_upper',double(-9.0000000000000006360851714687e+40),...
+'charge',double(-9e+40),...
+'charge_error_index',int32(-999999999),...
+'charge_error_lower',double(-9e+40),...
+'charge_error_upper',double(-9e+40),...
 'element',{{struct(...
-'a',double(-9.0000000000000006360851714687e+40),...
-'a_error_index',double(-999999999),...
-'a_error_lower',double(-9.0000000000000006360851714687e+40),...
-'a_error_upper',double(-9.0000000000000006360851714687e+40),...
-'atoms_n',double(-999999999),...
-'multiplicity',double(-9.0000000000000006360851714687e+40),...
-'multiplicity_error_index',double(-999999999),...
-'multiplicity_error_lower',double(-9.0000000000000006360851714687e+40),...
-'multiplicity_error_upper',double(-9.0000000000000006360851714687e+40),...
-'z_n',double(-9.0000000000000006360851714687e+40),...
-'z_n_error_index',double(-999999999),...
-'z_n_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_n_error_upper',double(-9.0000000000000006360851714687e+40))
+'a',double(-9e+40),...
+'a_error_index',int32(-999999999),...
+'a_error_lower',double(-9e+40),...
+'a_error_upper',double(-9e+40),...
+'atoms_n',int32(-999999999),...
+'multiplicity',double(-9e+40),...
+'multiplicity_error_index',int32(-999999999),...
+'multiplicity_error_lower',double(-9e+40),...
+'multiplicity_error_upper',double(-9e+40),...
+'z_n',double(-9e+40),...
+'z_n_error_index',int32(-999999999),...
+'z_n_error_lower',double(-9e+40),...
+'z_n_error_upper',double(-9e+40))
 ;}},...
-'label',double([]),...
-'mass',double(-9.0000000000000006360851714687e+40),...
-'mass_error_index',double(-999999999),...
-'mass_error_lower',double(-9.0000000000000006360851714687e+40),...
-'mass_error_upper',double(-9.0000000000000006360851714687e+40),...
-'metastable',double([]),...
-'metastable_label',double([]),...
-'multiplicity',double(-9.0000000000000006360851714687e+40),...
-'multiplicity_error_index',double(-999999999),...
-'multiplicity_error_lower',double(-9.0000000000000006360851714687e+40),...
-'multiplicity_error_upper',double(-9.0000000000000006360851714687e+40),...
-'relative_charge',double(-999999999),...
+'label','',...
+'mass',double(-9e+40),...
+'mass_error_index',int32(-999999999),...
+'mass_error_lower',double(-9e+40),...
+'mass_error_upper',double(-9e+40),...
+'metastable',int32([]),...
+'metastable_label','',...
+'multiplicity',double(-9e+40),...
+'multiplicity_error_index',int32(-999999999),...
+'multiplicity_error_lower',double(-9e+40),...
+'multiplicity_error_upper',double(-9e+40),...
+'relative_charge',int32(-999999999),...
 'role',struct(...
-'description',double([]),...
-'index',double(-999999999),...
-'name',double([])))
+'description','',...
+'index',int32(-999999999),...
+'name',''))
 ;}},...
-'result_label',double([]),...
-'result_transformation',double(-999999999),...
-'result_units',double([]),...
-'source',double([]),...
-'table_dimension',double(-999999999))
+'result_label','',...
+'result_transformation',int32(-999999999),...
+'result_units','',...
+'source','',...
+'table_dimension',int32(-999999999))
 ;}},...
 'release',{{struct(...
 'data_entry',{{struct(...
-'description',double([]),...
-'run',double(-999999999),...
-'shot',double(-999999999))
+'description','',...
+'run',int32(-999999999),...
+'shot',int32(-999999999))
 ;}},...
-'date',double([]),...
-'description',double([]))
+'date','',...
+'description','')
 ;}},...
 'time',double([]),...
-'z_n',double(-9.0000000000000006360851714687e+40),...
-'z_n_error_index',double(-999999999),...
-'z_n_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_n_error_upper',double(-9.0000000000000006360851714687e+40));
+'z_n',double(-9e+40),...
+'z_n_error_index',int32(-999999999),...
+'z_n_error_lower',double(-9e+40),...
+'z_n_error_upper',double(-9e+40));
diff --git a/matlab/TCV_IMAS/ids_empty/ids_empty_barometry.m b/matlab/TCV_IMAS/ids_empty/ids_empty_barometry.m
index 11ef877f083726678aee3a77c81a0b2de0365299..f23f78cf136250a0896a001ac010cbe1c48a7600 100644
--- a/matlab/TCV_IMAS/ids_empty/ids_empty_barometry.m
+++ b/matlab/TCV_IMAS/ids_empty/ids_empty_barometry.m
@@ -6,46 +6,50 @@ function S = ids_empty_barometry
 S = ... 
 struct(...
 'code',struct(...
-'commit',double([]),...
-'name',double([]),...
-'output_flag',double([]),...
-'parameters',double([]),...
-'repository',double([]),...
-'version',double([])),...
+'commit','',...
+'name','',...
+'output_flag',int32([]),...
+'parameters','',...
+'repository','',...
+'version',''),...
 'gauge',{{struct(...
-'calibration_coefficient',double(-9.0000000000000006360851714687e+40),...
-'calibration_coefficient_error_index',double(-999999999),...
-'calibration_coefficient_error_lower',double(-9.0000000000000006360851714687e+40),...
-'calibration_coefficient_error_upper',double(-9.0000000000000006360851714687e+40),...
-'name',double([]),...
+'calibration_coefficient',double(-9e+40),...
+'calibration_coefficient_error_index',int32(-999999999),...
+'calibration_coefficient_error_lower',double(-9e+40),...
+'calibration_coefficient_error_upper',double(-9e+40),...
+'name','',...
 'position',struct(...
-'phi',double(-9.0000000000000006360851714687e+40),...
-'phi_error_index',double(-999999999),...
-'phi_error_lower',double(-9.0000000000000006360851714687e+40),...
-'phi_error_upper',double(-9.0000000000000006360851714687e+40),...
-'r',double(-9.0000000000000006360851714687e+40),...
-'r_error_index',double(-999999999),...
-'r_error_lower',double(-9.0000000000000006360851714687e+40),...
-'r_error_upper',double(-9.0000000000000006360851714687e+40),...
-'z',double(-9.0000000000000006360851714687e+40),...
-'z_error_index',double(-999999999),...
-'z_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_error_upper',double(-9.0000000000000006360851714687e+40)),...
+'phi',double(-9e+40),...
+'phi_error_index',int32(-999999999),...
+'phi_error_lower',double(-9e+40),...
+'phi_error_upper',double(-9e+40),...
+'r',double(-9e+40),...
+'r_error_index',int32(-999999999),...
+'r_error_lower',double(-9e+40),...
+'r_error_upper',double(-9e+40),...
+'z',double(-9e+40),...
+'z_error_index',int32(-999999999),...
+'z_error_lower',double(-9e+40),...
+'z_error_upper',double(-9e+40)),...
 'pressure',struct(...
 'data',double([]),...
-'data_error_index',double(-999999999),...
+'data_error_index',int32(-999999999),...
 'data_error_lower',double([]),...
 'data_error_upper',double([]),...
 'time',double([])),...
 'type',struct(...
-'description',double([]),...
-'index',double(-999999999),...
-'name',double([])))
+'description','',...
+'index',int32(-999999999),...
+'name',''))
 ;}},...
 'ids_properties',struct(...
-'comment',double([]),...
-'creation_date',double([]),...
-'homogeneous_time',double(-999999999),...
-'provider',double([]),...
-'source',double([])),...
+'comment','',...
+'creation_date','',...
+'homogeneous_time',int32(-999999999),...
+'provider','',...
+'source','',...
+'version_put',struct(...
+'access_layer','',...
+'access_layer_language','',...
+'data_dictionary','')),...
 'time',double([]));
diff --git a/matlab/TCV_IMAS/ids_empty/ids_empty_bolometer.m b/matlab/TCV_IMAS/ids_empty/ids_empty_bolometer.m
index 5b5848352006af88e255947211c4db67d020163a..c0ea8f033b35ca85e7a61a0435e6533594e2d7fc 100644
--- a/matlab/TCV_IMAS/ids_empty/ids_empty_bolometer.m
+++ b/matlab/TCV_IMAS/ids_empty/ids_empty_bolometer.m
@@ -8,228 +8,248 @@ struct(...
 'channel',{{struct(...
 'aperture',{{struct(...
 'centre',struct(...
-'phi',double(-9.0000000000000006360851714687e+40),...
-'phi_error_index',double(-999999999),...
-'phi_error_lower',double(-9.0000000000000006360851714687e+40),...
-'phi_error_upper',double(-9.0000000000000006360851714687e+40),...
-'r',double(-9.0000000000000006360851714687e+40),...
-'r_error_index',double(-999999999),...
-'r_error_lower',double(-9.0000000000000006360851714687e+40),...
-'r_error_upper',double(-9.0000000000000006360851714687e+40),...
-'z',double(-9.0000000000000006360851714687e+40),...
-'z_error_index',double(-999999999),...
-'z_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_error_upper',double(-9.0000000000000006360851714687e+40)),...
-'geometry_type',double(-999999999),...
+'phi',double(-9e+40),...
+'phi_error_index',int32(-999999999),...
+'phi_error_lower',double(-9e+40),...
+'phi_error_upper',double(-9e+40),...
+'r',double(-9e+40),...
+'r_error_index',int32(-999999999),...
+'r_error_lower',double(-9e+40),...
+'r_error_upper',double(-9e+40),...
+'z',double(-9e+40),...
+'z_error_index',int32(-999999999),...
+'z_error_lower',double(-9e+40),...
+'z_error_upper',double(-9e+40)),...
+'geometry_type',int32(-999999999),...
 'outline',struct(...
 'x1',double([]),...
-'x1_error_index',double(-999999999),...
+'x1_error_index',int32(-999999999),...
 'x1_error_lower',double([]),...
 'x1_error_upper',double([]),...
 'x2',double([]),...
-'x2_error_index',double(-999999999),...
+'x2_error_index',int32(-999999999),...
 'x2_error_lower',double([]),...
 'x2_error_upper',double([])),...
-'radius',double(-9.0000000000000006360851714687e+40),...
-'radius_error_index',double(-999999999),...
-'radius_error_lower',double(-9.0000000000000006360851714687e+40),...
-'radius_error_upper',double(-9.0000000000000006360851714687e+40),...
-'surface',double(-9.0000000000000006360851714687e+40),...
-'surface_error_index',double(-999999999),...
-'surface_error_lower',double(-9.0000000000000006360851714687e+40),...
-'surface_error_upper',double(-9.0000000000000006360851714687e+40),...
+'radius',double(-9e+40),...
+'radius_error_index',int32(-999999999),...
+'radius_error_lower',double(-9e+40),...
+'radius_error_upper',double(-9e+40),...
+'surface',double(-9e+40),...
+'surface_error_index',int32(-999999999),...
+'surface_error_lower',double(-9e+40),...
+'surface_error_upper',double(-9e+40),...
 'x1_unit_vector',struct(...
-'x',double(-9.0000000000000006360851714687e+40),...
-'x_error_index',double(-999999999),...
-'x_error_lower',double(-9.0000000000000006360851714687e+40),...
-'x_error_upper',double(-9.0000000000000006360851714687e+40),...
-'y',double(-9.0000000000000006360851714687e+40),...
-'y_error_index',double(-999999999),...
-'y_error_lower',double(-9.0000000000000006360851714687e+40),...
-'y_error_upper',double(-9.0000000000000006360851714687e+40),...
-'z',double(-9.0000000000000006360851714687e+40),...
-'z_error_index',double(-999999999),...
-'z_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_error_upper',double(-9.0000000000000006360851714687e+40)),...
+'x',double(-9e+40),...
+'x_error_index',int32(-999999999),...
+'x_error_lower',double(-9e+40),...
+'x_error_upper',double(-9e+40),...
+'y',double(-9e+40),...
+'y_error_index',int32(-999999999),...
+'y_error_lower',double(-9e+40),...
+'y_error_upper',double(-9e+40),...
+'z',double(-9e+40),...
+'z_error_index',int32(-999999999),...
+'z_error_lower',double(-9e+40),...
+'z_error_upper',double(-9e+40)),...
+'x1_width',double(-9e+40),...
+'x1_width_error_index',int32(-999999999),...
+'x1_width_error_lower',double(-9e+40),...
+'x1_width_error_upper',double(-9e+40),...
 'x2_unit_vector',struct(...
-'x',double(-9.0000000000000006360851714687e+40),...
-'x_error_index',double(-999999999),...
-'x_error_lower',double(-9.0000000000000006360851714687e+40),...
-'x_error_upper',double(-9.0000000000000006360851714687e+40),...
-'y',double(-9.0000000000000006360851714687e+40),...
-'y_error_index',double(-999999999),...
-'y_error_lower',double(-9.0000000000000006360851714687e+40),...
-'y_error_upper',double(-9.0000000000000006360851714687e+40),...
-'z',double(-9.0000000000000006360851714687e+40),...
-'z_error_index',double(-999999999),...
-'z_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_error_upper',double(-9.0000000000000006360851714687e+40)),...
+'x',double(-9e+40),...
+'x_error_index',int32(-999999999),...
+'x_error_lower',double(-9e+40),...
+'x_error_upper',double(-9e+40),...
+'y',double(-9e+40),...
+'y_error_index',int32(-999999999),...
+'y_error_lower',double(-9e+40),...
+'y_error_upper',double(-9e+40),...
+'z',double(-9e+40),...
+'z_error_index',int32(-999999999),...
+'z_error_lower',double(-9e+40),...
+'z_error_upper',double(-9e+40)),...
+'x2_width',double(-9e+40),...
+'x2_width_error_index',int32(-999999999),...
+'x2_width_error_lower',double(-9e+40),...
+'x2_width_error_upper',double(-9e+40),...
 'x3_unit_vector',struct(...
-'x',double(-9.0000000000000006360851714687e+40),...
-'x_error_index',double(-999999999),...
-'x_error_lower',double(-9.0000000000000006360851714687e+40),...
-'x_error_upper',double(-9.0000000000000006360851714687e+40),...
-'y',double(-9.0000000000000006360851714687e+40),...
-'y_error_index',double(-999999999),...
-'y_error_lower',double(-9.0000000000000006360851714687e+40),...
-'y_error_upper',double(-9.0000000000000006360851714687e+40),...
-'z',double(-9.0000000000000006360851714687e+40),...
-'z_error_index',double(-999999999),...
-'z_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_error_upper',double(-9.0000000000000006360851714687e+40)))
+'x',double(-9e+40),...
+'x_error_index',int32(-999999999),...
+'x_error_lower',double(-9e+40),...
+'x_error_upper',double(-9e+40),...
+'y',double(-9e+40),...
+'y_error_index',int32(-999999999),...
+'y_error_lower',double(-9e+40),...
+'y_error_upper',double(-9e+40),...
+'z',double(-9e+40),...
+'z_error_index',int32(-999999999),...
+'z_error_lower',double(-9e+40),...
+'z_error_upper',double(-9e+40)))
 ;}},...
 'detector',struct(...
 'centre',struct(...
-'phi',double(-9.0000000000000006360851714687e+40),...
-'phi_error_index',double(-999999999),...
-'phi_error_lower',double(-9.0000000000000006360851714687e+40),...
-'phi_error_upper',double(-9.0000000000000006360851714687e+40),...
-'r',double(-9.0000000000000006360851714687e+40),...
-'r_error_index',double(-999999999),...
-'r_error_lower',double(-9.0000000000000006360851714687e+40),...
-'r_error_upper',double(-9.0000000000000006360851714687e+40),...
-'z',double(-9.0000000000000006360851714687e+40),...
-'z_error_index',double(-999999999),...
-'z_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_error_upper',double(-9.0000000000000006360851714687e+40)),...
-'geometry_type',double(-999999999),...
+'phi',double(-9e+40),...
+'phi_error_index',int32(-999999999),...
+'phi_error_lower',double(-9e+40),...
+'phi_error_upper',double(-9e+40),...
+'r',double(-9e+40),...
+'r_error_index',int32(-999999999),...
+'r_error_lower',double(-9e+40),...
+'r_error_upper',double(-9e+40),...
+'z',double(-9e+40),...
+'z_error_index',int32(-999999999),...
+'z_error_lower',double(-9e+40),...
+'z_error_upper',double(-9e+40)),...
+'geometry_type',int32(-999999999),...
 'outline',struct(...
 'x1',double([]),...
-'x1_error_index',double(-999999999),...
+'x1_error_index',int32(-999999999),...
 'x1_error_lower',double([]),...
 'x1_error_upper',double([]),...
 'x2',double([]),...
-'x2_error_index',double(-999999999),...
+'x2_error_index',int32(-999999999),...
 'x2_error_lower',double([]),...
 'x2_error_upper',double([])),...
-'radius',double(-9.0000000000000006360851714687e+40),...
-'radius_error_index',double(-999999999),...
-'radius_error_lower',double(-9.0000000000000006360851714687e+40),...
-'radius_error_upper',double(-9.0000000000000006360851714687e+40),...
-'surface',double(-9.0000000000000006360851714687e+40),...
-'surface_error_index',double(-999999999),...
-'surface_error_lower',double(-9.0000000000000006360851714687e+40),...
-'surface_error_upper',double(-9.0000000000000006360851714687e+40),...
+'radius',double(-9e+40),...
+'radius_error_index',int32(-999999999),...
+'radius_error_lower',double(-9e+40),...
+'radius_error_upper',double(-9e+40),...
+'surface',double(-9e+40),...
+'surface_error_index',int32(-999999999),...
+'surface_error_lower',double(-9e+40),...
+'surface_error_upper',double(-9e+40),...
 'x1_unit_vector',struct(...
-'x',double(-9.0000000000000006360851714687e+40),...
-'x_error_index',double(-999999999),...
-'x_error_lower',double(-9.0000000000000006360851714687e+40),...
-'x_error_upper',double(-9.0000000000000006360851714687e+40),...
-'y',double(-9.0000000000000006360851714687e+40),...
-'y_error_index',double(-999999999),...
-'y_error_lower',double(-9.0000000000000006360851714687e+40),...
-'y_error_upper',double(-9.0000000000000006360851714687e+40),...
-'z',double(-9.0000000000000006360851714687e+40),...
-'z_error_index',double(-999999999),...
-'z_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_error_upper',double(-9.0000000000000006360851714687e+40)),...
+'x',double(-9e+40),...
+'x_error_index',int32(-999999999),...
+'x_error_lower',double(-9e+40),...
+'x_error_upper',double(-9e+40),...
+'y',double(-9e+40),...
+'y_error_index',int32(-999999999),...
+'y_error_lower',double(-9e+40),...
+'y_error_upper',double(-9e+40),...
+'z',double(-9e+40),...
+'z_error_index',int32(-999999999),...
+'z_error_lower',double(-9e+40),...
+'z_error_upper',double(-9e+40)),...
+'x1_width',double(-9e+40),...
+'x1_width_error_index',int32(-999999999),...
+'x1_width_error_lower',double(-9e+40),...
+'x1_width_error_upper',double(-9e+40),...
 'x2_unit_vector',struct(...
-'x',double(-9.0000000000000006360851714687e+40),...
-'x_error_index',double(-999999999),...
-'x_error_lower',double(-9.0000000000000006360851714687e+40),...
-'x_error_upper',double(-9.0000000000000006360851714687e+40),...
-'y',double(-9.0000000000000006360851714687e+40),...
-'y_error_index',double(-999999999),...
-'y_error_lower',double(-9.0000000000000006360851714687e+40),...
-'y_error_upper',double(-9.0000000000000006360851714687e+40),...
-'z',double(-9.0000000000000006360851714687e+40),...
-'z_error_index',double(-999999999),...
-'z_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_error_upper',double(-9.0000000000000006360851714687e+40)),...
+'x',double(-9e+40),...
+'x_error_index',int32(-999999999),...
+'x_error_lower',double(-9e+40),...
+'x_error_upper',double(-9e+40),...
+'y',double(-9e+40),...
+'y_error_index',int32(-999999999),...
+'y_error_lower',double(-9e+40),...
+'y_error_upper',double(-9e+40),...
+'z',double(-9e+40),...
+'z_error_index',int32(-999999999),...
+'z_error_lower',double(-9e+40),...
+'z_error_upper',double(-9e+40)),...
+'x2_width',double(-9e+40),...
+'x2_width_error_index',int32(-999999999),...
+'x2_width_error_lower',double(-9e+40),...
+'x2_width_error_upper',double(-9e+40),...
 'x3_unit_vector',struct(...
-'x',double(-9.0000000000000006360851714687e+40),...
-'x_error_index',double(-999999999),...
-'x_error_lower',double(-9.0000000000000006360851714687e+40),...
-'x_error_upper',double(-9.0000000000000006360851714687e+40),...
-'y',double(-9.0000000000000006360851714687e+40),...
-'y_error_index',double(-999999999),...
-'y_error_lower',double(-9.0000000000000006360851714687e+40),...
-'y_error_upper',double(-9.0000000000000006360851714687e+40),...
-'z',double(-9.0000000000000006360851714687e+40),...
-'z_error_index',double(-999999999),...
-'z_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_error_upper',double(-9.0000000000000006360851714687e+40))),...
-'etendue',double(-9.0000000000000006360851714687e+40),...
-'etendue_error_index',double(-999999999),...
-'etendue_error_lower',double(-9.0000000000000006360851714687e+40),...
-'etendue_error_upper',double(-9.0000000000000006360851714687e+40),...
+'x',double(-9e+40),...
+'x_error_index',int32(-999999999),...
+'x_error_lower',double(-9e+40),...
+'x_error_upper',double(-9e+40),...
+'y',double(-9e+40),...
+'y_error_index',int32(-999999999),...
+'y_error_lower',double(-9e+40),...
+'y_error_upper',double(-9e+40),...
+'z',double(-9e+40),...
+'z_error_index',int32(-999999999),...
+'z_error_lower',double(-9e+40),...
+'z_error_upper',double(-9e+40))),...
+'etendue',double(-9e+40),...
+'etendue_error_index',int32(-999999999),...
+'etendue_error_lower',double(-9e+40),...
+'etendue_error_upper',double(-9e+40),...
 'etendue_method',struct(...
-'description',double([]),...
-'index',double(-999999999),...
-'name',double([])),...
-'identifier',double([]),...
+'description','',...
+'index',int32(-999999999),...
+'name',''),...
+'identifier','',...
 'line_of_sight',struct(...
 'first_point',struct(...
-'phi',double(-9.0000000000000006360851714687e+40),...
-'phi_error_index',double(-999999999),...
-'phi_error_lower',double(-9.0000000000000006360851714687e+40),...
-'phi_error_upper',double(-9.0000000000000006360851714687e+40),...
-'r',double(-9.0000000000000006360851714687e+40),...
-'r_error_index',double(-999999999),...
-'r_error_lower',double(-9.0000000000000006360851714687e+40),...
-'r_error_upper',double(-9.0000000000000006360851714687e+40),...
-'z',double(-9.0000000000000006360851714687e+40),...
-'z_error_index',double(-999999999),...
-'z_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_error_upper',double(-9.0000000000000006360851714687e+40)),...
+'phi',double(-9e+40),...
+'phi_error_index',int32(-999999999),...
+'phi_error_lower',double(-9e+40),...
+'phi_error_upper',double(-9e+40),...
+'r',double(-9e+40),...
+'r_error_index',int32(-999999999),...
+'r_error_lower',double(-9e+40),...
+'r_error_upper',double(-9e+40),...
+'z',double(-9e+40),...
+'z_error_index',int32(-999999999),...
+'z_error_lower',double(-9e+40),...
+'z_error_upper',double(-9e+40)),...
 'second_point',struct(...
-'phi',double(-9.0000000000000006360851714687e+40),...
-'phi_error_index',double(-999999999),...
-'phi_error_lower',double(-9.0000000000000006360851714687e+40),...
-'phi_error_upper',double(-9.0000000000000006360851714687e+40),...
-'r',double(-9.0000000000000006360851714687e+40),...
-'r_error_index',double(-999999999),...
-'r_error_lower',double(-9.0000000000000006360851714687e+40),...
-'r_error_upper',double(-9.0000000000000006360851714687e+40),...
-'z',double(-9.0000000000000006360851714687e+40),...
-'z_error_index',double(-999999999),...
-'z_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_error_upper',double(-9.0000000000000006360851714687e+40)),...
+'phi',double(-9e+40),...
+'phi_error_index',int32(-999999999),...
+'phi_error_lower',double(-9e+40),...
+'phi_error_upper',double(-9e+40),...
+'r',double(-9e+40),...
+'r_error_index',int32(-999999999),...
+'r_error_lower',double(-9e+40),...
+'r_error_upper',double(-9e+40),...
+'z',double(-9e+40),...
+'z_error_index',int32(-999999999),...
+'z_error_lower',double(-9e+40),...
+'z_error_upper',double(-9e+40)),...
 'third_point',struct(...
-'phi',double(-9.0000000000000006360851714687e+40),...
-'phi_error_index',double(-999999999),...
-'phi_error_lower',double(-9.0000000000000006360851714687e+40),...
-'phi_error_upper',double(-9.0000000000000006360851714687e+40),...
-'r',double(-9.0000000000000006360851714687e+40),...
-'r_error_index',double(-999999999),...
-'r_error_lower',double(-9.0000000000000006360851714687e+40),...
-'r_error_upper',double(-9.0000000000000006360851714687e+40),...
-'z',double(-9.0000000000000006360851714687e+40),...
-'z_error_index',double(-999999999),...
-'z_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_error_upper',double(-9.0000000000000006360851714687e+40))),...
-'name',double([]),...
+'phi',double(-9e+40),...
+'phi_error_index',int32(-999999999),...
+'phi_error_lower',double(-9e+40),...
+'phi_error_upper',double(-9e+40),...
+'r',double(-9e+40),...
+'r_error_index',int32(-999999999),...
+'r_error_lower',double(-9e+40),...
+'r_error_upper',double(-9e+40),...
+'z',double(-9e+40),...
+'z_error_index',int32(-999999999),...
+'z_error_lower',double(-9e+40),...
+'z_error_upper',double(-9e+40))),...
+'name','',...
 'power',struct(...
 'data',double([]),...
-'data_error_index',double(-999999999),...
+'data_error_index',int32(-999999999),...
 'data_error_lower',double([]),...
 'data_error_upper',double([]),...
 'time',double([])),...
-'validity',double(-999999999),...
+'validity',int32(-999999999),...
 'validity_timed',struct(...
-'data',double([]),...
+'data',int32([]),...
 'time',double([])))
 ;}},...
 'code',struct(...
-'commit',double([]),...
-'name',double([]),...
-'output_flag',double([]),...
-'parameters',double([]),...
-'repository',double([]),...
-'version',double([])),...
+'commit','',...
+'name','',...
+'output_flag',int32([]),...
+'parameters','',...
+'repository','',...
+'version',''),...
 'ids_properties',struct(...
-'comment',double([]),...
-'creation_date',double([]),...
-'homogeneous_time',double(-999999999),...
-'provider',double([]),...
-'source',double([])),...
+'comment','',...
+'creation_date','',...
+'homogeneous_time',int32(-999999999),...
+'provider','',...
+'source','',...
+'version_put',struct(...
+'access_layer','',...
+'access_layer_language','',...
+'data_dictionary','')),...
 'power_radiated_inside_lcfs',double([]),...
-'power_radiated_inside_lcfs_error_index',double(-999999999),...
+'power_radiated_inside_lcfs_error_index',int32(-999999999),...
 'power_radiated_inside_lcfs_error_lower',double([]),...
 'power_radiated_inside_lcfs_error_upper',double([]),...
 'power_radiated_total',double([]),...
-'power_radiated_total_error_index',double(-999999999),...
+'power_radiated_total_error_index',int32(-999999999),...
 'power_radiated_total_error_lower',double([]),...
 'power_radiated_total_error_upper',double([]),...
-'power_radiated_validity',double([]),...
+'power_radiated_validity',int32([]),...
 'time',double([]));
diff --git a/matlab/TCV_IMAS/ids_empty/ids_empty_bremsstrahlung_visible.m b/matlab/TCV_IMAS/ids_empty/ids_empty_bremsstrahlung_visible.m
new file mode 100644
index 0000000000000000000000000000000000000000..e5b5048e76ea0f42794cbae169ca76af578d697b
--- /dev/null
+++ b/matlab/TCV_IMAS/ids_empty/ids_empty_bremsstrahlung_visible.m
@@ -0,0 +1,92 @@
+function S = ids_empty_bremsstrahlung_visible
+% function S = ids_empty_bremsstrahlung_visible
+%
+% File written automatically using struct2m.m 
+
+S = ... 
+struct(...
+'channel',{{struct(...
+'filter',struct(...
+'detection_efficiency',double([]),...
+'detection_efficiency_error_index',int32(-999999999),...
+'detection_efficiency_error_lower',double([]),...
+'detection_efficiency_error_upper',double([]),...
+'wavelength_lower',double(-9e+40),...
+'wavelength_lower_error_index',int32(-999999999),...
+'wavelength_lower_error_lower',double(-9e+40),...
+'wavelength_lower_error_upper',double(-9e+40),...
+'wavelength_upper',double(-9e+40),...
+'wavelength_upper_error_index',int32(-999999999),...
+'wavelength_upper_error_lower',double(-9e+40),...
+'wavelength_upper_error_upper',double(-9e+40),...
+'wavelengths',double([]),...
+'wavelengths_error_index',int32(-999999999),...
+'wavelengths_error_lower',double([]),...
+'wavelengths_error_upper',double([])),...
+'intensity',struct(...
+'data',double([]),...
+'data_error_index',int32(-999999999),...
+'data_error_lower',double([]),...
+'data_error_upper',double([]),...
+'time',double([])),...
+'line_of_sight',struct(...
+'first_point',struct(...
+'phi',double(-9e+40),...
+'phi_error_index',int32(-999999999),...
+'phi_error_lower',double(-9e+40),...
+'phi_error_upper',double(-9e+40),...
+'r',double(-9e+40),...
+'r_error_index',int32(-999999999),...
+'r_error_lower',double(-9e+40),...
+'r_error_upper',double(-9e+40),...
+'z',double(-9e+40),...
+'z_error_index',int32(-999999999),...
+'z_error_lower',double(-9e+40),...
+'z_error_upper',double(-9e+40)),...
+'second_point',struct(...
+'phi',double(-9e+40),...
+'phi_error_index',int32(-999999999),...
+'phi_error_lower',double(-9e+40),...
+'phi_error_upper',double(-9e+40),...
+'r',double(-9e+40),...
+'r_error_index',int32(-999999999),...
+'r_error_lower',double(-9e+40),...
+'r_error_upper',double(-9e+40),...
+'z',double(-9e+40),...
+'z_error_index',int32(-999999999),...
+'z_error_lower',double(-9e+40),...
+'z_error_upper',double(-9e+40))),...
+'name','',...
+'radiance_spectral',struct(...
+'data',double([]),...
+'data_error_index',int32(-999999999),...
+'data_error_lower',double([]),...
+'data_error_upper',double([]),...
+'time',double([])),...
+'zeff_line_average',struct(...
+'data',double([]),...
+'data_error_index',int32(-999999999),...
+'data_error_lower',double([]),...
+'data_error_upper',double([]),...
+'time',double([]),...
+'validity',int32(-999999999),...
+'validity_timed',int32([])))
+;}},...
+'code',struct(...
+'commit','',...
+'name','',...
+'output_flag',int32([]),...
+'parameters','',...
+'repository','',...
+'version',''),...
+'ids_properties',struct(...
+'comment','',...
+'creation_date','',...
+'homogeneous_time',int32(-999999999),...
+'provider','',...
+'source','',...
+'version_put',struct(...
+'access_layer','',...
+'access_layer_language','',...
+'data_dictionary','')),...
+'time',double([]));
diff --git a/matlab/TCV_IMAS/ids_empty/ids_empty_calorimetry.m b/matlab/TCV_IMAS/ids_empty/ids_empty_calorimetry.m
new file mode 100644
index 0000000000000000000000000000000000000000..d68f17215f4af13cb10a100e10f3831d2f47111f
--- /dev/null
+++ b/matlab/TCV_IMAS/ids_empty/ids_empty_calorimetry.m
@@ -0,0 +1,113 @@
+function S = ids_empty_calorimetry
+% function S = ids_empty_calorimetry
+%
+% File written automatically using struct2m.m 
+
+S = ... 
+struct(...
+'code',struct(...
+'commit','',...
+'name','',...
+'output_flag',int32([]),...
+'parameters','',...
+'repository','',...
+'version',''),...
+'cooling_loop',{{struct(...
+'identifier','',...
+'mass_flow',struct(...
+'data',double([]),...
+'data_error_index',int32(-999999999),...
+'data_error_lower',double([]),...
+'data_error_upper',double([]),...
+'time',double([]),...
+'validity',int32(-999999999),...
+'validity_timed',int32([])),...
+'name','',...
+'temperature_in',struct(...
+'data',double([]),...
+'data_error_index',int32(-999999999),...
+'data_error_lower',double([]),...
+'data_error_upper',double([]),...
+'time',double([]),...
+'validity',int32(-999999999),...
+'validity_timed',int32([])),...
+'temperature_out',struct(...
+'data',double([]),...
+'data_error_index',int32(-999999999),...
+'data_error_lower',double([]),...
+'data_error_upper',double([]),...
+'time',double([]),...
+'validity',int32(-999999999),...
+'validity_timed',int32([])))
+;}},...
+'group',{{struct(...
+'component',{{struct(...
+'energy_cumulated',struct(...
+'data',double([]),...
+'data_error_index',int32(-999999999),...
+'data_error_lower',double([]),...
+'data_error_upper',double([]),...
+'time',double([]),...
+'validity',int32(-999999999),...
+'validity_timed',int32([])),...
+'energy_total',double(-9e+40),...
+'energy_total_error_index',int32(-999999999),...
+'energy_total_error_lower',double(-9e+40),...
+'energy_total_error_upper',double(-9e+40),...
+'identifier','',...
+'mass_flow',struct(...
+'data',double([]),...
+'data_error_index',int32(-999999999),...
+'data_error_lower',double([]),...
+'data_error_upper',double([]),...
+'time',double([]),...
+'validity',int32(-999999999),...
+'validity_timed',int32([])),...
+'name','',...
+'power',struct(...
+'data',double([]),...
+'data_error_index',int32(-999999999),...
+'data_error_lower',double([]),...
+'data_error_upper',double([]),...
+'time',double([]),...
+'validity',int32(-999999999),...
+'validity_timed',int32([])),...
+'temperature_in',struct(...
+'data',double([]),...
+'data_error_index',int32(-999999999),...
+'data_error_lower',double([]),...
+'data_error_upper',double([]),...
+'time',double([]),...
+'validity',int32(-999999999),...
+'validity_timed',int32([])),...
+'temperature_out',struct(...
+'data',double([]),...
+'data_error_index',int32(-999999999),...
+'data_error_lower',double([]),...
+'data_error_upper',double([]),...
+'time',double([]),...
+'validity',int32(-999999999),...
+'validity_timed',int32([])),...
+'transit_time',struct(...
+'data',double([]),...
+'data_error_index',int32(-999999999),...
+'data_error_lower',double([]),...
+'data_error_upper',double([]),...
+'time',double([]),...
+'validity',int32(-999999999),...
+'validity_timed',int32([])))
+;}},...
+'identifier','',...
+'name','')
+;}},...
+'ids_properties',struct(...
+'comment','',...
+'creation_date','',...
+'homogeneous_time',int32(-999999999),...
+'provider','',...
+'source','',...
+'version_put',struct(...
+'access_layer','',...
+'access_layer_language','',...
+'data_dictionary','')),...
+'time',double([]));
diff --git a/matlab/TCV_IMAS/ids_empty/ids_empty_camera_ir.m b/matlab/TCV_IMAS/ids_empty/ids_empty_camera_ir.m
new file mode 100644
index 0000000000000000000000000000000000000000..3969262f39d79b7f4928e697a3d9783692fbaa90
--- /dev/null
+++ b/matlab/TCV_IMAS/ids_empty/ids_empty_camera_ir.m
@@ -0,0 +1,36 @@
+function S = ids_empty_camera_ir
+% function S = ids_empty_camera_ir
+%
+% File written automatically using struct2m.m 
+
+S = ... 
+struct(...
+'calibration',struct(...
+'luminance_to_temperature',int32([]),...
+'optical_temperature',int32([]),...
+'transmission_barrel',int32([]),...
+'transmission_mirror',int32([]),...
+'transmission_window',int32([])),...
+'code',struct(...
+'commit','',...
+'name','',...
+'output_flag',int32([]),...
+'parameters','',...
+'repository','',...
+'version',''),...
+'frame',{{struct(...
+'image_raw',int32([]),...
+'time',double(-9e+40))
+;}},...
+'ids_properties',struct(...
+'comment','',...
+'creation_date','',...
+'homogeneous_time',int32(-999999999),...
+'provider','',...
+'source','',...
+'version_put',struct(...
+'access_layer','',...
+'access_layer_language','',...
+'data_dictionary','')),...
+'name','',...
+'time',double([]));
diff --git a/matlab/TCV_IMAS/ids_empty/ids_empty_charge_exchange.m b/matlab/TCV_IMAS/ids_empty/ids_empty_charge_exchange.m
index 04b78e787cbe5006b2d9958f761dbfb91f40b2b3..f3745b1673e54427ff49cbbf39b73f886558edb1 100644
--- a/matlab/TCV_IMAS/ids_empty/ids_empty_charge_exchange.m
+++ b/matlab/TCV_IMAS/ids_empty/ids_empty_charge_exchange.m
@@ -7,354 +7,366 @@ S = ...
 struct(...
 'aperture',struct(...
 'centre',struct(...
-'phi',double(-9.0000000000000006360851714687e+40),...
-'phi_error_index',double(-999999999),...
-'phi_error_lower',double(-9.0000000000000006360851714687e+40),...
-'phi_error_upper',double(-9.0000000000000006360851714687e+40),...
-'r',double(-9.0000000000000006360851714687e+40),...
-'r_error_index',double(-999999999),...
-'r_error_lower',double(-9.0000000000000006360851714687e+40),...
-'r_error_upper',double(-9.0000000000000006360851714687e+40),...
-'z',double(-9.0000000000000006360851714687e+40),...
-'z_error_index',double(-999999999),...
-'z_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_error_upper',double(-9.0000000000000006360851714687e+40)),...
-'geometry_type',double(-999999999),...
+'phi',double(-9e+40),...
+'phi_error_index',int32(-999999999),...
+'phi_error_lower',double(-9e+40),...
+'phi_error_upper',double(-9e+40),...
+'r',double(-9e+40),...
+'r_error_index',int32(-999999999),...
+'r_error_lower',double(-9e+40),...
+'r_error_upper',double(-9e+40),...
+'z',double(-9e+40),...
+'z_error_index',int32(-999999999),...
+'z_error_lower',double(-9e+40),...
+'z_error_upper',double(-9e+40)),...
+'geometry_type',int32(-999999999),...
 'outline',struct(...
 'x1',double([]),...
-'x1_error_index',double(-999999999),...
+'x1_error_index',int32(-999999999),...
 'x1_error_lower',double([]),...
 'x1_error_upper',double([]),...
 'x2',double([]),...
-'x2_error_index',double(-999999999),...
+'x2_error_index',int32(-999999999),...
 'x2_error_lower',double([]),...
 'x2_error_upper',double([])),...
-'radius',double(-9.0000000000000006360851714687e+40),...
-'radius_error_index',double(-999999999),...
-'radius_error_lower',double(-9.0000000000000006360851714687e+40),...
-'radius_error_upper',double(-9.0000000000000006360851714687e+40),...
-'surface',double(-9.0000000000000006360851714687e+40),...
-'surface_error_index',double(-999999999),...
-'surface_error_lower',double(-9.0000000000000006360851714687e+40),...
-'surface_error_upper',double(-9.0000000000000006360851714687e+40),...
+'radius',double(-9e+40),...
+'radius_error_index',int32(-999999999),...
+'radius_error_lower',double(-9e+40),...
+'radius_error_upper',double(-9e+40),...
+'surface',double(-9e+40),...
+'surface_error_index',int32(-999999999),...
+'surface_error_lower',double(-9e+40),...
+'surface_error_upper',double(-9e+40),...
 'x1_unit_vector',struct(...
-'x',double(-9.0000000000000006360851714687e+40),...
-'x_error_index',double(-999999999),...
-'x_error_lower',double(-9.0000000000000006360851714687e+40),...
-'x_error_upper',double(-9.0000000000000006360851714687e+40),...
-'y',double(-9.0000000000000006360851714687e+40),...
-'y_error_index',double(-999999999),...
-'y_error_lower',double(-9.0000000000000006360851714687e+40),...
-'y_error_upper',double(-9.0000000000000006360851714687e+40),...
-'z',double(-9.0000000000000006360851714687e+40),...
-'z_error_index',double(-999999999),...
-'z_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_error_upper',double(-9.0000000000000006360851714687e+40)),...
+'x',double(-9e+40),...
+'x_error_index',int32(-999999999),...
+'x_error_lower',double(-9e+40),...
+'x_error_upper',double(-9e+40),...
+'y',double(-9e+40),...
+'y_error_index',int32(-999999999),...
+'y_error_lower',double(-9e+40),...
+'y_error_upper',double(-9e+40),...
+'z',double(-9e+40),...
+'z_error_index',int32(-999999999),...
+'z_error_lower',double(-9e+40),...
+'z_error_upper',double(-9e+40)),...
+'x1_width',double(-9e+40),...
+'x1_width_error_index',int32(-999999999),...
+'x1_width_error_lower',double(-9e+40),...
+'x1_width_error_upper',double(-9e+40),...
 'x2_unit_vector',struct(...
-'x',double(-9.0000000000000006360851714687e+40),...
-'x_error_index',double(-999999999),...
-'x_error_lower',double(-9.0000000000000006360851714687e+40),...
-'x_error_upper',double(-9.0000000000000006360851714687e+40),...
-'y',double(-9.0000000000000006360851714687e+40),...
-'y_error_index',double(-999999999),...
-'y_error_lower',double(-9.0000000000000006360851714687e+40),...
-'y_error_upper',double(-9.0000000000000006360851714687e+40),...
-'z',double(-9.0000000000000006360851714687e+40),...
-'z_error_index',double(-999999999),...
-'z_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_error_upper',double(-9.0000000000000006360851714687e+40)),...
+'x',double(-9e+40),...
+'x_error_index',int32(-999999999),...
+'x_error_lower',double(-9e+40),...
+'x_error_upper',double(-9e+40),...
+'y',double(-9e+40),...
+'y_error_index',int32(-999999999),...
+'y_error_lower',double(-9e+40),...
+'y_error_upper',double(-9e+40),...
+'z',double(-9e+40),...
+'z_error_index',int32(-999999999),...
+'z_error_lower',double(-9e+40),...
+'z_error_upper',double(-9e+40)),...
+'x2_width',double(-9e+40),...
+'x2_width_error_index',int32(-999999999),...
+'x2_width_error_lower',double(-9e+40),...
+'x2_width_error_upper',double(-9e+40),...
 'x3_unit_vector',struct(...
-'x',double(-9.0000000000000006360851714687e+40),...
-'x_error_index',double(-999999999),...
-'x_error_lower',double(-9.0000000000000006360851714687e+40),...
-'x_error_upper',double(-9.0000000000000006360851714687e+40),...
-'y',double(-9.0000000000000006360851714687e+40),...
-'y_error_index',double(-999999999),...
-'y_error_lower',double(-9.0000000000000006360851714687e+40),...
-'y_error_upper',double(-9.0000000000000006360851714687e+40),...
-'z',double(-9.0000000000000006360851714687e+40),...
-'z_error_index',double(-999999999),...
-'z_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_error_upper',double(-9.0000000000000006360851714687e+40))),...
+'x',double(-9e+40),...
+'x_error_index',int32(-999999999),...
+'x_error_lower',double(-9e+40),...
+'x_error_upper',double(-9e+40),...
+'y',double(-9e+40),...
+'y_error_index',int32(-999999999),...
+'y_error_lower',double(-9e+40),...
+'y_error_upper',double(-9e+40),...
+'z',double(-9e+40),...
+'z_error_index',int32(-999999999),...
+'z_error_lower',double(-9e+40),...
+'z_error_upper',double(-9e+40))),...
 'channel',{{struct(...
 'bes',struct(...
-'a',double(-9.0000000000000006360851714687e+40),...
-'a_error_index',double(-999999999),...
-'a_error_lower',double(-9.0000000000000006360851714687e+40),...
-'a_error_upper',double(-9.0000000000000006360851714687e+40),...
+'a',double(-9e+40),...
+'a_error_index',int32(-999999999),...
+'a_error_lower',double(-9e+40),...
+'a_error_upper',double(-9e+40),...
 'doppler_shift',struct(...
 'data',double([]),...
-'data_error_index',double(-999999999),...
+'data_error_index',int32(-999999999),...
 'data_error_lower',double([]),...
 'data_error_upper',double([]),...
 'time',double([])),...
-'label',double([]),...
+'label','',...
 'lorentz_shift',struct(...
 'data',double([]),...
-'data_error_index',double(-999999999),...
+'data_error_index',int32(-999999999),...
 'data_error_lower',double([]),...
 'data_error_upper',double([]),...
 'time',double([])),...
 'radiances',struct(...
 'data',double([]),...
-'data_error_index',double(-999999999),...
+'data_error_index',int32(-999999999),...
 'data_error_lower',double([]),...
 'data_error_upper',double([]),...
 'time',double([])),...
-'transition_wavelength',double(-9.0000000000000006360851714687e+40),...
-'transition_wavelength_error_index',double(-999999999),...
-'transition_wavelength_error_lower',double(-9.0000000000000006360851714687e+40),...
-'transition_wavelength_error_upper',double(-9.0000000000000006360851714687e+40),...
-'z_ion',double(-9.0000000000000006360851714687e+40),...
-'z_ion_error_index',double(-999999999),...
-'z_ion_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_ion_error_upper',double(-9.0000000000000006360851714687e+40),...
-'z_n',double(-9.0000000000000006360851714687e+40),...
-'z_n_error_index',double(-999999999),...
-'z_n_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_n_error_upper',double(-9.0000000000000006360851714687e+40)),...
-'identifier',double([]),...
+'transition_wavelength',double(-9e+40),...
+'transition_wavelength_error_index',int32(-999999999),...
+'transition_wavelength_error_lower',double(-9e+40),...
+'transition_wavelength_error_upper',double(-9e+40),...
+'z_ion',double(-9e+40),...
+'z_ion_error_index',int32(-999999999),...
+'z_ion_error_lower',double(-9e+40),...
+'z_ion_error_upper',double(-9e+40),...
+'z_n',double(-9e+40),...
+'z_n_error_index',int32(-999999999),...
+'z_n_error_lower',double(-9e+40),...
+'z_n_error_upper',double(-9e+40)),...
+'identifier','',...
 'ion',{{struct(...
-'a',double(-9.0000000000000006360851714687e+40),...
-'a_error_index',double(-999999999),...
-'a_error_lower',double(-9.0000000000000006360851714687e+40),...
-'a_error_upper',double(-9.0000000000000006360851714687e+40),...
-'label',double([]),...
+'a',double(-9e+40),...
+'a_error_index',int32(-999999999),...
+'a_error_lower',double(-9e+40),...
+'a_error_upper',double(-9e+40),...
+'label','',...
 'n_i_over_n_e',struct(...
 'data',double([]),...
-'data_error_index',double(-999999999),...
+'data_error_index',int32(-999999999),...
 'data_error_lower',double([]),...
 'data_error_upper',double([]),...
 'time',double([])),...
 'n_i_over_n_e_method',struct(...
-'description',double([]),...
-'index',double(-999999999),...
-'name',double([])),...
+'description','',...
+'index',int32(-999999999),...
+'name',''),...
 't_i',struct(...
 'data',double([]),...
-'data_error_index',double(-999999999),...
+'data_error_index',int32(-999999999),...
 'data_error_lower',double([]),...
 'data_error_upper',double([]),...
 'time',double([])),...
 't_i_method',struct(...
-'description',double([]),...
-'index',double(-999999999),...
-'name',double([])),...
+'description','',...
+'index',int32(-999999999),...
+'name',''),...
 'velocity_pol',struct(...
 'data',double([]),...
-'data_error_index',double(-999999999),...
+'data_error_index',int32(-999999999),...
 'data_error_lower',double([]),...
 'data_error_upper',double([]),...
 'time',double([])),...
 'velocity_pol_method',struct(...
-'description',double([]),...
-'index',double(-999999999),...
-'name',double([])),...
+'description','',...
+'index',int32(-999999999),...
+'name',''),...
 'velocity_tor',struct(...
 'data',double([]),...
-'data_error_index',double(-999999999),...
+'data_error_index',int32(-999999999),...
 'data_error_lower',double([]),...
 'data_error_upper',double([]),...
 'time',double([])),...
 'velocity_tor_method',struct(...
-'description',double([]),...
-'index',double(-999999999),...
-'name',double([])),...
-'z_ion',double(-9.0000000000000006360851714687e+40),...
-'z_ion_error_index',double(-999999999),...
-'z_ion_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_ion_error_upper',double(-9.0000000000000006360851714687e+40),...
-'z_n',double(-9.0000000000000006360851714687e+40),...
-'z_n_error_index',double(-999999999),...
-'z_n_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_n_error_upper',double(-9.0000000000000006360851714687e+40))
+'description','',...
+'index',int32(-999999999),...
+'name',''),...
+'z_ion',double(-9e+40),...
+'z_ion_error_index',int32(-999999999),...
+'z_ion_error_lower',double(-9e+40),...
+'z_ion_error_upper',double(-9e+40),...
+'z_n',double(-9e+40),...
+'z_n_error_index',int32(-999999999),...
+'z_n_error_lower',double(-9e+40),...
+'z_n_error_upper',double(-9e+40))
 ;}},...
 'ion_fast',{{struct(...
-'a',double(-9.0000000000000006360851714687e+40),...
-'a_error_index',double(-999999999),...
-'a_error_lower',double(-9.0000000000000006360851714687e+40),...
-'a_error_upper',double(-9.0000000000000006360851714687e+40),...
-'label',double([]),...
+'a',double(-9e+40),...
+'a_error_index',int32(-999999999),...
+'a_error_lower',double(-9e+40),...
+'a_error_upper',double(-9e+40),...
+'label','',...
 'radiance',struct(...
 'data',double([]),...
-'data_error_index',double(-999999999),...
+'data_error_index',int32(-999999999),...
 'data_error_lower',double([]),...
 'data_error_upper',double([]),...
 'time',double([])),...
 'radiance_spectral_method',struct(...
-'description',double([]),...
-'index',double(-999999999),...
-'name',double([])),...
-'transition_wavelength',double(-9.0000000000000006360851714687e+40),...
-'transition_wavelength_error_index',double(-999999999),...
-'transition_wavelength_error_lower',double(-9.0000000000000006360851714687e+40),...
-'transition_wavelength_error_upper',double(-9.0000000000000006360851714687e+40),...
-'z_ion',double(-9.0000000000000006360851714687e+40),...
-'z_ion_error_index',double(-999999999),...
-'z_ion_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_ion_error_upper',double(-9.0000000000000006360851714687e+40),...
-'z_n',double(-9.0000000000000006360851714687e+40),...
-'z_n_error_index',double(-999999999),...
-'z_n_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_n_error_upper',double(-9.0000000000000006360851714687e+40))
+'description','',...
+'index',int32(-999999999),...
+'name',''),...
+'transition_wavelength',double(-9e+40),...
+'transition_wavelength_error_index',int32(-999999999),...
+'transition_wavelength_error_lower',double(-9e+40),...
+'transition_wavelength_error_upper',double(-9e+40),...
+'z_ion',double(-9e+40),...
+'z_ion_error_index',int32(-999999999),...
+'z_ion_error_lower',double(-9e+40),...
+'z_ion_error_upper',double(-9e+40),...
+'z_n',double(-9e+40),...
+'z_n_error_index',int32(-999999999),...
+'z_n_error_lower',double(-9e+40),...
+'z_n_error_upper',double(-9e+40))
 ;}},...
 'momentum_tor',struct(...
 'data',double([]),...
-'data_error_index',double(-999999999),...
+'data_error_index',int32(-999999999),...
 'data_error_lower',double([]),...
 'data_error_upper',double([]),...
 'time',double([])),...
 'momentum_tor_method',struct(...
-'description',double([]),...
-'index',double(-999999999),...
-'name',double([])),...
-'name',double([]),...
+'description','',...
+'index',int32(-999999999),...
+'name',''),...
+'name','',...
 'position',struct(...
 'phi',struct(...
 'data',double([]),...
-'data_error_index',double(-999999999),...
+'data_error_index',int32(-999999999),...
 'data_error_lower',double([]),...
 'data_error_upper',double([]),...
 'time',double([])),...
 'r',struct(...
 'data',double([]),...
-'data_error_index',double(-999999999),...
+'data_error_index',int32(-999999999),...
 'data_error_lower',double([]),...
 'data_error_upper',double([]),...
 'time',double([])),...
 'z',struct(...
 'data',double([]),...
-'data_error_index',double(-999999999),...
+'data_error_index',int32(-999999999),...
 'data_error_lower',double([]),...
 'data_error_upper',double([]),...
 'time',double([]))),...
 'spectrum',{{struct(...
-'exposure_time',double(-9.0000000000000006360851714687e+40),...
-'exposure_time_error_index',double(-999999999),...
-'exposure_time_error_lower',double(-9.0000000000000006360851714687e+40),...
-'exposure_time_error_upper',double(-9.0000000000000006360851714687e+40),...
-'grating',double(-9.0000000000000006360851714687e+40),...
-'grating_error_index',double(-999999999),...
-'grating_error_lower',double(-9.0000000000000006360851714687e+40),...
-'grating_error_upper',double(-9.0000000000000006360851714687e+40),...
+'exposure_time',double(-9e+40),...
+'exposure_time_error_index',int32(-999999999),...
+'exposure_time_error_lower',double(-9e+40),...
+'exposure_time_error_upper',double(-9e+40),...
+'grating',double(-9e+40),...
+'grating_error_index',int32(-999999999),...
+'grating_error_lower',double(-9e+40),...
+'grating_error_upper',double(-9e+40),...
 'instrument_function',double([]),...
-'instrument_function_error_index',double(-999999999),...
+'instrument_function_error_index',int32(-999999999),...
 'instrument_function_error_lower',double([]),...
 'instrument_function_error_upper',double([]),...
 'intensity_spectrum',struct(...
 'data',double([]),...
-'data_error_index',double(-999999999),...
+'data_error_index',int32(-999999999),...
 'data_error_lower',double([]),...
 'data_error_upper',double([]),...
 'time',double([])),...
 'processed_line',{{struct(...
 'intensity',struct(...
 'data',double([]),...
-'data_error_index',double(-999999999),...
+'data_error_index',int32(-999999999),...
 'data_error_lower',double([]),...
 'data_error_upper',double([]),...
 'time',double([])),...
-'label',double([]),...
+'label','',...
 'radiance',struct(...
 'data',double([]),...
-'data_error_index',double(-999999999),...
+'data_error_index',int32(-999999999),...
 'data_error_lower',double([]),...
 'data_error_upper',double([]),...
 'time',double([])),...
 'shift',struct(...
 'data',double([]),...
-'data_error_index',double(-999999999),...
+'data_error_index',int32(-999999999),...
 'data_error_lower',double([]),...
 'data_error_upper',double([]),...
 'time',double([])),...
-'wavelength_central',double(-9.0000000000000006360851714687e+40),...
-'wavelength_central_error_index',double(-999999999),...
-'wavelength_central_error_lower',double(-9.0000000000000006360851714687e+40),...
-'wavelength_central_error_upper',double(-9.0000000000000006360851714687e+40),...
+'wavelength_central',double(-9e+40),...
+'wavelength_central_error_index',int32(-999999999),...
+'wavelength_central_error_lower',double(-9e+40),...
+'wavelength_central_error_upper',double(-9e+40),...
 'width',struct(...
 'data',double([]),...
-'data_error_index',double(-999999999),...
+'data_error_index',int32(-999999999),...
 'data_error_lower',double([]),...
 'data_error_upper',double([]),...
 'time',double([])))
 ;}},...
 'radiance_calibration',double([]),...
-'radiance_calibration_date',double([]),...
-'radiance_calibration_error_index',double(-999999999),...
+'radiance_calibration_date','',...
+'radiance_calibration_error_index',int32(-999999999),...
 'radiance_calibration_error_lower',double([]),...
 'radiance_calibration_error_upper',double([]),...
 'radiance_continuum',struct(...
 'data',double([]),...
-'data_error_index',double(-999999999),...
+'data_error_index',int32(-999999999),...
 'data_error_lower',double([]),...
 'data_error_upper',double([]),...
 'time',double([])),...
 'radiance_spectral',struct(...
 'data',double([]),...
-'data_error_index',double(-999999999),...
+'data_error_index',int32(-999999999),...
 'data_error_lower',double([]),...
 'data_error_upper',double([]),...
 'time',double([])),...
-'slit_width',double(-9.0000000000000006360851714687e+40),...
-'slit_width_error_index',double(-999999999),...
-'slit_width_error_lower',double(-9.0000000000000006360851714687e+40),...
-'slit_width_error_upper',double(-9.0000000000000006360851714687e+40),...
-'wavelength_calibration_date',double([]),...
+'slit_width',double(-9e+40),...
+'slit_width_error_index',int32(-999999999),...
+'slit_width_error_lower',double(-9e+40),...
+'slit_width_error_upper',double(-9e+40),...
+'wavelength_calibration_date','',...
 'wavelengths',double([]),...
-'wavelengths_error_index',double(-999999999),...
+'wavelengths_error_index',int32(-999999999),...
 'wavelengths_error_lower',double([]),...
 'wavelengths_error_upper',double([]))
 ;}},...
 't_i_average',struct(...
 'data',double([]),...
-'data_error_index',double(-999999999),...
+'data_error_index',int32(-999999999),...
 'data_error_lower',double([]),...
 'data_error_upper',double([]),...
 'time',double([])),...
 't_i_average_method',struct(...
-'description',double([]),...
-'index',double(-999999999),...
-'name',double([])),...
+'description','',...
+'index',int32(-999999999),...
+'name',''),...
 'zeff',struct(...
 'data',double([]),...
-'data_error_index',double(-999999999),...
+'data_error_index',int32(-999999999),...
 'data_error_lower',double([]),...
 'data_error_upper',double([]),...
 'time',double([])),...
 'zeff_line_average',struct(...
 'data',double([]),...
-'data_error_index',double(-999999999),...
+'data_error_index',int32(-999999999),...
 'data_error_lower',double([]),...
 'data_error_upper',double([]),...
 'time',double([])),...
 'zeff_line_average_method',struct(...
-'description',double([]),...
-'index',double(-999999999),...
-'name',double([])),...
+'description','',...
+'index',int32(-999999999),...
+'name',''),...
 'zeff_method',struct(...
-'description',double([]),...
-'index',double(-999999999),...
-'name',double([])))
+'description','',...
+'index',int32(-999999999),...
+'name',''))
 ;}},...
 'code',struct(...
-'commit',double([]),...
-'name',double([]),...
-'output_flag',double([]),...
-'parameters',double([]),...
-'repository',double([]),...
-'version',double([])),...
-'etendue',double(-9.0000000000000006360851714687e+40),...
-'etendue_error_index',double(-999999999),...
-'etendue_error_lower',double(-9.0000000000000006360851714687e+40),...
-'etendue_error_upper',double(-9.0000000000000006360851714687e+40),...
+'commit','',...
+'name','',...
+'output_flag',int32([]),...
+'parameters','',...
+'repository','',...
+'version',''),...
+'etendue',double(-9e+40),...
+'etendue_error_index',int32(-999999999),...
+'etendue_error_lower',double(-9e+40),...
+'etendue_error_upper',double(-9e+40),...
 'etendue_method',struct(...
-'description',double([]),...
-'index',double(-999999999),...
-'name',double([])),...
+'description','',...
+'index',int32(-999999999),...
+'name',''),...
 'ids_properties',struct(...
-'comment',double([]),...
-'creation_date',double([]),...
-'homogeneous_time',double(-999999999),...
-'provider',double([]),...
-'source',double([])),...
+'comment','',...
+'creation_date','',...
+'homogeneous_time',int32(-999999999),...
+'provider','',...
+'source','',...
+'version_put',struct(...
+'access_layer','',...
+'access_layer_language','',...
+'data_dictionary','')),...
 'time',double([]));
diff --git a/matlab/TCV_IMAS/ids_empty/ids_empty_coils_non_axisymmetric.m b/matlab/TCV_IMAS/ids_empty/ids_empty_coils_non_axisymmetric.m
index bffea18f7291c1d9e122d418e2b90d65a2e75e50..394e3a3d47acf20f342df61d52311a5f1de0507c 100644
--- a/matlab/TCV_IMAS/ids_empty/ids_empty_coils_non_axisymmetric.m
+++ b/matlab/TCV_IMAS/ids_empty/ids_empty_coils_non_axisymmetric.m
@@ -9,118 +9,122 @@ struct(...
 'conductor',{{struct(...
 'cross_section',struct(...
 'delta_phi',double([]),...
-'delta_phi_error_index',double(-999999999),...
+'delta_phi_error_index',int32(-999999999),...
 'delta_phi_error_lower',double([]),...
 'delta_phi_error_upper',double([]),...
 'delta_r',double([]),...
-'delta_r_error_index',double(-999999999),...
+'delta_r_error_index',int32(-999999999),...
 'delta_r_error_lower',double([]),...
 'delta_r_error_upper',double([]),...
 'delta_z',double([]),...
-'delta_z_error_index',double(-999999999),...
+'delta_z_error_index',int32(-999999999),...
 'delta_z_error_lower',double([]),...
 'delta_z_error_upper',double([])),...
 'current',struct(...
 'data',double([]),...
-'data_error_index',double(-999999999),...
+'data_error_index',int32(-999999999),...
 'data_error_lower',double([]),...
 'data_error_upper',double([]),...
 'time',double([])),...
 'elements',struct(...
 'centres',struct(...
 'phi',double([]),...
-'phi_error_index',double(-999999999),...
+'phi_error_index',int32(-999999999),...
 'phi_error_lower',double([]),...
 'phi_error_upper',double([]),...
 'r',double([]),...
-'r_error_index',double(-999999999),...
+'r_error_index',int32(-999999999),...
 'r_error_lower',double([]),...
 'r_error_upper',double([]),...
 'z',double([]),...
-'z_error_index',double(-999999999),...
+'z_error_index',int32(-999999999),...
 'z_error_lower',double([]),...
 'z_error_upper',double([])),...
 'end_points',struct(...
 'phi',double([]),...
-'phi_error_index',double(-999999999),...
+'phi_error_index',int32(-999999999),...
 'phi_error_lower',double([]),...
 'phi_error_upper',double([]),...
 'r',double([]),...
-'r_error_index',double(-999999999),...
+'r_error_index',int32(-999999999),...
 'r_error_lower',double([]),...
 'r_error_upper',double([]),...
 'z',double([]),...
-'z_error_index',double(-999999999),...
+'z_error_index',int32(-999999999),...
 'z_error_lower',double([]),...
 'z_error_upper',double([])),...
 'intermediate_points',struct(...
 'phi',double([]),...
-'phi_error_index',double(-999999999),...
+'phi_error_index',int32(-999999999),...
 'phi_error_lower',double([]),...
 'phi_error_upper',double([]),...
 'r',double([]),...
-'r_error_index',double(-999999999),...
+'r_error_index',int32(-999999999),...
 'r_error_lower',double([]),...
 'r_error_upper',double([]),...
 'z',double([]),...
-'z_error_index',double(-999999999),...
+'z_error_index',int32(-999999999),...
 'z_error_lower',double([]),...
 'z_error_upper',double([])),...
-'names',{{double([]);}},...
+'names',{{}},...
 'start_points',struct(...
 'phi',double([]),...
-'phi_error_index',double(-999999999),...
+'phi_error_index',int32(-999999999),...
 'phi_error_lower',double([]),...
 'phi_error_upper',double([]),...
 'r',double([]),...
-'r_error_index',double(-999999999),...
+'r_error_index',int32(-999999999),...
 'r_error_lower',double([]),...
 'r_error_upper',double([]),...
 'z',double([]),...
-'z_error_index',double(-999999999),...
+'z_error_index',int32(-999999999),...
 'z_error_lower',double([]),...
 'z_error_upper',double([])),...
-'types',double([])),...
-'resistance',double(-9.0000000000000006360851714687e+40),...
-'resistance_error_index',double(-999999999),...
-'resistance_error_lower',double(-9.0000000000000006360851714687e+40),...
-'resistance_error_upper',double(-9.0000000000000006360851714687e+40),...
+'types',int32([])),...
+'resistance',double(-9e+40),...
+'resistance_error_index',int32(-999999999),...
+'resistance_error_lower',double(-9e+40),...
+'resistance_error_upper',double(-9e+40),...
 'voltage',struct(...
 'data',double([]),...
-'data_error_index',double(-999999999),...
+'data_error_index',int32(-999999999),...
 'data_error_lower',double([]),...
 'data_error_upper',double([]),...
 'time',double([])))
 ;}},...
 'current',struct(...
 'data',double([]),...
-'data_error_index',double(-999999999),...
+'data_error_index',int32(-999999999),...
 'data_error_lower',double([]),...
 'data_error_upper',double([]),...
 'time',double([])),...
-'identifier',double([]),...
-'name',double([]),...
-'resistance',double(-9.0000000000000006360851714687e+40),...
-'resistance_error_index',double(-999999999),...
-'resistance_error_lower',double(-9.0000000000000006360851714687e+40),...
-'resistance_error_upper',double(-9.0000000000000006360851714687e+40),...
-'turns',double(-9.0000000000000006360851714687e+40),...
-'turns_error_index',double(-999999999),...
-'turns_error_lower',double(-9.0000000000000006360851714687e+40),...
-'turns_error_upper',double(-9.0000000000000006360851714687e+40),...
+'identifier','',...
+'name','',...
+'resistance',double(-9e+40),...
+'resistance_error_index',int32(-999999999),...
+'resistance_error_lower',double(-9e+40),...
+'resistance_error_upper',double(-9e+40),...
+'turns',double(-9e+40),...
+'turns_error_index',int32(-999999999),...
+'turns_error_lower',double(-9e+40),...
+'turns_error_upper',double(-9e+40),...
 'voltage',struct(...
 'data',double([]),...
-'data_error_index',double(-999999999),...
+'data_error_index',int32(-999999999),...
 'data_error_lower',double([]),...
 'data_error_upper',double([]),...
 'time',double([])))
 ;}},...
-'coils_n',double(-999999999),...
+'coils_n',int32(-999999999),...
 'ids_properties',struct(...
-'comment',double([]),...
-'creation_date',double([]),...
-'homogeneous_time',double(-999999999),...
-'provider',double([]),...
-'source',double([])),...
-'is_periodic',double(-999999999),...
+'comment','',...
+'creation_date','',...
+'homogeneous_time',int32(-999999999),...
+'provider','',...
+'source','',...
+'version_put',struct(...
+'access_layer','',...
+'access_layer_language','',...
+'data_dictionary','')),...
+'is_periodic',int32(-999999999),...
 'time',double([]));
diff --git a/matlab/TCV_IMAS/ids_empty/ids_empty_controllers.m b/matlab/TCV_IMAS/ids_empty/ids_empty_controllers.m
index 3a7b9a4a80778618cb08be31e6ba1e6dfa732411..f61bd674f868bc664335d3cf5eb3d7f23c983f1f 100644
--- a/matlab/TCV_IMAS/ids_empty/ids_empty_controllers.m
+++ b/matlab/TCV_IMAS/ids_empty/ids_empty_controllers.m
@@ -6,110 +6,114 @@ function S = ids_empty_controllers
 S = ... 
 struct(...
 'code',struct(...
-'commit',double([]),...
-'name',double([]),...
-'output_flag',double([]),...
-'parameters',double([]),...
-'repository',double([]),...
-'version',double([])),...
+'commit','',...
+'name','',...
+'output_flag',int32([]),...
+'parameters','',...
+'repository','',...
+'version',''),...
 'ids_properties',struct(...
-'comment',double([]),...
-'creation_date',double([]),...
-'homogeneous_time',double(-999999999),...
-'provider',double([]),...
-'source',double([])),...
+'comment','',...
+'creation_date','',...
+'homogeneous_time',int32(-999999999),...
+'provider','',...
+'source','',...
+'version_put',struct(...
+'access_layer','',...
+'access_layer_language','',...
+'data_dictionary','')),...
 'linear_controller',{{struct(...
-'controller_class',double([]),...
-'description',double([]),...
-'input_names',{{double([]);}},...
+'controller_class','',...
+'description','',...
+'input_names',{{}},...
 'inputs',struct(...
 'data',double([]),...
-'data_error_index',double(-999999999),...
+'data_error_index',int32(-999999999),...
 'data_error_lower',double([]),...
 'data_error_upper',double([]),...
 'time',double([])),...
-'name',double([]),...
-'output_names',{{double([]);}},...
+'name','',...
+'output_names',{{}},...
 'outputs',struct(...
 'data',double([]),...
-'data_error_index',double(-999999999),...
+'data_error_index',int32(-999999999),...
 'data_error_lower',double([]),...
 'data_error_upper',double([]),...
 'time',double([])),...
 'pid',struct(...
 'd',struct(...
 'data',double([]),...
-'data_error_index',double(-999999999),...
+'data_error_index',int32(-999999999),...
 'data_error_lower',double([]),...
 'data_error_upper',double([]),...
 'time',double([])),...
 'i',struct(...
 'data',double([]),...
-'data_error_index',double(-999999999),...
+'data_error_index',int32(-999999999),...
 'data_error_lower',double([]),...
 'data_error_upper',double([]),...
 'time',double([])),...
 'p',struct(...
 'data',double([]),...
-'data_error_index',double(-999999999),...
+'data_error_index',int32(-999999999),...
 'data_error_lower',double([]),...
 'data_error_upper',double([]),...
 'time',double([])),...
 'tau',struct(...
 'data',double([]),...
-'data_error_index',double(-999999999),...
+'data_error_index',int32(-999999999),...
 'data_error_lower',double([]),...
 'data_error_upper',double([]),...
 'time',double([]))),...
 'statespace',struct(...
 'a',struct(...
 'data',double([]),...
-'data_error_index',double(-999999999),...
+'data_error_index',int32(-999999999),...
 'data_error_lower',double([]),...
 'data_error_upper',double([]),...
 'time',double([])),...
 'b',struct(...
 'data',double([]),...
-'data_error_index',double(-999999999),...
+'data_error_index',int32(-999999999),...
 'data_error_lower',double([]),...
 'data_error_upper',double([]),...
 'time',double([])),...
 'c',struct(...
 'data',double([]),...
-'data_error_index',double(-999999999),...
+'data_error_index',int32(-999999999),...
 'data_error_lower',double([]),...
 'data_error_upper',double([]),...
 'time',double([])),...
 'd',struct(...
 'data',double([]),...
-'data_error_index',double(-999999999),...
+'data_error_index',int32(-999999999),...
 'data_error_lower',double([]),...
 'data_error_upper',double([]),...
 'time',double([])),...
 'deltat',struct(...
 'data',double([]),...
-'data_error_index',double(-999999999),...
+'data_error_index',int32(-999999999),...
 'data_error_lower',double([]),...
 'data_error_upper',double([]),...
 'time',double([])),...
-'state_names',{{double([]);}}))
+'state_names',{{}}))
 ;}},...
 'nonlinear_controller',{{struct(...
-'controller_class',double([]),...
-'description',double([]),...
-'function',double([]),...
-'input_names',{{double([]);}},...
+'controller_class','',...
+'description','',...
+'function','',...
+'input_names',{{}},...
 'inputs',struct(...
 'data',double([]),...
-'data_error_index',double(-999999999),...
+'data_error_index',int32(-999999999),...
 'data_error_lower',double([]),...
 'data_error_upper',double([]),...
 'time',double([])),...
-'name',double([]),...
-'output_names',{{double([]);}},...
+'name','',...
+'output_names',{{}},...
 'outputs',struct(...
 'data',double([]),...
-'data_error_index',double(-999999999),...
+'data_error_index',int32(-999999999),...
 'data_error_lower',double([]),...
 'data_error_upper',double([]),...
 'time',double([])))
diff --git a/matlab/TCV_IMAS/ids_empty/ids_empty_core_instant_changes.m b/matlab/TCV_IMAS/ids_empty/ids_empty_core_instant_changes.m
index 1649bf8eea3117327e6704f418d7d56910357b4e..abf6f572196f2c2a96a57c874e83ea3a050781b1 100644
--- a/matlab/TCV_IMAS/ids_empty/ids_empty_core_instant_changes.m
+++ b/matlab/TCV_IMAS/ids_empty/ids_empty_core_instant_changes.m
@@ -7,767 +7,827 @@ S = ...
 struct(...
 'change',{{struct(...
 'identifier',struct(...
-'description',double([]),...
-'index',double(-999999999),...
-'name',double([])),...
+'description','',...
+'index',int32(-999999999),...
+'name',''),...
 'profiles_1d',{{struct(...
 'conductivity_parallel',double([]),...
-'conductivity_parallel_error_index',double(-999999999),...
+'conductivity_parallel_error_index',int32(-999999999),...
 'conductivity_parallel_error_lower',double([]),...
 'conductivity_parallel_error_upper',double([]),...
 'current_parallel_inside',double([]),...
-'current_parallel_inside_error_index',double(-999999999),...
+'current_parallel_inside_error_index',int32(-999999999),...
 'current_parallel_inside_error_lower',double([]),...
 'current_parallel_inside_error_upper',double([]),...
 'e_field',struct(...
 'diamagnetic',double([]),...
-'diamagnetic_error_index',double(-999999999),...
+'diamagnetic_error_index',int32(-999999999),...
 'diamagnetic_error_lower',double([]),...
 'diamagnetic_error_upper',double([]),...
 'parallel',double([]),...
-'parallel_error_index',double(-999999999),...
+'parallel_error_index',int32(-999999999),...
 'parallel_error_lower',double([]),...
 'parallel_error_upper',double([]),...
 'poloidal',double([]),...
-'poloidal_error_index',double(-999999999),...
+'poloidal_error_index',int32(-999999999),...
 'poloidal_error_lower',double([]),...
 'poloidal_error_upper',double([]),...
 'radial',double([]),...
-'radial_error_index',double(-999999999),...
+'radial_error_index',int32(-999999999),...
 'radial_error_lower',double([]),...
 'radial_error_upper',double([]),...
 'toroidal',double([]),...
-'toroidal_error_index',double(-999999999),...
+'toroidal_error_index',int32(-999999999),...
 'toroidal_error_lower',double([]),...
 'toroidal_error_upper',double([])),...
 'e_field_parallel',double([]),...
-'e_field_parallel_error_index',double(-999999999),...
+'e_field_parallel_error_index',int32(-999999999),...
 'e_field_parallel_error_lower',double([]),...
 'e_field_parallel_error_upper',double([]),...
 'electrons',struct(...
 'collisionality_norm',double([]),...
-'collisionality_norm_error_index',double(-999999999),...
+'collisionality_norm_error_index',int32(-999999999),...
 'collisionality_norm_error_lower',double([]),...
 'collisionality_norm_error_upper',double([]),...
 'density',double([]),...
-'density_error_index',double(-999999999),...
+'density_error_index',int32(-999999999),...
 'density_error_lower',double([]),...
 'density_error_upper',double([]),...
 'density_fast',double([]),...
-'density_fast_error_index',double(-999999999),...
+'density_fast_error_index',int32(-999999999),...
 'density_fast_error_lower',double([]),...
 'density_fast_error_upper',double([]),...
 'density_fit',struct(...
 'chi_squared',double([]),...
-'chi_squared_error_index',double(-999999999),...
+'chi_squared_error_index',int32(-999999999),...
 'chi_squared_error_lower',double([]),...
 'chi_squared_error_upper',double([]),...
-'local',double([]),...
+'local',int32([]),...
 'measured',double([]),...
-'measured_error_index',double(-999999999),...
+'measured_error_index',int32(-999999999),...
 'measured_error_lower',double([]),...
 'measured_error_upper',double([]),...
-'parameters',double([]),...
+'parameters','',...
 'reconstructed',double([]),...
-'reconstructed_error_index',double(-999999999),...
+'reconstructed_error_index',int32(-999999999),...
 'reconstructed_error_lower',double([]),...
 'reconstructed_error_upper',double([]),...
 'rho_tor_norm',double([]),...
-'rho_tor_norm_error_index',double(-999999999),...
+'rho_tor_norm_error_index',int32(-999999999),...
 'rho_tor_norm_error_lower',double([]),...
 'rho_tor_norm_error_upper',double([]),...
-'source',{{double([]);}},...
+'source',{{}},...
 'time_measurement',double([]),...
-'time_measurement_error_index',double(-999999999),...
+'time_measurement_error_index',int32(-999999999),...
 'time_measurement_error_lower',double([]),...
 'time_measurement_error_upper',double([]),...
 'time_measurement_slice_method',struct(...
-'description',double([]),...
-'index',double(-999999999),...
-'name',double([])),...
+'description','',...
+'index',int32(-999999999),...
+'name',''),...
 'time_measurement_width',double([]),...
-'time_measurement_width_error_index',double(-999999999),...
+'time_measurement_width_error_index',int32(-999999999),...
 'time_measurement_width_error_lower',double([]),...
 'time_measurement_width_error_upper',double([]),...
 'weight',double([]),...
-'weight_error_index',double(-999999999),...
+'weight_error_index',int32(-999999999),...
 'weight_error_lower',double([]),...
 'weight_error_upper',double([])),...
 'density_thermal',double([]),...
-'density_thermal_error_index',double(-999999999),...
+'density_thermal_error_index',int32(-999999999),...
 'density_thermal_error_lower',double([]),...
 'density_thermal_error_upper',double([]),...
-'density_validity',double(-999999999),...
+'density_validity',int32(-999999999),...
 'pressure',double([]),...
-'pressure_error_index',double(-999999999),...
+'pressure_error_index',int32(-999999999),...
 'pressure_error_lower',double([]),...
 'pressure_error_upper',double([]),...
 'pressure_fast_parallel',double([]),...
-'pressure_fast_parallel_error_index',double(-999999999),...
+'pressure_fast_parallel_error_index',int32(-999999999),...
 'pressure_fast_parallel_error_lower',double([]),...
 'pressure_fast_parallel_error_upper',double([]),...
 'pressure_fast_perpendicular',double([]),...
-'pressure_fast_perpendicular_error_index',double(-999999999),...
+'pressure_fast_perpendicular_error_index',int32(-999999999),...
 'pressure_fast_perpendicular_error_lower',double([]),...
 'pressure_fast_perpendicular_error_upper',double([]),...
 'pressure_thermal',double([]),...
-'pressure_thermal_error_index',double(-999999999),...
+'pressure_thermal_error_index',int32(-999999999),...
 'pressure_thermal_error_lower',double([]),...
 'pressure_thermal_error_upper',double([]),...
 'temperature',double([]),...
-'temperature_error_index',double(-999999999),...
+'temperature_error_index',int32(-999999999),...
 'temperature_error_lower',double([]),...
 'temperature_error_upper',double([]),...
 'temperature_fit',struct(...
 'chi_squared',double([]),...
-'chi_squared_error_index',double(-999999999),...
+'chi_squared_error_index',int32(-999999999),...
 'chi_squared_error_lower',double([]),...
 'chi_squared_error_upper',double([]),...
-'local',double([]),...
+'local',int32([]),...
 'measured',double([]),...
-'measured_error_index',double(-999999999),...
+'measured_error_index',int32(-999999999),...
 'measured_error_lower',double([]),...
 'measured_error_upper',double([]),...
-'parameters',double([]),...
+'parameters','',...
 'reconstructed',double([]),...
-'reconstructed_error_index',double(-999999999),...
+'reconstructed_error_index',int32(-999999999),...
 'reconstructed_error_lower',double([]),...
 'reconstructed_error_upper',double([]),...
 'rho_tor_norm',double([]),...
-'rho_tor_norm_error_index',double(-999999999),...
+'rho_tor_norm_error_index',int32(-999999999),...
 'rho_tor_norm_error_lower',double([]),...
 'rho_tor_norm_error_upper',double([]),...
-'source',{{double([]);}},...
+'source',{{}},...
 'time_measurement',double([]),...
-'time_measurement_error_index',double(-999999999),...
+'time_measurement_error_index',int32(-999999999),...
 'time_measurement_error_lower',double([]),...
 'time_measurement_error_upper',double([]),...
 'time_measurement_slice_method',struct(...
-'description',double([]),...
-'index',double(-999999999),...
-'name',double([])),...
+'description','',...
+'index',int32(-999999999),...
+'name',''),...
 'time_measurement_width',double([]),...
-'time_measurement_width_error_index',double(-999999999),...
+'time_measurement_width_error_index',int32(-999999999),...
 'time_measurement_width_error_lower',double([]),...
 'time_measurement_width_error_upper',double([]),...
 'weight',double([]),...
-'weight_error_index',double(-999999999),...
+'weight_error_index',int32(-999999999),...
 'weight_error_lower',double([]),...
 'weight_error_upper',double([])),...
-'temperature_validity',double(-999999999),...
+'temperature_validity',int32(-999999999),...
 'velocity',struct(...
 'diamagnetic',double([]),...
-'diamagnetic_error_index',double(-999999999),...
+'diamagnetic_error_index',int32(-999999999),...
 'diamagnetic_error_lower',double([]),...
 'diamagnetic_error_upper',double([]),...
 'parallel',double([]),...
-'parallel_error_index',double(-999999999),...
+'parallel_error_index',int32(-999999999),...
 'parallel_error_lower',double([]),...
 'parallel_error_upper',double([]),...
 'poloidal',double([]),...
-'poloidal_error_index',double(-999999999),...
+'poloidal_error_index',int32(-999999999),...
 'poloidal_error_lower',double([]),...
 'poloidal_error_upper',double([]),...
 'radial',double([]),...
-'radial_error_index',double(-999999999),...
+'radial_error_index',int32(-999999999),...
 'radial_error_lower',double([]),...
 'radial_error_upper',double([]),...
 'toroidal',double([]),...
-'toroidal_error_index',double(-999999999),...
+'toroidal_error_index',int32(-999999999),...
 'toroidal_error_lower',double([]),...
 'toroidal_error_upper',double([])),...
 'velocity_pol',double([]),...
-'velocity_pol_error_index',double(-999999999),...
+'velocity_pol_error_index',int32(-999999999),...
 'velocity_pol_error_lower',double([]),...
 'velocity_pol_error_upper',double([]),...
 'velocity_tor',double([]),...
-'velocity_tor_error_index',double(-999999999),...
+'velocity_tor_error_index',int32(-999999999),...
 'velocity_tor_error_lower',double([]),...
 'velocity_tor_error_upper',double([])),...
 'grid',struct(...
 'area',double([]),...
-'area_error_index',double(-999999999),...
+'area_error_index',int32(-999999999),...
 'area_error_lower',double([]),...
 'area_error_upper',double([]),...
 'psi',double([]),...
-'psi_error_index',double(-999999999),...
+'psi_boundary',double(-9e+40),...
+'psi_boundary_error_index',int32(-999999999),...
+'psi_boundary_error_lower',double(-9e+40),...
+'psi_boundary_error_upper',double(-9e+40),...
+'psi_error_index',int32(-999999999),...
 'psi_error_lower',double([]),...
 'psi_error_upper',double([]),...
+'psi_magnetic_axis',double(-9e+40),...
+'psi_magnetic_axis_error_index',int32(-999999999),...
+'psi_magnetic_axis_error_lower',double(-9e+40),...
+'psi_magnetic_axis_error_upper',double(-9e+40),...
+'rho_pol_norm',double([]),...
+'rho_pol_norm_error_index',int32(-999999999),...
+'rho_pol_norm_error_lower',double([]),...
+'rho_pol_norm_error_upper',double([]),...
 'rho_tor',double([]),...
-'rho_tor_error_index',double(-999999999),...
+'rho_tor_error_index',int32(-999999999),...
 'rho_tor_error_lower',double([]),...
 'rho_tor_error_upper',double([]),...
 'rho_tor_norm',double([]),...
-'rho_tor_norm_error_index',double(-999999999),...
+'rho_tor_norm_error_index',int32(-999999999),...
 'rho_tor_norm_error_lower',double([]),...
 'rho_tor_norm_error_upper',double([]),...
 'volume',double([]),...
-'volume_error_index',double(-999999999),...
+'volume_error_index',int32(-999999999),...
 'volume_error_lower',double([]),...
 'volume_error_upper',double([])),...
 'ion',{{struct(...
 'density',double([]),...
-'density_error_index',double(-999999999),...
+'density_error_index',int32(-999999999),...
 'density_error_lower',double([]),...
 'density_error_upper',double([]),...
 'density_fast',double([]),...
-'density_fast_error_index',double(-999999999),...
+'density_fast_error_index',int32(-999999999),...
 'density_fast_error_lower',double([]),...
 'density_fast_error_upper',double([]),...
 'density_fit',struct(...
 'chi_squared',double([]),...
-'chi_squared_error_index',double(-999999999),...
+'chi_squared_error_index',int32(-999999999),...
 'chi_squared_error_lower',double([]),...
 'chi_squared_error_upper',double([]),...
-'local',double([]),...
+'local',int32([]),...
 'measured',double([]),...
-'measured_error_index',double(-999999999),...
+'measured_error_index',int32(-999999999),...
 'measured_error_lower',double([]),...
 'measured_error_upper',double([]),...
-'parameters',double([]),...
+'parameters','',...
 'reconstructed',double([]),...
-'reconstructed_error_index',double(-999999999),...
+'reconstructed_error_index',int32(-999999999),...
 'reconstructed_error_lower',double([]),...
 'reconstructed_error_upper',double([]),...
 'rho_tor_norm',double([]),...
-'rho_tor_norm_error_index',double(-999999999),...
+'rho_tor_norm_error_index',int32(-999999999),...
 'rho_tor_norm_error_lower',double([]),...
 'rho_tor_norm_error_upper',double([]),...
-'source',{{double([]);}},...
+'source',{{}},...
 'time_measurement',double([]),...
-'time_measurement_error_index',double(-999999999),...
+'time_measurement_error_index',int32(-999999999),...
 'time_measurement_error_lower',double([]),...
 'time_measurement_error_upper',double([]),...
 'time_measurement_slice_method',struct(...
-'description',double([]),...
-'index',double(-999999999),...
-'name',double([])),...
+'description','',...
+'index',int32(-999999999),...
+'name',''),...
 'time_measurement_width',double([]),...
-'time_measurement_width_error_index',double(-999999999),...
+'time_measurement_width_error_index',int32(-999999999),...
 'time_measurement_width_error_lower',double([]),...
 'time_measurement_width_error_upper',double([]),...
 'weight',double([]),...
-'weight_error_index',double(-999999999),...
+'weight_error_index',int32(-999999999),...
 'weight_error_lower',double([]),...
 'weight_error_upper',double([])),...
 'density_thermal',double([]),...
-'density_thermal_error_index',double(-999999999),...
+'density_thermal_error_index',int32(-999999999),...
 'density_thermal_error_lower',double([]),...
 'density_thermal_error_upper',double([]),...
-'density_validity',double(-999999999),...
+'density_validity',int32(-999999999),...
 'element',{{struct(...
-'a',double(-9.0000000000000006360851714687e+40),...
-'a_error_index',double(-999999999),...
-'a_error_lower',double(-9.0000000000000006360851714687e+40),...
-'a_error_upper',double(-9.0000000000000006360851714687e+40),...
-'atoms_n',double(-999999999),...
-'multiplicity',double(-9.0000000000000006360851714687e+40),...
-'multiplicity_error_index',double(-999999999),...
-'multiplicity_error_lower',double(-9.0000000000000006360851714687e+40),...
-'multiplicity_error_upper',double(-9.0000000000000006360851714687e+40),...
-'z_n',double(-9.0000000000000006360851714687e+40),...
-'z_n_error_index',double(-999999999),...
-'z_n_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_n_error_upper',double(-9.0000000000000006360851714687e+40))
+'a',double(-9e+40),...
+'a_error_index',int32(-999999999),...
+'a_error_lower',double(-9e+40),...
+'a_error_upper',double(-9e+40),...
+'atoms_n',int32(-999999999),...
+'multiplicity',double(-9e+40),...
+'multiplicity_error_index',int32(-999999999),...
+'multiplicity_error_lower',double(-9e+40),...
+'multiplicity_error_upper',double(-9e+40),...
+'z_n',double(-9e+40),...
+'z_n_error_index',int32(-999999999),...
+'z_n_error_lower',double(-9e+40),...
+'z_n_error_upper',double(-9e+40))
 ;}},...
-'label',double([]),...
-'multiple_states_flag',double(-999999999),...
-'neutral_index',double(-999999999),...
+'label','',...
+'multiple_states_flag',int32(-999999999),...
+'neutral_index',int32(-999999999),...
 'pressure',double([]),...
-'pressure_error_index',double(-999999999),...
+'pressure_error_index',int32(-999999999),...
 'pressure_error_lower',double([]),...
 'pressure_error_upper',double([]),...
 'pressure_fast_parallel',double([]),...
-'pressure_fast_parallel_error_index',double(-999999999),...
+'pressure_fast_parallel_error_index',int32(-999999999),...
 'pressure_fast_parallel_error_lower',double([]),...
 'pressure_fast_parallel_error_upper',double([]),...
 'pressure_fast_perpendicular',double([]),...
-'pressure_fast_perpendicular_error_index',double(-999999999),...
+'pressure_fast_perpendicular_error_index',int32(-999999999),...
 'pressure_fast_perpendicular_error_lower',double([]),...
 'pressure_fast_perpendicular_error_upper',double([]),...
 'pressure_thermal',double([]),...
-'pressure_thermal_error_index',double(-999999999),...
+'pressure_thermal_error_index',int32(-999999999),...
 'pressure_thermal_error_lower',double([]),...
 'pressure_thermal_error_upper',double([]),...
 'rotation_frequency_tor',double([]),...
-'rotation_frequency_tor_error_index',double(-999999999),...
+'rotation_frequency_tor_error_index',int32(-999999999),...
 'rotation_frequency_tor_error_lower',double([]),...
 'rotation_frequency_tor_error_upper',double([]),...
 'state',{{struct(...
 'density',double([]),...
-'density_error_index',double(-999999999),...
+'density_error_index',int32(-999999999),...
 'density_error_lower',double([]),...
 'density_error_upper',double([]),...
 'density_fast',double([]),...
-'density_fast_error_index',double(-999999999),...
+'density_fast_error_index',int32(-999999999),...
 'density_fast_error_lower',double([]),...
 'density_fast_error_upper',double([]),...
 'density_fit',struct(...
 'chi_squared',double([]),...
-'chi_squared_error_index',double(-999999999),...
+'chi_squared_error_index',int32(-999999999),...
 'chi_squared_error_lower',double([]),...
 'chi_squared_error_upper',double([]),...
-'local',double([]),...
+'local',int32([]),...
 'measured',double([]),...
-'measured_error_index',double(-999999999),...
+'measured_error_index',int32(-999999999),...
 'measured_error_lower',double([]),...
 'measured_error_upper',double([]),...
-'parameters',double([]),...
+'parameters','',...
 'reconstructed',double([]),...
-'reconstructed_error_index',double(-999999999),...
+'reconstructed_error_index',int32(-999999999),...
 'reconstructed_error_lower',double([]),...
 'reconstructed_error_upper',double([]),...
 'rho_tor_norm',double([]),...
-'rho_tor_norm_error_index',double(-999999999),...
+'rho_tor_norm_error_index',int32(-999999999),...
 'rho_tor_norm_error_lower',double([]),...
 'rho_tor_norm_error_upper',double([]),...
-'source',{{double([]);}},...
+'source',{{}},...
 'time_measurement',double([]),...
-'time_measurement_error_index',double(-999999999),...
+'time_measurement_error_index',int32(-999999999),...
 'time_measurement_error_lower',double([]),...
 'time_measurement_error_upper',double([]),...
 'time_measurement_slice_method',struct(...
-'description',double([]),...
-'index',double(-999999999),...
-'name',double([])),...
+'description','',...
+'index',int32(-999999999),...
+'name',''),...
 'time_measurement_width',double([]),...
-'time_measurement_width_error_index',double(-999999999),...
+'time_measurement_width_error_index',int32(-999999999),...
 'time_measurement_width_error_lower',double([]),...
 'time_measurement_width_error_upper',double([]),...
 'weight',double([]),...
-'weight_error_index',double(-999999999),...
+'weight_error_index',int32(-999999999),...
 'weight_error_lower',double([]),...
 'weight_error_upper',double([])),...
 'density_thermal',double([]),...
-'density_thermal_error_index',double(-999999999),...
+'density_thermal_error_index',int32(-999999999),...
 'density_thermal_error_lower',double([]),...
 'density_thermal_error_upper',double([]),...
-'electron_configuration',double([]),...
-'ionisation_potential',double(-9.0000000000000006360851714687e+40),...
-'ionisation_potential_error_index',double(-999999999),...
-'ionisation_potential_error_lower',double(-9.0000000000000006360851714687e+40),...
-'ionisation_potential_error_upper',double(-9.0000000000000006360851714687e+40),...
-'label',double([]),...
+'electron_configuration','',...
+'ionisation_potential',double(-9e+40),...
+'ionisation_potential_error_index',int32(-999999999),...
+'ionisation_potential_error_lower',double(-9e+40),...
+'ionisation_potential_error_upper',double(-9e+40),...
+'label','',...
 'pressure',double([]),...
-'pressure_error_index',double(-999999999),...
+'pressure_error_index',int32(-999999999),...
 'pressure_error_lower',double([]),...
 'pressure_error_upper',double([]),...
 'pressure_fast_parallel',double([]),...
-'pressure_fast_parallel_error_index',double(-999999999),...
+'pressure_fast_parallel_error_index',int32(-999999999),...
 'pressure_fast_parallel_error_lower',double([]),...
 'pressure_fast_parallel_error_upper',double([]),...
 'pressure_fast_perpendicular',double([]),...
-'pressure_fast_perpendicular_error_index',double(-999999999),...
+'pressure_fast_perpendicular_error_index',int32(-999999999),...
 'pressure_fast_perpendicular_error_lower',double([]),...
 'pressure_fast_perpendicular_error_upper',double([]),...
 'pressure_thermal',double([]),...
-'pressure_thermal_error_index',double(-999999999),...
+'pressure_thermal_error_index',int32(-999999999),...
 'pressure_thermal_error_lower',double([]),...
 'pressure_thermal_error_upper',double([]),...
 'rotation_frequency_tor',double([]),...
-'rotation_frequency_tor_error_index',double(-999999999),...
+'rotation_frequency_tor_error_index',int32(-999999999),...
 'rotation_frequency_tor_error_lower',double([]),...
 'rotation_frequency_tor_error_upper',double([]),...
 'temperature',double([]),...
-'temperature_error_index',double(-999999999),...
+'temperature_error_index',int32(-999999999),...
 'temperature_error_lower',double([]),...
 'temperature_error_upper',double([]),...
 'velocity',struct(...
 'diamagnetic',double([]),...
-'diamagnetic_error_index',double(-999999999),...
+'diamagnetic_error_index',int32(-999999999),...
 'diamagnetic_error_lower',double([]),...
 'diamagnetic_error_upper',double([]),...
 'parallel',double([]),...
-'parallel_error_index',double(-999999999),...
+'parallel_error_index',int32(-999999999),...
 'parallel_error_lower',double([]),...
 'parallel_error_upper',double([]),...
 'poloidal',double([]),...
-'poloidal_error_index',double(-999999999),...
+'poloidal_error_index',int32(-999999999),...
 'poloidal_error_lower',double([]),...
 'poloidal_error_upper',double([]),...
 'radial',double([]),...
-'radial_error_index',double(-999999999),...
+'radial_error_index',int32(-999999999),...
 'radial_error_lower',double([]),...
 'radial_error_upper',double([]),...
 'toroidal',double([]),...
-'toroidal_error_index',double(-999999999),...
+'toroidal_error_index',int32(-999999999),...
 'toroidal_error_lower',double([]),...
 'toroidal_error_upper',double([])),...
-'vibrational_level',double(-9.0000000000000006360851714687e+40),...
-'vibrational_level_error_index',double(-999999999),...
-'vibrational_level_error_lower',double(-9.0000000000000006360851714687e+40),...
-'vibrational_level_error_upper',double(-9.0000000000000006360851714687e+40),...
-'vibrational_mode',double([]),...
-'z_average',double(-9.0000000000000006360851714687e+40),...
+'vibrational_level',double(-9e+40),...
+'vibrational_level_error_index',int32(-999999999),...
+'vibrational_level_error_lower',double(-9e+40),...
+'vibrational_level_error_upper',double(-9e+40),...
+'vibrational_mode','',...
+'z_average',double(-9e+40),...
 'z_average_1d',double([]),...
-'z_average_1d_error_index',double(-999999999),...
+'z_average_1d_error_index',int32(-999999999),...
 'z_average_1d_error_lower',double([]),...
 'z_average_1d_error_upper',double([]),...
-'z_average_error_index',double(-999999999),...
-'z_average_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_average_error_upper',double(-9.0000000000000006360851714687e+40),...
+'z_average_error_index',int32(-999999999),...
+'z_average_error_lower',double(-9e+40),...
+'z_average_error_upper',double(-9e+40),...
 'z_average_square_1d',double([]),...
-'z_average_square_1d_error_index',double(-999999999),...
+'z_average_square_1d_error_index',int32(-999999999),...
 'z_average_square_1d_error_lower',double([]),...
 'z_average_square_1d_error_upper',double([]),...
-'z_max',double(-9.0000000000000006360851714687e+40),...
-'z_max_error_index',double(-999999999),...
-'z_max_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_max_error_upper',double(-9.0000000000000006360851714687e+40),...
-'z_min',double(-9.0000000000000006360851714687e+40),...
-'z_min_error_index',double(-999999999),...
-'z_min_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_min_error_upper',double(-9.0000000000000006360851714687e+40),...
-'z_square_average',double(-9.0000000000000006360851714687e+40),...
-'z_square_average_error_index',double(-999999999),...
-'z_square_average_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_square_average_error_upper',double(-9.0000000000000006360851714687e+40))
+'z_max',double(-9e+40),...
+'z_max_error_index',int32(-999999999),...
+'z_max_error_lower',double(-9e+40),...
+'z_max_error_upper',double(-9e+40),...
+'z_min',double(-9e+40),...
+'z_min_error_index',int32(-999999999),...
+'z_min_error_lower',double(-9e+40),...
+'z_min_error_upper',double(-9e+40),...
+'z_square_average',double(-9e+40),...
+'z_square_average_error_index',int32(-999999999),...
+'z_square_average_error_lower',double(-9e+40),...
+'z_square_average_error_upper',double(-9e+40))
 ;}},...
 'temperature',double([]),...
-'temperature_error_index',double(-999999999),...
+'temperature_error_index',int32(-999999999),...
 'temperature_error_lower',double([]),...
 'temperature_error_upper',double([]),...
-'temperature_validity',double(-999999999),...
+'temperature_fit',struct(...
+'chi_squared',double([]),...
+'chi_squared_error_index',int32(-999999999),...
+'chi_squared_error_lower',double([]),...
+'chi_squared_error_upper',double([]),...
+'local',int32([]),...
+'measured',double([]),...
+'measured_error_index',int32(-999999999),...
+'measured_error_lower',double([]),...
+'measured_error_upper',double([]),...
+'parameters','',...
+'reconstructed',double([]),...
+'reconstructed_error_index',int32(-999999999),...
+'reconstructed_error_lower',double([]),...
+'reconstructed_error_upper',double([]),...
+'rho_tor_norm',double([]),...
+'rho_tor_norm_error_index',int32(-999999999),...
+'rho_tor_norm_error_lower',double([]),...
+'rho_tor_norm_error_upper',double([]),...
+'source',{{}},...
+'time_measurement',double([]),...
+'time_measurement_error_index',int32(-999999999),...
+'time_measurement_error_lower',double([]),...
+'time_measurement_error_upper',double([]),...
+'time_measurement_slice_method',struct(...
+'description','',...
+'index',int32(-999999999),...
+'name',''),...
+'time_measurement_width',double([]),...
+'time_measurement_width_error_index',int32(-999999999),...
+'time_measurement_width_error_lower',double([]),...
+'time_measurement_width_error_upper',double([]),...
+'weight',double([]),...
+'weight_error_index',int32(-999999999),...
+'weight_error_lower',double([]),...
+'weight_error_upper',double([])),...
+'temperature_validity',int32(-999999999),...
 'velocity',struct(...
 'diamagnetic',double([]),...
-'diamagnetic_error_index',double(-999999999),...
+'diamagnetic_error_index',int32(-999999999),...
 'diamagnetic_error_lower',double([]),...
 'diamagnetic_error_upper',double([]),...
 'parallel',double([]),...
-'parallel_error_index',double(-999999999),...
+'parallel_error_index',int32(-999999999),...
 'parallel_error_lower',double([]),...
 'parallel_error_upper',double([]),...
 'poloidal',double([]),...
-'poloidal_error_index',double(-999999999),...
+'poloidal_error_index',int32(-999999999),...
 'poloidal_error_lower',double([]),...
 'poloidal_error_upper',double([]),...
 'radial',double([]),...
-'radial_error_index',double(-999999999),...
+'radial_error_index',int32(-999999999),...
 'radial_error_lower',double([]),...
 'radial_error_upper',double([]),...
 'toroidal',double([]),...
-'toroidal_error_index',double(-999999999),...
+'toroidal_error_index',int32(-999999999),...
 'toroidal_error_lower',double([]),...
 'toroidal_error_upper',double([])),...
 'velocity_pol',double([]),...
-'velocity_pol_error_index',double(-999999999),...
+'velocity_pol_error_index',int32(-999999999),...
 'velocity_pol_error_lower',double([]),...
 'velocity_pol_error_upper',double([]),...
 'velocity_tor',double([]),...
-'velocity_tor_error_index',double(-999999999),...
+'velocity_tor_error_index',int32(-999999999),...
 'velocity_tor_error_lower',double([]),...
 'velocity_tor_error_upper',double([]),...
-'z_ion',double(-9.0000000000000006360851714687e+40),...
+'z_ion',double(-9e+40),...
 'z_ion_1d',double([]),...
-'z_ion_1d_error_index',double(-999999999),...
+'z_ion_1d_error_index',int32(-999999999),...
 'z_ion_1d_error_lower',double([]),...
 'z_ion_1d_error_upper',double([]),...
-'z_ion_error_index',double(-999999999),...
-'z_ion_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_ion_error_upper',double(-9.0000000000000006360851714687e+40),...
+'z_ion_error_index',int32(-999999999),...
+'z_ion_error_lower',double(-9e+40),...
+'z_ion_error_upper',double(-9e+40),...
 'z_ion_square_1d',double([]),...
-'z_ion_square_1d_error_index',double(-999999999),...
+'z_ion_square_1d_error_index',int32(-999999999),...
 'z_ion_square_1d_error_lower',double([]),...
 'z_ion_square_1d_error_upper',double([]))
 ;}},...
 'j_bootstrap',double([]),...
-'j_bootstrap_error_index',double(-999999999),...
+'j_bootstrap_error_index',int32(-999999999),...
 'j_bootstrap_error_lower',double([]),...
 'j_bootstrap_error_upper',double([]),...
 'j_non_inductive',double([]),...
-'j_non_inductive_error_index',double(-999999999),...
+'j_non_inductive_error_index',int32(-999999999),...
 'j_non_inductive_error_lower',double([]),...
 'j_non_inductive_error_upper',double([]),...
 'j_ohmic',double([]),...
-'j_ohmic_error_index',double(-999999999),...
+'j_ohmic_error_index',int32(-999999999),...
 'j_ohmic_error_lower',double([]),...
 'j_ohmic_error_upper',double([]),...
 'j_tor',double([]),...
-'j_tor_error_index',double(-999999999),...
+'j_tor_error_index',int32(-999999999),...
 'j_tor_error_lower',double([]),...
 'j_tor_error_upper',double([]),...
 'j_total',double([]),...
-'j_total_error_index',double(-999999999),...
+'j_total_error_index',int32(-999999999),...
 'j_total_error_lower',double([]),...
 'j_total_error_upper',double([]),...
 'magnetic_shear',double([]),...
-'magnetic_shear_error_index',double(-999999999),...
+'magnetic_shear_error_index',int32(-999999999),...
 'magnetic_shear_error_lower',double([]),...
 'magnetic_shear_error_upper',double([]),...
 'momentum_tor',double([]),...
-'momentum_tor_error_index',double(-999999999),...
+'momentum_tor_error_index',int32(-999999999),...
 'momentum_tor_error_lower',double([]),...
 'momentum_tor_error_upper',double([]),...
 'n_i_thermal_total',double([]),...
-'n_i_thermal_total_error_index',double(-999999999),...
+'n_i_thermal_total_error_index',int32(-999999999),...
 'n_i_thermal_total_error_lower',double([]),...
 'n_i_thermal_total_error_upper',double([]),...
 'n_i_total_over_n_e',double([]),...
-'n_i_total_over_n_e_error_index',double(-999999999),...
+'n_i_total_over_n_e_error_index',int32(-999999999),...
 'n_i_total_over_n_e_error_lower',double([]),...
 'n_i_total_over_n_e_error_upper',double([]),...
 'neutral',{{struct(...
 'density',double([]),...
-'density_error_index',double(-999999999),...
+'density_error_index',int32(-999999999),...
 'density_error_lower',double([]),...
 'density_error_upper',double([]),...
 'density_fast',double([]),...
-'density_fast_error_index',double(-999999999),...
+'density_fast_error_index',int32(-999999999),...
 'density_fast_error_lower',double([]),...
 'density_fast_error_upper',double([]),...
 'density_thermal',double([]),...
-'density_thermal_error_index',double(-999999999),...
+'density_thermal_error_index',int32(-999999999),...
 'density_thermal_error_lower',double([]),...
 'density_thermal_error_upper',double([]),...
 'element',{{struct(...
-'a',double(-9.0000000000000006360851714687e+40),...
-'a_error_index',double(-999999999),...
-'a_error_lower',double(-9.0000000000000006360851714687e+40),...
-'a_error_upper',double(-9.0000000000000006360851714687e+40),...
-'atoms_n',double(-999999999),...
-'multiplicity',double(-9.0000000000000006360851714687e+40),...
-'multiplicity_error_index',double(-999999999),...
-'multiplicity_error_lower',double(-9.0000000000000006360851714687e+40),...
-'multiplicity_error_upper',double(-9.0000000000000006360851714687e+40),...
-'z_n',double(-9.0000000000000006360851714687e+40),...
-'z_n_error_index',double(-999999999),...
-'z_n_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_n_error_upper',double(-9.0000000000000006360851714687e+40))
+'a',double(-9e+40),...
+'a_error_index',int32(-999999999),...
+'a_error_lower',double(-9e+40),...
+'a_error_upper',double(-9e+40),...
+'atoms_n',int32(-999999999),...
+'multiplicity',double(-9e+40),...
+'multiplicity_error_index',int32(-999999999),...
+'multiplicity_error_lower',double(-9e+40),...
+'multiplicity_error_upper',double(-9e+40),...
+'z_n',double(-9e+40),...
+'z_n_error_index',int32(-999999999),...
+'z_n_error_lower',double(-9e+40),...
+'z_n_error_upper',double(-9e+40))
 ;}},...
-'ion_index',double(-999999999),...
-'label',double([]),...
-'multiple_states_flag',double(-999999999),...
+'ion_index',int32(-999999999),...
+'label','',...
+'multiple_states_flag',int32(-999999999),...
 'pressure',double([]),...
-'pressure_error_index',double(-999999999),...
+'pressure_error_index',int32(-999999999),...
 'pressure_error_lower',double([]),...
 'pressure_error_upper',double([]),...
 'pressure_fast_parallel',double([]),...
-'pressure_fast_parallel_error_index',double(-999999999),...
+'pressure_fast_parallel_error_index',int32(-999999999),...
 'pressure_fast_parallel_error_lower',double([]),...
 'pressure_fast_parallel_error_upper',double([]),...
 'pressure_fast_perpendicular',double([]),...
-'pressure_fast_perpendicular_error_index',double(-999999999),...
+'pressure_fast_perpendicular_error_index',int32(-999999999),...
 'pressure_fast_perpendicular_error_lower',double([]),...
 'pressure_fast_perpendicular_error_upper',double([]),...
 'pressure_thermal',double([]),...
-'pressure_thermal_error_index',double(-999999999),...
+'pressure_thermal_error_index',int32(-999999999),...
 'pressure_thermal_error_lower',double([]),...
 'pressure_thermal_error_upper',double([]),...
 'state',{{struct(...
 'density',double([]),...
-'density_error_index',double(-999999999),...
+'density_error_index',int32(-999999999),...
 'density_error_lower',double([]),...
 'density_error_upper',double([]),...
 'density_fast',double([]),...
-'density_fast_error_index',double(-999999999),...
+'density_fast_error_index',int32(-999999999),...
 'density_fast_error_lower',double([]),...
 'density_fast_error_upper',double([]),...
 'density_thermal',double([]),...
-'density_thermal_error_index',double(-999999999),...
+'density_thermal_error_index',int32(-999999999),...
 'density_thermal_error_lower',double([]),...
 'density_thermal_error_upper',double([]),...
-'electron_configuration',double([]),...
-'label',double([]),...
+'electron_configuration','',...
+'label','',...
 'neutral_type',struct(...
-'description',double([]),...
-'index',double(-999999999),...
-'name',double([])),...
+'description','',...
+'index',int32(-999999999),...
+'name',''),...
 'pressure',double([]),...
-'pressure_error_index',double(-999999999),...
+'pressure_error_index',int32(-999999999),...
 'pressure_error_lower',double([]),...
 'pressure_error_upper',double([]),...
 'pressure_fast_parallel',double([]),...
-'pressure_fast_parallel_error_index',double(-999999999),...
+'pressure_fast_parallel_error_index',int32(-999999999),...
 'pressure_fast_parallel_error_lower',double([]),...
 'pressure_fast_parallel_error_upper',double([]),...
 'pressure_fast_perpendicular',double([]),...
-'pressure_fast_perpendicular_error_index',double(-999999999),...
+'pressure_fast_perpendicular_error_index',int32(-999999999),...
 'pressure_fast_perpendicular_error_lower',double([]),...
 'pressure_fast_perpendicular_error_upper',double([]),...
 'pressure_thermal',double([]),...
-'pressure_thermal_error_index',double(-999999999),...
+'pressure_thermal_error_index',int32(-999999999),...
 'pressure_thermal_error_lower',double([]),...
 'pressure_thermal_error_upper',double([]),...
 'temperature',double([]),...
-'temperature_error_index',double(-999999999),...
+'temperature_error_index',int32(-999999999),...
 'temperature_error_lower',double([]),...
 'temperature_error_upper',double([]),...
 'velocity',struct(...
 'diamagnetic',double([]),...
-'diamagnetic_error_index',double(-999999999),...
+'diamagnetic_error_index',int32(-999999999),...
 'diamagnetic_error_lower',double([]),...
 'diamagnetic_error_upper',double([]),...
 'parallel',double([]),...
-'parallel_error_index',double(-999999999),...
+'parallel_error_index',int32(-999999999),...
 'parallel_error_lower',double([]),...
 'parallel_error_upper',double([]),...
 'poloidal',double([]),...
-'poloidal_error_index',double(-999999999),...
+'poloidal_error_index',int32(-999999999),...
 'poloidal_error_lower',double([]),...
 'poloidal_error_upper',double([]),...
 'radial',double([]),...
-'radial_error_index',double(-999999999),...
+'radial_error_index',int32(-999999999),...
 'radial_error_lower',double([]),...
 'radial_error_upper',double([]),...
 'toroidal',double([]),...
-'toroidal_error_index',double(-999999999),...
+'toroidal_error_index',int32(-999999999),...
 'toroidal_error_lower',double([]),...
 'toroidal_error_upper',double([])),...
-'vibrational_level',double(-9.0000000000000006360851714687e+40),...
-'vibrational_level_error_index',double(-999999999),...
-'vibrational_level_error_lower',double(-9.0000000000000006360851714687e+40),...
-'vibrational_level_error_upper',double(-9.0000000000000006360851714687e+40),...
-'vibrational_mode',double([]))
+'vibrational_level',double(-9e+40),...
+'vibrational_level_error_index',int32(-999999999),...
+'vibrational_level_error_lower',double(-9e+40),...
+'vibrational_level_error_upper',double(-9e+40),...
+'vibrational_mode','')
 ;}},...
 'temperature',double([]),...
-'temperature_error_index',double(-999999999),...
+'temperature_error_index',int32(-999999999),...
 'temperature_error_lower',double([]),...
 'temperature_error_upper',double([]),...
 'velocity',struct(...
 'diamagnetic',double([]),...
-'diamagnetic_error_index',double(-999999999),...
+'diamagnetic_error_index',int32(-999999999),...
 'diamagnetic_error_lower',double([]),...
 'diamagnetic_error_upper',double([]),...
 'parallel',double([]),...
-'parallel_error_index',double(-999999999),...
+'parallel_error_index',int32(-999999999),...
 'parallel_error_lower',double([]),...
 'parallel_error_upper',double([]),...
 'poloidal',double([]),...
-'poloidal_error_index',double(-999999999),...
+'poloidal_error_index',int32(-999999999),...
 'poloidal_error_lower',double([]),...
 'poloidal_error_upper',double([]),...
 'radial',double([]),...
-'radial_error_index',double(-999999999),...
+'radial_error_index',int32(-999999999),...
 'radial_error_lower',double([]),...
 'radial_error_upper',double([]),...
 'toroidal',double([]),...
-'toroidal_error_index',double(-999999999),...
+'toroidal_error_index',int32(-999999999),...
 'toroidal_error_lower',double([]),...
 'toroidal_error_upper',double([])))
 ;}},...
+'phi_potential',double([]),...
+'phi_potential_error_index',int32(-999999999),...
+'phi_potential_error_lower',double([]),...
+'phi_potential_error_upper',double([]),...
 'pressure_ion_total',double([]),...
-'pressure_ion_total_error_index',double(-999999999),...
+'pressure_ion_total_error_index',int32(-999999999),...
 'pressure_ion_total_error_lower',double([]),...
 'pressure_ion_total_error_upper',double([]),...
 'pressure_parallel',double([]),...
-'pressure_parallel_error_index',double(-999999999),...
+'pressure_parallel_error_index',int32(-999999999),...
 'pressure_parallel_error_lower',double([]),...
 'pressure_parallel_error_upper',double([]),...
 'pressure_perpendicular',double([]),...
-'pressure_perpendicular_error_index',double(-999999999),...
+'pressure_perpendicular_error_index',int32(-999999999),...
 'pressure_perpendicular_error_lower',double([]),...
 'pressure_perpendicular_error_upper',double([]),...
 'pressure_thermal',double([]),...
-'pressure_thermal_error_index',double(-999999999),...
+'pressure_thermal_error_index',int32(-999999999),...
 'pressure_thermal_error_lower',double([]),...
 'pressure_thermal_error_upper',double([]),...
 'q',double([]),...
-'q_error_index',double(-999999999),...
+'q_error_index',int32(-999999999),...
 'q_error_lower',double([]),...
 'q_error_upper',double([]),...
+'rotation_frequency_tor_sonic',double([]),...
+'rotation_frequency_tor_sonic_error_index',int32(-999999999),...
+'rotation_frequency_tor_sonic_error_lower',double([]),...
+'rotation_frequency_tor_sonic_error_upper',double([]),...
 't_i_average',double([]),...
-'t_i_average_error_index',double(-999999999),...
+'t_i_average_error_index',int32(-999999999),...
 't_i_average_error_lower',double([]),...
 't_i_average_error_upper',double([]),...
 't_i_average_fit',struct(...
 'chi_squared',double([]),...
-'chi_squared_error_index',double(-999999999),...
+'chi_squared_error_index',int32(-999999999),...
 'chi_squared_error_lower',double([]),...
 'chi_squared_error_upper',double([]),...
-'local',double([]),...
+'local',int32([]),...
 'measured',double([]),...
-'measured_error_index',double(-999999999),...
+'measured_error_index',int32(-999999999),...
 'measured_error_lower',double([]),...
 'measured_error_upper',double([]),...
-'parameters',double([]),...
+'parameters','',...
 'reconstructed',double([]),...
-'reconstructed_error_index',double(-999999999),...
+'reconstructed_error_index',int32(-999999999),...
 'reconstructed_error_lower',double([]),...
 'reconstructed_error_upper',double([]),...
 'rho_tor_norm',double([]),...
-'rho_tor_norm_error_index',double(-999999999),...
+'rho_tor_norm_error_index',int32(-999999999),...
 'rho_tor_norm_error_lower',double([]),...
 'rho_tor_norm_error_upper',double([]),...
-'source',{{double([]);}},...
+'source',{{}},...
 'time_measurement',double([]),...
-'time_measurement_error_index',double(-999999999),...
+'time_measurement_error_index',int32(-999999999),...
 'time_measurement_error_lower',double([]),...
 'time_measurement_error_upper',double([]),...
 'time_measurement_slice_method',struct(...
-'description',double([]),...
-'index',double(-999999999),...
-'name',double([])),...
+'description','',...
+'index',int32(-999999999),...
+'name',''),...
 'time_measurement_width',double([]),...
-'time_measurement_width_error_index',double(-999999999),...
+'time_measurement_width_error_index',int32(-999999999),...
 'time_measurement_width_error_lower',double([]),...
 'time_measurement_width_error_upper',double([]),...
 'weight',double([]),...
-'weight_error_index',double(-999999999),...
+'weight_error_index',int32(-999999999),...
 'weight_error_lower',double([]),...
 'weight_error_upper',double([])),...
-'time',double(-9.0000000000000006360851714687e+40),...
+'time',double(-9e+40),...
 'zeff',double([]),...
-'zeff_error_index',double(-999999999),...
+'zeff_error_index',int32(-999999999),...
 'zeff_error_lower',double([]),...
 'zeff_error_upper',double([]),...
 'zeff_fit',struct(...
 'chi_squared',double([]),...
-'chi_squared_error_index',double(-999999999),...
+'chi_squared_error_index',int32(-999999999),...
 'chi_squared_error_lower',double([]),...
 'chi_squared_error_upper',double([]),...
-'local',double([]),...
+'local',int32([]),...
 'measured',double([]),...
-'measured_error_index',double(-999999999),...
+'measured_error_index',int32(-999999999),...
 'measured_error_lower',double([]),...
 'measured_error_upper',double([]),...
-'parameters',double([]),...
+'parameters','',...
 'reconstructed',double([]),...
-'reconstructed_error_index',double(-999999999),...
+'reconstructed_error_index',int32(-999999999),...
 'reconstructed_error_lower',double([]),...
 'reconstructed_error_upper',double([]),...
 'rho_tor_norm',double([]),...
-'rho_tor_norm_error_index',double(-999999999),...
+'rho_tor_norm_error_index',int32(-999999999),...
 'rho_tor_norm_error_lower',double([]),...
 'rho_tor_norm_error_upper',double([]),...
-'source',{{double([]);}},...
+'source',{{}},...
 'time_measurement',double([]),...
-'time_measurement_error_index',double(-999999999),...
+'time_measurement_error_index',int32(-999999999),...
 'time_measurement_error_lower',double([]),...
 'time_measurement_error_upper',double([]),...
 'time_measurement_slice_method',struct(...
-'description',double([]),...
-'index',double(-999999999),...
-'name',double([])),...
+'description','',...
+'index',int32(-999999999),...
+'name',''),...
 'time_measurement_width',double([]),...
-'time_measurement_width_error_index',double(-999999999),...
+'time_measurement_width_error_index',int32(-999999999),...
 'time_measurement_width_error_lower',double([]),...
 'time_measurement_width_error_upper',double([]),...
 'weight',double([]),...
-'weight_error_index',double(-999999999),...
+'weight_error_index',int32(-999999999),...
 'weight_error_lower',double([]),...
 'weight_error_upper',double([])))
 ;}})
 ;}},...
 'code',struct(...
-'commit',double([]),...
-'name',double([]),...
-'output_flag',double([]),...
-'parameters',double([]),...
-'repository',double([]),...
-'version',double([])),...
+'commit','',...
+'name','',...
+'output_flag',int32([]),...
+'parameters','',...
+'repository','',...
+'version',''),...
 'ids_properties',struct(...
-'comment',double([]),...
-'creation_date',double([]),...
-'homogeneous_time',double(-999999999),...
-'provider',double([]),...
-'source',double([])),...
+'comment','',...
+'creation_date','',...
+'homogeneous_time',int32(-999999999),...
+'provider','',...
+'source','',...
+'version_put',struct(...
+'access_layer','',...
+'access_layer_language','',...
+'data_dictionary','')),...
 'time',double([]),...
 'vacuum_toroidal_field',struct(...
 'b0',double([]),...
-'b0_error_index',double(-999999999),...
+'b0_error_index',int32(-999999999),...
 'b0_error_lower',double([]),...
 'b0_error_upper',double([]),...
-'r0',double(-9.0000000000000006360851714687e+40),...
-'r0_error_index',double(-999999999),...
-'r0_error_lower',double(-9.0000000000000006360851714687e+40),...
-'r0_error_upper',double(-9.0000000000000006360851714687e+40)));
+'r0',double(-9e+40),...
+'r0_error_index',int32(-999999999),...
+'r0_error_lower',double(-9e+40),...
+'r0_error_upper',double(-9e+40)));
diff --git a/matlab/TCV_IMAS/ids_empty/ids_empty_core_profiles.m b/matlab/TCV_IMAS/ids_empty/ids_empty_core_profiles.m
index 9a1b9545d7b695aa3a9047f8a6454ca628003dec..96f562eb6ea8f0cd569cc129aaf7c92a17ed4f6c 100644
--- a/matlab/TCV_IMAS/ids_empty/ids_empty_core_profiles.m
+++ b/matlab/TCV_IMAS/ids_empty/ids_empty_core_profiles.m
@@ -6,803 +6,867 @@ function S = ids_empty_core_profiles
 S = ... 
 struct(...
 'code',struct(...
-'commit',double([]),...
-'name',double([]),...
-'output_flag',double([]),...
-'parameters',double([]),...
-'repository',double([]),...
-'version',double([])),...
+'commit','',...
+'name','',...
+'output_flag',int32([]),...
+'parameters','',...
+'repository','',...
+'version',''),...
 'global_quantities',struct(...
 'beta_pol',double([]),...
-'beta_pol_error_index',double(-999999999),...
+'beta_pol_error_index',int32(-999999999),...
 'beta_pol_error_lower',double([]),...
 'beta_pol_error_upper',double([]),...
 'beta_tor',double([]),...
-'beta_tor_error_index',double(-999999999),...
+'beta_tor_error_index',int32(-999999999),...
 'beta_tor_error_lower',double([]),...
 'beta_tor_error_upper',double([]),...
 'beta_tor_norm',double([]),...
-'beta_tor_norm_error_index',double(-999999999),...
+'beta_tor_norm_error_index',int32(-999999999),...
 'beta_tor_norm_error_lower',double([]),...
 'beta_tor_norm_error_upper',double([]),...
 'current_bootstrap',double([]),...
-'current_bootstrap_error_index',double(-999999999),...
+'current_bootstrap_error_index',int32(-999999999),...
 'current_bootstrap_error_lower',double([]),...
 'current_bootstrap_error_upper',double([]),...
 'current_non_inductive',double([]),...
-'current_non_inductive_error_index',double(-999999999),...
+'current_non_inductive_error_index',int32(-999999999),...
 'current_non_inductive_error_lower',double([]),...
 'current_non_inductive_error_upper',double([]),...
 'energy_diamagnetic',double([]),...
-'energy_diamagnetic_error_index',double(-999999999),...
+'energy_diamagnetic_error_index',int32(-999999999),...
 'energy_diamagnetic_error_lower',double([]),...
 'energy_diamagnetic_error_upper',double([]),...
 'ip',double([]),...
-'ip_error_index',double(-999999999),...
+'ip_error_index',int32(-999999999),...
 'ip_error_lower',double([]),...
 'ip_error_upper',double([]),...
 'li',double([]),...
 'li_3',double([]),...
-'li_3_error_index',double(-999999999),...
+'li_3_error_index',int32(-999999999),...
 'li_3_error_lower',double([]),...
 'li_3_error_upper',double([]),...
-'li_error_index',double(-999999999),...
+'li_error_index',int32(-999999999),...
 'li_error_lower',double([]),...
 'li_error_upper',double([]),...
 'v_loop',double([]),...
-'v_loop_error_index',double(-999999999),...
+'v_loop_error_index',int32(-999999999),...
 'v_loop_error_lower',double([]),...
-'v_loop_error_upper',double([])),...
+'v_loop_error_upper',double([]),...
+'z_eff_resistive',double([]),...
+'z_eff_resistive_error_index',int32(-999999999),...
+'z_eff_resistive_error_lower',double([]),...
+'z_eff_resistive_error_upper',double([])),...
 'ids_properties',struct(...
-'comment',double([]),...
-'creation_date',double([]),...
-'homogeneous_time',double(-999999999),...
-'provider',double([]),...
-'source',double([])),...
+'comment','',...
+'creation_date','',...
+'homogeneous_time',int32(-999999999),...
+'provider','',...
+'source','',...
+'version_put',struct(...
+'access_layer','',...
+'access_layer_language','',...
+'data_dictionary','')),...
 'profiles_1d',{{struct(...
 'conductivity_parallel',double([]),...
-'conductivity_parallel_error_index',double(-999999999),...
+'conductivity_parallel_error_index',int32(-999999999),...
 'conductivity_parallel_error_lower',double([]),...
 'conductivity_parallel_error_upper',double([]),...
 'current_parallel_inside',double([]),...
-'current_parallel_inside_error_index',double(-999999999),...
+'current_parallel_inside_error_index',int32(-999999999),...
 'current_parallel_inside_error_lower',double([]),...
 'current_parallel_inside_error_upper',double([]),...
 'e_field',struct(...
 'diamagnetic',double([]),...
-'diamagnetic_error_index',double(-999999999),...
+'diamagnetic_error_index',int32(-999999999),...
 'diamagnetic_error_lower',double([]),...
 'diamagnetic_error_upper',double([]),...
 'parallel',double([]),...
-'parallel_error_index',double(-999999999),...
+'parallel_error_index',int32(-999999999),...
 'parallel_error_lower',double([]),...
 'parallel_error_upper',double([]),...
 'poloidal',double([]),...
-'poloidal_error_index',double(-999999999),...
+'poloidal_error_index',int32(-999999999),...
 'poloidal_error_lower',double([]),...
 'poloidal_error_upper',double([]),...
 'radial',double([]),...
-'radial_error_index',double(-999999999),...
+'radial_error_index',int32(-999999999),...
 'radial_error_lower',double([]),...
 'radial_error_upper',double([]),...
 'toroidal',double([]),...
-'toroidal_error_index',double(-999999999),...
+'toroidal_error_index',int32(-999999999),...
 'toroidal_error_lower',double([]),...
 'toroidal_error_upper',double([])),...
 'e_field_parallel',double([]),...
-'e_field_parallel_error_index',double(-999999999),...
+'e_field_parallel_error_index',int32(-999999999),...
 'e_field_parallel_error_lower',double([]),...
 'e_field_parallel_error_upper',double([]),...
 'electrons',struct(...
 'collisionality_norm',double([]),...
-'collisionality_norm_error_index',double(-999999999),...
+'collisionality_norm_error_index',int32(-999999999),...
 'collisionality_norm_error_lower',double([]),...
 'collisionality_norm_error_upper',double([]),...
 'density',double([]),...
-'density_error_index',double(-999999999),...
+'density_error_index',int32(-999999999),...
 'density_error_lower',double([]),...
 'density_error_upper',double([]),...
 'density_fast',double([]),...
-'density_fast_error_index',double(-999999999),...
+'density_fast_error_index',int32(-999999999),...
 'density_fast_error_lower',double([]),...
 'density_fast_error_upper',double([]),...
 'density_fit',struct(...
 'chi_squared',double([]),...
-'chi_squared_error_index',double(-999999999),...
+'chi_squared_error_index',int32(-999999999),...
 'chi_squared_error_lower',double([]),...
 'chi_squared_error_upper',double([]),...
-'local',double([]),...
+'local',int32([]),...
 'measured',double([]),...
-'measured_error_index',double(-999999999),...
+'measured_error_index',int32(-999999999),...
 'measured_error_lower',double([]),...
 'measured_error_upper',double([]),...
-'parameters',double([]),...
+'parameters','',...
 'reconstructed',double([]),...
-'reconstructed_error_index',double(-999999999),...
+'reconstructed_error_index',int32(-999999999),...
 'reconstructed_error_lower',double([]),...
 'reconstructed_error_upper',double([]),...
 'rho_tor_norm',double([]),...
-'rho_tor_norm_error_index',double(-999999999),...
+'rho_tor_norm_error_index',int32(-999999999),...
 'rho_tor_norm_error_lower',double([]),...
 'rho_tor_norm_error_upper',double([]),...
-'source',{{double([]);}},...
+'source',{{}},...
 'time_measurement',double([]),...
-'time_measurement_error_index',double(-999999999),...
+'time_measurement_error_index',int32(-999999999),...
 'time_measurement_error_lower',double([]),...
 'time_measurement_error_upper',double([]),...
 'time_measurement_slice_method',struct(...
-'description',double([]),...
-'index',double(-999999999),...
-'name',double([])),...
+'description','',...
+'index',int32(-999999999),...
+'name',''),...
 'time_measurement_width',double([]),...
-'time_measurement_width_error_index',double(-999999999),...
+'time_measurement_width_error_index',int32(-999999999),...
 'time_measurement_width_error_lower',double([]),...
 'time_measurement_width_error_upper',double([]),...
 'weight',double([]),...
-'weight_error_index',double(-999999999),...
+'weight_error_index',int32(-999999999),...
 'weight_error_lower',double([]),...
 'weight_error_upper',double([])),...
 'density_thermal',double([]),...
-'density_thermal_error_index',double(-999999999),...
+'density_thermal_error_index',int32(-999999999),...
 'density_thermal_error_lower',double([]),...
 'density_thermal_error_upper',double([]),...
-'density_validity',double(-999999999),...
+'density_validity',int32(-999999999),...
 'pressure',double([]),...
-'pressure_error_index',double(-999999999),...
+'pressure_error_index',int32(-999999999),...
 'pressure_error_lower',double([]),...
 'pressure_error_upper',double([]),...
 'pressure_fast_parallel',double([]),...
-'pressure_fast_parallel_error_index',double(-999999999),...
+'pressure_fast_parallel_error_index',int32(-999999999),...
 'pressure_fast_parallel_error_lower',double([]),...
 'pressure_fast_parallel_error_upper',double([]),...
 'pressure_fast_perpendicular',double([]),...
-'pressure_fast_perpendicular_error_index',double(-999999999),...
+'pressure_fast_perpendicular_error_index',int32(-999999999),...
 'pressure_fast_perpendicular_error_lower',double([]),...
 'pressure_fast_perpendicular_error_upper',double([]),...
 'pressure_thermal',double([]),...
-'pressure_thermal_error_index',double(-999999999),...
+'pressure_thermal_error_index',int32(-999999999),...
 'pressure_thermal_error_lower',double([]),...
 'pressure_thermal_error_upper',double([]),...
 'temperature',double([]),...
-'temperature_error_index',double(-999999999),...
+'temperature_error_index',int32(-999999999),...
 'temperature_error_lower',double([]),...
 'temperature_error_upper',double([]),...
 'temperature_fit',struct(...
 'chi_squared',double([]),...
-'chi_squared_error_index',double(-999999999),...
+'chi_squared_error_index',int32(-999999999),...
 'chi_squared_error_lower',double([]),...
 'chi_squared_error_upper',double([]),...
-'local',double([]),...
+'local',int32([]),...
 'measured',double([]),...
-'measured_error_index',double(-999999999),...
+'measured_error_index',int32(-999999999),...
 'measured_error_lower',double([]),...
 'measured_error_upper',double([]),...
-'parameters',double([]),...
+'parameters','',...
 'reconstructed',double([]),...
-'reconstructed_error_index',double(-999999999),...
+'reconstructed_error_index',int32(-999999999),...
 'reconstructed_error_lower',double([]),...
 'reconstructed_error_upper',double([]),...
 'rho_tor_norm',double([]),...
-'rho_tor_norm_error_index',double(-999999999),...
+'rho_tor_norm_error_index',int32(-999999999),...
 'rho_tor_norm_error_lower',double([]),...
 'rho_tor_norm_error_upper',double([]),...
-'source',{{double([]);}},...
+'source',{{}},...
 'time_measurement',double([]),...
-'time_measurement_error_index',double(-999999999),...
+'time_measurement_error_index',int32(-999999999),...
 'time_measurement_error_lower',double([]),...
 'time_measurement_error_upper',double([]),...
 'time_measurement_slice_method',struct(...
-'description',double([]),...
-'index',double(-999999999),...
-'name',double([])),...
+'description','',...
+'index',int32(-999999999),...
+'name',''),...
 'time_measurement_width',double([]),...
-'time_measurement_width_error_index',double(-999999999),...
+'time_measurement_width_error_index',int32(-999999999),...
 'time_measurement_width_error_lower',double([]),...
 'time_measurement_width_error_upper',double([]),...
 'weight',double([]),...
-'weight_error_index',double(-999999999),...
+'weight_error_index',int32(-999999999),...
 'weight_error_lower',double([]),...
 'weight_error_upper',double([])),...
-'temperature_validity',double(-999999999),...
+'temperature_validity',int32(-999999999),...
 'velocity',struct(...
 'diamagnetic',double([]),...
-'diamagnetic_error_index',double(-999999999),...
+'diamagnetic_error_index',int32(-999999999),...
 'diamagnetic_error_lower',double([]),...
 'diamagnetic_error_upper',double([]),...
 'parallel',double([]),...
-'parallel_error_index',double(-999999999),...
+'parallel_error_index',int32(-999999999),...
 'parallel_error_lower',double([]),...
 'parallel_error_upper',double([]),...
 'poloidal',double([]),...
-'poloidal_error_index',double(-999999999),...
+'poloidal_error_index',int32(-999999999),...
 'poloidal_error_lower',double([]),...
 'poloidal_error_upper',double([]),...
 'radial',double([]),...
-'radial_error_index',double(-999999999),...
+'radial_error_index',int32(-999999999),...
 'radial_error_lower',double([]),...
 'radial_error_upper',double([]),...
 'toroidal',double([]),...
-'toroidal_error_index',double(-999999999),...
+'toroidal_error_index',int32(-999999999),...
 'toroidal_error_lower',double([]),...
 'toroidal_error_upper',double([])),...
 'velocity_pol',double([]),...
-'velocity_pol_error_index',double(-999999999),...
+'velocity_pol_error_index',int32(-999999999),...
 'velocity_pol_error_lower',double([]),...
 'velocity_pol_error_upper',double([]),...
 'velocity_tor',double([]),...
-'velocity_tor_error_index',double(-999999999),...
+'velocity_tor_error_index',int32(-999999999),...
 'velocity_tor_error_lower',double([]),...
 'velocity_tor_error_upper',double([])),...
 'grid',struct(...
 'area',double([]),...
-'area_error_index',double(-999999999),...
+'area_error_index',int32(-999999999),...
 'area_error_lower',double([]),...
 'area_error_upper',double([]),...
 'psi',double([]),...
-'psi_error_index',double(-999999999),...
+'psi_boundary',double(-9e+40),...
+'psi_boundary_error_index',int32(-999999999),...
+'psi_boundary_error_lower',double(-9e+40),...
+'psi_boundary_error_upper',double(-9e+40),...
+'psi_error_index',int32(-999999999),...
 'psi_error_lower',double([]),...
 'psi_error_upper',double([]),...
+'psi_magnetic_axis',double(-9e+40),...
+'psi_magnetic_axis_error_index',int32(-999999999),...
+'psi_magnetic_axis_error_lower',double(-9e+40),...
+'psi_magnetic_axis_error_upper',double(-9e+40),...
+'rho_pol_norm',double([]),...
+'rho_pol_norm_error_index',int32(-999999999),...
+'rho_pol_norm_error_lower',double([]),...
+'rho_pol_norm_error_upper',double([]),...
 'rho_tor',double([]),...
-'rho_tor_error_index',double(-999999999),...
+'rho_tor_error_index',int32(-999999999),...
 'rho_tor_error_lower',double([]),...
 'rho_tor_error_upper',double([]),...
 'rho_tor_norm',double([]),...
-'rho_tor_norm_error_index',double(-999999999),...
+'rho_tor_norm_error_index',int32(-999999999),...
 'rho_tor_norm_error_lower',double([]),...
 'rho_tor_norm_error_upper',double([]),...
 'volume',double([]),...
-'volume_error_index',double(-999999999),...
+'volume_error_index',int32(-999999999),...
 'volume_error_lower',double([]),...
 'volume_error_upper',double([])),...
 'ion',{{struct(...
 'density',double([]),...
-'density_error_index',double(-999999999),...
+'density_error_index',int32(-999999999),...
 'density_error_lower',double([]),...
 'density_error_upper',double([]),...
 'density_fast',double([]),...
-'density_fast_error_index',double(-999999999),...
+'density_fast_error_index',int32(-999999999),...
 'density_fast_error_lower',double([]),...
 'density_fast_error_upper',double([]),...
 'density_fit',struct(...
 'chi_squared',double([]),...
-'chi_squared_error_index',double(-999999999),...
+'chi_squared_error_index',int32(-999999999),...
 'chi_squared_error_lower',double([]),...
 'chi_squared_error_upper',double([]),...
-'local',double([]),...
+'local',int32([]),...
 'measured',double([]),...
-'measured_error_index',double(-999999999),...
+'measured_error_index',int32(-999999999),...
 'measured_error_lower',double([]),...
 'measured_error_upper',double([]),...
-'parameters',double([]),...
+'parameters','',...
 'reconstructed',double([]),...
-'reconstructed_error_index',double(-999999999),...
+'reconstructed_error_index',int32(-999999999),...
 'reconstructed_error_lower',double([]),...
 'reconstructed_error_upper',double([]),...
 'rho_tor_norm',double([]),...
-'rho_tor_norm_error_index',double(-999999999),...
+'rho_tor_norm_error_index',int32(-999999999),...
 'rho_tor_norm_error_lower',double([]),...
 'rho_tor_norm_error_upper',double([]),...
-'source',{{double([]);}},...
+'source',{{}},...
 'time_measurement',double([]),...
-'time_measurement_error_index',double(-999999999),...
+'time_measurement_error_index',int32(-999999999),...
 'time_measurement_error_lower',double([]),...
 'time_measurement_error_upper',double([]),...
 'time_measurement_slice_method',struct(...
-'description',double([]),...
-'index',double(-999999999),...
-'name',double([])),...
+'description','',...
+'index',int32(-999999999),...
+'name',''),...
 'time_measurement_width',double([]),...
-'time_measurement_width_error_index',double(-999999999),...
+'time_measurement_width_error_index',int32(-999999999),...
 'time_measurement_width_error_lower',double([]),...
 'time_measurement_width_error_upper',double([]),...
 'weight',double([]),...
-'weight_error_index',double(-999999999),...
+'weight_error_index',int32(-999999999),...
 'weight_error_lower',double([]),...
 'weight_error_upper',double([])),...
 'density_thermal',double([]),...
-'density_thermal_error_index',double(-999999999),...
+'density_thermal_error_index',int32(-999999999),...
 'density_thermal_error_lower',double([]),...
 'density_thermal_error_upper',double([]),...
-'density_validity',double(-999999999),...
+'density_validity',int32(-999999999),...
 'element',{{struct(...
-'a',double(-9.0000000000000006360851714687e+40),...
-'a_error_index',double(-999999999),...
-'a_error_lower',double(-9.0000000000000006360851714687e+40),...
-'a_error_upper',double(-9.0000000000000006360851714687e+40),...
-'atoms_n',double(-999999999),...
-'multiplicity',double(-9.0000000000000006360851714687e+40),...
-'multiplicity_error_index',double(-999999999),...
-'multiplicity_error_lower',double(-9.0000000000000006360851714687e+40),...
-'multiplicity_error_upper',double(-9.0000000000000006360851714687e+40),...
-'z_n',double(-9.0000000000000006360851714687e+40),...
-'z_n_error_index',double(-999999999),...
-'z_n_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_n_error_upper',double(-9.0000000000000006360851714687e+40))
+'a',double(-9e+40),...
+'a_error_index',int32(-999999999),...
+'a_error_lower',double(-9e+40),...
+'a_error_upper',double(-9e+40),...
+'atoms_n',int32(-999999999),...
+'multiplicity',double(-9e+40),...
+'multiplicity_error_index',int32(-999999999),...
+'multiplicity_error_lower',double(-9e+40),...
+'multiplicity_error_upper',double(-9e+40),...
+'z_n',double(-9e+40),...
+'z_n_error_index',int32(-999999999),...
+'z_n_error_lower',double(-9e+40),...
+'z_n_error_upper',double(-9e+40))
 ;}},...
-'label',double([]),...
-'multiple_states_flag',double(-999999999),...
-'neutral_index',double(-999999999),...
+'label','',...
+'multiple_states_flag',int32(-999999999),...
+'neutral_index',int32(-999999999),...
 'pressure',double([]),...
-'pressure_error_index',double(-999999999),...
+'pressure_error_index',int32(-999999999),...
 'pressure_error_lower',double([]),...
 'pressure_error_upper',double([]),...
 'pressure_fast_parallel',double([]),...
-'pressure_fast_parallel_error_index',double(-999999999),...
+'pressure_fast_parallel_error_index',int32(-999999999),...
 'pressure_fast_parallel_error_lower',double([]),...
 'pressure_fast_parallel_error_upper',double([]),...
 'pressure_fast_perpendicular',double([]),...
-'pressure_fast_perpendicular_error_index',double(-999999999),...
+'pressure_fast_perpendicular_error_index',int32(-999999999),...
 'pressure_fast_perpendicular_error_lower',double([]),...
 'pressure_fast_perpendicular_error_upper',double([]),...
 'pressure_thermal',double([]),...
-'pressure_thermal_error_index',double(-999999999),...
+'pressure_thermal_error_index',int32(-999999999),...
 'pressure_thermal_error_lower',double([]),...
 'pressure_thermal_error_upper',double([]),...
 'rotation_frequency_tor',double([]),...
-'rotation_frequency_tor_error_index',double(-999999999),...
+'rotation_frequency_tor_error_index',int32(-999999999),...
 'rotation_frequency_tor_error_lower',double([]),...
 'rotation_frequency_tor_error_upper',double([]),...
 'state',{{struct(...
 'density',double([]),...
-'density_error_index',double(-999999999),...
+'density_error_index',int32(-999999999),...
 'density_error_lower',double([]),...
 'density_error_upper',double([]),...
 'density_fast',double([]),...
-'density_fast_error_index',double(-999999999),...
+'density_fast_error_index',int32(-999999999),...
 'density_fast_error_lower',double([]),...
 'density_fast_error_upper',double([]),...
 'density_fit',struct(...
 'chi_squared',double([]),...
-'chi_squared_error_index',double(-999999999),...
+'chi_squared_error_index',int32(-999999999),...
 'chi_squared_error_lower',double([]),...
 'chi_squared_error_upper',double([]),...
-'local',double([]),...
+'local',int32([]),...
 'measured',double([]),...
-'measured_error_index',double(-999999999),...
+'measured_error_index',int32(-999999999),...
 'measured_error_lower',double([]),...
 'measured_error_upper',double([]),...
-'parameters',double([]),...
+'parameters','',...
 'reconstructed',double([]),...
-'reconstructed_error_index',double(-999999999),...
+'reconstructed_error_index',int32(-999999999),...
 'reconstructed_error_lower',double([]),...
 'reconstructed_error_upper',double([]),...
 'rho_tor_norm',double([]),...
-'rho_tor_norm_error_index',double(-999999999),...
+'rho_tor_norm_error_index',int32(-999999999),...
 'rho_tor_norm_error_lower',double([]),...
 'rho_tor_norm_error_upper',double([]),...
-'source',{{double([]);}},...
+'source',{{}},...
 'time_measurement',double([]),...
-'time_measurement_error_index',double(-999999999),...
+'time_measurement_error_index',int32(-999999999),...
 'time_measurement_error_lower',double([]),...
 'time_measurement_error_upper',double([]),...
 'time_measurement_slice_method',struct(...
-'description',double([]),...
-'index',double(-999999999),...
-'name',double([])),...
+'description','',...
+'index',int32(-999999999),...
+'name',''),...
 'time_measurement_width',double([]),...
-'time_measurement_width_error_index',double(-999999999),...
+'time_measurement_width_error_index',int32(-999999999),...
 'time_measurement_width_error_lower',double([]),...
 'time_measurement_width_error_upper',double([]),...
 'weight',double([]),...
-'weight_error_index',double(-999999999),...
+'weight_error_index',int32(-999999999),...
 'weight_error_lower',double([]),...
 'weight_error_upper',double([])),...
 'density_thermal',double([]),...
-'density_thermal_error_index',double(-999999999),...
+'density_thermal_error_index',int32(-999999999),...
 'density_thermal_error_lower',double([]),...
 'density_thermal_error_upper',double([]),...
-'electron_configuration',double([]),...
-'ionisation_potential',double(-9.0000000000000006360851714687e+40),...
-'ionisation_potential_error_index',double(-999999999),...
-'ionisation_potential_error_lower',double(-9.0000000000000006360851714687e+40),...
-'ionisation_potential_error_upper',double(-9.0000000000000006360851714687e+40),...
-'label',double([]),...
+'electron_configuration','',...
+'ionisation_potential',double(-9e+40),...
+'ionisation_potential_error_index',int32(-999999999),...
+'ionisation_potential_error_lower',double(-9e+40),...
+'ionisation_potential_error_upper',double(-9e+40),...
+'label','',...
 'pressure',double([]),...
-'pressure_error_index',double(-999999999),...
+'pressure_error_index',int32(-999999999),...
 'pressure_error_lower',double([]),...
 'pressure_error_upper',double([]),...
 'pressure_fast_parallel',double([]),...
-'pressure_fast_parallel_error_index',double(-999999999),...
+'pressure_fast_parallel_error_index',int32(-999999999),...
 'pressure_fast_parallel_error_lower',double([]),...
 'pressure_fast_parallel_error_upper',double([]),...
 'pressure_fast_perpendicular',double([]),...
-'pressure_fast_perpendicular_error_index',double(-999999999),...
+'pressure_fast_perpendicular_error_index',int32(-999999999),...
 'pressure_fast_perpendicular_error_lower',double([]),...
 'pressure_fast_perpendicular_error_upper',double([]),...
 'pressure_thermal',double([]),...
-'pressure_thermal_error_index',double(-999999999),...
+'pressure_thermal_error_index',int32(-999999999),...
 'pressure_thermal_error_lower',double([]),...
 'pressure_thermal_error_upper',double([]),...
 'rotation_frequency_tor',double([]),...
-'rotation_frequency_tor_error_index',double(-999999999),...
+'rotation_frequency_tor_error_index',int32(-999999999),...
 'rotation_frequency_tor_error_lower',double([]),...
 'rotation_frequency_tor_error_upper',double([]),...
 'temperature',double([]),...
-'temperature_error_index',double(-999999999),...
+'temperature_error_index',int32(-999999999),...
 'temperature_error_lower',double([]),...
 'temperature_error_upper',double([]),...
 'velocity',struct(...
 'diamagnetic',double([]),...
-'diamagnetic_error_index',double(-999999999),...
+'diamagnetic_error_index',int32(-999999999),...
 'diamagnetic_error_lower',double([]),...
 'diamagnetic_error_upper',double([]),...
 'parallel',double([]),...
-'parallel_error_index',double(-999999999),...
+'parallel_error_index',int32(-999999999),...
 'parallel_error_lower',double([]),...
 'parallel_error_upper',double([]),...
 'poloidal',double([]),...
-'poloidal_error_index',double(-999999999),...
+'poloidal_error_index',int32(-999999999),...
 'poloidal_error_lower',double([]),...
 'poloidal_error_upper',double([]),...
 'radial',double([]),...
-'radial_error_index',double(-999999999),...
+'radial_error_index',int32(-999999999),...
 'radial_error_lower',double([]),...
 'radial_error_upper',double([]),...
 'toroidal',double([]),...
-'toroidal_error_index',double(-999999999),...
+'toroidal_error_index',int32(-999999999),...
 'toroidal_error_lower',double([]),...
 'toroidal_error_upper',double([])),...
-'vibrational_level',double(-9.0000000000000006360851714687e+40),...
-'vibrational_level_error_index',double(-999999999),...
-'vibrational_level_error_lower',double(-9.0000000000000006360851714687e+40),...
-'vibrational_level_error_upper',double(-9.0000000000000006360851714687e+40),...
-'vibrational_mode',double([]),...
-'z_average',double(-9.0000000000000006360851714687e+40),...
+'vibrational_level',double(-9e+40),...
+'vibrational_level_error_index',int32(-999999999),...
+'vibrational_level_error_lower',double(-9e+40),...
+'vibrational_level_error_upper',double(-9e+40),...
+'vibrational_mode','',...
+'z_average',double(-9e+40),...
 'z_average_1d',double([]),...
-'z_average_1d_error_index',double(-999999999),...
+'z_average_1d_error_index',int32(-999999999),...
 'z_average_1d_error_lower',double([]),...
 'z_average_1d_error_upper',double([]),...
-'z_average_error_index',double(-999999999),...
-'z_average_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_average_error_upper',double(-9.0000000000000006360851714687e+40),...
+'z_average_error_index',int32(-999999999),...
+'z_average_error_lower',double(-9e+40),...
+'z_average_error_upper',double(-9e+40),...
 'z_average_square_1d',double([]),...
-'z_average_square_1d_error_index',double(-999999999),...
+'z_average_square_1d_error_index',int32(-999999999),...
 'z_average_square_1d_error_lower',double([]),...
 'z_average_square_1d_error_upper',double([]),...
-'z_max',double(-9.0000000000000006360851714687e+40),...
-'z_max_error_index',double(-999999999),...
-'z_max_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_max_error_upper',double(-9.0000000000000006360851714687e+40),...
-'z_min',double(-9.0000000000000006360851714687e+40),...
-'z_min_error_index',double(-999999999),...
-'z_min_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_min_error_upper',double(-9.0000000000000006360851714687e+40),...
-'z_square_average',double(-9.0000000000000006360851714687e+40),...
-'z_square_average_error_index',double(-999999999),...
-'z_square_average_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_square_average_error_upper',double(-9.0000000000000006360851714687e+40))
+'z_max',double(-9e+40),...
+'z_max_error_index',int32(-999999999),...
+'z_max_error_lower',double(-9e+40),...
+'z_max_error_upper',double(-9e+40),...
+'z_min',double(-9e+40),...
+'z_min_error_index',int32(-999999999),...
+'z_min_error_lower',double(-9e+40),...
+'z_min_error_upper',double(-9e+40),...
+'z_square_average',double(-9e+40),...
+'z_square_average_error_index',int32(-999999999),...
+'z_square_average_error_lower',double(-9e+40),...
+'z_square_average_error_upper',double(-9e+40))
 ;}},...
 'temperature',double([]),...
-'temperature_error_index',double(-999999999),...
+'temperature_error_index',int32(-999999999),...
 'temperature_error_lower',double([]),...
 'temperature_error_upper',double([]),...
-'temperature_validity',double(-999999999),...
+'temperature_fit',struct(...
+'chi_squared',double([]),...
+'chi_squared_error_index',int32(-999999999),...
+'chi_squared_error_lower',double([]),...
+'chi_squared_error_upper',double([]),...
+'local',int32([]),...
+'measured',double([]),...
+'measured_error_index',int32(-999999999),...
+'measured_error_lower',double([]),...
+'measured_error_upper',double([]),...
+'parameters','',...
+'reconstructed',double([]),...
+'reconstructed_error_index',int32(-999999999),...
+'reconstructed_error_lower',double([]),...
+'reconstructed_error_upper',double([]),...
+'rho_tor_norm',double([]),...
+'rho_tor_norm_error_index',int32(-999999999),...
+'rho_tor_norm_error_lower',double([]),...
+'rho_tor_norm_error_upper',double([]),...
+'source',{{}},...
+'time_measurement',double([]),...
+'time_measurement_error_index',int32(-999999999),...
+'time_measurement_error_lower',double([]),...
+'time_measurement_error_upper',double([]),...
+'time_measurement_slice_method',struct(...
+'description','',...
+'index',int32(-999999999),...
+'name',''),...
+'time_measurement_width',double([]),...
+'time_measurement_width_error_index',int32(-999999999),...
+'time_measurement_width_error_lower',double([]),...
+'time_measurement_width_error_upper',double([]),...
+'weight',double([]),...
+'weight_error_index',int32(-999999999),...
+'weight_error_lower',double([]),...
+'weight_error_upper',double([])),...
+'temperature_validity',int32(-999999999),...
 'velocity',struct(...
 'diamagnetic',double([]),...
-'diamagnetic_error_index',double(-999999999),...
+'diamagnetic_error_index',int32(-999999999),...
 'diamagnetic_error_lower',double([]),...
 'diamagnetic_error_upper',double([]),...
 'parallel',double([]),...
-'parallel_error_index',double(-999999999),...
+'parallel_error_index',int32(-999999999),...
 'parallel_error_lower',double([]),...
 'parallel_error_upper',double([]),...
 'poloidal',double([]),...
-'poloidal_error_index',double(-999999999),...
+'poloidal_error_index',int32(-999999999),...
 'poloidal_error_lower',double([]),...
 'poloidal_error_upper',double([]),...
 'radial',double([]),...
-'radial_error_index',double(-999999999),...
+'radial_error_index',int32(-999999999),...
 'radial_error_lower',double([]),...
 'radial_error_upper',double([]),...
 'toroidal',double([]),...
-'toroidal_error_index',double(-999999999),...
+'toroidal_error_index',int32(-999999999),...
 'toroidal_error_lower',double([]),...
 'toroidal_error_upper',double([])),...
 'velocity_pol',double([]),...
-'velocity_pol_error_index',double(-999999999),...
+'velocity_pol_error_index',int32(-999999999),...
 'velocity_pol_error_lower',double([]),...
 'velocity_pol_error_upper',double([]),...
 'velocity_tor',double([]),...
-'velocity_tor_error_index',double(-999999999),...
+'velocity_tor_error_index',int32(-999999999),...
 'velocity_tor_error_lower',double([]),...
 'velocity_tor_error_upper',double([]),...
-'z_ion',double(-9.0000000000000006360851714687e+40),...
+'z_ion',double(-9e+40),...
 'z_ion_1d',double([]),...
-'z_ion_1d_error_index',double(-999999999),...
+'z_ion_1d_error_index',int32(-999999999),...
 'z_ion_1d_error_lower',double([]),...
 'z_ion_1d_error_upper',double([]),...
-'z_ion_error_index',double(-999999999),...
-'z_ion_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_ion_error_upper',double(-9.0000000000000006360851714687e+40),...
+'z_ion_error_index',int32(-999999999),...
+'z_ion_error_lower',double(-9e+40),...
+'z_ion_error_upper',double(-9e+40),...
 'z_ion_square_1d',double([]),...
-'z_ion_square_1d_error_index',double(-999999999),...
+'z_ion_square_1d_error_index',int32(-999999999),...
 'z_ion_square_1d_error_lower',double([]),...
 'z_ion_square_1d_error_upper',double([]))
 ;}},...
 'j_bootstrap',double([]),...
-'j_bootstrap_error_index',double(-999999999),...
+'j_bootstrap_error_index',int32(-999999999),...
 'j_bootstrap_error_lower',double([]),...
 'j_bootstrap_error_upper',double([]),...
 'j_non_inductive',double([]),...
-'j_non_inductive_error_index',double(-999999999),...
+'j_non_inductive_error_index',int32(-999999999),...
 'j_non_inductive_error_lower',double([]),...
 'j_non_inductive_error_upper',double([]),...
 'j_ohmic',double([]),...
-'j_ohmic_error_index',double(-999999999),...
+'j_ohmic_error_index',int32(-999999999),...
 'j_ohmic_error_lower',double([]),...
 'j_ohmic_error_upper',double([]),...
 'j_tor',double([]),...
-'j_tor_error_index',double(-999999999),...
+'j_tor_error_index',int32(-999999999),...
 'j_tor_error_lower',double([]),...
 'j_tor_error_upper',double([]),...
 'j_total',double([]),...
-'j_total_error_index',double(-999999999),...
+'j_total_error_index',int32(-999999999),...
 'j_total_error_lower',double([]),...
 'j_total_error_upper',double([]),...
 'magnetic_shear',double([]),...
-'magnetic_shear_error_index',double(-999999999),...
+'magnetic_shear_error_index',int32(-999999999),...
 'magnetic_shear_error_lower',double([]),...
 'magnetic_shear_error_upper',double([]),...
 'momentum_tor',double([]),...
-'momentum_tor_error_index',double(-999999999),...
+'momentum_tor_error_index',int32(-999999999),...
 'momentum_tor_error_lower',double([]),...
 'momentum_tor_error_upper',double([]),...
 'n_i_thermal_total',double([]),...
-'n_i_thermal_total_error_index',double(-999999999),...
+'n_i_thermal_total_error_index',int32(-999999999),...
 'n_i_thermal_total_error_lower',double([]),...
 'n_i_thermal_total_error_upper',double([]),...
 'n_i_total_over_n_e',double([]),...
-'n_i_total_over_n_e_error_index',double(-999999999),...
+'n_i_total_over_n_e_error_index',int32(-999999999),...
 'n_i_total_over_n_e_error_lower',double([]),...
 'n_i_total_over_n_e_error_upper',double([]),...
 'neutral',{{struct(...
 'density',double([]),...
-'density_error_index',double(-999999999),...
+'density_error_index',int32(-999999999),...
 'density_error_lower',double([]),...
 'density_error_upper',double([]),...
 'density_fast',double([]),...
-'density_fast_error_index',double(-999999999),...
+'density_fast_error_index',int32(-999999999),...
 'density_fast_error_lower',double([]),...
 'density_fast_error_upper',double([]),...
 'density_thermal',double([]),...
-'density_thermal_error_index',double(-999999999),...
+'density_thermal_error_index',int32(-999999999),...
 'density_thermal_error_lower',double([]),...
 'density_thermal_error_upper',double([]),...
 'element',{{struct(...
-'a',double(-9.0000000000000006360851714687e+40),...
-'a_error_index',double(-999999999),...
-'a_error_lower',double(-9.0000000000000006360851714687e+40),...
-'a_error_upper',double(-9.0000000000000006360851714687e+40),...
-'atoms_n',double(-999999999),...
-'multiplicity',double(-9.0000000000000006360851714687e+40),...
-'multiplicity_error_index',double(-999999999),...
-'multiplicity_error_lower',double(-9.0000000000000006360851714687e+40),...
-'multiplicity_error_upper',double(-9.0000000000000006360851714687e+40),...
-'z_n',double(-9.0000000000000006360851714687e+40),...
-'z_n_error_index',double(-999999999),...
-'z_n_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_n_error_upper',double(-9.0000000000000006360851714687e+40))
+'a',double(-9e+40),...
+'a_error_index',int32(-999999999),...
+'a_error_lower',double(-9e+40),...
+'a_error_upper',double(-9e+40),...
+'atoms_n',int32(-999999999),...
+'multiplicity',double(-9e+40),...
+'multiplicity_error_index',int32(-999999999),...
+'multiplicity_error_lower',double(-9e+40),...
+'multiplicity_error_upper',double(-9e+40),...
+'z_n',double(-9e+40),...
+'z_n_error_index',int32(-999999999),...
+'z_n_error_lower',double(-9e+40),...
+'z_n_error_upper',double(-9e+40))
 ;}},...
-'ion_index',double(-999999999),...
-'label',double([]),...
-'multiple_states_flag',double(-999999999),...
+'ion_index',int32(-999999999),...
+'label','',...
+'multiple_states_flag',int32(-999999999),...
 'pressure',double([]),...
-'pressure_error_index',double(-999999999),...
+'pressure_error_index',int32(-999999999),...
 'pressure_error_lower',double([]),...
 'pressure_error_upper',double([]),...
 'pressure_fast_parallel',double([]),...
-'pressure_fast_parallel_error_index',double(-999999999),...
+'pressure_fast_parallel_error_index',int32(-999999999),...
 'pressure_fast_parallel_error_lower',double([]),...
 'pressure_fast_parallel_error_upper',double([]),...
 'pressure_fast_perpendicular',double([]),...
-'pressure_fast_perpendicular_error_index',double(-999999999),...
+'pressure_fast_perpendicular_error_index',int32(-999999999),...
 'pressure_fast_perpendicular_error_lower',double([]),...
 'pressure_fast_perpendicular_error_upper',double([]),...
 'pressure_thermal',double([]),...
-'pressure_thermal_error_index',double(-999999999),...
+'pressure_thermal_error_index',int32(-999999999),...
 'pressure_thermal_error_lower',double([]),...
 'pressure_thermal_error_upper',double([]),...
 'state',{{struct(...
 'density',double([]),...
-'density_error_index',double(-999999999),...
+'density_error_index',int32(-999999999),...
 'density_error_lower',double([]),...
 'density_error_upper',double([]),...
 'density_fast',double([]),...
-'density_fast_error_index',double(-999999999),...
+'density_fast_error_index',int32(-999999999),...
 'density_fast_error_lower',double([]),...
 'density_fast_error_upper',double([]),...
 'density_thermal',double([]),...
-'density_thermal_error_index',double(-999999999),...
+'density_thermal_error_index',int32(-999999999),...
 'density_thermal_error_lower',double([]),...
 'density_thermal_error_upper',double([]),...
-'electron_configuration',double([]),...
-'label',double([]),...
+'electron_configuration','',...
+'label','',...
 'neutral_type',struct(...
-'description',double([]),...
-'index',double(-999999999),...
-'name',double([])),...
+'description','',...
+'index',int32(-999999999),...
+'name',''),...
 'pressure',double([]),...
-'pressure_error_index',double(-999999999),...
+'pressure_error_index',int32(-999999999),...
 'pressure_error_lower',double([]),...
 'pressure_error_upper',double([]),...
 'pressure_fast_parallel',double([]),...
-'pressure_fast_parallel_error_index',double(-999999999),...
+'pressure_fast_parallel_error_index',int32(-999999999),...
 'pressure_fast_parallel_error_lower',double([]),...
 'pressure_fast_parallel_error_upper',double([]),...
 'pressure_fast_perpendicular',double([]),...
-'pressure_fast_perpendicular_error_index',double(-999999999),...
+'pressure_fast_perpendicular_error_index',int32(-999999999),...
 'pressure_fast_perpendicular_error_lower',double([]),...
 'pressure_fast_perpendicular_error_upper',double([]),...
 'pressure_thermal',double([]),...
-'pressure_thermal_error_index',double(-999999999),...
+'pressure_thermal_error_index',int32(-999999999),...
 'pressure_thermal_error_lower',double([]),...
 'pressure_thermal_error_upper',double([]),...
 'temperature',double([]),...
-'temperature_error_index',double(-999999999),...
+'temperature_error_index',int32(-999999999),...
 'temperature_error_lower',double([]),...
 'temperature_error_upper',double([]),...
 'velocity',struct(...
 'diamagnetic',double([]),...
-'diamagnetic_error_index',double(-999999999),...
+'diamagnetic_error_index',int32(-999999999),...
 'diamagnetic_error_lower',double([]),...
 'diamagnetic_error_upper',double([]),...
 'parallel',double([]),...
-'parallel_error_index',double(-999999999),...
+'parallel_error_index',int32(-999999999),...
 'parallel_error_lower',double([]),...
 'parallel_error_upper',double([]),...
 'poloidal',double([]),...
-'poloidal_error_index',double(-999999999),...
+'poloidal_error_index',int32(-999999999),...
 'poloidal_error_lower',double([]),...
 'poloidal_error_upper',double([]),...
 'radial',double([]),...
-'radial_error_index',double(-999999999),...
+'radial_error_index',int32(-999999999),...
 'radial_error_lower',double([]),...
 'radial_error_upper',double([]),...
 'toroidal',double([]),...
-'toroidal_error_index',double(-999999999),...
+'toroidal_error_index',int32(-999999999),...
 'toroidal_error_lower',double([]),...
 'toroidal_error_upper',double([])),...
-'vibrational_level',double(-9.0000000000000006360851714687e+40),...
-'vibrational_level_error_index',double(-999999999),...
-'vibrational_level_error_lower',double(-9.0000000000000006360851714687e+40),...
-'vibrational_level_error_upper',double(-9.0000000000000006360851714687e+40),...
-'vibrational_mode',double([]))
+'vibrational_level',double(-9e+40),...
+'vibrational_level_error_index',int32(-999999999),...
+'vibrational_level_error_lower',double(-9e+40),...
+'vibrational_level_error_upper',double(-9e+40),...
+'vibrational_mode','')
 ;}},...
 'temperature',double([]),...
-'temperature_error_index',double(-999999999),...
+'temperature_error_index',int32(-999999999),...
 'temperature_error_lower',double([]),...
 'temperature_error_upper',double([]),...
 'velocity',struct(...
 'diamagnetic',double([]),...
-'diamagnetic_error_index',double(-999999999),...
+'diamagnetic_error_index',int32(-999999999),...
 'diamagnetic_error_lower',double([]),...
 'diamagnetic_error_upper',double([]),...
 'parallel',double([]),...
-'parallel_error_index',double(-999999999),...
+'parallel_error_index',int32(-999999999),...
 'parallel_error_lower',double([]),...
 'parallel_error_upper',double([]),...
 'poloidal',double([]),...
-'poloidal_error_index',double(-999999999),...
+'poloidal_error_index',int32(-999999999),...
 'poloidal_error_lower',double([]),...
 'poloidal_error_upper',double([]),...
 'radial',double([]),...
-'radial_error_index',double(-999999999),...
+'radial_error_index',int32(-999999999),...
 'radial_error_lower',double([]),...
 'radial_error_upper',double([]),...
 'toroidal',double([]),...
-'toroidal_error_index',double(-999999999),...
+'toroidal_error_index',int32(-999999999),...
 'toroidal_error_lower',double([]),...
 'toroidal_error_upper',double([])))
 ;}},...
+'phi_potential',double([]),...
+'phi_potential_error_index',int32(-999999999),...
+'phi_potential_error_lower',double([]),...
+'phi_potential_error_upper',double([]),...
 'pressure_ion_total',double([]),...
-'pressure_ion_total_error_index',double(-999999999),...
+'pressure_ion_total_error_index',int32(-999999999),...
 'pressure_ion_total_error_lower',double([]),...
 'pressure_ion_total_error_upper',double([]),...
 'pressure_parallel',double([]),...
-'pressure_parallel_error_index',double(-999999999),...
+'pressure_parallel_error_index',int32(-999999999),...
 'pressure_parallel_error_lower',double([]),...
 'pressure_parallel_error_upper',double([]),...
 'pressure_perpendicular',double([]),...
-'pressure_perpendicular_error_index',double(-999999999),...
+'pressure_perpendicular_error_index',int32(-999999999),...
 'pressure_perpendicular_error_lower',double([]),...
 'pressure_perpendicular_error_upper',double([]),...
 'pressure_thermal',double([]),...
-'pressure_thermal_error_index',double(-999999999),...
+'pressure_thermal_error_index',int32(-999999999),...
 'pressure_thermal_error_lower',double([]),...
 'pressure_thermal_error_upper',double([]),...
 'q',double([]),...
-'q_error_index',double(-999999999),...
+'q_error_index',int32(-999999999),...
 'q_error_lower',double([]),...
 'q_error_upper',double([]),...
+'rotation_frequency_tor_sonic',double([]),...
+'rotation_frequency_tor_sonic_error_index',int32(-999999999),...
+'rotation_frequency_tor_sonic_error_lower',double([]),...
+'rotation_frequency_tor_sonic_error_upper',double([]),...
 't_i_average',double([]),...
-'t_i_average_error_index',double(-999999999),...
+'t_i_average_error_index',int32(-999999999),...
 't_i_average_error_lower',double([]),...
 't_i_average_error_upper',double([]),...
 't_i_average_fit',struct(...
 'chi_squared',double([]),...
-'chi_squared_error_index',double(-999999999),...
+'chi_squared_error_index',int32(-999999999),...
 'chi_squared_error_lower',double([]),...
 'chi_squared_error_upper',double([]),...
-'local',double([]),...
+'local',int32([]),...
 'measured',double([]),...
-'measured_error_index',double(-999999999),...
+'measured_error_index',int32(-999999999),...
 'measured_error_lower',double([]),...
 'measured_error_upper',double([]),...
-'parameters',double([]),...
+'parameters','',...
 'reconstructed',double([]),...
-'reconstructed_error_index',double(-999999999),...
+'reconstructed_error_index',int32(-999999999),...
 'reconstructed_error_lower',double([]),...
 'reconstructed_error_upper',double([]),...
 'rho_tor_norm',double([]),...
-'rho_tor_norm_error_index',double(-999999999),...
+'rho_tor_norm_error_index',int32(-999999999),...
 'rho_tor_norm_error_lower',double([]),...
 'rho_tor_norm_error_upper',double([]),...
-'source',{{double([]);}},...
+'source',{{}},...
 'time_measurement',double([]),...
-'time_measurement_error_index',double(-999999999),...
+'time_measurement_error_index',int32(-999999999),...
 'time_measurement_error_lower',double([]),...
 'time_measurement_error_upper',double([]),...
 'time_measurement_slice_method',struct(...
-'description',double([]),...
-'index',double(-999999999),...
-'name',double([])),...
+'description','',...
+'index',int32(-999999999),...
+'name',''),...
 'time_measurement_width',double([]),...
-'time_measurement_width_error_index',double(-999999999),...
+'time_measurement_width_error_index',int32(-999999999),...
 'time_measurement_width_error_lower',double([]),...
 'time_measurement_width_error_upper',double([]),...
 'weight',double([]),...
-'weight_error_index',double(-999999999),...
+'weight_error_index',int32(-999999999),...
 'weight_error_lower',double([]),...
 'weight_error_upper',double([])),...
-'time',double(-9.0000000000000006360851714687e+40),...
+'time',double(-9e+40),...
 'zeff',double([]),...
-'zeff_error_index',double(-999999999),...
+'zeff_error_index',int32(-999999999),...
 'zeff_error_lower',double([]),...
 'zeff_error_upper',double([]),...
 'zeff_fit',struct(...
 'chi_squared',double([]),...
-'chi_squared_error_index',double(-999999999),...
+'chi_squared_error_index',int32(-999999999),...
 'chi_squared_error_lower',double([]),...
 'chi_squared_error_upper',double([]),...
-'local',double([]),...
+'local',int32([]),...
 'measured',double([]),...
-'measured_error_index',double(-999999999),...
+'measured_error_index',int32(-999999999),...
 'measured_error_lower',double([]),...
 'measured_error_upper',double([]),...
-'parameters',double([]),...
+'parameters','',...
 'reconstructed',double([]),...
-'reconstructed_error_index',double(-999999999),...
+'reconstructed_error_index',int32(-999999999),...
 'reconstructed_error_lower',double([]),...
 'reconstructed_error_upper',double([]),...
 'rho_tor_norm',double([]),...
-'rho_tor_norm_error_index',double(-999999999),...
+'rho_tor_norm_error_index',int32(-999999999),...
 'rho_tor_norm_error_lower',double([]),...
 'rho_tor_norm_error_upper',double([]),...
-'source',{{double([]);}},...
+'source',{{}},...
 'time_measurement',double([]),...
-'time_measurement_error_index',double(-999999999),...
+'time_measurement_error_index',int32(-999999999),...
 'time_measurement_error_lower',double([]),...
 'time_measurement_error_upper',double([]),...
 'time_measurement_slice_method',struct(...
-'description',double([]),...
-'index',double(-999999999),...
-'name',double([])),...
+'description','',...
+'index',int32(-999999999),...
+'name',''),...
 'time_measurement_width',double([]),...
-'time_measurement_width_error_index',double(-999999999),...
+'time_measurement_width_error_index',int32(-999999999),...
 'time_measurement_width_error_lower',double([]),...
 'time_measurement_width_error_upper',double([]),...
 'weight',double([]),...
-'weight_error_index',double(-999999999),...
+'weight_error_index',int32(-999999999),...
 'weight_error_lower',double([]),...
 'weight_error_upper',double([])))
 ;}},...
 'time',double([]),...
 'vacuum_toroidal_field',struct(...
 'b0',double([]),...
-'b0_error_index',double(-999999999),...
+'b0_error_index',int32(-999999999),...
 'b0_error_lower',double([]),...
 'b0_error_upper',double([]),...
-'r0',double(-9.0000000000000006360851714687e+40),...
-'r0_error_index',double(-999999999),...
-'r0_error_lower',double(-9.0000000000000006360851714687e+40),...
-'r0_error_upper',double(-9.0000000000000006360851714687e+40)));
+'r0',double(-9e+40),...
+'r0_error_index',int32(-999999999),...
+'r0_error_lower',double(-9e+40),...
+'r0_error_upper',double(-9e+40)));
diff --git a/matlab/TCV_IMAS/ids_empty/ids_empty_core_sources.m b/matlab/TCV_IMAS/ids_empty/ids_empty_core_sources.m
index 00122ed1593a37e032ee55a9fe54291f86a0e33b..f25aea259df50f66743c7ded862cd67d90c96043 100644
--- a/matlab/TCV_IMAS/ids_empty/ids_empty_core_sources.m
+++ b/matlab/TCV_IMAS/ids_empty/ids_empty_core_sources.m
@@ -6,403 +6,423 @@ function S = ids_empty_core_sources
 S = ... 
 struct(...
 'code',struct(...
-'commit',double([]),...
-'name',double([]),...
-'output_flag',double([]),...
-'parameters',double([]),...
-'repository',double([]),...
-'version',double([])),...
+'commit','',...
+'name','',...
+'output_flag',int32([]),...
+'parameters','',...
+'repository','',...
+'version',''),...
 'ids_properties',struct(...
-'comment',double([]),...
-'creation_date',double([]),...
-'homogeneous_time',double(-999999999),...
-'provider',double([]),...
-'source',double([])),...
+'comment','',...
+'creation_date','',...
+'homogeneous_time',int32(-999999999),...
+'provider','',...
+'source','',...
+'version_put',struct(...
+'access_layer','',...
+'access_layer_language','',...
+'data_dictionary','')),...
 'source',{{struct(...
 'global_quantities',{{struct(...
-'current_parallel',double(-9.0000000000000006360851714687e+40),...
-'current_parallel_error_index',double(-999999999),...
-'current_parallel_error_lower',double(-9.0000000000000006360851714687e+40),...
-'current_parallel_error_upper',double(-9.0000000000000006360851714687e+40),...
+'current_parallel',double(-9e+40),...
+'current_parallel_error_index',int32(-999999999),...
+'current_parallel_error_lower',double(-9e+40),...
+'current_parallel_error_upper',double(-9e+40),...
 'electrons',struct(...
-'particles',double(-9.0000000000000006360851714687e+40),...
-'particles_error_index',double(-999999999),...
-'particles_error_lower',double(-9.0000000000000006360851714687e+40),...
-'particles_error_upper',double(-9.0000000000000006360851714687e+40),...
-'power',double(-9.0000000000000006360851714687e+40),...
-'power_error_index',double(-999999999),...
-'power_error_lower',double(-9.0000000000000006360851714687e+40),...
-'power_error_upper',double(-9.0000000000000006360851714687e+40)),...
-'power',double(-9.0000000000000006360851714687e+40),...
-'power_error_index',double(-999999999),...
-'power_error_lower',double(-9.0000000000000006360851714687e+40),...
-'power_error_upper',double(-9.0000000000000006360851714687e+40),...
-'time',double(-9.0000000000000006360851714687e+40),...
-'torque_tor',double(-9.0000000000000006360851714687e+40),...
-'torque_tor_error_index',double(-999999999),...
-'torque_tor_error_lower',double(-9.0000000000000006360851714687e+40),...
-'torque_tor_error_upper',double(-9.0000000000000006360851714687e+40),...
-'total_ion_power',double(-9.0000000000000006360851714687e+40),...
-'total_ion_power_error_index',double(-999999999),...
-'total_ion_power_error_lower',double(-9.0000000000000006360851714687e+40),...
-'total_ion_power_error_upper',double(-9.0000000000000006360851714687e+40))
+'particles',double(-9e+40),...
+'particles_error_index',int32(-999999999),...
+'particles_error_lower',double(-9e+40),...
+'particles_error_upper',double(-9e+40),...
+'power',double(-9e+40),...
+'power_error_index',int32(-999999999),...
+'power_error_lower',double(-9e+40),...
+'power_error_upper',double(-9e+40)),...
+'power',double(-9e+40),...
+'power_error_index',int32(-999999999),...
+'power_error_lower',double(-9e+40),...
+'power_error_upper',double(-9e+40),...
+'time',double(-9e+40),...
+'torque_tor',double(-9e+40),...
+'torque_tor_error_index',int32(-999999999),...
+'torque_tor_error_lower',double(-9e+40),...
+'torque_tor_error_upper',double(-9e+40),...
+'total_ion_particles',double(-9e+40),...
+'total_ion_particles_error_index',int32(-999999999),...
+'total_ion_particles_error_lower',double(-9e+40),...
+'total_ion_particles_error_upper',double(-9e+40),...
+'total_ion_power',double(-9e+40),...
+'total_ion_power_error_index',int32(-999999999),...
+'total_ion_power_error_lower',double(-9e+40),...
+'total_ion_power_error_upper',double(-9e+40))
 ;}},...
 'identifier',struct(...
-'description',double([]),...
-'index',double(-999999999),...
-'name',double([])),...
+'description','',...
+'index',int32(-999999999),...
+'name',''),...
 'profiles_1d',{{struct(...
 'conductivity_parallel',double([]),...
-'conductivity_parallel_error_index',double(-999999999),...
+'conductivity_parallel_error_index',int32(-999999999),...
 'conductivity_parallel_error_lower',double([]),...
 'conductivity_parallel_error_upper',double([]),...
 'current_parallel_inside',double([]),...
-'current_parallel_inside_error_index',double(-999999999),...
+'current_parallel_inside_error_index',int32(-999999999),...
 'current_parallel_inside_error_lower',double([]),...
 'current_parallel_inside_error_upper',double([]),...
 'electrons',struct(...
 'energy',double([]),...
 'energy_decomposed',struct(...
 'explicit_part',double([]),...
-'explicit_part_error_index',double(-999999999),...
+'explicit_part_error_index',int32(-999999999),...
 'explicit_part_error_lower',double([]),...
 'explicit_part_error_upper',double([]),...
 'implicit_part',double([]),...
-'implicit_part_error_index',double(-999999999),...
+'implicit_part_error_index',int32(-999999999),...
 'implicit_part_error_lower',double([]),...
 'implicit_part_error_upper',double([])),...
-'energy_error_index',double(-999999999),...
+'energy_error_index',int32(-999999999),...
 'energy_error_lower',double([]),...
 'energy_error_upper',double([]),...
 'particles',double([]),...
 'particles_decomposed',struct(...
 'explicit_part',double([]),...
-'explicit_part_error_index',double(-999999999),...
+'explicit_part_error_index',int32(-999999999),...
 'explicit_part_error_lower',double([]),...
 'explicit_part_error_upper',double([]),...
 'implicit_part',double([]),...
-'implicit_part_error_index',double(-999999999),...
+'implicit_part_error_index',int32(-999999999),...
 'implicit_part_error_lower',double([]),...
 'implicit_part_error_upper',double([])),...
-'particles_error_index',double(-999999999),...
+'particles_error_index',int32(-999999999),...
 'particles_error_lower',double([]),...
 'particles_error_upper',double([]),...
 'particles_inside',double([]),...
-'particles_inside_error_index',double(-999999999),...
+'particles_inside_error_index',int32(-999999999),...
 'particles_inside_error_lower',double([]),...
 'particles_inside_error_upper',double([]),...
 'power_inside',double([]),...
-'power_inside_error_index',double(-999999999),...
+'power_inside_error_index',int32(-999999999),...
 'power_inside_error_lower',double([]),...
 'power_inside_error_upper',double([])),...
 'grid',struct(...
 'area',double([]),...
-'area_error_index',double(-999999999),...
+'area_error_index',int32(-999999999),...
 'area_error_lower',double([]),...
 'area_error_upper',double([]),...
 'psi',double([]),...
-'psi_error_index',double(-999999999),...
+'psi_boundary',double(-9e+40),...
+'psi_boundary_error_index',int32(-999999999),...
+'psi_boundary_error_lower',double(-9e+40),...
+'psi_boundary_error_upper',double(-9e+40),...
+'psi_error_index',int32(-999999999),...
 'psi_error_lower',double([]),...
 'psi_error_upper',double([]),...
+'psi_magnetic_axis',double(-9e+40),...
+'psi_magnetic_axis_error_index',int32(-999999999),...
+'psi_magnetic_axis_error_lower',double(-9e+40),...
+'psi_magnetic_axis_error_upper',double(-9e+40),...
+'rho_pol_norm',double([]),...
+'rho_pol_norm_error_index',int32(-999999999),...
+'rho_pol_norm_error_lower',double([]),...
+'rho_pol_norm_error_upper',double([]),...
 'rho_tor',double([]),...
-'rho_tor_error_index',double(-999999999),...
+'rho_tor_error_index',int32(-999999999),...
 'rho_tor_error_lower',double([]),...
 'rho_tor_error_upper',double([]),...
 'rho_tor_norm',double([]),...
-'rho_tor_norm_error_index',double(-999999999),...
+'rho_tor_norm_error_index',int32(-999999999),...
 'rho_tor_norm_error_lower',double([]),...
 'rho_tor_norm_error_upper',double([]),...
 'volume',double([]),...
-'volume_error_index',double(-999999999),...
+'volume_error_index',int32(-999999999),...
 'volume_error_lower',double([]),...
 'volume_error_upper',double([])),...
 'ion',{{struct(...
 'element',{{struct(...
-'a',double(-9.0000000000000006360851714687e+40),...
-'a_error_index',double(-999999999),...
-'a_error_lower',double(-9.0000000000000006360851714687e+40),...
-'a_error_upper',double(-9.0000000000000006360851714687e+40),...
-'atoms_n',double(-999999999),...
-'multiplicity',double(-9.0000000000000006360851714687e+40),...
-'multiplicity_error_index',double(-999999999),...
-'multiplicity_error_lower',double(-9.0000000000000006360851714687e+40),...
-'multiplicity_error_upper',double(-9.0000000000000006360851714687e+40),...
-'z_n',double(-9.0000000000000006360851714687e+40),...
-'z_n_error_index',double(-999999999),...
-'z_n_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_n_error_upper',double(-9.0000000000000006360851714687e+40))
+'a',double(-9e+40),...
+'a_error_index',int32(-999999999),...
+'a_error_lower',double(-9e+40),...
+'a_error_upper',double(-9e+40),...
+'atoms_n',int32(-999999999),...
+'multiplicity',double(-9e+40),...
+'multiplicity_error_index',int32(-999999999),...
+'multiplicity_error_lower',double(-9e+40),...
+'multiplicity_error_upper',double(-9e+40),...
+'z_n',double(-9e+40),...
+'z_n_error_index',int32(-999999999),...
+'z_n_error_lower',double(-9e+40),...
+'z_n_error_upper',double(-9e+40))
 ;}},...
 'energy',double([]),...
 'energy_decomposed',struct(...
 'explicit_part',double([]),...
-'explicit_part_error_index',double(-999999999),...
+'explicit_part_error_index',int32(-999999999),...
 'explicit_part_error_lower',double([]),...
 'explicit_part_error_upper',double([]),...
 'implicit_part',double([]),...
-'implicit_part_error_index',double(-999999999),...
+'implicit_part_error_index',int32(-999999999),...
 'implicit_part_error_lower',double([]),...
 'implicit_part_error_upper',double([])),...
-'energy_error_index',double(-999999999),...
+'energy_error_index',int32(-999999999),...
 'energy_error_lower',double([]),...
 'energy_error_upper',double([]),...
-'label',double([]),...
+'label','',...
 'momentum',struct(...
 'diamagnetic',double([]),...
-'diamagnetic_error_index',double(-999999999),...
+'diamagnetic_error_index',int32(-999999999),...
 'diamagnetic_error_lower',double([]),...
 'diamagnetic_error_upper',double([]),...
 'parallel',double([]),...
-'parallel_error_index',double(-999999999),...
+'parallel_error_index',int32(-999999999),...
 'parallel_error_lower',double([]),...
 'parallel_error_upper',double([]),...
 'poloidal',double([]),...
-'poloidal_error_index',double(-999999999),...
+'poloidal_error_index',int32(-999999999),...
 'poloidal_error_lower',double([]),...
 'poloidal_error_upper',double([]),...
 'radial',double([]),...
-'radial_error_index',double(-999999999),...
+'radial_error_index',int32(-999999999),...
 'radial_error_lower',double([]),...
 'radial_error_upper',double([]),...
 'toroidal',double([]),...
 'toroidal_decomposed',struct(...
 'explicit_part',double([]),...
-'explicit_part_error_index',double(-999999999),...
+'explicit_part_error_index',int32(-999999999),...
 'explicit_part_error_lower',double([]),...
 'explicit_part_error_upper',double([]),...
 'implicit_part',double([]),...
-'implicit_part_error_index',double(-999999999),...
+'implicit_part_error_index',int32(-999999999),...
 'implicit_part_error_lower',double([]),...
 'implicit_part_error_upper',double([])),...
-'toroidal_error_index',double(-999999999),...
+'toroidal_error_index',int32(-999999999),...
 'toroidal_error_lower',double([]),...
 'toroidal_error_upper',double([])),...
-'multiple_states_flag',double(-999999999),...
-'neutral_index',double(-999999999),...
+'multiple_states_flag',int32(-999999999),...
+'neutral_index',int32(-999999999),...
 'particles',double([]),...
 'particles_decomposed',struct(...
 'explicit_part',double([]),...
-'explicit_part_error_index',double(-999999999),...
+'explicit_part_error_index',int32(-999999999),...
 'explicit_part_error_lower',double([]),...
 'explicit_part_error_upper',double([]),...
 'implicit_part',double([]),...
-'implicit_part_error_index',double(-999999999),...
+'implicit_part_error_index',int32(-999999999),...
 'implicit_part_error_lower',double([]),...
 'implicit_part_error_upper',double([])),...
-'particles_error_index',double(-999999999),...
+'particles_error_index',int32(-999999999),...
 'particles_error_lower',double([]),...
 'particles_error_upper',double([]),...
 'state',{{struct(...
-'electron_configuration',double([]),...
+'electron_configuration','',...
 'energy',double([]),...
 'energy_decomposed',struct(...
 'explicit_part',double([]),...
-'explicit_part_error_index',double(-999999999),...
+'explicit_part_error_index',int32(-999999999),...
 'explicit_part_error_lower',double([]),...
 'explicit_part_error_upper',double([]),...
 'implicit_part',double([]),...
-'implicit_part_error_index',double(-999999999),...
+'implicit_part_error_index',int32(-999999999),...
 'implicit_part_error_lower',double([]),...
 'implicit_part_error_upper',double([])),...
-'energy_error_index',double(-999999999),...
+'energy_error_index',int32(-999999999),...
 'energy_error_lower',double([]),...
 'energy_error_upper',double([]),...
-'is_neutral',double(-999999999),...
-'label',double([]),...
+'is_neutral',int32(-999999999),...
+'label','',...
 'neutral_type',struct(...
-'description',double([]),...
-'index',double(-999999999),...
-'name',double([])),...
+'description','',...
+'index',int32(-999999999),...
+'name',''),...
 'particles',double([]),...
 'particles_decomposed',struct(...
 'explicit_part',double([]),...
-'explicit_part_error_index',double(-999999999),...
+'explicit_part_error_index',int32(-999999999),...
 'explicit_part_error_lower',double([]),...
 'explicit_part_error_upper',double([]),...
 'implicit_part',double([]),...
-'implicit_part_error_index',double(-999999999),...
+'implicit_part_error_index',int32(-999999999),...
 'implicit_part_error_lower',double([]),...
 'implicit_part_error_upper',double([])),...
-'particles_error_index',double(-999999999),...
+'particles_error_index',int32(-999999999),...
 'particles_error_lower',double([]),...
 'particles_error_upper',double([]),...
-'vibrational_level',double(-9.0000000000000006360851714687e+40),...
-'vibrational_level_error_index',double(-999999999),...
-'vibrational_level_error_lower',double(-9.0000000000000006360851714687e+40),...
-'vibrational_level_error_upper',double(-9.0000000000000006360851714687e+40),...
-'vibrational_mode',double([]),...
-'z_max',double(-9.0000000000000006360851714687e+40),...
-'z_max_error_index',double(-999999999),...
-'z_max_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_max_error_upper',double(-9.0000000000000006360851714687e+40),...
-'z_min',double(-9.0000000000000006360851714687e+40),...
-'z_min_error_index',double(-999999999),...
-'z_min_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_min_error_upper',double(-9.0000000000000006360851714687e+40))
+'vibrational_level',double(-9e+40),...
+'vibrational_level_error_index',int32(-999999999),...
+'vibrational_level_error_lower',double(-9e+40),...
+'vibrational_level_error_upper',double(-9e+40),...
+'vibrational_mode','',...
+'z_max',double(-9e+40),...
+'z_max_error_index',int32(-999999999),...
+'z_max_error_lower',double(-9e+40),...
+'z_max_error_upper',double(-9e+40),...
+'z_min',double(-9e+40),...
+'z_min_error_index',int32(-999999999),...
+'z_min_error_lower',double(-9e+40),...
+'z_min_error_upper',double(-9e+40))
 ;}},...
-'z_ion',double(-9.0000000000000006360851714687e+40),...
-'z_ion_error_index',double(-999999999),...
-'z_ion_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_ion_error_upper',double(-9.0000000000000006360851714687e+40))
+'z_ion',double(-9e+40),...
+'z_ion_error_index',int32(-999999999),...
+'z_ion_error_lower',double(-9e+40),...
+'z_ion_error_upper',double(-9e+40))
 ;}},...
 'j_parallel',double([]),...
-'j_parallel_error_index',double(-999999999),...
+'j_parallel_error_index',int32(-999999999),...
 'j_parallel_error_lower',double([]),...
 'j_parallel_error_upper',double([]),...
 'momentum_tor',double([]),...
-'momentum_tor_error_index',double(-999999999),...
+'momentum_tor_error_index',int32(-999999999),...
 'momentum_tor_error_lower',double([]),...
 'momentum_tor_error_upper',double([]),...
 'neutral',{{struct(...
 'element',{{struct(...
-'a',double(-9.0000000000000006360851714687e+40),...
-'a_error_index',double(-999999999),...
-'a_error_lower',double(-9.0000000000000006360851714687e+40),...
-'a_error_upper',double(-9.0000000000000006360851714687e+40),...
-'atoms_n',double(-999999999),...
-'multiplicity',double(-9.0000000000000006360851714687e+40),...
-'multiplicity_error_index',double(-999999999),...
-'multiplicity_error_lower',double(-9.0000000000000006360851714687e+40),...
-'multiplicity_error_upper',double(-9.0000000000000006360851714687e+40),...
-'z_n',double(-9.0000000000000006360851714687e+40),...
-'z_n_error_index',double(-999999999),...
-'z_n_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_n_error_upper',double(-9.0000000000000006360851714687e+40))
+'a',double(-9e+40),...
+'a_error_index',int32(-999999999),...
+'a_error_lower',double(-9e+40),...
+'a_error_upper',double(-9e+40),...
+'atoms_n',int32(-999999999),...
+'multiplicity',double(-9e+40),...
+'multiplicity_error_index',int32(-999999999),...
+'multiplicity_error_lower',double(-9e+40),...
+'multiplicity_error_upper',double(-9e+40),...
+'z_n',double(-9e+40),...
+'z_n_error_index',int32(-999999999),...
+'z_n_error_lower',double(-9e+40),...
+'z_n_error_upper',double(-9e+40))
 ;}},...
 'energy',double([]),...
-'energy_error_index',double(-999999999),...
+'energy_error_index',int32(-999999999),...
 'energy_error_lower',double([]),...
 'energy_error_upper',double([]),...
-'ion_index',double(-999999999),...
-'label',double([]),...
-'multiple_states_flag',double(-999999999),...
+'ion_index',int32(-999999999),...
+'label','',...
+'multiple_states_flag',int32(-999999999),...
 'particles',double([]),...
-'particles_error_index',double(-999999999),...
+'particles_error_index',int32(-999999999),...
 'particles_error_lower',double([]),...
 'particles_error_upper',double([]),...
 'state',{{struct(...
-'electron_configuration',double([]),...
+'electron_configuration','',...
 'energy',double([]),...
-'energy_error_index',double(-999999999),...
+'energy_error_index',int32(-999999999),...
 'energy_error_lower',double([]),...
 'energy_error_upper',double([]),...
-'label',double([]),...
+'label','',...
 'neutral_type',struct(...
-'description',double([]),...
-'index',double(-999999999),...
-'name',double([])),...
+'description','',...
+'index',int32(-999999999),...
+'name',''),...
 'particles',double([]),...
-'particles_error_index',double(-999999999),...
+'particles_error_index',int32(-999999999),...
 'particles_error_lower',double([]),...
 'particles_error_upper',double([]),...
-'vibrational_level',double(-9.0000000000000006360851714687e+40),...
-'vibrational_level_error_index',double(-999999999),...
-'vibrational_level_error_lower',double(-9.0000000000000006360851714687e+40),...
-'vibrational_level_error_upper',double(-9.0000000000000006360851714687e+40),...
-'vibrational_mode',double([]))
+'vibrational_level',double(-9e+40),...
+'vibrational_level_error_index',int32(-999999999),...
+'vibrational_level_error_lower',double(-9e+40),...
+'vibrational_level_error_upper',double(-9e+40),...
+'vibrational_mode','')
 ;}})
 ;}},...
-'time',double(-9.0000000000000006360851714687e+40),...
+'time',double(-9e+40),...
 'torque_tor_inside',double([]),...
-'torque_tor_inside_error_index',double(-999999999),...
+'torque_tor_inside_error_index',int32(-999999999),...
 'torque_tor_inside_error_lower',double([]),...
 'torque_tor_inside_error_upper',double([]),...
 'total_ion_energy',double([]),...
 'total_ion_energy_decomposed',struct(...
 'explicit_part',double([]),...
-'explicit_part_error_index',double(-999999999),...
+'explicit_part_error_index',int32(-999999999),...
 'explicit_part_error_lower',double([]),...
 'explicit_part_error_upper',double([]),...
 'implicit_part',double([]),...
-'implicit_part_error_index',double(-999999999),...
+'implicit_part_error_index',int32(-999999999),...
 'implicit_part_error_lower',double([]),...
 'implicit_part_error_upper',double([])),...
-'total_ion_energy_error_index',double(-999999999),...
+'total_ion_energy_error_index',int32(-999999999),...
 'total_ion_energy_error_lower',double([]),...
 'total_ion_energy_error_upper',double([]),...
 'total_ion_power_inside',double([]),...
-'total_ion_power_inside_error_index',double(-999999999),...
+'total_ion_power_inside_error_index',int32(-999999999),...
 'total_ion_power_inside_error_lower',double([]),...
 'total_ion_power_inside_error_upper',double([]))
 ;}},...
 'species',struct(...
 'ion',struct(...
 'element',{{struct(...
-'a',double(-9.0000000000000006360851714687e+40),...
-'a_error_index',double(-999999999),...
-'a_error_lower',double(-9.0000000000000006360851714687e+40),...
-'a_error_upper',double(-9.0000000000000006360851714687e+40),...
-'atoms_n',double(-999999999),...
-'multiplicity',double(-9.0000000000000006360851714687e+40),...
-'multiplicity_error_index',double(-999999999),...
-'multiplicity_error_lower',double(-9.0000000000000006360851714687e+40),...
-'multiplicity_error_upper',double(-9.0000000000000006360851714687e+40),...
-'z_n',double(-9.0000000000000006360851714687e+40),...
-'z_n_error_index',double(-999999999),...
-'z_n_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_n_error_upper',double(-9.0000000000000006360851714687e+40))
+'a',double(-9e+40),...
+'a_error_index',int32(-999999999),...
+'a_error_lower',double(-9e+40),...
+'a_error_upper',double(-9e+40),...
+'atoms_n',int32(-999999999),...
+'multiplicity',double(-9e+40),...
+'multiplicity_error_index',int32(-999999999),...
+'multiplicity_error_lower',double(-9e+40),...
+'multiplicity_error_upper',double(-9e+40),...
+'z_n',double(-9e+40),...
+'z_n_error_index',int32(-999999999),...
+'z_n_error_lower',double(-9e+40),...
+'z_n_error_upper',double(-9e+40))
 ;}},...
-'label',double([]),...
+'label','',...
 'state',struct(...
-'electron_configuration',double([]),...
-'label',double([]),...
-'vibrational_level',double(-9.0000000000000006360851714687e+40),...
-'vibrational_level_error_index',double(-999999999),...
-'vibrational_level_error_lower',double(-9.0000000000000006360851714687e+40),...
-'vibrational_level_error_upper',double(-9.0000000000000006360851714687e+40),...
-'vibrational_mode',double([]),...
-'z_max',double(-9.0000000000000006360851714687e+40),...
-'z_max_error_index',double(-999999999),...
-'z_max_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_max_error_upper',double(-9.0000000000000006360851714687e+40),...
-'z_min',double(-9.0000000000000006360851714687e+40),...
-'z_min_error_index',double(-999999999),...
-'z_min_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_min_error_upper',double(-9.0000000000000006360851714687e+40)),...
-'z_ion',double(-9.0000000000000006360851714687e+40),...
-'z_ion_error_index',double(-999999999),...
-'z_ion_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_ion_error_upper',double(-9.0000000000000006360851714687e+40)),...
+'electron_configuration','',...
+'label','',...
+'vibrational_level',double(-9e+40),...
+'vibrational_level_error_index',int32(-999999999),...
+'vibrational_level_error_lower',double(-9e+40),...
+'vibrational_level_error_upper',double(-9e+40),...
+'vibrational_mode','',...
+'z_max',double(-9e+40),...
+'z_max_error_index',int32(-999999999),...
+'z_max_error_lower',double(-9e+40),...
+'z_max_error_upper',double(-9e+40),...
+'z_min',double(-9e+40),...
+'z_min_error_index',int32(-999999999),...
+'z_min_error_lower',double(-9e+40),...
+'z_min_error_upper',double(-9e+40)),...
+'z_ion',double(-9e+40),...
+'z_ion_error_index',int32(-999999999),...
+'z_ion_error_lower',double(-9e+40),...
+'z_ion_error_upper',double(-9e+40)),...
 'neutral',struct(...
 'element',{{struct(...
-'a',double(-9.0000000000000006360851714687e+40),...
-'a_error_index',double(-999999999),...
-'a_error_lower',double(-9.0000000000000006360851714687e+40),...
-'a_error_upper',double(-9.0000000000000006360851714687e+40),...
-'atoms_n',double(-999999999),...
-'multiplicity',double(-9.0000000000000006360851714687e+40),...
-'multiplicity_error_index',double(-999999999),...
-'multiplicity_error_lower',double(-9.0000000000000006360851714687e+40),...
-'multiplicity_error_upper',double(-9.0000000000000006360851714687e+40),...
-'z_n',double(-9.0000000000000006360851714687e+40),...
-'z_n_error_index',double(-999999999),...
-'z_n_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_n_error_upper',double(-9.0000000000000006360851714687e+40))
+'a',double(-9e+40),...
+'a_error_index',int32(-999999999),...
+'a_error_lower',double(-9e+40),...
+'a_error_upper',double(-9e+40),...
+'atoms_n',int32(-999999999),...
+'multiplicity',double(-9e+40),...
+'multiplicity_error_index',int32(-999999999),...
+'multiplicity_error_lower',double(-9e+40),...
+'multiplicity_error_upper',double(-9e+40),...
+'z_n',double(-9e+40),...
+'z_n_error_index',int32(-999999999),...
+'z_n_error_lower',double(-9e+40),...
+'z_n_error_upper',double(-9e+40))
 ;}},...
-'label',double([]),...
+'label','',...
 'state',struct(...
-'electron_configuration',double([]),...
-'label',double([]),...
+'electron_configuration','',...
+'label','',...
 'neutral_type',struct(...
-'description',double([]),...
-'index',double(-999999999),...
-'name',double([])),...
-'vibrational_level',double(-9.0000000000000006360851714687e+40),...
-'vibrational_level_error_index',double(-999999999),...
-'vibrational_level_error_lower',double(-9.0000000000000006360851714687e+40),...
-'vibrational_level_error_upper',double(-9.0000000000000006360851714687e+40),...
-'vibrational_mode',double([]))),...
+'description','',...
+'index',int32(-999999999),...
+'name',''),...
+'vibrational_level',double(-9e+40),...
+'vibrational_level_error_index',int32(-999999999),...
+'vibrational_level_error_lower',double(-9e+40),...
+'vibrational_level_error_upper',double(-9e+40),...
+'vibrational_mode','')),...
 'type',struct(...
-'description',double([]),...
-'index',double(-999999999),...
-'name',double([]))))
+'description','',...
+'index',int32(-999999999),...
+'name','')))
 ;}},...
 'time',double([]),...
 'vacuum_toroidal_field',struct(...
 'b0',double([]),...
-'b0_error_index',double(-999999999),...
+'b0_error_index',int32(-999999999),...
 'b0_error_lower',double([]),...
 'b0_error_upper',double([]),...
-'r0',double(-9.0000000000000006360851714687e+40),...
-'r0_error_index',double(-999999999),...
-'r0_error_lower',double(-9.0000000000000006360851714687e+40),...
-'r0_error_upper',double(-9.0000000000000006360851714687e+40)));
+'r0',double(-9e+40),...
+'r0_error_index',int32(-999999999),...
+'r0_error_lower',double(-9e+40),...
+'r0_error_upper',double(-9e+40)));
diff --git a/matlab/TCV_IMAS/ids_empty/ids_empty_core_transport.m b/matlab/TCV_IMAS/ids_empty/ids_empty_core_transport.m
index 49512b663d3262049da1674287e5d96886d5af5f..419938ed7052a8100c838e5248cc96c0ca723ba6 100644
--- a/matlab/TCV_IMAS/ids_empty/ids_empty_core_transport.m
+++ b/matlab/TCV_IMAS/ids_empty/ids_empty_core_transport.m
@@ -6,512 +6,552 @@ function S = ids_empty_core_transport
 S = ... 
 struct(...
 'code',struct(...
-'commit',double([]),...
-'name',double([]),...
-'output_flag',double([]),...
-'parameters',double([]),...
-'repository',double([]),...
-'version',double([])),...
+'commit','',...
+'name','',...
+'output_flag',int32([]),...
+'parameters','',...
+'repository','',...
+'version',''),...
 'ids_properties',struct(...
-'comment',double([]),...
-'creation_date',double([]),...
-'homogeneous_time',double(-999999999),...
-'provider',double([]),...
-'source',double([])),...
+'comment','',...
+'creation_date','',...
+'homogeneous_time',int32(-999999999),...
+'provider','',...
+'source','',...
+'version_put',struct(...
+'access_layer','',...
+'access_layer_language','',...
+'data_dictionary','')),...
 'model',{{struct(...
 'code',struct(...
-'commit',double([]),...
-'name',double([]),...
+'commit','',...
+'name','',...
 'output_flag',struct(...
-'data',double([]),...
+'data',int32([]),...
 'time',double([])),...
-'parameters',double([]),...
-'repository',double([]),...
-'version',double([])),...
-'comment',double([]),...
-'flux_multiplier',double(-9.0000000000000006360851714687e+40),...
-'flux_multiplier_error_index',double(-999999999),...
-'flux_multiplier_error_lower',double(-9.0000000000000006360851714687e+40),...
-'flux_multiplier_error_upper',double(-9.0000000000000006360851714687e+40),...
+'parameters','',...
+'repository','',...
+'version',''),...
+'comment','',...
+'flux_multiplier',double(-9e+40),...
+'flux_multiplier_error_index',int32(-999999999),...
+'flux_multiplier_error_lower',double(-9e+40),...
+'flux_multiplier_error_upper',double(-9e+40),...
 'identifier',struct(...
-'description',double([]),...
-'index',double(-999999999),...
-'name',double([])),...
+'description','',...
+'index',int32(-999999999),...
+'name',''),...
 'profiles_1d',{{struct(...
 'conductivity_parallel',double([]),...
-'conductivity_parallel_error_index',double(-999999999),...
+'conductivity_parallel_error_index',int32(-999999999),...
 'conductivity_parallel_error_lower',double([]),...
 'conductivity_parallel_error_upper',double([]),...
 'e_field_radial',double([]),...
-'e_field_radial_error_index',double(-999999999),...
+'e_field_radial_error_index',int32(-999999999),...
 'e_field_radial_error_lower',double([]),...
 'e_field_radial_error_upper',double([]),...
 'electrons',struct(...
 'energy',struct(...
 'd',double([]),...
-'d_error_index',double(-999999999),...
+'d_error_index',int32(-999999999),...
 'd_error_lower',double([]),...
 'd_error_upper',double([]),...
 'flux',double([]),...
-'flux_error_index',double(-999999999),...
+'flux_error_index',int32(-999999999),...
 'flux_error_lower',double([]),...
 'flux_error_upper',double([]),...
 'v',double([]),...
-'v_error_index',double(-999999999),...
+'v_error_index',int32(-999999999),...
 'v_error_lower',double([]),...
 'v_error_upper',double([])),...
 'particles',struct(...
 'd',double([]),...
-'d_error_index',double(-999999999),...
+'d_error_index',int32(-999999999),...
 'd_error_lower',double([]),...
 'd_error_upper',double([]),...
 'flux',double([]),...
-'flux_error_index',double(-999999999),...
+'flux_error_index',int32(-999999999),...
 'flux_error_lower',double([]),...
 'flux_error_upper',double([]),...
 'v',double([]),...
-'v_error_index',double(-999999999),...
+'v_error_index',int32(-999999999),...
 'v_error_lower',double([]),...
 'v_error_upper',double([]))),...
 'grid_d',struct(...
 'area',double([]),...
-'area_error_index',double(-999999999),...
+'area_error_index',int32(-999999999),...
 'area_error_lower',double([]),...
 'area_error_upper',double([]),...
 'psi',double([]),...
-'psi_error_index',double(-999999999),...
+'psi_boundary',double(-9e+40),...
+'psi_boundary_error_index',int32(-999999999),...
+'psi_boundary_error_lower',double(-9e+40),...
+'psi_boundary_error_upper',double(-9e+40),...
+'psi_error_index',int32(-999999999),...
 'psi_error_lower',double([]),...
 'psi_error_upper',double([]),...
+'psi_magnetic_axis',double(-9e+40),...
+'psi_magnetic_axis_error_index',int32(-999999999),...
+'psi_magnetic_axis_error_lower',double(-9e+40),...
+'psi_magnetic_axis_error_upper',double(-9e+40),...
+'rho_pol_norm',double([]),...
+'rho_pol_norm_error_index',int32(-999999999),...
+'rho_pol_norm_error_lower',double([]),...
+'rho_pol_norm_error_upper',double([]),...
 'rho_tor',double([]),...
-'rho_tor_error_index',double(-999999999),...
+'rho_tor_error_index',int32(-999999999),...
 'rho_tor_error_lower',double([]),...
 'rho_tor_error_upper',double([]),...
 'rho_tor_norm',double([]),...
-'rho_tor_norm_error_index',double(-999999999),...
+'rho_tor_norm_error_index',int32(-999999999),...
 'rho_tor_norm_error_lower',double([]),...
 'rho_tor_norm_error_upper',double([]),...
 'volume',double([]),...
-'volume_error_index',double(-999999999),...
+'volume_error_index',int32(-999999999),...
 'volume_error_lower',double([]),...
 'volume_error_upper',double([])),...
 'grid_flux',struct(...
 'area',double([]),...
-'area_error_index',double(-999999999),...
+'area_error_index',int32(-999999999),...
 'area_error_lower',double([]),...
 'area_error_upper',double([]),...
 'psi',double([]),...
-'psi_error_index',double(-999999999),...
+'psi_boundary',double(-9e+40),...
+'psi_boundary_error_index',int32(-999999999),...
+'psi_boundary_error_lower',double(-9e+40),...
+'psi_boundary_error_upper',double(-9e+40),...
+'psi_error_index',int32(-999999999),...
 'psi_error_lower',double([]),...
 'psi_error_upper',double([]),...
+'psi_magnetic_axis',double(-9e+40),...
+'psi_magnetic_axis_error_index',int32(-999999999),...
+'psi_magnetic_axis_error_lower',double(-9e+40),...
+'psi_magnetic_axis_error_upper',double(-9e+40),...
+'rho_pol_norm',double([]),...
+'rho_pol_norm_error_index',int32(-999999999),...
+'rho_pol_norm_error_lower',double([]),...
+'rho_pol_norm_error_upper',double([]),...
 'rho_tor',double([]),...
-'rho_tor_error_index',double(-999999999),...
+'rho_tor_error_index',int32(-999999999),...
 'rho_tor_error_lower',double([]),...
 'rho_tor_error_upper',double([]),...
 'rho_tor_norm',double([]),...
-'rho_tor_norm_error_index',double(-999999999),...
+'rho_tor_norm_error_index',int32(-999999999),...
 'rho_tor_norm_error_lower',double([]),...
 'rho_tor_norm_error_upper',double([]),...
 'volume',double([]),...
-'volume_error_index',double(-999999999),...
+'volume_error_index',int32(-999999999),...
 'volume_error_lower',double([]),...
 'volume_error_upper',double([])),...
 'grid_v',struct(...
 'area',double([]),...
-'area_error_index',double(-999999999),...
+'area_error_index',int32(-999999999),...
 'area_error_lower',double([]),...
 'area_error_upper',double([]),...
 'psi',double([]),...
-'psi_error_index',double(-999999999),...
+'psi_boundary',double(-9e+40),...
+'psi_boundary_error_index',int32(-999999999),...
+'psi_boundary_error_lower',double(-9e+40),...
+'psi_boundary_error_upper',double(-9e+40),...
+'psi_error_index',int32(-999999999),...
 'psi_error_lower',double([]),...
 'psi_error_upper',double([]),...
+'psi_magnetic_axis',double(-9e+40),...
+'psi_magnetic_axis_error_index',int32(-999999999),...
+'psi_magnetic_axis_error_lower',double(-9e+40),...
+'psi_magnetic_axis_error_upper',double(-9e+40),...
+'rho_pol_norm',double([]),...
+'rho_pol_norm_error_index',int32(-999999999),...
+'rho_pol_norm_error_lower',double([]),...
+'rho_pol_norm_error_upper',double([]),...
 'rho_tor',double([]),...
-'rho_tor_error_index',double(-999999999),...
+'rho_tor_error_index',int32(-999999999),...
 'rho_tor_error_lower',double([]),...
 'rho_tor_error_upper',double([]),...
 'rho_tor_norm',double([]),...
-'rho_tor_norm_error_index',double(-999999999),...
+'rho_tor_norm_error_index',int32(-999999999),...
 'rho_tor_norm_error_lower',double([]),...
 'rho_tor_norm_error_upper',double([]),...
 'volume',double([]),...
-'volume_error_index',double(-999999999),...
+'volume_error_index',int32(-999999999),...
 'volume_error_lower',double([]),...
 'volume_error_upper',double([])),...
 'ion',{{struct(...
 'element',{{struct(...
-'a',double(-9.0000000000000006360851714687e+40),...
-'a_error_index',double(-999999999),...
-'a_error_lower',double(-9.0000000000000006360851714687e+40),...
-'a_error_upper',double(-9.0000000000000006360851714687e+40),...
-'atoms_n',double(-999999999),...
-'multiplicity',double(-9.0000000000000006360851714687e+40),...
-'multiplicity_error_index',double(-999999999),...
-'multiplicity_error_lower',double(-9.0000000000000006360851714687e+40),...
-'multiplicity_error_upper',double(-9.0000000000000006360851714687e+40),...
-'z_n',double(-9.0000000000000006360851714687e+40),...
-'z_n_error_index',double(-999999999),...
-'z_n_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_n_error_upper',double(-9.0000000000000006360851714687e+40))
+'a',double(-9e+40),...
+'a_error_index',int32(-999999999),...
+'a_error_lower',double(-9e+40),...
+'a_error_upper',double(-9e+40),...
+'atoms_n',int32(-999999999),...
+'multiplicity',double(-9e+40),...
+'multiplicity_error_index',int32(-999999999),...
+'multiplicity_error_lower',double(-9e+40),...
+'multiplicity_error_upper',double(-9e+40),...
+'z_n',double(-9e+40),...
+'z_n_error_index',int32(-999999999),...
+'z_n_error_lower',double(-9e+40),...
+'z_n_error_upper',double(-9e+40))
 ;}},...
 'energy',struct(...
 'd',double([]),...
-'d_error_index',double(-999999999),...
+'d_error_index',int32(-999999999),...
 'd_error_lower',double([]),...
 'd_error_upper',double([]),...
 'flux',double([]),...
-'flux_error_index',double(-999999999),...
+'flux_error_index',int32(-999999999),...
 'flux_error_lower',double([]),...
 'flux_error_upper',double([]),...
 'v',double([]),...
-'v_error_index',double(-999999999),...
+'v_error_index',int32(-999999999),...
 'v_error_lower',double([]),...
 'v_error_upper',double([])),...
-'label',double([]),...
+'label','',...
 'momentum',struct(...
 'diamagnetic',struct(...
 'd',double([]),...
-'d_error_index',double(-999999999),...
+'d_error_index',int32(-999999999),...
 'd_error_lower',double([]),...
 'd_error_upper',double([]),...
 'flow_damping_rate',double([]),...
-'flow_damping_rate_error_index',double(-999999999),...
+'flow_damping_rate_error_index',int32(-999999999),...
 'flow_damping_rate_error_lower',double([]),...
 'flow_damping_rate_error_upper',double([]),...
 'flux',double([]),...
-'flux_error_index',double(-999999999),...
+'flux_error_index',int32(-999999999),...
 'flux_error_lower',double([]),...
 'flux_error_upper',double([]),...
 'v',double([]),...
-'v_error_index',double(-999999999),...
+'v_error_index',int32(-999999999),...
 'v_error_lower',double([]),...
 'v_error_upper',double([])),...
 'parallel',struct(...
 'd',double([]),...
-'d_error_index',double(-999999999),...
+'d_error_index',int32(-999999999),...
 'd_error_lower',double([]),...
 'd_error_upper',double([]),...
 'flow_damping_rate',double([]),...
-'flow_damping_rate_error_index',double(-999999999),...
+'flow_damping_rate_error_index',int32(-999999999),...
 'flow_damping_rate_error_lower',double([]),...
 'flow_damping_rate_error_upper',double([]),...
 'flux',double([]),...
-'flux_error_index',double(-999999999),...
+'flux_error_index',int32(-999999999),...
 'flux_error_lower',double([]),...
 'flux_error_upper',double([]),...
 'v',double([]),...
-'v_error_index',double(-999999999),...
+'v_error_index',int32(-999999999),...
 'v_error_lower',double([]),...
 'v_error_upper',double([])),...
 'poloidal',struct(...
 'd',double([]),...
-'d_error_index',double(-999999999),...
+'d_error_index',int32(-999999999),...
 'd_error_lower',double([]),...
 'd_error_upper',double([]),...
 'flow_damping_rate',double([]),...
-'flow_damping_rate_error_index',double(-999999999),...
+'flow_damping_rate_error_index',int32(-999999999),...
 'flow_damping_rate_error_lower',double([]),...
 'flow_damping_rate_error_upper',double([]),...
 'flux',double([]),...
-'flux_error_index',double(-999999999),...
+'flux_error_index',int32(-999999999),...
 'flux_error_lower',double([]),...
 'flux_error_upper',double([]),...
 'v',double([]),...
-'v_error_index',double(-999999999),...
+'v_error_index',int32(-999999999),...
 'v_error_lower',double([]),...
 'v_error_upper',double([])),...
 'radial',struct(...
 'd',double([]),...
-'d_error_index',double(-999999999),...
+'d_error_index',int32(-999999999),...
 'd_error_lower',double([]),...
 'd_error_upper',double([]),...
 'flow_damping_rate',double([]),...
-'flow_damping_rate_error_index',double(-999999999),...
+'flow_damping_rate_error_index',int32(-999999999),...
 'flow_damping_rate_error_lower',double([]),...
 'flow_damping_rate_error_upper',double([]),...
 'flux',double([]),...
-'flux_error_index',double(-999999999),...
+'flux_error_index',int32(-999999999),...
 'flux_error_lower',double([]),...
 'flux_error_upper',double([]),...
 'v',double([]),...
-'v_error_index',double(-999999999),...
+'v_error_index',int32(-999999999),...
 'v_error_lower',double([]),...
 'v_error_upper',double([])),...
 'toroidal',struct(...
 'd',double([]),...
-'d_error_index',double(-999999999),...
+'d_error_index',int32(-999999999),...
 'd_error_lower',double([]),...
 'd_error_upper',double([]),...
 'flow_damping_rate',double([]),...
-'flow_damping_rate_error_index',double(-999999999),...
+'flow_damping_rate_error_index',int32(-999999999),...
 'flow_damping_rate_error_lower',double([]),...
 'flow_damping_rate_error_upper',double([]),...
 'flux',double([]),...
-'flux_error_index',double(-999999999),...
+'flux_error_index',int32(-999999999),...
 'flux_error_lower',double([]),...
 'flux_error_upper',double([]),...
 'v',double([]),...
-'v_error_index',double(-999999999),...
+'v_error_index',int32(-999999999),...
 'v_error_lower',double([]),...
 'v_error_upper',double([]))),...
-'multiple_states_flag',double(-999999999),...
-'neutral_index',double(-999999999),...
+'multiple_states_flag',int32(-999999999),...
+'neutral_index',int32(-999999999),...
 'particles',struct(...
 'd',double([]),...
-'d_error_index',double(-999999999),...
+'d_error_index',int32(-999999999),...
 'd_error_lower',double([]),...
 'd_error_upper',double([]),...
 'flux',double([]),...
-'flux_error_index',double(-999999999),...
+'flux_error_index',int32(-999999999),...
 'flux_error_lower',double([]),...
 'flux_error_upper',double([]),...
 'v',double([]),...
-'v_error_index',double(-999999999),...
+'v_error_index',int32(-999999999),...
 'v_error_lower',double([]),...
 'v_error_upper',double([])),...
 'state',{{struct(...
-'electron_configuration',double([]),...
+'electron_configuration','',...
 'energy',struct(...
 'd',double([]),...
-'d_error_index',double(-999999999),...
+'d_error_index',int32(-999999999),...
 'd_error_lower',double([]),...
 'd_error_upper',double([]),...
 'flux',double([]),...
-'flux_error_index',double(-999999999),...
+'flux_error_index',int32(-999999999),...
 'flux_error_lower',double([]),...
 'flux_error_upper',double([]),...
 'v',double([]),...
-'v_error_index',double(-999999999),...
+'v_error_index',int32(-999999999),...
 'v_error_lower',double([]),...
 'v_error_upper',double([])),...
-'is_neutral',double(-999999999),...
-'label',double([]),...
+'is_neutral',int32(-999999999),...
+'label','',...
 'momentum',struct(...
 'diamagnetic',struct(...
 'd',double([]),...
-'d_error_index',double(-999999999),...
+'d_error_index',int32(-999999999),...
 'd_error_lower',double([]),...
 'd_error_upper',double([]),...
 'flow_damping_rate',double([]),...
-'flow_damping_rate_error_index',double(-999999999),...
+'flow_damping_rate_error_index',int32(-999999999),...
 'flow_damping_rate_error_lower',double([]),...
 'flow_damping_rate_error_upper',double([]),...
 'flux',double([]),...
-'flux_error_index',double(-999999999),...
+'flux_error_index',int32(-999999999),...
 'flux_error_lower',double([]),...
 'flux_error_upper',double([]),...
 'v',double([]),...
-'v_error_index',double(-999999999),...
+'v_error_index',int32(-999999999),...
 'v_error_lower',double([]),...
 'v_error_upper',double([])),...
 'parallel',struct(...
 'd',double([]),...
-'d_error_index',double(-999999999),...
+'d_error_index',int32(-999999999),...
 'd_error_lower',double([]),...
 'd_error_upper',double([]),...
 'flow_damping_rate',double([]),...
-'flow_damping_rate_error_index',double(-999999999),...
+'flow_damping_rate_error_index',int32(-999999999),...
 'flow_damping_rate_error_lower',double([]),...
 'flow_damping_rate_error_upper',double([]),...
 'flux',double([]),...
-'flux_error_index',double(-999999999),...
+'flux_error_index',int32(-999999999),...
 'flux_error_lower',double([]),...
 'flux_error_upper',double([]),...
 'v',double([]),...
-'v_error_index',double(-999999999),...
+'v_error_index',int32(-999999999),...
 'v_error_lower',double([]),...
 'v_error_upper',double([])),...
 'poloidal',struct(...
 'd',double([]),...
-'d_error_index',double(-999999999),...
+'d_error_index',int32(-999999999),...
 'd_error_lower',double([]),...
 'd_error_upper',double([]),...
 'flow_damping_rate',double([]),...
-'flow_damping_rate_error_index',double(-999999999),...
+'flow_damping_rate_error_index',int32(-999999999),...
 'flow_damping_rate_error_lower',double([]),...
 'flow_damping_rate_error_upper',double([]),...
 'flux',double([]),...
-'flux_error_index',double(-999999999),...
+'flux_error_index',int32(-999999999),...
 'flux_error_lower',double([]),...
 'flux_error_upper',double([]),...
 'v',double([]),...
-'v_error_index',double(-999999999),...
+'v_error_index',int32(-999999999),...
 'v_error_lower',double([]),...
 'v_error_upper',double([])),...
 'radial',struct(...
 'd',double([]),...
-'d_error_index',double(-999999999),...
+'d_error_index',int32(-999999999),...
 'd_error_lower',double([]),...
 'd_error_upper',double([]),...
 'flow_damping_rate',double([]),...
-'flow_damping_rate_error_index',double(-999999999),...
+'flow_damping_rate_error_index',int32(-999999999),...
 'flow_damping_rate_error_lower',double([]),...
 'flow_damping_rate_error_upper',double([]),...
 'flux',double([]),...
-'flux_error_index',double(-999999999),...
+'flux_error_index',int32(-999999999),...
 'flux_error_lower',double([]),...
 'flux_error_upper',double([]),...
 'v',double([]),...
-'v_error_index',double(-999999999),...
+'v_error_index',int32(-999999999),...
 'v_error_lower',double([]),...
 'v_error_upper',double([])),...
 'toroidal',struct(...
 'd',double([]),...
-'d_error_index',double(-999999999),...
+'d_error_index',int32(-999999999),...
 'd_error_lower',double([]),...
 'd_error_upper',double([]),...
 'flow_damping_rate',double([]),...
-'flow_damping_rate_error_index',double(-999999999),...
+'flow_damping_rate_error_index',int32(-999999999),...
 'flow_damping_rate_error_lower',double([]),...
 'flow_damping_rate_error_upper',double([]),...
 'flux',double([]),...
-'flux_error_index',double(-999999999),...
+'flux_error_index',int32(-999999999),...
 'flux_error_lower',double([]),...
 'flux_error_upper',double([]),...
 'v',double([]),...
-'v_error_index',double(-999999999),...
+'v_error_index',int32(-999999999),...
 'v_error_lower',double([]),...
 'v_error_upper',double([]))),...
 'neutral_type',struct(...
-'description',double([]),...
-'index',double(-999999999),...
-'name',double([])),...
+'description','',...
+'index',int32(-999999999),...
+'name',''),...
 'particles',struct(...
 'd',double([]),...
-'d_error_index',double(-999999999),...
+'d_error_index',int32(-999999999),...
 'd_error_lower',double([]),...
 'd_error_upper',double([]),...
 'flux',double([]),...
-'flux_error_index',double(-999999999),...
+'flux_error_index',int32(-999999999),...
 'flux_error_lower',double([]),...
 'flux_error_upper',double([]),...
 'v',double([]),...
-'v_error_index',double(-999999999),...
+'v_error_index',int32(-999999999),...
 'v_error_lower',double([]),...
 'v_error_upper',double([])),...
-'vibrational_level',double(-9.0000000000000006360851714687e+40),...
-'vibrational_level_error_index',double(-999999999),...
-'vibrational_level_error_lower',double(-9.0000000000000006360851714687e+40),...
-'vibrational_level_error_upper',double(-9.0000000000000006360851714687e+40),...
-'vibrational_mode',double([]),...
-'z_max',double(-9.0000000000000006360851714687e+40),...
-'z_max_error_index',double(-999999999),...
-'z_max_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_max_error_upper',double(-9.0000000000000006360851714687e+40),...
-'z_min',double(-9.0000000000000006360851714687e+40),...
-'z_min_error_index',double(-999999999),...
-'z_min_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_min_error_upper',double(-9.0000000000000006360851714687e+40))
+'vibrational_level',double(-9e+40),...
+'vibrational_level_error_index',int32(-999999999),...
+'vibrational_level_error_lower',double(-9e+40),...
+'vibrational_level_error_upper',double(-9e+40),...
+'vibrational_mode','',...
+'z_max',double(-9e+40),...
+'z_max_error_index',int32(-999999999),...
+'z_max_error_lower',double(-9e+40),...
+'z_max_error_upper',double(-9e+40),...
+'z_min',double(-9e+40),...
+'z_min_error_index',int32(-999999999),...
+'z_min_error_lower',double(-9e+40),...
+'z_min_error_upper',double(-9e+40))
 ;}},...
-'z_ion',double(-9.0000000000000006360851714687e+40),...
-'z_ion_error_index',double(-999999999),...
-'z_ion_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_ion_error_upper',double(-9.0000000000000006360851714687e+40))
+'z_ion',double(-9e+40),...
+'z_ion_error_index',int32(-999999999),...
+'z_ion_error_lower',double(-9e+40),...
+'z_ion_error_upper',double(-9e+40))
 ;}},...
 'momentum_tor',struct(...
 'd',double([]),...
-'d_error_index',double(-999999999),...
+'d_error_index',int32(-999999999),...
 'd_error_lower',double([]),...
 'd_error_upper',double([]),...
 'flux',double([]),...
-'flux_error_index',double(-999999999),...
+'flux_error_index',int32(-999999999),...
 'flux_error_lower',double([]),...
 'flux_error_upper',double([]),...
 'v',double([]),...
-'v_error_index',double(-999999999),...
+'v_error_index',int32(-999999999),...
 'v_error_lower',double([]),...
 'v_error_upper',double([])),...
 'neutral',{{struct(...
 'element',{{struct(...
-'a',double(-9.0000000000000006360851714687e+40),...
-'a_error_index',double(-999999999),...
-'a_error_lower',double(-9.0000000000000006360851714687e+40),...
-'a_error_upper',double(-9.0000000000000006360851714687e+40),...
-'atoms_n',double(-999999999),...
-'multiplicity',double(-9.0000000000000006360851714687e+40),...
-'multiplicity_error_index',double(-999999999),...
-'multiplicity_error_lower',double(-9.0000000000000006360851714687e+40),...
-'multiplicity_error_upper',double(-9.0000000000000006360851714687e+40),...
-'z_n',double(-9.0000000000000006360851714687e+40),...
-'z_n_error_index',double(-999999999),...
-'z_n_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_n_error_upper',double(-9.0000000000000006360851714687e+40))
+'a',double(-9e+40),...
+'a_error_index',int32(-999999999),...
+'a_error_lower',double(-9e+40),...
+'a_error_upper',double(-9e+40),...
+'atoms_n',int32(-999999999),...
+'multiplicity',double(-9e+40),...
+'multiplicity_error_index',int32(-999999999),...
+'multiplicity_error_lower',double(-9e+40),...
+'multiplicity_error_upper',double(-9e+40),...
+'z_n',double(-9e+40),...
+'z_n_error_index',int32(-999999999),...
+'z_n_error_lower',double(-9e+40),...
+'z_n_error_upper',double(-9e+40))
 ;}},...
 'energy',struct(...
 'd',double([]),...
-'d_error_index',double(-999999999),...
+'d_error_index',int32(-999999999),...
 'd_error_lower',double([]),...
 'd_error_upper',double([]),...
 'flux',double([]),...
-'flux_error_index',double(-999999999),...
+'flux_error_index',int32(-999999999),...
 'flux_error_lower',double([]),...
 'flux_error_upper',double([]),...
 'v',double([]),...
-'v_error_index',double(-999999999),...
+'v_error_index',int32(-999999999),...
 'v_error_lower',double([]),...
 'v_error_upper',double([])),...
-'ion_index',double(-999999999),...
-'label',double([]),...
-'multiple_states_flag',double(-999999999),...
+'ion_index',int32(-999999999),...
+'label','',...
+'multiple_states_flag',int32(-999999999),...
 'particles',struct(...
 'd',double([]),...
-'d_error_index',double(-999999999),...
+'d_error_index',int32(-999999999),...
 'd_error_lower',double([]),...
 'd_error_upper',double([]),...
 'flux',double([]),...
-'flux_error_index',double(-999999999),...
+'flux_error_index',int32(-999999999),...
 'flux_error_lower',double([]),...
 'flux_error_upper',double([]),...
 'v',double([]),...
-'v_error_index',double(-999999999),...
+'v_error_index',int32(-999999999),...
 'v_error_lower',double([]),...
 'v_error_upper',double([])),...
 'state',{{struct(...
-'electron_configuration',double([]),...
+'electron_configuration','',...
 'energy',struct(...
 'd',double([]),...
-'d_error_index',double(-999999999),...
+'d_error_index',int32(-999999999),...
 'd_error_lower',double([]),...
 'd_error_upper',double([]),...
 'flux',double([]),...
-'flux_error_index',double(-999999999),...
+'flux_error_index',int32(-999999999),...
 'flux_error_lower',double([]),...
 'flux_error_upper',double([]),...
 'v',double([]),...
-'v_error_index',double(-999999999),...
+'v_error_index',int32(-999999999),...
 'v_error_lower',double([]),...
 'v_error_upper',double([])),...
-'label',double([]),...
+'label','',...
 'particles',struct(...
 'd',double([]),...
-'d_error_index',double(-999999999),...
+'d_error_index',int32(-999999999),...
 'd_error_lower',double([]),...
 'd_error_upper',double([]),...
 'flux',double([]),...
-'flux_error_index',double(-999999999),...
+'flux_error_index',int32(-999999999),...
 'flux_error_lower',double([]),...
 'flux_error_upper',double([]),...
 'v',double([]),...
-'v_error_index',double(-999999999),...
+'v_error_index',int32(-999999999),...
 'v_error_lower',double([]),...
 'v_error_upper',double([])),...
-'vibrational_level',double(-9.0000000000000006360851714687e+40),...
-'vibrational_level_error_index',double(-999999999),...
-'vibrational_level_error_lower',double(-9.0000000000000006360851714687e+40),...
-'vibrational_level_error_upper',double(-9.0000000000000006360851714687e+40),...
-'vibrational_mode',double([]))
+'vibrational_level',double(-9e+40),...
+'vibrational_level_error_index',int32(-999999999),...
+'vibrational_level_error_lower',double(-9e+40),...
+'vibrational_level_error_upper',double(-9e+40),...
+'vibrational_mode','')
 ;}})
 ;}},...
-'time',double(-9.0000000000000006360851714687e+40),...
+'time',double(-9e+40),...
 'total_ion_energy',struct(...
 'd',double([]),...
-'d_error_index',double(-999999999),...
+'d_error_index',int32(-999999999),...
 'd_error_lower',double([]),...
 'd_error_upper',double([]),...
 'flux',double([]),...
-'flux_error_index',double(-999999999),...
+'flux_error_index',int32(-999999999),...
 'flux_error_lower',double([]),...
 'flux_error_upper',double([]),...
 'v',double([]),...
-'v_error_index',double(-999999999),...
+'v_error_index',int32(-999999999),...
 'v_error_lower',double([]),...
 'v_error_upper',double([])))
 ;}})
@@ -519,10 +559,10 @@ struct(...
 'time',double([]),...
 'vacuum_toroidal_field',struct(...
 'b0',double([]),...
-'b0_error_index',double(-999999999),...
+'b0_error_index',int32(-999999999),...
 'b0_error_lower',double([]),...
 'b0_error_upper',double([]),...
-'r0',double(-9.0000000000000006360851714687e+40),...
-'r0_error_index',double(-999999999),...
-'r0_error_lower',double(-9.0000000000000006360851714687e+40),...
-'r0_error_upper',double(-9.0000000000000006360851714687e+40)));
+'r0',double(-9e+40),...
+'r0_error_index',int32(-999999999),...
+'r0_error_lower',double(-9e+40),...
+'r0_error_upper',double(-9e+40)));
diff --git a/matlab/TCV_IMAS/ids_empty/ids_empty_dataset_description.m b/matlab/TCV_IMAS/ids_empty/ids_empty_dataset_description.m
index 880761315e02007afb15fc91acbdb482ae097b21..50fc7bd574f215421e6380e40a01abf00ca6b49e 100644
--- a/matlab/TCV_IMAS/ids_empty/ids_empty_dataset_description.m
+++ b/matlab/TCV_IMAS/ids_empty/ids_empty_dataset_description.m
@@ -6,49 +6,53 @@ function S = ids_empty_dataset_description
 S = ... 
 struct(...
 'data_entry',struct(...
-'machine',double([]),...
-'pulse',double(-999999999),...
-'pulse_type',double([]),...
-'run',double(-999999999),...
-'user',double([])),...
-'dd_version',double([]),...
+'machine','',...
+'pulse',int32(-999999999),...
+'pulse_type','',...
+'run',int32(-999999999),...
+'user',''),...
+'dd_version','',...
 'ids_properties',struct(...
-'comment',double([]),...
-'creation_date',double([]),...
-'homogeneous_time',double(-999999999),...
-'provider',double([]),...
-'source',double([])),...
-'imas_version',double([]),...
+'comment','',...
+'creation_date','',...
+'homogeneous_time',int32(-999999999),...
+'provider','',...
+'source','',...
+'version_put',struct(...
+'access_layer','',...
+'access_layer_language','',...
+'data_dictionary','')),...
+'imas_version','',...
 'parent_entry',struct(...
-'machine',double([]),...
-'pulse',double(-999999999),...
-'pulse_type',double([]),...
-'run',double(-999999999),...
-'user',double([])),...
+'machine','',...
+'pulse',int32(-999999999),...
+'pulse_type','',...
+'run',int32(-999999999),...
+'user',''),...
 'simulation',struct(...
-'comment_after',double([]),...
-'comment_before',double([]),...
-'time_begin',double(-9.0000000000000006360851714687e+40),...
-'time_begin_error_index',double(-999999999),...
-'time_begin_error_lower',double(-9.0000000000000006360851714687e+40),...
-'time_begin_error_upper',double(-9.0000000000000006360851714687e+40),...
-'time_begun',double([]),...
-'time_current',double(-9.0000000000000006360851714687e+40),...
-'time_current_error_index',double(-999999999),...
-'time_current_error_lower',double(-9.0000000000000006360851714687e+40),...
-'time_current_error_upper',double(-9.0000000000000006360851714687e+40),...
-'time_end',double(-9.0000000000000006360851714687e+40),...
-'time_end_error_index',double(-999999999),...
-'time_end_error_lower',double(-9.0000000000000006360851714687e+40),...
-'time_end_error_upper',double(-9.0000000000000006360851714687e+40),...
-'time_ended',double([]),...
-'time_restart',double(-9.0000000000000006360851714687e+40),...
-'time_restart_error_index',double(-999999999),...
-'time_restart_error_lower',double(-9.0000000000000006360851714687e+40),...
-'time_restart_error_upper',double(-9.0000000000000006360851714687e+40),...
-'time_step',double(-9.0000000000000006360851714687e+40),...
-'time_step_error_index',double(-999999999),...
-'time_step_error_lower',double(-9.0000000000000006360851714687e+40),...
-'time_step_error_upper',double(-9.0000000000000006360851714687e+40),...
-'workflow',double([])),...
+'comment_after','',...
+'comment_before','',...
+'time_begin',double(-9e+40),...
+'time_begin_error_index',int32(-999999999),...
+'time_begin_error_lower',double(-9e+40),...
+'time_begin_error_upper',double(-9e+40),...
+'time_begun','',...
+'time_current',double(-9e+40),...
+'time_current_error_index',int32(-999999999),...
+'time_current_error_lower',double(-9e+40),...
+'time_current_error_upper',double(-9e+40),...
+'time_end',double(-9e+40),...
+'time_end_error_index',int32(-999999999),...
+'time_end_error_lower',double(-9e+40),...
+'time_end_error_upper',double(-9e+40),...
+'time_ended','',...
+'time_restart',double(-9e+40),...
+'time_restart_error_index',int32(-999999999),...
+'time_restart_error_lower',double(-9e+40),...
+'time_restart_error_upper',double(-9e+40),...
+'time_step',double(-9e+40),...
+'time_step_error_index',int32(-999999999),...
+'time_step_error_lower',double(-9e+40),...
+'time_step_error_upper',double(-9e+40),...
+'workflow',''),...
 'time',double([]));
diff --git a/matlab/TCV_IMAS/ids_empty/ids_empty_disruption.m b/matlab/TCV_IMAS/ids_empty/ids_empty_disruption.m
new file mode 100644
index 0000000000000000000000000000000000000000..d7792815acb4a873e462f07ad236b4425f72e6f8
--- /dev/null
+++ b/matlab/TCV_IMAS/ids_empty/ids_empty_disruption.m
@@ -0,0 +1,159 @@
+function S = ids_empty_disruption
+% function S = ids_empty_disruption
+%
+% File written automatically using struct2m.m 
+
+S = ... 
+struct(...
+'code',struct(...
+'commit','',...
+'name','',...
+'output_flag',int32([]),...
+'parameters','',...
+'repository','',...
+'version',''),...
+'global_quantities',struct(...
+'current_halo_pol',double([]),...
+'current_halo_pol_error_index',int32(-999999999),...
+'current_halo_pol_error_lower',double([]),...
+'current_halo_pol_error_upper',double([]),...
+'current_halo_tor',double([]),...
+'current_halo_tor_error_index',int32(-999999999),...
+'current_halo_tor_error_lower',double([]),...
+'current_halo_tor_error_upper',double([]),...
+'energy_ohm',double([]),...
+'energy_ohm_error_index',int32(-999999999),...
+'energy_ohm_error_lower',double([]),...
+'energy_ohm_error_upper',double([]),...
+'energy_ohm_halo',double([]),...
+'energy_ohm_halo_error_index',int32(-999999999),...
+'energy_ohm_halo_error_lower',double([]),...
+'energy_ohm_halo_error_upper',double([]),...
+'energy_radiated_electrons_impurities',double([]),...
+'energy_radiated_electrons_impurities_error_index',int32(-999999999),...
+'energy_radiated_electrons_impurities_error_lower',double([]),...
+'energy_radiated_electrons_impurities_error_upper',double([]),...
+'energy_radiated_electrons_impurities_halo',double([]),...
+'energy_radiated_electrons_impurities_halo_error_index',int32(-999999999),...
+'energy_radiated_electrons_impurities_halo_error_lower',double([]),...
+'energy_radiated_electrons_impurities_halo_error_upper',double([]),...
+'power_ohm',double([]),...
+'power_ohm_error_index',int32(-999999999),...
+'power_ohm_error_lower',double([]),...
+'power_ohm_error_upper',double([]),...
+'power_ohm_halo',double([]),...
+'power_ohm_halo_error_index',int32(-999999999),...
+'power_ohm_halo_error_lower',double([]),...
+'power_ohm_halo_error_upper',double([]),...
+'power_radiated_electrons_impurities',double([]),...
+'power_radiated_electrons_impurities_error_index',int32(-999999999),...
+'power_radiated_electrons_impurities_error_lower',double([]),...
+'power_radiated_electrons_impurities_error_upper',double([]),...
+'power_radiated_electrons_impurities_halo',double([]),...
+'power_radiated_electrons_impurities_halo_error_index',int32(-999999999),...
+'power_radiated_electrons_impurities_halo_error_lower',double([]),...
+'power_radiated_electrons_impurities_halo_error_upper',double([])),...
+'halo_currents',{{struct(...
+'active_wall_point',struct(...
+'r',double(-9e+40),...
+'r_error_index',int32(-999999999),...
+'r_error_lower',double(-9e+40),...
+'r_error_upper',double(-9e+40),...
+'z',double(-9e+40),...
+'z_error_index',int32(-999999999),...
+'z_error_lower',double(-9e+40),...
+'z_error_upper',double(-9e+40)),...
+'area',{{struct(...
+'current_halo_pol',double(-9e+40),...
+'current_halo_pol_error_index',int32(-999999999),...
+'current_halo_pol_error_lower',double(-9e+40),...
+'current_halo_pol_error_upper',double(-9e+40),...
+'end_point',struct(...
+'r',double(-9e+40),...
+'r_error_index',int32(-999999999),...
+'r_error_lower',double(-9e+40),...
+'r_error_upper',double(-9e+40),...
+'z',double(-9e+40),...
+'z_error_index',int32(-999999999),...
+'z_error_lower',double(-9e+40),...
+'z_error_upper',double(-9e+40)),...
+'start_point',struct(...
+'r',double(-9e+40),...
+'r_error_index',int32(-999999999),...
+'r_error_lower',double(-9e+40),...
+'r_error_upper',double(-9e+40),...
+'z',double(-9e+40),...
+'z_error_index',int32(-999999999),...
+'z_error_lower',double(-9e+40),...
+'z_error_upper',double(-9e+40)))
+;}},...
+'time',double(-9e+40))
+;}},...
+'ids_properties',struct(...
+'comment','',...
+'creation_date','',...
+'homogeneous_time',int32(-999999999),...
+'provider','',...
+'source','',...
+'version_put',struct(...
+'access_layer','',...
+'access_layer_language','',...
+'data_dictionary','')),...
+'profiles_1d',{{struct(...
+'grid',struct(...
+'area',double([]),...
+'area_error_index',int32(-999999999),...
+'area_error_lower',double([]),...
+'area_error_upper',double([]),...
+'psi',double([]),...
+'psi_boundary',double(-9e+40),...
+'psi_boundary_error_index',int32(-999999999),...
+'psi_boundary_error_lower',double(-9e+40),...
+'psi_boundary_error_upper',double(-9e+40),...
+'psi_error_index',int32(-999999999),...
+'psi_error_lower',double([]),...
+'psi_error_upper',double([]),...
+'psi_magnetic_axis',double(-9e+40),...
+'psi_magnetic_axis_error_index',int32(-999999999),...
+'psi_magnetic_axis_error_lower',double(-9e+40),...
+'psi_magnetic_axis_error_upper',double(-9e+40),...
+'rho_pol_norm',double([]),...
+'rho_pol_norm_error_index',int32(-999999999),...
+'rho_pol_norm_error_lower',double([]),...
+'rho_pol_norm_error_upper',double([]),...
+'rho_tor',double([]),...
+'rho_tor_error_index',int32(-999999999),...
+'rho_tor_error_lower',double([]),...
+'rho_tor_error_upper',double([]),...
+'rho_tor_norm',double([]),...
+'rho_tor_norm_error_index',int32(-999999999),...
+'rho_tor_norm_error_lower',double([]),...
+'rho_tor_norm_error_upper',double([]),...
+'volume',double([]),...
+'volume_error_index',int32(-999999999),...
+'volume_error_lower',double([]),...
+'volume_error_upper',double([])),...
+'j_runaways',double([]),...
+'j_runaways_error_index',int32(-999999999),...
+'j_runaways_error_lower',double([]),...
+'j_runaways_error_upper',double([]),...
+'power_density_conductive_losses',double([]),...
+'power_density_conductive_losses_error_index',int32(-999999999),...
+'power_density_conductive_losses_error_lower',double([]),...
+'power_density_conductive_losses_error_upper',double([]),...
+'power_density_radiative_losses',double([]),...
+'power_density_radiative_losses_error_index',int32(-999999999),...
+'power_density_radiative_losses_error_lower',double([]),...
+'power_density_radiative_losses_error_upper',double([]),...
+'time',double(-9e+40))
+;}},...
+'time',double([]),...
+'vacuum_toroidal_field',struct(...
+'b0',double([]),...
+'b0_error_index',int32(-999999999),...
+'b0_error_lower',double([]),...
+'b0_error_upper',double([]),...
+'r0',double(-9e+40),...
+'r0_error_index',int32(-999999999),...
+'r0_error_lower',double(-9e+40),...
+'r0_error_upper',double(-9e+40)));
diff --git a/matlab/TCV_IMAS/ids_empty/ids_empty_distribution_sources.m b/matlab/TCV_IMAS/ids_empty/ids_empty_distribution_sources.m
index 0c3b4e9b6dfb6ca73e536358b820a18ddc55e703..38dfe360fe4a50adcb0b02f390909efb4c531d1b 100644
--- a/matlab/TCV_IMAS/ids_empty/ids_empty_distribution_sources.m
+++ b/matlab/TCV_IMAS/ids_empty/ids_empty_distribution_sources.m
@@ -6,294 +6,310 @@ function S = ids_empty_distribution_sources
 S = ... 
 struct(...
 'code',struct(...
-'commit',double([]),...
-'name',double([]),...
-'output_flag',double([]),...
-'parameters',double([]),...
-'repository',double([]),...
-'version',double([])),...
+'commit','',...
+'name','',...
+'output_flag',int32([]),...
+'parameters','',...
+'repository','',...
+'version',''),...
 'ids_properties',struct(...
-'comment',double([]),...
-'creation_date',double([]),...
-'homogeneous_time',double(-999999999),...
-'provider',double([]),...
-'source',double([])),...
+'comment','',...
+'creation_date','',...
+'homogeneous_time',int32(-999999999),...
+'provider','',...
+'source','',...
+'version_put',struct(...
+'access_layer','',...
+'access_layer_language','',...
+'data_dictionary','')),...
 'magnetic_axis',struct(...
 'r',double([]),...
-'r_error_index',double(-999999999),...
+'r_error_index',int32(-999999999),...
 'r_error_lower',double([]),...
 'r_error_upper',double([]),...
 'z',double([]),...
-'z_error_index',double(-999999999),...
+'z_error_index',int32(-999999999),...
 'z_error_lower',double([]),...
 'z_error_upper',double([])),...
 'source',{{struct(...
 'ggd',{{struct(...
-'discrete',double([]),...
+'discrete',int32([]),...
 'grid',struct(...
 'grid_subset',{{struct(...
 'base',{{struct(...
 'jacobian',double([]),...
-'jacobian_error_index',double(-999999999),...
+'jacobian_error_index',int32(-999999999),...
 'jacobian_error_lower',double([]),...
 'jacobian_error_upper',double([]),...
 'tensor_contravariant',double([]),...
-'tensor_contravariant_error_index',double(-999999999),...
+'tensor_contravariant_error_index',int32(-999999999),...
 'tensor_contravariant_error_lower',double([]),...
 'tensor_contravariant_error_upper',double([]),...
 'tensor_covariant',double([]),...
-'tensor_covariant_error_index',double(-999999999),...
+'tensor_covariant_error_index',int32(-999999999),...
 'tensor_covariant_error_lower',double([]),...
 'tensor_covariant_error_upper',double([]))
 ;}},...
-'dimension',double(-999999999),...
+'dimension',int32(-999999999),...
 'element',{{struct(...
 'object',{{struct(...
-'dimension',double(-999999999),...
-'index',double(-999999999),...
-'space',double(-999999999))
+'dimension',int32(-999999999),...
+'index',int32(-999999999),...
+'space',int32(-999999999))
 ;}})
 ;}},...
 'identifier',struct(...
-'description',double([]),...
-'index',double(-999999999),...
-'name',double([])),...
+'description','',...
+'index',int32(-999999999),...
+'name',''),...
 'metric',struct(...
 'jacobian',double([]),...
-'jacobian_error_index',double(-999999999),...
+'jacobian_error_index',int32(-999999999),...
 'jacobian_error_lower',double([]),...
 'jacobian_error_upper',double([]),...
 'tensor_contravariant',double([]),...
-'tensor_contravariant_error_index',double(-999999999),...
+'tensor_contravariant_error_index',int32(-999999999),...
 'tensor_contravariant_error_lower',double([]),...
 'tensor_contravariant_error_upper',double([]),...
 'tensor_covariant',double([]),...
-'tensor_covariant_error_index',double(-999999999),...
+'tensor_covariant_error_index',int32(-999999999),...
 'tensor_covariant_error_lower',double([]),...
 'tensor_covariant_error_upper',double([])))
 ;}},...
 'identifier',struct(...
-'description',double([]),...
-'index',double(-999999999),...
-'name',double([])),...
+'description','',...
+'index',int32(-999999999),...
+'name',''),...
 'space',{{struct(...
-'coordinates_type',double([]),...
+'coordinates_type',int32([]),...
 'geometry_type',struct(...
-'description',double([]),...
-'index',double(-999999999),...
-'name',double([])),...
+'description','',...
+'index',int32(-999999999),...
+'name',''),...
 'identifier',struct(...
-'description',double([]),...
-'index',double(-999999999),...
-'name',double([])),...
+'description','',...
+'index',int32(-999999999),...
+'name',''),...
 'objects_per_dimension',{{struct(...
 'object',{{struct(...
 'boundary',{{struct(...
-'index',double(-999999999),...
-'neighbours',double([]))
+'index',int32(-999999999),...
+'neighbours',int32([]))
 ;}},...
 'geometry',double([]),...
-'geometry_error_index',double(-999999999),...
+'geometry_error_index',int32(-999999999),...
 'geometry_error_lower',double([]),...
 'geometry_error_upper',double([]),...
-'measure',double(-9.0000000000000006360851714687e+40),...
-'measure_error_index',double(-999999999),...
-'measure_error_lower',double(-9.0000000000000006360851714687e+40),...
-'measure_error_upper',double(-9.0000000000000006360851714687e+40),...
-'nodes',double([]))
+'measure',double(-9e+40),...
+'measure_error_index',int32(-999999999),...
+'measure_error_lower',double(-9e+40),...
+'measure_error_upper',double(-9e+40),...
+'nodes',int32([]))
 ;}})
 ;}})
 ;}}),...
 'particles',{{struct(...
 'coefficients',double([]),...
-'coefficients_error_index',double(-999999999),...
+'coefficients_error_index',int32(-999999999),...
 'coefficients_error_lower',double([]),...
 'coefficients_error_upper',double([]),...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
 'values',double([]),...
-'values_error_index',double(-999999999),...
+'values_error_index',int32(-999999999),...
 'values_error_lower',double([]),...
 'values_error_upper',double([]))
 ;}},...
-'time',double(-9.0000000000000006360851714687e+40))
+'time',double(-9e+40))
 ;}},...
 'global_quantities',{{struct(...
-'particles',double(-9.0000000000000006360851714687e+40),...
-'particles_error_index',double(-999999999),...
-'particles_error_lower',double(-9.0000000000000006360851714687e+40),...
-'particles_error_upper',double(-9.0000000000000006360851714687e+40),...
-'power',double(-9.0000000000000006360851714687e+40),...
-'power_error_index',double(-999999999),...
-'power_error_lower',double(-9.0000000000000006360851714687e+40),...
-'power_error_upper',double(-9.0000000000000006360851714687e+40),...
+'particles',double(-9e+40),...
+'particles_error_index',int32(-999999999),...
+'particles_error_lower',double(-9e+40),...
+'particles_error_upper',double(-9e+40),...
+'power',double(-9e+40),...
+'power_error_index',int32(-999999999),...
+'power_error_lower',double(-9e+40),...
+'power_error_upper',double(-9e+40),...
 'shinethrough',struct(...
-'particles',double(-9.0000000000000006360851714687e+40),...
-'particles_error_index',double(-999999999),...
-'particles_error_lower',double(-9.0000000000000006360851714687e+40),...
-'particles_error_upper',double(-9.0000000000000006360851714687e+40),...
-'power',double(-9.0000000000000006360851714687e+40),...
-'power_error_index',double(-999999999),...
-'power_error_lower',double(-9.0000000000000006360851714687e+40),...
-'power_error_upper',double(-9.0000000000000006360851714687e+40),...
-'torque_tor',double(-9.0000000000000006360851714687e+40),...
-'torque_tor_error_index',double(-999999999),...
-'torque_tor_error_lower',double(-9.0000000000000006360851714687e+40),...
-'torque_tor_error_upper',double(-9.0000000000000006360851714687e+40)),...
-'time',double(-9.0000000000000006360851714687e+40),...
-'torque_tor',double(-9.0000000000000006360851714687e+40),...
-'torque_tor_error_index',double(-999999999),...
-'torque_tor_error_lower',double(-9.0000000000000006360851714687e+40),...
-'torque_tor_error_upper',double(-9.0000000000000006360851714687e+40))
+'particles',double(-9e+40),...
+'particles_error_index',int32(-999999999),...
+'particles_error_lower',double(-9e+40),...
+'particles_error_upper',double(-9e+40),...
+'power',double(-9e+40),...
+'power_error_index',int32(-999999999),...
+'power_error_lower',double(-9e+40),...
+'power_error_upper',double(-9e+40),...
+'torque_tor',double(-9e+40),...
+'torque_tor_error_index',int32(-999999999),...
+'torque_tor_error_lower',double(-9e+40),...
+'torque_tor_error_upper',double(-9e+40)),...
+'time',double(-9e+40),...
+'torque_tor',double(-9e+40),...
+'torque_tor_error_index',int32(-999999999),...
+'torque_tor_error_lower',double(-9e+40),...
+'torque_tor_error_upper',double(-9e+40))
 ;}},...
-'gyro_type',double(-999999999),...
+'gyro_type',int32(-999999999),...
 'markers',{{struct(...
 'coordinate_identifier',{{struct(...
-'description',double([]),...
-'index',double(-999999999),...
-'name',double([]))
+'description','',...
+'index',int32(-999999999),...
+'name','')
 ;}},...
 'positions',double([]),...
-'positions_error_index',double(-999999999),...
+'positions_error_index',int32(-999999999),...
 'positions_error_lower',double([]),...
 'positions_error_upper',double([]),...
-'time',double(-9.0000000000000006360851714687e+40),...
+'time',double(-9e+40),...
 'weights',double([]),...
-'weights_error_index',double(-999999999),...
+'weights_error_index',int32(-999999999),...
 'weights_error_lower',double([]),...
 'weights_error_upper',double([]))
 ;}},...
 'process',{{struct(...
-'nbi_beamlets_group',double(-999999999),...
+'nbi_beamlets_group',int32(-999999999),...
 'nbi_energy',struct(...
-'description',double([]),...
-'index',double(-999999999),...
-'name',double([])),...
-'nbi_unit',double(-999999999),...
+'description','',...
+'index',int32(-999999999),...
+'name',''),...
+'nbi_unit',int32(-999999999),...
 'reactant_energy',struct(...
-'description',double([]),...
-'index',double(-999999999),...
-'name',double([])),...
+'description','',...
+'index',int32(-999999999),...
+'name',''),...
 'type',struct(...
-'description',double([]),...
-'index',double(-999999999),...
-'name',double([])))
+'description','',...
+'index',int32(-999999999),...
+'name',''))
 ;}},...
 'profiles_1d',{{struct(...
 'energy',double([]),...
-'energy_error_index',double(-999999999),...
+'energy_error_index',int32(-999999999),...
 'energy_error_lower',double([]),...
 'energy_error_upper',double([]),...
 'grid',struct(...
 'area',double([]),...
-'area_error_index',double(-999999999),...
+'area_error_index',int32(-999999999),...
 'area_error_lower',double([]),...
 'area_error_upper',double([]),...
 'psi',double([]),...
-'psi_error_index',double(-999999999),...
+'psi_boundary',double(-9e+40),...
+'psi_boundary_error_index',int32(-999999999),...
+'psi_boundary_error_lower',double(-9e+40),...
+'psi_boundary_error_upper',double(-9e+40),...
+'psi_error_index',int32(-999999999),...
 'psi_error_lower',double([]),...
 'psi_error_upper',double([]),...
+'psi_magnetic_axis',double(-9e+40),...
+'psi_magnetic_axis_error_index',int32(-999999999),...
+'psi_magnetic_axis_error_lower',double(-9e+40),...
+'psi_magnetic_axis_error_upper',double(-9e+40),...
+'rho_pol_norm',double([]),...
+'rho_pol_norm_error_index',int32(-999999999),...
+'rho_pol_norm_error_lower',double([]),...
+'rho_pol_norm_error_upper',double([]),...
 'rho_tor',double([]),...
-'rho_tor_error_index',double(-999999999),...
+'rho_tor_error_index',int32(-999999999),...
 'rho_tor_error_lower',double([]),...
 'rho_tor_error_upper',double([]),...
 'rho_tor_norm',double([]),...
-'rho_tor_norm_error_index',double(-999999999),...
+'rho_tor_norm_error_index',int32(-999999999),...
 'rho_tor_norm_error_lower',double([]),...
 'rho_tor_norm_error_upper',double([]),...
 'volume',double([]),...
-'volume_error_index',double(-999999999),...
+'volume_error_index',int32(-999999999),...
 'volume_error_lower',double([]),...
 'volume_error_upper',double([])),...
 'momentum_tor',double([]),...
-'momentum_tor_error_index',double(-999999999),...
+'momentum_tor_error_index',int32(-999999999),...
 'momentum_tor_error_lower',double([]),...
 'momentum_tor_error_upper',double([]),...
 'particles',double([]),...
-'particles_error_index',double(-999999999),...
+'particles_error_index',int32(-999999999),...
 'particles_error_lower',double([]),...
 'particles_error_upper',double([]),...
-'time',double(-9.0000000000000006360851714687e+40))
+'time',double(-9e+40))
 ;}},...
 'species',struct(...
 'ion',struct(...
 'element',{{struct(...
-'a',double(-9.0000000000000006360851714687e+40),...
-'a_error_index',double(-999999999),...
-'a_error_lower',double(-9.0000000000000006360851714687e+40),...
-'a_error_upper',double(-9.0000000000000006360851714687e+40),...
-'atoms_n',double(-999999999),...
-'multiplicity',double(-9.0000000000000006360851714687e+40),...
-'multiplicity_error_index',double(-999999999),...
-'multiplicity_error_lower',double(-9.0000000000000006360851714687e+40),...
-'multiplicity_error_upper',double(-9.0000000000000006360851714687e+40),...
-'z_n',double(-9.0000000000000006360851714687e+40),...
-'z_n_error_index',double(-999999999),...
-'z_n_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_n_error_upper',double(-9.0000000000000006360851714687e+40))
+'a',double(-9e+40),...
+'a_error_index',int32(-999999999),...
+'a_error_lower',double(-9e+40),...
+'a_error_upper',double(-9e+40),...
+'atoms_n',int32(-999999999),...
+'multiplicity',double(-9e+40),...
+'multiplicity_error_index',int32(-999999999),...
+'multiplicity_error_lower',double(-9e+40),...
+'multiplicity_error_upper',double(-9e+40),...
+'z_n',double(-9e+40),...
+'z_n_error_index',int32(-999999999),...
+'z_n_error_lower',double(-9e+40),...
+'z_n_error_upper',double(-9e+40))
 ;}},...
-'label',double([]),...
+'label','',...
 'state',struct(...
-'electron_configuration',double([]),...
-'label',double([]),...
-'vibrational_level',double(-9.0000000000000006360851714687e+40),...
-'vibrational_level_error_index',double(-999999999),...
-'vibrational_level_error_lower',double(-9.0000000000000006360851714687e+40),...
-'vibrational_level_error_upper',double(-9.0000000000000006360851714687e+40),...
-'vibrational_mode',double([]),...
-'z_max',double(-9.0000000000000006360851714687e+40),...
-'z_max_error_index',double(-999999999),...
-'z_max_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_max_error_upper',double(-9.0000000000000006360851714687e+40),...
-'z_min',double(-9.0000000000000006360851714687e+40),...
-'z_min_error_index',double(-999999999),...
-'z_min_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_min_error_upper',double(-9.0000000000000006360851714687e+40)),...
-'z_ion',double(-9.0000000000000006360851714687e+40),...
-'z_ion_error_index',double(-999999999),...
-'z_ion_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_ion_error_upper',double(-9.0000000000000006360851714687e+40)),...
+'electron_configuration','',...
+'label','',...
+'vibrational_level',double(-9e+40),...
+'vibrational_level_error_index',int32(-999999999),...
+'vibrational_level_error_lower',double(-9e+40),...
+'vibrational_level_error_upper',double(-9e+40),...
+'vibrational_mode','',...
+'z_max',double(-9e+40),...
+'z_max_error_index',int32(-999999999),...
+'z_max_error_lower',double(-9e+40),...
+'z_max_error_upper',double(-9e+40),...
+'z_min',double(-9e+40),...
+'z_min_error_index',int32(-999999999),...
+'z_min_error_lower',double(-9e+40),...
+'z_min_error_upper',double(-9e+40)),...
+'z_ion',double(-9e+40),...
+'z_ion_error_index',int32(-999999999),...
+'z_ion_error_lower',double(-9e+40),...
+'z_ion_error_upper',double(-9e+40)),...
 'neutral',struct(...
 'element',{{struct(...
-'a',double(-9.0000000000000006360851714687e+40),...
-'a_error_index',double(-999999999),...
-'a_error_lower',double(-9.0000000000000006360851714687e+40),...
-'a_error_upper',double(-9.0000000000000006360851714687e+40),...
-'atoms_n',double(-999999999),...
-'multiplicity',double(-9.0000000000000006360851714687e+40),...
-'multiplicity_error_index',double(-999999999),...
-'multiplicity_error_lower',double(-9.0000000000000006360851714687e+40),...
-'multiplicity_error_upper',double(-9.0000000000000006360851714687e+40),...
-'z_n',double(-9.0000000000000006360851714687e+40),...
-'z_n_error_index',double(-999999999),...
-'z_n_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_n_error_upper',double(-9.0000000000000006360851714687e+40))
+'a',double(-9e+40),...
+'a_error_index',int32(-999999999),...
+'a_error_lower',double(-9e+40),...
+'a_error_upper',double(-9e+40),...
+'atoms_n',int32(-999999999),...
+'multiplicity',double(-9e+40),...
+'multiplicity_error_index',int32(-999999999),...
+'multiplicity_error_lower',double(-9e+40),...
+'multiplicity_error_upper',double(-9e+40),...
+'z_n',double(-9e+40),...
+'z_n_error_index',int32(-999999999),...
+'z_n_error_lower',double(-9e+40),...
+'z_n_error_upper',double(-9e+40))
 ;}},...
-'label',double([]),...
+'label','',...
 'state',struct(...
-'electron_configuration',double([]),...
-'label',double([]),...
+'electron_configuration','',...
+'label','',...
 'neutral_type',struct(...
-'description',double([]),...
-'index',double(-999999999),...
-'name',double([])),...
-'vibrational_level',double(-9.0000000000000006360851714687e+40),...
-'vibrational_level_error_index',double(-999999999),...
-'vibrational_level_error_lower',double(-9.0000000000000006360851714687e+40),...
-'vibrational_level_error_upper',double(-9.0000000000000006360851714687e+40),...
-'vibrational_mode',double([]))),...
+'description','',...
+'index',int32(-999999999),...
+'name',''),...
+'vibrational_level',double(-9e+40),...
+'vibrational_level_error_index',int32(-999999999),...
+'vibrational_level_error_lower',double(-9e+40),...
+'vibrational_level_error_upper',double(-9e+40),...
+'vibrational_mode','')),...
 'type',struct(...
-'description',double([]),...
-'index',double(-999999999),...
-'name',double([]))))
+'description','',...
+'index',int32(-999999999),...
+'name','')))
 ;}},...
 'time',double([]),...
 'vacuum_toroidal_field',struct(...
 'b0',double([]),...
-'b0_error_index',double(-999999999),...
+'b0_error_index',int32(-999999999),...
 'b0_error_lower',double([]),...
 'b0_error_upper',double([]),...
-'r0',double(-9.0000000000000006360851714687e+40),...
-'r0_error_index',double(-999999999),...
-'r0_error_lower',double(-9.0000000000000006360851714687e+40),...
-'r0_error_upper',double(-9.0000000000000006360851714687e+40)));
+'r0',double(-9e+40),...
+'r0_error_index',int32(-999999999),...
+'r0_error_lower',double(-9e+40),...
+'r0_error_upper',double(-9e+40)));
diff --git a/matlab/TCV_IMAS/ids_empty/ids_empty_distributions.m b/matlab/TCV_IMAS/ids_empty/ids_empty_distributions.m
index c840a09243dddea6b1c0cea650776dc799afa9c4..7a57cade5b5af533883fc3ac5abdecc02e665613 100644
--- a/matlab/TCV_IMAS/ids_empty/ids_empty_distributions.m
+++ b/matlab/TCV_IMAS/ids_empty/ids_empty_distributions.m
@@ -6,24 +6,24 @@ function S = ids_empty_distributions
 S = ... 
 struct(...
 'code',struct(...
-'commit',double([]),...
-'name',double([]),...
-'output_flag',double([]),...
-'parameters',double([]),...
-'repository',double([]),...
-'version',double([])),...
+'commit','',...
+'name','',...
+'output_flag',int32([]),...
+'parameters','',...
+'repository','',...
+'version',''),...
 'distribution',{{struct(...
 'ggd',{{struct(...
 'expansion',{{struct(...
 'grid_subset',{{struct(...
 'coefficients',double([]),...
-'coefficients_error_index',double(-999999999),...
+'coefficients_error_index',int32(-999999999),...
 'coefficients_error_lower',double([]),...
 'coefficients_error_upper',double([]),...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
 'values',double([]),...
-'values_error_index',double(-999999999),...
+'values_error_index',int32(-999999999),...
 'values_error_lower',double([]),...
 'values_error_upper',double([]))
 ;}})
@@ -32,881 +32,893 @@ struct(...
 'grid_subset',{{struct(...
 'base',{{struct(...
 'jacobian',double([]),...
-'jacobian_error_index',double(-999999999),...
+'jacobian_error_index',int32(-999999999),...
 'jacobian_error_lower',double([]),...
 'jacobian_error_upper',double([]),...
 'tensor_contravariant',double([]),...
-'tensor_contravariant_error_index',double(-999999999),...
+'tensor_contravariant_error_index',int32(-999999999),...
 'tensor_contravariant_error_lower',double([]),...
 'tensor_contravariant_error_upper',double([]),...
 'tensor_covariant',double([]),...
-'tensor_covariant_error_index',double(-999999999),...
+'tensor_covariant_error_index',int32(-999999999),...
 'tensor_covariant_error_lower',double([]),...
 'tensor_covariant_error_upper',double([]))
 ;}},...
-'dimension',double(-999999999),...
+'dimension',int32(-999999999),...
 'element',{{struct(...
 'object',{{struct(...
-'dimension',double(-999999999),...
-'index',double(-999999999),...
-'space',double(-999999999))
+'dimension',int32(-999999999),...
+'index',int32(-999999999),...
+'space',int32(-999999999))
 ;}})
 ;}},...
 'identifier',struct(...
-'description',double([]),...
-'index',double(-999999999),...
-'name',double([])),...
+'description','',...
+'index',int32(-999999999),...
+'name',''),...
 'metric',struct(...
 'jacobian',double([]),...
-'jacobian_error_index',double(-999999999),...
+'jacobian_error_index',int32(-999999999),...
 'jacobian_error_lower',double([]),...
 'jacobian_error_upper',double([]),...
 'tensor_contravariant',double([]),...
-'tensor_contravariant_error_index',double(-999999999),...
+'tensor_contravariant_error_index',int32(-999999999),...
 'tensor_contravariant_error_lower',double([]),...
 'tensor_contravariant_error_upper',double([]),...
 'tensor_covariant',double([]),...
-'tensor_covariant_error_index',double(-999999999),...
+'tensor_covariant_error_index',int32(-999999999),...
 'tensor_covariant_error_lower',double([]),...
 'tensor_covariant_error_upper',double([])))
 ;}},...
 'identifier',struct(...
-'description',double([]),...
-'index',double(-999999999),...
-'name',double([])),...
+'description','',...
+'index',int32(-999999999),...
+'name',''),...
 'space',{{struct(...
-'coordinates_type',double([]),...
+'coordinates_type',int32([]),...
 'geometry_type',struct(...
-'description',double([]),...
-'index',double(-999999999),...
-'name',double([])),...
+'description','',...
+'index',int32(-999999999),...
+'name',''),...
 'identifier',struct(...
-'description',double([]),...
-'index',double(-999999999),...
-'name',double([])),...
+'description','',...
+'index',int32(-999999999),...
+'name',''),...
 'objects_per_dimension',{{struct(...
 'object',{{struct(...
 'boundary',{{struct(...
-'index',double(-999999999),...
-'neighbours',double([]))
+'index',int32(-999999999),...
+'neighbours',int32([]))
 ;}},...
 'geometry',double([]),...
-'geometry_error_index',double(-999999999),...
+'geometry_error_index',int32(-999999999),...
 'geometry_error_lower',double([]),...
 'geometry_error_upper',double([]),...
-'measure',double(-9.0000000000000006360851714687e+40),...
-'measure_error_index',double(-999999999),...
-'measure_error_lower',double(-9.0000000000000006360851714687e+40),...
-'measure_error_upper',double(-9.0000000000000006360851714687e+40),...
-'nodes',double([]))
+'measure',double(-9e+40),...
+'measure_error_index',int32(-999999999),...
+'measure_error_lower',double(-9e+40),...
+'measure_error_upper',double(-9e+40),...
+'nodes',int32([]))
 ;}})
 ;}})
 ;}}),...
 'temperature',double([]),...
-'temperature_error_index',double(-999999999),...
+'temperature_error_index',int32(-999999999),...
 'temperature_error_lower',double([]),...
 'temperature_error_upper',double([]),...
-'time',double(-9.0000000000000006360851714687e+40))
+'time',double(-9e+40))
 ;}},...
 'global_quantities',{{struct(...
 'collisions',struct(...
 'electrons',struct(...
-'power_fast',double(-9.0000000000000006360851714687e+40),...
-'power_fast_error_index',double(-999999999),...
-'power_fast_error_lower',double(-9.0000000000000006360851714687e+40),...
-'power_fast_error_upper',double(-9.0000000000000006360851714687e+40),...
-'power_thermal',double(-9.0000000000000006360851714687e+40),...
-'power_thermal_error_index',double(-999999999),...
-'power_thermal_error_lower',double(-9.0000000000000006360851714687e+40),...
-'power_thermal_error_upper',double(-9.0000000000000006360851714687e+40),...
-'torque_fast_tor',double(-9.0000000000000006360851714687e+40),...
-'torque_fast_tor_error_index',double(-999999999),...
-'torque_fast_tor_error_lower',double(-9.0000000000000006360851714687e+40),...
-'torque_fast_tor_error_upper',double(-9.0000000000000006360851714687e+40),...
-'torque_thermal_tor',double(-9.0000000000000006360851714687e+40),...
-'torque_thermal_tor_error_index',double(-999999999),...
-'torque_thermal_tor_error_lower',double(-9.0000000000000006360851714687e+40),...
-'torque_thermal_tor_error_upper',double(-9.0000000000000006360851714687e+40)),...
+'power_fast',double(-9e+40),...
+'power_fast_error_index',int32(-999999999),...
+'power_fast_error_lower',double(-9e+40),...
+'power_fast_error_upper',double(-9e+40),...
+'power_thermal',double(-9e+40),...
+'power_thermal_error_index',int32(-999999999),...
+'power_thermal_error_lower',double(-9e+40),...
+'power_thermal_error_upper',double(-9e+40),...
+'torque_fast_tor',double(-9e+40),...
+'torque_fast_tor_error_index',int32(-999999999),...
+'torque_fast_tor_error_lower',double(-9e+40),...
+'torque_fast_tor_error_upper',double(-9e+40),...
+'torque_thermal_tor',double(-9e+40),...
+'torque_thermal_tor_error_index',int32(-999999999),...
+'torque_thermal_tor_error_lower',double(-9e+40),...
+'torque_thermal_tor_error_upper',double(-9e+40)),...
 'ion',{{struct(...
 'element',{{struct(...
-'a',double(-9.0000000000000006360851714687e+40),...
-'a_error_index',double(-999999999),...
-'a_error_lower',double(-9.0000000000000006360851714687e+40),...
-'a_error_upper',double(-9.0000000000000006360851714687e+40),...
-'atoms_n',double(-999999999),...
-'multiplicity',double(-9.0000000000000006360851714687e+40),...
-'multiplicity_error_index',double(-999999999),...
-'multiplicity_error_lower',double(-9.0000000000000006360851714687e+40),...
-'multiplicity_error_upper',double(-9.0000000000000006360851714687e+40),...
-'z_n',double(-9.0000000000000006360851714687e+40),...
-'z_n_error_index',double(-999999999),...
-'z_n_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_n_error_upper',double(-9.0000000000000006360851714687e+40))
+'a',double(-9e+40),...
+'a_error_index',int32(-999999999),...
+'a_error_lower',double(-9e+40),...
+'a_error_upper',double(-9e+40),...
+'atoms_n',int32(-999999999),...
+'multiplicity',double(-9e+40),...
+'multiplicity_error_index',int32(-999999999),...
+'multiplicity_error_lower',double(-9e+40),...
+'multiplicity_error_upper',double(-9e+40),...
+'z_n',double(-9e+40),...
+'z_n_error_index',int32(-999999999),...
+'z_n_error_lower',double(-9e+40),...
+'z_n_error_upper',double(-9e+40))
 ;}},...
-'label',double([]),...
-'multiple_states_flag',double(-999999999),...
-'neutral_index',double(-999999999),...
-'power_fast',double(-9.0000000000000006360851714687e+40),...
-'power_fast_error_index',double(-999999999),...
-'power_fast_error_lower',double(-9.0000000000000006360851714687e+40),...
-'power_fast_error_upper',double(-9.0000000000000006360851714687e+40),...
-'power_thermal',double(-9.0000000000000006360851714687e+40),...
-'power_thermal_error_index',double(-999999999),...
-'power_thermal_error_lower',double(-9.0000000000000006360851714687e+40),...
-'power_thermal_error_upper',double(-9.0000000000000006360851714687e+40),...
+'label','',...
+'multiple_states_flag',int32(-999999999),...
+'neutral_index',int32(-999999999),...
+'power_fast',double(-9e+40),...
+'power_fast_error_index',int32(-999999999),...
+'power_fast_error_lower',double(-9e+40),...
+'power_fast_error_upper',double(-9e+40),...
+'power_thermal',double(-9e+40),...
+'power_thermal_error_index',int32(-999999999),...
+'power_thermal_error_lower',double(-9e+40),...
+'power_thermal_error_upper',double(-9e+40),...
 'state',{{struct(...
-'electron_configuration',double([]),...
-'label',double([]),...
-'power_fast',double(-9.0000000000000006360851714687e+40),...
-'power_fast_error_index',double(-999999999),...
-'power_fast_error_lower',double(-9.0000000000000006360851714687e+40),...
-'power_fast_error_upper',double(-9.0000000000000006360851714687e+40),...
-'power_thermal',double(-9.0000000000000006360851714687e+40),...
-'power_thermal_error_index',double(-999999999),...
-'power_thermal_error_lower',double(-9.0000000000000006360851714687e+40),...
-'power_thermal_error_upper',double(-9.0000000000000006360851714687e+40),...
-'torque_fast_tor',double(-9.0000000000000006360851714687e+40),...
-'torque_fast_tor_error_index',double(-999999999),...
-'torque_fast_tor_error_lower',double(-9.0000000000000006360851714687e+40),...
-'torque_fast_tor_error_upper',double(-9.0000000000000006360851714687e+40),...
-'torque_thermal_tor',double(-9.0000000000000006360851714687e+40),...
-'torque_thermal_tor_error_index',double(-999999999),...
-'torque_thermal_tor_error_lower',double(-9.0000000000000006360851714687e+40),...
-'torque_thermal_tor_error_upper',double(-9.0000000000000006360851714687e+40),...
-'vibrational_level',double(-9.0000000000000006360851714687e+40),...
-'vibrational_level_error_index',double(-999999999),...
-'vibrational_level_error_lower',double(-9.0000000000000006360851714687e+40),...
-'vibrational_level_error_upper',double(-9.0000000000000006360851714687e+40),...
-'vibrational_mode',double([]),...
-'z_max',double(-9.0000000000000006360851714687e+40),...
-'z_max_error_index',double(-999999999),...
-'z_max_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_max_error_upper',double(-9.0000000000000006360851714687e+40),...
-'z_min',double(-9.0000000000000006360851714687e+40),...
-'z_min_error_index',double(-999999999),...
-'z_min_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_min_error_upper',double(-9.0000000000000006360851714687e+40))
+'electron_configuration','',...
+'label','',...
+'power_fast',double(-9e+40),...
+'power_fast_error_index',int32(-999999999),...
+'power_fast_error_lower',double(-9e+40),...
+'power_fast_error_upper',double(-9e+40),...
+'power_thermal',double(-9e+40),...
+'power_thermal_error_index',int32(-999999999),...
+'power_thermal_error_lower',double(-9e+40),...
+'power_thermal_error_upper',double(-9e+40),...
+'torque_fast_tor',double(-9e+40),...
+'torque_fast_tor_error_index',int32(-999999999),...
+'torque_fast_tor_error_lower',double(-9e+40),...
+'torque_fast_tor_error_upper',double(-9e+40),...
+'torque_thermal_tor',double(-9e+40),...
+'torque_thermal_tor_error_index',int32(-999999999),...
+'torque_thermal_tor_error_lower',double(-9e+40),...
+'torque_thermal_tor_error_upper',double(-9e+40),...
+'vibrational_level',double(-9e+40),...
+'vibrational_level_error_index',int32(-999999999),...
+'vibrational_level_error_lower',double(-9e+40),...
+'vibrational_level_error_upper',double(-9e+40),...
+'vibrational_mode','',...
+'z_max',double(-9e+40),...
+'z_max_error_index',int32(-999999999),...
+'z_max_error_lower',double(-9e+40),...
+'z_max_error_upper',double(-9e+40),...
+'z_min',double(-9e+40),...
+'z_min_error_index',int32(-999999999),...
+'z_min_error_lower',double(-9e+40),...
+'z_min_error_upper',double(-9e+40))
 ;}},...
-'torque_fast_tor',double(-9.0000000000000006360851714687e+40),...
-'torque_fast_tor_error_index',double(-999999999),...
-'torque_fast_tor_error_lower',double(-9.0000000000000006360851714687e+40),...
-'torque_fast_tor_error_upper',double(-9.0000000000000006360851714687e+40),...
-'torque_thermal_tor',double(-9.0000000000000006360851714687e+40),...
-'torque_thermal_tor_error_index',double(-999999999),...
-'torque_thermal_tor_error_lower',double(-9.0000000000000006360851714687e+40),...
-'torque_thermal_tor_error_upper',double(-9.0000000000000006360851714687e+40),...
-'z_ion',double(-9.0000000000000006360851714687e+40),...
-'z_ion_error_index',double(-999999999),...
-'z_ion_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_ion_error_upper',double(-9.0000000000000006360851714687e+40))
+'torque_fast_tor',double(-9e+40),...
+'torque_fast_tor_error_index',int32(-999999999),...
+'torque_fast_tor_error_lower',double(-9e+40),...
+'torque_fast_tor_error_upper',double(-9e+40),...
+'torque_thermal_tor',double(-9e+40),...
+'torque_thermal_tor_error_index',int32(-999999999),...
+'torque_thermal_tor_error_lower',double(-9e+40),...
+'torque_thermal_tor_error_upper',double(-9e+40),...
+'z_ion',double(-9e+40),...
+'z_ion_error_index',int32(-999999999),...
+'z_ion_error_lower',double(-9e+40),...
+'z_ion_error_upper',double(-9e+40))
 ;}}),...
-'current_tor',double(-9.0000000000000006360851714687e+40),...
-'current_tor_error_index',double(-999999999),...
-'current_tor_error_lower',double(-9.0000000000000006360851714687e+40),...
-'current_tor_error_upper',double(-9.0000000000000006360851714687e+40),...
-'energy',double(-9.0000000000000006360851714687e+40),...
-'energy_error_index',double(-999999999),...
-'energy_error_lower',double(-9.0000000000000006360851714687e+40),...
-'energy_error_upper',double(-9.0000000000000006360851714687e+40),...
-'energy_fast',double(-9.0000000000000006360851714687e+40),...
-'energy_fast_error_index',double(-999999999),...
-'energy_fast_error_lower',double(-9.0000000000000006360851714687e+40),...
-'energy_fast_error_upper',double(-9.0000000000000006360851714687e+40),...
-'energy_fast_parallel',double(-9.0000000000000006360851714687e+40),...
-'energy_fast_parallel_error_index',double(-999999999),...
-'energy_fast_parallel_error_lower',double(-9.0000000000000006360851714687e+40),...
-'energy_fast_parallel_error_upper',double(-9.0000000000000006360851714687e+40),...
-'particles_fast_n',double(-9.0000000000000006360851714687e+40),...
-'particles_fast_n_error_index',double(-999999999),...
-'particles_fast_n_error_lower',double(-9.0000000000000006360851714687e+40),...
-'particles_fast_n_error_upper',double(-9.0000000000000006360851714687e+40),...
-'particles_n',double(-9.0000000000000006360851714687e+40),...
-'particles_n_error_index',double(-999999999),...
-'particles_n_error_lower',double(-9.0000000000000006360851714687e+40),...
-'particles_n_error_upper',double(-9.0000000000000006360851714687e+40),...
+'current_tor',double(-9e+40),...
+'current_tor_error_index',int32(-999999999),...
+'current_tor_error_lower',double(-9e+40),...
+'current_tor_error_upper',double(-9e+40),...
+'energy',double(-9e+40),...
+'energy_error_index',int32(-999999999),...
+'energy_error_lower',double(-9e+40),...
+'energy_error_upper',double(-9e+40),...
+'energy_fast',double(-9e+40),...
+'energy_fast_error_index',int32(-999999999),...
+'energy_fast_error_lower',double(-9e+40),...
+'energy_fast_error_upper',double(-9e+40),...
+'energy_fast_parallel',double(-9e+40),...
+'energy_fast_parallel_error_index',int32(-999999999),...
+'energy_fast_parallel_error_lower',double(-9e+40),...
+'energy_fast_parallel_error_upper',double(-9e+40),...
+'particles_fast_n',double(-9e+40),...
+'particles_fast_n_error_index',int32(-999999999),...
+'particles_fast_n_error_lower',double(-9e+40),...
+'particles_fast_n_error_upper',double(-9e+40),...
+'particles_n',double(-9e+40),...
+'particles_n_error_index',int32(-999999999),...
+'particles_n_error_lower',double(-9e+40),...
+'particles_n_error_upper',double(-9e+40),...
 'source',{{struct(...
 'identifier',struct(...
-'process_index',double(-999999999),...
+'process_index',int32(-999999999),...
 'type',struct(...
-'description',double([]),...
-'index',double(-999999999),...
-'name',double([])),...
-'wave_index',double(-999999999)),...
-'particles',double(-9.0000000000000006360851714687e+40),...
-'particles_error_index',double(-999999999),...
-'particles_error_lower',double(-9.0000000000000006360851714687e+40),...
-'particles_error_upper',double(-9.0000000000000006360851714687e+40),...
-'power',double(-9.0000000000000006360851714687e+40),...
-'power_error_index',double(-999999999),...
-'power_error_lower',double(-9.0000000000000006360851714687e+40),...
-'power_error_upper',double(-9.0000000000000006360851714687e+40),...
-'torque_tor',double(-9.0000000000000006360851714687e+40),...
-'torque_tor_error_index',double(-999999999),...
-'torque_tor_error_lower',double(-9.0000000000000006360851714687e+40),...
-'torque_tor_error_upper',double(-9.0000000000000006360851714687e+40))
+'description','',...
+'index',int32(-999999999),...
+'name',''),...
+'wave_index',int32(-999999999)),...
+'particles',double(-9e+40),...
+'particles_error_index',int32(-999999999),...
+'particles_error_lower',double(-9e+40),...
+'particles_error_upper',double(-9e+40),...
+'power',double(-9e+40),...
+'power_error_index',int32(-999999999),...
+'power_error_lower',double(-9e+40),...
+'power_error_upper',double(-9e+40),...
+'torque_tor',double(-9e+40),...
+'torque_tor_error_index',int32(-999999999),...
+'torque_tor_error_lower',double(-9e+40),...
+'torque_tor_error_upper',double(-9e+40))
 ;}},...
-'time',double(-9.0000000000000006360851714687e+40),...
-'torque_tor_j_radial',double(-9.0000000000000006360851714687e+40),...
-'torque_tor_j_radial_error_index',double(-999999999),...
-'torque_tor_j_radial_error_lower',double(-9.0000000000000006360851714687e+40),...
-'torque_tor_j_radial_error_upper',double(-9.0000000000000006360851714687e+40))
+'time',double(-9e+40),...
+'torque_tor_j_radial',double(-9e+40),...
+'torque_tor_j_radial_error_index',int32(-999999999),...
+'torque_tor_j_radial_error_lower',double(-9e+40),...
+'torque_tor_j_radial_error_upper',double(-9e+40))
 ;}},...
-'gyro_type',double(-999999999),...
-'is_delta_f',double(-999999999),...
+'gyro_type',int32(-999999999),...
+'is_delta_f',int32(-999999999),...
 'markers',{{struct(...
 'coordinate_identifier',{{struct(...
-'description',double([]),...
-'index',double(-999999999),...
-'name',double([]))
+'description','',...
+'index',int32(-999999999),...
+'name','')
 ;}},...
 'positions',double([]),...
-'positions_error_index',double(-999999999),...
+'positions_error_index',int32(-999999999),...
 'positions_error_lower',double([]),...
 'positions_error_upper',double([]),...
-'time',double(-9.0000000000000006360851714687e+40),...
+'time',double(-9e+40),...
 'weights',double([]),...
-'weights_error_index',double(-999999999),...
+'weights_error_index',int32(-999999999),...
 'weights_error_lower',double([]),...
 'weights_error_upper',double([]))
 ;}},...
 'process',{{struct(...
-'nbi_beamlets_group',double(-999999999),...
+'nbi_beamlets_group',int32(-999999999),...
 'nbi_energy',struct(...
-'description',double([]),...
-'index',double(-999999999),...
-'name',double([])),...
-'nbi_unit',double(-999999999),...
+'description','',...
+'index',int32(-999999999),...
+'name',''),...
+'nbi_unit',int32(-999999999),...
 'reactant_energy',struct(...
-'description',double([]),...
-'index',double(-999999999),...
-'name',double([])),...
+'description','',...
+'index',int32(-999999999),...
+'name',''),...
 'type',struct(...
-'description',double([]),...
-'index',double(-999999999),...
-'name',double([])))
+'description','',...
+'index',int32(-999999999),...
+'name',''))
 ;}},...
 'profiles_1d',{{struct(...
 'co_passing',struct(...
 'collisions',struct(...
 'electrons',struct(...
 'power_fast',double([]),...
-'power_fast_error_index',double(-999999999),...
+'power_fast_error_index',int32(-999999999),...
 'power_fast_error_lower',double([]),...
 'power_fast_error_upper',double([]),...
 'power_thermal',double([]),...
-'power_thermal_error_index',double(-999999999),...
+'power_thermal_error_index',int32(-999999999),...
 'power_thermal_error_lower',double([]),...
 'power_thermal_error_upper',double([]),...
 'torque_fast_tor',double([]),...
-'torque_fast_tor_error_index',double(-999999999),...
+'torque_fast_tor_error_index',int32(-999999999),...
 'torque_fast_tor_error_lower',double([]),...
 'torque_fast_tor_error_upper',double([]),...
 'torque_thermal_tor',double([]),...
-'torque_thermal_tor_error_index',double(-999999999),...
+'torque_thermal_tor_error_index',int32(-999999999),...
 'torque_thermal_tor_error_lower',double([]),...
 'torque_thermal_tor_error_upper',double([])),...
 'ion',{{struct(...
 'element',{{struct(...
-'a',double(-9.0000000000000006360851714687e+40),...
-'a_error_index',double(-999999999),...
-'a_error_lower',double(-9.0000000000000006360851714687e+40),...
-'a_error_upper',double(-9.0000000000000006360851714687e+40),...
-'atoms_n',double(-999999999),...
-'multiplicity',double(-9.0000000000000006360851714687e+40),...
-'multiplicity_error_index',double(-999999999),...
-'multiplicity_error_lower',double(-9.0000000000000006360851714687e+40),...
-'multiplicity_error_upper',double(-9.0000000000000006360851714687e+40),...
-'z_n',double(-9.0000000000000006360851714687e+40),...
-'z_n_error_index',double(-999999999),...
-'z_n_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_n_error_upper',double(-9.0000000000000006360851714687e+40))
+'a',double(-9e+40),...
+'a_error_index',int32(-999999999),...
+'a_error_lower',double(-9e+40),...
+'a_error_upper',double(-9e+40),...
+'atoms_n',int32(-999999999),...
+'multiplicity',double(-9e+40),...
+'multiplicity_error_index',int32(-999999999),...
+'multiplicity_error_lower',double(-9e+40),...
+'multiplicity_error_upper',double(-9e+40),...
+'z_n',double(-9e+40),...
+'z_n_error_index',int32(-999999999),...
+'z_n_error_lower',double(-9e+40),...
+'z_n_error_upper',double(-9e+40))
 ;}},...
-'label',double([]),...
-'multiple_states_flag',double(-999999999),...
-'neutral_index',double(-999999999),...
+'label','',...
+'multiple_states_flag',int32(-999999999),...
+'neutral_index',int32(-999999999),...
 'power_fast',double([]),...
-'power_fast_error_index',double(-999999999),...
+'power_fast_error_index',int32(-999999999),...
 'power_fast_error_lower',double([]),...
 'power_fast_error_upper',double([]),...
 'power_thermal',double([]),...
-'power_thermal_error_index',double(-999999999),...
+'power_thermal_error_index',int32(-999999999),...
 'power_thermal_error_lower',double([]),...
 'power_thermal_error_upper',double([]),...
 'state',{{struct(...
-'electron_configuration',double([]),...
-'label',double([]),...
+'electron_configuration','',...
+'label','',...
 'power_fast',double([]),...
-'power_fast_error_index',double(-999999999),...
+'power_fast_error_index',int32(-999999999),...
 'power_fast_error_lower',double([]),...
 'power_fast_error_upper',double([]),...
 'power_thermal',double([]),...
-'power_thermal_error_index',double(-999999999),...
+'power_thermal_error_index',int32(-999999999),...
 'power_thermal_error_lower',double([]),...
 'power_thermal_error_upper',double([]),...
 'torque_fast_tor',double([]),...
-'torque_fast_tor_error_index',double(-999999999),...
+'torque_fast_tor_error_index',int32(-999999999),...
 'torque_fast_tor_error_lower',double([]),...
 'torque_fast_tor_error_upper',double([]),...
 'torque_thermal_tor',double([]),...
-'torque_thermal_tor_error_index',double(-999999999),...
+'torque_thermal_tor_error_index',int32(-999999999),...
 'torque_thermal_tor_error_lower',double([]),...
 'torque_thermal_tor_error_upper',double([]),...
-'vibrational_level',double(-9.0000000000000006360851714687e+40),...
-'vibrational_level_error_index',double(-999999999),...
-'vibrational_level_error_lower',double(-9.0000000000000006360851714687e+40),...
-'vibrational_level_error_upper',double(-9.0000000000000006360851714687e+40),...
-'vibrational_mode',double([]),...
-'z_max',double(-9.0000000000000006360851714687e+40),...
-'z_max_error_index',double(-999999999),...
-'z_max_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_max_error_upper',double(-9.0000000000000006360851714687e+40),...
-'z_min',double(-9.0000000000000006360851714687e+40),...
-'z_min_error_index',double(-999999999),...
-'z_min_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_min_error_upper',double(-9.0000000000000006360851714687e+40))
+'vibrational_level',double(-9e+40),...
+'vibrational_level_error_index',int32(-999999999),...
+'vibrational_level_error_lower',double(-9e+40),...
+'vibrational_level_error_upper',double(-9e+40),...
+'vibrational_mode','',...
+'z_max',double(-9e+40),...
+'z_max_error_index',int32(-999999999),...
+'z_max_error_lower',double(-9e+40),...
+'z_max_error_upper',double(-9e+40),...
+'z_min',double(-9e+40),...
+'z_min_error_index',int32(-999999999),...
+'z_min_error_lower',double(-9e+40),...
+'z_min_error_upper',double(-9e+40))
 ;}},...
 'torque_fast_tor',double([]),...
-'torque_fast_tor_error_index',double(-999999999),...
+'torque_fast_tor_error_index',int32(-999999999),...
 'torque_fast_tor_error_lower',double([]),...
 'torque_fast_tor_error_upper',double([]),...
 'torque_thermal_tor',double([]),...
-'torque_thermal_tor_error_index',double(-999999999),...
+'torque_thermal_tor_error_index',int32(-999999999),...
 'torque_thermal_tor_error_lower',double([]),...
 'torque_thermal_tor_error_upper',double([]),...
-'z_ion',double(-9.0000000000000006360851714687e+40),...
-'z_ion_error_index',double(-999999999),...
-'z_ion_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_ion_error_upper',double(-9.0000000000000006360851714687e+40))
+'z_ion',double(-9e+40),...
+'z_ion_error_index',int32(-999999999),...
+'z_ion_error_lower',double(-9e+40),...
+'z_ion_error_upper',double(-9e+40))
 ;}}),...
 'current_fast_tor',double([]),...
-'current_fast_tor_error_index',double(-999999999),...
+'current_fast_tor_error_index',int32(-999999999),...
 'current_fast_tor_error_lower',double([]),...
 'current_fast_tor_error_upper',double([]),...
 'current_tor',double([]),...
-'current_tor_error_index',double(-999999999),...
+'current_tor_error_index',int32(-999999999),...
 'current_tor_error_lower',double([]),...
 'current_tor_error_upper',double([]),...
 'density',double([]),...
-'density_error_index',double(-999999999),...
+'density_error_index',int32(-999999999),...
 'density_error_lower',double([]),...
 'density_error_upper',double([]),...
 'density_fast',double([]),...
-'density_fast_error_index',double(-999999999),...
+'density_fast_error_index',int32(-999999999),...
 'density_fast_error_lower',double([]),...
 'density_fast_error_upper',double([]),...
 'pressure',double([]),...
-'pressure_error_index',double(-999999999),...
+'pressure_error_index',int32(-999999999),...
 'pressure_error_lower',double([]),...
 'pressure_error_upper',double([]),...
 'pressure_fast',double([]),...
-'pressure_fast_error_index',double(-999999999),...
+'pressure_fast_error_index',int32(-999999999),...
 'pressure_fast_error_lower',double([]),...
 'pressure_fast_error_upper',double([]),...
 'pressure_fast_parallel',double([]),...
-'pressure_fast_parallel_error_index',double(-999999999),...
+'pressure_fast_parallel_error_index',int32(-999999999),...
 'pressure_fast_parallel_error_lower',double([]),...
 'pressure_fast_parallel_error_upper',double([]),...
 'source',{{struct(...
 'energy',double([]),...
-'energy_error_index',double(-999999999),...
+'energy_error_index',int32(-999999999),...
 'energy_error_lower',double([]),...
 'energy_error_upper',double([]),...
 'identifier',struct(...
-'process_index',double(-999999999),...
+'process_index',int32(-999999999),...
 'type',struct(...
-'description',double([]),...
-'index',double(-999999999),...
-'name',double([])),...
-'wave_index',double(-999999999)),...
+'description','',...
+'index',int32(-999999999),...
+'name',''),...
+'wave_index',int32(-999999999)),...
 'momentum_tor',double([]),...
-'momentum_tor_error_index',double(-999999999),...
+'momentum_tor_error_index',int32(-999999999),...
 'momentum_tor_error_lower',double([]),...
 'momentum_tor_error_upper',double([]),...
 'particles',double([]),...
-'particles_error_index',double(-999999999),...
+'particles_error_index',int32(-999999999),...
 'particles_error_lower',double([]),...
 'particles_error_upper',double([]))
 ;}},...
 'torque_tor_j_radial',double([]),...
-'torque_tor_j_radial_error_index',double(-999999999),...
+'torque_tor_j_radial_error_index',int32(-999999999),...
 'torque_tor_j_radial_error_lower',double([]),...
 'torque_tor_j_radial_error_upper',double([])),...
 'collisions',struct(...
 'electrons',struct(...
 'power_fast',double([]),...
-'power_fast_error_index',double(-999999999),...
+'power_fast_error_index',int32(-999999999),...
 'power_fast_error_lower',double([]),...
 'power_fast_error_upper',double([]),...
 'power_thermal',double([]),...
-'power_thermal_error_index',double(-999999999),...
+'power_thermal_error_index',int32(-999999999),...
 'power_thermal_error_lower',double([]),...
 'power_thermal_error_upper',double([]),...
 'torque_fast_tor',double([]),...
-'torque_fast_tor_error_index',double(-999999999),...
+'torque_fast_tor_error_index',int32(-999999999),...
 'torque_fast_tor_error_lower',double([]),...
 'torque_fast_tor_error_upper',double([]),...
 'torque_thermal_tor',double([]),...
-'torque_thermal_tor_error_index',double(-999999999),...
+'torque_thermal_tor_error_index',int32(-999999999),...
 'torque_thermal_tor_error_lower',double([]),...
 'torque_thermal_tor_error_upper',double([])),...
 'ion',{{struct(...
 'element',{{struct(...
-'a',double(-9.0000000000000006360851714687e+40),...
-'a_error_index',double(-999999999),...
-'a_error_lower',double(-9.0000000000000006360851714687e+40),...
-'a_error_upper',double(-9.0000000000000006360851714687e+40),...
-'atoms_n',double(-999999999),...
-'multiplicity',double(-9.0000000000000006360851714687e+40),...
-'multiplicity_error_index',double(-999999999),...
-'multiplicity_error_lower',double(-9.0000000000000006360851714687e+40),...
-'multiplicity_error_upper',double(-9.0000000000000006360851714687e+40),...
-'z_n',double(-9.0000000000000006360851714687e+40),...
-'z_n_error_index',double(-999999999),...
-'z_n_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_n_error_upper',double(-9.0000000000000006360851714687e+40))
+'a',double(-9e+40),...
+'a_error_index',int32(-999999999),...
+'a_error_lower',double(-9e+40),...
+'a_error_upper',double(-9e+40),...
+'atoms_n',int32(-999999999),...
+'multiplicity',double(-9e+40),...
+'multiplicity_error_index',int32(-999999999),...
+'multiplicity_error_lower',double(-9e+40),...
+'multiplicity_error_upper',double(-9e+40),...
+'z_n',double(-9e+40),...
+'z_n_error_index',int32(-999999999),...
+'z_n_error_lower',double(-9e+40),...
+'z_n_error_upper',double(-9e+40))
 ;}},...
-'label',double([]),...
-'multiple_states_flag',double(-999999999),...
-'neutral_index',double(-999999999),...
+'label','',...
+'multiple_states_flag',int32(-999999999),...
+'neutral_index',int32(-999999999),...
 'power_fast',double([]),...
-'power_fast_error_index',double(-999999999),...
+'power_fast_error_index',int32(-999999999),...
 'power_fast_error_lower',double([]),...
 'power_fast_error_upper',double([]),...
 'power_thermal',double([]),...
-'power_thermal_error_index',double(-999999999),...
+'power_thermal_error_index',int32(-999999999),...
 'power_thermal_error_lower',double([]),...
 'power_thermal_error_upper',double([]),...
 'state',{{struct(...
-'electron_configuration',double([]),...
-'label',double([]),...
+'electron_configuration','',...
+'label','',...
 'power_fast',double([]),...
-'power_fast_error_index',double(-999999999),...
+'power_fast_error_index',int32(-999999999),...
 'power_fast_error_lower',double([]),...
 'power_fast_error_upper',double([]),...
 'power_thermal',double([]),...
-'power_thermal_error_index',double(-999999999),...
+'power_thermal_error_index',int32(-999999999),...
 'power_thermal_error_lower',double([]),...
 'power_thermal_error_upper',double([]),...
 'torque_fast_tor',double([]),...
-'torque_fast_tor_error_index',double(-999999999),...
+'torque_fast_tor_error_index',int32(-999999999),...
 'torque_fast_tor_error_lower',double([]),...
 'torque_fast_tor_error_upper',double([]),...
 'torque_thermal_tor',double([]),...
-'torque_thermal_tor_error_index',double(-999999999),...
+'torque_thermal_tor_error_index',int32(-999999999),...
 'torque_thermal_tor_error_lower',double([]),...
 'torque_thermal_tor_error_upper',double([]),...
-'vibrational_level',double(-9.0000000000000006360851714687e+40),...
-'vibrational_level_error_index',double(-999999999),...
-'vibrational_level_error_lower',double(-9.0000000000000006360851714687e+40),...
-'vibrational_level_error_upper',double(-9.0000000000000006360851714687e+40),...
-'vibrational_mode',double([]),...
-'z_max',double(-9.0000000000000006360851714687e+40),...
-'z_max_error_index',double(-999999999),...
-'z_max_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_max_error_upper',double(-9.0000000000000006360851714687e+40),...
-'z_min',double(-9.0000000000000006360851714687e+40),...
-'z_min_error_index',double(-999999999),...
-'z_min_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_min_error_upper',double(-9.0000000000000006360851714687e+40))
+'vibrational_level',double(-9e+40),...
+'vibrational_level_error_index',int32(-999999999),...
+'vibrational_level_error_lower',double(-9e+40),...
+'vibrational_level_error_upper',double(-9e+40),...
+'vibrational_mode','',...
+'z_max',double(-9e+40),...
+'z_max_error_index',int32(-999999999),...
+'z_max_error_lower',double(-9e+40),...
+'z_max_error_upper',double(-9e+40),...
+'z_min',double(-9e+40),...
+'z_min_error_index',int32(-999999999),...
+'z_min_error_lower',double(-9e+40),...
+'z_min_error_upper',double(-9e+40))
 ;}},...
 'torque_fast_tor',double([]),...
-'torque_fast_tor_error_index',double(-999999999),...
+'torque_fast_tor_error_index',int32(-999999999),...
 'torque_fast_tor_error_lower',double([]),...
 'torque_fast_tor_error_upper',double([]),...
 'torque_thermal_tor',double([]),...
-'torque_thermal_tor_error_index',double(-999999999),...
+'torque_thermal_tor_error_index',int32(-999999999),...
 'torque_thermal_tor_error_lower',double([]),...
 'torque_thermal_tor_error_upper',double([]),...
-'z_ion',double(-9.0000000000000006360851714687e+40),...
-'z_ion_error_index',double(-999999999),...
-'z_ion_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_ion_error_upper',double(-9.0000000000000006360851714687e+40))
+'z_ion',double(-9e+40),...
+'z_ion_error_index',int32(-999999999),...
+'z_ion_error_lower',double(-9e+40),...
+'z_ion_error_upper',double(-9e+40))
 ;}}),...
 'counter_passing',struct(...
 'collisions',struct(...
 'electrons',struct(...
 'power_fast',double([]),...
-'power_fast_error_index',double(-999999999),...
+'power_fast_error_index',int32(-999999999),...
 'power_fast_error_lower',double([]),...
 'power_fast_error_upper',double([]),...
 'power_thermal',double([]),...
-'power_thermal_error_index',double(-999999999),...
+'power_thermal_error_index',int32(-999999999),...
 'power_thermal_error_lower',double([]),...
 'power_thermal_error_upper',double([]),...
 'torque_fast_tor',double([]),...
-'torque_fast_tor_error_index',double(-999999999),...
+'torque_fast_tor_error_index',int32(-999999999),...
 'torque_fast_tor_error_lower',double([]),...
 'torque_fast_tor_error_upper',double([]),...
 'torque_thermal_tor',double([]),...
-'torque_thermal_tor_error_index',double(-999999999),...
+'torque_thermal_tor_error_index',int32(-999999999),...
 'torque_thermal_tor_error_lower',double([]),...
 'torque_thermal_tor_error_upper',double([])),...
 'ion',{{struct(...
 'element',{{struct(...
-'a',double(-9.0000000000000006360851714687e+40),...
-'a_error_index',double(-999999999),...
-'a_error_lower',double(-9.0000000000000006360851714687e+40),...
-'a_error_upper',double(-9.0000000000000006360851714687e+40),...
-'atoms_n',double(-999999999),...
-'multiplicity',double(-9.0000000000000006360851714687e+40),...
-'multiplicity_error_index',double(-999999999),...
-'multiplicity_error_lower',double(-9.0000000000000006360851714687e+40),...
-'multiplicity_error_upper',double(-9.0000000000000006360851714687e+40),...
-'z_n',double(-9.0000000000000006360851714687e+40),...
-'z_n_error_index',double(-999999999),...
-'z_n_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_n_error_upper',double(-9.0000000000000006360851714687e+40))
+'a',double(-9e+40),...
+'a_error_index',int32(-999999999),...
+'a_error_lower',double(-9e+40),...
+'a_error_upper',double(-9e+40),...
+'atoms_n',int32(-999999999),...
+'multiplicity',double(-9e+40),...
+'multiplicity_error_index',int32(-999999999),...
+'multiplicity_error_lower',double(-9e+40),...
+'multiplicity_error_upper',double(-9e+40),...
+'z_n',double(-9e+40),...
+'z_n_error_index',int32(-999999999),...
+'z_n_error_lower',double(-9e+40),...
+'z_n_error_upper',double(-9e+40))
 ;}},...
-'label',double([]),...
-'multiple_states_flag',double(-999999999),...
-'neutral_index',double(-999999999),...
+'label','',...
+'multiple_states_flag',int32(-999999999),...
+'neutral_index',int32(-999999999),...
 'power_fast',double([]),...
-'power_fast_error_index',double(-999999999),...
+'power_fast_error_index',int32(-999999999),...
 'power_fast_error_lower',double([]),...
 'power_fast_error_upper',double([]),...
 'power_thermal',double([]),...
-'power_thermal_error_index',double(-999999999),...
+'power_thermal_error_index',int32(-999999999),...
 'power_thermal_error_lower',double([]),...
 'power_thermal_error_upper',double([]),...
 'state',{{struct(...
-'electron_configuration',double([]),...
-'label',double([]),...
+'electron_configuration','',...
+'label','',...
 'power_fast',double([]),...
-'power_fast_error_index',double(-999999999),...
+'power_fast_error_index',int32(-999999999),...
 'power_fast_error_lower',double([]),...
 'power_fast_error_upper',double([]),...
 'power_thermal',double([]),...
-'power_thermal_error_index',double(-999999999),...
+'power_thermal_error_index',int32(-999999999),...
 'power_thermal_error_lower',double([]),...
 'power_thermal_error_upper',double([]),...
 'torque_fast_tor',double([]),...
-'torque_fast_tor_error_index',double(-999999999),...
+'torque_fast_tor_error_index',int32(-999999999),...
 'torque_fast_tor_error_lower',double([]),...
 'torque_fast_tor_error_upper',double([]),...
 'torque_thermal_tor',double([]),...
-'torque_thermal_tor_error_index',double(-999999999),...
+'torque_thermal_tor_error_index',int32(-999999999),...
 'torque_thermal_tor_error_lower',double([]),...
 'torque_thermal_tor_error_upper',double([]),...
-'vibrational_level',double(-9.0000000000000006360851714687e+40),...
-'vibrational_level_error_index',double(-999999999),...
-'vibrational_level_error_lower',double(-9.0000000000000006360851714687e+40),...
-'vibrational_level_error_upper',double(-9.0000000000000006360851714687e+40),...
-'vibrational_mode',double([]),...
-'z_max',double(-9.0000000000000006360851714687e+40),...
-'z_max_error_index',double(-999999999),...
-'z_max_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_max_error_upper',double(-9.0000000000000006360851714687e+40),...
-'z_min',double(-9.0000000000000006360851714687e+40),...
-'z_min_error_index',double(-999999999),...
-'z_min_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_min_error_upper',double(-9.0000000000000006360851714687e+40))
+'vibrational_level',double(-9e+40),...
+'vibrational_level_error_index',int32(-999999999),...
+'vibrational_level_error_lower',double(-9e+40),...
+'vibrational_level_error_upper',double(-9e+40),...
+'vibrational_mode','',...
+'z_max',double(-9e+40),...
+'z_max_error_index',int32(-999999999),...
+'z_max_error_lower',double(-9e+40),...
+'z_max_error_upper',double(-9e+40),...
+'z_min',double(-9e+40),...
+'z_min_error_index',int32(-999999999),...
+'z_min_error_lower',double(-9e+40),...
+'z_min_error_upper',double(-9e+40))
 ;}},...
 'torque_fast_tor',double([]),...
-'torque_fast_tor_error_index',double(-999999999),...
+'torque_fast_tor_error_index',int32(-999999999),...
 'torque_fast_tor_error_lower',double([]),...
 'torque_fast_tor_error_upper',double([]),...
 'torque_thermal_tor',double([]),...
-'torque_thermal_tor_error_index',double(-999999999),...
+'torque_thermal_tor_error_index',int32(-999999999),...
 'torque_thermal_tor_error_lower',double([]),...
 'torque_thermal_tor_error_upper',double([]),...
-'z_ion',double(-9.0000000000000006360851714687e+40),...
-'z_ion_error_index',double(-999999999),...
-'z_ion_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_ion_error_upper',double(-9.0000000000000006360851714687e+40))
+'z_ion',double(-9e+40),...
+'z_ion_error_index',int32(-999999999),...
+'z_ion_error_lower',double(-9e+40),...
+'z_ion_error_upper',double(-9e+40))
 ;}}),...
 'current_fast_tor',double([]),...
-'current_fast_tor_error_index',double(-999999999),...
+'current_fast_tor_error_index',int32(-999999999),...
 'current_fast_tor_error_lower',double([]),...
 'current_fast_tor_error_upper',double([]),...
 'current_tor',double([]),...
-'current_tor_error_index',double(-999999999),...
+'current_tor_error_index',int32(-999999999),...
 'current_tor_error_lower',double([]),...
 'current_tor_error_upper',double([]),...
 'density',double([]),...
-'density_error_index',double(-999999999),...
+'density_error_index',int32(-999999999),...
 'density_error_lower',double([]),...
 'density_error_upper',double([]),...
 'density_fast',double([]),...
-'density_fast_error_index',double(-999999999),...
+'density_fast_error_index',int32(-999999999),...
 'density_fast_error_lower',double([]),...
 'density_fast_error_upper',double([]),...
 'pressure',double([]),...
-'pressure_error_index',double(-999999999),...
+'pressure_error_index',int32(-999999999),...
 'pressure_error_lower',double([]),...
 'pressure_error_upper',double([]),...
 'pressure_fast',double([]),...
-'pressure_fast_error_index',double(-999999999),...
+'pressure_fast_error_index',int32(-999999999),...
 'pressure_fast_error_lower',double([]),...
 'pressure_fast_error_upper',double([]),...
 'pressure_fast_parallel',double([]),...
-'pressure_fast_parallel_error_index',double(-999999999),...
+'pressure_fast_parallel_error_index',int32(-999999999),...
 'pressure_fast_parallel_error_lower',double([]),...
 'pressure_fast_parallel_error_upper',double([]),...
 'source',{{struct(...
 'energy',double([]),...
-'energy_error_index',double(-999999999),...
+'energy_error_index',int32(-999999999),...
 'energy_error_lower',double([]),...
 'energy_error_upper',double([]),...
 'identifier',struct(...
-'process_index',double(-999999999),...
+'process_index',int32(-999999999),...
 'type',struct(...
-'description',double([]),...
-'index',double(-999999999),...
-'name',double([])),...
-'wave_index',double(-999999999)),...
+'description','',...
+'index',int32(-999999999),...
+'name',''),...
+'wave_index',int32(-999999999)),...
 'momentum_tor',double([]),...
-'momentum_tor_error_index',double(-999999999),...
+'momentum_tor_error_index',int32(-999999999),...
 'momentum_tor_error_lower',double([]),...
 'momentum_tor_error_upper',double([]),...
 'particles',double([]),...
-'particles_error_index',double(-999999999),...
+'particles_error_index',int32(-999999999),...
 'particles_error_lower',double([]),...
 'particles_error_upper',double([]))
 ;}},...
 'torque_tor_j_radial',double([]),...
-'torque_tor_j_radial_error_index',double(-999999999),...
+'torque_tor_j_radial_error_index',int32(-999999999),...
 'torque_tor_j_radial_error_lower',double([]),...
 'torque_tor_j_radial_error_upper',double([])),...
 'current_fast_tor',double([]),...
-'current_fast_tor_error_index',double(-999999999),...
+'current_fast_tor_error_index',int32(-999999999),...
 'current_fast_tor_error_lower',double([]),...
 'current_fast_tor_error_upper',double([]),...
 'current_tor',double([]),...
-'current_tor_error_index',double(-999999999),...
+'current_tor_error_index',int32(-999999999),...
 'current_tor_error_lower',double([]),...
 'current_tor_error_upper',double([]),...
 'density',double([]),...
-'density_error_index',double(-999999999),...
+'density_error_index',int32(-999999999),...
 'density_error_lower',double([]),...
 'density_error_upper',double([]),...
 'density_fast',double([]),...
-'density_fast_error_index',double(-999999999),...
+'density_fast_error_index',int32(-999999999),...
 'density_fast_error_lower',double([]),...
 'density_fast_error_upper',double([]),...
 'fast_filter',struct(...
 'energy',double([]),...
-'energy_error_index',double(-999999999),...
+'energy_error_index',int32(-999999999),...
 'energy_error_lower',double([]),...
 'energy_error_upper',double([]),...
 'method',struct(...
-'description',double([]),...
-'index',double(-999999999),...
-'name',double([]))),...
+'description','',...
+'index',int32(-999999999),...
+'name','')),...
 'grid',struct(...
 'area',double([]),...
-'area_error_index',double(-999999999),...
+'area_error_index',int32(-999999999),...
 'area_error_lower',double([]),...
 'area_error_upper',double([]),...
 'psi',double([]),...
-'psi_error_index',double(-999999999),...
+'psi_boundary',double(-9e+40),...
+'psi_boundary_error_index',int32(-999999999),...
+'psi_boundary_error_lower',double(-9e+40),...
+'psi_boundary_error_upper',double(-9e+40),...
+'psi_error_index',int32(-999999999),...
 'psi_error_lower',double([]),...
 'psi_error_upper',double([]),...
+'psi_magnetic_axis',double(-9e+40),...
+'psi_magnetic_axis_error_index',int32(-999999999),...
+'psi_magnetic_axis_error_lower',double(-9e+40),...
+'psi_magnetic_axis_error_upper',double(-9e+40),...
+'rho_pol_norm',double([]),...
+'rho_pol_norm_error_index',int32(-999999999),...
+'rho_pol_norm_error_lower',double([]),...
+'rho_pol_norm_error_upper',double([]),...
 'rho_tor',double([]),...
-'rho_tor_error_index',double(-999999999),...
+'rho_tor_error_index',int32(-999999999),...
 'rho_tor_error_lower',double([]),...
 'rho_tor_error_upper',double([]),...
 'rho_tor_norm',double([]),...
-'rho_tor_norm_error_index',double(-999999999),...
+'rho_tor_norm_error_index',int32(-999999999),...
 'rho_tor_norm_error_lower',double([]),...
 'rho_tor_norm_error_upper',double([]),...
 'volume',double([]),...
-'volume_error_index',double(-999999999),...
+'volume_error_index',int32(-999999999),...
 'volume_error_lower',double([]),...
 'volume_error_upper',double([])),...
 'pressure',double([]),...
-'pressure_error_index',double(-999999999),...
+'pressure_error_index',int32(-999999999),...
 'pressure_error_lower',double([]),...
 'pressure_error_upper',double([]),...
 'pressure_fast',double([]),...
-'pressure_fast_error_index',double(-999999999),...
+'pressure_fast_error_index',int32(-999999999),...
 'pressure_fast_error_lower',double([]),...
 'pressure_fast_error_upper',double([]),...
 'pressure_fast_parallel',double([]),...
-'pressure_fast_parallel_error_index',double(-999999999),...
+'pressure_fast_parallel_error_index',int32(-999999999),...
 'pressure_fast_parallel_error_lower',double([]),...
 'pressure_fast_parallel_error_upper',double([]),...
 'source',{{struct(...
 'energy',double([]),...
-'energy_error_index',double(-999999999),...
+'energy_error_index',int32(-999999999),...
 'energy_error_lower',double([]),...
 'energy_error_upper',double([]),...
 'identifier',struct(...
-'process_index',double(-999999999),...
+'process_index',int32(-999999999),...
 'type',struct(...
-'description',double([]),...
-'index',double(-999999999),...
-'name',double([])),...
-'wave_index',double(-999999999)),...
+'description','',...
+'index',int32(-999999999),...
+'name',''),...
+'wave_index',int32(-999999999)),...
 'momentum_tor',double([]),...
-'momentum_tor_error_index',double(-999999999),...
+'momentum_tor_error_index',int32(-999999999),...
 'momentum_tor_error_lower',double([]),...
 'momentum_tor_error_upper',double([]),...
 'particles',double([]),...
-'particles_error_index',double(-999999999),...
+'particles_error_index',int32(-999999999),...
 'particles_error_lower',double([]),...
 'particles_error_upper',double([]))
 ;}},...
 'thermalisation',struct(...
 'energy',double([]),...
-'energy_error_index',double(-999999999),...
+'energy_error_index',int32(-999999999),...
 'energy_error_lower',double([]),...
 'energy_error_upper',double([]),...
 'momentum_tor',double([]),...
-'momentum_tor_error_index',double(-999999999),...
+'momentum_tor_error_index',int32(-999999999),...
 'momentum_tor_error_lower',double([]),...
 'momentum_tor_error_upper',double([]),...
 'particles',double([]),...
-'particles_error_index',double(-999999999),...
+'particles_error_index',int32(-999999999),...
 'particles_error_lower',double([]),...
 'particles_error_upper',double([])),...
-'time',double(-9.0000000000000006360851714687e+40),...
+'time',double(-9e+40),...
 'torque_tor_j_radial',double([]),...
-'torque_tor_j_radial_error_index',double(-999999999),...
+'torque_tor_j_radial_error_index',int32(-999999999),...
 'torque_tor_j_radial_error_lower',double([]),...
 'torque_tor_j_radial_error_upper',double([]),...
 'trapped',struct(...
 'collisions',struct(...
 'electrons',struct(...
 'power_fast',double([]),...
-'power_fast_error_index',double(-999999999),...
+'power_fast_error_index',int32(-999999999),...
 'power_fast_error_lower',double([]),...
 'power_fast_error_upper',double([]),...
 'power_thermal',double([]),...
-'power_thermal_error_index',double(-999999999),...
+'power_thermal_error_index',int32(-999999999),...
 'power_thermal_error_lower',double([]),...
 'power_thermal_error_upper',double([]),...
 'torque_fast_tor',double([]),...
-'torque_fast_tor_error_index',double(-999999999),...
+'torque_fast_tor_error_index',int32(-999999999),...
 'torque_fast_tor_error_lower',double([]),...
 'torque_fast_tor_error_upper',double([]),...
 'torque_thermal_tor',double([]),...
-'torque_thermal_tor_error_index',double(-999999999),...
+'torque_thermal_tor_error_index',int32(-999999999),...
 'torque_thermal_tor_error_lower',double([]),...
 'torque_thermal_tor_error_upper',double([])),...
 'ion',{{struct(...
 'element',{{struct(...
-'a',double(-9.0000000000000006360851714687e+40),...
-'a_error_index',double(-999999999),...
-'a_error_lower',double(-9.0000000000000006360851714687e+40),...
-'a_error_upper',double(-9.0000000000000006360851714687e+40),...
-'atoms_n',double(-999999999),...
-'multiplicity',double(-9.0000000000000006360851714687e+40),...
-'multiplicity_error_index',double(-999999999),...
-'multiplicity_error_lower',double(-9.0000000000000006360851714687e+40),...
-'multiplicity_error_upper',double(-9.0000000000000006360851714687e+40),...
-'z_n',double(-9.0000000000000006360851714687e+40),...
-'z_n_error_index',double(-999999999),...
-'z_n_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_n_error_upper',double(-9.0000000000000006360851714687e+40))
+'a',double(-9e+40),...
+'a_error_index',int32(-999999999),...
+'a_error_lower',double(-9e+40),...
+'a_error_upper',double(-9e+40),...
+'atoms_n',int32(-999999999),...
+'multiplicity',double(-9e+40),...
+'multiplicity_error_index',int32(-999999999),...
+'multiplicity_error_lower',double(-9e+40),...
+'multiplicity_error_upper',double(-9e+40),...
+'z_n',double(-9e+40),...
+'z_n_error_index',int32(-999999999),...
+'z_n_error_lower',double(-9e+40),...
+'z_n_error_upper',double(-9e+40))
 ;}},...
-'label',double([]),...
-'multiple_states_flag',double(-999999999),...
-'neutral_index',double(-999999999),...
+'label','',...
+'multiple_states_flag',int32(-999999999),...
+'neutral_index',int32(-999999999),...
 'power_fast',double([]),...
-'power_fast_error_index',double(-999999999),...
+'power_fast_error_index',int32(-999999999),...
 'power_fast_error_lower',double([]),...
 'power_fast_error_upper',double([]),...
 'power_thermal',double([]),...
-'power_thermal_error_index',double(-999999999),...
+'power_thermal_error_index',int32(-999999999),...
 'power_thermal_error_lower',double([]),...
 'power_thermal_error_upper',double([]),...
 'state',{{struct(...
-'electron_configuration',double([]),...
-'label',double([]),...
+'electron_configuration','',...
+'label','',...
 'power_fast',double([]),...
-'power_fast_error_index',double(-999999999),...
+'power_fast_error_index',int32(-999999999),...
 'power_fast_error_lower',double([]),...
 'power_fast_error_upper',double([]),...
 'power_thermal',double([]),...
-'power_thermal_error_index',double(-999999999),...
+'power_thermal_error_index',int32(-999999999),...
 'power_thermal_error_lower',double([]),...
 'power_thermal_error_upper',double([]),...
 'torque_fast_tor',double([]),...
-'torque_fast_tor_error_index',double(-999999999),...
+'torque_fast_tor_error_index',int32(-999999999),...
 'torque_fast_tor_error_lower',double([]),...
 'torque_fast_tor_error_upper',double([]),...
 'torque_thermal_tor',double([]),...
-'torque_thermal_tor_error_index',double(-999999999),...
+'torque_thermal_tor_error_index',int32(-999999999),...
 'torque_thermal_tor_error_lower',double([]),...
 'torque_thermal_tor_error_upper',double([]),...
-'vibrational_level',double(-9.0000000000000006360851714687e+40),...
-'vibrational_level_error_index',double(-999999999),...
-'vibrational_level_error_lower',double(-9.0000000000000006360851714687e+40),...
-'vibrational_level_error_upper',double(-9.0000000000000006360851714687e+40),...
-'vibrational_mode',double([]),...
-'z_max',double(-9.0000000000000006360851714687e+40),...
-'z_max_error_index',double(-999999999),...
-'z_max_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_max_error_upper',double(-9.0000000000000006360851714687e+40),...
-'z_min',double(-9.0000000000000006360851714687e+40),...
-'z_min_error_index',double(-999999999),...
-'z_min_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_min_error_upper',double(-9.0000000000000006360851714687e+40))
+'vibrational_level',double(-9e+40),...
+'vibrational_level_error_index',int32(-999999999),...
+'vibrational_level_error_lower',double(-9e+40),...
+'vibrational_level_error_upper',double(-9e+40),...
+'vibrational_mode','',...
+'z_max',double(-9e+40),...
+'z_max_error_index',int32(-999999999),...
+'z_max_error_lower',double(-9e+40),...
+'z_max_error_upper',double(-9e+40),...
+'z_min',double(-9e+40),...
+'z_min_error_index',int32(-999999999),...
+'z_min_error_lower',double(-9e+40),...
+'z_min_error_upper',double(-9e+40))
 ;}},...
 'torque_fast_tor',double([]),...
-'torque_fast_tor_error_index',double(-999999999),...
+'torque_fast_tor_error_index',int32(-999999999),...
 'torque_fast_tor_error_lower',double([]),...
 'torque_fast_tor_error_upper',double([]),...
 'torque_thermal_tor',double([]),...
-'torque_thermal_tor_error_index',double(-999999999),...
+'torque_thermal_tor_error_index',int32(-999999999),...
 'torque_thermal_tor_error_lower',double([]),...
 'torque_thermal_tor_error_upper',double([]),...
-'z_ion',double(-9.0000000000000006360851714687e+40),...
-'z_ion_error_index',double(-999999999),...
-'z_ion_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_ion_error_upper',double(-9.0000000000000006360851714687e+40))
+'z_ion',double(-9e+40),...
+'z_ion_error_index',int32(-999999999),...
+'z_ion_error_lower',double(-9e+40),...
+'z_ion_error_upper',double(-9e+40))
 ;}}),...
 'current_fast_tor',double([]),...
-'current_fast_tor_error_index',double(-999999999),...
+'current_fast_tor_error_index',int32(-999999999),...
 'current_fast_tor_error_lower',double([]),...
 'current_fast_tor_error_upper',double([]),...
 'current_tor',double([]),...
-'current_tor_error_index',double(-999999999),...
+'current_tor_error_index',int32(-999999999),...
 'current_tor_error_lower',double([]),...
 'current_tor_error_upper',double([]),...
 'density',double([]),...
-'density_error_index',double(-999999999),...
+'density_error_index',int32(-999999999),...
 'density_error_lower',double([]),...
 'density_error_upper',double([]),...
 'density_fast',double([]),...
-'density_fast_error_index',double(-999999999),...
+'density_fast_error_index',int32(-999999999),...
 'density_fast_error_lower',double([]),...
 'density_fast_error_upper',double([]),...
 'pressure',double([]),...
-'pressure_error_index',double(-999999999),...
+'pressure_error_index',int32(-999999999),...
 'pressure_error_lower',double([]),...
 'pressure_error_upper',double([]),...
 'pressure_fast',double([]),...
-'pressure_fast_error_index',double(-999999999),...
+'pressure_fast_error_index',int32(-999999999),...
 'pressure_fast_error_lower',double([]),...
 'pressure_fast_error_upper',double([]),...
 'pressure_fast_parallel',double([]),...
-'pressure_fast_parallel_error_index',double(-999999999),...
+'pressure_fast_parallel_error_index',int32(-999999999),...
 'pressure_fast_parallel_error_lower',double([]),...
 'pressure_fast_parallel_error_upper',double([]),...
 'source',{{struct(...
 'energy',double([]),...
-'energy_error_index',double(-999999999),...
+'energy_error_index',int32(-999999999),...
 'energy_error_lower',double([]),...
 'energy_error_upper',double([]),...
 'identifier',struct(...
-'process_index',double(-999999999),...
+'process_index',int32(-999999999),...
 'type',struct(...
-'description',double([]),...
-'index',double(-999999999),...
-'name',double([])),...
-'wave_index',double(-999999999)),...
+'description','',...
+'index',int32(-999999999),...
+'name',''),...
+'wave_index',int32(-999999999)),...
 'momentum_tor',double([]),...
-'momentum_tor_error_index',double(-999999999),...
+'momentum_tor_error_index',int32(-999999999),...
 'momentum_tor_error_lower',double([]),...
 'momentum_tor_error_upper',double([]),...
 'particles',double([]),...
-'particles_error_index',double(-999999999),...
+'particles_error_index',int32(-999999999),...
 'particles_error_lower',double([]),...
 'particles_error_upper',double([]))
 ;}},...
 'torque_tor_j_radial',double([]),...
-'torque_tor_j_radial_error_index',double(-999999999),...
+'torque_tor_j_radial_error_index',int32(-999999999),...
 'torque_tor_j_radial_error_lower',double([]),...
 'torque_tor_j_radial_error_upper',double([])))
 ;}},...
@@ -915,642 +927,646 @@ struct(...
 'collisions',struct(...
 'electrons',struct(...
 'power_fast',double([]),...
-'power_fast_error_index',double(-999999999),...
+'power_fast_error_index',int32(-999999999),...
 'power_fast_error_lower',double([]),...
 'power_fast_error_upper',double([]),...
 'power_thermal',double([]),...
-'power_thermal_error_index',double(-999999999),...
+'power_thermal_error_index',int32(-999999999),...
 'power_thermal_error_lower',double([]),...
 'power_thermal_error_upper',double([]),...
 'torque_fast_tor',double([]),...
-'torque_fast_tor_error_index',double(-999999999),...
+'torque_fast_tor_error_index',int32(-999999999),...
 'torque_fast_tor_error_lower',double([]),...
 'torque_fast_tor_error_upper',double([]),...
 'torque_thermal_tor',double([]),...
-'torque_thermal_tor_error_index',double(-999999999),...
+'torque_thermal_tor_error_index',int32(-999999999),...
 'torque_thermal_tor_error_lower',double([]),...
 'torque_thermal_tor_error_upper',double([])),...
 'ion',{{struct(...
 'element',{{struct(...
-'a',double(-9.0000000000000006360851714687e+40),...
-'a_error_index',double(-999999999),...
-'a_error_lower',double(-9.0000000000000006360851714687e+40),...
-'a_error_upper',double(-9.0000000000000006360851714687e+40),...
-'atoms_n',double(-999999999),...
-'multiplicity',double(-9.0000000000000006360851714687e+40),...
-'multiplicity_error_index',double(-999999999),...
-'multiplicity_error_lower',double(-9.0000000000000006360851714687e+40),...
-'multiplicity_error_upper',double(-9.0000000000000006360851714687e+40),...
-'z_n',double(-9.0000000000000006360851714687e+40),...
-'z_n_error_index',double(-999999999),...
-'z_n_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_n_error_upper',double(-9.0000000000000006360851714687e+40))
+'a',double(-9e+40),...
+'a_error_index',int32(-999999999),...
+'a_error_lower',double(-9e+40),...
+'a_error_upper',double(-9e+40),...
+'atoms_n',int32(-999999999),...
+'multiplicity',double(-9e+40),...
+'multiplicity_error_index',int32(-999999999),...
+'multiplicity_error_lower',double(-9e+40),...
+'multiplicity_error_upper',double(-9e+40),...
+'z_n',double(-9e+40),...
+'z_n_error_index',int32(-999999999),...
+'z_n_error_lower',double(-9e+40),...
+'z_n_error_upper',double(-9e+40))
 ;}},...
-'label',double([]),...
-'multiple_states_flag',double(-999999999),...
-'neutral_index',double(-999999999),...
+'label','',...
+'multiple_states_flag',int32(-999999999),...
+'neutral_index',int32(-999999999),...
 'power_fast',double([]),...
-'power_fast_error_index',double(-999999999),...
+'power_fast_error_index',int32(-999999999),...
 'power_fast_error_lower',double([]),...
 'power_fast_error_upper',double([]),...
 'power_thermal',double([]),...
-'power_thermal_error_index',double(-999999999),...
+'power_thermal_error_index',int32(-999999999),...
 'power_thermal_error_lower',double([]),...
 'power_thermal_error_upper',double([]),...
 'state',{{struct(...
-'electron_configuration',double([]),...
-'label',double([]),...
+'electron_configuration','',...
+'label','',...
 'power_fast',double([]),...
-'power_fast_error_index',double(-999999999),...
+'power_fast_error_index',int32(-999999999),...
 'power_fast_error_lower',double([]),...
 'power_fast_error_upper',double([]),...
 'power_thermal',double([]),...
-'power_thermal_error_index',double(-999999999),...
+'power_thermal_error_index',int32(-999999999),...
 'power_thermal_error_lower',double([]),...
 'power_thermal_error_upper',double([]),...
 'torque_fast_tor',double([]),...
-'torque_fast_tor_error_index',double(-999999999),...
+'torque_fast_tor_error_index',int32(-999999999),...
 'torque_fast_tor_error_lower',double([]),...
 'torque_fast_tor_error_upper',double([]),...
 'torque_thermal_tor',double([]),...
-'torque_thermal_tor_error_index',double(-999999999),...
+'torque_thermal_tor_error_index',int32(-999999999),...
 'torque_thermal_tor_error_lower',double([]),...
 'torque_thermal_tor_error_upper',double([]),...
-'vibrational_level',double(-9.0000000000000006360851714687e+40),...
-'vibrational_level_error_index',double(-999999999),...
-'vibrational_level_error_lower',double(-9.0000000000000006360851714687e+40),...
-'vibrational_level_error_upper',double(-9.0000000000000006360851714687e+40),...
-'vibrational_mode',double([]),...
-'z_max',double(-9.0000000000000006360851714687e+40),...
-'z_max_error_index',double(-999999999),...
-'z_max_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_max_error_upper',double(-9.0000000000000006360851714687e+40),...
-'z_min',double(-9.0000000000000006360851714687e+40),...
-'z_min_error_index',double(-999999999),...
-'z_min_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_min_error_upper',double(-9.0000000000000006360851714687e+40))
+'vibrational_level',double(-9e+40),...
+'vibrational_level_error_index',int32(-999999999),...
+'vibrational_level_error_lower',double(-9e+40),...
+'vibrational_level_error_upper',double(-9e+40),...
+'vibrational_mode','',...
+'z_max',double(-9e+40),...
+'z_max_error_index',int32(-999999999),...
+'z_max_error_lower',double(-9e+40),...
+'z_max_error_upper',double(-9e+40),...
+'z_min',double(-9e+40),...
+'z_min_error_index',int32(-999999999),...
+'z_min_error_lower',double(-9e+40),...
+'z_min_error_upper',double(-9e+40))
 ;}},...
 'torque_fast_tor',double([]),...
-'torque_fast_tor_error_index',double(-999999999),...
+'torque_fast_tor_error_index',int32(-999999999),...
 'torque_fast_tor_error_lower',double([]),...
 'torque_fast_tor_error_upper',double([]),...
 'torque_thermal_tor',double([]),...
-'torque_thermal_tor_error_index',double(-999999999),...
+'torque_thermal_tor_error_index',int32(-999999999),...
 'torque_thermal_tor_error_lower',double([]),...
 'torque_thermal_tor_error_upper',double([]),...
-'z_ion',double(-9.0000000000000006360851714687e+40),...
-'z_ion_error_index',double(-999999999),...
-'z_ion_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_ion_error_upper',double(-9.0000000000000006360851714687e+40))
+'z_ion',double(-9e+40),...
+'z_ion_error_index',int32(-999999999),...
+'z_ion_error_lower',double(-9e+40),...
+'z_ion_error_upper',double(-9e+40))
 ;}}),...
 'current_fast_tor',double([]),...
-'current_fast_tor_error_index',double(-999999999),...
+'current_fast_tor_error_index',int32(-999999999),...
 'current_fast_tor_error_lower',double([]),...
 'current_fast_tor_error_upper',double([]),...
 'current_tor',double([]),...
-'current_tor_error_index',double(-999999999),...
+'current_tor_error_index',int32(-999999999),...
 'current_tor_error_lower',double([]),...
 'current_tor_error_upper',double([]),...
 'density',double([]),...
-'density_error_index',double(-999999999),...
+'density_error_index',int32(-999999999),...
 'density_error_lower',double([]),...
 'density_error_upper',double([]),...
 'density_fast',double([]),...
-'density_fast_error_index',double(-999999999),...
+'density_fast_error_index',int32(-999999999),...
 'density_fast_error_lower',double([]),...
 'density_fast_error_upper',double([]),...
 'pressure',double([]),...
-'pressure_error_index',double(-999999999),...
+'pressure_error_index',int32(-999999999),...
 'pressure_error_lower',double([]),...
 'pressure_error_upper',double([]),...
 'pressure_fast',double([]),...
-'pressure_fast_error_index',double(-999999999),...
+'pressure_fast_error_index',int32(-999999999),...
 'pressure_fast_error_lower',double([]),...
 'pressure_fast_error_upper',double([]),...
 'pressure_fast_parallel',double([]),...
-'pressure_fast_parallel_error_index',double(-999999999),...
+'pressure_fast_parallel_error_index',int32(-999999999),...
 'pressure_fast_parallel_error_lower',double([]),...
 'pressure_fast_parallel_error_upper',double([]),...
 'torque_tor_j_radial',double([]),...
-'torque_tor_j_radial_error_index',double(-999999999),...
+'torque_tor_j_radial_error_index',int32(-999999999),...
 'torque_tor_j_radial_error_lower',double([]),...
 'torque_tor_j_radial_error_upper',double([])),...
 'collisions',struct(...
 'electrons',struct(...
 'power_fast',double([]),...
-'power_fast_error_index',double(-999999999),...
+'power_fast_error_index',int32(-999999999),...
 'power_fast_error_lower',double([]),...
 'power_fast_error_upper',double([]),...
 'power_thermal',double([]),...
-'power_thermal_error_index',double(-999999999),...
+'power_thermal_error_index',int32(-999999999),...
 'power_thermal_error_lower',double([]),...
 'power_thermal_error_upper',double([]),...
 'torque_fast_tor',double([]),...
-'torque_fast_tor_error_index',double(-999999999),...
+'torque_fast_tor_error_index',int32(-999999999),...
 'torque_fast_tor_error_lower',double([]),...
 'torque_fast_tor_error_upper',double([]),...
 'torque_thermal_tor',double([]),...
-'torque_thermal_tor_error_index',double(-999999999),...
+'torque_thermal_tor_error_index',int32(-999999999),...
 'torque_thermal_tor_error_lower',double([]),...
 'torque_thermal_tor_error_upper',double([])),...
 'ion',{{struct(...
 'element',{{struct(...
-'a',double(-9.0000000000000006360851714687e+40),...
-'a_error_index',double(-999999999),...
-'a_error_lower',double(-9.0000000000000006360851714687e+40),...
-'a_error_upper',double(-9.0000000000000006360851714687e+40),...
-'atoms_n',double(-999999999),...
-'multiplicity',double(-9.0000000000000006360851714687e+40),...
-'multiplicity_error_index',double(-999999999),...
-'multiplicity_error_lower',double(-9.0000000000000006360851714687e+40),...
-'multiplicity_error_upper',double(-9.0000000000000006360851714687e+40),...
-'z_n',double(-9.0000000000000006360851714687e+40),...
-'z_n_error_index',double(-999999999),...
-'z_n_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_n_error_upper',double(-9.0000000000000006360851714687e+40))
+'a',double(-9e+40),...
+'a_error_index',int32(-999999999),...
+'a_error_lower',double(-9e+40),...
+'a_error_upper',double(-9e+40),...
+'atoms_n',int32(-999999999),...
+'multiplicity',double(-9e+40),...
+'multiplicity_error_index',int32(-999999999),...
+'multiplicity_error_lower',double(-9e+40),...
+'multiplicity_error_upper',double(-9e+40),...
+'z_n',double(-9e+40),...
+'z_n_error_index',int32(-999999999),...
+'z_n_error_lower',double(-9e+40),...
+'z_n_error_upper',double(-9e+40))
 ;}},...
-'label',double([]),...
-'multiple_states_flag',double(-999999999),...
-'neutral_index',double(-999999999),...
+'label','',...
+'multiple_states_flag',int32(-999999999),...
+'neutral_index',int32(-999999999),...
 'power_fast',double([]),...
-'power_fast_error_index',double(-999999999),...
+'power_fast_error_index',int32(-999999999),...
 'power_fast_error_lower',double([]),...
 'power_fast_error_upper',double([]),...
 'power_thermal',double([]),...
-'power_thermal_error_index',double(-999999999),...
+'power_thermal_error_index',int32(-999999999),...
 'power_thermal_error_lower',double([]),...
 'power_thermal_error_upper',double([]),...
 'state',{{struct(...
-'electron_configuration',double([]),...
-'label',double([]),...
+'electron_configuration','',...
+'label','',...
 'power_fast',double([]),...
-'power_fast_error_index',double(-999999999),...
+'power_fast_error_index',int32(-999999999),...
 'power_fast_error_lower',double([]),...
 'power_fast_error_upper',double([]),...
 'power_thermal',double([]),...
-'power_thermal_error_index',double(-999999999),...
+'power_thermal_error_index',int32(-999999999),...
 'power_thermal_error_lower',double([]),...
 'power_thermal_error_upper',double([]),...
 'torque_fast_tor',double([]),...
-'torque_fast_tor_error_index',double(-999999999),...
+'torque_fast_tor_error_index',int32(-999999999),...
 'torque_fast_tor_error_lower',double([]),...
 'torque_fast_tor_error_upper',double([]),...
 'torque_thermal_tor',double([]),...
-'torque_thermal_tor_error_index',double(-999999999),...
+'torque_thermal_tor_error_index',int32(-999999999),...
 'torque_thermal_tor_error_lower',double([]),...
 'torque_thermal_tor_error_upper',double([]),...
-'vibrational_level',double(-9.0000000000000006360851714687e+40),...
-'vibrational_level_error_index',double(-999999999),...
-'vibrational_level_error_lower',double(-9.0000000000000006360851714687e+40),...
-'vibrational_level_error_upper',double(-9.0000000000000006360851714687e+40),...
-'vibrational_mode',double([]),...
-'z_max',double(-9.0000000000000006360851714687e+40),...
-'z_max_error_index',double(-999999999),...
-'z_max_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_max_error_upper',double(-9.0000000000000006360851714687e+40),...
-'z_min',double(-9.0000000000000006360851714687e+40),...
-'z_min_error_index',double(-999999999),...
-'z_min_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_min_error_upper',double(-9.0000000000000006360851714687e+40))
+'vibrational_level',double(-9e+40),...
+'vibrational_level_error_index',int32(-999999999),...
+'vibrational_level_error_lower',double(-9e+40),...
+'vibrational_level_error_upper',double(-9e+40),...
+'vibrational_mode','',...
+'z_max',double(-9e+40),...
+'z_max_error_index',int32(-999999999),...
+'z_max_error_lower',double(-9e+40),...
+'z_max_error_upper',double(-9e+40),...
+'z_min',double(-9e+40),...
+'z_min_error_index',int32(-999999999),...
+'z_min_error_lower',double(-9e+40),...
+'z_min_error_upper',double(-9e+40))
 ;}},...
 'torque_fast_tor',double([]),...
-'torque_fast_tor_error_index',double(-999999999),...
+'torque_fast_tor_error_index',int32(-999999999),...
 'torque_fast_tor_error_lower',double([]),...
 'torque_fast_tor_error_upper',double([]),...
 'torque_thermal_tor',double([]),...
-'torque_thermal_tor_error_index',double(-999999999),...
+'torque_thermal_tor_error_index',int32(-999999999),...
 'torque_thermal_tor_error_lower',double([]),...
 'torque_thermal_tor_error_upper',double([]),...
-'z_ion',double(-9.0000000000000006360851714687e+40),...
-'z_ion_error_index',double(-999999999),...
-'z_ion_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_ion_error_upper',double(-9.0000000000000006360851714687e+40))
+'z_ion',double(-9e+40),...
+'z_ion_error_index',int32(-999999999),...
+'z_ion_error_lower',double(-9e+40),...
+'z_ion_error_upper',double(-9e+40))
 ;}}),...
 'counter_passing',struct(...
 'collisions',struct(...
 'electrons',struct(...
 'power_fast',double([]),...
-'power_fast_error_index',double(-999999999),...
+'power_fast_error_index',int32(-999999999),...
 'power_fast_error_lower',double([]),...
 'power_fast_error_upper',double([]),...
 'power_thermal',double([]),...
-'power_thermal_error_index',double(-999999999),...
+'power_thermal_error_index',int32(-999999999),...
 'power_thermal_error_lower',double([]),...
 'power_thermal_error_upper',double([]),...
 'torque_fast_tor',double([]),...
-'torque_fast_tor_error_index',double(-999999999),...
+'torque_fast_tor_error_index',int32(-999999999),...
 'torque_fast_tor_error_lower',double([]),...
 'torque_fast_tor_error_upper',double([]),...
 'torque_thermal_tor',double([]),...
-'torque_thermal_tor_error_index',double(-999999999),...
+'torque_thermal_tor_error_index',int32(-999999999),...
 'torque_thermal_tor_error_lower',double([]),...
 'torque_thermal_tor_error_upper',double([])),...
 'ion',{{struct(...
 'element',{{struct(...
-'a',double(-9.0000000000000006360851714687e+40),...
-'a_error_index',double(-999999999),...
-'a_error_lower',double(-9.0000000000000006360851714687e+40),...
-'a_error_upper',double(-9.0000000000000006360851714687e+40),...
-'atoms_n',double(-999999999),...
-'multiplicity',double(-9.0000000000000006360851714687e+40),...
-'multiplicity_error_index',double(-999999999),...
-'multiplicity_error_lower',double(-9.0000000000000006360851714687e+40),...
-'multiplicity_error_upper',double(-9.0000000000000006360851714687e+40),...
-'z_n',double(-9.0000000000000006360851714687e+40),...
-'z_n_error_index',double(-999999999),...
-'z_n_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_n_error_upper',double(-9.0000000000000006360851714687e+40))
+'a',double(-9e+40),...
+'a_error_index',int32(-999999999),...
+'a_error_lower',double(-9e+40),...
+'a_error_upper',double(-9e+40),...
+'atoms_n',int32(-999999999),...
+'multiplicity',double(-9e+40),...
+'multiplicity_error_index',int32(-999999999),...
+'multiplicity_error_lower',double(-9e+40),...
+'multiplicity_error_upper',double(-9e+40),...
+'z_n',double(-9e+40),...
+'z_n_error_index',int32(-999999999),...
+'z_n_error_lower',double(-9e+40),...
+'z_n_error_upper',double(-9e+40))
 ;}},...
-'label',double([]),...
-'multiple_states_flag',double(-999999999),...
-'neutral_index',double(-999999999),...
+'label','',...
+'multiple_states_flag',int32(-999999999),...
+'neutral_index',int32(-999999999),...
 'power_fast',double([]),...
-'power_fast_error_index',double(-999999999),...
+'power_fast_error_index',int32(-999999999),...
 'power_fast_error_lower',double([]),...
 'power_fast_error_upper',double([]),...
 'power_thermal',double([]),...
-'power_thermal_error_index',double(-999999999),...
+'power_thermal_error_index',int32(-999999999),...
 'power_thermal_error_lower',double([]),...
 'power_thermal_error_upper',double([]),...
 'state',{{struct(...
-'electron_configuration',double([]),...
-'label',double([]),...
+'electron_configuration','',...
+'label','',...
 'power_fast',double([]),...
-'power_fast_error_index',double(-999999999),...
+'power_fast_error_index',int32(-999999999),...
 'power_fast_error_lower',double([]),...
 'power_fast_error_upper',double([]),...
 'power_thermal',double([]),...
-'power_thermal_error_index',double(-999999999),...
+'power_thermal_error_index',int32(-999999999),...
 'power_thermal_error_lower',double([]),...
 'power_thermal_error_upper',double([]),...
 'torque_fast_tor',double([]),...
-'torque_fast_tor_error_index',double(-999999999),...
+'torque_fast_tor_error_index',int32(-999999999),...
 'torque_fast_tor_error_lower',double([]),...
 'torque_fast_tor_error_upper',double([]),...
 'torque_thermal_tor',double([]),...
-'torque_thermal_tor_error_index',double(-999999999),...
+'torque_thermal_tor_error_index',int32(-999999999),...
 'torque_thermal_tor_error_lower',double([]),...
 'torque_thermal_tor_error_upper',double([]),...
-'vibrational_level',double(-9.0000000000000006360851714687e+40),...
-'vibrational_level_error_index',double(-999999999),...
-'vibrational_level_error_lower',double(-9.0000000000000006360851714687e+40),...
-'vibrational_level_error_upper',double(-9.0000000000000006360851714687e+40),...
-'vibrational_mode',double([]),...
-'z_max',double(-9.0000000000000006360851714687e+40),...
-'z_max_error_index',double(-999999999),...
-'z_max_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_max_error_upper',double(-9.0000000000000006360851714687e+40),...
-'z_min',double(-9.0000000000000006360851714687e+40),...
-'z_min_error_index',double(-999999999),...
-'z_min_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_min_error_upper',double(-9.0000000000000006360851714687e+40))
+'vibrational_level',double(-9e+40),...
+'vibrational_level_error_index',int32(-999999999),...
+'vibrational_level_error_lower',double(-9e+40),...
+'vibrational_level_error_upper',double(-9e+40),...
+'vibrational_mode','',...
+'z_max',double(-9e+40),...
+'z_max_error_index',int32(-999999999),...
+'z_max_error_lower',double(-9e+40),...
+'z_max_error_upper',double(-9e+40),...
+'z_min',double(-9e+40),...
+'z_min_error_index',int32(-999999999),...
+'z_min_error_lower',double(-9e+40),...
+'z_min_error_upper',double(-9e+40))
 ;}},...
 'torque_fast_tor',double([]),...
-'torque_fast_tor_error_index',double(-999999999),...
+'torque_fast_tor_error_index',int32(-999999999),...
 'torque_fast_tor_error_lower',double([]),...
 'torque_fast_tor_error_upper',double([]),...
 'torque_thermal_tor',double([]),...
-'torque_thermal_tor_error_index',double(-999999999),...
+'torque_thermal_tor_error_index',int32(-999999999),...
 'torque_thermal_tor_error_lower',double([]),...
 'torque_thermal_tor_error_upper',double([]),...
-'z_ion',double(-9.0000000000000006360851714687e+40),...
-'z_ion_error_index',double(-999999999),...
-'z_ion_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_ion_error_upper',double(-9.0000000000000006360851714687e+40))
+'z_ion',double(-9e+40),...
+'z_ion_error_index',int32(-999999999),...
+'z_ion_error_lower',double(-9e+40),...
+'z_ion_error_upper',double(-9e+40))
 ;}}),...
 'current_fast_tor',double([]),...
-'current_fast_tor_error_index',double(-999999999),...
+'current_fast_tor_error_index',int32(-999999999),...
 'current_fast_tor_error_lower',double([]),...
 'current_fast_tor_error_upper',double([]),...
 'current_tor',double([]),...
-'current_tor_error_index',double(-999999999),...
+'current_tor_error_index',int32(-999999999),...
 'current_tor_error_lower',double([]),...
 'current_tor_error_upper',double([]),...
 'density',double([]),...
-'density_error_index',double(-999999999),...
+'density_error_index',int32(-999999999),...
 'density_error_lower',double([]),...
 'density_error_upper',double([]),...
 'density_fast',double([]),...
-'density_fast_error_index',double(-999999999),...
+'density_fast_error_index',int32(-999999999),...
 'density_fast_error_lower',double([]),...
 'density_fast_error_upper',double([]),...
 'pressure',double([]),...
-'pressure_error_index',double(-999999999),...
+'pressure_error_index',int32(-999999999),...
 'pressure_error_lower',double([]),...
 'pressure_error_upper',double([]),...
 'pressure_fast',double([]),...
-'pressure_fast_error_index',double(-999999999),...
+'pressure_fast_error_index',int32(-999999999),...
 'pressure_fast_error_lower',double([]),...
 'pressure_fast_error_upper',double([]),...
 'pressure_fast_parallel',double([]),...
-'pressure_fast_parallel_error_index',double(-999999999),...
+'pressure_fast_parallel_error_index',int32(-999999999),...
 'pressure_fast_parallel_error_lower',double([]),...
 'pressure_fast_parallel_error_upper',double([]),...
 'torque_tor_j_radial',double([]),...
-'torque_tor_j_radial_error_index',double(-999999999),...
+'torque_tor_j_radial_error_index',int32(-999999999),...
 'torque_tor_j_radial_error_lower',double([]),...
 'torque_tor_j_radial_error_upper',double([])),...
 'current_fast_tor',double([]),...
-'current_fast_tor_error_index',double(-999999999),...
+'current_fast_tor_error_index',int32(-999999999),...
 'current_fast_tor_error_lower',double([]),...
 'current_fast_tor_error_upper',double([]),...
 'current_tor',double([]),...
-'current_tor_error_index',double(-999999999),...
+'current_tor_error_index',int32(-999999999),...
 'current_tor_error_lower',double([]),...
 'current_tor_error_upper',double([]),...
 'density',double([]),...
-'density_error_index',double(-999999999),...
+'density_error_index',int32(-999999999),...
 'density_error_lower',double([]),...
 'density_error_upper',double([]),...
 'density_fast',double([]),...
-'density_fast_error_index',double(-999999999),...
+'density_fast_error_index',int32(-999999999),...
 'density_fast_error_lower',double([]),...
 'density_fast_error_upper',double([]),...
 'grid',struct(...
 'area',double([]),...
-'area_error_index',double(-999999999),...
+'area_error_index',int32(-999999999),...
 'area_error_lower',double([]),...
 'area_error_upper',double([]),...
 'psi',double([]),...
-'psi_error_index',double(-999999999),...
+'psi_error_index',int32(-999999999),...
 'psi_error_lower',double([]),...
 'psi_error_upper',double([]),...
 'r',double([]),...
-'r_error_index',double(-999999999),...
+'r_error_index',int32(-999999999),...
 'r_error_lower',double([]),...
 'r_error_upper',double([]),...
 'rho_tor',double([]),...
-'rho_tor_error_index',double(-999999999),...
+'rho_tor_error_index',int32(-999999999),...
 'rho_tor_error_lower',double([]),...
 'rho_tor_error_upper',double([]),...
 'rho_tor_norm',double([]),...
-'rho_tor_norm_error_index',double(-999999999),...
+'rho_tor_norm_error_index',int32(-999999999),...
 'rho_tor_norm_error_lower',double([]),...
 'rho_tor_norm_error_upper',double([]),...
 'theta_geometric',double([]),...
-'theta_geometric_error_index',double(-999999999),...
+'theta_geometric_error_index',int32(-999999999),...
 'theta_geometric_error_lower',double([]),...
 'theta_geometric_error_upper',double([]),...
 'theta_straight',double([]),...
-'theta_straight_error_index',double(-999999999),...
+'theta_straight_error_index',int32(-999999999),...
 'theta_straight_error_lower',double([]),...
 'theta_straight_error_upper',double([]),...
 'type',struct(...
-'description',double([]),...
-'index',double(-999999999),...
-'name',double([])),...
+'description','',...
+'index',int32(-999999999),...
+'name',''),...
 'volume',double([]),...
-'volume_error_index',double(-999999999),...
+'volume_error_index',int32(-999999999),...
 'volume_error_lower',double([]),...
 'volume_error_upper',double([]),...
 'z',double([]),...
-'z_error_index',double(-999999999),...
+'z_error_index',int32(-999999999),...
 'z_error_lower',double([]),...
 'z_error_upper',double([])),...
 'pressure',double([]),...
-'pressure_error_index',double(-999999999),...
+'pressure_error_index',int32(-999999999),...
 'pressure_error_lower',double([]),...
 'pressure_error_upper',double([]),...
 'pressure_fast',double([]),...
-'pressure_fast_error_index',double(-999999999),...
+'pressure_fast_error_index',int32(-999999999),...
 'pressure_fast_error_lower',double([]),...
 'pressure_fast_error_upper',double([]),...
 'pressure_fast_parallel',double([]),...
-'pressure_fast_parallel_error_index',double(-999999999),...
+'pressure_fast_parallel_error_index',int32(-999999999),...
 'pressure_fast_parallel_error_lower',double([]),...
 'pressure_fast_parallel_error_upper',double([]),...
-'time',double(-9.0000000000000006360851714687e+40),...
+'time',double(-9e+40),...
 'torque_tor_j_radial',double([]),...
-'torque_tor_j_radial_error_index',double(-999999999),...
+'torque_tor_j_radial_error_index',int32(-999999999),...
 'torque_tor_j_radial_error_lower',double([]),...
 'torque_tor_j_radial_error_upper',double([]),...
 'trapped',struct(...
 'collisions',struct(...
 'electrons',struct(...
 'power_fast',double([]),...
-'power_fast_error_index',double(-999999999),...
+'power_fast_error_index',int32(-999999999),...
 'power_fast_error_lower',double([]),...
 'power_fast_error_upper',double([]),...
 'power_thermal',double([]),...
-'power_thermal_error_index',double(-999999999),...
+'power_thermal_error_index',int32(-999999999),...
 'power_thermal_error_lower',double([]),...
 'power_thermal_error_upper',double([]),...
 'torque_fast_tor',double([]),...
-'torque_fast_tor_error_index',double(-999999999),...
+'torque_fast_tor_error_index',int32(-999999999),...
 'torque_fast_tor_error_lower',double([]),...
 'torque_fast_tor_error_upper',double([]),...
 'torque_thermal_tor',double([]),...
-'torque_thermal_tor_error_index',double(-999999999),...
+'torque_thermal_tor_error_index',int32(-999999999),...
 'torque_thermal_tor_error_lower',double([]),...
 'torque_thermal_tor_error_upper',double([])),...
 'ion',{{struct(...
 'element',{{struct(...
-'a',double(-9.0000000000000006360851714687e+40),...
-'a_error_index',double(-999999999),...
-'a_error_lower',double(-9.0000000000000006360851714687e+40),...
-'a_error_upper',double(-9.0000000000000006360851714687e+40),...
-'atoms_n',double(-999999999),...
-'multiplicity',double(-9.0000000000000006360851714687e+40),...
-'multiplicity_error_index',double(-999999999),...
-'multiplicity_error_lower',double(-9.0000000000000006360851714687e+40),...
-'multiplicity_error_upper',double(-9.0000000000000006360851714687e+40),...
-'z_n',double(-9.0000000000000006360851714687e+40),...
-'z_n_error_index',double(-999999999),...
-'z_n_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_n_error_upper',double(-9.0000000000000006360851714687e+40))
+'a',double(-9e+40),...
+'a_error_index',int32(-999999999),...
+'a_error_lower',double(-9e+40),...
+'a_error_upper',double(-9e+40),...
+'atoms_n',int32(-999999999),...
+'multiplicity',double(-9e+40),...
+'multiplicity_error_index',int32(-999999999),...
+'multiplicity_error_lower',double(-9e+40),...
+'multiplicity_error_upper',double(-9e+40),...
+'z_n',double(-9e+40),...
+'z_n_error_index',int32(-999999999),...
+'z_n_error_lower',double(-9e+40),...
+'z_n_error_upper',double(-9e+40))
 ;}},...
-'label',double([]),...
-'multiple_states_flag',double(-999999999),...
-'neutral_index',double(-999999999),...
+'label','',...
+'multiple_states_flag',int32(-999999999),...
+'neutral_index',int32(-999999999),...
 'power_fast',double([]),...
-'power_fast_error_index',double(-999999999),...
+'power_fast_error_index',int32(-999999999),...
 'power_fast_error_lower',double([]),...
 'power_fast_error_upper',double([]),...
 'power_thermal',double([]),...
-'power_thermal_error_index',double(-999999999),...
+'power_thermal_error_index',int32(-999999999),...
 'power_thermal_error_lower',double([]),...
 'power_thermal_error_upper',double([]),...
 'state',{{struct(...
-'electron_configuration',double([]),...
-'label',double([]),...
+'electron_configuration','',...
+'label','',...
 'power_fast',double([]),...
-'power_fast_error_index',double(-999999999),...
+'power_fast_error_index',int32(-999999999),...
 'power_fast_error_lower',double([]),...
 'power_fast_error_upper',double([]),...
 'power_thermal',double([]),...
-'power_thermal_error_index',double(-999999999),...
+'power_thermal_error_index',int32(-999999999),...
 'power_thermal_error_lower',double([]),...
 'power_thermal_error_upper',double([]),...
 'torque_fast_tor',double([]),...
-'torque_fast_tor_error_index',double(-999999999),...
+'torque_fast_tor_error_index',int32(-999999999),...
 'torque_fast_tor_error_lower',double([]),...
 'torque_fast_tor_error_upper',double([]),...
 'torque_thermal_tor',double([]),...
-'torque_thermal_tor_error_index',double(-999999999),...
+'torque_thermal_tor_error_index',int32(-999999999),...
 'torque_thermal_tor_error_lower',double([]),...
 'torque_thermal_tor_error_upper',double([]),...
-'vibrational_level',double(-9.0000000000000006360851714687e+40),...
-'vibrational_level_error_index',double(-999999999),...
-'vibrational_level_error_lower',double(-9.0000000000000006360851714687e+40),...
-'vibrational_level_error_upper',double(-9.0000000000000006360851714687e+40),...
-'vibrational_mode',double([]),...
-'z_max',double(-9.0000000000000006360851714687e+40),...
-'z_max_error_index',double(-999999999),...
-'z_max_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_max_error_upper',double(-9.0000000000000006360851714687e+40),...
-'z_min',double(-9.0000000000000006360851714687e+40),...
-'z_min_error_index',double(-999999999),...
-'z_min_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_min_error_upper',double(-9.0000000000000006360851714687e+40))
+'vibrational_level',double(-9e+40),...
+'vibrational_level_error_index',int32(-999999999),...
+'vibrational_level_error_lower',double(-9e+40),...
+'vibrational_level_error_upper',double(-9e+40),...
+'vibrational_mode','',...
+'z_max',double(-9e+40),...
+'z_max_error_index',int32(-999999999),...
+'z_max_error_lower',double(-9e+40),...
+'z_max_error_upper',double(-9e+40),...
+'z_min',double(-9e+40),...
+'z_min_error_index',int32(-999999999),...
+'z_min_error_lower',double(-9e+40),...
+'z_min_error_upper',double(-9e+40))
 ;}},...
 'torque_fast_tor',double([]),...
-'torque_fast_tor_error_index',double(-999999999),...
+'torque_fast_tor_error_index',int32(-999999999),...
 'torque_fast_tor_error_lower',double([]),...
 'torque_fast_tor_error_upper',double([]),...
 'torque_thermal_tor',double([]),...
-'torque_thermal_tor_error_index',double(-999999999),...
+'torque_thermal_tor_error_index',int32(-999999999),...
 'torque_thermal_tor_error_lower',double([]),...
 'torque_thermal_tor_error_upper',double([]),...
-'z_ion',double(-9.0000000000000006360851714687e+40),...
-'z_ion_error_index',double(-999999999),...
-'z_ion_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_ion_error_upper',double(-9.0000000000000006360851714687e+40))
+'z_ion',double(-9e+40),...
+'z_ion_error_index',int32(-999999999),...
+'z_ion_error_lower',double(-9e+40),...
+'z_ion_error_upper',double(-9e+40))
 ;}}),...
 'current_fast_tor',double([]),...
-'current_fast_tor_error_index',double(-999999999),...
+'current_fast_tor_error_index',int32(-999999999),...
 'current_fast_tor_error_lower',double([]),...
 'current_fast_tor_error_upper',double([]),...
 'current_tor',double([]),...
-'current_tor_error_index',double(-999999999),...
+'current_tor_error_index',int32(-999999999),...
 'current_tor_error_lower',double([]),...
 'current_tor_error_upper',double([]),...
 'density',double([]),...
-'density_error_index',double(-999999999),...
+'density_error_index',int32(-999999999),...
 'density_error_lower',double([]),...
 'density_error_upper',double([]),...
 'density_fast',double([]),...
-'density_fast_error_index',double(-999999999),...
+'density_fast_error_index',int32(-999999999),...
 'density_fast_error_lower',double([]),...
 'density_fast_error_upper',double([]),...
 'pressure',double([]),...
-'pressure_error_index',double(-999999999),...
+'pressure_error_index',int32(-999999999),...
 'pressure_error_lower',double([]),...
 'pressure_error_upper',double([]),...
 'pressure_fast',double([]),...
-'pressure_fast_error_index',double(-999999999),...
+'pressure_fast_error_index',int32(-999999999),...
 'pressure_fast_error_lower',double([]),...
 'pressure_fast_error_upper',double([]),...
 'pressure_fast_parallel',double([]),...
-'pressure_fast_parallel_error_index',double(-999999999),...
+'pressure_fast_parallel_error_index',int32(-999999999),...
 'pressure_fast_parallel_error_lower',double([]),...
 'pressure_fast_parallel_error_upper',double([]),...
 'torque_tor_j_radial',double([]),...
-'torque_tor_j_radial_error_index',double(-999999999),...
+'torque_tor_j_radial_error_index',int32(-999999999),...
 'torque_tor_j_radial_error_lower',double([]),...
 'torque_tor_j_radial_error_upper',double([])))
 ;}},...
 'species',struct(...
 'ion',struct(...
 'element',{{struct(...
-'a',double(-9.0000000000000006360851714687e+40),...
-'a_error_index',double(-999999999),...
-'a_error_lower',double(-9.0000000000000006360851714687e+40),...
-'a_error_upper',double(-9.0000000000000006360851714687e+40),...
-'atoms_n',double(-999999999),...
-'multiplicity',double(-9.0000000000000006360851714687e+40),...
-'multiplicity_error_index',double(-999999999),...
-'multiplicity_error_lower',double(-9.0000000000000006360851714687e+40),...
-'multiplicity_error_upper',double(-9.0000000000000006360851714687e+40),...
-'z_n',double(-9.0000000000000006360851714687e+40),...
-'z_n_error_index',double(-999999999),...
-'z_n_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_n_error_upper',double(-9.0000000000000006360851714687e+40))
+'a',double(-9e+40),...
+'a_error_index',int32(-999999999),...
+'a_error_lower',double(-9e+40),...
+'a_error_upper',double(-9e+40),...
+'atoms_n',int32(-999999999),...
+'multiplicity',double(-9e+40),...
+'multiplicity_error_index',int32(-999999999),...
+'multiplicity_error_lower',double(-9e+40),...
+'multiplicity_error_upper',double(-9e+40),...
+'z_n',double(-9e+40),...
+'z_n_error_index',int32(-999999999),...
+'z_n_error_lower',double(-9e+40),...
+'z_n_error_upper',double(-9e+40))
 ;}},...
-'label',double([]),...
+'label','',...
 'state',struct(...
-'electron_configuration',double([]),...
-'label',double([]),...
-'vibrational_level',double(-9.0000000000000006360851714687e+40),...
-'vibrational_level_error_index',double(-999999999),...
-'vibrational_level_error_lower',double(-9.0000000000000006360851714687e+40),...
-'vibrational_level_error_upper',double(-9.0000000000000006360851714687e+40),...
-'vibrational_mode',double([]),...
-'z_max',double(-9.0000000000000006360851714687e+40),...
-'z_max_error_index',double(-999999999),...
-'z_max_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_max_error_upper',double(-9.0000000000000006360851714687e+40),...
-'z_min',double(-9.0000000000000006360851714687e+40),...
-'z_min_error_index',double(-999999999),...
-'z_min_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_min_error_upper',double(-9.0000000000000006360851714687e+40)),...
-'z_ion',double(-9.0000000000000006360851714687e+40),...
-'z_ion_error_index',double(-999999999),...
-'z_ion_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_ion_error_upper',double(-9.0000000000000006360851714687e+40)),...
+'electron_configuration','',...
+'label','',...
+'vibrational_level',double(-9e+40),...
+'vibrational_level_error_index',int32(-999999999),...
+'vibrational_level_error_lower',double(-9e+40),...
+'vibrational_level_error_upper',double(-9e+40),...
+'vibrational_mode','',...
+'z_max',double(-9e+40),...
+'z_max_error_index',int32(-999999999),...
+'z_max_error_lower',double(-9e+40),...
+'z_max_error_upper',double(-9e+40),...
+'z_min',double(-9e+40),...
+'z_min_error_index',int32(-999999999),...
+'z_min_error_lower',double(-9e+40),...
+'z_min_error_upper',double(-9e+40)),...
+'z_ion',double(-9e+40),...
+'z_ion_error_index',int32(-999999999),...
+'z_ion_error_lower',double(-9e+40),...
+'z_ion_error_upper',double(-9e+40)),...
 'neutral',struct(...
 'element',{{struct(...
-'a',double(-9.0000000000000006360851714687e+40),...
-'a_error_index',double(-999999999),...
-'a_error_lower',double(-9.0000000000000006360851714687e+40),...
-'a_error_upper',double(-9.0000000000000006360851714687e+40),...
-'atoms_n',double(-999999999),...
-'multiplicity',double(-9.0000000000000006360851714687e+40),...
-'multiplicity_error_index',double(-999999999),...
-'multiplicity_error_lower',double(-9.0000000000000006360851714687e+40),...
-'multiplicity_error_upper',double(-9.0000000000000006360851714687e+40),...
-'z_n',double(-9.0000000000000006360851714687e+40),...
-'z_n_error_index',double(-999999999),...
-'z_n_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_n_error_upper',double(-9.0000000000000006360851714687e+40))
+'a',double(-9e+40),...
+'a_error_index',int32(-999999999),...
+'a_error_lower',double(-9e+40),...
+'a_error_upper',double(-9e+40),...
+'atoms_n',int32(-999999999),...
+'multiplicity',double(-9e+40),...
+'multiplicity_error_index',int32(-999999999),...
+'multiplicity_error_lower',double(-9e+40),...
+'multiplicity_error_upper',double(-9e+40),...
+'z_n',double(-9e+40),...
+'z_n_error_index',int32(-999999999),...
+'z_n_error_lower',double(-9e+40),...
+'z_n_error_upper',double(-9e+40))
 ;}},...
-'label',double([]),...
+'label','',...
 'state',struct(...
-'electron_configuration',double([]),...
-'label',double([]),...
+'electron_configuration','',...
+'label','',...
 'neutral_type',struct(...
-'description',double([]),...
-'index',double(-999999999),...
-'name',double([])),...
-'vibrational_level',double(-9.0000000000000006360851714687e+40),...
-'vibrational_level_error_index',double(-999999999),...
-'vibrational_level_error_lower',double(-9.0000000000000006360851714687e+40),...
-'vibrational_level_error_upper',double(-9.0000000000000006360851714687e+40),...
-'vibrational_mode',double([]))),...
+'description','',...
+'index',int32(-999999999),...
+'name',''),...
+'vibrational_level',double(-9e+40),...
+'vibrational_level_error_index',int32(-999999999),...
+'vibrational_level_error_lower',double(-9e+40),...
+'vibrational_level_error_upper',double(-9e+40),...
+'vibrational_mode','')),...
 'type',struct(...
-'description',double([]),...
-'index',double(-999999999),...
-'name',double([]))),...
+'description','',...
+'index',int32(-999999999),...
+'name','')),...
 'wave',{{struct(...
-'antenna_name',double([]),...
-'index_in_antenna',double(-999999999),...
+'antenna_name','',...
+'index_in_antenna',int32(-999999999),...
 'type',struct(...
-'description',double([]),...
-'index',double(-999999999),...
-'name',double([])))
+'description','',...
+'index',int32(-999999999),...
+'name',''))
 ;}})
 ;}},...
 'ids_properties',struct(...
-'comment',double([]),...
-'creation_date',double([]),...
-'homogeneous_time',double(-999999999),...
-'provider',double([]),...
-'source',double([])),...
+'comment','',...
+'creation_date','',...
+'homogeneous_time',int32(-999999999),...
+'provider','',...
+'source','',...
+'version_put',struct(...
+'access_layer','',...
+'access_layer_language','',...
+'data_dictionary','')),...
 'magnetic_axis',struct(...
 'r',double([]),...
-'r_error_index',double(-999999999),...
+'r_error_index',int32(-999999999),...
 'r_error_lower',double([]),...
 'r_error_upper',double([]),...
 'z',double([]),...
-'z_error_index',double(-999999999),...
+'z_error_index',int32(-999999999),...
 'z_error_lower',double([]),...
 'z_error_upper',double([])),...
 'time',double([]),...
 'vacuum_toroidal_field',struct(...
 'b0',double([]),...
-'b0_error_index',double(-999999999),...
+'b0_error_index',int32(-999999999),...
 'b0_error_lower',double([]),...
 'b0_error_upper',double([]),...
-'r0',double(-9.0000000000000006360851714687e+40),...
-'r0_error_index',double(-999999999),...
-'r0_error_lower',double(-9.0000000000000006360851714687e+40),...
-'r0_error_upper',double(-9.0000000000000006360851714687e+40)));
+'r0',double(-9e+40),...
+'r0_error_index',int32(-999999999),...
+'r0_error_lower',double(-9e+40),...
+'r0_error_upper',double(-9e+40)));
diff --git a/matlab/TCV_IMAS/ids_empty/ids_empty_ec_launchers.m b/matlab/TCV_IMAS/ids_empty/ids_empty_ec_launchers.m
new file mode 100644
index 0000000000000000000000000000000000000000..fa15cf5467caab6eedfa1b038cf7d5a42f810ff8
--- /dev/null
+++ b/matlab/TCV_IMAS/ids_empty/ids_empty_ec_launchers.m
@@ -0,0 +1,97 @@
+function S = ids_empty_ec_launchers
+% function S = ids_empty_ec_launchers
+%
+% File written automatically using struct2m.m 
+
+S = ... 
+struct(...
+'code',struct(...
+'commit','',...
+'name','',...
+'output_flag',int32([]),...
+'parameters','',...
+'repository','',...
+'version',''),...
+'ids_properties',struct(...
+'comment','',...
+'creation_date','',...
+'homogeneous_time',int32(-999999999),...
+'provider','',...
+'source','',...
+'version_put',struct(...
+'access_layer','',...
+'access_layer_language','',...
+'data_dictionary','')),...
+'launcher',{{struct(...
+'beam',struct(...
+'phase',struct(...
+'angle',struct(...
+'data',double([]),...
+'data_error_index',int32(-999999999),...
+'data_error_lower',double([]),...
+'data_error_upper',double([]),...
+'time',double([])),...
+'curvature',struct(...
+'data',double([]),...
+'data_error_index',int32(-999999999),...
+'data_error_lower',double([]),...
+'data_error_upper',double([]),...
+'time',double([]))),...
+'spot',struct(...
+'angle',struct(...
+'data',double([]),...
+'data_error_index',int32(-999999999),...
+'data_error_lower',double([]),...
+'data_error_upper',double([]),...
+'time',double([])),...
+'size',struct(...
+'data',double([]),...
+'data_error_index',int32(-999999999),...
+'data_error_lower',double([]),...
+'data_error_upper',double([]),...
+'time',double([])))),...
+'frequency',struct(...
+'data',double([]),...
+'data_error_index',int32(-999999999),...
+'data_error_lower',double([]),...
+'data_error_upper',double([]),...
+'time',double([])),...
+'identifier','',...
+'launching_position',struct(...
+'phi',double([]),...
+'phi_error_index',int32(-999999999),...
+'phi_error_lower',double([]),...
+'phi_error_upper',double([]),...
+'r',double([]),...
+'r_error_index',int32(-999999999),...
+'r_error_lower',double([]),...
+'r_error_upper',double([]),...
+'time',double([]),...
+'z',double([]),...
+'z_error_index',int32(-999999999),...
+'z_error_lower',double([]),...
+'z_error_upper',double([])),...
+'mode',struct(...
+'data',int32([]),...
+'time',double([])),...
+'name','',...
+'power_launched',struct(...
+'data',double([]),...
+'data_error_index',int32(-999999999),...
+'data_error_lower',double([]),...
+'data_error_upper',double([]),...
+'time',double([])),...
+'steering_angle_pol',struct(...
+'data',double([]),...
+'data_error_index',int32(-999999999),...
+'data_error_lower',double([]),...
+'data_error_upper',double([]),...
+'time',double([])),...
+'steering_angle_tor',struct(...
+'data',double([]),...
+'data_error_index',int32(-999999999),...
+'data_error_lower',double([]),...
+'data_error_upper',double([]),...
+'time',double([])))
+;}},...
+'time',double([]));
diff --git a/matlab/TCV_IMAS/ids_empty/ids_empty_ece.m b/matlab/TCV_IMAS/ids_empty/ids_empty_ece.m
index 09f0cd8d8e760f7edc9469b392e5617050b9a860..e40a410c7a463bc0af91729ad332b4a5a78a012c 100644
--- a/matlab/TCV_IMAS/ids_empty/ids_empty_ece.m
+++ b/matlab/TCV_IMAS/ids_empty/ids_empty_ece.m
@@ -6,111 +6,160 @@ function S = ids_empty_ece
 S = ... 
 struct(...
 'channel',{{struct(...
+'delta_position_suprathermal',struct(...
+'phi',double([]),...
+'phi_error_index',int32(-999999999),...
+'phi_error_lower',double([]),...
+'phi_error_upper',double([]),...
+'psi',double([]),...
+'psi_error_index',int32(-999999999),...
+'psi_error_lower',double([]),...
+'psi_error_upper',double([]),...
+'r',double([]),...
+'r_error_index',int32(-999999999),...
+'r_error_lower',double([]),...
+'r_error_upper',double([]),...
+'rho_tor_norm',double([]),...
+'rho_tor_norm_error_index',int32(-999999999),...
+'rho_tor_norm_error_lower',double([]),...
+'rho_tor_norm_error_upper',double([]),...
+'theta',double([]),...
+'theta_error_index',int32(-999999999),...
+'theta_error_lower',double([]),...
+'theta_error_upper',double([]),...
+'z',double([]),...
+'z_error_index',int32(-999999999),...
+'z_error_lower',double([]),...
+'z_error_upper',double([])),...
 'frequency',struct(...
 'data',double([]),...
-'data_error_index',double(-999999999),...
+'data_error_index',int32(-999999999),...
 'data_error_lower',double([]),...
 'data_error_upper',double([]),...
-'time',double([])),...
+'validity',int32(-999999999),...
+'validity_timed',int32([])),...
 'harmonic',struct(...
 'data',double([]),...
-'time',double([])),...
-'identifier',double([]),...
-'name',double([]),...
-'optical_depth',struct(...
-'data',double([]),...
-'data_error_index',double(-999999999),...
-'data_error_lower',double([]),...
-'data_error_upper',double([]),...
-'time',double([])),...
-'position',struct(...
-'phi',struct(...
-'data',double([]),...
-'data_error_index',double(-999999999),...
-'data_error_lower',double([]),...
-'data_error_upper',double([]),...
-'time',double([])),...
-'psi',struct(...
-'data',double([]),...
-'data_error_index',double(-999999999),...
-'data_error_lower',double([]),...
-'data_error_upper',double([]),...
-'time',double([])),...
-'r',struct(...
-'data',double([]),...
-'data_error_index',double(-999999999),...
+'data_error_index',int32(-999999999),...
 'data_error_lower',double([]),...
 'data_error_upper',double([]),...
-'time',double([])),...
-'rho_tor_norm',struct(...
-'data',double([]),...
-'data_error_index',double(-999999999),...
-'data_error_lower',double([]),...
-'data_error_upper',double([]),...
-'time',double([])),...
-'theta',struct(...
-'data',double([]),...
-'data_error_index',double(-999999999),...
-'data_error_lower',double([]),...
-'data_error_upper',double([]),...
-'time',double([])),...
-'z',struct(...
+'validity',int32(-999999999),...
+'validity_timed',int32([])),...
+'identifier','',...
+'name','',...
+'optical_depth',struct(...
 'data',double([]),...
-'data_error_index',double(-999999999),...
+'data_error_index',int32(-999999999),...
 'data_error_lower',double([]),...
 'data_error_upper',double([]),...
-'time',double([]))),...
+'validity',int32(-999999999),...
+'validity_timed',int32([])),...
+'position',struct(...
+'phi',double([]),...
+'phi_error_index',int32(-999999999),...
+'phi_error_lower',double([]),...
+'phi_error_upper',double([]),...
+'psi',double([]),...
+'psi_error_index',int32(-999999999),...
+'psi_error_lower',double([]),...
+'psi_error_upper',double([]),...
+'r',double([]),...
+'r_error_index',int32(-999999999),...
+'r_error_lower',double([]),...
+'r_error_upper',double([]),...
+'rho_tor_norm',double([]),...
+'rho_tor_norm_error_index',int32(-999999999),...
+'rho_tor_norm_error_lower',double([]),...
+'rho_tor_norm_error_upper',double([]),...
+'theta',double([]),...
+'theta_error_index',int32(-999999999),...
+'theta_error_lower',double([]),...
+'theta_error_upper',double([]),...
+'z',double([]),...
+'z_error_index',int32(-999999999),...
+'z_error_lower',double([]),...
+'z_error_upper',double([])),...
 't_e',struct(...
 'data',double([]),...
-'data_error_index',double(-999999999),...
+'data_error_index',int32(-999999999),...
 'data_error_lower',double([]),...
 'data_error_upper',double([]),...
-'time',double([])),...
+'validity',int32(-999999999),...
+'validity_timed',int32([])),...
 't_e_voltage',struct(...
 'data',double([]),...
-'data_error_index',double(-999999999),...
+'data_error_index',int32(-999999999),...
 'data_error_lower',double([]),...
 'data_error_upper',double([]),...
-'time',double([])))
+'time',double([]),...
+'validity',int32(-999999999),...
+'validity_timed',int32([])),...
+'time',double([]))
 ;}},...
 'code',struct(...
-'commit',double([]),...
-'name',double([]),...
-'output_flag',double([]),...
-'parameters',double([]),...
-'repository',double([]),...
-'version',double([])),...
+'commit','',...
+'name','',...
+'output_flag',int32([]),...
+'parameters','',...
+'repository','',...
+'version',''),...
 'ids_properties',struct(...
-'comment',double([]),...
-'creation_date',double([]),...
-'homogeneous_time',double(-999999999),...
-'provider',double([]),...
-'source',double([])),...
+'comment','',...
+'creation_date','',...
+'homogeneous_time',int32(-999999999),...
+'provider','',...
+'source','',...
+'version_put',struct(...
+'access_layer','',...
+'access_layer_language','',...
+'data_dictionary','')),...
 'line_of_sight',struct(...
 'first_point',struct(...
-'phi',double(-9.0000000000000006360851714687e+40),...
-'phi_error_index',double(-999999999),...
-'phi_error_lower',double(-9.0000000000000006360851714687e+40),...
-'phi_error_upper',double(-9.0000000000000006360851714687e+40),...
-'r',double(-9.0000000000000006360851714687e+40),...
-'r_error_index',double(-999999999),...
-'r_error_lower',double(-9.0000000000000006360851714687e+40),...
-'r_error_upper',double(-9.0000000000000006360851714687e+40),...
-'z',double(-9.0000000000000006360851714687e+40),...
-'z_error_index',double(-999999999),...
-'z_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_error_upper',double(-9.0000000000000006360851714687e+40)),...
+'phi',double(-9e+40),...
+'phi_error_index',int32(-999999999),...
+'phi_error_lower',double(-9e+40),...
+'phi_error_upper',double(-9e+40),...
+'r',double(-9e+40),...
+'r_error_index',int32(-999999999),...
+'r_error_lower',double(-9e+40),...
+'r_error_upper',double(-9e+40),...
+'z',double(-9e+40),...
+'z_error_index',int32(-999999999),...
+'z_error_lower',double(-9e+40),...
+'z_error_upper',double(-9e+40)),...
 'second_point',struct(...
-'phi',double(-9.0000000000000006360851714687e+40),...
-'phi_error_index',double(-999999999),...
-'phi_error_lower',double(-9.0000000000000006360851714687e+40),...
-'phi_error_upper',double(-9.0000000000000006360851714687e+40),...
-'r',double(-9.0000000000000006360851714687e+40),...
-'r_error_index',double(-999999999),...
-'r_error_lower',double(-9.0000000000000006360851714687e+40),...
-'r_error_upper',double(-9.0000000000000006360851714687e+40),...
-'z',double(-9.0000000000000006360851714687e+40),...
-'z_error_index',double(-999999999),...
-'z_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_error_upper',double(-9.0000000000000006360851714687e+40))),...
+'phi',double(-9e+40),...
+'phi_error_index',int32(-999999999),...
+'phi_error_lower',double(-9e+40),...
+'phi_error_upper',double(-9e+40),...
+'r',double(-9e+40),...
+'r_error_index',int32(-999999999),...
+'r_error_lower',double(-9e+40),...
+'r_error_upper',double(-9e+40),...
+'z',double(-9e+40),...
+'z_error_index',int32(-999999999),...
+'z_error_lower',double(-9e+40),...
+'z_error_upper',double(-9e+40))),...
+'psi_normalization',struct(...
+'psi_boundary',double([]),...
+'psi_boundary_error_index',int32(-999999999),...
+'psi_boundary_error_lower',double([]),...
+'psi_boundary_error_upper',double([]),...
+'psi_magnetic_axis',double([]),...
+'psi_magnetic_axis_error_index',int32(-999999999),...
+'psi_magnetic_axis_error_lower',double([]),...
+'psi_magnetic_axis_error_upper',double([]),...
+'time',double([])),...
+'t_e_central',struct(...
+'data',double([]),...
+'data_error_index',int32(-999999999),...
+'data_error_lower',double([]),...
+'data_error_upper',double([]),...
+'rho_tor_norm',double([]),...
+'rho_tor_norm_error_index',int32(-999999999),...
+'rho_tor_norm_error_lower',double([]),...
+'rho_tor_norm_error_upper',double([]),...
+'time',double([]),...
+'validity',int32(-999999999),...
+'validity_timed',int32([])),...
 'time',double([]));
diff --git a/matlab/TCV_IMAS/ids_empty/ids_empty_edge_profiles.m b/matlab/TCV_IMAS/ids_empty/ids_empty_edge_profiles.m
index f106d04bdaf013185e90970bb75fd32058c701de..ab05599d1e4a7d842f712460dc3b455f8d4e8174 100644
--- a/matlab/TCV_IMAS/ids_empty/ids_empty_edge_profiles.m
+++ b/matlab/TCV_IMAS/ids_empty/ids_empty_edge_profiles.m
@@ -6,1442 +6,1442 @@ function S = ids_empty_edge_profiles
 S = ... 
 struct(...
 'code',struct(...
-'commit',double([]),...
-'name',double([]),...
-'output_flag',double([]),...
-'parameters',double([]),...
-'repository',double([]),...
-'version',double([])),...
+'commit','',...
+'name','',...
+'output_flag',int32([]),...
+'parameters','',...
+'repository','',...
+'version',''),...
 'ggd',{{struct(...
 'e_field',{{struct(...
 'diamagnetic',double([]),...
 'diamagnetic_coefficients',double([]),...
-'diamagnetic_coefficients_error_index',double(-999999999),...
+'diamagnetic_coefficients_error_index',int32(-999999999),...
 'diamagnetic_coefficients_error_lower',double([]),...
 'diamagnetic_coefficients_error_upper',double([]),...
-'diamagnetic_error_index',double(-999999999),...
+'diamagnetic_error_index',int32(-999999999),...
 'diamagnetic_error_lower',double([]),...
 'diamagnetic_error_upper',double([]),...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
 'parallel',double([]),...
 'parallel_coefficients',double([]),...
-'parallel_coefficients_error_index',double(-999999999),...
+'parallel_coefficients_error_index',int32(-999999999),...
 'parallel_coefficients_error_lower',double([]),...
 'parallel_coefficients_error_upper',double([]),...
-'parallel_error_index',double(-999999999),...
+'parallel_error_index',int32(-999999999),...
 'parallel_error_lower',double([]),...
 'parallel_error_upper',double([]),...
 'poloidal',double([]),...
 'poloidal_coefficients',double([]),...
-'poloidal_coefficients_error_index',double(-999999999),...
+'poloidal_coefficients_error_index',int32(-999999999),...
 'poloidal_coefficients_error_lower',double([]),...
 'poloidal_coefficients_error_upper',double([]),...
-'poloidal_error_index',double(-999999999),...
+'poloidal_error_index',int32(-999999999),...
 'poloidal_error_lower',double([]),...
 'poloidal_error_upper',double([]),...
 'radial',double([]),...
 'radial_coefficients',double([]),...
-'radial_coefficients_error_index',double(-999999999),...
+'radial_coefficients_error_index',int32(-999999999),...
 'radial_coefficients_error_lower',double([]),...
 'radial_coefficients_error_upper',double([]),...
-'radial_error_index',double(-999999999),...
+'radial_error_index',int32(-999999999),...
 'radial_error_lower',double([]),...
 'radial_error_upper',double([]),...
 'toroidal',double([]),...
 'toroidal_coefficients',double([]),...
-'toroidal_coefficients_error_index',double(-999999999),...
+'toroidal_coefficients_error_index',int32(-999999999),...
 'toroidal_coefficients_error_lower',double([]),...
 'toroidal_coefficients_error_upper',double([]),...
-'toroidal_error_index',double(-999999999),...
+'toroidal_error_index',int32(-999999999),...
 'toroidal_error_lower',double([]),...
 'toroidal_error_upper',double([]))
 ;}},...
 'electrons',struct(...
 'density',{{struct(...
 'coefficients',double([]),...
-'coefficients_error_index',double(-999999999),...
+'coefficients_error_index',int32(-999999999),...
 'coefficients_error_lower',double([]),...
 'coefficients_error_upper',double([]),...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
 'values',double([]),...
-'values_error_index',double(-999999999),...
+'values_error_index',int32(-999999999),...
 'values_error_lower',double([]),...
 'values_error_upper',double([]))
 ;}},...
 'density_fast',{{struct(...
 'coefficients',double([]),...
-'coefficients_error_index',double(-999999999),...
+'coefficients_error_index',int32(-999999999),...
 'coefficients_error_lower',double([]),...
 'coefficients_error_upper',double([]),...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
 'values',double([]),...
-'values_error_index',double(-999999999),...
+'values_error_index',int32(-999999999),...
 'values_error_lower',double([]),...
 'values_error_upper',double([]))
 ;}},...
 'distribution_function',{{struct(...
 'coefficients',double([]),...
-'coefficients_error_index',double(-999999999),...
+'coefficients_error_index',int32(-999999999),...
 'coefficients_error_lower',double([]),...
 'coefficients_error_upper',double([]),...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
 'values',double([]),...
-'values_error_index',double(-999999999),...
+'values_error_index',int32(-999999999),...
 'values_error_lower',double([]),...
 'values_error_upper',double([]))
 ;}},...
 'pressure',{{struct(...
 'coefficients',double([]),...
-'coefficients_error_index',double(-999999999),...
+'coefficients_error_index',int32(-999999999),...
 'coefficients_error_lower',double([]),...
 'coefficients_error_upper',double([]),...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
 'values',double([]),...
-'values_error_index',double(-999999999),...
+'values_error_index',int32(-999999999),...
 'values_error_lower',double([]),...
 'values_error_upper',double([]))
 ;}},...
 'pressure_fast_parallel',{{struct(...
 'coefficients',double([]),...
-'coefficients_error_index',double(-999999999),...
+'coefficients_error_index',int32(-999999999),...
 'coefficients_error_lower',double([]),...
 'coefficients_error_upper',double([]),...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
 'values',double([]),...
-'values_error_index',double(-999999999),...
+'values_error_index',int32(-999999999),...
 'values_error_lower',double([]),...
 'values_error_upper',double([]))
 ;}},...
 'pressure_fast_perpendicular',{{struct(...
 'coefficients',double([]),...
-'coefficients_error_index',double(-999999999),...
+'coefficients_error_index',int32(-999999999),...
 'coefficients_error_lower',double([]),...
 'coefficients_error_upper',double([]),...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
 'values',double([]),...
-'values_error_index',double(-999999999),...
+'values_error_index',int32(-999999999),...
 'values_error_lower',double([]),...
 'values_error_upper',double([]))
 ;}},...
 'temperature',{{struct(...
 'coefficients',double([]),...
-'coefficients_error_index',double(-999999999),...
+'coefficients_error_index',int32(-999999999),...
 'coefficients_error_lower',double([]),...
 'coefficients_error_upper',double([]),...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
 'values',double([]),...
-'values_error_index',double(-999999999),...
+'values_error_index',int32(-999999999),...
 'values_error_lower',double([]),...
 'values_error_upper',double([]))
 ;}},...
 'velocity',{{struct(...
 'diamagnetic',double([]),...
 'diamagnetic_coefficients',double([]),...
-'diamagnetic_coefficients_error_index',double(-999999999),...
+'diamagnetic_coefficients_error_index',int32(-999999999),...
 'diamagnetic_coefficients_error_lower',double([]),...
 'diamagnetic_coefficients_error_upper',double([]),...
-'diamagnetic_error_index',double(-999999999),...
+'diamagnetic_error_index',int32(-999999999),...
 'diamagnetic_error_lower',double([]),...
 'diamagnetic_error_upper',double([]),...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
 'parallel',double([]),...
 'parallel_coefficients',double([]),...
-'parallel_coefficients_error_index',double(-999999999),...
+'parallel_coefficients_error_index',int32(-999999999),...
 'parallel_coefficients_error_lower',double([]),...
 'parallel_coefficients_error_upper',double([]),...
-'parallel_error_index',double(-999999999),...
+'parallel_error_index',int32(-999999999),...
 'parallel_error_lower',double([]),...
 'parallel_error_upper',double([]),...
 'poloidal',double([]),...
 'poloidal_coefficients',double([]),...
-'poloidal_coefficients_error_index',double(-999999999),...
+'poloidal_coefficients_error_index',int32(-999999999),...
 'poloidal_coefficients_error_lower',double([]),...
 'poloidal_coefficients_error_upper',double([]),...
-'poloidal_error_index',double(-999999999),...
+'poloidal_error_index',int32(-999999999),...
 'poloidal_error_lower',double([]),...
 'poloidal_error_upper',double([]),...
 'radial',double([]),...
 'radial_coefficients',double([]),...
-'radial_coefficients_error_index',double(-999999999),...
+'radial_coefficients_error_index',int32(-999999999),...
 'radial_coefficients_error_lower',double([]),...
 'radial_coefficients_error_upper',double([]),...
-'radial_error_index',double(-999999999),...
+'radial_error_index',int32(-999999999),...
 'radial_error_lower',double([]),...
 'radial_error_upper',double([]),...
 'toroidal',double([]),...
 'toroidal_coefficients',double([]),...
-'toroidal_coefficients_error_index',double(-999999999),...
+'toroidal_coefficients_error_index',int32(-999999999),...
 'toroidal_coefficients_error_lower',double([]),...
 'toroidal_coefficients_error_upper',double([]),...
-'toroidal_error_index',double(-999999999),...
+'toroidal_error_index',int32(-999999999),...
 'toroidal_error_lower',double([]),...
 'toroidal_error_upper',double([]))
 ;}}),...
 'ion',{{struct(...
 'density',{{struct(...
 'coefficients',double([]),...
-'coefficients_error_index',double(-999999999),...
+'coefficients_error_index',int32(-999999999),...
 'coefficients_error_lower',double([]),...
 'coefficients_error_upper',double([]),...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
 'values',double([]),...
-'values_error_index',double(-999999999),...
+'values_error_index',int32(-999999999),...
 'values_error_lower',double([]),...
 'values_error_upper',double([]))
 ;}},...
 'density_fast',{{struct(...
 'coefficients',double([]),...
-'coefficients_error_index',double(-999999999),...
+'coefficients_error_index',int32(-999999999),...
 'coefficients_error_lower',double([]),...
 'coefficients_error_upper',double([]),...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
 'values',double([]),...
-'values_error_index',double(-999999999),...
+'values_error_index',int32(-999999999),...
 'values_error_lower',double([]),...
 'values_error_upper',double([]))
 ;}},...
 'element',{{struct(...
-'a',double(-9.0000000000000006360851714687e+40),...
-'a_error_index',double(-999999999),...
-'a_error_lower',double(-9.0000000000000006360851714687e+40),...
-'a_error_upper',double(-9.0000000000000006360851714687e+40),...
-'atoms_n',double(-999999999),...
-'multiplicity',double(-9.0000000000000006360851714687e+40),...
-'multiplicity_error_index',double(-999999999),...
-'multiplicity_error_lower',double(-9.0000000000000006360851714687e+40),...
-'multiplicity_error_upper',double(-9.0000000000000006360851714687e+40),...
-'z_n',double(-9.0000000000000006360851714687e+40),...
-'z_n_error_index',double(-999999999),...
-'z_n_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_n_error_upper',double(-9.0000000000000006360851714687e+40))
+'a',double(-9e+40),...
+'a_error_index',int32(-999999999),...
+'a_error_lower',double(-9e+40),...
+'a_error_upper',double(-9e+40),...
+'atoms_n',int32(-999999999),...
+'multiplicity',double(-9e+40),...
+'multiplicity_error_index',int32(-999999999),...
+'multiplicity_error_lower',double(-9e+40),...
+'multiplicity_error_upper',double(-9e+40),...
+'z_n',double(-9e+40),...
+'z_n_error_index',int32(-999999999),...
+'z_n_error_lower',double(-9e+40),...
+'z_n_error_upper',double(-9e+40))
 ;}},...
 'energy_density_kinetic',{{struct(...
 'coefficients',double([]),...
-'coefficients_error_index',double(-999999999),...
+'coefficients_error_index',int32(-999999999),...
 'coefficients_error_lower',double([]),...
 'coefficients_error_upper',double([]),...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
 'values',double([]),...
-'values_error_index',double(-999999999),...
+'values_error_index',int32(-999999999),...
 'values_error_lower',double([]),...
 'values_error_upper',double([]))
 ;}},...
-'label',double([]),...
-'multiple_states_flag',double(-999999999),...
-'neutral_index',double(-999999999),...
+'label','',...
+'multiple_states_flag',int32(-999999999),...
+'neutral_index',int32(-999999999),...
 'pressure',{{struct(...
 'coefficients',double([]),...
-'coefficients_error_index',double(-999999999),...
+'coefficients_error_index',int32(-999999999),...
 'coefficients_error_lower',double([]),...
 'coefficients_error_upper',double([]),...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
 'values',double([]),...
-'values_error_index',double(-999999999),...
+'values_error_index',int32(-999999999),...
 'values_error_lower',double([]),...
 'values_error_upper',double([]))
 ;}},...
 'pressure_fast_parallel',{{struct(...
 'coefficients',double([]),...
-'coefficients_error_index',double(-999999999),...
+'coefficients_error_index',int32(-999999999),...
 'coefficients_error_lower',double([]),...
 'coefficients_error_upper',double([]),...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
 'values',double([]),...
-'values_error_index',double(-999999999),...
+'values_error_index',int32(-999999999),...
 'values_error_lower',double([]),...
 'values_error_upper',double([]))
 ;}},...
 'pressure_fast_perpendicular',{{struct(...
 'coefficients',double([]),...
-'coefficients_error_index',double(-999999999),...
+'coefficients_error_index',int32(-999999999),...
 'coefficients_error_lower',double([]),...
 'coefficients_error_upper',double([]),...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
 'values',double([]),...
-'values_error_index',double(-999999999),...
+'values_error_index',int32(-999999999),...
 'values_error_lower',double([]),...
 'values_error_upper',double([]))
 ;}},...
 'state',{{struct(...
 'density',{{struct(...
 'coefficients',double([]),...
-'coefficients_error_index',double(-999999999),...
+'coefficients_error_index',int32(-999999999),...
 'coefficients_error_lower',double([]),...
 'coefficients_error_upper',double([]),...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
 'values',double([]),...
-'values_error_index',double(-999999999),...
+'values_error_index',int32(-999999999),...
 'values_error_lower',double([]),...
 'values_error_upper',double([]))
 ;}},...
 'density_fast',{{struct(...
 'coefficients',double([]),...
-'coefficients_error_index',double(-999999999),...
+'coefficients_error_index',int32(-999999999),...
 'coefficients_error_lower',double([]),...
 'coefficients_error_upper',double([]),...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
 'values',double([]),...
-'values_error_index',double(-999999999),...
+'values_error_index',int32(-999999999),...
 'values_error_lower',double([]),...
 'values_error_upper',double([]))
 ;}},...
 'distribution_function',{{struct(...
 'coefficients',double([]),...
-'coefficients_error_index',double(-999999999),...
+'coefficients_error_index',int32(-999999999),...
 'coefficients_error_lower',double([]),...
 'coefficients_error_upper',double([]),...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
 'values',double([]),...
-'values_error_index',double(-999999999),...
+'values_error_index',int32(-999999999),...
 'values_error_lower',double([]),...
 'values_error_upper',double([]))
 ;}},...
-'electron_configuration',double([]),...
+'electron_configuration','',...
 'energy_density_kinetic',{{struct(...
 'coefficients',double([]),...
-'coefficients_error_index',double(-999999999),...
+'coefficients_error_index',int32(-999999999),...
 'coefficients_error_lower',double([]),...
 'coefficients_error_upper',double([]),...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
 'values',double([]),...
-'values_error_index',double(-999999999),...
+'values_error_index',int32(-999999999),...
 'values_error_lower',double([]),...
 'values_error_upper',double([]))
 ;}},...
 'ionisation_potential',{{struct(...
 'coefficients',double([]),...
-'coefficients_error_index',double(-999999999),...
+'coefficients_error_index',int32(-999999999),...
 'coefficients_error_lower',double([]),...
 'coefficients_error_upper',double([]),...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
 'values',double([]),...
-'values_error_index',double(-999999999),...
+'values_error_index',int32(-999999999),...
 'values_error_lower',double([]),...
 'values_error_upper',double([]))
 ;}},...
-'label',double([]),...
+'label','',...
 'pressure',{{struct(...
 'coefficients',double([]),...
-'coefficients_error_index',double(-999999999),...
+'coefficients_error_index',int32(-999999999),...
 'coefficients_error_lower',double([]),...
 'coefficients_error_upper',double([]),...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
 'values',double([]),...
-'values_error_index',double(-999999999),...
+'values_error_index',int32(-999999999),...
 'values_error_lower',double([]),...
 'values_error_upper',double([]))
 ;}},...
 'pressure_fast_parallel',{{struct(...
 'coefficients',double([]),...
-'coefficients_error_index',double(-999999999),...
+'coefficients_error_index',int32(-999999999),...
 'coefficients_error_lower',double([]),...
 'coefficients_error_upper',double([]),...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
 'values',double([]),...
-'values_error_index',double(-999999999),...
+'values_error_index',int32(-999999999),...
 'values_error_lower',double([]),...
 'values_error_upper',double([]))
 ;}},...
 'pressure_fast_perpendicular',{{struct(...
 'coefficients',double([]),...
-'coefficients_error_index',double(-999999999),...
+'coefficients_error_index',int32(-999999999),...
 'coefficients_error_lower',double([]),...
 'coefficients_error_upper',double([]),...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
 'values',double([]),...
-'values_error_index',double(-999999999),...
+'values_error_index',int32(-999999999),...
 'values_error_lower',double([]),...
 'values_error_upper',double([]))
 ;}},...
 'temperature',{{struct(...
 'coefficients',double([]),...
-'coefficients_error_index',double(-999999999),...
+'coefficients_error_index',int32(-999999999),...
 'coefficients_error_lower',double([]),...
 'coefficients_error_upper',double([]),...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
 'values',double([]),...
-'values_error_index',double(-999999999),...
+'values_error_index',int32(-999999999),...
 'values_error_lower',double([]),...
 'values_error_upper',double([]))
 ;}},...
 'velocity',{{struct(...
 'diamagnetic',double([]),...
 'diamagnetic_coefficients',double([]),...
-'diamagnetic_coefficients_error_index',double(-999999999),...
+'diamagnetic_coefficients_error_index',int32(-999999999),...
 'diamagnetic_coefficients_error_lower',double([]),...
 'diamagnetic_coefficients_error_upper',double([]),...
-'diamagnetic_error_index',double(-999999999),...
+'diamagnetic_error_index',int32(-999999999),...
 'diamagnetic_error_lower',double([]),...
 'diamagnetic_error_upper',double([]),...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
 'parallel',double([]),...
 'parallel_coefficients',double([]),...
-'parallel_coefficients_error_index',double(-999999999),...
+'parallel_coefficients_error_index',int32(-999999999),...
 'parallel_coefficients_error_lower',double([]),...
 'parallel_coefficients_error_upper',double([]),...
-'parallel_error_index',double(-999999999),...
+'parallel_error_index',int32(-999999999),...
 'parallel_error_lower',double([]),...
 'parallel_error_upper',double([]),...
 'poloidal',double([]),...
 'poloidal_coefficients',double([]),...
-'poloidal_coefficients_error_index',double(-999999999),...
+'poloidal_coefficients_error_index',int32(-999999999),...
 'poloidal_coefficients_error_lower',double([]),...
 'poloidal_coefficients_error_upper',double([]),...
-'poloidal_error_index',double(-999999999),...
+'poloidal_error_index',int32(-999999999),...
 'poloidal_error_lower',double([]),...
 'poloidal_error_upper',double([]),...
 'radial',double([]),...
 'radial_coefficients',double([]),...
-'radial_coefficients_error_index',double(-999999999),...
+'radial_coefficients_error_index',int32(-999999999),...
 'radial_coefficients_error_lower',double([]),...
 'radial_coefficients_error_upper',double([]),...
-'radial_error_index',double(-999999999),...
+'radial_error_index',int32(-999999999),...
 'radial_error_lower',double([]),...
 'radial_error_upper',double([]),...
 'toroidal',double([]),...
 'toroidal_coefficients',double([]),...
-'toroidal_coefficients_error_index',double(-999999999),...
+'toroidal_coefficients_error_index',int32(-999999999),...
 'toroidal_coefficients_error_lower',double([]),...
 'toroidal_coefficients_error_upper',double([]),...
-'toroidal_error_index',double(-999999999),...
+'toroidal_error_index',int32(-999999999),...
 'toroidal_error_lower',double([]),...
 'toroidal_error_upper',double([]))
 ;}},...
 'velocity_diamagnetic',{{struct(...
 'diamagnetic',double([]),...
 'diamagnetic_coefficients',double([]),...
-'diamagnetic_coefficients_error_index',double(-999999999),...
+'diamagnetic_coefficients_error_index',int32(-999999999),...
 'diamagnetic_coefficients_error_lower',double([]),...
 'diamagnetic_coefficients_error_upper',double([]),...
-'diamagnetic_error_index',double(-999999999),...
+'diamagnetic_error_index',int32(-999999999),...
 'diamagnetic_error_lower',double([]),...
 'diamagnetic_error_upper',double([]),...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
 'parallel',double([]),...
 'parallel_coefficients',double([]),...
-'parallel_coefficients_error_index',double(-999999999),...
+'parallel_coefficients_error_index',int32(-999999999),...
 'parallel_coefficients_error_lower',double([]),...
 'parallel_coefficients_error_upper',double([]),...
-'parallel_error_index',double(-999999999),...
+'parallel_error_index',int32(-999999999),...
 'parallel_error_lower',double([]),...
 'parallel_error_upper',double([]),...
 'poloidal',double([]),...
 'poloidal_coefficients',double([]),...
-'poloidal_coefficients_error_index',double(-999999999),...
+'poloidal_coefficients_error_index',int32(-999999999),...
 'poloidal_coefficients_error_lower',double([]),...
 'poloidal_coefficients_error_upper',double([]),...
-'poloidal_error_index',double(-999999999),...
+'poloidal_error_index',int32(-999999999),...
 'poloidal_error_lower',double([]),...
 'poloidal_error_upper',double([]),...
 'radial',double([]),...
 'radial_coefficients',double([]),...
-'radial_coefficients_error_index',double(-999999999),...
+'radial_coefficients_error_index',int32(-999999999),...
 'radial_coefficients_error_lower',double([]),...
 'radial_coefficients_error_upper',double([]),...
-'radial_error_index',double(-999999999),...
+'radial_error_index',int32(-999999999),...
 'radial_error_lower',double([]),...
 'radial_error_upper',double([]),...
 'toroidal',double([]),...
 'toroidal_coefficients',double([]),...
-'toroidal_coefficients_error_index',double(-999999999),...
+'toroidal_coefficients_error_index',int32(-999999999),...
 'toroidal_coefficients_error_lower',double([]),...
 'toroidal_coefficients_error_upper',double([]),...
-'toroidal_error_index',double(-999999999),...
+'toroidal_error_index',int32(-999999999),...
 'toroidal_error_lower',double([]),...
 'toroidal_error_upper',double([]))
 ;}},...
 'velocity_exb',{{struct(...
 'diamagnetic',double([]),...
 'diamagnetic_coefficients',double([]),...
-'diamagnetic_coefficients_error_index',double(-999999999),...
+'diamagnetic_coefficients_error_index',int32(-999999999),...
 'diamagnetic_coefficients_error_lower',double([]),...
 'diamagnetic_coefficients_error_upper',double([]),...
-'diamagnetic_error_index',double(-999999999),...
+'diamagnetic_error_index',int32(-999999999),...
 'diamagnetic_error_lower',double([]),...
 'diamagnetic_error_upper',double([]),...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
 'parallel',double([]),...
 'parallel_coefficients',double([]),...
-'parallel_coefficients_error_index',double(-999999999),...
+'parallel_coefficients_error_index',int32(-999999999),...
 'parallel_coefficients_error_lower',double([]),...
 'parallel_coefficients_error_upper',double([]),...
-'parallel_error_index',double(-999999999),...
+'parallel_error_index',int32(-999999999),...
 'parallel_error_lower',double([]),...
 'parallel_error_upper',double([]),...
 'poloidal',double([]),...
 'poloidal_coefficients',double([]),...
-'poloidal_coefficients_error_index',double(-999999999),...
+'poloidal_coefficients_error_index',int32(-999999999),...
 'poloidal_coefficients_error_lower',double([]),...
 'poloidal_coefficients_error_upper',double([]),...
-'poloidal_error_index',double(-999999999),...
+'poloidal_error_index',int32(-999999999),...
 'poloidal_error_lower',double([]),...
 'poloidal_error_upper',double([]),...
 'radial',double([]),...
 'radial_coefficients',double([]),...
-'radial_coefficients_error_index',double(-999999999),...
+'radial_coefficients_error_index',int32(-999999999),...
 'radial_coefficients_error_lower',double([]),...
 'radial_coefficients_error_upper',double([]),...
-'radial_error_index',double(-999999999),...
+'radial_error_index',int32(-999999999),...
 'radial_error_lower',double([]),...
 'radial_error_upper',double([]),...
 'toroidal',double([]),...
 'toroidal_coefficients',double([]),...
-'toroidal_coefficients_error_index',double(-999999999),...
+'toroidal_coefficients_error_index',int32(-999999999),...
 'toroidal_coefficients_error_lower',double([]),...
 'toroidal_coefficients_error_upper',double([]),...
-'toroidal_error_index',double(-999999999),...
+'toroidal_error_index',int32(-999999999),...
 'toroidal_error_lower',double([]),...
 'toroidal_error_upper',double([]))
 ;}},...
-'vibrational_level',double(-9.0000000000000006360851714687e+40),...
-'vibrational_level_error_index',double(-999999999),...
-'vibrational_level_error_lower',double(-9.0000000000000006360851714687e+40),...
-'vibrational_level_error_upper',double(-9.0000000000000006360851714687e+40),...
-'vibrational_mode',double([]),...
+'vibrational_level',double(-9e+40),...
+'vibrational_level_error_index',int32(-999999999),...
+'vibrational_level_error_lower',double(-9e+40),...
+'vibrational_level_error_upper',double(-9e+40),...
+'vibrational_mode','',...
 'z_average',{{struct(...
 'coefficients',double([]),...
-'coefficients_error_index',double(-999999999),...
+'coefficients_error_index',int32(-999999999),...
 'coefficients_error_lower',double([]),...
 'coefficients_error_upper',double([]),...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
 'values',double([]),...
-'values_error_index',double(-999999999),...
+'values_error_index',int32(-999999999),...
 'values_error_lower',double([]),...
 'values_error_upper',double([]))
 ;}},...
-'z_max',double(-9.0000000000000006360851714687e+40),...
-'z_max_error_index',double(-999999999),...
-'z_max_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_max_error_upper',double(-9.0000000000000006360851714687e+40),...
-'z_min',double(-9.0000000000000006360851714687e+40),...
-'z_min_error_index',double(-999999999),...
-'z_min_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_min_error_upper',double(-9.0000000000000006360851714687e+40),...
+'z_max',double(-9e+40),...
+'z_max_error_index',int32(-999999999),...
+'z_max_error_lower',double(-9e+40),...
+'z_max_error_upper',double(-9e+40),...
+'z_min',double(-9e+40),...
+'z_min_error_index',int32(-999999999),...
+'z_min_error_lower',double(-9e+40),...
+'z_min_error_upper',double(-9e+40),...
 'z_square_average',{{struct(...
 'coefficients',double([]),...
-'coefficients_error_index',double(-999999999),...
+'coefficients_error_index',int32(-999999999),...
 'coefficients_error_lower',double([]),...
 'coefficients_error_upper',double([]),...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
 'values',double([]),...
-'values_error_index',double(-999999999),...
+'values_error_index',int32(-999999999),...
 'values_error_lower',double([]),...
 'values_error_upper',double([]))
 ;}})
 ;}},...
 'temperature',{{struct(...
 'coefficients',double([]),...
-'coefficients_error_index',double(-999999999),...
+'coefficients_error_index',int32(-999999999),...
 'coefficients_error_lower',double([]),...
 'coefficients_error_upper',double([]),...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
 'values',double([]),...
-'values_error_index',double(-999999999),...
+'values_error_index',int32(-999999999),...
 'values_error_lower',double([]),...
 'values_error_upper',double([]))
 ;}},...
 'velocity',{{struct(...
 'diamagnetic',double([]),...
 'diamagnetic_coefficients',double([]),...
-'diamagnetic_coefficients_error_index',double(-999999999),...
+'diamagnetic_coefficients_error_index',int32(-999999999),...
 'diamagnetic_coefficients_error_lower',double([]),...
 'diamagnetic_coefficients_error_upper',double([]),...
-'diamagnetic_error_index',double(-999999999),...
+'diamagnetic_error_index',int32(-999999999),...
 'diamagnetic_error_lower',double([]),...
 'diamagnetic_error_upper',double([]),...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
 'parallel',double([]),...
 'parallel_coefficients',double([]),...
-'parallel_coefficients_error_index',double(-999999999),...
+'parallel_coefficients_error_index',int32(-999999999),...
 'parallel_coefficients_error_lower',double([]),...
 'parallel_coefficients_error_upper',double([]),...
-'parallel_error_index',double(-999999999),...
+'parallel_error_index',int32(-999999999),...
 'parallel_error_lower',double([]),...
 'parallel_error_upper',double([]),...
 'poloidal',double([]),...
 'poloidal_coefficients',double([]),...
-'poloidal_coefficients_error_index',double(-999999999),...
+'poloidal_coefficients_error_index',int32(-999999999),...
 'poloidal_coefficients_error_lower',double([]),...
 'poloidal_coefficients_error_upper',double([]),...
-'poloidal_error_index',double(-999999999),...
+'poloidal_error_index',int32(-999999999),...
 'poloidal_error_lower',double([]),...
 'poloidal_error_upper',double([]),...
 'radial',double([]),...
 'radial_coefficients',double([]),...
-'radial_coefficients_error_index',double(-999999999),...
+'radial_coefficients_error_index',int32(-999999999),...
 'radial_coefficients_error_lower',double([]),...
 'radial_coefficients_error_upper',double([]),...
-'radial_error_index',double(-999999999),...
+'radial_error_index',int32(-999999999),...
 'radial_error_lower',double([]),...
 'radial_error_upper',double([]),...
 'toroidal',double([]),...
 'toroidal_coefficients',double([]),...
-'toroidal_coefficients_error_index',double(-999999999),...
+'toroidal_coefficients_error_index',int32(-999999999),...
 'toroidal_coefficients_error_lower',double([]),...
 'toroidal_coefficients_error_upper',double([]),...
-'toroidal_error_index',double(-999999999),...
+'toroidal_error_index',int32(-999999999),...
 'toroidal_error_lower',double([]),...
 'toroidal_error_upper',double([]))
 ;}},...
-'z_ion',double(-9.0000000000000006360851714687e+40),...
-'z_ion_error_index',double(-999999999),...
-'z_ion_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_ion_error_upper',double(-9.0000000000000006360851714687e+40))
+'z_ion',double(-9e+40),...
+'z_ion_error_index',int32(-999999999),...
+'z_ion_error_lower',double(-9e+40),...
+'z_ion_error_upper',double(-9e+40))
 ;}},...
 'j_anomalous',{{struct(...
 'diamagnetic',double([]),...
 'diamagnetic_coefficients',double([]),...
-'diamagnetic_coefficients_error_index',double(-999999999),...
+'diamagnetic_coefficients_error_index',int32(-999999999),...
 'diamagnetic_coefficients_error_lower',double([]),...
 'diamagnetic_coefficients_error_upper',double([]),...
-'diamagnetic_error_index',double(-999999999),...
+'diamagnetic_error_index',int32(-999999999),...
 'diamagnetic_error_lower',double([]),...
 'diamagnetic_error_upper',double([]),...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
 'parallel',double([]),...
 'parallel_coefficients',double([]),...
-'parallel_coefficients_error_index',double(-999999999),...
+'parallel_coefficients_error_index',int32(-999999999),...
 'parallel_coefficients_error_lower',double([]),...
 'parallel_coefficients_error_upper',double([]),...
-'parallel_error_index',double(-999999999),...
+'parallel_error_index',int32(-999999999),...
 'parallel_error_lower',double([]),...
 'parallel_error_upper',double([]),...
 'poloidal',double([]),...
 'poloidal_coefficients',double([]),...
-'poloidal_coefficients_error_index',double(-999999999),...
+'poloidal_coefficients_error_index',int32(-999999999),...
 'poloidal_coefficients_error_lower',double([]),...
 'poloidal_coefficients_error_upper',double([]),...
-'poloidal_error_index',double(-999999999),...
+'poloidal_error_index',int32(-999999999),...
 'poloidal_error_lower',double([]),...
 'poloidal_error_upper',double([]),...
 'radial',double([]),...
 'radial_coefficients',double([]),...
-'radial_coefficients_error_index',double(-999999999),...
+'radial_coefficients_error_index',int32(-999999999),...
 'radial_coefficients_error_lower',double([]),...
 'radial_coefficients_error_upper',double([]),...
-'radial_error_index',double(-999999999),...
+'radial_error_index',int32(-999999999),...
 'radial_error_lower',double([]),...
 'radial_error_upper',double([]),...
 'toroidal',double([]),...
 'toroidal_coefficients',double([]),...
-'toroidal_coefficients_error_index',double(-999999999),...
+'toroidal_coefficients_error_index',int32(-999999999),...
 'toroidal_coefficients_error_lower',double([]),...
 'toroidal_coefficients_error_upper',double([]),...
-'toroidal_error_index',double(-999999999),...
+'toroidal_error_index',int32(-999999999),...
 'toroidal_error_lower',double([]),...
 'toroidal_error_upper',double([]))
 ;}},...
 'j_diamagnetic',{{struct(...
 'diamagnetic',double([]),...
 'diamagnetic_coefficients',double([]),...
-'diamagnetic_coefficients_error_index',double(-999999999),...
+'diamagnetic_coefficients_error_index',int32(-999999999),...
 'diamagnetic_coefficients_error_lower',double([]),...
 'diamagnetic_coefficients_error_upper',double([]),...
-'diamagnetic_error_index',double(-999999999),...
+'diamagnetic_error_index',int32(-999999999),...
 'diamagnetic_error_lower',double([]),...
 'diamagnetic_error_upper',double([]),...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
 'parallel',double([]),...
 'parallel_coefficients',double([]),...
-'parallel_coefficients_error_index',double(-999999999),...
+'parallel_coefficients_error_index',int32(-999999999),...
 'parallel_coefficients_error_lower',double([]),...
 'parallel_coefficients_error_upper',double([]),...
-'parallel_error_index',double(-999999999),...
+'parallel_error_index',int32(-999999999),...
 'parallel_error_lower',double([]),...
 'parallel_error_upper',double([]),...
 'poloidal',double([]),...
 'poloidal_coefficients',double([]),...
-'poloidal_coefficients_error_index',double(-999999999),...
+'poloidal_coefficients_error_index',int32(-999999999),...
 'poloidal_coefficients_error_lower',double([]),...
 'poloidal_coefficients_error_upper',double([]),...
-'poloidal_error_index',double(-999999999),...
+'poloidal_error_index',int32(-999999999),...
 'poloidal_error_lower',double([]),...
 'poloidal_error_upper',double([]),...
 'radial',double([]),...
 'radial_coefficients',double([]),...
-'radial_coefficients_error_index',double(-999999999),...
+'radial_coefficients_error_index',int32(-999999999),...
 'radial_coefficients_error_lower',double([]),...
 'radial_coefficients_error_upper',double([]),...
-'radial_error_index',double(-999999999),...
+'radial_error_index',int32(-999999999),...
 'radial_error_lower',double([]),...
 'radial_error_upper',double([]),...
 'toroidal',double([]),...
 'toroidal_coefficients',double([]),...
-'toroidal_coefficients_error_index',double(-999999999),...
+'toroidal_coefficients_error_index',int32(-999999999),...
 'toroidal_coefficients_error_lower',double([]),...
 'toroidal_coefficients_error_upper',double([]),...
-'toroidal_error_index',double(-999999999),...
+'toroidal_error_index',int32(-999999999),...
 'toroidal_error_lower',double([]),...
 'toroidal_error_upper',double([]))
 ;}},...
 'j_heat_viscosity',{{struct(...
 'diamagnetic',double([]),...
 'diamagnetic_coefficients',double([]),...
-'diamagnetic_coefficients_error_index',double(-999999999),...
+'diamagnetic_coefficients_error_index',int32(-999999999),...
 'diamagnetic_coefficients_error_lower',double([]),...
 'diamagnetic_coefficients_error_upper',double([]),...
-'diamagnetic_error_index',double(-999999999),...
+'diamagnetic_error_index',int32(-999999999),...
 'diamagnetic_error_lower',double([]),...
 'diamagnetic_error_upper',double([]),...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
 'parallel',double([]),...
 'parallel_coefficients',double([]),...
-'parallel_coefficients_error_index',double(-999999999),...
+'parallel_coefficients_error_index',int32(-999999999),...
 'parallel_coefficients_error_lower',double([]),...
 'parallel_coefficients_error_upper',double([]),...
-'parallel_error_index',double(-999999999),...
+'parallel_error_index',int32(-999999999),...
 'parallel_error_lower',double([]),...
 'parallel_error_upper',double([]),...
 'poloidal',double([]),...
 'poloidal_coefficients',double([]),...
-'poloidal_coefficients_error_index',double(-999999999),...
+'poloidal_coefficients_error_index',int32(-999999999),...
 'poloidal_coefficients_error_lower',double([]),...
 'poloidal_coefficients_error_upper',double([]),...
-'poloidal_error_index',double(-999999999),...
+'poloidal_error_index',int32(-999999999),...
 'poloidal_error_lower',double([]),...
 'poloidal_error_upper',double([]),...
 'radial',double([]),...
 'radial_coefficients',double([]),...
-'radial_coefficients_error_index',double(-999999999),...
+'radial_coefficients_error_index',int32(-999999999),...
 'radial_coefficients_error_lower',double([]),...
 'radial_coefficients_error_upper',double([]),...
-'radial_error_index',double(-999999999),...
+'radial_error_index',int32(-999999999),...
 'radial_error_lower',double([]),...
 'radial_error_upper',double([]),...
 'toroidal',double([]),...
 'toroidal_coefficients',double([]),...
-'toroidal_coefficients_error_index',double(-999999999),...
+'toroidal_coefficients_error_index',int32(-999999999),...
 'toroidal_coefficients_error_lower',double([]),...
 'toroidal_coefficients_error_upper',double([]),...
-'toroidal_error_index',double(-999999999),...
+'toroidal_error_index',int32(-999999999),...
 'toroidal_error_lower',double([]),...
 'toroidal_error_upper',double([]))
 ;}},...
 'j_inertial',{{struct(...
 'diamagnetic',double([]),...
 'diamagnetic_coefficients',double([]),...
-'diamagnetic_coefficients_error_index',double(-999999999),...
+'diamagnetic_coefficients_error_index',int32(-999999999),...
 'diamagnetic_coefficients_error_lower',double([]),...
 'diamagnetic_coefficients_error_upper',double([]),...
-'diamagnetic_error_index',double(-999999999),...
+'diamagnetic_error_index',int32(-999999999),...
 'diamagnetic_error_lower',double([]),...
 'diamagnetic_error_upper',double([]),...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
 'parallel',double([]),...
 'parallel_coefficients',double([]),...
-'parallel_coefficients_error_index',double(-999999999),...
+'parallel_coefficients_error_index',int32(-999999999),...
 'parallel_coefficients_error_lower',double([]),...
 'parallel_coefficients_error_upper',double([]),...
-'parallel_error_index',double(-999999999),...
+'parallel_error_index',int32(-999999999),...
 'parallel_error_lower',double([]),...
 'parallel_error_upper',double([]),...
 'poloidal',double([]),...
 'poloidal_coefficients',double([]),...
-'poloidal_coefficients_error_index',double(-999999999),...
+'poloidal_coefficients_error_index',int32(-999999999),...
 'poloidal_coefficients_error_lower',double([]),...
 'poloidal_coefficients_error_upper',double([]),...
-'poloidal_error_index',double(-999999999),...
+'poloidal_error_index',int32(-999999999),...
 'poloidal_error_lower',double([]),...
 'poloidal_error_upper',double([]),...
 'radial',double([]),...
 'radial_coefficients',double([]),...
-'radial_coefficients_error_index',double(-999999999),...
+'radial_coefficients_error_index',int32(-999999999),...
 'radial_coefficients_error_lower',double([]),...
 'radial_coefficients_error_upper',double([]),...
-'radial_error_index',double(-999999999),...
+'radial_error_index',int32(-999999999),...
 'radial_error_lower',double([]),...
 'radial_error_upper',double([]),...
 'toroidal',double([]),...
 'toroidal_coefficients',double([]),...
-'toroidal_coefficients_error_index',double(-999999999),...
+'toroidal_coefficients_error_index',int32(-999999999),...
 'toroidal_coefficients_error_lower',double([]),...
 'toroidal_coefficients_error_upper',double([]),...
-'toroidal_error_index',double(-999999999),...
+'toroidal_error_index',int32(-999999999),...
 'toroidal_error_lower',double([]),...
 'toroidal_error_upper',double([]))
 ;}},...
 'j_ion_neutral_friction',{{struct(...
 'diamagnetic',double([]),...
 'diamagnetic_coefficients',double([]),...
-'diamagnetic_coefficients_error_index',double(-999999999),...
+'diamagnetic_coefficients_error_index',int32(-999999999),...
 'diamagnetic_coefficients_error_lower',double([]),...
 'diamagnetic_coefficients_error_upper',double([]),...
-'diamagnetic_error_index',double(-999999999),...
+'diamagnetic_error_index',int32(-999999999),...
 'diamagnetic_error_lower',double([]),...
 'diamagnetic_error_upper',double([]),...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
 'parallel',double([]),...
 'parallel_coefficients',double([]),...
-'parallel_coefficients_error_index',double(-999999999),...
+'parallel_coefficients_error_index',int32(-999999999),...
 'parallel_coefficients_error_lower',double([]),...
 'parallel_coefficients_error_upper',double([]),...
-'parallel_error_index',double(-999999999),...
+'parallel_error_index',int32(-999999999),...
 'parallel_error_lower',double([]),...
 'parallel_error_upper',double([]),...
 'poloidal',double([]),...
 'poloidal_coefficients',double([]),...
-'poloidal_coefficients_error_index',double(-999999999),...
+'poloidal_coefficients_error_index',int32(-999999999),...
 'poloidal_coefficients_error_lower',double([]),...
 'poloidal_coefficients_error_upper',double([]),...
-'poloidal_error_index',double(-999999999),...
+'poloidal_error_index',int32(-999999999),...
 'poloidal_error_lower',double([]),...
 'poloidal_error_upper',double([]),...
 'radial',double([]),...
 'radial_coefficients',double([]),...
-'radial_coefficients_error_index',double(-999999999),...
+'radial_coefficients_error_index',int32(-999999999),...
 'radial_coefficients_error_lower',double([]),...
 'radial_coefficients_error_upper',double([]),...
-'radial_error_index',double(-999999999),...
+'radial_error_index',int32(-999999999),...
 'radial_error_lower',double([]),...
 'radial_error_upper',double([]),...
 'toroidal',double([]),...
 'toroidal_coefficients',double([]),...
-'toroidal_coefficients_error_index',double(-999999999),...
+'toroidal_coefficients_error_index',int32(-999999999),...
 'toroidal_coefficients_error_lower',double([]),...
 'toroidal_coefficients_error_upper',double([]),...
-'toroidal_error_index',double(-999999999),...
+'toroidal_error_index',int32(-999999999),...
 'toroidal_error_lower',double([]),...
 'toroidal_error_upper',double([]))
 ;}},...
 'j_parallel_viscosity',{{struct(...
 'diamagnetic',double([]),...
 'diamagnetic_coefficients',double([]),...
-'diamagnetic_coefficients_error_index',double(-999999999),...
+'diamagnetic_coefficients_error_index',int32(-999999999),...
 'diamagnetic_coefficients_error_lower',double([]),...
 'diamagnetic_coefficients_error_upper',double([]),...
-'diamagnetic_error_index',double(-999999999),...
+'diamagnetic_error_index',int32(-999999999),...
 'diamagnetic_error_lower',double([]),...
 'diamagnetic_error_upper',double([]),...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
 'parallel',double([]),...
 'parallel_coefficients',double([]),...
-'parallel_coefficients_error_index',double(-999999999),...
+'parallel_coefficients_error_index',int32(-999999999),...
 'parallel_coefficients_error_lower',double([]),...
 'parallel_coefficients_error_upper',double([]),...
-'parallel_error_index',double(-999999999),...
+'parallel_error_index',int32(-999999999),...
 'parallel_error_lower',double([]),...
 'parallel_error_upper',double([]),...
 'poloidal',double([]),...
 'poloidal_coefficients',double([]),...
-'poloidal_coefficients_error_index',double(-999999999),...
+'poloidal_coefficients_error_index',int32(-999999999),...
 'poloidal_coefficients_error_lower',double([]),...
 'poloidal_coefficients_error_upper',double([]),...
-'poloidal_error_index',double(-999999999),...
+'poloidal_error_index',int32(-999999999),...
 'poloidal_error_lower',double([]),...
 'poloidal_error_upper',double([]),...
 'radial',double([]),...
 'radial_coefficients',double([]),...
-'radial_coefficients_error_index',double(-999999999),...
+'radial_coefficients_error_index',int32(-999999999),...
 'radial_coefficients_error_lower',double([]),...
 'radial_coefficients_error_upper',double([]),...
-'radial_error_index',double(-999999999),...
+'radial_error_index',int32(-999999999),...
 'radial_error_lower',double([]),...
 'radial_error_upper',double([]),...
 'toroidal',double([]),...
 'toroidal_coefficients',double([]),...
-'toroidal_coefficients_error_index',double(-999999999),...
+'toroidal_coefficients_error_index',int32(-999999999),...
 'toroidal_coefficients_error_lower',double([]),...
 'toroidal_coefficients_error_upper',double([]),...
-'toroidal_error_index',double(-999999999),...
+'toroidal_error_index',int32(-999999999),...
 'toroidal_error_lower',double([]),...
 'toroidal_error_upper',double([]))
 ;}},...
 'j_perpendicular_viscosity',{{struct(...
 'diamagnetic',double([]),...
 'diamagnetic_coefficients',double([]),...
-'diamagnetic_coefficients_error_index',double(-999999999),...
+'diamagnetic_coefficients_error_index',int32(-999999999),...
 'diamagnetic_coefficients_error_lower',double([]),...
 'diamagnetic_coefficients_error_upper',double([]),...
-'diamagnetic_error_index',double(-999999999),...
+'diamagnetic_error_index',int32(-999999999),...
 'diamagnetic_error_lower',double([]),...
 'diamagnetic_error_upper',double([]),...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
 'parallel',double([]),...
 'parallel_coefficients',double([]),...
-'parallel_coefficients_error_index',double(-999999999),...
+'parallel_coefficients_error_index',int32(-999999999),...
 'parallel_coefficients_error_lower',double([]),...
 'parallel_coefficients_error_upper',double([]),...
-'parallel_error_index',double(-999999999),...
+'parallel_error_index',int32(-999999999),...
 'parallel_error_lower',double([]),...
 'parallel_error_upper',double([]),...
 'poloidal',double([]),...
 'poloidal_coefficients',double([]),...
-'poloidal_coefficients_error_index',double(-999999999),...
+'poloidal_coefficients_error_index',int32(-999999999),...
 'poloidal_coefficients_error_lower',double([]),...
 'poloidal_coefficients_error_upper',double([]),...
-'poloidal_error_index',double(-999999999),...
+'poloidal_error_index',int32(-999999999),...
 'poloidal_error_lower',double([]),...
 'poloidal_error_upper',double([]),...
 'radial',double([]),...
 'radial_coefficients',double([]),...
-'radial_coefficients_error_index',double(-999999999),...
+'radial_coefficients_error_index',int32(-999999999),...
 'radial_coefficients_error_lower',double([]),...
 'radial_coefficients_error_upper',double([]),...
-'radial_error_index',double(-999999999),...
+'radial_error_index',int32(-999999999),...
 'radial_error_lower',double([]),...
 'radial_error_upper',double([]),...
 'toroidal',double([]),...
 'toroidal_coefficients',double([]),...
-'toroidal_coefficients_error_index',double(-999999999),...
+'toroidal_coefficients_error_index',int32(-999999999),...
 'toroidal_coefficients_error_lower',double([]),...
 'toroidal_coefficients_error_upper',double([]),...
-'toroidal_error_index',double(-999999999),...
+'toroidal_error_index',int32(-999999999),...
 'toroidal_error_lower',double([]),...
 'toroidal_error_upper',double([]))
 ;}},...
 'j_pfirsch_schlueter',{{struct(...
 'diamagnetic',double([]),...
 'diamagnetic_coefficients',double([]),...
-'diamagnetic_coefficients_error_index',double(-999999999),...
+'diamagnetic_coefficients_error_index',int32(-999999999),...
 'diamagnetic_coefficients_error_lower',double([]),...
 'diamagnetic_coefficients_error_upper',double([]),...
-'diamagnetic_error_index',double(-999999999),...
+'diamagnetic_error_index',int32(-999999999),...
 'diamagnetic_error_lower',double([]),...
 'diamagnetic_error_upper',double([]),...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
 'parallel',double([]),...
 'parallel_coefficients',double([]),...
-'parallel_coefficients_error_index',double(-999999999),...
+'parallel_coefficients_error_index',int32(-999999999),...
 'parallel_coefficients_error_lower',double([]),...
 'parallel_coefficients_error_upper',double([]),...
-'parallel_error_index',double(-999999999),...
+'parallel_error_index',int32(-999999999),...
 'parallel_error_lower',double([]),...
 'parallel_error_upper',double([]),...
 'poloidal',double([]),...
 'poloidal_coefficients',double([]),...
-'poloidal_coefficients_error_index',double(-999999999),...
+'poloidal_coefficients_error_index',int32(-999999999),...
 'poloidal_coefficients_error_lower',double([]),...
 'poloidal_coefficients_error_upper',double([]),...
-'poloidal_error_index',double(-999999999),...
+'poloidal_error_index',int32(-999999999),...
 'poloidal_error_lower',double([]),...
 'poloidal_error_upper',double([]),...
 'radial',double([]),...
 'radial_coefficients',double([]),...
-'radial_coefficients_error_index',double(-999999999),...
+'radial_coefficients_error_index',int32(-999999999),...
 'radial_coefficients_error_lower',double([]),...
 'radial_coefficients_error_upper',double([]),...
-'radial_error_index',double(-999999999),...
+'radial_error_index',int32(-999999999),...
 'radial_error_lower',double([]),...
 'radial_error_upper',double([]),...
 'toroidal',double([]),...
 'toroidal_coefficients',double([]),...
-'toroidal_coefficients_error_index',double(-999999999),...
+'toroidal_coefficients_error_index',int32(-999999999),...
 'toroidal_coefficients_error_lower',double([]),...
 'toroidal_coefficients_error_upper',double([]),...
-'toroidal_error_index',double(-999999999),...
+'toroidal_error_index',int32(-999999999),...
 'toroidal_error_lower',double([]),...
 'toroidal_error_upper',double([]))
 ;}},...
 'n_i_total_over_n_e',{{struct(...
 'coefficients',double([]),...
-'coefficients_error_index',double(-999999999),...
+'coefficients_error_index',int32(-999999999),...
 'coefficients_error_lower',double([]),...
 'coefficients_error_upper',double([]),...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
 'values',double([]),...
-'values_error_index',double(-999999999),...
+'values_error_index',int32(-999999999),...
 'values_error_lower',double([]),...
 'values_error_upper',double([]))
 ;}},...
 'neutral',{{struct(...
 'density',{{struct(...
 'coefficients',double([]),...
-'coefficients_error_index',double(-999999999),...
+'coefficients_error_index',int32(-999999999),...
 'coefficients_error_lower',double([]),...
 'coefficients_error_upper',double([]),...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
 'values',double([]),...
-'values_error_index',double(-999999999),...
+'values_error_index',int32(-999999999),...
 'values_error_lower',double([]),...
 'values_error_upper',double([]))
 ;}},...
 'density_fast',{{struct(...
 'coefficients',double([]),...
-'coefficients_error_index',double(-999999999),...
+'coefficients_error_index',int32(-999999999),...
 'coefficients_error_lower',double([]),...
 'coefficients_error_upper',double([]),...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
 'values',double([]),...
-'values_error_index',double(-999999999),...
+'values_error_index',int32(-999999999),...
 'values_error_lower',double([]),...
 'values_error_upper',double([]))
 ;}},...
 'element',{{struct(...
-'a',double(-9.0000000000000006360851714687e+40),...
-'a_error_index',double(-999999999),...
-'a_error_lower',double(-9.0000000000000006360851714687e+40),...
-'a_error_upper',double(-9.0000000000000006360851714687e+40),...
-'atoms_n',double(-999999999),...
-'multiplicity',double(-9.0000000000000006360851714687e+40),...
-'multiplicity_error_index',double(-999999999),...
-'multiplicity_error_lower',double(-9.0000000000000006360851714687e+40),...
-'multiplicity_error_upper',double(-9.0000000000000006360851714687e+40),...
-'z_n',double(-9.0000000000000006360851714687e+40),...
-'z_n_error_index',double(-999999999),...
-'z_n_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_n_error_upper',double(-9.0000000000000006360851714687e+40))
+'a',double(-9e+40),...
+'a_error_index',int32(-999999999),...
+'a_error_lower',double(-9e+40),...
+'a_error_upper',double(-9e+40),...
+'atoms_n',int32(-999999999),...
+'multiplicity',double(-9e+40),...
+'multiplicity_error_index',int32(-999999999),...
+'multiplicity_error_lower',double(-9e+40),...
+'multiplicity_error_upper',double(-9e+40),...
+'z_n',double(-9e+40),...
+'z_n_error_index',int32(-999999999),...
+'z_n_error_lower',double(-9e+40),...
+'z_n_error_upper',double(-9e+40))
 ;}},...
 'energy_density_kinetic',{{struct(...
 'coefficients',double([]),...
-'coefficients_error_index',double(-999999999),...
+'coefficients_error_index',int32(-999999999),...
 'coefficients_error_lower',double([]),...
 'coefficients_error_upper',double([]),...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
 'values',double([]),...
-'values_error_index',double(-999999999),...
+'values_error_index',int32(-999999999),...
 'values_error_lower',double([]),...
 'values_error_upper',double([]))
 ;}},...
-'ion_index',double(-999999999),...
-'label',double([]),...
-'multiple_states_flag',double(-999999999),...
+'ion_index',int32(-999999999),...
+'label','',...
+'multiple_states_flag',int32(-999999999),...
 'pressure',{{struct(...
 'coefficients',double([]),...
-'coefficients_error_index',double(-999999999),...
+'coefficients_error_index',int32(-999999999),...
 'coefficients_error_lower',double([]),...
 'coefficients_error_upper',double([]),...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
 'values',double([]),...
-'values_error_index',double(-999999999),...
+'values_error_index',int32(-999999999),...
 'values_error_lower',double([]),...
 'values_error_upper',double([]))
 ;}},...
 'pressure_fast_parallel',{{struct(...
 'coefficients',double([]),...
-'coefficients_error_index',double(-999999999),...
+'coefficients_error_index',int32(-999999999),...
 'coefficients_error_lower',double([]),...
 'coefficients_error_upper',double([]),...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
 'values',double([]),...
-'values_error_index',double(-999999999),...
+'values_error_index',int32(-999999999),...
 'values_error_lower',double([]),...
 'values_error_upper',double([]))
 ;}},...
 'pressure_fast_perpendicular',{{struct(...
 'coefficients',double([]),...
-'coefficients_error_index',double(-999999999),...
+'coefficients_error_index',int32(-999999999),...
 'coefficients_error_lower',double([]),...
 'coefficients_error_upper',double([]),...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
 'values',double([]),...
-'values_error_index',double(-999999999),...
+'values_error_index',int32(-999999999),...
 'values_error_lower',double([]),...
 'values_error_upper',double([]))
 ;}},...
 'state',{{struct(...
 'density',{{struct(...
 'coefficients',double([]),...
-'coefficients_error_index',double(-999999999),...
+'coefficients_error_index',int32(-999999999),...
 'coefficients_error_lower',double([]),...
 'coefficients_error_upper',double([]),...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
 'values',double([]),...
-'values_error_index',double(-999999999),...
+'values_error_index',int32(-999999999),...
 'values_error_lower',double([]),...
 'values_error_upper',double([]))
 ;}},...
 'density_fast',{{struct(...
 'coefficients',double([]),...
-'coefficients_error_index',double(-999999999),...
+'coefficients_error_index',int32(-999999999),...
 'coefficients_error_lower',double([]),...
 'coefficients_error_upper',double([]),...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
 'values',double([]),...
-'values_error_index',double(-999999999),...
+'values_error_index',int32(-999999999),...
 'values_error_lower',double([]),...
 'values_error_upper',double([]))
 ;}},...
 'distribution_function',{{struct(...
 'coefficients',double([]),...
-'coefficients_error_index',double(-999999999),...
+'coefficients_error_index',int32(-999999999),...
 'coefficients_error_lower',double([]),...
 'coefficients_error_upper',double([]),...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
 'values',double([]),...
-'values_error_index',double(-999999999),...
+'values_error_index',int32(-999999999),...
 'values_error_lower',double([]),...
 'values_error_upper',double([]))
 ;}},...
-'electron_configuration',double([]),...
+'electron_configuration','',...
 'energy_density_kinetic',{{struct(...
 'coefficients',double([]),...
-'coefficients_error_index',double(-999999999),...
+'coefficients_error_index',int32(-999999999),...
 'coefficients_error_lower',double([]),...
 'coefficients_error_upper',double([]),...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
 'values',double([]),...
-'values_error_index',double(-999999999),...
+'values_error_index',int32(-999999999),...
 'values_error_lower',double([]),...
 'values_error_upper',double([]))
 ;}},...
-'label',double([]),...
+'label','',...
 'neutral_type',struct(...
-'description',double([]),...
-'index',double(-999999999),...
-'name',double([])),...
+'description','',...
+'index',int32(-999999999),...
+'name',''),...
 'pressure',{{struct(...
 'coefficients',double([]),...
-'coefficients_error_index',double(-999999999),...
+'coefficients_error_index',int32(-999999999),...
 'coefficients_error_lower',double([]),...
 'coefficients_error_upper',double([]),...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
 'values',double([]),...
-'values_error_index',double(-999999999),...
+'values_error_index',int32(-999999999),...
 'values_error_lower',double([]),...
 'values_error_upper',double([]))
 ;}},...
 'pressure_fast_parallel',{{struct(...
 'coefficients',double([]),...
-'coefficients_error_index',double(-999999999),...
+'coefficients_error_index',int32(-999999999),...
 'coefficients_error_lower',double([]),...
 'coefficients_error_upper',double([]),...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
 'values',double([]),...
-'values_error_index',double(-999999999),...
+'values_error_index',int32(-999999999),...
 'values_error_lower',double([]),...
 'values_error_upper',double([]))
 ;}},...
 'pressure_fast_perpendicular',{{struct(...
 'coefficients',double([]),...
-'coefficients_error_index',double(-999999999),...
+'coefficients_error_index',int32(-999999999),...
 'coefficients_error_lower',double([]),...
 'coefficients_error_upper',double([]),...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
 'values',double([]),...
-'values_error_index',double(-999999999),...
+'values_error_index',int32(-999999999),...
 'values_error_lower',double([]),...
 'values_error_upper',double([]))
 ;}},...
 'temperature',{{struct(...
 'coefficients',double([]),...
-'coefficients_error_index',double(-999999999),...
+'coefficients_error_index',int32(-999999999),...
 'coefficients_error_lower',double([]),...
 'coefficients_error_upper',double([]),...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
 'values',double([]),...
-'values_error_index',double(-999999999),...
+'values_error_index',int32(-999999999),...
 'values_error_lower',double([]),...
 'values_error_upper',double([]))
 ;}},...
 'velocity',{{struct(...
 'diamagnetic',double([]),...
 'diamagnetic_coefficients',double([]),...
-'diamagnetic_coefficients_error_index',double(-999999999),...
+'diamagnetic_coefficients_error_index',int32(-999999999),...
 'diamagnetic_coefficients_error_lower',double([]),...
 'diamagnetic_coefficients_error_upper',double([]),...
-'diamagnetic_error_index',double(-999999999),...
+'diamagnetic_error_index',int32(-999999999),...
 'diamagnetic_error_lower',double([]),...
 'diamagnetic_error_upper',double([]),...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
 'parallel',double([]),...
 'parallel_coefficients',double([]),...
-'parallel_coefficients_error_index',double(-999999999),...
+'parallel_coefficients_error_index',int32(-999999999),...
 'parallel_coefficients_error_lower',double([]),...
 'parallel_coefficients_error_upper',double([]),...
-'parallel_error_index',double(-999999999),...
+'parallel_error_index',int32(-999999999),...
 'parallel_error_lower',double([]),...
 'parallel_error_upper',double([]),...
 'poloidal',double([]),...
 'poloidal_coefficients',double([]),...
-'poloidal_coefficients_error_index',double(-999999999),...
+'poloidal_coefficients_error_index',int32(-999999999),...
 'poloidal_coefficients_error_lower',double([]),...
 'poloidal_coefficients_error_upper',double([]),...
-'poloidal_error_index',double(-999999999),...
+'poloidal_error_index',int32(-999999999),...
 'poloidal_error_lower',double([]),...
 'poloidal_error_upper',double([]),...
 'radial',double([]),...
 'radial_coefficients',double([]),...
-'radial_coefficients_error_index',double(-999999999),...
+'radial_coefficients_error_index',int32(-999999999),...
 'radial_coefficients_error_lower',double([]),...
 'radial_coefficients_error_upper',double([]),...
-'radial_error_index',double(-999999999),...
+'radial_error_index',int32(-999999999),...
 'radial_error_lower',double([]),...
 'radial_error_upper',double([]),...
 'toroidal',double([]),...
 'toroidal_coefficients',double([]),...
-'toroidal_coefficients_error_index',double(-999999999),...
+'toroidal_coefficients_error_index',int32(-999999999),...
 'toroidal_coefficients_error_lower',double([]),...
 'toroidal_coefficients_error_upper',double([]),...
-'toroidal_error_index',double(-999999999),...
+'toroidal_error_index',int32(-999999999),...
 'toroidal_error_lower',double([]),...
 'toroidal_error_upper',double([]))
 ;}},...
 'velocity_diamagnetic',{{struct(...
 'diamagnetic',double([]),...
 'diamagnetic_coefficients',double([]),...
-'diamagnetic_coefficients_error_index',double(-999999999),...
+'diamagnetic_coefficients_error_index',int32(-999999999),...
 'diamagnetic_coefficients_error_lower',double([]),...
 'diamagnetic_coefficients_error_upper',double([]),...
-'diamagnetic_error_index',double(-999999999),...
+'diamagnetic_error_index',int32(-999999999),...
 'diamagnetic_error_lower',double([]),...
 'diamagnetic_error_upper',double([]),...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
 'parallel',double([]),...
 'parallel_coefficients',double([]),...
-'parallel_coefficients_error_index',double(-999999999),...
+'parallel_coefficients_error_index',int32(-999999999),...
 'parallel_coefficients_error_lower',double([]),...
 'parallel_coefficients_error_upper',double([]),...
-'parallel_error_index',double(-999999999),...
+'parallel_error_index',int32(-999999999),...
 'parallel_error_lower',double([]),...
 'parallel_error_upper',double([]),...
 'poloidal',double([]),...
 'poloidal_coefficients',double([]),...
-'poloidal_coefficients_error_index',double(-999999999),...
+'poloidal_coefficients_error_index',int32(-999999999),...
 'poloidal_coefficients_error_lower',double([]),...
 'poloidal_coefficients_error_upper',double([]),...
-'poloidal_error_index',double(-999999999),...
+'poloidal_error_index',int32(-999999999),...
 'poloidal_error_lower',double([]),...
 'poloidal_error_upper',double([]),...
 'radial',double([]),...
 'radial_coefficients',double([]),...
-'radial_coefficients_error_index',double(-999999999),...
+'radial_coefficients_error_index',int32(-999999999),...
 'radial_coefficients_error_lower',double([]),...
 'radial_coefficients_error_upper',double([]),...
-'radial_error_index',double(-999999999),...
+'radial_error_index',int32(-999999999),...
 'radial_error_lower',double([]),...
 'radial_error_upper',double([]),...
 'toroidal',double([]),...
 'toroidal_coefficients',double([]),...
-'toroidal_coefficients_error_index',double(-999999999),...
+'toroidal_coefficients_error_index',int32(-999999999),...
 'toroidal_coefficients_error_lower',double([]),...
 'toroidal_coefficients_error_upper',double([]),...
-'toroidal_error_index',double(-999999999),...
+'toroidal_error_index',int32(-999999999),...
 'toroidal_error_lower',double([]),...
 'toroidal_error_upper',double([]))
 ;}},...
 'velocity_exb',{{struct(...
 'diamagnetic',double([]),...
 'diamagnetic_coefficients',double([]),...
-'diamagnetic_coefficients_error_index',double(-999999999),...
+'diamagnetic_coefficients_error_index',int32(-999999999),...
 'diamagnetic_coefficients_error_lower',double([]),...
 'diamagnetic_coefficients_error_upper',double([]),...
-'diamagnetic_error_index',double(-999999999),...
+'diamagnetic_error_index',int32(-999999999),...
 'diamagnetic_error_lower',double([]),...
 'diamagnetic_error_upper',double([]),...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
 'parallel',double([]),...
 'parallel_coefficients',double([]),...
-'parallel_coefficients_error_index',double(-999999999),...
+'parallel_coefficients_error_index',int32(-999999999),...
 'parallel_coefficients_error_lower',double([]),...
 'parallel_coefficients_error_upper',double([]),...
-'parallel_error_index',double(-999999999),...
+'parallel_error_index',int32(-999999999),...
 'parallel_error_lower',double([]),...
 'parallel_error_upper',double([]),...
 'poloidal',double([]),...
 'poloidal_coefficients',double([]),...
-'poloidal_coefficients_error_index',double(-999999999),...
+'poloidal_coefficients_error_index',int32(-999999999),...
 'poloidal_coefficients_error_lower',double([]),...
 'poloidal_coefficients_error_upper',double([]),...
-'poloidal_error_index',double(-999999999),...
+'poloidal_error_index',int32(-999999999),...
 'poloidal_error_lower',double([]),...
 'poloidal_error_upper',double([]),...
 'radial',double([]),...
 'radial_coefficients',double([]),...
-'radial_coefficients_error_index',double(-999999999),...
+'radial_coefficients_error_index',int32(-999999999),...
 'radial_coefficients_error_lower',double([]),...
 'radial_coefficients_error_upper',double([]),...
-'radial_error_index',double(-999999999),...
+'radial_error_index',int32(-999999999),...
 'radial_error_lower',double([]),...
 'radial_error_upper',double([]),...
 'toroidal',double([]),...
 'toroidal_coefficients',double([]),...
-'toroidal_coefficients_error_index',double(-999999999),...
+'toroidal_coefficients_error_index',int32(-999999999),...
 'toroidal_coefficients_error_lower',double([]),...
 'toroidal_coefficients_error_upper',double([]),...
-'toroidal_error_index',double(-999999999),...
+'toroidal_error_index',int32(-999999999),...
 'toroidal_error_lower',double([]),...
 'toroidal_error_upper',double([]))
 ;}},...
-'vibrational_level',double(-9.0000000000000006360851714687e+40),...
-'vibrational_level_error_index',double(-999999999),...
-'vibrational_level_error_lower',double(-9.0000000000000006360851714687e+40),...
-'vibrational_level_error_upper',double(-9.0000000000000006360851714687e+40),...
-'vibrational_mode',double([]))
+'vibrational_level',double(-9e+40),...
+'vibrational_level_error_index',int32(-999999999),...
+'vibrational_level_error_lower',double(-9e+40),...
+'vibrational_level_error_upper',double(-9e+40),...
+'vibrational_mode','')
 ;}},...
 'temperature',{{struct(...
 'coefficients',double([]),...
-'coefficients_error_index',double(-999999999),...
+'coefficients_error_index',int32(-999999999),...
 'coefficients_error_lower',double([]),...
 'coefficients_error_upper',double([]),...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
 'values',double([]),...
-'values_error_index',double(-999999999),...
+'values_error_index',int32(-999999999),...
 'values_error_lower',double([]),...
 'values_error_upper',double([]))
 ;}},...
 'velocity',{{struct(...
 'diamagnetic',double([]),...
 'diamagnetic_coefficients',double([]),...
-'diamagnetic_coefficients_error_index',double(-999999999),...
+'diamagnetic_coefficients_error_index',int32(-999999999),...
 'diamagnetic_coefficients_error_lower',double([]),...
 'diamagnetic_coefficients_error_upper',double([]),...
-'diamagnetic_error_index',double(-999999999),...
+'diamagnetic_error_index',int32(-999999999),...
 'diamagnetic_error_lower',double([]),...
 'diamagnetic_error_upper',double([]),...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
 'parallel',double([]),...
 'parallel_coefficients',double([]),...
-'parallel_coefficients_error_index',double(-999999999),...
+'parallel_coefficients_error_index',int32(-999999999),...
 'parallel_coefficients_error_lower',double([]),...
 'parallel_coefficients_error_upper',double([]),...
-'parallel_error_index',double(-999999999),...
+'parallel_error_index',int32(-999999999),...
 'parallel_error_lower',double([]),...
 'parallel_error_upper',double([]),...
 'poloidal',double([]),...
 'poloidal_coefficients',double([]),...
-'poloidal_coefficients_error_index',double(-999999999),...
+'poloidal_coefficients_error_index',int32(-999999999),...
 'poloidal_coefficients_error_lower',double([]),...
 'poloidal_coefficients_error_upper',double([]),...
-'poloidal_error_index',double(-999999999),...
+'poloidal_error_index',int32(-999999999),...
 'poloidal_error_lower',double([]),...
 'poloidal_error_upper',double([]),...
 'radial',double([]),...
 'radial_coefficients',double([]),...
-'radial_coefficients_error_index',double(-999999999),...
+'radial_coefficients_error_index',int32(-999999999),...
 'radial_coefficients_error_lower',double([]),...
 'radial_coefficients_error_upper',double([]),...
-'radial_error_index',double(-999999999),...
+'radial_error_index',int32(-999999999),...
 'radial_error_lower',double([]),...
 'radial_error_upper',double([]),...
 'toroidal',double([]),...
 'toroidal_coefficients',double([]),...
-'toroidal_coefficients_error_index',double(-999999999),...
+'toroidal_coefficients_error_index',int32(-999999999),...
 'toroidal_coefficients_error_lower',double([]),...
 'toroidal_coefficients_error_upper',double([]),...
-'toroidal_error_index',double(-999999999),...
+'toroidal_error_index',int32(-999999999),...
 'toroidal_error_lower',double([]),...
 'toroidal_error_upper',double([]))
 ;}})
 ;}},...
 'phi_potential',{{struct(...
 'coefficients',double([]),...
-'coefficients_error_index',double(-999999999),...
+'coefficients_error_index',int32(-999999999),...
 'coefficients_error_lower',double([]),...
 'coefficients_error_upper',double([]),...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
 'values',double([]),...
-'values_error_index',double(-999999999),...
+'values_error_index',int32(-999999999),...
 'values_error_lower',double([]),...
 'values_error_upper',double([]))
 ;}},...
 'pressure_parallel',{{struct(...
 'coefficients',double([]),...
-'coefficients_error_index',double(-999999999),...
+'coefficients_error_index',int32(-999999999),...
 'coefficients_error_lower',double([]),...
 'coefficients_error_upper',double([]),...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
 'values',double([]),...
-'values_error_index',double(-999999999),...
+'values_error_index',int32(-999999999),...
 'values_error_lower',double([]),...
 'values_error_upper',double([]))
 ;}},...
 'pressure_perpendicular',{{struct(...
 'coefficients',double([]),...
-'coefficients_error_index',double(-999999999),...
+'coefficients_error_index',int32(-999999999),...
 'coefficients_error_lower',double([]),...
 'coefficients_error_upper',double([]),...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
 'values',double([]),...
-'values_error_index',double(-999999999),...
+'values_error_index',int32(-999999999),...
 'values_error_lower',double([]),...
 'values_error_upper',double([]))
 ;}},...
 'pressure_thermal',{{struct(...
 'coefficients',double([]),...
-'coefficients_error_index',double(-999999999),...
+'coefficients_error_index',int32(-999999999),...
 'coefficients_error_lower',double([]),...
 'coefficients_error_upper',double([]),...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
 'values',double([]),...
-'values_error_index',double(-999999999),...
+'values_error_index',int32(-999999999),...
 'values_error_lower',double([]),...
 'values_error_upper',double([]))
 ;}},...
 't_i_average',{{struct(...
 'coefficients',double([]),...
-'coefficients_error_index',double(-999999999),...
+'coefficients_error_index',int32(-999999999),...
 'coefficients_error_lower',double([]),...
 'coefficients_error_upper',double([]),...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
 'values',double([]),...
-'values_error_index',double(-999999999),...
+'values_error_index',int32(-999999999),...
 'values_error_lower',double([]),...
 'values_error_upper',double([]))
 ;}},...
-'time',double(-9.0000000000000006360851714687e+40),...
+'time',double(-9e+40),...
 'zeff',{{struct(...
 'coefficients',double([]),...
-'coefficients_error_index',double(-999999999),...
+'coefficients_error_index',int32(-999999999),...
 'coefficients_error_lower',double([]),...
 'coefficients_error_upper',double([]),...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
 'values',double([]),...
-'values_error_index',double(-999999999),...
+'values_error_index',int32(-999999999),...
 'values_error_lower',double([]),...
 'values_error_upper',double([]))
 ;}})
@@ -1449,904 +1449,992 @@ struct(...
 'ggd_fast',{{struct(...
 'electrons',struct(...
 'density',{{struct(...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
-'value',double(-9.0000000000000006360851714687e+40),...
-'value_error_index',double(-999999999),...
-'value_error_lower',double(-9.0000000000000006360851714687e+40),...
-'value_error_upper',double(-9.0000000000000006360851714687e+40))
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
+'value',double(-9e+40),...
+'value_error_index',int32(-999999999),...
+'value_error_lower',double(-9e+40),...
+'value_error_upper',double(-9e+40))
 ;}},...
 'temperature',{{struct(...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
-'value',double(-9.0000000000000006360851714687e+40),...
-'value_error_index',double(-999999999),...
-'value_error_lower',double(-9.0000000000000006360851714687e+40),...
-'value_error_upper',double(-9.0000000000000006360851714687e+40))
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
+'value',double(-9e+40),...
+'value_error_index',int32(-999999999),...
+'value_error_lower',double(-9e+40),...
+'value_error_upper',double(-9e+40))
 ;}}),...
 'energy_thermal',{{struct(...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
-'value',double(-9.0000000000000006360851714687e+40),...
-'value_error_index',double(-999999999),...
-'value_error_lower',double(-9.0000000000000006360851714687e+40),...
-'value_error_upper',double(-9.0000000000000006360851714687e+40))
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
+'value',double(-9e+40),...
+'value_error_index',int32(-999999999),...
+'value_error_lower',double(-9e+40),...
+'value_error_upper',double(-9e+40))
 ;}},...
 'ion',{{struct(...
 'content',{{struct(...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
-'value',double(-9.0000000000000006360851714687e+40),...
-'value_error_index',double(-999999999),...
-'value_error_lower',double(-9.0000000000000006360851714687e+40),...
-'value_error_upper',double(-9.0000000000000006360851714687e+40))
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
+'value',double(-9e+40),...
+'value_error_index',int32(-999999999),...
+'value_error_lower',double(-9e+40),...
+'value_error_upper',double(-9e+40))
 ;}},...
 'density',{{struct(...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
-'value',double(-9.0000000000000006360851714687e+40),...
-'value_error_index',double(-999999999),...
-'value_error_lower',double(-9.0000000000000006360851714687e+40),...
-'value_error_upper',double(-9.0000000000000006360851714687e+40))
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
+'value',double(-9e+40),...
+'value_error_index',int32(-999999999),...
+'value_error_lower',double(-9e+40),...
+'value_error_upper',double(-9e+40))
 ;}},...
 'element',{{struct(...
-'a',double(-9.0000000000000006360851714687e+40),...
-'a_error_index',double(-999999999),...
-'a_error_lower',double(-9.0000000000000006360851714687e+40),...
-'a_error_upper',double(-9.0000000000000006360851714687e+40),...
-'atoms_n',double(-999999999),...
-'multiplicity',double(-9.0000000000000006360851714687e+40),...
-'multiplicity_error_index',double(-999999999),...
-'multiplicity_error_lower',double(-9.0000000000000006360851714687e+40),...
-'multiplicity_error_upper',double(-9.0000000000000006360851714687e+40),...
-'z_n',double(-9.0000000000000006360851714687e+40),...
-'z_n_error_index',double(-999999999),...
-'z_n_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_n_error_upper',double(-9.0000000000000006360851714687e+40))
-;}},...
-'label',double([]),...
-'neutral_index',double(-999999999),...
+'a',double(-9e+40),...
+'a_error_index',int32(-999999999),...
+'a_error_lower',double(-9e+40),...
+'a_error_upper',double(-9e+40),...
+'atoms_n',int32(-999999999),...
+'multiplicity',double(-9e+40),...
+'multiplicity_error_index',int32(-999999999),...
+'multiplicity_error_lower',double(-9e+40),...
+'multiplicity_error_upper',double(-9e+40),...
+'z_n',double(-9e+40),...
+'z_n_error_index',int32(-999999999),...
+'z_n_error_lower',double(-9e+40),...
+'z_n_error_upper',double(-9e+40))
+;}},...
+'label','',...
+'neutral_index',int32(-999999999),...
 'temperature',{{struct(...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
-'value',double(-9.0000000000000006360851714687e+40),...
-'value_error_index',double(-999999999),...
-'value_error_lower',double(-9.0000000000000006360851714687e+40),...
-'value_error_upper',double(-9.0000000000000006360851714687e+40))
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
+'value',double(-9e+40),...
+'value_error_index',int32(-999999999),...
+'value_error_lower',double(-9e+40),...
+'value_error_upper',double(-9e+40))
 ;}},...
-'z_ion',double(-9.0000000000000006360851714687e+40),...
-'z_ion_error_index',double(-999999999),...
-'z_ion_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_ion_error_upper',double(-9.0000000000000006360851714687e+40))
+'z_ion',double(-9e+40),...
+'z_ion_error_index',int32(-999999999),...
+'z_ion_error_lower',double(-9e+40),...
+'z_ion_error_upper',double(-9e+40))
 ;}},...
-'time',double(-9.0000000000000006360851714687e+40))
+'time',double(-9e+40))
 ;}},...
 'grid_ggd',{{struct(...
 'grid_subset',{{struct(...
 'base',{{struct(...
 'jacobian',double([]),...
-'jacobian_error_index',double(-999999999),...
+'jacobian_error_index',int32(-999999999),...
 'jacobian_error_lower',double([]),...
 'jacobian_error_upper',double([]),...
 'tensor_contravariant',double([]),...
-'tensor_contravariant_error_index',double(-999999999),...
+'tensor_contravariant_error_index',int32(-999999999),...
 'tensor_contravariant_error_lower',double([]),...
 'tensor_contravariant_error_upper',double([]),...
 'tensor_covariant',double([]),...
-'tensor_covariant_error_index',double(-999999999),...
+'tensor_covariant_error_index',int32(-999999999),...
 'tensor_covariant_error_lower',double([]),...
 'tensor_covariant_error_upper',double([]))
 ;}},...
-'dimension',double(-999999999),...
+'dimension',int32(-999999999),...
 'element',{{struct(...
 'object',{{struct(...
-'dimension',double(-999999999),...
-'index',double(-999999999),...
-'space',double(-999999999))
+'dimension',int32(-999999999),...
+'index',int32(-999999999),...
+'space',int32(-999999999))
 ;}})
 ;}},...
 'identifier',struct(...
-'description',double([]),...
-'index',double(-999999999),...
-'name',double([])),...
+'description','',...
+'index',int32(-999999999),...
+'name',''),...
 'metric',struct(...
 'jacobian',double([]),...
-'jacobian_error_index',double(-999999999),...
+'jacobian_error_index',int32(-999999999),...
 'jacobian_error_lower',double([]),...
 'jacobian_error_upper',double([]),...
 'tensor_contravariant',double([]),...
-'tensor_contravariant_error_index',double(-999999999),...
+'tensor_contravariant_error_index',int32(-999999999),...
 'tensor_contravariant_error_lower',double([]),...
 'tensor_contravariant_error_upper',double([]),...
 'tensor_covariant',double([]),...
-'tensor_covariant_error_index',double(-999999999),...
+'tensor_covariant_error_index',int32(-999999999),...
 'tensor_covariant_error_lower',double([]),...
 'tensor_covariant_error_upper',double([])))
 ;}},...
 'identifier',struct(...
-'description',double([]),...
-'index',double(-999999999),...
-'name',double([])),...
+'description','',...
+'index',int32(-999999999),...
+'name',''),...
 'space',{{struct(...
-'coordinates_type',double([]),...
+'coordinates_type',int32([]),...
 'geometry_type',struct(...
-'description',double([]),...
-'index',double(-999999999),...
-'name',double([])),...
+'description','',...
+'index',int32(-999999999),...
+'name',''),...
 'identifier',struct(...
-'description',double([]),...
-'index',double(-999999999),...
-'name',double([])),...
+'description','',...
+'index',int32(-999999999),...
+'name',''),...
 'objects_per_dimension',{{struct(...
 'object',{{struct(...
 'boundary',{{struct(...
-'index',double(-999999999),...
-'neighbours',double([]))
+'index',int32(-999999999),...
+'neighbours',int32([]))
 ;}},...
 'geometry',double([]),...
-'geometry_error_index',double(-999999999),...
+'geometry_error_index',int32(-999999999),...
 'geometry_error_lower',double([]),...
 'geometry_error_upper',double([]),...
-'measure',double(-9.0000000000000006360851714687e+40),...
-'measure_error_index',double(-999999999),...
-'measure_error_lower',double(-9.0000000000000006360851714687e+40),...
-'measure_error_upper',double(-9.0000000000000006360851714687e+40),...
-'nodes',double([]))
+'measure',double(-9e+40),...
+'measure_error_index',int32(-999999999),...
+'measure_error_lower',double(-9e+40),...
+'measure_error_upper',double(-9e+40),...
+'nodes',int32([]))
 ;}})
 ;}})
 ;}},...
-'time',double(-9.0000000000000006360851714687e+40))
+'time',double(-9e+40))
 ;}},...
 'ids_properties',struct(...
-'comment',double([]),...
-'creation_date',double([]),...
-'homogeneous_time',double(-999999999),...
-'provider',double([]),...
-'source',double([])),...
+'comment','',...
+'creation_date','',...
+'homogeneous_time',int32(-999999999),...
+'provider','',...
+'source','',...
+'version_put',struct(...
+'access_layer','',...
+'access_layer_language','',...
+'data_dictionary','')),...
 'profiles_1d',{{struct(...
 'conductivity_parallel',double([]),...
-'conductivity_parallel_error_index',double(-999999999),...
+'conductivity_parallel_error_index',int32(-999999999),...
 'conductivity_parallel_error_lower',double([]),...
 'conductivity_parallel_error_upper',double([]),...
 'current_parallel_inside',double([]),...
-'current_parallel_inside_error_index',double(-999999999),...
+'current_parallel_inside_error_index',int32(-999999999),...
 'current_parallel_inside_error_lower',double([]),...
 'current_parallel_inside_error_upper',double([]),...
 'e_field',struct(...
 'diamagnetic',double([]),...
-'diamagnetic_error_index',double(-999999999),...
+'diamagnetic_error_index',int32(-999999999),...
 'diamagnetic_error_lower',double([]),...
 'diamagnetic_error_upper',double([]),...
 'parallel',double([]),...
-'parallel_error_index',double(-999999999),...
+'parallel_error_index',int32(-999999999),...
 'parallel_error_lower',double([]),...
 'parallel_error_upper',double([]),...
 'poloidal',double([]),...
-'poloidal_error_index',double(-999999999),...
+'poloidal_error_index',int32(-999999999),...
 'poloidal_error_lower',double([]),...
 'poloidal_error_upper',double([]),...
 'radial',double([]),...
-'radial_error_index',double(-999999999),...
+'radial_error_index',int32(-999999999),...
 'radial_error_lower',double([]),...
 'radial_error_upper',double([]),...
 'toroidal',double([]),...
-'toroidal_error_index',double(-999999999),...
+'toroidal_error_index',int32(-999999999),...
 'toroidal_error_lower',double([]),...
 'toroidal_error_upper',double([])),...
 'e_field_parallel',double([]),...
-'e_field_parallel_error_index',double(-999999999),...
+'e_field_parallel_error_index',int32(-999999999),...
 'e_field_parallel_error_lower',double([]),...
 'e_field_parallel_error_upper',double([]),...
 'electrons',struct(...
 'collisionality_norm',double([]),...
-'collisionality_norm_error_index',double(-999999999),...
+'collisionality_norm_error_index',int32(-999999999),...
 'collisionality_norm_error_lower',double([]),...
 'collisionality_norm_error_upper',double([]),...
 'density',double([]),...
-'density_error_index',double(-999999999),...
+'density_error_index',int32(-999999999),...
 'density_error_lower',double([]),...
 'density_error_upper',double([]),...
 'density_fast',double([]),...
-'density_fast_error_index',double(-999999999),...
+'density_fast_error_index',int32(-999999999),...
 'density_fast_error_lower',double([]),...
 'density_fast_error_upper',double([]),...
 'density_fit',struct(...
 'chi_squared',double([]),...
-'chi_squared_error_index',double(-999999999),...
+'chi_squared_error_index',int32(-999999999),...
 'chi_squared_error_lower',double([]),...
 'chi_squared_error_upper',double([]),...
-'local',double([]),...
+'local',int32([]),...
 'measured',double([]),...
-'measured_error_index',double(-999999999),...
+'measured_error_index',int32(-999999999),...
 'measured_error_lower',double([]),...
 'measured_error_upper',double([]),...
-'parameters',double([]),...
+'parameters','',...
 'reconstructed',double([]),...
-'reconstructed_error_index',double(-999999999),...
+'reconstructed_error_index',int32(-999999999),...
 'reconstructed_error_lower',double([]),...
 'reconstructed_error_upper',double([]),...
+'rho_pol_norm',double([]),...
+'rho_pol_norm_error_index',int32(-999999999),...
+'rho_pol_norm_error_lower',double([]),...
+'rho_pol_norm_error_upper',double([]),...
 'rho_tor_norm',double([]),...
-'rho_tor_norm_error_index',double(-999999999),...
+'rho_tor_norm_error_index',int32(-999999999),...
 'rho_tor_norm_error_lower',double([]),...
 'rho_tor_norm_error_upper',double([]),...
-'source',{{double([]);}},...
+'source',{{}},...
 'time_measurement',double([]),...
-'time_measurement_error_index',double(-999999999),...
+'time_measurement_error_index',int32(-999999999),...
 'time_measurement_error_lower',double([]),...
 'time_measurement_error_upper',double([]),...
 'time_measurement_slice_method',struct(...
-'description',double([]),...
-'index',double(-999999999),...
-'name',double([])),...
+'description','',...
+'index',int32(-999999999),...
+'name',''),...
 'time_measurement_width',double([]),...
-'time_measurement_width_error_index',double(-999999999),...
+'time_measurement_width_error_index',int32(-999999999),...
 'time_measurement_width_error_lower',double([]),...
 'time_measurement_width_error_upper',double([]),...
 'weight',double([]),...
-'weight_error_index',double(-999999999),...
+'weight_error_index',int32(-999999999),...
 'weight_error_lower',double([]),...
 'weight_error_upper',double([])),...
 'density_thermal',double([]),...
-'density_thermal_error_index',double(-999999999),...
+'density_thermal_error_index',int32(-999999999),...
 'density_thermal_error_lower',double([]),...
 'density_thermal_error_upper',double([]),...
-'density_validity',double(-999999999),...
+'density_validity',int32(-999999999),...
 'pressure',double([]),...
-'pressure_error_index',double(-999999999),...
+'pressure_error_index',int32(-999999999),...
 'pressure_error_lower',double([]),...
 'pressure_error_upper',double([]),...
 'pressure_fast_parallel',double([]),...
-'pressure_fast_parallel_error_index',double(-999999999),...
+'pressure_fast_parallel_error_index',int32(-999999999),...
 'pressure_fast_parallel_error_lower',double([]),...
 'pressure_fast_parallel_error_upper',double([]),...
 'pressure_fast_perpendicular',double([]),...
-'pressure_fast_perpendicular_error_index',double(-999999999),...
+'pressure_fast_perpendicular_error_index',int32(-999999999),...
 'pressure_fast_perpendicular_error_lower',double([]),...
 'pressure_fast_perpendicular_error_upper',double([]),...
 'pressure_thermal',double([]),...
-'pressure_thermal_error_index',double(-999999999),...
+'pressure_thermal_error_index',int32(-999999999),...
 'pressure_thermal_error_lower',double([]),...
 'pressure_thermal_error_upper',double([]),...
 'temperature',double([]),...
-'temperature_error_index',double(-999999999),...
+'temperature_error_index',int32(-999999999),...
 'temperature_error_lower',double([]),...
 'temperature_error_upper',double([]),...
 'temperature_fit',struct(...
 'chi_squared',double([]),...
-'chi_squared_error_index',double(-999999999),...
+'chi_squared_error_index',int32(-999999999),...
 'chi_squared_error_lower',double([]),...
 'chi_squared_error_upper',double([]),...
-'local',double([]),...
+'local',int32([]),...
 'measured',double([]),...
-'measured_error_index',double(-999999999),...
+'measured_error_index',int32(-999999999),...
 'measured_error_lower',double([]),...
 'measured_error_upper',double([]),...
-'parameters',double([]),...
+'parameters','',...
 'reconstructed',double([]),...
-'reconstructed_error_index',double(-999999999),...
+'reconstructed_error_index',int32(-999999999),...
 'reconstructed_error_lower',double([]),...
 'reconstructed_error_upper',double([]),...
+'rho_pol_norm',double([]),...
+'rho_pol_norm_error_index',int32(-999999999),...
+'rho_pol_norm_error_lower',double([]),...
+'rho_pol_norm_error_upper',double([]),...
 'rho_tor_norm',double([]),...
-'rho_tor_norm_error_index',double(-999999999),...
+'rho_tor_norm_error_index',int32(-999999999),...
 'rho_tor_norm_error_lower',double([]),...
 'rho_tor_norm_error_upper',double([]),...
-'source',{{double([]);}},...
+'source',{{}},...
 'time_measurement',double([]),...
-'time_measurement_error_index',double(-999999999),...
+'time_measurement_error_index',int32(-999999999),...
 'time_measurement_error_lower',double([]),...
 'time_measurement_error_upper',double([]),...
 'time_measurement_slice_method',struct(...
-'description',double([]),...
-'index',double(-999999999),...
-'name',double([])),...
+'description','',...
+'index',int32(-999999999),...
+'name',''),...
 'time_measurement_width',double([]),...
-'time_measurement_width_error_index',double(-999999999),...
+'time_measurement_width_error_index',int32(-999999999),...
 'time_measurement_width_error_lower',double([]),...
 'time_measurement_width_error_upper',double([]),...
 'weight',double([]),...
-'weight_error_index',double(-999999999),...
+'weight_error_index',int32(-999999999),...
 'weight_error_lower',double([]),...
 'weight_error_upper',double([])),...
-'temperature_validity',double(-999999999),...
+'temperature_validity',int32(-999999999),...
 'velocity',struct(...
 'diamagnetic',double([]),...
-'diamagnetic_error_index',double(-999999999),...
+'diamagnetic_error_index',int32(-999999999),...
 'diamagnetic_error_lower',double([]),...
 'diamagnetic_error_upper',double([]),...
 'parallel',double([]),...
-'parallel_error_index',double(-999999999),...
+'parallel_error_index',int32(-999999999),...
 'parallel_error_lower',double([]),...
 'parallel_error_upper',double([]),...
 'poloidal',double([]),...
-'poloidal_error_index',double(-999999999),...
+'poloidal_error_index',int32(-999999999),...
 'poloidal_error_lower',double([]),...
 'poloidal_error_upper',double([]),...
 'radial',double([]),...
-'radial_error_index',double(-999999999),...
+'radial_error_index',int32(-999999999),...
 'radial_error_lower',double([]),...
 'radial_error_upper',double([]),...
 'toroidal',double([]),...
-'toroidal_error_index',double(-999999999),...
+'toroidal_error_index',int32(-999999999),...
 'toroidal_error_lower',double([]),...
 'toroidal_error_upper',double([])),...
 'velocity_pol',double([]),...
-'velocity_pol_error_index',double(-999999999),...
+'velocity_pol_error_index',int32(-999999999),...
 'velocity_pol_error_lower',double([]),...
 'velocity_pol_error_upper',double([]),...
 'velocity_tor',double([]),...
-'velocity_tor_error_index',double(-999999999),...
+'velocity_tor_error_index',int32(-999999999),...
 'velocity_tor_error_lower',double([]),...
 'velocity_tor_error_upper',double([])),...
 'grid',struct(...
 'area',double([]),...
-'area_error_index',double(-999999999),...
+'area_error_index',int32(-999999999),...
 'area_error_lower',double([]),...
 'area_error_upper',double([]),...
 'psi',double([]),...
-'psi_error_index',double(-999999999),...
+'psi_boundary',double(-9e+40),...
+'psi_boundary_error_index',int32(-999999999),...
+'psi_boundary_error_lower',double(-9e+40),...
+'psi_boundary_error_upper',double(-9e+40),...
+'psi_error_index',int32(-999999999),...
 'psi_error_lower',double([]),...
 'psi_error_upper',double([]),...
+'psi_magnetic_axis',double(-9e+40),...
+'psi_magnetic_axis_error_index',int32(-999999999),...
+'psi_magnetic_axis_error_lower',double(-9e+40),...
+'psi_magnetic_axis_error_upper',double(-9e+40),...
+'rho_pol_norm',double([]),...
+'rho_pol_norm_error_index',int32(-999999999),...
+'rho_pol_norm_error_lower',double([]),...
+'rho_pol_norm_error_upper',double([]),...
 'rho_tor',double([]),...
-'rho_tor_error_index',double(-999999999),...
+'rho_tor_error_index',int32(-999999999),...
 'rho_tor_error_lower',double([]),...
 'rho_tor_error_upper',double([]),...
 'rho_tor_norm',double([]),...
-'rho_tor_norm_error_index',double(-999999999),...
+'rho_tor_norm_error_index',int32(-999999999),...
 'rho_tor_norm_error_lower',double([]),...
 'rho_tor_norm_error_upper',double([]),...
 'volume',double([]),...
-'volume_error_index',double(-999999999),...
+'volume_error_index',int32(-999999999),...
 'volume_error_lower',double([]),...
 'volume_error_upper',double([])),...
 'ion',{{struct(...
 'density',double([]),...
-'density_error_index',double(-999999999),...
+'density_error_index',int32(-999999999),...
 'density_error_lower',double([]),...
 'density_error_upper',double([]),...
 'density_fast',double([]),...
-'density_fast_error_index',double(-999999999),...
+'density_fast_error_index',int32(-999999999),...
 'density_fast_error_lower',double([]),...
 'density_fast_error_upper',double([]),...
 'density_fit',struct(...
 'chi_squared',double([]),...
-'chi_squared_error_index',double(-999999999),...
+'chi_squared_error_index',int32(-999999999),...
 'chi_squared_error_lower',double([]),...
 'chi_squared_error_upper',double([]),...
-'local',double([]),...
+'local',int32([]),...
 'measured',double([]),...
-'measured_error_index',double(-999999999),...
+'measured_error_index',int32(-999999999),...
 'measured_error_lower',double([]),...
 'measured_error_upper',double([]),...
-'parameters',double([]),...
+'parameters','',...
 'reconstructed',double([]),...
-'reconstructed_error_index',double(-999999999),...
+'reconstructed_error_index',int32(-999999999),...
 'reconstructed_error_lower',double([]),...
 'reconstructed_error_upper',double([]),...
+'rho_pol_norm',double([]),...
+'rho_pol_norm_error_index',int32(-999999999),...
+'rho_pol_norm_error_lower',double([]),...
+'rho_pol_norm_error_upper',double([]),...
 'rho_tor_norm',double([]),...
-'rho_tor_norm_error_index',double(-999999999),...
+'rho_tor_norm_error_index',int32(-999999999),...
 'rho_tor_norm_error_lower',double([]),...
 'rho_tor_norm_error_upper',double([]),...
-'source',{{double([]);}},...
+'source',{{}},...
 'time_measurement',double([]),...
-'time_measurement_error_index',double(-999999999),...
+'time_measurement_error_index',int32(-999999999),...
 'time_measurement_error_lower',double([]),...
 'time_measurement_error_upper',double([]),...
 'time_measurement_slice_method',struct(...
-'description',double([]),...
-'index',double(-999999999),...
-'name',double([])),...
+'description','',...
+'index',int32(-999999999),...
+'name',''),...
 'time_measurement_width',double([]),...
-'time_measurement_width_error_index',double(-999999999),...
+'time_measurement_width_error_index',int32(-999999999),...
 'time_measurement_width_error_lower',double([]),...
 'time_measurement_width_error_upper',double([]),...
 'weight',double([]),...
-'weight_error_index',double(-999999999),...
+'weight_error_index',int32(-999999999),...
 'weight_error_lower',double([]),...
 'weight_error_upper',double([])),...
 'density_thermal',double([]),...
-'density_thermal_error_index',double(-999999999),...
+'density_thermal_error_index',int32(-999999999),...
 'density_thermal_error_lower',double([]),...
 'density_thermal_error_upper',double([]),...
-'density_validity',double(-999999999),...
+'density_validity',int32(-999999999),...
 'element',{{struct(...
-'a',double(-9.0000000000000006360851714687e+40),...
-'a_error_index',double(-999999999),...
-'a_error_lower',double(-9.0000000000000006360851714687e+40),...
-'a_error_upper',double(-9.0000000000000006360851714687e+40),...
-'atoms_n',double(-999999999),...
-'multiplicity',double(-9.0000000000000006360851714687e+40),...
-'multiplicity_error_index',double(-999999999),...
-'multiplicity_error_lower',double(-9.0000000000000006360851714687e+40),...
-'multiplicity_error_upper',double(-9.0000000000000006360851714687e+40),...
-'z_n',double(-9.0000000000000006360851714687e+40),...
-'z_n_error_index',double(-999999999),...
-'z_n_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_n_error_upper',double(-9.0000000000000006360851714687e+40))
-;}},...
-'label',double([]),...
-'multiple_states_flag',double(-999999999),...
-'neutral_index',double(-999999999),...
+'a',double(-9e+40),...
+'a_error_index',int32(-999999999),...
+'a_error_lower',double(-9e+40),...
+'a_error_upper',double(-9e+40),...
+'atoms_n',int32(-999999999),...
+'multiplicity',double(-9e+40),...
+'multiplicity_error_index',int32(-999999999),...
+'multiplicity_error_lower',double(-9e+40),...
+'multiplicity_error_upper',double(-9e+40),...
+'z_n',double(-9e+40),...
+'z_n_error_index',int32(-999999999),...
+'z_n_error_lower',double(-9e+40),...
+'z_n_error_upper',double(-9e+40))
+;}},...
+'label','',...
+'multiple_states_flag',int32(-999999999),...
+'neutral_index',int32(-999999999),...
 'pressure',double([]),...
-'pressure_error_index',double(-999999999),...
+'pressure_error_index',int32(-999999999),...
 'pressure_error_lower',double([]),...
 'pressure_error_upper',double([]),...
 'pressure_fast_parallel',double([]),...
-'pressure_fast_parallel_error_index',double(-999999999),...
+'pressure_fast_parallel_error_index',int32(-999999999),...
 'pressure_fast_parallel_error_lower',double([]),...
 'pressure_fast_parallel_error_upper',double([]),...
 'pressure_fast_perpendicular',double([]),...
-'pressure_fast_perpendicular_error_index',double(-999999999),...
+'pressure_fast_perpendicular_error_index',int32(-999999999),...
 'pressure_fast_perpendicular_error_lower',double([]),...
 'pressure_fast_perpendicular_error_upper',double([]),...
 'pressure_thermal',double([]),...
-'pressure_thermal_error_index',double(-999999999),...
+'pressure_thermal_error_index',int32(-999999999),...
 'pressure_thermal_error_lower',double([]),...
 'pressure_thermal_error_upper',double([]),...
 'rotation_frequency_tor',double([]),...
-'rotation_frequency_tor_error_index',double(-999999999),...
+'rotation_frequency_tor_error_index',int32(-999999999),...
 'rotation_frequency_tor_error_lower',double([]),...
 'rotation_frequency_tor_error_upper',double([]),...
 'state',{{struct(...
 'density',double([]),...
-'density_error_index',double(-999999999),...
+'density_error_index',int32(-999999999),...
 'density_error_lower',double([]),...
 'density_error_upper',double([]),...
 'density_fast',double([]),...
-'density_fast_error_index',double(-999999999),...
+'density_fast_error_index',int32(-999999999),...
 'density_fast_error_lower',double([]),...
 'density_fast_error_upper',double([]),...
 'density_fit',struct(...
 'chi_squared',double([]),...
-'chi_squared_error_index',double(-999999999),...
+'chi_squared_error_index',int32(-999999999),...
 'chi_squared_error_lower',double([]),...
 'chi_squared_error_upper',double([]),...
-'local',double([]),...
+'local',int32([]),...
 'measured',double([]),...
-'measured_error_index',double(-999999999),...
+'measured_error_index',int32(-999999999),...
 'measured_error_lower',double([]),...
 'measured_error_upper',double([]),...
-'parameters',double([]),...
+'parameters','',...
 'reconstructed',double([]),...
-'reconstructed_error_index',double(-999999999),...
+'reconstructed_error_index',int32(-999999999),...
 'reconstructed_error_lower',double([]),...
 'reconstructed_error_upper',double([]),...
+'rho_pol_norm',double([]),...
+'rho_pol_norm_error_index',int32(-999999999),...
+'rho_pol_norm_error_lower',double([]),...
+'rho_pol_norm_error_upper',double([]),...
 'rho_tor_norm',double([]),...
-'rho_tor_norm_error_index',double(-999999999),...
+'rho_tor_norm_error_index',int32(-999999999),...
 'rho_tor_norm_error_lower',double([]),...
 'rho_tor_norm_error_upper',double([]),...
-'source',{{double([]);}},...
+'source',{{}},...
 'time_measurement',double([]),...
-'time_measurement_error_index',double(-999999999),...
+'time_measurement_error_index',int32(-999999999),...
 'time_measurement_error_lower',double([]),...
 'time_measurement_error_upper',double([]),...
 'time_measurement_slice_method',struct(...
-'description',double([]),...
-'index',double(-999999999),...
-'name',double([])),...
+'description','',...
+'index',int32(-999999999),...
+'name',''),...
 'time_measurement_width',double([]),...
-'time_measurement_width_error_index',double(-999999999),...
+'time_measurement_width_error_index',int32(-999999999),...
 'time_measurement_width_error_lower',double([]),...
 'time_measurement_width_error_upper',double([]),...
 'weight',double([]),...
-'weight_error_index',double(-999999999),...
+'weight_error_index',int32(-999999999),...
 'weight_error_lower',double([]),...
 'weight_error_upper',double([])),...
 'density_thermal',double([]),...
-'density_thermal_error_index',double(-999999999),...
+'density_thermal_error_index',int32(-999999999),...
 'density_thermal_error_lower',double([]),...
 'density_thermal_error_upper',double([]),...
-'electron_configuration',double([]),...
-'ionisation_potential',double(-9.0000000000000006360851714687e+40),...
-'ionisation_potential_error_index',double(-999999999),...
-'ionisation_potential_error_lower',double(-9.0000000000000006360851714687e+40),...
-'ionisation_potential_error_upper',double(-9.0000000000000006360851714687e+40),...
-'label',double([]),...
+'electron_configuration','',...
+'ionisation_potential',double(-9e+40),...
+'ionisation_potential_error_index',int32(-999999999),...
+'ionisation_potential_error_lower',double(-9e+40),...
+'ionisation_potential_error_upper',double(-9e+40),...
+'label','',...
 'pressure',double([]),...
-'pressure_error_index',double(-999999999),...
+'pressure_error_index',int32(-999999999),...
 'pressure_error_lower',double([]),...
 'pressure_error_upper',double([]),...
 'pressure_fast_parallel',double([]),...
-'pressure_fast_parallel_error_index',double(-999999999),...
+'pressure_fast_parallel_error_index',int32(-999999999),...
 'pressure_fast_parallel_error_lower',double([]),...
 'pressure_fast_parallel_error_upper',double([]),...
 'pressure_fast_perpendicular',double([]),...
-'pressure_fast_perpendicular_error_index',double(-999999999),...
+'pressure_fast_perpendicular_error_index',int32(-999999999),...
 'pressure_fast_perpendicular_error_lower',double([]),...
 'pressure_fast_perpendicular_error_upper',double([]),...
 'pressure_thermal',double([]),...
-'pressure_thermal_error_index',double(-999999999),...
+'pressure_thermal_error_index',int32(-999999999),...
 'pressure_thermal_error_lower',double([]),...
 'pressure_thermal_error_upper',double([]),...
 'rotation_frequency_tor',double([]),...
-'rotation_frequency_tor_error_index',double(-999999999),...
+'rotation_frequency_tor_error_index',int32(-999999999),...
 'rotation_frequency_tor_error_lower',double([]),...
 'rotation_frequency_tor_error_upper',double([]),...
 'temperature',double([]),...
-'temperature_error_index',double(-999999999),...
+'temperature_error_index',int32(-999999999),...
 'temperature_error_lower',double([]),...
 'temperature_error_upper',double([]),...
 'velocity',struct(...
 'diamagnetic',double([]),...
-'diamagnetic_error_index',double(-999999999),...
+'diamagnetic_error_index',int32(-999999999),...
 'diamagnetic_error_lower',double([]),...
 'diamagnetic_error_upper',double([]),...
 'parallel',double([]),...
-'parallel_error_index',double(-999999999),...
+'parallel_error_index',int32(-999999999),...
 'parallel_error_lower',double([]),...
 'parallel_error_upper',double([]),...
 'poloidal',double([]),...
-'poloidal_error_index',double(-999999999),...
+'poloidal_error_index',int32(-999999999),...
 'poloidal_error_lower',double([]),...
 'poloidal_error_upper',double([]),...
 'radial',double([]),...
-'radial_error_index',double(-999999999),...
+'radial_error_index',int32(-999999999),...
 'radial_error_lower',double([]),...
 'radial_error_upper',double([]),...
 'toroidal',double([]),...
-'toroidal_error_index',double(-999999999),...
+'toroidal_error_index',int32(-999999999),...
 'toroidal_error_lower',double([]),...
 'toroidal_error_upper',double([])),...
-'vibrational_level',double(-9.0000000000000006360851714687e+40),...
-'vibrational_level_error_index',double(-999999999),...
-'vibrational_level_error_lower',double(-9.0000000000000006360851714687e+40),...
-'vibrational_level_error_upper',double(-9.0000000000000006360851714687e+40),...
-'vibrational_mode',double([]),...
-'z_average',double(-9.0000000000000006360851714687e+40),...
+'vibrational_level',double(-9e+40),...
+'vibrational_level_error_index',int32(-999999999),...
+'vibrational_level_error_lower',double(-9e+40),...
+'vibrational_level_error_upper',double(-9e+40),...
+'vibrational_mode','',...
+'z_average',double(-9e+40),...
 'z_average_1d',double([]),...
-'z_average_1d_error_index',double(-999999999),...
+'z_average_1d_error_index',int32(-999999999),...
 'z_average_1d_error_lower',double([]),...
 'z_average_1d_error_upper',double([]),...
-'z_average_error_index',double(-999999999),...
-'z_average_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_average_error_upper',double(-9.0000000000000006360851714687e+40),...
+'z_average_error_index',int32(-999999999),...
+'z_average_error_lower',double(-9e+40),...
+'z_average_error_upper',double(-9e+40),...
 'z_average_square_1d',double([]),...
-'z_average_square_1d_error_index',double(-999999999),...
+'z_average_square_1d_error_index',int32(-999999999),...
 'z_average_square_1d_error_lower',double([]),...
 'z_average_square_1d_error_upper',double([]),...
-'z_max',double(-9.0000000000000006360851714687e+40),...
-'z_max_error_index',double(-999999999),...
-'z_max_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_max_error_upper',double(-9.0000000000000006360851714687e+40),...
-'z_min',double(-9.0000000000000006360851714687e+40),...
-'z_min_error_index',double(-999999999),...
-'z_min_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_min_error_upper',double(-9.0000000000000006360851714687e+40),...
-'z_square_average',double(-9.0000000000000006360851714687e+40),...
-'z_square_average_error_index',double(-999999999),...
-'z_square_average_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_square_average_error_upper',double(-9.0000000000000006360851714687e+40))
+'z_max',double(-9e+40),...
+'z_max_error_index',int32(-999999999),...
+'z_max_error_lower',double(-9e+40),...
+'z_max_error_upper',double(-9e+40),...
+'z_min',double(-9e+40),...
+'z_min_error_index',int32(-999999999),...
+'z_min_error_lower',double(-9e+40),...
+'z_min_error_upper',double(-9e+40),...
+'z_square_average',double(-9e+40),...
+'z_square_average_error_index',int32(-999999999),...
+'z_square_average_error_lower',double(-9e+40),...
+'z_square_average_error_upper',double(-9e+40))
 ;}},...
 'temperature',double([]),...
-'temperature_error_index',double(-999999999),...
+'temperature_error_index',int32(-999999999),...
 'temperature_error_lower',double([]),...
 'temperature_error_upper',double([]),...
-'temperature_validity',double(-999999999),...
+'temperature_fit',struct(...
+'chi_squared',double([]),...
+'chi_squared_error_index',int32(-999999999),...
+'chi_squared_error_lower',double([]),...
+'chi_squared_error_upper',double([]),...
+'local',int32([]),...
+'measured',double([]),...
+'measured_error_index',int32(-999999999),...
+'measured_error_lower',double([]),...
+'measured_error_upper',double([]),...
+'parameters','',...
+'reconstructed',double([]),...
+'reconstructed_error_index',int32(-999999999),...
+'reconstructed_error_lower',double([]),...
+'reconstructed_error_upper',double([]),...
+'rho_pol_norm',double([]),...
+'rho_pol_norm_error_index',int32(-999999999),...
+'rho_pol_norm_error_lower',double([]),...
+'rho_pol_norm_error_upper',double([]),...
+'rho_tor_norm',double([]),...
+'rho_tor_norm_error_index',int32(-999999999),...
+'rho_tor_norm_error_lower',double([]),...
+'rho_tor_norm_error_upper',double([]),...
+'source',{{}},...
+'time_measurement',double([]),...
+'time_measurement_error_index',int32(-999999999),...
+'time_measurement_error_lower',double([]),...
+'time_measurement_error_upper',double([]),...
+'time_measurement_slice_method',struct(...
+'description','',...
+'index',int32(-999999999),...
+'name',''),...
+'time_measurement_width',double([]),...
+'time_measurement_width_error_index',int32(-999999999),...
+'time_measurement_width_error_lower',double([]),...
+'time_measurement_width_error_upper',double([]),...
+'weight',double([]),...
+'weight_error_index',int32(-999999999),...
+'weight_error_lower',double([]),...
+'weight_error_upper',double([])),...
+'temperature_validity',int32(-999999999),...
 'velocity',struct(...
 'diamagnetic',double([]),...
-'diamagnetic_error_index',double(-999999999),...
+'diamagnetic_error_index',int32(-999999999),...
 'diamagnetic_error_lower',double([]),...
 'diamagnetic_error_upper',double([]),...
 'parallel',double([]),...
-'parallel_error_index',double(-999999999),...
+'parallel_error_index',int32(-999999999),...
 'parallel_error_lower',double([]),...
 'parallel_error_upper',double([]),...
 'poloidal',double([]),...
-'poloidal_error_index',double(-999999999),...
+'poloidal_error_index',int32(-999999999),...
 'poloidal_error_lower',double([]),...
 'poloidal_error_upper',double([]),...
 'radial',double([]),...
-'radial_error_index',double(-999999999),...
+'radial_error_index',int32(-999999999),...
 'radial_error_lower',double([]),...
 'radial_error_upper',double([]),...
 'toroidal',double([]),...
-'toroidal_error_index',double(-999999999),...
+'toroidal_error_index',int32(-999999999),...
 'toroidal_error_lower',double([]),...
 'toroidal_error_upper',double([])),...
 'velocity_pol',double([]),...
-'velocity_pol_error_index',double(-999999999),...
+'velocity_pol_error_index',int32(-999999999),...
 'velocity_pol_error_lower',double([]),...
 'velocity_pol_error_upper',double([]),...
 'velocity_tor',double([]),...
-'velocity_tor_error_index',double(-999999999),...
+'velocity_tor_error_index',int32(-999999999),...
 'velocity_tor_error_lower',double([]),...
 'velocity_tor_error_upper',double([]),...
-'z_ion',double(-9.0000000000000006360851714687e+40),...
+'z_ion',double(-9e+40),...
 'z_ion_1d',double([]),...
-'z_ion_1d_error_index',double(-999999999),...
+'z_ion_1d_error_index',int32(-999999999),...
 'z_ion_1d_error_lower',double([]),...
 'z_ion_1d_error_upper',double([]),...
-'z_ion_error_index',double(-999999999),...
-'z_ion_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_ion_error_upper',double(-9.0000000000000006360851714687e+40),...
+'z_ion_error_index',int32(-999999999),...
+'z_ion_error_lower',double(-9e+40),...
+'z_ion_error_upper',double(-9e+40),...
 'z_ion_square_1d',double([]),...
-'z_ion_square_1d_error_index',double(-999999999),...
+'z_ion_square_1d_error_index',int32(-999999999),...
 'z_ion_square_1d_error_lower',double([]),...
 'z_ion_square_1d_error_upper',double([]))
 ;}},...
 'j_bootstrap',double([]),...
-'j_bootstrap_error_index',double(-999999999),...
+'j_bootstrap_error_index',int32(-999999999),...
 'j_bootstrap_error_lower',double([]),...
 'j_bootstrap_error_upper',double([]),...
 'j_non_inductive',double([]),...
-'j_non_inductive_error_index',double(-999999999),...
+'j_non_inductive_error_index',int32(-999999999),...
 'j_non_inductive_error_lower',double([]),...
 'j_non_inductive_error_upper',double([]),...
 'j_ohmic',double([]),...
-'j_ohmic_error_index',double(-999999999),...
+'j_ohmic_error_index',int32(-999999999),...
 'j_ohmic_error_lower',double([]),...
 'j_ohmic_error_upper',double([]),...
 'j_tor',double([]),...
-'j_tor_error_index',double(-999999999),...
+'j_tor_error_index',int32(-999999999),...
 'j_tor_error_lower',double([]),...
 'j_tor_error_upper',double([]),...
 'j_total',double([]),...
-'j_total_error_index',double(-999999999),...
+'j_total_error_index',int32(-999999999),...
 'j_total_error_lower',double([]),...
 'j_total_error_upper',double([]),...
 'magnetic_shear',double([]),...
-'magnetic_shear_error_index',double(-999999999),...
+'magnetic_shear_error_index',int32(-999999999),...
 'magnetic_shear_error_lower',double([]),...
 'magnetic_shear_error_upper',double([]),...
 'momentum_tor',double([]),...
-'momentum_tor_error_index',double(-999999999),...
+'momentum_tor_error_index',int32(-999999999),...
 'momentum_tor_error_lower',double([]),...
 'momentum_tor_error_upper',double([]),...
 'n_i_thermal_total',double([]),...
-'n_i_thermal_total_error_index',double(-999999999),...
+'n_i_thermal_total_error_index',int32(-999999999),...
 'n_i_thermal_total_error_lower',double([]),...
 'n_i_thermal_total_error_upper',double([]),...
 'n_i_total_over_n_e',double([]),...
-'n_i_total_over_n_e_error_index',double(-999999999),...
+'n_i_total_over_n_e_error_index',int32(-999999999),...
 'n_i_total_over_n_e_error_lower',double([]),...
 'n_i_total_over_n_e_error_upper',double([]),...
 'neutral',{{struct(...
 'density',double([]),...
-'density_error_index',double(-999999999),...
+'density_error_index',int32(-999999999),...
 'density_error_lower',double([]),...
 'density_error_upper',double([]),...
 'density_fast',double([]),...
-'density_fast_error_index',double(-999999999),...
+'density_fast_error_index',int32(-999999999),...
 'density_fast_error_lower',double([]),...
 'density_fast_error_upper',double([]),...
 'density_thermal',double([]),...
-'density_thermal_error_index',double(-999999999),...
+'density_thermal_error_index',int32(-999999999),...
 'density_thermal_error_lower',double([]),...
 'density_thermal_error_upper',double([]),...
 'element',{{struct(...
-'a',double(-9.0000000000000006360851714687e+40),...
-'a_error_index',double(-999999999),...
-'a_error_lower',double(-9.0000000000000006360851714687e+40),...
-'a_error_upper',double(-9.0000000000000006360851714687e+40),...
-'atoms_n',double(-999999999),...
-'multiplicity',double(-9.0000000000000006360851714687e+40),...
-'multiplicity_error_index',double(-999999999),...
-'multiplicity_error_lower',double(-9.0000000000000006360851714687e+40),...
-'multiplicity_error_upper',double(-9.0000000000000006360851714687e+40),...
-'z_n',double(-9.0000000000000006360851714687e+40),...
-'z_n_error_index',double(-999999999),...
-'z_n_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_n_error_upper',double(-9.0000000000000006360851714687e+40))
-;}},...
-'ion_index',double(-999999999),...
-'label',double([]),...
-'multiple_states_flag',double(-999999999),...
+'a',double(-9e+40),...
+'a_error_index',int32(-999999999),...
+'a_error_lower',double(-9e+40),...
+'a_error_upper',double(-9e+40),...
+'atoms_n',int32(-999999999),...
+'multiplicity',double(-9e+40),...
+'multiplicity_error_index',int32(-999999999),...
+'multiplicity_error_lower',double(-9e+40),...
+'multiplicity_error_upper',double(-9e+40),...
+'z_n',double(-9e+40),...
+'z_n_error_index',int32(-999999999),...
+'z_n_error_lower',double(-9e+40),...
+'z_n_error_upper',double(-9e+40))
+;}},...
+'ion_index',int32(-999999999),...
+'label','',...
+'multiple_states_flag',int32(-999999999),...
 'pressure',double([]),...
-'pressure_error_index',double(-999999999),...
+'pressure_error_index',int32(-999999999),...
 'pressure_error_lower',double([]),...
 'pressure_error_upper',double([]),...
 'pressure_fast_parallel',double([]),...
-'pressure_fast_parallel_error_index',double(-999999999),...
+'pressure_fast_parallel_error_index',int32(-999999999),...
 'pressure_fast_parallel_error_lower',double([]),...
 'pressure_fast_parallel_error_upper',double([]),...
 'pressure_fast_perpendicular',double([]),...
-'pressure_fast_perpendicular_error_index',double(-999999999),...
+'pressure_fast_perpendicular_error_index',int32(-999999999),...
 'pressure_fast_perpendicular_error_lower',double([]),...
 'pressure_fast_perpendicular_error_upper',double([]),...
 'pressure_thermal',double([]),...
-'pressure_thermal_error_index',double(-999999999),...
+'pressure_thermal_error_index',int32(-999999999),...
 'pressure_thermal_error_lower',double([]),...
 'pressure_thermal_error_upper',double([]),...
 'state',{{struct(...
 'density',double([]),...
-'density_error_index',double(-999999999),...
+'density_error_index',int32(-999999999),...
 'density_error_lower',double([]),...
 'density_error_upper',double([]),...
 'density_fast',double([]),...
-'density_fast_error_index',double(-999999999),...
+'density_fast_error_index',int32(-999999999),...
 'density_fast_error_lower',double([]),...
 'density_fast_error_upper',double([]),...
 'density_thermal',double([]),...
-'density_thermal_error_index',double(-999999999),...
+'density_thermal_error_index',int32(-999999999),...
 'density_thermal_error_lower',double([]),...
 'density_thermal_error_upper',double([]),...
-'electron_configuration',double([]),...
-'label',double([]),...
+'electron_configuration','',...
+'label','',...
 'neutral_type',struct(...
-'description',double([]),...
-'index',double(-999999999),...
-'name',double([])),...
+'description','',...
+'index',int32(-999999999),...
+'name',''),...
 'pressure',double([]),...
-'pressure_error_index',double(-999999999),...
+'pressure_error_index',int32(-999999999),...
 'pressure_error_lower',double([]),...
 'pressure_error_upper',double([]),...
 'pressure_fast_parallel',double([]),...
-'pressure_fast_parallel_error_index',double(-999999999),...
+'pressure_fast_parallel_error_index',int32(-999999999),...
 'pressure_fast_parallel_error_lower',double([]),...
 'pressure_fast_parallel_error_upper',double([]),...
 'pressure_fast_perpendicular',double([]),...
-'pressure_fast_perpendicular_error_index',double(-999999999),...
+'pressure_fast_perpendicular_error_index',int32(-999999999),...
 'pressure_fast_perpendicular_error_lower',double([]),...
 'pressure_fast_perpendicular_error_upper',double([]),...
 'pressure_thermal',double([]),...
-'pressure_thermal_error_index',double(-999999999),...
+'pressure_thermal_error_index',int32(-999999999),...
 'pressure_thermal_error_lower',double([]),...
 'pressure_thermal_error_upper',double([]),...
 'temperature',double([]),...
-'temperature_error_index',double(-999999999),...
+'temperature_error_index',int32(-999999999),...
 'temperature_error_lower',double([]),...
 'temperature_error_upper',double([]),...
 'velocity',struct(...
 'diamagnetic',double([]),...
-'diamagnetic_error_index',double(-999999999),...
+'diamagnetic_error_index',int32(-999999999),...
 'diamagnetic_error_lower',double([]),...
 'diamagnetic_error_upper',double([]),...
 'parallel',double([]),...
-'parallel_error_index',double(-999999999),...
+'parallel_error_index',int32(-999999999),...
 'parallel_error_lower',double([]),...
 'parallel_error_upper',double([]),...
 'poloidal',double([]),...
-'poloidal_error_index',double(-999999999),...
+'poloidal_error_index',int32(-999999999),...
 'poloidal_error_lower',double([]),...
 'poloidal_error_upper',double([]),...
 'radial',double([]),...
-'radial_error_index',double(-999999999),...
+'radial_error_index',int32(-999999999),...
 'radial_error_lower',double([]),...
 'radial_error_upper',double([]),...
 'toroidal',double([]),...
-'toroidal_error_index',double(-999999999),...
+'toroidal_error_index',int32(-999999999),...
 'toroidal_error_lower',double([]),...
 'toroidal_error_upper',double([])),...
-'vibrational_level',double(-9.0000000000000006360851714687e+40),...
-'vibrational_level_error_index',double(-999999999),...
-'vibrational_level_error_lower',double(-9.0000000000000006360851714687e+40),...
-'vibrational_level_error_upper',double(-9.0000000000000006360851714687e+40),...
-'vibrational_mode',double([]))
+'vibrational_level',double(-9e+40),...
+'vibrational_level_error_index',int32(-999999999),...
+'vibrational_level_error_lower',double(-9e+40),...
+'vibrational_level_error_upper',double(-9e+40),...
+'vibrational_mode','')
 ;}},...
 'temperature',double([]),...
-'temperature_error_index',double(-999999999),...
+'temperature_error_index',int32(-999999999),...
 'temperature_error_lower',double([]),...
 'temperature_error_upper',double([]),...
 'velocity',struct(...
 'diamagnetic',double([]),...
-'diamagnetic_error_index',double(-999999999),...
+'diamagnetic_error_index',int32(-999999999),...
 'diamagnetic_error_lower',double([]),...
 'diamagnetic_error_upper',double([]),...
 'parallel',double([]),...
-'parallel_error_index',double(-999999999),...
+'parallel_error_index',int32(-999999999),...
 'parallel_error_lower',double([]),...
 'parallel_error_upper',double([]),...
 'poloidal',double([]),...
-'poloidal_error_index',double(-999999999),...
+'poloidal_error_index',int32(-999999999),...
 'poloidal_error_lower',double([]),...
 'poloidal_error_upper',double([]),...
 'radial',double([]),...
-'radial_error_index',double(-999999999),...
+'radial_error_index',int32(-999999999),...
 'radial_error_lower',double([]),...
 'radial_error_upper',double([]),...
 'toroidal',double([]),...
-'toroidal_error_index',double(-999999999),...
+'toroidal_error_index',int32(-999999999),...
 'toroidal_error_lower',double([]),...
 'toroidal_error_upper',double([])))
 ;}},...
+'phi_potential',double([]),...
+'phi_potential_error_index',int32(-999999999),...
+'phi_potential_error_lower',double([]),...
+'phi_potential_error_upper',double([]),...
 'pressure_ion_total',double([]),...
-'pressure_ion_total_error_index',double(-999999999),...
+'pressure_ion_total_error_index',int32(-999999999),...
 'pressure_ion_total_error_lower',double([]),...
 'pressure_ion_total_error_upper',double([]),...
 'pressure_parallel',double([]),...
-'pressure_parallel_error_index',double(-999999999),...
+'pressure_parallel_error_index',int32(-999999999),...
 'pressure_parallel_error_lower',double([]),...
 'pressure_parallel_error_upper',double([]),...
 'pressure_perpendicular',double([]),...
-'pressure_perpendicular_error_index',double(-999999999),...
+'pressure_perpendicular_error_index',int32(-999999999),...
 'pressure_perpendicular_error_lower',double([]),...
 'pressure_perpendicular_error_upper',double([]),...
 'pressure_thermal',double([]),...
-'pressure_thermal_error_index',double(-999999999),...
+'pressure_thermal_error_index',int32(-999999999),...
 'pressure_thermal_error_lower',double([]),...
 'pressure_thermal_error_upper',double([]),...
 'q',double([]),...
-'q_error_index',double(-999999999),...
+'q_error_index',int32(-999999999),...
 'q_error_lower',double([]),...
 'q_error_upper',double([]),...
+'rotation_frequency_tor_sonic',double([]),...
+'rotation_frequency_tor_sonic_error_index',int32(-999999999),...
+'rotation_frequency_tor_sonic_error_lower',double([]),...
+'rotation_frequency_tor_sonic_error_upper',double([]),...
 't_i_average',double([]),...
-'t_i_average_error_index',double(-999999999),...
+'t_i_average_error_index',int32(-999999999),...
 't_i_average_error_lower',double([]),...
 't_i_average_error_upper',double([]),...
 't_i_average_fit',struct(...
 'chi_squared',double([]),...
-'chi_squared_error_index',double(-999999999),...
+'chi_squared_error_index',int32(-999999999),...
 'chi_squared_error_lower',double([]),...
 'chi_squared_error_upper',double([]),...
-'local',double([]),...
+'local',int32([]),...
 'measured',double([]),...
-'measured_error_index',double(-999999999),...
+'measured_error_index',int32(-999999999),...
 'measured_error_lower',double([]),...
 'measured_error_upper',double([]),...
-'parameters',double([]),...
+'parameters','',...
 'reconstructed',double([]),...
-'reconstructed_error_index',double(-999999999),...
+'reconstructed_error_index',int32(-999999999),...
 'reconstructed_error_lower',double([]),...
 'reconstructed_error_upper',double([]),...
+'rho_pol_norm',double([]),...
+'rho_pol_norm_error_index',int32(-999999999),...
+'rho_pol_norm_error_lower',double([]),...
+'rho_pol_norm_error_upper',double([]),...
 'rho_tor_norm',double([]),...
-'rho_tor_norm_error_index',double(-999999999),...
+'rho_tor_norm_error_index',int32(-999999999),...
 'rho_tor_norm_error_lower',double([]),...
 'rho_tor_norm_error_upper',double([]),...
-'source',{{double([]);}},...
+'source',{{}},...
 'time_measurement',double([]),...
-'time_measurement_error_index',double(-999999999),...
+'time_measurement_error_index',int32(-999999999),...
 'time_measurement_error_lower',double([]),...
 'time_measurement_error_upper',double([]),...
 'time_measurement_slice_method',struct(...
-'description',double([]),...
-'index',double(-999999999),...
-'name',double([])),...
+'description','',...
+'index',int32(-999999999),...
+'name',''),...
 'time_measurement_width',double([]),...
-'time_measurement_width_error_index',double(-999999999),...
+'time_measurement_width_error_index',int32(-999999999),...
 'time_measurement_width_error_lower',double([]),...
 'time_measurement_width_error_upper',double([]),...
 'weight',double([]),...
-'weight_error_index',double(-999999999),...
+'weight_error_index',int32(-999999999),...
 'weight_error_lower',double([]),...
 'weight_error_upper',double([])),...
-'time',double(-9.0000000000000006360851714687e+40),...
+'time',double(-9e+40),...
 'zeff',double([]),...
-'zeff_error_index',double(-999999999),...
+'zeff_error_index',int32(-999999999),...
 'zeff_error_lower',double([]),...
 'zeff_error_upper',double([]),...
 'zeff_fit',struct(...
 'chi_squared',double([]),...
-'chi_squared_error_index',double(-999999999),...
+'chi_squared_error_index',int32(-999999999),...
 'chi_squared_error_lower',double([]),...
 'chi_squared_error_upper',double([]),...
-'local',double([]),...
+'local',int32([]),...
 'measured',double([]),...
-'measured_error_index',double(-999999999),...
+'measured_error_index',int32(-999999999),...
 'measured_error_lower',double([]),...
 'measured_error_upper',double([]),...
-'parameters',double([]),...
+'parameters','',...
 'reconstructed',double([]),...
-'reconstructed_error_index',double(-999999999),...
+'reconstructed_error_index',int32(-999999999),...
 'reconstructed_error_lower',double([]),...
 'reconstructed_error_upper',double([]),...
+'rho_pol_norm',double([]),...
+'rho_pol_norm_error_index',int32(-999999999),...
+'rho_pol_norm_error_lower',double([]),...
+'rho_pol_norm_error_upper',double([]),...
 'rho_tor_norm',double([]),...
-'rho_tor_norm_error_index',double(-999999999),...
+'rho_tor_norm_error_index',int32(-999999999),...
 'rho_tor_norm_error_lower',double([]),...
 'rho_tor_norm_error_upper',double([]),...
-'source',{{double([]);}},...
+'source',{{}},...
 'time_measurement',double([]),...
-'time_measurement_error_index',double(-999999999),...
+'time_measurement_error_index',int32(-999999999),...
 'time_measurement_error_lower',double([]),...
 'time_measurement_error_upper',double([]),...
 'time_measurement_slice_method',struct(...
-'description',double([]),...
-'index',double(-999999999),...
-'name',double([])),...
+'description','',...
+'index',int32(-999999999),...
+'name',''),...
 'time_measurement_width',double([]),...
-'time_measurement_width_error_index',double(-999999999),...
+'time_measurement_width_error_index',int32(-999999999),...
 'time_measurement_width_error_lower',double([]),...
 'time_measurement_width_error_upper',double([]),...
 'weight',double([]),...
-'weight_error_index',double(-999999999),...
+'weight_error_index',int32(-999999999),...
 'weight_error_lower',double([]),...
 'weight_error_upper',double([])))
 ;}},...
 'time',double([]),...
 'vacuum_toroidal_field',struct(...
 'b0',double([]),...
-'b0_error_index',double(-999999999),...
+'b0_error_index',int32(-999999999),...
 'b0_error_lower',double([]),...
 'b0_error_upper',double([]),...
-'r0',double(-9.0000000000000006360851714687e+40),...
-'r0_error_index',double(-999999999),...
-'r0_error_lower',double(-9.0000000000000006360851714687e+40),...
-'r0_error_upper',double(-9.0000000000000006360851714687e+40)));
+'r0',double(-9e+40),...
+'r0_error_index',int32(-999999999),...
+'r0_error_lower',double(-9e+40),...
+'r0_error_upper',double(-9e+40)));
diff --git a/matlab/TCV_IMAS/ids_empty/ids_empty_edge_sources.m b/matlab/TCV_IMAS/ids_empty/ids_empty_edge_sources.m
index b3220a5c528830cbe358307a55cce1741197db21..15a8f5416e0c69eb0235a5be916246d41723905f 100644
--- a/matlab/TCV_IMAS/ids_empty/ids_empty_edge_sources.m
+++ b/matlab/TCV_IMAS/ids_empty/ids_empty_edge_sources.m
@@ -6,533 +6,537 @@ function S = ids_empty_edge_sources
 S = ... 
 struct(...
 'code',struct(...
-'commit',double([]),...
-'name',double([]),...
-'output_flag',double([]),...
-'parameters',double([]),...
-'repository',double([]),...
-'version',double([])),...
+'commit','',...
+'name','',...
+'output_flag',int32([]),...
+'parameters','',...
+'repository','',...
+'version',''),...
 'grid_ggd',{{struct(...
 'grid_subset',{{struct(...
 'base',{{struct(...
 'jacobian',double([]),...
-'jacobian_error_index',double(-999999999),...
+'jacobian_error_index',int32(-999999999),...
 'jacobian_error_lower',double([]),...
 'jacobian_error_upper',double([]),...
 'tensor_contravariant',double([]),...
-'tensor_contravariant_error_index',double(-999999999),...
+'tensor_contravariant_error_index',int32(-999999999),...
 'tensor_contravariant_error_lower',double([]),...
 'tensor_contravariant_error_upper',double([]),...
 'tensor_covariant',double([]),...
-'tensor_covariant_error_index',double(-999999999),...
+'tensor_covariant_error_index',int32(-999999999),...
 'tensor_covariant_error_lower',double([]),...
 'tensor_covariant_error_upper',double([]))
 ;}},...
-'dimension',double(-999999999),...
+'dimension',int32(-999999999),...
 'element',{{struct(...
 'object',{{struct(...
-'dimension',double(-999999999),...
-'index',double(-999999999),...
-'space',double(-999999999))
+'dimension',int32(-999999999),...
+'index',int32(-999999999),...
+'space',int32(-999999999))
 ;}})
 ;}},...
 'identifier',struct(...
-'description',double([]),...
-'index',double(-999999999),...
-'name',double([])),...
+'description','',...
+'index',int32(-999999999),...
+'name',''),...
 'metric',struct(...
 'jacobian',double([]),...
-'jacobian_error_index',double(-999999999),...
+'jacobian_error_index',int32(-999999999),...
 'jacobian_error_lower',double([]),...
 'jacobian_error_upper',double([]),...
 'tensor_contravariant',double([]),...
-'tensor_contravariant_error_index',double(-999999999),...
+'tensor_contravariant_error_index',int32(-999999999),...
 'tensor_contravariant_error_lower',double([]),...
 'tensor_contravariant_error_upper',double([]),...
 'tensor_covariant',double([]),...
-'tensor_covariant_error_index',double(-999999999),...
+'tensor_covariant_error_index',int32(-999999999),...
 'tensor_covariant_error_lower',double([]),...
 'tensor_covariant_error_upper',double([])))
 ;}},...
 'identifier',struct(...
-'description',double([]),...
-'index',double(-999999999),...
-'name',double([])),...
+'description','',...
+'index',int32(-999999999),...
+'name',''),...
 'space',{{struct(...
-'coordinates_type',double([]),...
+'coordinates_type',int32([]),...
 'geometry_type',struct(...
-'description',double([]),...
-'index',double(-999999999),...
-'name',double([])),...
+'description','',...
+'index',int32(-999999999),...
+'name',''),...
 'identifier',struct(...
-'description',double([]),...
-'index',double(-999999999),...
-'name',double([])),...
+'description','',...
+'index',int32(-999999999),...
+'name',''),...
 'objects_per_dimension',{{struct(...
 'object',{{struct(...
 'boundary',{{struct(...
-'index',double(-999999999),...
-'neighbours',double([]))
+'index',int32(-999999999),...
+'neighbours',int32([]))
 ;}},...
 'geometry',double([]),...
-'geometry_error_index',double(-999999999),...
+'geometry_error_index',int32(-999999999),...
 'geometry_error_lower',double([]),...
 'geometry_error_upper',double([]),...
-'measure',double(-9.0000000000000006360851714687e+40),...
-'measure_error_index',double(-999999999),...
-'measure_error_lower',double(-9.0000000000000006360851714687e+40),...
-'measure_error_upper',double(-9.0000000000000006360851714687e+40),...
-'nodes',double([]))
+'measure',double(-9e+40),...
+'measure_error_index',int32(-999999999),...
+'measure_error_lower',double(-9e+40),...
+'measure_error_upper',double(-9e+40),...
+'nodes',int32([]))
 ;}})
 ;}})
 ;}},...
-'time',double(-9.0000000000000006360851714687e+40))
+'time',double(-9e+40))
 ;}},...
 'ids_properties',struct(...
-'comment',double([]),...
-'creation_date',double([]),...
-'homogeneous_time',double(-999999999),...
-'provider',double([]),...
-'source',double([])),...
+'comment','',...
+'creation_date','',...
+'homogeneous_time',int32(-999999999),...
+'provider','',...
+'source','',...
+'version_put',struct(...
+'access_layer','',...
+'access_layer_language','',...
+'data_dictionary','')),...
 'source',{{struct(...
 'ggd',{{struct(...
 'current',{{struct(...
 'coefficients',double([]),...
-'coefficients_error_index',double(-999999999),...
+'coefficients_error_index',int32(-999999999),...
 'coefficients_error_lower',double([]),...
 'coefficients_error_upper',double([]),...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
 'values',double([]),...
-'values_error_index',double(-999999999),...
+'values_error_index',int32(-999999999),...
 'values_error_lower',double([]),...
 'values_error_upper',double([]))
 ;}},...
 'electrons',struct(...
 'energy',{{struct(...
 'coefficients',double([]),...
-'coefficients_error_index',double(-999999999),...
+'coefficients_error_index',int32(-999999999),...
 'coefficients_error_lower',double([]),...
 'coefficients_error_upper',double([]),...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
 'values',double([]),...
-'values_error_index',double(-999999999),...
+'values_error_index',int32(-999999999),...
 'values_error_lower',double([]),...
 'values_error_upper',double([]))
 ;}},...
 'particles',{{struct(...
 'coefficients',double([]),...
-'coefficients_error_index',double(-999999999),...
+'coefficients_error_index',int32(-999999999),...
 'coefficients_error_lower',double([]),...
 'coefficients_error_upper',double([]),...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
 'values',double([]),...
-'values_error_index',double(-999999999),...
+'values_error_index',int32(-999999999),...
 'values_error_lower',double([]),...
 'values_error_upper',double([]))
 ;}}),...
 'ion',{{struct(...
 'element',{{struct(...
-'a',double(-9.0000000000000006360851714687e+40),...
-'a_error_index',double(-999999999),...
-'a_error_lower',double(-9.0000000000000006360851714687e+40),...
-'a_error_upper',double(-9.0000000000000006360851714687e+40),...
-'atoms_n',double(-999999999),...
-'multiplicity',double(-9.0000000000000006360851714687e+40),...
-'multiplicity_error_index',double(-999999999),...
-'multiplicity_error_lower',double(-9.0000000000000006360851714687e+40),...
-'multiplicity_error_upper',double(-9.0000000000000006360851714687e+40),...
-'z_n',double(-9.0000000000000006360851714687e+40),...
-'z_n_error_index',double(-999999999),...
-'z_n_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_n_error_upper',double(-9.0000000000000006360851714687e+40))
+'a',double(-9e+40),...
+'a_error_index',int32(-999999999),...
+'a_error_lower',double(-9e+40),...
+'a_error_upper',double(-9e+40),...
+'atoms_n',int32(-999999999),...
+'multiplicity',double(-9e+40),...
+'multiplicity_error_index',int32(-999999999),...
+'multiplicity_error_lower',double(-9e+40),...
+'multiplicity_error_upper',double(-9e+40),...
+'z_n',double(-9e+40),...
+'z_n_error_index',int32(-999999999),...
+'z_n_error_lower',double(-9e+40),...
+'z_n_error_upper',double(-9e+40))
 ;}},...
 'energy',{{struct(...
 'coefficients',double([]),...
-'coefficients_error_index',double(-999999999),...
+'coefficients_error_index',int32(-999999999),...
 'coefficients_error_lower',double([]),...
 'coefficients_error_upper',double([]),...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
 'values',double([]),...
-'values_error_index',double(-999999999),...
+'values_error_index',int32(-999999999),...
 'values_error_lower',double([]),...
 'values_error_upper',double([]))
 ;}},...
-'label',double([]),...
+'label','',...
 'momentum',{{struct(...
 'diamagnetic',double([]),...
 'diamagnetic_coefficients',double([]),...
-'diamagnetic_coefficients_error_index',double(-999999999),...
+'diamagnetic_coefficients_error_index',int32(-999999999),...
 'diamagnetic_coefficients_error_lower',double([]),...
 'diamagnetic_coefficients_error_upper',double([]),...
-'diamagnetic_error_index',double(-999999999),...
+'diamagnetic_error_index',int32(-999999999),...
 'diamagnetic_error_lower',double([]),...
 'diamagnetic_error_upper',double([]),...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
 'parallel',double([]),...
 'parallel_coefficients',double([]),...
-'parallel_coefficients_error_index',double(-999999999),...
+'parallel_coefficients_error_index',int32(-999999999),...
 'parallel_coefficients_error_lower',double([]),...
 'parallel_coefficients_error_upper',double([]),...
-'parallel_error_index',double(-999999999),...
+'parallel_error_index',int32(-999999999),...
 'parallel_error_lower',double([]),...
 'parallel_error_upper',double([]),...
 'poloidal',double([]),...
 'poloidal_coefficients',double([]),...
-'poloidal_coefficients_error_index',double(-999999999),...
+'poloidal_coefficients_error_index',int32(-999999999),...
 'poloidal_coefficients_error_lower',double([]),...
 'poloidal_coefficients_error_upper',double([]),...
-'poloidal_error_index',double(-999999999),...
+'poloidal_error_index',int32(-999999999),...
 'poloidal_error_lower',double([]),...
 'poloidal_error_upper',double([]),...
 'radial',double([]),...
 'radial_coefficients',double([]),...
-'radial_coefficients_error_index',double(-999999999),...
+'radial_coefficients_error_index',int32(-999999999),...
 'radial_coefficients_error_lower',double([]),...
 'radial_coefficients_error_upper',double([]),...
-'radial_error_index',double(-999999999),...
+'radial_error_index',int32(-999999999),...
 'radial_error_lower',double([]),...
 'radial_error_upper',double([]),...
 'toroidal',double([]),...
 'toroidal_coefficients',double([]),...
-'toroidal_coefficients_error_index',double(-999999999),...
+'toroidal_coefficients_error_index',int32(-999999999),...
 'toroidal_coefficients_error_lower',double([]),...
 'toroidal_coefficients_error_upper',double([]),...
-'toroidal_error_index',double(-999999999),...
+'toroidal_error_index',int32(-999999999),...
 'toroidal_error_lower',double([]),...
 'toroidal_error_upper',double([]))
 ;}},...
-'multiple_states_flag',double(-999999999),...
-'neutral_index',double(-999999999),...
+'multiple_states_flag',int32(-999999999),...
+'neutral_index',int32(-999999999),...
 'particles',{{struct(...
 'coefficients',double([]),...
-'coefficients_error_index',double(-999999999),...
+'coefficients_error_index',int32(-999999999),...
 'coefficients_error_lower',double([]),...
 'coefficients_error_upper',double([]),...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
 'values',double([]),...
-'values_error_index',double(-999999999),...
+'values_error_index',int32(-999999999),...
 'values_error_lower',double([]),...
 'values_error_upper',double([]))
 ;}},...
 'state',{{struct(...
-'electron_configuration',double([]),...
+'electron_configuration','',...
 'energy',{{struct(...
 'coefficients',double([]),...
-'coefficients_error_index',double(-999999999),...
+'coefficients_error_index',int32(-999999999),...
 'coefficients_error_lower',double([]),...
 'coefficients_error_upper',double([]),...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
 'values',double([]),...
-'values_error_index',double(-999999999),...
+'values_error_index',int32(-999999999),...
 'values_error_lower',double([]),...
 'values_error_upper',double([]))
 ;}},...
-'label',double([]),...
+'label','',...
 'momentum',{{struct(...
 'diamagnetic',double([]),...
 'diamagnetic_coefficients',double([]),...
-'diamagnetic_coefficients_error_index',double(-999999999),...
+'diamagnetic_coefficients_error_index',int32(-999999999),...
 'diamagnetic_coefficients_error_lower',double([]),...
 'diamagnetic_coefficients_error_upper',double([]),...
-'diamagnetic_error_index',double(-999999999),...
+'diamagnetic_error_index',int32(-999999999),...
 'diamagnetic_error_lower',double([]),...
 'diamagnetic_error_upper',double([]),...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
 'parallel',double([]),...
 'parallel_coefficients',double([]),...
-'parallel_coefficients_error_index',double(-999999999),...
+'parallel_coefficients_error_index',int32(-999999999),...
 'parallel_coefficients_error_lower',double([]),...
 'parallel_coefficients_error_upper',double([]),...
-'parallel_error_index',double(-999999999),...
+'parallel_error_index',int32(-999999999),...
 'parallel_error_lower',double([]),...
 'parallel_error_upper',double([]),...
 'poloidal',double([]),...
 'poloidal_coefficients',double([]),...
-'poloidal_coefficients_error_index',double(-999999999),...
+'poloidal_coefficients_error_index',int32(-999999999),...
 'poloidal_coefficients_error_lower',double([]),...
 'poloidal_coefficients_error_upper',double([]),...
-'poloidal_error_index',double(-999999999),...
+'poloidal_error_index',int32(-999999999),...
 'poloidal_error_lower',double([]),...
 'poloidal_error_upper',double([]),...
 'radial',double([]),...
 'radial_coefficients',double([]),...
-'radial_coefficients_error_index',double(-999999999),...
+'radial_coefficients_error_index',int32(-999999999),...
 'radial_coefficients_error_lower',double([]),...
 'radial_coefficients_error_upper',double([]),...
-'radial_error_index',double(-999999999),...
+'radial_error_index',int32(-999999999),...
 'radial_error_lower',double([]),...
 'radial_error_upper',double([]),...
 'toroidal',double([]),...
 'toroidal_coefficients',double([]),...
-'toroidal_coefficients_error_index',double(-999999999),...
+'toroidal_coefficients_error_index',int32(-999999999),...
 'toroidal_coefficients_error_lower',double([]),...
 'toroidal_coefficients_error_upper',double([]),...
-'toroidal_error_index',double(-999999999),...
+'toroidal_error_index',int32(-999999999),...
 'toroidal_error_lower',double([]),...
 'toroidal_error_upper',double([]))
 ;}},...
 'particles',{{struct(...
 'coefficients',double([]),...
-'coefficients_error_index',double(-999999999),...
+'coefficients_error_index',int32(-999999999),...
 'coefficients_error_lower',double([]),...
 'coefficients_error_upper',double([]),...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
 'values',double([]),...
-'values_error_index',double(-999999999),...
+'values_error_index',int32(-999999999),...
 'values_error_lower',double([]),...
 'values_error_upper',double([]))
 ;}},...
-'vibrational_level',double(-9.0000000000000006360851714687e+40),...
-'vibrational_level_error_index',double(-999999999),...
-'vibrational_level_error_lower',double(-9.0000000000000006360851714687e+40),...
-'vibrational_level_error_upper',double(-9.0000000000000006360851714687e+40),...
-'vibrational_mode',double([]),...
-'z_max',double(-9.0000000000000006360851714687e+40),...
-'z_max_error_index',double(-999999999),...
-'z_max_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_max_error_upper',double(-9.0000000000000006360851714687e+40),...
-'z_min',double(-9.0000000000000006360851714687e+40),...
-'z_min_error_index',double(-999999999),...
-'z_min_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_min_error_upper',double(-9.0000000000000006360851714687e+40))
-;}},...
-'z_ion',double(-9.0000000000000006360851714687e+40),...
-'z_ion_error_index',double(-999999999),...
-'z_ion_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_ion_error_upper',double(-9.0000000000000006360851714687e+40))
+'vibrational_level',double(-9e+40),...
+'vibrational_level_error_index',int32(-999999999),...
+'vibrational_level_error_lower',double(-9e+40),...
+'vibrational_level_error_upper',double(-9e+40),...
+'vibrational_mode','',...
+'z_max',double(-9e+40),...
+'z_max_error_index',int32(-999999999),...
+'z_max_error_lower',double(-9e+40),...
+'z_max_error_upper',double(-9e+40),...
+'z_min',double(-9e+40),...
+'z_min_error_index',int32(-999999999),...
+'z_min_error_lower',double(-9e+40),...
+'z_min_error_upper',double(-9e+40))
+;}},...
+'z_ion',double(-9e+40),...
+'z_ion_error_index',int32(-999999999),...
+'z_ion_error_lower',double(-9e+40),...
+'z_ion_error_upper',double(-9e+40))
 ;}},...
 'momentum',{{struct(...
 'diamagnetic',double([]),...
 'diamagnetic_coefficients',double([]),...
-'diamagnetic_coefficients_error_index',double(-999999999),...
+'diamagnetic_coefficients_error_index',int32(-999999999),...
 'diamagnetic_coefficients_error_lower',double([]),...
 'diamagnetic_coefficients_error_upper',double([]),...
-'diamagnetic_error_index',double(-999999999),...
+'diamagnetic_error_index',int32(-999999999),...
 'diamagnetic_error_lower',double([]),...
 'diamagnetic_error_upper',double([]),...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
 'parallel',double([]),...
 'parallel_coefficients',double([]),...
-'parallel_coefficients_error_index',double(-999999999),...
+'parallel_coefficients_error_index',int32(-999999999),...
 'parallel_coefficients_error_lower',double([]),...
 'parallel_coefficients_error_upper',double([]),...
-'parallel_error_index',double(-999999999),...
+'parallel_error_index',int32(-999999999),...
 'parallel_error_lower',double([]),...
 'parallel_error_upper',double([]),...
 'poloidal',double([]),...
 'poloidal_coefficients',double([]),...
-'poloidal_coefficients_error_index',double(-999999999),...
+'poloidal_coefficients_error_index',int32(-999999999),...
 'poloidal_coefficients_error_lower',double([]),...
 'poloidal_coefficients_error_upper',double([]),...
-'poloidal_error_index',double(-999999999),...
+'poloidal_error_index',int32(-999999999),...
 'poloidal_error_lower',double([]),...
 'poloidal_error_upper',double([]),...
 'radial',double([]),...
 'radial_coefficients',double([]),...
-'radial_coefficients_error_index',double(-999999999),...
+'radial_coefficients_error_index',int32(-999999999),...
 'radial_coefficients_error_lower',double([]),...
 'radial_coefficients_error_upper',double([]),...
-'radial_error_index',double(-999999999),...
+'radial_error_index',int32(-999999999),...
 'radial_error_lower',double([]),...
 'radial_error_upper',double([]),...
 'toroidal',double([]),...
 'toroidal_coefficients',double([]),...
-'toroidal_coefficients_error_index',double(-999999999),...
+'toroidal_coefficients_error_index',int32(-999999999),...
 'toroidal_coefficients_error_lower',double([]),...
 'toroidal_coefficients_error_upper',double([]),...
-'toroidal_error_index',double(-999999999),...
+'toroidal_error_index',int32(-999999999),...
 'toroidal_error_lower',double([]),...
 'toroidal_error_upper',double([]))
 ;}},...
 'neutral',{{struct(...
 'element',{{struct(...
-'a',double(-9.0000000000000006360851714687e+40),...
-'a_error_index',double(-999999999),...
-'a_error_lower',double(-9.0000000000000006360851714687e+40),...
-'a_error_upper',double(-9.0000000000000006360851714687e+40),...
-'atoms_n',double(-999999999),...
-'multiplicity',double(-9.0000000000000006360851714687e+40),...
-'multiplicity_error_index',double(-999999999),...
-'multiplicity_error_lower',double(-9.0000000000000006360851714687e+40),...
-'multiplicity_error_upper',double(-9.0000000000000006360851714687e+40),...
-'z_n',double(-9.0000000000000006360851714687e+40),...
-'z_n_error_index',double(-999999999),...
-'z_n_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_n_error_upper',double(-9.0000000000000006360851714687e+40))
+'a',double(-9e+40),...
+'a_error_index',int32(-999999999),...
+'a_error_lower',double(-9e+40),...
+'a_error_upper',double(-9e+40),...
+'atoms_n',int32(-999999999),...
+'multiplicity',double(-9e+40),...
+'multiplicity_error_index',int32(-999999999),...
+'multiplicity_error_lower',double(-9e+40),...
+'multiplicity_error_upper',double(-9e+40),...
+'z_n',double(-9e+40),...
+'z_n_error_index',int32(-999999999),...
+'z_n_error_lower',double(-9e+40),...
+'z_n_error_upper',double(-9e+40))
 ;}},...
 'energy',{{struct(...
 'coefficients',double([]),...
-'coefficients_error_index',double(-999999999),...
+'coefficients_error_index',int32(-999999999),...
 'coefficients_error_lower',double([]),...
 'coefficients_error_upper',double([]),...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
 'values',double([]),...
-'values_error_index',double(-999999999),...
+'values_error_index',int32(-999999999),...
 'values_error_lower',double([]),...
 'values_error_upper',double([]))
 ;}},...
-'ion_index',double(-999999999),...
-'label',double([]),...
+'ion_index',int32(-999999999),...
+'label','',...
 'momentum',{{struct(...
 'diamagnetic',double([]),...
 'diamagnetic_coefficients',double([]),...
-'diamagnetic_coefficients_error_index',double(-999999999),...
+'diamagnetic_coefficients_error_index',int32(-999999999),...
 'diamagnetic_coefficients_error_lower',double([]),...
 'diamagnetic_coefficients_error_upper',double([]),...
-'diamagnetic_error_index',double(-999999999),...
+'diamagnetic_error_index',int32(-999999999),...
 'diamagnetic_error_lower',double([]),...
 'diamagnetic_error_upper',double([]),...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
 'parallel',double([]),...
 'parallel_coefficients',double([]),...
-'parallel_coefficients_error_index',double(-999999999),...
+'parallel_coefficients_error_index',int32(-999999999),...
 'parallel_coefficients_error_lower',double([]),...
 'parallel_coefficients_error_upper',double([]),...
-'parallel_error_index',double(-999999999),...
+'parallel_error_index',int32(-999999999),...
 'parallel_error_lower',double([]),...
 'parallel_error_upper',double([]),...
 'poloidal',double([]),...
 'poloidal_coefficients',double([]),...
-'poloidal_coefficients_error_index',double(-999999999),...
+'poloidal_coefficients_error_index',int32(-999999999),...
 'poloidal_coefficients_error_lower',double([]),...
 'poloidal_coefficients_error_upper',double([]),...
-'poloidal_error_index',double(-999999999),...
+'poloidal_error_index',int32(-999999999),...
 'poloidal_error_lower',double([]),...
 'poloidal_error_upper',double([]),...
 'radial',double([]),...
 'radial_coefficients',double([]),...
-'radial_coefficients_error_index',double(-999999999),...
+'radial_coefficients_error_index',int32(-999999999),...
 'radial_coefficients_error_lower',double([]),...
 'radial_coefficients_error_upper',double([]),...
-'radial_error_index',double(-999999999),...
+'radial_error_index',int32(-999999999),...
 'radial_error_lower',double([]),...
 'radial_error_upper',double([]),...
 'toroidal',double([]),...
 'toroidal_coefficients',double([]),...
-'toroidal_coefficients_error_index',double(-999999999),...
+'toroidal_coefficients_error_index',int32(-999999999),...
 'toroidal_coefficients_error_lower',double([]),...
 'toroidal_coefficients_error_upper',double([]),...
-'toroidal_error_index',double(-999999999),...
+'toroidal_error_index',int32(-999999999),...
 'toroidal_error_lower',double([]),...
 'toroidal_error_upper',double([]))
 ;}},...
-'multiple_states_flag',double(-999999999),...
+'multiple_states_flag',int32(-999999999),...
 'particles',{{struct(...
 'coefficients',double([]),...
-'coefficients_error_index',double(-999999999),...
+'coefficients_error_index',int32(-999999999),...
 'coefficients_error_lower',double([]),...
 'coefficients_error_upper',double([]),...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
 'values',double([]),...
-'values_error_index',double(-999999999),...
+'values_error_index',int32(-999999999),...
 'values_error_lower',double([]),...
 'values_error_upper',double([]))
 ;}},...
 'state',{{struct(...
-'electron_configuration',double([]),...
+'electron_configuration','',...
 'energy',{{struct(...
 'coefficients',double([]),...
-'coefficients_error_index',double(-999999999),...
+'coefficients_error_index',int32(-999999999),...
 'coefficients_error_lower',double([]),...
 'coefficients_error_upper',double([]),...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
 'values',double([]),...
-'values_error_index',double(-999999999),...
+'values_error_index',int32(-999999999),...
 'values_error_lower',double([]),...
 'values_error_upper',double([]))
 ;}},...
-'label',double([]),...
+'label','',...
 'momentum',{{struct(...
 'diamagnetic',double([]),...
 'diamagnetic_coefficients',double([]),...
-'diamagnetic_coefficients_error_index',double(-999999999),...
+'diamagnetic_coefficients_error_index',int32(-999999999),...
 'diamagnetic_coefficients_error_lower',double([]),...
 'diamagnetic_coefficients_error_upper',double([]),...
-'diamagnetic_error_index',double(-999999999),...
+'diamagnetic_error_index',int32(-999999999),...
 'diamagnetic_error_lower',double([]),...
 'diamagnetic_error_upper',double([]),...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
 'parallel',double([]),...
 'parallel_coefficients',double([]),...
-'parallel_coefficients_error_index',double(-999999999),...
+'parallel_coefficients_error_index',int32(-999999999),...
 'parallel_coefficients_error_lower',double([]),...
 'parallel_coefficients_error_upper',double([]),...
-'parallel_error_index',double(-999999999),...
+'parallel_error_index',int32(-999999999),...
 'parallel_error_lower',double([]),...
 'parallel_error_upper',double([]),...
 'poloidal',double([]),...
 'poloidal_coefficients',double([]),...
-'poloidal_coefficients_error_index',double(-999999999),...
+'poloidal_coefficients_error_index',int32(-999999999),...
 'poloidal_coefficients_error_lower',double([]),...
 'poloidal_coefficients_error_upper',double([]),...
-'poloidal_error_index',double(-999999999),...
+'poloidal_error_index',int32(-999999999),...
 'poloidal_error_lower',double([]),...
 'poloidal_error_upper',double([]),...
 'radial',double([]),...
 'radial_coefficients',double([]),...
-'radial_coefficients_error_index',double(-999999999),...
+'radial_coefficients_error_index',int32(-999999999),...
 'radial_coefficients_error_lower',double([]),...
 'radial_coefficients_error_upper',double([]),...
-'radial_error_index',double(-999999999),...
+'radial_error_index',int32(-999999999),...
 'radial_error_lower',double([]),...
 'radial_error_upper',double([]),...
 'toroidal',double([]),...
 'toroidal_coefficients',double([]),...
-'toroidal_coefficients_error_index',double(-999999999),...
+'toroidal_coefficients_error_index',int32(-999999999),...
 'toroidal_coefficients_error_lower',double([]),...
 'toroidal_coefficients_error_upper',double([]),...
-'toroidal_error_index',double(-999999999),...
+'toroidal_error_index',int32(-999999999),...
 'toroidal_error_lower',double([]),...
 'toroidal_error_upper',double([]))
 ;}},...
 'neutral_type',struct(...
-'description',double([]),...
-'index',double(-999999999),...
-'name',double([])),...
+'description','',...
+'index',int32(-999999999),...
+'name',''),...
 'particles',{{struct(...
 'coefficients',double([]),...
-'coefficients_error_index',double(-999999999),...
+'coefficients_error_index',int32(-999999999),...
 'coefficients_error_lower',double([]),...
 'coefficients_error_upper',double([]),...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
 'values',double([]),...
-'values_error_index',double(-999999999),...
+'values_error_index',int32(-999999999),...
 'values_error_lower',double([]),...
 'values_error_upper',double([]))
 ;}},...
-'vibrational_level',double(-9.0000000000000006360851714687e+40),...
-'vibrational_level_error_index',double(-999999999),...
-'vibrational_level_error_lower',double(-9.0000000000000006360851714687e+40),...
-'vibrational_level_error_upper',double(-9.0000000000000006360851714687e+40),...
-'vibrational_mode',double([]))
+'vibrational_level',double(-9e+40),...
+'vibrational_level_error_index',int32(-999999999),...
+'vibrational_level_error_lower',double(-9e+40),...
+'vibrational_level_error_upper',double(-9e+40),...
+'vibrational_mode','')
 ;}})
 ;}},...
-'time',double(-9.0000000000000006360851714687e+40),...
+'time',double(-9e+40),...
 'total_ion_energy',{{struct(...
 'coefficients',double([]),...
-'coefficients_error_index',double(-999999999),...
+'coefficients_error_index',int32(-999999999),...
 'coefficients_error_lower',double([]),...
 'coefficients_error_upper',double([]),...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
 'values',double([]),...
-'values_error_index',double(-999999999),...
+'values_error_index',int32(-999999999),...
 'values_error_lower',double([]),...
 'values_error_upper',double([]))
 ;}})
@@ -540,111 +544,111 @@ struct(...
 'ggd_fast',{{struct(...
 'ion',{{struct(...
 'element',{{struct(...
-'a',double(-9.0000000000000006360851714687e+40),...
-'a_error_index',double(-999999999),...
-'a_error_lower',double(-9.0000000000000006360851714687e+40),...
-'a_error_upper',double(-9.0000000000000006360851714687e+40),...
-'atoms_n',double(-999999999),...
-'multiplicity',double(-9.0000000000000006360851714687e+40),...
-'multiplicity_error_index',double(-999999999),...
-'multiplicity_error_lower',double(-9.0000000000000006360851714687e+40),...
-'multiplicity_error_upper',double(-9.0000000000000006360851714687e+40),...
-'z_n',double(-9.0000000000000006360851714687e+40),...
-'z_n_error_index',double(-999999999),...
-'z_n_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_n_error_upper',double(-9.0000000000000006360851714687e+40))
-;}},...
-'label',double([]),...
-'neutral_index',double(-999999999),...
+'a',double(-9e+40),...
+'a_error_index',int32(-999999999),...
+'a_error_lower',double(-9e+40),...
+'a_error_upper',double(-9e+40),...
+'atoms_n',int32(-999999999),...
+'multiplicity',double(-9e+40),...
+'multiplicity_error_index',int32(-999999999),...
+'multiplicity_error_lower',double(-9e+40),...
+'multiplicity_error_upper',double(-9e+40),...
+'z_n',double(-9e+40),...
+'z_n_error_index',int32(-999999999),...
+'z_n_error_lower',double(-9e+40),...
+'z_n_error_upper',double(-9e+40))
+;}},...
+'label','',...
+'neutral_index',int32(-999999999),...
 'power',{{struct(...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
-'value',double(-9.0000000000000006360851714687e+40),...
-'value_error_index',double(-999999999),...
-'value_error_lower',double(-9.0000000000000006360851714687e+40),...
-'value_error_upper',double(-9.0000000000000006360851714687e+40))
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
+'value',double(-9e+40),...
+'value_error_index',int32(-999999999),...
+'value_error_lower',double(-9e+40),...
+'value_error_upper',double(-9e+40))
 ;}},...
-'z_ion',double(-9.0000000000000006360851714687e+40),...
-'z_ion_error_index',double(-999999999),...
-'z_ion_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_ion_error_upper',double(-9.0000000000000006360851714687e+40))
+'z_ion',double(-9e+40),...
+'z_ion_error_index',int32(-999999999),...
+'z_ion_error_lower',double(-9e+40),...
+'z_ion_error_upper',double(-9e+40))
 ;}},...
-'time',double(-9.0000000000000006360851714687e+40))
+'time',double(-9e+40))
 ;}},...
 'identifier',struct(...
-'description',double([]),...
-'index',double(-999999999),...
-'name',double([])),...
+'description','',...
+'index',int32(-999999999),...
+'name',''),...
 'species',struct(...
 'ion',struct(...
 'element',{{struct(...
-'a',double(-9.0000000000000006360851714687e+40),...
-'a_error_index',double(-999999999),...
-'a_error_lower',double(-9.0000000000000006360851714687e+40),...
-'a_error_upper',double(-9.0000000000000006360851714687e+40),...
-'atoms_n',double(-999999999),...
-'multiplicity',double(-9.0000000000000006360851714687e+40),...
-'multiplicity_error_index',double(-999999999),...
-'multiplicity_error_lower',double(-9.0000000000000006360851714687e+40),...
-'multiplicity_error_upper',double(-9.0000000000000006360851714687e+40),...
-'z_n',double(-9.0000000000000006360851714687e+40),...
-'z_n_error_index',double(-999999999),...
-'z_n_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_n_error_upper',double(-9.0000000000000006360851714687e+40))
-;}},...
-'label',double([]),...
+'a',double(-9e+40),...
+'a_error_index',int32(-999999999),...
+'a_error_lower',double(-9e+40),...
+'a_error_upper',double(-9e+40),...
+'atoms_n',int32(-999999999),...
+'multiplicity',double(-9e+40),...
+'multiplicity_error_index',int32(-999999999),...
+'multiplicity_error_lower',double(-9e+40),...
+'multiplicity_error_upper',double(-9e+40),...
+'z_n',double(-9e+40),...
+'z_n_error_index',int32(-999999999),...
+'z_n_error_lower',double(-9e+40),...
+'z_n_error_upper',double(-9e+40))
+;}},...
+'label','',...
 'state',struct(...
-'electron_configuration',double([]),...
-'label',double([]),...
-'vibrational_level',double(-9.0000000000000006360851714687e+40),...
-'vibrational_level_error_index',double(-999999999),...
-'vibrational_level_error_lower',double(-9.0000000000000006360851714687e+40),...
-'vibrational_level_error_upper',double(-9.0000000000000006360851714687e+40),...
-'vibrational_mode',double([]),...
-'z_max',double(-9.0000000000000006360851714687e+40),...
-'z_max_error_index',double(-999999999),...
-'z_max_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_max_error_upper',double(-9.0000000000000006360851714687e+40),...
-'z_min',double(-9.0000000000000006360851714687e+40),...
-'z_min_error_index',double(-999999999),...
-'z_min_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_min_error_upper',double(-9.0000000000000006360851714687e+40)),...
-'z_ion',double(-9.0000000000000006360851714687e+40),...
-'z_ion_error_index',double(-999999999),...
-'z_ion_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_ion_error_upper',double(-9.0000000000000006360851714687e+40)),...
+'electron_configuration','',...
+'label','',...
+'vibrational_level',double(-9e+40),...
+'vibrational_level_error_index',int32(-999999999),...
+'vibrational_level_error_lower',double(-9e+40),...
+'vibrational_level_error_upper',double(-9e+40),...
+'vibrational_mode','',...
+'z_max',double(-9e+40),...
+'z_max_error_index',int32(-999999999),...
+'z_max_error_lower',double(-9e+40),...
+'z_max_error_upper',double(-9e+40),...
+'z_min',double(-9e+40),...
+'z_min_error_index',int32(-999999999),...
+'z_min_error_lower',double(-9e+40),...
+'z_min_error_upper',double(-9e+40)),...
+'z_ion',double(-9e+40),...
+'z_ion_error_index',int32(-999999999),...
+'z_ion_error_lower',double(-9e+40),...
+'z_ion_error_upper',double(-9e+40)),...
 'neutral',struct(...
 'element',{{struct(...
-'a',double(-9.0000000000000006360851714687e+40),...
-'a_error_index',double(-999999999),...
-'a_error_lower',double(-9.0000000000000006360851714687e+40),...
-'a_error_upper',double(-9.0000000000000006360851714687e+40),...
-'atoms_n',double(-999999999),...
-'multiplicity',double(-9.0000000000000006360851714687e+40),...
-'multiplicity_error_index',double(-999999999),...
-'multiplicity_error_lower',double(-9.0000000000000006360851714687e+40),...
-'multiplicity_error_upper',double(-9.0000000000000006360851714687e+40),...
-'z_n',double(-9.0000000000000006360851714687e+40),...
-'z_n_error_index',double(-999999999),...
-'z_n_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_n_error_upper',double(-9.0000000000000006360851714687e+40))
-;}},...
-'label',double([]),...
+'a',double(-9e+40),...
+'a_error_index',int32(-999999999),...
+'a_error_lower',double(-9e+40),...
+'a_error_upper',double(-9e+40),...
+'atoms_n',int32(-999999999),...
+'multiplicity',double(-9e+40),...
+'multiplicity_error_index',int32(-999999999),...
+'multiplicity_error_lower',double(-9e+40),...
+'multiplicity_error_upper',double(-9e+40),...
+'z_n',double(-9e+40),...
+'z_n_error_index',int32(-999999999),...
+'z_n_error_lower',double(-9e+40),...
+'z_n_error_upper',double(-9e+40))
+;}},...
+'label','',...
 'state',struct(...
-'electron_configuration',double([]),...
-'label',double([]),...
+'electron_configuration','',...
+'label','',...
 'neutral_type',struct(...
-'description',double([]),...
-'index',double(-999999999),...
-'name',double([])),...
-'vibrational_level',double(-9.0000000000000006360851714687e+40),...
-'vibrational_level_error_index',double(-999999999),...
-'vibrational_level_error_lower',double(-9.0000000000000006360851714687e+40),...
-'vibrational_level_error_upper',double(-9.0000000000000006360851714687e+40),...
-'vibrational_mode',double([]))),...
+'description','',...
+'index',int32(-999999999),...
+'name',''),...
+'vibrational_level',double(-9e+40),...
+'vibrational_level_error_index',int32(-999999999),...
+'vibrational_level_error_lower',double(-9e+40),...
+'vibrational_level_error_upper',double(-9e+40),...
+'vibrational_mode','')),...
 'type',struct(...
-'description',double([]),...
-'index',double(-999999999),...
-'name',double([]))))
+'description','',...
+'index',int32(-999999999),...
+'name','')))
 ;}},...
 'time',double([]));
diff --git a/matlab/TCV_IMAS/ids_empty/ids_empty_edge_transport.m b/matlab/TCV_IMAS/ids_empty/ids_empty_edge_transport.m
index fb9b3714b15736cacbcd3ca6ad61b1024507714f..a9e4b305b1038012c060bab45ed5185af71ac993 100644
--- a/matlab/TCV_IMAS/ids_empty/ids_empty_edge_transport.m
+++ b/matlab/TCV_IMAS/ids_empty/ids_empty_edge_transport.m
@@ -6,141 +6,145 @@ function S = ids_empty_edge_transport
 S = ... 
 struct(...
 'code',struct(...
-'commit',double([]),...
-'name',double([]),...
-'output_flag',double([]),...
-'parameters',double([]),...
-'repository',double([]),...
-'version',double([])),...
+'commit','',...
+'name','',...
+'output_flag',int32([]),...
+'parameters','',...
+'repository','',...
+'version',''),...
 'grid_ggd',{{struct(...
 'grid_subset',{{struct(...
 'base',{{struct(...
 'jacobian',double([]),...
-'jacobian_error_index',double(-999999999),...
+'jacobian_error_index',int32(-999999999),...
 'jacobian_error_lower',double([]),...
 'jacobian_error_upper',double([]),...
 'tensor_contravariant',double([]),...
-'tensor_contravariant_error_index',double(-999999999),...
+'tensor_contravariant_error_index',int32(-999999999),...
 'tensor_contravariant_error_lower',double([]),...
 'tensor_contravariant_error_upper',double([]),...
 'tensor_covariant',double([]),...
-'tensor_covariant_error_index',double(-999999999),...
+'tensor_covariant_error_index',int32(-999999999),...
 'tensor_covariant_error_lower',double([]),...
 'tensor_covariant_error_upper',double([]))
 ;}},...
-'dimension',double(-999999999),...
+'dimension',int32(-999999999),...
 'element',{{struct(...
 'object',{{struct(...
-'dimension',double(-999999999),...
-'index',double(-999999999),...
-'space',double(-999999999))
+'dimension',int32(-999999999),...
+'index',int32(-999999999),...
+'space',int32(-999999999))
 ;}})
 ;}},...
 'identifier',struct(...
-'description',double([]),...
-'index',double(-999999999),...
-'name',double([])),...
+'description','',...
+'index',int32(-999999999),...
+'name',''),...
 'metric',struct(...
 'jacobian',double([]),...
-'jacobian_error_index',double(-999999999),...
+'jacobian_error_index',int32(-999999999),...
 'jacobian_error_lower',double([]),...
 'jacobian_error_upper',double([]),...
 'tensor_contravariant',double([]),...
-'tensor_contravariant_error_index',double(-999999999),...
+'tensor_contravariant_error_index',int32(-999999999),...
 'tensor_contravariant_error_lower',double([]),...
 'tensor_contravariant_error_upper',double([]),...
 'tensor_covariant',double([]),...
-'tensor_covariant_error_index',double(-999999999),...
+'tensor_covariant_error_index',int32(-999999999),...
 'tensor_covariant_error_lower',double([]),...
 'tensor_covariant_error_upper',double([])))
 ;}},...
 'identifier',struct(...
-'description',double([]),...
-'index',double(-999999999),...
-'name',double([])),...
+'description','',...
+'index',int32(-999999999),...
+'name',''),...
 'space',{{struct(...
-'coordinates_type',double([]),...
+'coordinates_type',int32([]),...
 'geometry_type',struct(...
-'description',double([]),...
-'index',double(-999999999),...
-'name',double([])),...
+'description','',...
+'index',int32(-999999999),...
+'name',''),...
 'identifier',struct(...
-'description',double([]),...
-'index',double(-999999999),...
-'name',double([])),...
+'description','',...
+'index',int32(-999999999),...
+'name',''),...
 'objects_per_dimension',{{struct(...
 'object',{{struct(...
 'boundary',{{struct(...
-'index',double(-999999999),...
-'neighbours',double([]))
+'index',int32(-999999999),...
+'neighbours',int32([]))
 ;}},...
 'geometry',double([]),...
-'geometry_error_index',double(-999999999),...
+'geometry_error_index',int32(-999999999),...
 'geometry_error_lower',double([]),...
 'geometry_error_upper',double([]),...
-'measure',double(-9.0000000000000006360851714687e+40),...
-'measure_error_index',double(-999999999),...
-'measure_error_lower',double(-9.0000000000000006360851714687e+40),...
-'measure_error_upper',double(-9.0000000000000006360851714687e+40),...
-'nodes',double([]))
+'measure',double(-9e+40),...
+'measure_error_index',int32(-999999999),...
+'measure_error_lower',double(-9e+40),...
+'measure_error_upper',double(-9e+40),...
+'nodes',int32([]))
 ;}})
 ;}})
 ;}},...
-'time',double(-9.0000000000000006360851714687e+40))
+'time',double(-9e+40))
 ;}},...
 'ids_properties',struct(...
-'comment',double([]),...
-'creation_date',double([]),...
-'homogeneous_time',double(-999999999),...
-'provider',double([]),...
-'source',double([])),...
+'comment','',...
+'creation_date','',...
+'homogeneous_time',int32(-999999999),...
+'provider','',...
+'source','',...
+'version_put',struct(...
+'access_layer','',...
+'access_layer_language','',...
+'data_dictionary','')),...
 'model',{{struct(...
-'flux_multiplier',double(-9.0000000000000006360851714687e+40),...
-'flux_multiplier_error_index',double(-999999999),...
-'flux_multiplier_error_lower',double(-9.0000000000000006360851714687e+40),...
-'flux_multiplier_error_upper',double(-9.0000000000000006360851714687e+40),...
+'flux_multiplier',double(-9e+40),...
+'flux_multiplier_error_index',int32(-999999999),...
+'flux_multiplier_error_lower',double(-9e+40),...
+'flux_multiplier_error_upper',double(-9e+40),...
 'ggd',{{struct(...
 'conductivity',{{struct(...
 'diamagnetic',double([]),...
 'diamagnetic_coefficients',double([]),...
-'diamagnetic_coefficients_error_index',double(-999999999),...
+'diamagnetic_coefficients_error_index',int32(-999999999),...
 'diamagnetic_coefficients_error_lower',double([]),...
 'diamagnetic_coefficients_error_upper',double([]),...
-'diamagnetic_error_index',double(-999999999),...
+'diamagnetic_error_index',int32(-999999999),...
 'diamagnetic_error_lower',double([]),...
 'diamagnetic_error_upper',double([]),...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
 'parallel',double([]),...
 'parallel_coefficients',double([]),...
-'parallel_coefficients_error_index',double(-999999999),...
+'parallel_coefficients_error_index',int32(-999999999),...
 'parallel_coefficients_error_lower',double([]),...
 'parallel_coefficients_error_upper',double([]),...
-'parallel_error_index',double(-999999999),...
+'parallel_error_index',int32(-999999999),...
 'parallel_error_lower',double([]),...
 'parallel_error_upper',double([]),...
 'poloidal',double([]),...
 'poloidal_coefficients',double([]),...
-'poloidal_coefficients_error_index',double(-999999999),...
+'poloidal_coefficients_error_index',int32(-999999999),...
 'poloidal_coefficients_error_lower',double([]),...
 'poloidal_coefficients_error_upper',double([]),...
-'poloidal_error_index',double(-999999999),...
+'poloidal_error_index',int32(-999999999),...
 'poloidal_error_lower',double([]),...
 'poloidal_error_upper',double([]),...
 'radial',double([]),...
 'radial_coefficients',double([]),...
-'radial_coefficients_error_index',double(-999999999),...
+'radial_coefficients_error_index',int32(-999999999),...
 'radial_coefficients_error_lower',double([]),...
 'radial_coefficients_error_upper',double([]),...
-'radial_error_index',double(-999999999),...
+'radial_error_index',int32(-999999999),...
 'radial_error_lower',double([]),...
 'radial_error_upper',double([]),...
 'toroidal',double([]),...
 'toroidal_coefficients',double([]),...
-'toroidal_coefficients_error_index',double(-999999999),...
+'toroidal_coefficients_error_index',int32(-999999999),...
 'toroidal_coefficients_error_lower',double([]),...
 'toroidal_coefficients_error_upper',double([]),...
-'toroidal_error_index',double(-999999999),...
+'toroidal_error_index',int32(-999999999),...
 'toroidal_error_lower',double([]),...
 'toroidal_error_upper',double([]))
 ;}},...
@@ -148,1499 +152,1499 @@ struct(...
 'energy',struct(...
 'd',{{struct(...
 'coefficients',double([]),...
-'coefficients_error_index',double(-999999999),...
+'coefficients_error_index',int32(-999999999),...
 'coefficients_error_lower',double([]),...
 'coefficients_error_upper',double([]),...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
 'values',double([]),...
-'values_error_index',double(-999999999),...
+'values_error_index',int32(-999999999),...
 'values_error_lower',double([]),...
 'values_error_upper',double([]))
 ;}},...
 'flux',{{struct(...
 'coefficients',double([]),...
-'coefficients_error_index',double(-999999999),...
+'coefficients_error_index',int32(-999999999),...
 'coefficients_error_lower',double([]),...
 'coefficients_error_upper',double([]),...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
 'values',double([]),...
-'values_error_index',double(-999999999),...
+'values_error_index',int32(-999999999),...
 'values_error_lower',double([]),...
 'values_error_upper',double([]))
 ;}},...
 'flux_limiter',{{struct(...
 'coefficients',double([]),...
-'coefficients_error_index',double(-999999999),...
+'coefficients_error_index',int32(-999999999),...
 'coefficients_error_lower',double([]),...
 'coefficients_error_upper',double([]),...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
 'values',double([]),...
-'values_error_index',double(-999999999),...
+'values_error_index',int32(-999999999),...
 'values_error_lower',double([]),...
 'values_error_upper',double([]))
 ;}},...
 'v',{{struct(...
 'coefficients',double([]),...
-'coefficients_error_index',double(-999999999),...
+'coefficients_error_index',int32(-999999999),...
 'coefficients_error_lower',double([]),...
 'coefficients_error_upper',double([]),...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
 'values',double([]),...
-'values_error_index',double(-999999999),...
+'values_error_index',int32(-999999999),...
 'values_error_lower',double([]),...
 'values_error_upper',double([]))
 ;}}),...
 'particles',struct(...
 'd',{{struct(...
 'coefficients',double([]),...
-'coefficients_error_index',double(-999999999),...
+'coefficients_error_index',int32(-999999999),...
 'coefficients_error_lower',double([]),...
 'coefficients_error_upper',double([]),...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
 'values',double([]),...
-'values_error_index',double(-999999999),...
+'values_error_index',int32(-999999999),...
 'values_error_lower',double([]),...
 'values_error_upper',double([]))
 ;}},...
 'flux',{{struct(...
 'coefficients',double([]),...
-'coefficients_error_index',double(-999999999),...
+'coefficients_error_index',int32(-999999999),...
 'coefficients_error_lower',double([]),...
 'coefficients_error_upper',double([]),...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
 'values',double([]),...
-'values_error_index',double(-999999999),...
+'values_error_index',int32(-999999999),...
 'values_error_lower',double([]),...
 'values_error_upper',double([]))
 ;}},...
 'flux_limiter',{{struct(...
 'coefficients',double([]),...
-'coefficients_error_index',double(-999999999),...
+'coefficients_error_index',int32(-999999999),...
 'coefficients_error_lower',double([]),...
 'coefficients_error_upper',double([]),...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
 'values',double([]),...
-'values_error_index',double(-999999999),...
+'values_error_index',int32(-999999999),...
 'values_error_lower',double([]),...
 'values_error_upper',double([]))
 ;}},...
 'v',{{struct(...
 'coefficients',double([]),...
-'coefficients_error_index',double(-999999999),...
+'coefficients_error_index',int32(-999999999),...
 'coefficients_error_lower',double([]),...
 'coefficients_error_upper',double([]),...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
 'values',double([]),...
-'values_error_index',double(-999999999),...
+'values_error_index',int32(-999999999),...
 'values_error_lower',double([]),...
 'values_error_upper',double([]))
 ;}})),...
 'ion',{{struct(...
 'element',{{struct(...
-'a',double(-9.0000000000000006360851714687e+40),...
-'a_error_index',double(-999999999),...
-'a_error_lower',double(-9.0000000000000006360851714687e+40),...
-'a_error_upper',double(-9.0000000000000006360851714687e+40),...
-'atoms_n',double(-999999999),...
-'multiplicity',double(-9.0000000000000006360851714687e+40),...
-'multiplicity_error_index',double(-999999999),...
-'multiplicity_error_lower',double(-9.0000000000000006360851714687e+40),...
-'multiplicity_error_upper',double(-9.0000000000000006360851714687e+40),...
-'z_n',double(-9.0000000000000006360851714687e+40),...
-'z_n_error_index',double(-999999999),...
-'z_n_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_n_error_upper',double(-9.0000000000000006360851714687e+40))
+'a',double(-9e+40),...
+'a_error_index',int32(-999999999),...
+'a_error_lower',double(-9e+40),...
+'a_error_upper',double(-9e+40),...
+'atoms_n',int32(-999999999),...
+'multiplicity',double(-9e+40),...
+'multiplicity_error_index',int32(-999999999),...
+'multiplicity_error_lower',double(-9e+40),...
+'multiplicity_error_upper',double(-9e+40),...
+'z_n',double(-9e+40),...
+'z_n_error_index',int32(-999999999),...
+'z_n_error_lower',double(-9e+40),...
+'z_n_error_upper',double(-9e+40))
 ;}},...
 'energy',struct(...
 'd',{{struct(...
 'coefficients',double([]),...
-'coefficients_error_index',double(-999999999),...
+'coefficients_error_index',int32(-999999999),...
 'coefficients_error_lower',double([]),...
 'coefficients_error_upper',double([]),...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
 'values',double([]),...
-'values_error_index',double(-999999999),...
+'values_error_index',int32(-999999999),...
 'values_error_lower',double([]),...
 'values_error_upper',double([]))
 ;}},...
 'flux',{{struct(...
 'coefficients',double([]),...
-'coefficients_error_index',double(-999999999),...
+'coefficients_error_index',int32(-999999999),...
 'coefficients_error_lower',double([]),...
 'coefficients_error_upper',double([]),...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
 'values',double([]),...
-'values_error_index',double(-999999999),...
+'values_error_index',int32(-999999999),...
 'values_error_lower',double([]),...
 'values_error_upper',double([]))
 ;}},...
 'flux_limiter',{{struct(...
 'coefficients',double([]),...
-'coefficients_error_index',double(-999999999),...
+'coefficients_error_index',int32(-999999999),...
 'coefficients_error_lower',double([]),...
 'coefficients_error_upper',double([]),...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
 'values',double([]),...
-'values_error_index',double(-999999999),...
+'values_error_index',int32(-999999999),...
 'values_error_lower',double([]),...
 'values_error_upper',double([]))
 ;}},...
 'v',{{struct(...
 'coefficients',double([]),...
-'coefficients_error_index',double(-999999999),...
+'coefficients_error_index',int32(-999999999),...
 'coefficients_error_lower',double([]),...
 'coefficients_error_upper',double([]),...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
 'values',double([]),...
-'values_error_index',double(-999999999),...
+'values_error_index',int32(-999999999),...
 'values_error_lower',double([]),...
 'values_error_upper',double([]))
 ;}}),...
-'label',double([]),...
+'label','',...
 'momentum',struct(...
 'd',{{struct(...
 'diamagnetic',double([]),...
 'diamagnetic_coefficients',double([]),...
-'diamagnetic_coefficients_error_index',double(-999999999),...
+'diamagnetic_coefficients_error_index',int32(-999999999),...
 'diamagnetic_coefficients_error_lower',double([]),...
 'diamagnetic_coefficients_error_upper',double([]),...
-'diamagnetic_error_index',double(-999999999),...
+'diamagnetic_error_index',int32(-999999999),...
 'diamagnetic_error_lower',double([]),...
 'diamagnetic_error_upper',double([]),...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
 'parallel',double([]),...
 'parallel_coefficients',double([]),...
-'parallel_coefficients_error_index',double(-999999999),...
+'parallel_coefficients_error_index',int32(-999999999),...
 'parallel_coefficients_error_lower',double([]),...
 'parallel_coefficients_error_upper',double([]),...
-'parallel_error_index',double(-999999999),...
+'parallel_error_index',int32(-999999999),...
 'parallel_error_lower',double([]),...
 'parallel_error_upper',double([]),...
 'poloidal',double([]),...
 'poloidal_coefficients',double([]),...
-'poloidal_coefficients_error_index',double(-999999999),...
+'poloidal_coefficients_error_index',int32(-999999999),...
 'poloidal_coefficients_error_lower',double([]),...
 'poloidal_coefficients_error_upper',double([]),...
-'poloidal_error_index',double(-999999999),...
+'poloidal_error_index',int32(-999999999),...
 'poloidal_error_lower',double([]),...
 'poloidal_error_upper',double([]),...
 'radial',double([]),...
 'radial_coefficients',double([]),...
-'radial_coefficients_error_index',double(-999999999),...
+'radial_coefficients_error_index',int32(-999999999),...
 'radial_coefficients_error_lower',double([]),...
 'radial_coefficients_error_upper',double([]),...
-'radial_error_index',double(-999999999),...
+'radial_error_index',int32(-999999999),...
 'radial_error_lower',double([]),...
 'radial_error_upper',double([]),...
 'toroidal',double([]),...
 'toroidal_coefficients',double([]),...
-'toroidal_coefficients_error_index',double(-999999999),...
+'toroidal_coefficients_error_index',int32(-999999999),...
 'toroidal_coefficients_error_lower',double([]),...
 'toroidal_coefficients_error_upper',double([]),...
-'toroidal_error_index',double(-999999999),...
+'toroidal_error_index',int32(-999999999),...
 'toroidal_error_lower',double([]),...
 'toroidal_error_upper',double([]))
 ;}},...
 'flux',{{struct(...
 'diamagnetic',double([]),...
 'diamagnetic_coefficients',double([]),...
-'diamagnetic_coefficients_error_index',double(-999999999),...
+'diamagnetic_coefficients_error_index',int32(-999999999),...
 'diamagnetic_coefficients_error_lower',double([]),...
 'diamagnetic_coefficients_error_upper',double([]),...
-'diamagnetic_error_index',double(-999999999),...
+'diamagnetic_error_index',int32(-999999999),...
 'diamagnetic_error_lower',double([]),...
 'diamagnetic_error_upper',double([]),...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
 'parallel',double([]),...
 'parallel_coefficients',double([]),...
-'parallel_coefficients_error_index',double(-999999999),...
+'parallel_coefficients_error_index',int32(-999999999),...
 'parallel_coefficients_error_lower',double([]),...
 'parallel_coefficients_error_upper',double([]),...
-'parallel_error_index',double(-999999999),...
+'parallel_error_index',int32(-999999999),...
 'parallel_error_lower',double([]),...
 'parallel_error_upper',double([]),...
 'poloidal',double([]),...
 'poloidal_coefficients',double([]),...
-'poloidal_coefficients_error_index',double(-999999999),...
+'poloidal_coefficients_error_index',int32(-999999999),...
 'poloidal_coefficients_error_lower',double([]),...
 'poloidal_coefficients_error_upper',double([]),...
-'poloidal_error_index',double(-999999999),...
+'poloidal_error_index',int32(-999999999),...
 'poloidal_error_lower',double([]),...
 'poloidal_error_upper',double([]),...
 'radial',double([]),...
 'radial_coefficients',double([]),...
-'radial_coefficients_error_index',double(-999999999),...
+'radial_coefficients_error_index',int32(-999999999),...
 'radial_coefficients_error_lower',double([]),...
 'radial_coefficients_error_upper',double([]),...
-'radial_error_index',double(-999999999),...
+'radial_error_index',int32(-999999999),...
 'radial_error_lower',double([]),...
 'radial_error_upper',double([]),...
 'toroidal',double([]),...
 'toroidal_coefficients',double([]),...
-'toroidal_coefficients_error_index',double(-999999999),...
+'toroidal_coefficients_error_index',int32(-999999999),...
 'toroidal_coefficients_error_lower',double([]),...
 'toroidal_coefficients_error_upper',double([]),...
-'toroidal_error_index',double(-999999999),...
+'toroidal_error_index',int32(-999999999),...
 'toroidal_error_lower',double([]),...
 'toroidal_error_upper',double([]))
 ;}},...
 'flux_limiter',{{struct(...
 'diamagnetic',double([]),...
 'diamagnetic_coefficients',double([]),...
-'diamagnetic_coefficients_error_index',double(-999999999),...
+'diamagnetic_coefficients_error_index',int32(-999999999),...
 'diamagnetic_coefficients_error_lower',double([]),...
 'diamagnetic_coefficients_error_upper',double([]),...
-'diamagnetic_error_index',double(-999999999),...
+'diamagnetic_error_index',int32(-999999999),...
 'diamagnetic_error_lower',double([]),...
 'diamagnetic_error_upper',double([]),...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
 'parallel',double([]),...
 'parallel_coefficients',double([]),...
-'parallel_coefficients_error_index',double(-999999999),...
+'parallel_coefficients_error_index',int32(-999999999),...
 'parallel_coefficients_error_lower',double([]),...
 'parallel_coefficients_error_upper',double([]),...
-'parallel_error_index',double(-999999999),...
+'parallel_error_index',int32(-999999999),...
 'parallel_error_lower',double([]),...
 'parallel_error_upper',double([]),...
 'poloidal',double([]),...
 'poloidal_coefficients',double([]),...
-'poloidal_coefficients_error_index',double(-999999999),...
+'poloidal_coefficients_error_index',int32(-999999999),...
 'poloidal_coefficients_error_lower',double([]),...
 'poloidal_coefficients_error_upper',double([]),...
-'poloidal_error_index',double(-999999999),...
+'poloidal_error_index',int32(-999999999),...
 'poloidal_error_lower',double([]),...
 'poloidal_error_upper',double([]),...
 'radial',double([]),...
 'radial_coefficients',double([]),...
-'radial_coefficients_error_index',double(-999999999),...
+'radial_coefficients_error_index',int32(-999999999),...
 'radial_coefficients_error_lower',double([]),...
 'radial_coefficients_error_upper',double([]),...
-'radial_error_index',double(-999999999),...
+'radial_error_index',int32(-999999999),...
 'radial_error_lower',double([]),...
 'radial_error_upper',double([]),...
 'toroidal',double([]),...
 'toroidal_coefficients',double([]),...
-'toroidal_coefficients_error_index',double(-999999999),...
+'toroidal_coefficients_error_index',int32(-999999999),...
 'toroidal_coefficients_error_lower',double([]),...
 'toroidal_coefficients_error_upper',double([]),...
-'toroidal_error_index',double(-999999999),...
+'toroidal_error_index',int32(-999999999),...
 'toroidal_error_lower',double([]),...
 'toroidal_error_upper',double([]))
 ;}},...
 'v',{{struct(...
 'diamagnetic',double([]),...
 'diamagnetic_coefficients',double([]),...
-'diamagnetic_coefficients_error_index',double(-999999999),...
+'diamagnetic_coefficients_error_index',int32(-999999999),...
 'diamagnetic_coefficients_error_lower',double([]),...
 'diamagnetic_coefficients_error_upper',double([]),...
-'diamagnetic_error_index',double(-999999999),...
+'diamagnetic_error_index',int32(-999999999),...
 'diamagnetic_error_lower',double([]),...
 'diamagnetic_error_upper',double([]),...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
 'parallel',double([]),...
 'parallel_coefficients',double([]),...
-'parallel_coefficients_error_index',double(-999999999),...
+'parallel_coefficients_error_index',int32(-999999999),...
 'parallel_coefficients_error_lower',double([]),...
 'parallel_coefficients_error_upper',double([]),...
-'parallel_error_index',double(-999999999),...
+'parallel_error_index',int32(-999999999),...
 'parallel_error_lower',double([]),...
 'parallel_error_upper',double([]),...
 'poloidal',double([]),...
 'poloidal_coefficients',double([]),...
-'poloidal_coefficients_error_index',double(-999999999),...
+'poloidal_coefficients_error_index',int32(-999999999),...
 'poloidal_coefficients_error_lower',double([]),...
 'poloidal_coefficients_error_upper',double([]),...
-'poloidal_error_index',double(-999999999),...
+'poloidal_error_index',int32(-999999999),...
 'poloidal_error_lower',double([]),...
 'poloidal_error_upper',double([]),...
 'radial',double([]),...
 'radial_coefficients',double([]),...
-'radial_coefficients_error_index',double(-999999999),...
+'radial_coefficients_error_index',int32(-999999999),...
 'radial_coefficients_error_lower',double([]),...
 'radial_coefficients_error_upper',double([]),...
-'radial_error_index',double(-999999999),...
+'radial_error_index',int32(-999999999),...
 'radial_error_lower',double([]),...
 'radial_error_upper',double([]),...
 'toroidal',double([]),...
 'toroidal_coefficients',double([]),...
-'toroidal_coefficients_error_index',double(-999999999),...
+'toroidal_coefficients_error_index',int32(-999999999),...
 'toroidal_coefficients_error_lower',double([]),...
 'toroidal_coefficients_error_upper',double([]),...
-'toroidal_error_index',double(-999999999),...
+'toroidal_error_index',int32(-999999999),...
 'toroidal_error_lower',double([]),...
 'toroidal_error_upper',double([]))
 ;}}),...
-'multiple_states_flag',double(-999999999),...
-'neutral_index',double(-999999999),...
+'multiple_states_flag',int32(-999999999),...
+'neutral_index',int32(-999999999),...
 'particles',struct(...
 'd',{{struct(...
 'coefficients',double([]),...
-'coefficients_error_index',double(-999999999),...
+'coefficients_error_index',int32(-999999999),...
 'coefficients_error_lower',double([]),...
 'coefficients_error_upper',double([]),...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
 'values',double([]),...
-'values_error_index',double(-999999999),...
+'values_error_index',int32(-999999999),...
 'values_error_lower',double([]),...
 'values_error_upper',double([]))
 ;}},...
 'flux',{{struct(...
 'coefficients',double([]),...
-'coefficients_error_index',double(-999999999),...
+'coefficients_error_index',int32(-999999999),...
 'coefficients_error_lower',double([]),...
 'coefficients_error_upper',double([]),...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
 'values',double([]),...
-'values_error_index',double(-999999999),...
+'values_error_index',int32(-999999999),...
 'values_error_lower',double([]),...
 'values_error_upper',double([]))
 ;}},...
 'flux_limiter',{{struct(...
 'coefficients',double([]),...
-'coefficients_error_index',double(-999999999),...
+'coefficients_error_index',int32(-999999999),...
 'coefficients_error_lower',double([]),...
 'coefficients_error_upper',double([]),...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
 'values',double([]),...
-'values_error_index',double(-999999999),...
+'values_error_index',int32(-999999999),...
 'values_error_lower',double([]),...
 'values_error_upper',double([]))
 ;}},...
 'v',{{struct(...
 'coefficients',double([]),...
-'coefficients_error_index',double(-999999999),...
+'coefficients_error_index',int32(-999999999),...
 'coefficients_error_lower',double([]),...
 'coefficients_error_upper',double([]),...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
 'values',double([]),...
-'values_error_index',double(-999999999),...
+'values_error_index',int32(-999999999),...
 'values_error_lower',double([]),...
 'values_error_upper',double([]))
 ;}}),...
 'state',{{struct(...
-'electron_configuration',double([]),...
+'electron_configuration','',...
 'energy',struct(...
 'd',{{struct(...
 'coefficients',double([]),...
-'coefficients_error_index',double(-999999999),...
+'coefficients_error_index',int32(-999999999),...
 'coefficients_error_lower',double([]),...
 'coefficients_error_upper',double([]),...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
 'values',double([]),...
-'values_error_index',double(-999999999),...
+'values_error_index',int32(-999999999),...
 'values_error_lower',double([]),...
 'values_error_upper',double([]))
 ;}},...
 'flux',{{struct(...
 'coefficients',double([]),...
-'coefficients_error_index',double(-999999999),...
+'coefficients_error_index',int32(-999999999),...
 'coefficients_error_lower',double([]),...
 'coefficients_error_upper',double([]),...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
 'values',double([]),...
-'values_error_index',double(-999999999),...
+'values_error_index',int32(-999999999),...
 'values_error_lower',double([]),...
 'values_error_upper',double([]))
 ;}},...
 'flux_limiter',{{struct(...
 'coefficients',double([]),...
-'coefficients_error_index',double(-999999999),...
+'coefficients_error_index',int32(-999999999),...
 'coefficients_error_lower',double([]),...
 'coefficients_error_upper',double([]),...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
 'values',double([]),...
-'values_error_index',double(-999999999),...
+'values_error_index',int32(-999999999),...
 'values_error_lower',double([]),...
 'values_error_upper',double([]))
 ;}},...
 'v',{{struct(...
 'coefficients',double([]),...
-'coefficients_error_index',double(-999999999),...
+'coefficients_error_index',int32(-999999999),...
 'coefficients_error_lower',double([]),...
 'coefficients_error_upper',double([]),...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
 'values',double([]),...
-'values_error_index',double(-999999999),...
+'values_error_index',int32(-999999999),...
 'values_error_lower',double([]),...
 'values_error_upper',double([]))
 ;}}),...
-'label',double([]),...
+'label','',...
 'momentum',struct(...
 'd',{{struct(...
 'diamagnetic',double([]),...
 'diamagnetic_coefficients',double([]),...
-'diamagnetic_coefficients_error_index',double(-999999999),...
+'diamagnetic_coefficients_error_index',int32(-999999999),...
 'diamagnetic_coefficients_error_lower',double([]),...
 'diamagnetic_coefficients_error_upper',double([]),...
-'diamagnetic_error_index',double(-999999999),...
+'diamagnetic_error_index',int32(-999999999),...
 'diamagnetic_error_lower',double([]),...
 'diamagnetic_error_upper',double([]),...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
 'parallel',double([]),...
 'parallel_coefficients',double([]),...
-'parallel_coefficients_error_index',double(-999999999),...
+'parallel_coefficients_error_index',int32(-999999999),...
 'parallel_coefficients_error_lower',double([]),...
 'parallel_coefficients_error_upper',double([]),...
-'parallel_error_index',double(-999999999),...
+'parallel_error_index',int32(-999999999),...
 'parallel_error_lower',double([]),...
 'parallel_error_upper',double([]),...
 'poloidal',double([]),...
 'poloidal_coefficients',double([]),...
-'poloidal_coefficients_error_index',double(-999999999),...
+'poloidal_coefficients_error_index',int32(-999999999),...
 'poloidal_coefficients_error_lower',double([]),...
 'poloidal_coefficients_error_upper',double([]),...
-'poloidal_error_index',double(-999999999),...
+'poloidal_error_index',int32(-999999999),...
 'poloidal_error_lower',double([]),...
 'poloidal_error_upper',double([]),...
 'radial',double([]),...
 'radial_coefficients',double([]),...
-'radial_coefficients_error_index',double(-999999999),...
+'radial_coefficients_error_index',int32(-999999999),...
 'radial_coefficients_error_lower',double([]),...
 'radial_coefficients_error_upper',double([]),...
-'radial_error_index',double(-999999999),...
+'radial_error_index',int32(-999999999),...
 'radial_error_lower',double([]),...
 'radial_error_upper',double([]),...
 'toroidal',double([]),...
 'toroidal_coefficients',double([]),...
-'toroidal_coefficients_error_index',double(-999999999),...
+'toroidal_coefficients_error_index',int32(-999999999),...
 'toroidal_coefficients_error_lower',double([]),...
 'toroidal_coefficients_error_upper',double([]),...
-'toroidal_error_index',double(-999999999),...
+'toroidal_error_index',int32(-999999999),...
 'toroidal_error_lower',double([]),...
 'toroidal_error_upper',double([]))
 ;}},...
 'flux',{{struct(...
 'diamagnetic',double([]),...
 'diamagnetic_coefficients',double([]),...
-'diamagnetic_coefficients_error_index',double(-999999999),...
+'diamagnetic_coefficients_error_index',int32(-999999999),...
 'diamagnetic_coefficients_error_lower',double([]),...
 'diamagnetic_coefficients_error_upper',double([]),...
-'diamagnetic_error_index',double(-999999999),...
+'diamagnetic_error_index',int32(-999999999),...
 'diamagnetic_error_lower',double([]),...
 'diamagnetic_error_upper',double([]),...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
 'parallel',double([]),...
 'parallel_coefficients',double([]),...
-'parallel_coefficients_error_index',double(-999999999),...
+'parallel_coefficients_error_index',int32(-999999999),...
 'parallel_coefficients_error_lower',double([]),...
 'parallel_coefficients_error_upper',double([]),...
-'parallel_error_index',double(-999999999),...
+'parallel_error_index',int32(-999999999),...
 'parallel_error_lower',double([]),...
 'parallel_error_upper',double([]),...
 'poloidal',double([]),...
 'poloidal_coefficients',double([]),...
-'poloidal_coefficients_error_index',double(-999999999),...
+'poloidal_coefficients_error_index',int32(-999999999),...
 'poloidal_coefficients_error_lower',double([]),...
 'poloidal_coefficients_error_upper',double([]),...
-'poloidal_error_index',double(-999999999),...
+'poloidal_error_index',int32(-999999999),...
 'poloidal_error_lower',double([]),...
 'poloidal_error_upper',double([]),...
 'radial',double([]),...
 'radial_coefficients',double([]),...
-'radial_coefficients_error_index',double(-999999999),...
+'radial_coefficients_error_index',int32(-999999999),...
 'radial_coefficients_error_lower',double([]),...
 'radial_coefficients_error_upper',double([]),...
-'radial_error_index',double(-999999999),...
+'radial_error_index',int32(-999999999),...
 'radial_error_lower',double([]),...
 'radial_error_upper',double([]),...
 'toroidal',double([]),...
 'toroidal_coefficients',double([]),...
-'toroidal_coefficients_error_index',double(-999999999),...
+'toroidal_coefficients_error_index',int32(-999999999),...
 'toroidal_coefficients_error_lower',double([]),...
 'toroidal_coefficients_error_upper',double([]),...
-'toroidal_error_index',double(-999999999),...
+'toroidal_error_index',int32(-999999999),...
 'toroidal_error_lower',double([]),...
 'toroidal_error_upper',double([]))
 ;}},...
 'flux_limiter',{{struct(...
 'diamagnetic',double([]),...
 'diamagnetic_coefficients',double([]),...
-'diamagnetic_coefficients_error_index',double(-999999999),...
+'diamagnetic_coefficients_error_index',int32(-999999999),...
 'diamagnetic_coefficients_error_lower',double([]),...
 'diamagnetic_coefficients_error_upper',double([]),...
-'diamagnetic_error_index',double(-999999999),...
+'diamagnetic_error_index',int32(-999999999),...
 'diamagnetic_error_lower',double([]),...
 'diamagnetic_error_upper',double([]),...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
 'parallel',double([]),...
 'parallel_coefficients',double([]),...
-'parallel_coefficients_error_index',double(-999999999),...
+'parallel_coefficients_error_index',int32(-999999999),...
 'parallel_coefficients_error_lower',double([]),...
 'parallel_coefficients_error_upper',double([]),...
-'parallel_error_index',double(-999999999),...
+'parallel_error_index',int32(-999999999),...
 'parallel_error_lower',double([]),...
 'parallel_error_upper',double([]),...
 'poloidal',double([]),...
 'poloidal_coefficients',double([]),...
-'poloidal_coefficients_error_index',double(-999999999),...
+'poloidal_coefficients_error_index',int32(-999999999),...
 'poloidal_coefficients_error_lower',double([]),...
 'poloidal_coefficients_error_upper',double([]),...
-'poloidal_error_index',double(-999999999),...
+'poloidal_error_index',int32(-999999999),...
 'poloidal_error_lower',double([]),...
 'poloidal_error_upper',double([]),...
 'radial',double([]),...
 'radial_coefficients',double([]),...
-'radial_coefficients_error_index',double(-999999999),...
+'radial_coefficients_error_index',int32(-999999999),...
 'radial_coefficients_error_lower',double([]),...
 'radial_coefficients_error_upper',double([]),...
-'radial_error_index',double(-999999999),...
+'radial_error_index',int32(-999999999),...
 'radial_error_lower',double([]),...
 'radial_error_upper',double([]),...
 'toroidal',double([]),...
 'toroidal_coefficients',double([]),...
-'toroidal_coefficients_error_index',double(-999999999),...
+'toroidal_coefficients_error_index',int32(-999999999),...
 'toroidal_coefficients_error_lower',double([]),...
 'toroidal_coefficients_error_upper',double([]),...
-'toroidal_error_index',double(-999999999),...
+'toroidal_error_index',int32(-999999999),...
 'toroidal_error_lower',double([]),...
 'toroidal_error_upper',double([]))
 ;}},...
 'v',{{struct(...
 'diamagnetic',double([]),...
 'diamagnetic_coefficients',double([]),...
-'diamagnetic_coefficients_error_index',double(-999999999),...
+'diamagnetic_coefficients_error_index',int32(-999999999),...
 'diamagnetic_coefficients_error_lower',double([]),...
 'diamagnetic_coefficients_error_upper',double([]),...
-'diamagnetic_error_index',double(-999999999),...
+'diamagnetic_error_index',int32(-999999999),...
 'diamagnetic_error_lower',double([]),...
 'diamagnetic_error_upper',double([]),...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
 'parallel',double([]),...
 'parallel_coefficients',double([]),...
-'parallel_coefficients_error_index',double(-999999999),...
+'parallel_coefficients_error_index',int32(-999999999),...
 'parallel_coefficients_error_lower',double([]),...
 'parallel_coefficients_error_upper',double([]),...
-'parallel_error_index',double(-999999999),...
+'parallel_error_index',int32(-999999999),...
 'parallel_error_lower',double([]),...
 'parallel_error_upper',double([]),...
 'poloidal',double([]),...
 'poloidal_coefficients',double([]),...
-'poloidal_coefficients_error_index',double(-999999999),...
+'poloidal_coefficients_error_index',int32(-999999999),...
 'poloidal_coefficients_error_lower',double([]),...
 'poloidal_coefficients_error_upper',double([]),...
-'poloidal_error_index',double(-999999999),...
+'poloidal_error_index',int32(-999999999),...
 'poloidal_error_lower',double([]),...
 'poloidal_error_upper',double([]),...
 'radial',double([]),...
 'radial_coefficients',double([]),...
-'radial_coefficients_error_index',double(-999999999),...
+'radial_coefficients_error_index',int32(-999999999),...
 'radial_coefficients_error_lower',double([]),...
 'radial_coefficients_error_upper',double([]),...
-'radial_error_index',double(-999999999),...
+'radial_error_index',int32(-999999999),...
 'radial_error_lower',double([]),...
 'radial_error_upper',double([]),...
 'toroidal',double([]),...
 'toroidal_coefficients',double([]),...
-'toroidal_coefficients_error_index',double(-999999999),...
+'toroidal_coefficients_error_index',int32(-999999999),...
 'toroidal_coefficients_error_lower',double([]),...
 'toroidal_coefficients_error_upper',double([]),...
-'toroidal_error_index',double(-999999999),...
+'toroidal_error_index',int32(-999999999),...
 'toroidal_error_lower',double([]),...
 'toroidal_error_upper',double([]))
 ;}}),...
 'particles',struct(...
 'd',{{struct(...
 'coefficients',double([]),...
-'coefficients_error_index',double(-999999999),...
+'coefficients_error_index',int32(-999999999),...
 'coefficients_error_lower',double([]),...
 'coefficients_error_upper',double([]),...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
 'values',double([]),...
-'values_error_index',double(-999999999),...
+'values_error_index',int32(-999999999),...
 'values_error_lower',double([]),...
 'values_error_upper',double([]))
 ;}},...
 'flux',{{struct(...
 'coefficients',double([]),...
-'coefficients_error_index',double(-999999999),...
+'coefficients_error_index',int32(-999999999),...
 'coefficients_error_lower',double([]),...
 'coefficients_error_upper',double([]),...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
 'values',double([]),...
-'values_error_index',double(-999999999),...
+'values_error_index',int32(-999999999),...
 'values_error_lower',double([]),...
 'values_error_upper',double([]))
 ;}},...
 'flux_limiter',{{struct(...
 'coefficients',double([]),...
-'coefficients_error_index',double(-999999999),...
+'coefficients_error_index',int32(-999999999),...
 'coefficients_error_lower',double([]),...
 'coefficients_error_upper',double([]),...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
 'values',double([]),...
-'values_error_index',double(-999999999),...
+'values_error_index',int32(-999999999),...
 'values_error_lower',double([]),...
 'values_error_upper',double([]))
 ;}},...
 'v',{{struct(...
 'coefficients',double([]),...
-'coefficients_error_index',double(-999999999),...
+'coefficients_error_index',int32(-999999999),...
 'coefficients_error_lower',double([]),...
 'coefficients_error_upper',double([]),...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
 'values',double([]),...
-'values_error_index',double(-999999999),...
+'values_error_index',int32(-999999999),...
 'values_error_lower',double([]),...
 'values_error_upper',double([]))
 ;}}),...
-'vibrational_level',double(-9.0000000000000006360851714687e+40),...
-'vibrational_level_error_index',double(-999999999),...
-'vibrational_level_error_lower',double(-9.0000000000000006360851714687e+40),...
-'vibrational_level_error_upper',double(-9.0000000000000006360851714687e+40),...
-'vibrational_mode',double([]),...
-'z_max',double(-9.0000000000000006360851714687e+40),...
-'z_max_error_index',double(-999999999),...
-'z_max_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_max_error_upper',double(-9.0000000000000006360851714687e+40),...
-'z_min',double(-9.0000000000000006360851714687e+40),...
-'z_min_error_index',double(-999999999),...
-'z_min_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_min_error_upper',double(-9.0000000000000006360851714687e+40))
-;}},...
-'z_ion',double(-9.0000000000000006360851714687e+40),...
-'z_ion_error_index',double(-999999999),...
-'z_ion_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_ion_error_upper',double(-9.0000000000000006360851714687e+40))
+'vibrational_level',double(-9e+40),...
+'vibrational_level_error_index',int32(-999999999),...
+'vibrational_level_error_lower',double(-9e+40),...
+'vibrational_level_error_upper',double(-9e+40),...
+'vibrational_mode','',...
+'z_max',double(-9e+40),...
+'z_max_error_index',int32(-999999999),...
+'z_max_error_lower',double(-9e+40),...
+'z_max_error_upper',double(-9e+40),...
+'z_min',double(-9e+40),...
+'z_min_error_index',int32(-999999999),...
+'z_min_error_lower',double(-9e+40),...
+'z_min_error_upper',double(-9e+40))
+;}},...
+'z_ion',double(-9e+40),...
+'z_ion_error_index',int32(-999999999),...
+'z_ion_error_lower',double(-9e+40),...
+'z_ion_error_upper',double(-9e+40))
 ;}},...
 'momentum',struct(...
 'd',{{struct(...
 'diamagnetic',double([]),...
 'diamagnetic_coefficients',double([]),...
-'diamagnetic_coefficients_error_index',double(-999999999),...
+'diamagnetic_coefficients_error_index',int32(-999999999),...
 'diamagnetic_coefficients_error_lower',double([]),...
 'diamagnetic_coefficients_error_upper',double([]),...
-'diamagnetic_error_index',double(-999999999),...
+'diamagnetic_error_index',int32(-999999999),...
 'diamagnetic_error_lower',double([]),...
 'diamagnetic_error_upper',double([]),...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
 'parallel',double([]),...
 'parallel_coefficients',double([]),...
-'parallel_coefficients_error_index',double(-999999999),...
+'parallel_coefficients_error_index',int32(-999999999),...
 'parallel_coefficients_error_lower',double([]),...
 'parallel_coefficients_error_upper',double([]),...
-'parallel_error_index',double(-999999999),...
+'parallel_error_index',int32(-999999999),...
 'parallel_error_lower',double([]),...
 'parallel_error_upper',double([]),...
 'poloidal',double([]),...
 'poloidal_coefficients',double([]),...
-'poloidal_coefficients_error_index',double(-999999999),...
+'poloidal_coefficients_error_index',int32(-999999999),...
 'poloidal_coefficients_error_lower',double([]),...
 'poloidal_coefficients_error_upper',double([]),...
-'poloidal_error_index',double(-999999999),...
+'poloidal_error_index',int32(-999999999),...
 'poloidal_error_lower',double([]),...
 'poloidal_error_upper',double([]),...
 'radial',double([]),...
 'radial_coefficients',double([]),...
-'radial_coefficients_error_index',double(-999999999),...
+'radial_coefficients_error_index',int32(-999999999),...
 'radial_coefficients_error_lower',double([]),...
 'radial_coefficients_error_upper',double([]),...
-'radial_error_index',double(-999999999),...
+'radial_error_index',int32(-999999999),...
 'radial_error_lower',double([]),...
 'radial_error_upper',double([]),...
 'toroidal',double([]),...
 'toroidal_coefficients',double([]),...
-'toroidal_coefficients_error_index',double(-999999999),...
+'toroidal_coefficients_error_index',int32(-999999999),...
 'toroidal_coefficients_error_lower',double([]),...
 'toroidal_coefficients_error_upper',double([]),...
-'toroidal_error_index',double(-999999999),...
+'toroidal_error_index',int32(-999999999),...
 'toroidal_error_lower',double([]),...
 'toroidal_error_upper',double([]))
 ;}},...
 'flux',{{struct(...
 'diamagnetic',double([]),...
 'diamagnetic_coefficients',double([]),...
-'diamagnetic_coefficients_error_index',double(-999999999),...
+'diamagnetic_coefficients_error_index',int32(-999999999),...
 'diamagnetic_coefficients_error_lower',double([]),...
 'diamagnetic_coefficients_error_upper',double([]),...
-'diamagnetic_error_index',double(-999999999),...
+'diamagnetic_error_index',int32(-999999999),...
 'diamagnetic_error_lower',double([]),...
 'diamagnetic_error_upper',double([]),...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
 'parallel',double([]),...
 'parallel_coefficients',double([]),...
-'parallel_coefficients_error_index',double(-999999999),...
+'parallel_coefficients_error_index',int32(-999999999),...
 'parallel_coefficients_error_lower',double([]),...
 'parallel_coefficients_error_upper',double([]),...
-'parallel_error_index',double(-999999999),...
+'parallel_error_index',int32(-999999999),...
 'parallel_error_lower',double([]),...
 'parallel_error_upper',double([]),...
 'poloidal',double([]),...
 'poloidal_coefficients',double([]),...
-'poloidal_coefficients_error_index',double(-999999999),...
+'poloidal_coefficients_error_index',int32(-999999999),...
 'poloidal_coefficients_error_lower',double([]),...
 'poloidal_coefficients_error_upper',double([]),...
-'poloidal_error_index',double(-999999999),...
+'poloidal_error_index',int32(-999999999),...
 'poloidal_error_lower',double([]),...
 'poloidal_error_upper',double([]),...
 'radial',double([]),...
 'radial_coefficients',double([]),...
-'radial_coefficients_error_index',double(-999999999),...
+'radial_coefficients_error_index',int32(-999999999),...
 'radial_coefficients_error_lower',double([]),...
 'radial_coefficients_error_upper',double([]),...
-'radial_error_index',double(-999999999),...
+'radial_error_index',int32(-999999999),...
 'radial_error_lower',double([]),...
 'radial_error_upper',double([]),...
 'toroidal',double([]),...
 'toroidal_coefficients',double([]),...
-'toroidal_coefficients_error_index',double(-999999999),...
+'toroidal_coefficients_error_index',int32(-999999999),...
 'toroidal_coefficients_error_lower',double([]),...
 'toroidal_coefficients_error_upper',double([]),...
-'toroidal_error_index',double(-999999999),...
+'toroidal_error_index',int32(-999999999),...
 'toroidal_error_lower',double([]),...
 'toroidal_error_upper',double([]))
 ;}},...
 'flux_limiter',{{struct(...
 'diamagnetic',double([]),...
 'diamagnetic_coefficients',double([]),...
-'diamagnetic_coefficients_error_index',double(-999999999),...
+'diamagnetic_coefficients_error_index',int32(-999999999),...
 'diamagnetic_coefficients_error_lower',double([]),...
 'diamagnetic_coefficients_error_upper',double([]),...
-'diamagnetic_error_index',double(-999999999),...
+'diamagnetic_error_index',int32(-999999999),...
 'diamagnetic_error_lower',double([]),...
 'diamagnetic_error_upper',double([]),...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
 'parallel',double([]),...
 'parallel_coefficients',double([]),...
-'parallel_coefficients_error_index',double(-999999999),...
+'parallel_coefficients_error_index',int32(-999999999),...
 'parallel_coefficients_error_lower',double([]),...
 'parallel_coefficients_error_upper',double([]),...
-'parallel_error_index',double(-999999999),...
+'parallel_error_index',int32(-999999999),...
 'parallel_error_lower',double([]),...
 'parallel_error_upper',double([]),...
 'poloidal',double([]),...
 'poloidal_coefficients',double([]),...
-'poloidal_coefficients_error_index',double(-999999999),...
+'poloidal_coefficients_error_index',int32(-999999999),...
 'poloidal_coefficients_error_lower',double([]),...
 'poloidal_coefficients_error_upper',double([]),...
-'poloidal_error_index',double(-999999999),...
+'poloidal_error_index',int32(-999999999),...
 'poloidal_error_lower',double([]),...
 'poloidal_error_upper',double([]),...
 'radial',double([]),...
 'radial_coefficients',double([]),...
-'radial_coefficients_error_index',double(-999999999),...
+'radial_coefficients_error_index',int32(-999999999),...
 'radial_coefficients_error_lower',double([]),...
 'radial_coefficients_error_upper',double([]),...
-'radial_error_index',double(-999999999),...
+'radial_error_index',int32(-999999999),...
 'radial_error_lower',double([]),...
 'radial_error_upper',double([]),...
 'toroidal',double([]),...
 'toroidal_coefficients',double([]),...
-'toroidal_coefficients_error_index',double(-999999999),...
+'toroidal_coefficients_error_index',int32(-999999999),...
 'toroidal_coefficients_error_lower',double([]),...
 'toroidal_coefficients_error_upper',double([]),...
-'toroidal_error_index',double(-999999999),...
+'toroidal_error_index',int32(-999999999),...
 'toroidal_error_lower',double([]),...
 'toroidal_error_upper',double([]))
 ;}},...
 'v',{{struct(...
 'diamagnetic',double([]),...
 'diamagnetic_coefficients',double([]),...
-'diamagnetic_coefficients_error_index',double(-999999999),...
+'diamagnetic_coefficients_error_index',int32(-999999999),...
 'diamagnetic_coefficients_error_lower',double([]),...
 'diamagnetic_coefficients_error_upper',double([]),...
-'diamagnetic_error_index',double(-999999999),...
+'diamagnetic_error_index',int32(-999999999),...
 'diamagnetic_error_lower',double([]),...
 'diamagnetic_error_upper',double([]),...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
 'parallel',double([]),...
 'parallel_coefficients',double([]),...
-'parallel_coefficients_error_index',double(-999999999),...
+'parallel_coefficients_error_index',int32(-999999999),...
 'parallel_coefficients_error_lower',double([]),...
 'parallel_coefficients_error_upper',double([]),...
-'parallel_error_index',double(-999999999),...
+'parallel_error_index',int32(-999999999),...
 'parallel_error_lower',double([]),...
 'parallel_error_upper',double([]),...
 'poloidal',double([]),...
 'poloidal_coefficients',double([]),...
-'poloidal_coefficients_error_index',double(-999999999),...
+'poloidal_coefficients_error_index',int32(-999999999),...
 'poloidal_coefficients_error_lower',double([]),...
 'poloidal_coefficients_error_upper',double([]),...
-'poloidal_error_index',double(-999999999),...
+'poloidal_error_index',int32(-999999999),...
 'poloidal_error_lower',double([]),...
 'poloidal_error_upper',double([]),...
 'radial',double([]),...
 'radial_coefficients',double([]),...
-'radial_coefficients_error_index',double(-999999999),...
+'radial_coefficients_error_index',int32(-999999999),...
 'radial_coefficients_error_lower',double([]),...
 'radial_coefficients_error_upper',double([]),...
-'radial_error_index',double(-999999999),...
+'radial_error_index',int32(-999999999),...
 'radial_error_lower',double([]),...
 'radial_error_upper',double([]),...
 'toroidal',double([]),...
 'toroidal_coefficients',double([]),...
-'toroidal_coefficients_error_index',double(-999999999),...
+'toroidal_coefficients_error_index',int32(-999999999),...
 'toroidal_coefficients_error_lower',double([]),...
 'toroidal_coefficients_error_upper',double([]),...
-'toroidal_error_index',double(-999999999),...
+'toroidal_error_index',int32(-999999999),...
 'toroidal_error_lower',double([]),...
 'toroidal_error_upper',double([]))
 ;}}),...
 'neutral',{{struct(...
 'element',{{struct(...
-'a',double(-9.0000000000000006360851714687e+40),...
-'a_error_index',double(-999999999),...
-'a_error_lower',double(-9.0000000000000006360851714687e+40),...
-'a_error_upper',double(-9.0000000000000006360851714687e+40),...
-'atoms_n',double(-999999999),...
-'multiplicity',double(-9.0000000000000006360851714687e+40),...
-'multiplicity_error_index',double(-999999999),...
-'multiplicity_error_lower',double(-9.0000000000000006360851714687e+40),...
-'multiplicity_error_upper',double(-9.0000000000000006360851714687e+40),...
-'z_n',double(-9.0000000000000006360851714687e+40),...
-'z_n_error_index',double(-999999999),...
-'z_n_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_n_error_upper',double(-9.0000000000000006360851714687e+40))
+'a',double(-9e+40),...
+'a_error_index',int32(-999999999),...
+'a_error_lower',double(-9e+40),...
+'a_error_upper',double(-9e+40),...
+'atoms_n',int32(-999999999),...
+'multiplicity',double(-9e+40),...
+'multiplicity_error_index',int32(-999999999),...
+'multiplicity_error_lower',double(-9e+40),...
+'multiplicity_error_upper',double(-9e+40),...
+'z_n',double(-9e+40),...
+'z_n_error_index',int32(-999999999),...
+'z_n_error_lower',double(-9e+40),...
+'z_n_error_upper',double(-9e+40))
 ;}},...
 'energy',struct(...
 'd',{{struct(...
 'coefficients',double([]),...
-'coefficients_error_index',double(-999999999),...
+'coefficients_error_index',int32(-999999999),...
 'coefficients_error_lower',double([]),...
 'coefficients_error_upper',double([]),...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
 'values',double([]),...
-'values_error_index',double(-999999999),...
+'values_error_index',int32(-999999999),...
 'values_error_lower',double([]),...
 'values_error_upper',double([]))
 ;}},...
 'flux',{{struct(...
 'coefficients',double([]),...
-'coefficients_error_index',double(-999999999),...
+'coefficients_error_index',int32(-999999999),...
 'coefficients_error_lower',double([]),...
 'coefficients_error_upper',double([]),...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
 'values',double([]),...
-'values_error_index',double(-999999999),...
+'values_error_index',int32(-999999999),...
 'values_error_lower',double([]),...
 'values_error_upper',double([]))
 ;}},...
 'flux_limiter',{{struct(...
 'coefficients',double([]),...
-'coefficients_error_index',double(-999999999),...
+'coefficients_error_index',int32(-999999999),...
 'coefficients_error_lower',double([]),...
 'coefficients_error_upper',double([]),...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
 'values',double([]),...
-'values_error_index',double(-999999999),...
+'values_error_index',int32(-999999999),...
 'values_error_lower',double([]),...
 'values_error_upper',double([]))
 ;}},...
 'v',{{struct(...
 'coefficients',double([]),...
-'coefficients_error_index',double(-999999999),...
+'coefficients_error_index',int32(-999999999),...
 'coefficients_error_lower',double([]),...
 'coefficients_error_upper',double([]),...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
 'values',double([]),...
-'values_error_index',double(-999999999),...
+'values_error_index',int32(-999999999),...
 'values_error_lower',double([]),...
 'values_error_upper',double([]))
 ;}}),...
-'ion_index',double(-999999999),...
-'label',double([]),...
+'ion_index',int32(-999999999),...
+'label','',...
 'momentum',struct(...
 'd',{{struct(...
 'diamagnetic',double([]),...
 'diamagnetic_coefficients',double([]),...
-'diamagnetic_coefficients_error_index',double(-999999999),...
+'diamagnetic_coefficients_error_index',int32(-999999999),...
 'diamagnetic_coefficients_error_lower',double([]),...
 'diamagnetic_coefficients_error_upper',double([]),...
-'diamagnetic_error_index',double(-999999999),...
+'diamagnetic_error_index',int32(-999999999),...
 'diamagnetic_error_lower',double([]),...
 'diamagnetic_error_upper',double([]),...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
 'parallel',double([]),...
 'parallel_coefficients',double([]),...
-'parallel_coefficients_error_index',double(-999999999),...
+'parallel_coefficients_error_index',int32(-999999999),...
 'parallel_coefficients_error_lower',double([]),...
 'parallel_coefficients_error_upper',double([]),...
-'parallel_error_index',double(-999999999),...
+'parallel_error_index',int32(-999999999),...
 'parallel_error_lower',double([]),...
 'parallel_error_upper',double([]),...
 'poloidal',double([]),...
 'poloidal_coefficients',double([]),...
-'poloidal_coefficients_error_index',double(-999999999),...
+'poloidal_coefficients_error_index',int32(-999999999),...
 'poloidal_coefficients_error_lower',double([]),...
 'poloidal_coefficients_error_upper',double([]),...
-'poloidal_error_index',double(-999999999),...
+'poloidal_error_index',int32(-999999999),...
 'poloidal_error_lower',double([]),...
 'poloidal_error_upper',double([]),...
 'radial',double([]),...
 'radial_coefficients',double([]),...
-'radial_coefficients_error_index',double(-999999999),...
+'radial_coefficients_error_index',int32(-999999999),...
 'radial_coefficients_error_lower',double([]),...
 'radial_coefficients_error_upper',double([]),...
-'radial_error_index',double(-999999999),...
+'radial_error_index',int32(-999999999),...
 'radial_error_lower',double([]),...
 'radial_error_upper',double([]),...
 'toroidal',double([]),...
 'toroidal_coefficients',double([]),...
-'toroidal_coefficients_error_index',double(-999999999),...
+'toroidal_coefficients_error_index',int32(-999999999),...
 'toroidal_coefficients_error_lower',double([]),...
 'toroidal_coefficients_error_upper',double([]),...
-'toroidal_error_index',double(-999999999),...
+'toroidal_error_index',int32(-999999999),...
 'toroidal_error_lower',double([]),...
 'toroidal_error_upper',double([]))
 ;}},...
 'flux',{{struct(...
 'diamagnetic',double([]),...
 'diamagnetic_coefficients',double([]),...
-'diamagnetic_coefficients_error_index',double(-999999999),...
+'diamagnetic_coefficients_error_index',int32(-999999999),...
 'diamagnetic_coefficients_error_lower',double([]),...
 'diamagnetic_coefficients_error_upper',double([]),...
-'diamagnetic_error_index',double(-999999999),...
+'diamagnetic_error_index',int32(-999999999),...
 'diamagnetic_error_lower',double([]),...
 'diamagnetic_error_upper',double([]),...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
 'parallel',double([]),...
 'parallel_coefficients',double([]),...
-'parallel_coefficients_error_index',double(-999999999),...
+'parallel_coefficients_error_index',int32(-999999999),...
 'parallel_coefficients_error_lower',double([]),...
 'parallel_coefficients_error_upper',double([]),...
-'parallel_error_index',double(-999999999),...
+'parallel_error_index',int32(-999999999),...
 'parallel_error_lower',double([]),...
 'parallel_error_upper',double([]),...
 'poloidal',double([]),...
 'poloidal_coefficients',double([]),...
-'poloidal_coefficients_error_index',double(-999999999),...
+'poloidal_coefficients_error_index',int32(-999999999),...
 'poloidal_coefficients_error_lower',double([]),...
 'poloidal_coefficients_error_upper',double([]),...
-'poloidal_error_index',double(-999999999),...
+'poloidal_error_index',int32(-999999999),...
 'poloidal_error_lower',double([]),...
 'poloidal_error_upper',double([]),...
 'radial',double([]),...
 'radial_coefficients',double([]),...
-'radial_coefficients_error_index',double(-999999999),...
+'radial_coefficients_error_index',int32(-999999999),...
 'radial_coefficients_error_lower',double([]),...
 'radial_coefficients_error_upper',double([]),...
-'radial_error_index',double(-999999999),...
+'radial_error_index',int32(-999999999),...
 'radial_error_lower',double([]),...
 'radial_error_upper',double([]),...
 'toroidal',double([]),...
 'toroidal_coefficients',double([]),...
-'toroidal_coefficients_error_index',double(-999999999),...
+'toroidal_coefficients_error_index',int32(-999999999),...
 'toroidal_coefficients_error_lower',double([]),...
 'toroidal_coefficients_error_upper',double([]),...
-'toroidal_error_index',double(-999999999),...
+'toroidal_error_index',int32(-999999999),...
 'toroidal_error_lower',double([]),...
 'toroidal_error_upper',double([]))
 ;}},...
 'flux_limiter',{{struct(...
 'diamagnetic',double([]),...
 'diamagnetic_coefficients',double([]),...
-'diamagnetic_coefficients_error_index',double(-999999999),...
+'diamagnetic_coefficients_error_index',int32(-999999999),...
 'diamagnetic_coefficients_error_lower',double([]),...
 'diamagnetic_coefficients_error_upper',double([]),...
-'diamagnetic_error_index',double(-999999999),...
+'diamagnetic_error_index',int32(-999999999),...
 'diamagnetic_error_lower',double([]),...
 'diamagnetic_error_upper',double([]),...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
 'parallel',double([]),...
 'parallel_coefficients',double([]),...
-'parallel_coefficients_error_index',double(-999999999),...
+'parallel_coefficients_error_index',int32(-999999999),...
 'parallel_coefficients_error_lower',double([]),...
 'parallel_coefficients_error_upper',double([]),...
-'parallel_error_index',double(-999999999),...
+'parallel_error_index',int32(-999999999),...
 'parallel_error_lower',double([]),...
 'parallel_error_upper',double([]),...
 'poloidal',double([]),...
 'poloidal_coefficients',double([]),...
-'poloidal_coefficients_error_index',double(-999999999),...
+'poloidal_coefficients_error_index',int32(-999999999),...
 'poloidal_coefficients_error_lower',double([]),...
 'poloidal_coefficients_error_upper',double([]),...
-'poloidal_error_index',double(-999999999),...
+'poloidal_error_index',int32(-999999999),...
 'poloidal_error_lower',double([]),...
 'poloidal_error_upper',double([]),...
 'radial',double([]),...
 'radial_coefficients',double([]),...
-'radial_coefficients_error_index',double(-999999999),...
+'radial_coefficients_error_index',int32(-999999999),...
 'radial_coefficients_error_lower',double([]),...
 'radial_coefficients_error_upper',double([]),...
-'radial_error_index',double(-999999999),...
+'radial_error_index',int32(-999999999),...
 'radial_error_lower',double([]),...
 'radial_error_upper',double([]),...
 'toroidal',double([]),...
 'toroidal_coefficients',double([]),...
-'toroidal_coefficients_error_index',double(-999999999),...
+'toroidal_coefficients_error_index',int32(-999999999),...
 'toroidal_coefficients_error_lower',double([]),...
 'toroidal_coefficients_error_upper',double([]),...
-'toroidal_error_index',double(-999999999),...
+'toroidal_error_index',int32(-999999999),...
 'toroidal_error_lower',double([]),...
 'toroidal_error_upper',double([]))
 ;}},...
 'v',{{struct(...
 'diamagnetic',double([]),...
 'diamagnetic_coefficients',double([]),...
-'diamagnetic_coefficients_error_index',double(-999999999),...
+'diamagnetic_coefficients_error_index',int32(-999999999),...
 'diamagnetic_coefficients_error_lower',double([]),...
 'diamagnetic_coefficients_error_upper',double([]),...
-'diamagnetic_error_index',double(-999999999),...
+'diamagnetic_error_index',int32(-999999999),...
 'diamagnetic_error_lower',double([]),...
 'diamagnetic_error_upper',double([]),...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
 'parallel',double([]),...
 'parallel_coefficients',double([]),...
-'parallel_coefficients_error_index',double(-999999999),...
+'parallel_coefficients_error_index',int32(-999999999),...
 'parallel_coefficients_error_lower',double([]),...
 'parallel_coefficients_error_upper',double([]),...
-'parallel_error_index',double(-999999999),...
+'parallel_error_index',int32(-999999999),...
 'parallel_error_lower',double([]),...
 'parallel_error_upper',double([]),...
 'poloidal',double([]),...
 'poloidal_coefficients',double([]),...
-'poloidal_coefficients_error_index',double(-999999999),...
+'poloidal_coefficients_error_index',int32(-999999999),...
 'poloidal_coefficients_error_lower',double([]),...
 'poloidal_coefficients_error_upper',double([]),...
-'poloidal_error_index',double(-999999999),...
+'poloidal_error_index',int32(-999999999),...
 'poloidal_error_lower',double([]),...
 'poloidal_error_upper',double([]),...
 'radial',double([]),...
 'radial_coefficients',double([]),...
-'radial_coefficients_error_index',double(-999999999),...
+'radial_coefficients_error_index',int32(-999999999),...
 'radial_coefficients_error_lower',double([]),...
 'radial_coefficients_error_upper',double([]),...
-'radial_error_index',double(-999999999),...
+'radial_error_index',int32(-999999999),...
 'radial_error_lower',double([]),...
 'radial_error_upper',double([]),...
 'toroidal',double([]),...
 'toroidal_coefficients',double([]),...
-'toroidal_coefficients_error_index',double(-999999999),...
+'toroidal_coefficients_error_index',int32(-999999999),...
 'toroidal_coefficients_error_lower',double([]),...
 'toroidal_coefficients_error_upper',double([]),...
-'toroidal_error_index',double(-999999999),...
+'toroidal_error_index',int32(-999999999),...
 'toroidal_error_lower',double([]),...
 'toroidal_error_upper',double([]))
 ;}}),...
-'multiple_states_flag',double(-999999999),...
+'multiple_states_flag',int32(-999999999),...
 'particles',struct(...
 'd',{{struct(...
 'coefficients',double([]),...
-'coefficients_error_index',double(-999999999),...
+'coefficients_error_index',int32(-999999999),...
 'coefficients_error_lower',double([]),...
 'coefficients_error_upper',double([]),...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
 'values',double([]),...
-'values_error_index',double(-999999999),...
+'values_error_index',int32(-999999999),...
 'values_error_lower',double([]),...
 'values_error_upper',double([]))
 ;}},...
 'flux',{{struct(...
 'coefficients',double([]),...
-'coefficients_error_index',double(-999999999),...
+'coefficients_error_index',int32(-999999999),...
 'coefficients_error_lower',double([]),...
 'coefficients_error_upper',double([]),...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
 'values',double([]),...
-'values_error_index',double(-999999999),...
+'values_error_index',int32(-999999999),...
 'values_error_lower',double([]),...
 'values_error_upper',double([]))
 ;}},...
 'flux_limiter',{{struct(...
 'coefficients',double([]),...
-'coefficients_error_index',double(-999999999),...
+'coefficients_error_index',int32(-999999999),...
 'coefficients_error_lower',double([]),...
 'coefficients_error_upper',double([]),...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
 'values',double([]),...
-'values_error_index',double(-999999999),...
+'values_error_index',int32(-999999999),...
 'values_error_lower',double([]),...
 'values_error_upper',double([]))
 ;}},...
 'v',{{struct(...
 'coefficients',double([]),...
-'coefficients_error_index',double(-999999999),...
+'coefficients_error_index',int32(-999999999),...
 'coefficients_error_lower',double([]),...
 'coefficients_error_upper',double([]),...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
 'values',double([]),...
-'values_error_index',double(-999999999),...
+'values_error_index',int32(-999999999),...
 'values_error_lower',double([]),...
 'values_error_upper',double([]))
 ;}}),...
 'state',{{struct(...
-'electron_configuration',double([]),...
+'electron_configuration','',...
 'energy',struct(...
 'd',{{struct(...
 'coefficients',double([]),...
-'coefficients_error_index',double(-999999999),...
+'coefficients_error_index',int32(-999999999),...
 'coefficients_error_lower',double([]),...
 'coefficients_error_upper',double([]),...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
 'values',double([]),...
-'values_error_index',double(-999999999),...
+'values_error_index',int32(-999999999),...
 'values_error_lower',double([]),...
 'values_error_upper',double([]))
 ;}},...
 'flux',{{struct(...
 'coefficients',double([]),...
-'coefficients_error_index',double(-999999999),...
+'coefficients_error_index',int32(-999999999),...
 'coefficients_error_lower',double([]),...
 'coefficients_error_upper',double([]),...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
 'values',double([]),...
-'values_error_index',double(-999999999),...
+'values_error_index',int32(-999999999),...
 'values_error_lower',double([]),...
 'values_error_upper',double([]))
 ;}},...
 'flux_limiter',{{struct(...
 'coefficients',double([]),...
-'coefficients_error_index',double(-999999999),...
+'coefficients_error_index',int32(-999999999),...
 'coefficients_error_lower',double([]),...
 'coefficients_error_upper',double([]),...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
 'values',double([]),...
-'values_error_index',double(-999999999),...
+'values_error_index',int32(-999999999),...
 'values_error_lower',double([]),...
 'values_error_upper',double([]))
 ;}},...
 'v',{{struct(...
 'coefficients',double([]),...
-'coefficients_error_index',double(-999999999),...
+'coefficients_error_index',int32(-999999999),...
 'coefficients_error_lower',double([]),...
 'coefficients_error_upper',double([]),...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
 'values',double([]),...
-'values_error_index',double(-999999999),...
+'values_error_index',int32(-999999999),...
 'values_error_lower',double([]),...
 'values_error_upper',double([]))
 ;}}),...
-'label',double([]),...
+'label','',...
 'momentum',struct(...
 'd',{{struct(...
 'diamagnetic',double([]),...
 'diamagnetic_coefficients',double([]),...
-'diamagnetic_coefficients_error_index',double(-999999999),...
+'diamagnetic_coefficients_error_index',int32(-999999999),...
 'diamagnetic_coefficients_error_lower',double([]),...
 'diamagnetic_coefficients_error_upper',double([]),...
-'diamagnetic_error_index',double(-999999999),...
+'diamagnetic_error_index',int32(-999999999),...
 'diamagnetic_error_lower',double([]),...
 'diamagnetic_error_upper',double([]),...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
 'parallel',double([]),...
 'parallel_coefficients',double([]),...
-'parallel_coefficients_error_index',double(-999999999),...
+'parallel_coefficients_error_index',int32(-999999999),...
 'parallel_coefficients_error_lower',double([]),...
 'parallel_coefficients_error_upper',double([]),...
-'parallel_error_index',double(-999999999),...
+'parallel_error_index',int32(-999999999),...
 'parallel_error_lower',double([]),...
 'parallel_error_upper',double([]),...
 'poloidal',double([]),...
 'poloidal_coefficients',double([]),...
-'poloidal_coefficients_error_index',double(-999999999),...
+'poloidal_coefficients_error_index',int32(-999999999),...
 'poloidal_coefficients_error_lower',double([]),...
 'poloidal_coefficients_error_upper',double([]),...
-'poloidal_error_index',double(-999999999),...
+'poloidal_error_index',int32(-999999999),...
 'poloidal_error_lower',double([]),...
 'poloidal_error_upper',double([]),...
 'radial',double([]),...
 'radial_coefficients',double([]),...
-'radial_coefficients_error_index',double(-999999999),...
+'radial_coefficients_error_index',int32(-999999999),...
 'radial_coefficients_error_lower',double([]),...
 'radial_coefficients_error_upper',double([]),...
-'radial_error_index',double(-999999999),...
+'radial_error_index',int32(-999999999),...
 'radial_error_lower',double([]),...
 'radial_error_upper',double([]),...
 'toroidal',double([]),...
 'toroidal_coefficients',double([]),...
-'toroidal_coefficients_error_index',double(-999999999),...
+'toroidal_coefficients_error_index',int32(-999999999),...
 'toroidal_coefficients_error_lower',double([]),...
 'toroidal_coefficients_error_upper',double([]),...
-'toroidal_error_index',double(-999999999),...
+'toroidal_error_index',int32(-999999999),...
 'toroidal_error_lower',double([]),...
 'toroidal_error_upper',double([]))
 ;}},...
 'flux',{{struct(...
 'diamagnetic',double([]),...
 'diamagnetic_coefficients',double([]),...
-'diamagnetic_coefficients_error_index',double(-999999999),...
+'diamagnetic_coefficients_error_index',int32(-999999999),...
 'diamagnetic_coefficients_error_lower',double([]),...
 'diamagnetic_coefficients_error_upper',double([]),...
-'diamagnetic_error_index',double(-999999999),...
+'diamagnetic_error_index',int32(-999999999),...
 'diamagnetic_error_lower',double([]),...
 'diamagnetic_error_upper',double([]),...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
 'parallel',double([]),...
 'parallel_coefficients',double([]),...
-'parallel_coefficients_error_index',double(-999999999),...
+'parallel_coefficients_error_index',int32(-999999999),...
 'parallel_coefficients_error_lower',double([]),...
 'parallel_coefficients_error_upper',double([]),...
-'parallel_error_index',double(-999999999),...
+'parallel_error_index',int32(-999999999),...
 'parallel_error_lower',double([]),...
 'parallel_error_upper',double([]),...
 'poloidal',double([]),...
 'poloidal_coefficients',double([]),...
-'poloidal_coefficients_error_index',double(-999999999),...
+'poloidal_coefficients_error_index',int32(-999999999),...
 'poloidal_coefficients_error_lower',double([]),...
 'poloidal_coefficients_error_upper',double([]),...
-'poloidal_error_index',double(-999999999),...
+'poloidal_error_index',int32(-999999999),...
 'poloidal_error_lower',double([]),...
 'poloidal_error_upper',double([]),...
 'radial',double([]),...
 'radial_coefficients',double([]),...
-'radial_coefficients_error_index',double(-999999999),...
+'radial_coefficients_error_index',int32(-999999999),...
 'radial_coefficients_error_lower',double([]),...
 'radial_coefficients_error_upper',double([]),...
-'radial_error_index',double(-999999999),...
+'radial_error_index',int32(-999999999),...
 'radial_error_lower',double([]),...
 'radial_error_upper',double([]),...
 'toroidal',double([]),...
 'toroidal_coefficients',double([]),...
-'toroidal_coefficients_error_index',double(-999999999),...
+'toroidal_coefficients_error_index',int32(-999999999),...
 'toroidal_coefficients_error_lower',double([]),...
 'toroidal_coefficients_error_upper',double([]),...
-'toroidal_error_index',double(-999999999),...
+'toroidal_error_index',int32(-999999999),...
 'toroidal_error_lower',double([]),...
 'toroidal_error_upper',double([]))
 ;}},...
 'flux_limiter',{{struct(...
 'diamagnetic',double([]),...
 'diamagnetic_coefficients',double([]),...
-'diamagnetic_coefficients_error_index',double(-999999999),...
+'diamagnetic_coefficients_error_index',int32(-999999999),...
 'diamagnetic_coefficients_error_lower',double([]),...
 'diamagnetic_coefficients_error_upper',double([]),...
-'diamagnetic_error_index',double(-999999999),...
+'diamagnetic_error_index',int32(-999999999),...
 'diamagnetic_error_lower',double([]),...
 'diamagnetic_error_upper',double([]),...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
 'parallel',double([]),...
 'parallel_coefficients',double([]),...
-'parallel_coefficients_error_index',double(-999999999),...
+'parallel_coefficients_error_index',int32(-999999999),...
 'parallel_coefficients_error_lower',double([]),...
 'parallel_coefficients_error_upper',double([]),...
-'parallel_error_index',double(-999999999),...
+'parallel_error_index',int32(-999999999),...
 'parallel_error_lower',double([]),...
 'parallel_error_upper',double([]),...
 'poloidal',double([]),...
 'poloidal_coefficients',double([]),...
-'poloidal_coefficients_error_index',double(-999999999),...
+'poloidal_coefficients_error_index',int32(-999999999),...
 'poloidal_coefficients_error_lower',double([]),...
 'poloidal_coefficients_error_upper',double([]),...
-'poloidal_error_index',double(-999999999),...
+'poloidal_error_index',int32(-999999999),...
 'poloidal_error_lower',double([]),...
 'poloidal_error_upper',double([]),...
 'radial',double([]),...
 'radial_coefficients',double([]),...
-'radial_coefficients_error_index',double(-999999999),...
+'radial_coefficients_error_index',int32(-999999999),...
 'radial_coefficients_error_lower',double([]),...
 'radial_coefficients_error_upper',double([]),...
-'radial_error_index',double(-999999999),...
+'radial_error_index',int32(-999999999),...
 'radial_error_lower',double([]),...
 'radial_error_upper',double([]),...
 'toroidal',double([]),...
 'toroidal_coefficients',double([]),...
-'toroidal_coefficients_error_index',double(-999999999),...
+'toroidal_coefficients_error_index',int32(-999999999),...
 'toroidal_coefficients_error_lower',double([]),...
 'toroidal_coefficients_error_upper',double([]),...
-'toroidal_error_index',double(-999999999),...
+'toroidal_error_index',int32(-999999999),...
 'toroidal_error_lower',double([]),...
 'toroidal_error_upper',double([]))
 ;}},...
 'v',{{struct(...
 'diamagnetic',double([]),...
 'diamagnetic_coefficients',double([]),...
-'diamagnetic_coefficients_error_index',double(-999999999),...
+'diamagnetic_coefficients_error_index',int32(-999999999),...
 'diamagnetic_coefficients_error_lower',double([]),...
 'diamagnetic_coefficients_error_upper',double([]),...
-'diamagnetic_error_index',double(-999999999),...
+'diamagnetic_error_index',int32(-999999999),...
 'diamagnetic_error_lower',double([]),...
 'diamagnetic_error_upper',double([]),...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
 'parallel',double([]),...
 'parallel_coefficients',double([]),...
-'parallel_coefficients_error_index',double(-999999999),...
+'parallel_coefficients_error_index',int32(-999999999),...
 'parallel_coefficients_error_lower',double([]),...
 'parallel_coefficients_error_upper',double([]),...
-'parallel_error_index',double(-999999999),...
+'parallel_error_index',int32(-999999999),...
 'parallel_error_lower',double([]),...
 'parallel_error_upper',double([]),...
 'poloidal',double([]),...
 'poloidal_coefficients',double([]),...
-'poloidal_coefficients_error_index',double(-999999999),...
+'poloidal_coefficients_error_index',int32(-999999999),...
 'poloidal_coefficients_error_lower',double([]),...
 'poloidal_coefficients_error_upper',double([]),...
-'poloidal_error_index',double(-999999999),...
+'poloidal_error_index',int32(-999999999),...
 'poloidal_error_lower',double([]),...
 'poloidal_error_upper',double([]),...
 'radial',double([]),...
 'radial_coefficients',double([]),...
-'radial_coefficients_error_index',double(-999999999),...
+'radial_coefficients_error_index',int32(-999999999),...
 'radial_coefficients_error_lower',double([]),...
 'radial_coefficients_error_upper',double([]),...
-'radial_error_index',double(-999999999),...
+'radial_error_index',int32(-999999999),...
 'radial_error_lower',double([]),...
 'radial_error_upper',double([]),...
 'toroidal',double([]),...
 'toroidal_coefficients',double([]),...
-'toroidal_coefficients_error_index',double(-999999999),...
+'toroidal_coefficients_error_index',int32(-999999999),...
 'toroidal_coefficients_error_lower',double([]),...
 'toroidal_coefficients_error_upper',double([]),...
-'toroidal_error_index',double(-999999999),...
+'toroidal_error_index',int32(-999999999),...
 'toroidal_error_lower',double([]),...
 'toroidal_error_upper',double([]))
 ;}}),...
 'neutral_type',struct(...
-'description',double([]),...
-'index',double(-999999999),...
-'name',double([])),...
+'description','',...
+'index',int32(-999999999),...
+'name',''),...
 'particles',struct(...
 'd',{{struct(...
 'coefficients',double([]),...
-'coefficients_error_index',double(-999999999),...
+'coefficients_error_index',int32(-999999999),...
 'coefficients_error_lower',double([]),...
 'coefficients_error_upper',double([]),...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
 'values',double([]),...
-'values_error_index',double(-999999999),...
+'values_error_index',int32(-999999999),...
 'values_error_lower',double([]),...
 'values_error_upper',double([]))
 ;}},...
 'flux',{{struct(...
 'coefficients',double([]),...
-'coefficients_error_index',double(-999999999),...
+'coefficients_error_index',int32(-999999999),...
 'coefficients_error_lower',double([]),...
 'coefficients_error_upper',double([]),...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
 'values',double([]),...
-'values_error_index',double(-999999999),...
+'values_error_index',int32(-999999999),...
 'values_error_lower',double([]),...
 'values_error_upper',double([]))
 ;}},...
 'flux_limiter',{{struct(...
 'coefficients',double([]),...
-'coefficients_error_index',double(-999999999),...
+'coefficients_error_index',int32(-999999999),...
 'coefficients_error_lower',double([]),...
 'coefficients_error_upper',double([]),...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
 'values',double([]),...
-'values_error_index',double(-999999999),...
+'values_error_index',int32(-999999999),...
 'values_error_lower',double([]),...
 'values_error_upper',double([]))
 ;}},...
 'v',{{struct(...
 'coefficients',double([]),...
-'coefficients_error_index',double(-999999999),...
+'coefficients_error_index',int32(-999999999),...
 'coefficients_error_lower',double([]),...
 'coefficients_error_upper',double([]),...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
 'values',double([]),...
-'values_error_index',double(-999999999),...
+'values_error_index',int32(-999999999),...
 'values_error_lower',double([]),...
 'values_error_upper',double([]))
 ;}}),...
-'vibrational_level',double(-9.0000000000000006360851714687e+40),...
-'vibrational_level_error_index',double(-999999999),...
-'vibrational_level_error_lower',double(-9.0000000000000006360851714687e+40),...
-'vibrational_level_error_upper',double(-9.0000000000000006360851714687e+40),...
-'vibrational_mode',double([]))
+'vibrational_level',double(-9e+40),...
+'vibrational_level_error_index',int32(-999999999),...
+'vibrational_level_error_lower',double(-9e+40),...
+'vibrational_level_error_upper',double(-9e+40),...
+'vibrational_mode','')
 ;}})
 ;}},...
-'time',double(-9.0000000000000006360851714687e+40),...
+'time',double(-9e+40),...
 'total_ion_energy',struct(...
 'd',{{struct(...
 'coefficients',double([]),...
-'coefficients_error_index',double(-999999999),...
+'coefficients_error_index',int32(-999999999),...
 'coefficients_error_lower',double([]),...
 'coefficients_error_upper',double([]),...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
 'values',double([]),...
-'values_error_index',double(-999999999),...
+'values_error_index',int32(-999999999),...
 'values_error_lower',double([]),...
 'values_error_upper',double([]))
 ;}},...
 'flux',{{struct(...
 'coefficients',double([]),...
-'coefficients_error_index',double(-999999999),...
+'coefficients_error_index',int32(-999999999),...
 'coefficients_error_lower',double([]),...
 'coefficients_error_upper',double([]),...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
 'values',double([]),...
-'values_error_index',double(-999999999),...
+'values_error_index',int32(-999999999),...
 'values_error_lower',double([]),...
 'values_error_upper',double([]))
 ;}},...
 'flux_limiter',{{struct(...
 'coefficients',double([]),...
-'coefficients_error_index',double(-999999999),...
+'coefficients_error_index',int32(-999999999),...
 'coefficients_error_lower',double([]),...
 'coefficients_error_upper',double([]),...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
 'values',double([]),...
-'values_error_index',double(-999999999),...
+'values_error_index',int32(-999999999),...
 'values_error_lower',double([]),...
 'values_error_upper',double([]))
 ;}},...
 'v',{{struct(...
 'coefficients',double([]),...
-'coefficients_error_index',double(-999999999),...
+'coefficients_error_index',int32(-999999999),...
 'coefficients_error_lower',double([]),...
 'coefficients_error_upper',double([]),...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
 'values',double([]),...
-'values_error_index',double(-999999999),...
+'values_error_index',int32(-999999999),...
 'values_error_lower',double([]),...
 'values_error_upper',double([]))
 ;}}))
@@ -1648,108 +1652,108 @@ struct(...
 'ggd_fast',{{struct(...
 'electrons',struct(...
 'particle_flux_integrated',{{struct(...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
-'value',double(-9.0000000000000006360851714687e+40),...
-'value_error_index',double(-999999999),...
-'value_error_lower',double(-9.0000000000000006360851714687e+40),...
-'value_error_upper',double(-9.0000000000000006360851714687e+40))
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
+'value',double(-9e+40),...
+'value_error_index',int32(-999999999),...
+'value_error_lower',double(-9e+40),...
+'value_error_upper',double(-9e+40))
 ;}},...
 'power',{{struct(...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
-'value',double(-9.0000000000000006360851714687e+40),...
-'value_error_index',double(-999999999),...
-'value_error_lower',double(-9.0000000000000006360851714687e+40),...
-'value_error_upper',double(-9.0000000000000006360851714687e+40))
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
+'value',double(-9e+40),...
+'value_error_index',int32(-999999999),...
+'value_error_lower',double(-9e+40),...
+'value_error_upper',double(-9e+40))
 ;}}),...
 'energy_flux_max',{{struct(...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
-'value',double(-9.0000000000000006360851714687e+40),...
-'value_error_index',double(-999999999),...
-'value_error_lower',double(-9.0000000000000006360851714687e+40),...
-'value_error_upper',double(-9.0000000000000006360851714687e+40))
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
+'value',double(-9e+40),...
+'value_error_index',int32(-999999999),...
+'value_error_lower',double(-9e+40),...
+'value_error_upper',double(-9e+40))
 ;}},...
 'ion',{{struct(...
 'element',{{struct(...
-'a',double(-9.0000000000000006360851714687e+40),...
-'a_error_index',double(-999999999),...
-'a_error_lower',double(-9.0000000000000006360851714687e+40),...
-'a_error_upper',double(-9.0000000000000006360851714687e+40),...
-'atoms_n',double(-999999999),...
-'multiplicity',double(-9.0000000000000006360851714687e+40),...
-'multiplicity_error_index',double(-999999999),...
-'multiplicity_error_lower',double(-9.0000000000000006360851714687e+40),...
-'multiplicity_error_upper',double(-9.0000000000000006360851714687e+40),...
-'z_n',double(-9.0000000000000006360851714687e+40),...
-'z_n_error_index',double(-999999999),...
-'z_n_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_n_error_upper',double(-9.0000000000000006360851714687e+40))
-;}},...
-'label',double([]),...
-'neutral_index',double(-999999999),...
+'a',double(-9e+40),...
+'a_error_index',int32(-999999999),...
+'a_error_lower',double(-9e+40),...
+'a_error_upper',double(-9e+40),...
+'atoms_n',int32(-999999999),...
+'multiplicity',double(-9e+40),...
+'multiplicity_error_index',int32(-999999999),...
+'multiplicity_error_lower',double(-9e+40),...
+'multiplicity_error_upper',double(-9e+40),...
+'z_n',double(-9e+40),...
+'z_n_error_index',int32(-999999999),...
+'z_n_error_lower',double(-9e+40),...
+'z_n_error_upper',double(-9e+40))
+;}},...
+'label','',...
+'neutral_index',int32(-999999999),...
 'particle_flux_integrated',{{struct(...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
-'value',double(-9.0000000000000006360851714687e+40),...
-'value_error_index',double(-999999999),...
-'value_error_lower',double(-9.0000000000000006360851714687e+40),...
-'value_error_upper',double(-9.0000000000000006360851714687e+40))
-;}},...
-'z_ion',double(-9.0000000000000006360851714687e+40),...
-'z_ion_error_index',double(-999999999),...
-'z_ion_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_ion_error_upper',double(-9.0000000000000006360851714687e+40))
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
+'value',double(-9e+40),...
+'value_error_index',int32(-999999999),...
+'value_error_lower',double(-9e+40),...
+'value_error_upper',double(-9e+40))
+;}},...
+'z_ion',double(-9e+40),...
+'z_ion_error_index',int32(-999999999),...
+'z_ion_error_lower',double(-9e+40),...
+'z_ion_error_upper',double(-9e+40))
 ;}},...
 'neutral',{{struct(...
 'element',{{struct(...
-'a',double(-9.0000000000000006360851714687e+40),...
-'a_error_index',double(-999999999),...
-'a_error_lower',double(-9.0000000000000006360851714687e+40),...
-'a_error_upper',double(-9.0000000000000006360851714687e+40),...
-'atoms_n',double(-999999999),...
-'multiplicity',double(-9.0000000000000006360851714687e+40),...
-'multiplicity_error_index',double(-999999999),...
-'multiplicity_error_lower',double(-9.0000000000000006360851714687e+40),...
-'multiplicity_error_upper',double(-9.0000000000000006360851714687e+40),...
-'z_n',double(-9.0000000000000006360851714687e+40),...
-'z_n_error_index',double(-999999999),...
-'z_n_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_n_error_upper',double(-9.0000000000000006360851714687e+40))
-;}},...
-'ion_index',double(-999999999),...
-'label',double([]),...
+'a',double(-9e+40),...
+'a_error_index',int32(-999999999),...
+'a_error_lower',double(-9e+40),...
+'a_error_upper',double(-9e+40),...
+'atoms_n',int32(-999999999),...
+'multiplicity',double(-9e+40),...
+'multiplicity_error_index',int32(-999999999),...
+'multiplicity_error_lower',double(-9e+40),...
+'multiplicity_error_upper',double(-9e+40),...
+'z_n',double(-9e+40),...
+'z_n_error_index',int32(-999999999),...
+'z_n_error_lower',double(-9e+40),...
+'z_n_error_upper',double(-9e+40))
+;}},...
+'ion_index',int32(-999999999),...
+'label','',...
 'particle_flux_integrated',{{struct(...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
-'value',double(-9.0000000000000006360851714687e+40),...
-'value_error_index',double(-999999999),...
-'value_error_lower',double(-9.0000000000000006360851714687e+40),...
-'value_error_upper',double(-9.0000000000000006360851714687e+40))
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
+'value',double(-9e+40),...
+'value_error_index',int32(-999999999),...
+'value_error_lower',double(-9e+40),...
+'value_error_upper',double(-9e+40))
 ;}})
 ;}},...
 'power',{{struct(...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
-'value',double(-9.0000000000000006360851714687e+40),...
-'value_error_index',double(-999999999),...
-'value_error_lower',double(-9.0000000000000006360851714687e+40),...
-'value_error_upper',double(-9.0000000000000006360851714687e+40))
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
+'value',double(-9e+40),...
+'value_error_index',int32(-999999999),...
+'value_error_lower',double(-9e+40),...
+'value_error_upper',double(-9e+40))
 ;}},...
 'power_ion_total',{{struct(...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
-'value',double(-9.0000000000000006360851714687e+40),...
-'value_error_index',double(-999999999),...
-'value_error_lower',double(-9.0000000000000006360851714687e+40),...
-'value_error_upper',double(-9.0000000000000006360851714687e+40))
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
+'value',double(-9e+40),...
+'value_error_index',int32(-999999999),...
+'value_error_lower',double(-9e+40),...
+'value_error_upper',double(-9e+40))
 ;}},...
-'time',double(-9.0000000000000006360851714687e+40))
+'time',double(-9e+40))
 ;}},...
 'identifier',struct(...
-'description',double([]),...
-'index',double(-999999999),...
-'name',double([])))
+'description','',...
+'index',int32(-999999999),...
+'name',''))
 ;}},...
 'time',double([]));
diff --git a/matlab/TCV_IMAS/ids_empty/ids_empty_em_coupling.m b/matlab/TCV_IMAS/ids_empty/ids_empty_em_coupling.m
index f02d215bdc494ff1bfdd9a45c0eb945fd94c2006..5e66747007628e821130d42f35366bdfdb688f4c 100644
--- a/matlab/TCV_IMAS/ids_empty/ids_empty_em_coupling.m
+++ b/matlab/TCV_IMAS/ids_empty/ids_empty_em_coupling.m
@@ -5,70 +5,74 @@ function S = ids_empty_em_coupling
 
 S = ... 
 struct(...
-'active_coils',{{double([]);}},...
+'active_coils',{{}},...
 'code',struct(...
-'commit',double([]),...
-'name',double([]),...
-'output_flag',double([]),...
-'parameters',double([]),...
-'repository',double([]),...
-'version',double([])),...
+'commit','',...
+'name','',...
+'output_flag',int32([]),...
+'parameters','',...
+'repository','',...
+'version',''),...
 'field_probes_active',double([]),...
-'field_probes_active_error_index',double(-999999999),...
+'field_probes_active_error_index',int32(-999999999),...
 'field_probes_active_error_lower',double([]),...
 'field_probes_active_error_upper',double([]),...
 'field_probes_grid',double([]),...
-'field_probes_grid_error_index',double(-999999999),...
+'field_probes_grid_error_index',int32(-999999999),...
 'field_probes_grid_error_lower',double([]),...
 'field_probes_grid_error_upper',double([]),...
 'field_probes_passive',double([]),...
-'field_probes_passive_error_index',double(-999999999),...
+'field_probes_passive_error_index',int32(-999999999),...
 'field_probes_passive_error_lower',double([]),...
 'field_probes_passive_error_upper',double([]),...
-'flux_loops',{{double([]);}},...
-'grid_points',{{double([]);}},...
+'flux_loops',{{}},...
+'grid_points',{{}},...
 'ids_properties',struct(...
-'comment',double([]),...
-'creation_date',double([]),...
-'homogeneous_time',double(-999999999),...
-'provider',double([]),...
-'source',double([])),...
+'comment','',...
+'creation_date','',...
+'homogeneous_time',int32(-999999999),...
+'provider','',...
+'source','',...
+'version_put',struct(...
+'access_layer','',...
+'access_layer_language','',...
+'data_dictionary','')),...
 'mutual_active_active',double([]),...
-'mutual_active_active_error_index',double(-999999999),...
+'mutual_active_active_error_index',int32(-999999999),...
 'mutual_active_active_error_lower',double([]),...
 'mutual_active_active_error_upper',double([]),...
 'mutual_grid_active',double([]),...
-'mutual_grid_active_error_index',double(-999999999),...
+'mutual_grid_active_error_index',int32(-999999999),...
 'mutual_grid_active_error_lower',double([]),...
 'mutual_grid_active_error_upper',double([]),...
 'mutual_grid_grid',double([]),...
-'mutual_grid_grid_error_index',double(-999999999),...
+'mutual_grid_grid_error_index',int32(-999999999),...
 'mutual_grid_grid_error_lower',double([]),...
 'mutual_grid_grid_error_upper',double([]),...
 'mutual_grid_passive',double([]),...
-'mutual_grid_passive_error_index',double(-999999999),...
+'mutual_grid_passive_error_index',int32(-999999999),...
 'mutual_grid_passive_error_lower',double([]),...
 'mutual_grid_passive_error_upper',double([]),...
 'mutual_loops_active',double([]),...
-'mutual_loops_active_error_index',double(-999999999),...
+'mutual_loops_active_error_index',int32(-999999999),...
 'mutual_loops_active_error_lower',double([]),...
 'mutual_loops_active_error_upper',double([]),...
 'mutual_loops_grid',double([]),...
-'mutual_loops_grid_error_index',double(-999999999),...
+'mutual_loops_grid_error_index',int32(-999999999),...
 'mutual_loops_grid_error_lower',double([]),...
 'mutual_loops_grid_error_upper',double([]),...
 'mutual_loops_passive',double([]),...
-'mutual_loops_passive_error_index',double(-999999999),...
+'mutual_loops_passive_error_index',int32(-999999999),...
 'mutual_loops_passive_error_lower',double([]),...
 'mutual_loops_passive_error_upper',double([]),...
 'mutual_passive_active',double([]),...
-'mutual_passive_active_error_index',double(-999999999),...
+'mutual_passive_active_error_index',int32(-999999999),...
 'mutual_passive_active_error_lower',double([]),...
 'mutual_passive_active_error_upper',double([]),...
 'mutual_passive_passive',double([]),...
-'mutual_passive_passive_error_index',double(-999999999),...
+'mutual_passive_passive_error_index',int32(-999999999),...
 'mutual_passive_passive_error_lower',double([]),...
 'mutual_passive_passive_error_upper',double([]),...
-'passive_loops',{{double([]);}},...
-'poloidal_probes',{{double([]);}},...
+'passive_loops',{{}},...
+'poloidal_probes',{{}},...
 'time',double([]));
diff --git a/matlab/TCV_IMAS/ids_empty/ids_empty_equilibrium.m b/matlab/TCV_IMAS/ids_empty/ids_empty_equilibrium.m
index 37bccdf04379659cebf837eaa8d9741fa7ed1b4f..580edc3e860f24947d7611abde988eebf02d773c 100644
--- a/matlab/TCV_IMAS/ids_empty/ids_empty_equilibrium.m
+++ b/matlab/TCV_IMAS/ids_empty/ids_empty_equilibrium.m
@@ -6,816 +6,820 @@ function S = ids_empty_equilibrium
 S = ... 
 struct(...
 'code',struct(...
-'commit',double([]),...
-'name',double([]),...
-'output_flag',double([]),...
-'parameters',double([]),...
-'repository',double([]),...
-'version',double([])),...
+'commit','',...
+'name','',...
+'output_flag',int32([]),...
+'parameters','',...
+'repository','',...
+'version',''),...
 'grids_ggd',{{struct(...
 'grid',{{struct(...
 'grid_subset',{{struct(...
 'base',{{struct(...
 'jacobian',double([]),...
-'jacobian_error_index',double(-999999999),...
+'jacobian_error_index',int32(-999999999),...
 'jacobian_error_lower',double([]),...
 'jacobian_error_upper',double([]),...
 'tensor_contravariant',double([]),...
-'tensor_contravariant_error_index',double(-999999999),...
+'tensor_contravariant_error_index',int32(-999999999),...
 'tensor_contravariant_error_lower',double([]),...
 'tensor_contravariant_error_upper',double([]),...
 'tensor_covariant',double([]),...
-'tensor_covariant_error_index',double(-999999999),...
+'tensor_covariant_error_index',int32(-999999999),...
 'tensor_covariant_error_lower',double([]),...
 'tensor_covariant_error_upper',double([]))
 ;}},...
-'dimension',double(-999999999),...
+'dimension',int32(-999999999),...
 'element',{{struct(...
 'object',{{struct(...
-'dimension',double(-999999999),...
-'index',double(-999999999),...
-'space',double(-999999999))
+'dimension',int32(-999999999),...
+'index',int32(-999999999),...
+'space',int32(-999999999))
 ;}})
 ;}},...
 'identifier',struct(...
-'description',double([]),...
-'index',double(-999999999),...
-'name',double([])),...
+'description','',...
+'index',int32(-999999999),...
+'name',''),...
 'metric',struct(...
 'jacobian',double([]),...
-'jacobian_error_index',double(-999999999),...
+'jacobian_error_index',int32(-999999999),...
 'jacobian_error_lower',double([]),...
 'jacobian_error_upper',double([]),...
 'tensor_contravariant',double([]),...
-'tensor_contravariant_error_index',double(-999999999),...
+'tensor_contravariant_error_index',int32(-999999999),...
 'tensor_contravariant_error_lower',double([]),...
 'tensor_contravariant_error_upper',double([]),...
 'tensor_covariant',double([]),...
-'tensor_covariant_error_index',double(-999999999),...
+'tensor_covariant_error_index',int32(-999999999),...
 'tensor_covariant_error_lower',double([]),...
 'tensor_covariant_error_upper',double([])))
 ;}},...
 'identifier',struct(...
-'description',double([]),...
-'index',double(-999999999),...
-'name',double([])),...
+'description','',...
+'index',int32(-999999999),...
+'name',''),...
 'space',{{struct(...
-'coordinates_type',double([]),...
+'coordinates_type',int32([]),...
 'geometry_type',struct(...
-'description',double([]),...
-'index',double(-999999999),...
-'name',double([])),...
+'description','',...
+'index',int32(-999999999),...
+'name',''),...
 'identifier',struct(...
-'description',double([]),...
-'index',double(-999999999),...
-'name',double([])),...
+'description','',...
+'index',int32(-999999999),...
+'name',''),...
 'objects_per_dimension',{{struct(...
 'object',{{struct(...
 'boundary',{{struct(...
-'index',double(-999999999),...
-'neighbours',double([]))
+'index',int32(-999999999),...
+'neighbours',int32([]))
 ;}},...
 'geometry',double([]),...
-'geometry_error_index',double(-999999999),...
+'geometry_error_index',int32(-999999999),...
 'geometry_error_lower',double([]),...
 'geometry_error_upper',double([]),...
-'measure',double(-9.0000000000000006360851714687e+40),...
-'measure_error_index',double(-999999999),...
-'measure_error_lower',double(-9.0000000000000006360851714687e+40),...
-'measure_error_upper',double(-9.0000000000000006360851714687e+40),...
-'nodes',double([]))
+'measure',double(-9e+40),...
+'measure_error_index',int32(-999999999),...
+'measure_error_lower',double(-9e+40),...
+'measure_error_upper',double(-9e+40),...
+'nodes',int32([]))
 ;}})
 ;}})
 ;}})
 ;}},...
-'time',double(-9.0000000000000006360851714687e+40))
+'time',double(-9e+40))
 ;}},...
 'ids_properties',struct(...
-'comment',double([]),...
-'creation_date',double([]),...
-'homogeneous_time',double(-999999999),...
-'provider',double([]),...
-'source',double([])),...
+'comment','',...
+'creation_date','',...
+'homogeneous_time',int32(-999999999),...
+'provider','',...
+'source','',...
+'version_put',struct(...
+'access_layer','',...
+'access_layer_language','',...
+'data_dictionary','')),...
 'time',double([]),...
 'time_slice',{{struct(...
 'boundary',struct(...
 'active_limiter_point',struct(...
-'r',double(-9.0000000000000006360851714687e+40),...
-'r_error_index',double(-999999999),...
-'r_error_lower',double(-9.0000000000000006360851714687e+40),...
-'r_error_upper',double(-9.0000000000000006360851714687e+40),...
-'z',double(-9.0000000000000006360851714687e+40),...
-'z_error_index',double(-999999999),...
-'z_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_error_upper',double(-9.0000000000000006360851714687e+40)),...
-'b_flux_pol_norm',double(-9.0000000000000006360851714687e+40),...
-'b_flux_pol_norm_error_index',double(-999999999),...
-'b_flux_pol_norm_error_lower',double(-9.0000000000000006360851714687e+40),...
-'b_flux_pol_norm_error_upper',double(-9.0000000000000006360851714687e+40),...
-'elongation',double(-9.0000000000000006360851714687e+40),...
-'elongation_error_index',double(-999999999),...
-'elongation_error_lower',double(-9.0000000000000006360851714687e+40),...
-'elongation_error_upper',double(-9.0000000000000006360851714687e+40),...
-'elongation_lower',double(-9.0000000000000006360851714687e+40),...
-'elongation_lower_error_index',double(-999999999),...
-'elongation_lower_error_lower',double(-9.0000000000000006360851714687e+40),...
-'elongation_lower_error_upper',double(-9.0000000000000006360851714687e+40),...
-'elongation_upper',double(-9.0000000000000006360851714687e+40),...
-'elongation_upper_error_index',double(-999999999),...
-'elongation_upper_error_lower',double(-9.0000000000000006360851714687e+40),...
-'elongation_upper_error_upper',double(-9.0000000000000006360851714687e+40),...
+'r',double(-9e+40),...
+'r_error_index',int32(-999999999),...
+'r_error_lower',double(-9e+40),...
+'r_error_upper',double(-9e+40),...
+'z',double(-9e+40),...
+'z_error_index',int32(-999999999),...
+'z_error_lower',double(-9e+40),...
+'z_error_upper',double(-9e+40)),...
+'b_flux_pol_norm',double(-9e+40),...
+'b_flux_pol_norm_error_index',int32(-999999999),...
+'b_flux_pol_norm_error_lower',double(-9e+40),...
+'b_flux_pol_norm_error_upper',double(-9e+40),...
+'elongation',double(-9e+40),...
+'elongation_error_index',int32(-999999999),...
+'elongation_error_lower',double(-9e+40),...
+'elongation_error_upper',double(-9e+40),...
+'elongation_lower',double(-9e+40),...
+'elongation_lower_error_index',int32(-999999999),...
+'elongation_lower_error_lower',double(-9e+40),...
+'elongation_lower_error_upper',double(-9e+40),...
+'elongation_upper',double(-9e+40),...
+'elongation_upper_error_index',int32(-999999999),...
+'elongation_upper_error_lower',double(-9e+40),...
+'elongation_upper_error_upper',double(-9e+40),...
 'geometric_axis',struct(...
-'r',double(-9.0000000000000006360851714687e+40),...
-'r_error_index',double(-999999999),...
-'r_error_lower',double(-9.0000000000000006360851714687e+40),...
-'r_error_upper',double(-9.0000000000000006360851714687e+40),...
-'z',double(-9.0000000000000006360851714687e+40),...
-'z_error_index',double(-999999999),...
-'z_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_error_upper',double(-9.0000000000000006360851714687e+40)),...
+'r',double(-9e+40),...
+'r_error_index',int32(-999999999),...
+'r_error_lower',double(-9e+40),...
+'r_error_upper',double(-9e+40),...
+'z',double(-9e+40),...
+'z_error_index',int32(-999999999),...
+'z_error_lower',double(-9e+40),...
+'z_error_upper',double(-9e+40)),...
 'lcfs',struct(...
 'r',double([]),...
-'r_error_index',double(-999999999),...
+'r_error_index',int32(-999999999),...
 'r_error_lower',double([]),...
 'r_error_upper',double([]),...
 'z',double([]),...
-'z_error_index',double(-999999999),...
+'z_error_index',int32(-999999999),...
 'z_error_lower',double([]),...
 'z_error_upper',double([])),...
-'minor_radius',double(-9.0000000000000006360851714687e+40),...
-'minor_radius_error_index',double(-999999999),...
-'minor_radius_error_lower',double(-9.0000000000000006360851714687e+40),...
-'minor_radius_error_upper',double(-9.0000000000000006360851714687e+40),...
+'minor_radius',double(-9e+40),...
+'minor_radius_error_index',int32(-999999999),...
+'minor_radius_error_lower',double(-9e+40),...
+'minor_radius_error_upper',double(-9e+40),...
 'outline',struct(...
 'r',double([]),...
-'r_error_index',double(-999999999),...
+'r_error_index',int32(-999999999),...
 'r_error_lower',double([]),...
 'r_error_upper',double([]),...
 'z',double([]),...
-'z_error_index',double(-999999999),...
+'z_error_index',int32(-999999999),...
 'z_error_lower',double([]),...
 'z_error_upper',double([])),...
-'psi',double(-9.0000000000000006360851714687e+40),...
-'psi_error_index',double(-999999999),...
-'psi_error_lower',double(-9.0000000000000006360851714687e+40),...
-'psi_error_upper',double(-9.0000000000000006360851714687e+40),...
-'psi_norm',double(-9.0000000000000006360851714687e+40),...
-'psi_norm_error_index',double(-999999999),...
-'psi_norm_error_lower',double(-9.0000000000000006360851714687e+40),...
-'psi_norm_error_upper',double(-9.0000000000000006360851714687e+40),...
-'squareness_lower_inner',double(-9.0000000000000006360851714687e+40),...
-'squareness_lower_inner_error_index',double(-999999999),...
-'squareness_lower_inner_error_lower',double(-9.0000000000000006360851714687e+40),...
-'squareness_lower_inner_error_upper',double(-9.0000000000000006360851714687e+40),...
-'squareness_lower_outer',double(-9.0000000000000006360851714687e+40),...
-'squareness_lower_outer_error_index',double(-999999999),...
-'squareness_lower_outer_error_lower',double(-9.0000000000000006360851714687e+40),...
-'squareness_lower_outer_error_upper',double(-9.0000000000000006360851714687e+40),...
-'squareness_upper_inner',double(-9.0000000000000006360851714687e+40),...
-'squareness_upper_inner_error_index',double(-999999999),...
-'squareness_upper_inner_error_lower',double(-9.0000000000000006360851714687e+40),...
-'squareness_upper_inner_error_upper',double(-9.0000000000000006360851714687e+40),...
-'squareness_upper_outer',double(-9.0000000000000006360851714687e+40),...
-'squareness_upper_outer_error_index',double(-999999999),...
-'squareness_upper_outer_error_lower',double(-9.0000000000000006360851714687e+40),...
-'squareness_upper_outer_error_upper',double(-9.0000000000000006360851714687e+40),...
+'psi',double(-9e+40),...
+'psi_error_index',int32(-999999999),...
+'psi_error_lower',double(-9e+40),...
+'psi_error_upper',double(-9e+40),...
+'psi_norm',double(-9e+40),...
+'psi_norm_error_index',int32(-999999999),...
+'psi_norm_error_lower',double(-9e+40),...
+'psi_norm_error_upper',double(-9e+40),...
+'squareness_lower_inner',double(-9e+40),...
+'squareness_lower_inner_error_index',int32(-999999999),...
+'squareness_lower_inner_error_lower',double(-9e+40),...
+'squareness_lower_inner_error_upper',double(-9e+40),...
+'squareness_lower_outer',double(-9e+40),...
+'squareness_lower_outer_error_index',int32(-999999999),...
+'squareness_lower_outer_error_lower',double(-9e+40),...
+'squareness_lower_outer_error_upper',double(-9e+40),...
+'squareness_upper_inner',double(-9e+40),...
+'squareness_upper_inner_error_index',int32(-999999999),...
+'squareness_upper_inner_error_lower',double(-9e+40),...
+'squareness_upper_inner_error_upper',double(-9e+40),...
+'squareness_upper_outer',double(-9e+40),...
+'squareness_upper_outer_error_index',int32(-999999999),...
+'squareness_upper_outer_error_lower',double(-9e+40),...
+'squareness_upper_outer_error_upper',double(-9e+40),...
 'strike_point',{{struct(...
-'r',double(-9.0000000000000006360851714687e+40),...
-'r_error_index',double(-999999999),...
-'r_error_lower',double(-9.0000000000000006360851714687e+40),...
-'r_error_upper',double(-9.0000000000000006360851714687e+40),...
-'z',double(-9.0000000000000006360851714687e+40),...
-'z_error_index',double(-999999999),...
-'z_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_error_upper',double(-9.0000000000000006360851714687e+40))
+'r',double(-9e+40),...
+'r_error_index',int32(-999999999),...
+'r_error_lower',double(-9e+40),...
+'r_error_upper',double(-9e+40),...
+'z',double(-9e+40),...
+'z_error_index',int32(-999999999),...
+'z_error_lower',double(-9e+40),...
+'z_error_upper',double(-9e+40))
 ;}},...
-'triangularity',double(-9.0000000000000006360851714687e+40),...
-'triangularity_error_index',double(-999999999),...
-'triangularity_error_lower',double(-9.0000000000000006360851714687e+40),...
-'triangularity_error_upper',double(-9.0000000000000006360851714687e+40),...
-'triangularity_lower',double(-9.0000000000000006360851714687e+40),...
-'triangularity_lower_error_index',double(-999999999),...
-'triangularity_lower_error_lower',double(-9.0000000000000006360851714687e+40),...
-'triangularity_lower_error_upper',double(-9.0000000000000006360851714687e+40),...
-'triangularity_upper',double(-9.0000000000000006360851714687e+40),...
-'triangularity_upper_error_index',double(-999999999),...
-'triangularity_upper_error_lower',double(-9.0000000000000006360851714687e+40),...
-'triangularity_upper_error_upper',double(-9.0000000000000006360851714687e+40),...
-'type',double(-999999999),...
+'triangularity',double(-9e+40),...
+'triangularity_error_index',int32(-999999999),...
+'triangularity_error_lower',double(-9e+40),...
+'triangularity_error_upper',double(-9e+40),...
+'triangularity_lower',double(-9e+40),...
+'triangularity_lower_error_index',int32(-999999999),...
+'triangularity_lower_error_lower',double(-9e+40),...
+'triangularity_lower_error_upper',double(-9e+40),...
+'triangularity_upper',double(-9e+40),...
+'triangularity_upper_error_index',int32(-999999999),...
+'triangularity_upper_error_lower',double(-9e+40),...
+'triangularity_upper_error_upper',double(-9e+40),...
+'type',int32(-999999999),...
 'x_point',{{struct(...
-'r',double(-9.0000000000000006360851714687e+40),...
-'r_error_index',double(-999999999),...
-'r_error_lower',double(-9.0000000000000006360851714687e+40),...
-'r_error_upper',double(-9.0000000000000006360851714687e+40),...
-'z',double(-9.0000000000000006360851714687e+40),...
-'z_error_index',double(-999999999),...
-'z_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_error_upper',double(-9.0000000000000006360851714687e+40))
+'r',double(-9e+40),...
+'r_error_index',int32(-999999999),...
+'r_error_lower',double(-9e+40),...
+'r_error_upper',double(-9e+40),...
+'z',double(-9e+40),...
+'z_error_index',int32(-999999999),...
+'z_error_lower',double(-9e+40),...
+'z_error_upper',double(-9e+40))
 ;}}),...
 'boundary_separatrix',struct(...
 'active_limiter_point',struct(...
-'r',double(-9.0000000000000006360851714687e+40),...
-'r_error_index',double(-999999999),...
-'r_error_lower',double(-9.0000000000000006360851714687e+40),...
-'r_error_upper',double(-9.0000000000000006360851714687e+40),...
-'z',double(-9.0000000000000006360851714687e+40),...
-'z_error_index',double(-999999999),...
-'z_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_error_upper',double(-9.0000000000000006360851714687e+40)),...
-'elongation',double(-9.0000000000000006360851714687e+40),...
-'elongation_error_index',double(-999999999),...
-'elongation_error_lower',double(-9.0000000000000006360851714687e+40),...
-'elongation_error_upper',double(-9.0000000000000006360851714687e+40),...
-'elongation_lower',double(-9.0000000000000006360851714687e+40),...
-'elongation_lower_error_index',double(-999999999),...
-'elongation_lower_error_lower',double(-9.0000000000000006360851714687e+40),...
-'elongation_lower_error_upper',double(-9.0000000000000006360851714687e+40),...
-'elongation_upper',double(-9.0000000000000006360851714687e+40),...
-'elongation_upper_error_index',double(-999999999),...
-'elongation_upper_error_lower',double(-9.0000000000000006360851714687e+40),...
-'elongation_upper_error_upper',double(-9.0000000000000006360851714687e+40),...
+'r',double(-9e+40),...
+'r_error_index',int32(-999999999),...
+'r_error_lower',double(-9e+40),...
+'r_error_upper',double(-9e+40),...
+'z',double(-9e+40),...
+'z_error_index',int32(-999999999),...
+'z_error_lower',double(-9e+40),...
+'z_error_upper',double(-9e+40)),...
+'elongation',double(-9e+40),...
+'elongation_error_index',int32(-999999999),...
+'elongation_error_lower',double(-9e+40),...
+'elongation_error_upper',double(-9e+40),...
+'elongation_lower',double(-9e+40),...
+'elongation_lower_error_index',int32(-999999999),...
+'elongation_lower_error_lower',double(-9e+40),...
+'elongation_lower_error_upper',double(-9e+40),...
+'elongation_upper',double(-9e+40),...
+'elongation_upper_error_index',int32(-999999999),...
+'elongation_upper_error_lower',double(-9e+40),...
+'elongation_upper_error_upper',double(-9e+40),...
 'geometric_axis',struct(...
-'r',double(-9.0000000000000006360851714687e+40),...
-'r_error_index',double(-999999999),...
-'r_error_lower',double(-9.0000000000000006360851714687e+40),...
-'r_error_upper',double(-9.0000000000000006360851714687e+40),...
-'z',double(-9.0000000000000006360851714687e+40),...
-'z_error_index',double(-999999999),...
-'z_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_error_upper',double(-9.0000000000000006360851714687e+40)),...
-'minor_radius',double(-9.0000000000000006360851714687e+40),...
-'minor_radius_error_index',double(-999999999),...
-'minor_radius_error_lower',double(-9.0000000000000006360851714687e+40),...
-'minor_radius_error_upper',double(-9.0000000000000006360851714687e+40),...
+'r',double(-9e+40),...
+'r_error_index',int32(-999999999),...
+'r_error_lower',double(-9e+40),...
+'r_error_upper',double(-9e+40),...
+'z',double(-9e+40),...
+'z_error_index',int32(-999999999),...
+'z_error_lower',double(-9e+40),...
+'z_error_upper',double(-9e+40)),...
+'minor_radius',double(-9e+40),...
+'minor_radius_error_index',int32(-999999999),...
+'minor_radius_error_lower',double(-9e+40),...
+'minor_radius_error_upper',double(-9e+40),...
 'outline',struct(...
 'r',double([]),...
-'r_error_index',double(-999999999),...
+'r_error_index',int32(-999999999),...
 'r_error_lower',double([]),...
 'r_error_upper',double([]),...
 'z',double([]),...
-'z_error_index',double(-999999999),...
+'z_error_index',int32(-999999999),...
 'z_error_lower',double([]),...
 'z_error_upper',double([])),...
-'psi',double(-9.0000000000000006360851714687e+40),...
-'psi_error_index',double(-999999999),...
-'psi_error_lower',double(-9.0000000000000006360851714687e+40),...
-'psi_error_upper',double(-9.0000000000000006360851714687e+40),...
-'squareness_lower_inner',double(-9.0000000000000006360851714687e+40),...
-'squareness_lower_inner_error_index',double(-999999999),...
-'squareness_lower_inner_error_lower',double(-9.0000000000000006360851714687e+40),...
-'squareness_lower_inner_error_upper',double(-9.0000000000000006360851714687e+40),...
-'squareness_lower_outer',double(-9.0000000000000006360851714687e+40),...
-'squareness_lower_outer_error_index',double(-999999999),...
-'squareness_lower_outer_error_lower',double(-9.0000000000000006360851714687e+40),...
-'squareness_lower_outer_error_upper',double(-9.0000000000000006360851714687e+40),...
-'squareness_upper_inner',double(-9.0000000000000006360851714687e+40),...
-'squareness_upper_inner_error_index',double(-999999999),...
-'squareness_upper_inner_error_lower',double(-9.0000000000000006360851714687e+40),...
-'squareness_upper_inner_error_upper',double(-9.0000000000000006360851714687e+40),...
-'squareness_upper_outer',double(-9.0000000000000006360851714687e+40),...
-'squareness_upper_outer_error_index',double(-999999999),...
-'squareness_upper_outer_error_lower',double(-9.0000000000000006360851714687e+40),...
-'squareness_upper_outer_error_upper',double(-9.0000000000000006360851714687e+40),...
+'psi',double(-9e+40),...
+'psi_error_index',int32(-999999999),...
+'psi_error_lower',double(-9e+40),...
+'psi_error_upper',double(-9e+40),...
+'squareness_lower_inner',double(-9e+40),...
+'squareness_lower_inner_error_index',int32(-999999999),...
+'squareness_lower_inner_error_lower',double(-9e+40),...
+'squareness_lower_inner_error_upper',double(-9e+40),...
+'squareness_lower_outer',double(-9e+40),...
+'squareness_lower_outer_error_index',int32(-999999999),...
+'squareness_lower_outer_error_lower',double(-9e+40),...
+'squareness_lower_outer_error_upper',double(-9e+40),...
+'squareness_upper_inner',double(-9e+40),...
+'squareness_upper_inner_error_index',int32(-999999999),...
+'squareness_upper_inner_error_lower',double(-9e+40),...
+'squareness_upper_inner_error_upper',double(-9e+40),...
+'squareness_upper_outer',double(-9e+40),...
+'squareness_upper_outer_error_index',int32(-999999999),...
+'squareness_upper_outer_error_lower',double(-9e+40),...
+'squareness_upper_outer_error_upper',double(-9e+40),...
 'strike_point',{{struct(...
-'r',double(-9.0000000000000006360851714687e+40),...
-'r_error_index',double(-999999999),...
-'r_error_lower',double(-9.0000000000000006360851714687e+40),...
-'r_error_upper',double(-9.0000000000000006360851714687e+40),...
-'z',double(-9.0000000000000006360851714687e+40),...
-'z_error_index',double(-999999999),...
-'z_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_error_upper',double(-9.0000000000000006360851714687e+40))
+'r',double(-9e+40),...
+'r_error_index',int32(-999999999),...
+'r_error_lower',double(-9e+40),...
+'r_error_upper',double(-9e+40),...
+'z',double(-9e+40),...
+'z_error_index',int32(-999999999),...
+'z_error_lower',double(-9e+40),...
+'z_error_upper',double(-9e+40))
 ;}},...
-'triangularity',double(-9.0000000000000006360851714687e+40),...
-'triangularity_error_index',double(-999999999),...
-'triangularity_error_lower',double(-9.0000000000000006360851714687e+40),...
-'triangularity_error_upper',double(-9.0000000000000006360851714687e+40),...
-'triangularity_lower',double(-9.0000000000000006360851714687e+40),...
-'triangularity_lower_error_index',double(-999999999),...
-'triangularity_lower_error_lower',double(-9.0000000000000006360851714687e+40),...
-'triangularity_lower_error_upper',double(-9.0000000000000006360851714687e+40),...
-'triangularity_upper',double(-9.0000000000000006360851714687e+40),...
-'triangularity_upper_error_index',double(-999999999),...
-'triangularity_upper_error_lower',double(-9.0000000000000006360851714687e+40),...
-'triangularity_upper_error_upper',double(-9.0000000000000006360851714687e+40),...
-'type',double(-999999999),...
+'triangularity',double(-9e+40),...
+'triangularity_error_index',int32(-999999999),...
+'triangularity_error_lower',double(-9e+40),...
+'triangularity_error_upper',double(-9e+40),...
+'triangularity_lower',double(-9e+40),...
+'triangularity_lower_error_index',int32(-999999999),...
+'triangularity_lower_error_lower',double(-9e+40),...
+'triangularity_lower_error_upper',double(-9e+40),...
+'triangularity_upper',double(-9e+40),...
+'triangularity_upper_error_index',int32(-999999999),...
+'triangularity_upper_error_lower',double(-9e+40),...
+'triangularity_upper_error_upper',double(-9e+40),...
+'type',int32(-999999999),...
 'x_point',{{struct(...
-'r',double(-9.0000000000000006360851714687e+40),...
-'r_error_index',double(-999999999),...
-'r_error_lower',double(-9.0000000000000006360851714687e+40),...
-'r_error_upper',double(-9.0000000000000006360851714687e+40),...
-'z',double(-9.0000000000000006360851714687e+40),...
-'z_error_index',double(-999999999),...
-'z_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_error_upper',double(-9.0000000000000006360851714687e+40))
+'r',double(-9e+40),...
+'r_error_index',int32(-999999999),...
+'r_error_lower',double(-9e+40),...
+'r_error_upper',double(-9e+40),...
+'z',double(-9e+40),...
+'z_error_index',int32(-999999999),...
+'z_error_lower',double(-9e+40),...
+'z_error_upper',double(-9e+40))
 ;}}),...
 'constraints',struct(...
 'b_field_tor_vacuum_r',struct(...
-'chi_squared',double(-9.0000000000000006360851714687e+40),...
-'chi_squared_error_index',double(-999999999),...
-'chi_squared_error_lower',double(-9.0000000000000006360851714687e+40),...
-'chi_squared_error_upper',double(-9.0000000000000006360851714687e+40),...
-'exact',double(-999999999),...
-'measured',double(-9.0000000000000006360851714687e+40),...
-'measured_error_index',double(-999999999),...
-'measured_error_lower',double(-9.0000000000000006360851714687e+40),...
-'measured_error_upper',double(-9.0000000000000006360851714687e+40),...
-'reconstructed',double(-9.0000000000000006360851714687e+40),...
-'reconstructed_error_index',double(-999999999),...
-'reconstructed_error_lower',double(-9.0000000000000006360851714687e+40),...
-'reconstructed_error_upper',double(-9.0000000000000006360851714687e+40),...
-'source',double([]),...
-'time_measurement',double(-9.0000000000000006360851714687e+40),...
-'time_measurement_error_index',double(-999999999),...
-'time_measurement_error_lower',double(-9.0000000000000006360851714687e+40),...
-'time_measurement_error_upper',double(-9.0000000000000006360851714687e+40),...
-'weight',double(-9.0000000000000006360851714687e+40),...
-'weight_error_index',double(-999999999),...
-'weight_error_lower',double(-9.0000000000000006360851714687e+40),...
-'weight_error_upper',double(-9.0000000000000006360851714687e+40)),...
+'chi_squared',double(-9e+40),...
+'chi_squared_error_index',int32(-999999999),...
+'chi_squared_error_lower',double(-9e+40),...
+'chi_squared_error_upper',double(-9e+40),...
+'exact',int32(-999999999),...
+'measured',double(-9e+40),...
+'measured_error_index',int32(-999999999),...
+'measured_error_lower',double(-9e+40),...
+'measured_error_upper',double(-9e+40),...
+'reconstructed',double(-9e+40),...
+'reconstructed_error_index',int32(-999999999),...
+'reconstructed_error_lower',double(-9e+40),...
+'reconstructed_error_upper',double(-9e+40),...
+'source','',...
+'time_measurement',double(-9e+40),...
+'time_measurement_error_index',int32(-999999999),...
+'time_measurement_error_lower',double(-9e+40),...
+'time_measurement_error_upper',double(-9e+40),...
+'weight',double(-9e+40),...
+'weight_error_index',int32(-999999999),...
+'weight_error_lower',double(-9e+40),...
+'weight_error_upper',double(-9e+40)),...
 'bpol_probe',{{struct(...
-'chi_squared',double(-9.0000000000000006360851714687e+40),...
-'chi_squared_error_index',double(-999999999),...
-'chi_squared_error_lower',double(-9.0000000000000006360851714687e+40),...
-'chi_squared_error_upper',double(-9.0000000000000006360851714687e+40),...
-'exact',double(-999999999),...
-'measured',double(-9.0000000000000006360851714687e+40),...
-'measured_error_index',double(-999999999),...
-'measured_error_lower',double(-9.0000000000000006360851714687e+40),...
-'measured_error_upper',double(-9.0000000000000006360851714687e+40),...
-'reconstructed',double(-9.0000000000000006360851714687e+40),...
-'reconstructed_error_index',double(-999999999),...
-'reconstructed_error_lower',double(-9.0000000000000006360851714687e+40),...
-'reconstructed_error_upper',double(-9.0000000000000006360851714687e+40),...
-'source',double([]),...
-'time_measurement',double(-9.0000000000000006360851714687e+40),...
-'time_measurement_error_index',double(-999999999),...
-'time_measurement_error_lower',double(-9.0000000000000006360851714687e+40),...
-'time_measurement_error_upper',double(-9.0000000000000006360851714687e+40),...
-'weight',double(-9.0000000000000006360851714687e+40),...
-'weight_error_index',double(-999999999),...
-'weight_error_lower',double(-9.0000000000000006360851714687e+40),...
-'weight_error_upper',double(-9.0000000000000006360851714687e+40))
+'chi_squared',double(-9e+40),...
+'chi_squared_error_index',int32(-999999999),...
+'chi_squared_error_lower',double(-9e+40),...
+'chi_squared_error_upper',double(-9e+40),...
+'exact',int32(-999999999),...
+'measured',double(-9e+40),...
+'measured_error_index',int32(-999999999),...
+'measured_error_lower',double(-9e+40),...
+'measured_error_upper',double(-9e+40),...
+'reconstructed',double(-9e+40),...
+'reconstructed_error_index',int32(-999999999),...
+'reconstructed_error_lower',double(-9e+40),...
+'reconstructed_error_upper',double(-9e+40),...
+'source','',...
+'time_measurement',double(-9e+40),...
+'time_measurement_error_index',int32(-999999999),...
+'time_measurement_error_lower',double(-9e+40),...
+'time_measurement_error_upper',double(-9e+40),...
+'weight',double(-9e+40),...
+'weight_error_index',int32(-999999999),...
+'weight_error_lower',double(-9e+40),...
+'weight_error_upper',double(-9e+40))
 ;}},...
 'diamagnetic_flux',struct(...
-'chi_squared',double(-9.0000000000000006360851714687e+40),...
-'chi_squared_error_index',double(-999999999),...
-'chi_squared_error_lower',double(-9.0000000000000006360851714687e+40),...
-'chi_squared_error_upper',double(-9.0000000000000006360851714687e+40),...
-'exact',double(-999999999),...
-'measured',double(-9.0000000000000006360851714687e+40),...
-'measured_error_index',double(-999999999),...
-'measured_error_lower',double(-9.0000000000000006360851714687e+40),...
-'measured_error_upper',double(-9.0000000000000006360851714687e+40),...
-'reconstructed',double(-9.0000000000000006360851714687e+40),...
-'reconstructed_error_index',double(-999999999),...
-'reconstructed_error_lower',double(-9.0000000000000006360851714687e+40),...
-'reconstructed_error_upper',double(-9.0000000000000006360851714687e+40),...
-'source',double([]),...
-'time_measurement',double(-9.0000000000000006360851714687e+40),...
-'time_measurement_error_index',double(-999999999),...
-'time_measurement_error_lower',double(-9.0000000000000006360851714687e+40),...
-'time_measurement_error_upper',double(-9.0000000000000006360851714687e+40),...
-'weight',double(-9.0000000000000006360851714687e+40),...
-'weight_error_index',double(-999999999),...
-'weight_error_lower',double(-9.0000000000000006360851714687e+40),...
-'weight_error_upper',double(-9.0000000000000006360851714687e+40)),...
+'chi_squared',double(-9e+40),...
+'chi_squared_error_index',int32(-999999999),...
+'chi_squared_error_lower',double(-9e+40),...
+'chi_squared_error_upper',double(-9e+40),...
+'exact',int32(-999999999),...
+'measured',double(-9e+40),...
+'measured_error_index',int32(-999999999),...
+'measured_error_lower',double(-9e+40),...
+'measured_error_upper',double(-9e+40),...
+'reconstructed',double(-9e+40),...
+'reconstructed_error_index',int32(-999999999),...
+'reconstructed_error_lower',double(-9e+40),...
+'reconstructed_error_upper',double(-9e+40),...
+'source','',...
+'time_measurement',double(-9e+40),...
+'time_measurement_error_index',int32(-999999999),...
+'time_measurement_error_lower',double(-9e+40),...
+'time_measurement_error_upper',double(-9e+40),...
+'weight',double(-9e+40),...
+'weight_error_index',int32(-999999999),...
+'weight_error_lower',double(-9e+40),...
+'weight_error_upper',double(-9e+40)),...
 'faraday_angle',{{struct(...
-'chi_squared',double(-9.0000000000000006360851714687e+40),...
-'chi_squared_error_index',double(-999999999),...
-'chi_squared_error_lower',double(-9.0000000000000006360851714687e+40),...
-'chi_squared_error_upper',double(-9.0000000000000006360851714687e+40),...
-'exact',double(-999999999),...
-'measured',double(-9.0000000000000006360851714687e+40),...
-'measured_error_index',double(-999999999),...
-'measured_error_lower',double(-9.0000000000000006360851714687e+40),...
-'measured_error_upper',double(-9.0000000000000006360851714687e+40),...
-'reconstructed',double(-9.0000000000000006360851714687e+40),...
-'reconstructed_error_index',double(-999999999),...
-'reconstructed_error_lower',double(-9.0000000000000006360851714687e+40),...
-'reconstructed_error_upper',double(-9.0000000000000006360851714687e+40),...
-'source',double([]),...
-'time_measurement',double(-9.0000000000000006360851714687e+40),...
-'time_measurement_error_index',double(-999999999),...
-'time_measurement_error_lower',double(-9.0000000000000006360851714687e+40),...
-'time_measurement_error_upper',double(-9.0000000000000006360851714687e+40),...
-'weight',double(-9.0000000000000006360851714687e+40),...
-'weight_error_index',double(-999999999),...
-'weight_error_lower',double(-9.0000000000000006360851714687e+40),...
-'weight_error_upper',double(-9.0000000000000006360851714687e+40))
+'chi_squared',double(-9e+40),...
+'chi_squared_error_index',int32(-999999999),...
+'chi_squared_error_lower',double(-9e+40),...
+'chi_squared_error_upper',double(-9e+40),...
+'exact',int32(-999999999),...
+'measured',double(-9e+40),...
+'measured_error_index',int32(-999999999),...
+'measured_error_lower',double(-9e+40),...
+'measured_error_upper',double(-9e+40),...
+'reconstructed',double(-9e+40),...
+'reconstructed_error_index',int32(-999999999),...
+'reconstructed_error_lower',double(-9e+40),...
+'reconstructed_error_upper',double(-9e+40),...
+'source','',...
+'time_measurement',double(-9e+40),...
+'time_measurement_error_index',int32(-999999999),...
+'time_measurement_error_lower',double(-9e+40),...
+'time_measurement_error_upper',double(-9e+40),...
+'weight',double(-9e+40),...
+'weight_error_index',int32(-999999999),...
+'weight_error_lower',double(-9e+40),...
+'weight_error_upper',double(-9e+40))
 ;}},...
 'flux_loop',{{struct(...
-'chi_squared',double(-9.0000000000000006360851714687e+40),...
-'chi_squared_error_index',double(-999999999),...
-'chi_squared_error_lower',double(-9.0000000000000006360851714687e+40),...
-'chi_squared_error_upper',double(-9.0000000000000006360851714687e+40),...
-'exact',double(-999999999),...
-'measured',double(-9.0000000000000006360851714687e+40),...
-'measured_error_index',double(-999999999),...
-'measured_error_lower',double(-9.0000000000000006360851714687e+40),...
-'measured_error_upper',double(-9.0000000000000006360851714687e+40),...
-'reconstructed',double(-9.0000000000000006360851714687e+40),...
-'reconstructed_error_index',double(-999999999),...
-'reconstructed_error_lower',double(-9.0000000000000006360851714687e+40),...
-'reconstructed_error_upper',double(-9.0000000000000006360851714687e+40),...
-'source',double([]),...
-'time_measurement',double(-9.0000000000000006360851714687e+40),...
-'time_measurement_error_index',double(-999999999),...
-'time_measurement_error_lower',double(-9.0000000000000006360851714687e+40),...
-'time_measurement_error_upper',double(-9.0000000000000006360851714687e+40),...
-'weight',double(-9.0000000000000006360851714687e+40),...
-'weight_error_index',double(-999999999),...
-'weight_error_lower',double(-9.0000000000000006360851714687e+40),...
-'weight_error_upper',double(-9.0000000000000006360851714687e+40))
+'chi_squared',double(-9e+40),...
+'chi_squared_error_index',int32(-999999999),...
+'chi_squared_error_lower',double(-9e+40),...
+'chi_squared_error_upper',double(-9e+40),...
+'exact',int32(-999999999),...
+'measured',double(-9e+40),...
+'measured_error_index',int32(-999999999),...
+'measured_error_lower',double(-9e+40),...
+'measured_error_upper',double(-9e+40),...
+'reconstructed',double(-9e+40),...
+'reconstructed_error_index',int32(-999999999),...
+'reconstructed_error_lower',double(-9e+40),...
+'reconstructed_error_upper',double(-9e+40),...
+'source','',...
+'time_measurement',double(-9e+40),...
+'time_measurement_error_index',int32(-999999999),...
+'time_measurement_error_lower',double(-9e+40),...
+'time_measurement_error_upper',double(-9e+40),...
+'weight',double(-9e+40),...
+'weight_error_index',int32(-999999999),...
+'weight_error_lower',double(-9e+40),...
+'weight_error_upper',double(-9e+40))
 ;}},...
 'ip',struct(...
-'chi_squared',double(-9.0000000000000006360851714687e+40),...
-'chi_squared_error_index',double(-999999999),...
-'chi_squared_error_lower',double(-9.0000000000000006360851714687e+40),...
-'chi_squared_error_upper',double(-9.0000000000000006360851714687e+40),...
-'exact',double(-999999999),...
-'measured',double(-9.0000000000000006360851714687e+40),...
-'measured_error_index',double(-999999999),...
-'measured_error_lower',double(-9.0000000000000006360851714687e+40),...
-'measured_error_upper',double(-9.0000000000000006360851714687e+40),...
-'reconstructed',double(-9.0000000000000006360851714687e+40),...
-'reconstructed_error_index',double(-999999999),...
-'reconstructed_error_lower',double(-9.0000000000000006360851714687e+40),...
-'reconstructed_error_upper',double(-9.0000000000000006360851714687e+40),...
-'source',double([]),...
-'time_measurement',double(-9.0000000000000006360851714687e+40),...
-'time_measurement_error_index',double(-999999999),...
-'time_measurement_error_lower',double(-9.0000000000000006360851714687e+40),...
-'time_measurement_error_upper',double(-9.0000000000000006360851714687e+40),...
-'weight',double(-9.0000000000000006360851714687e+40),...
-'weight_error_index',double(-999999999),...
-'weight_error_lower',double(-9.0000000000000006360851714687e+40),...
-'weight_error_upper',double(-9.0000000000000006360851714687e+40)),...
+'chi_squared',double(-9e+40),...
+'chi_squared_error_index',int32(-999999999),...
+'chi_squared_error_lower',double(-9e+40),...
+'chi_squared_error_upper',double(-9e+40),...
+'exact',int32(-999999999),...
+'measured',double(-9e+40),...
+'measured_error_index',int32(-999999999),...
+'measured_error_lower',double(-9e+40),...
+'measured_error_upper',double(-9e+40),...
+'reconstructed',double(-9e+40),...
+'reconstructed_error_index',int32(-999999999),...
+'reconstructed_error_lower',double(-9e+40),...
+'reconstructed_error_upper',double(-9e+40),...
+'source','',...
+'time_measurement',double(-9e+40),...
+'time_measurement_error_index',int32(-999999999),...
+'time_measurement_error_lower',double(-9e+40),...
+'time_measurement_error_upper',double(-9e+40),...
+'weight',double(-9e+40),...
+'weight_error_index',int32(-999999999),...
+'weight_error_lower',double(-9e+40),...
+'weight_error_upper',double(-9e+40)),...
 'iron_core_segment',{{struct(...
 'magnetisation_r',struct(...
-'chi_squared',double(-9.0000000000000006360851714687e+40),...
-'chi_squared_error_index',double(-999999999),...
-'chi_squared_error_lower',double(-9.0000000000000006360851714687e+40),...
-'chi_squared_error_upper',double(-9.0000000000000006360851714687e+40),...
-'exact',double(-999999999),...
-'measured',double(-9.0000000000000006360851714687e+40),...
-'measured_error_index',double(-999999999),...
-'measured_error_lower',double(-9.0000000000000006360851714687e+40),...
-'measured_error_upper',double(-9.0000000000000006360851714687e+40),...
-'reconstructed',double(-9.0000000000000006360851714687e+40),...
-'reconstructed_error_index',double(-999999999),...
-'reconstructed_error_lower',double(-9.0000000000000006360851714687e+40),...
-'reconstructed_error_upper',double(-9.0000000000000006360851714687e+40),...
-'source',double([]),...
-'time_measurement',double(-9.0000000000000006360851714687e+40),...
-'time_measurement_error_index',double(-999999999),...
-'time_measurement_error_lower',double(-9.0000000000000006360851714687e+40),...
-'time_measurement_error_upper',double(-9.0000000000000006360851714687e+40),...
-'weight',double(-9.0000000000000006360851714687e+40),...
-'weight_error_index',double(-999999999),...
-'weight_error_lower',double(-9.0000000000000006360851714687e+40),...
-'weight_error_upper',double(-9.0000000000000006360851714687e+40)),...
+'chi_squared',double(-9e+40),...
+'chi_squared_error_index',int32(-999999999),...
+'chi_squared_error_lower',double(-9e+40),...
+'chi_squared_error_upper',double(-9e+40),...
+'exact',int32(-999999999),...
+'measured',double(-9e+40),...
+'measured_error_index',int32(-999999999),...
+'measured_error_lower',double(-9e+40),...
+'measured_error_upper',double(-9e+40),...
+'reconstructed',double(-9e+40),...
+'reconstructed_error_index',int32(-999999999),...
+'reconstructed_error_lower',double(-9e+40),...
+'reconstructed_error_upper',double(-9e+40),...
+'source','',...
+'time_measurement',double(-9e+40),...
+'time_measurement_error_index',int32(-999999999),...
+'time_measurement_error_lower',double(-9e+40),...
+'time_measurement_error_upper',double(-9e+40),...
+'weight',double(-9e+40),...
+'weight_error_index',int32(-999999999),...
+'weight_error_lower',double(-9e+40),...
+'weight_error_upper',double(-9e+40)),...
 'magnetisation_z',struct(...
-'chi_squared',double(-9.0000000000000006360851714687e+40),...
-'chi_squared_error_index',double(-999999999),...
-'chi_squared_error_lower',double(-9.0000000000000006360851714687e+40),...
-'chi_squared_error_upper',double(-9.0000000000000006360851714687e+40),...
-'exact',double(-999999999),...
-'measured',double(-9.0000000000000006360851714687e+40),...
-'measured_error_index',double(-999999999),...
-'measured_error_lower',double(-9.0000000000000006360851714687e+40),...
-'measured_error_upper',double(-9.0000000000000006360851714687e+40),...
-'reconstructed',double(-9.0000000000000006360851714687e+40),...
-'reconstructed_error_index',double(-999999999),...
-'reconstructed_error_lower',double(-9.0000000000000006360851714687e+40),...
-'reconstructed_error_upper',double(-9.0000000000000006360851714687e+40),...
-'source',double([]),...
-'time_measurement',double(-9.0000000000000006360851714687e+40),...
-'time_measurement_error_index',double(-999999999),...
-'time_measurement_error_lower',double(-9.0000000000000006360851714687e+40),...
-'time_measurement_error_upper',double(-9.0000000000000006360851714687e+40),...
-'weight',double(-9.0000000000000006360851714687e+40),...
-'weight_error_index',double(-999999999),...
-'weight_error_lower',double(-9.0000000000000006360851714687e+40),...
-'weight_error_upper',double(-9.0000000000000006360851714687e+40)))
+'chi_squared',double(-9e+40),...
+'chi_squared_error_index',int32(-999999999),...
+'chi_squared_error_lower',double(-9e+40),...
+'chi_squared_error_upper',double(-9e+40),...
+'exact',int32(-999999999),...
+'measured',double(-9e+40),...
+'measured_error_index',int32(-999999999),...
+'measured_error_lower',double(-9e+40),...
+'measured_error_upper',double(-9e+40),...
+'reconstructed',double(-9e+40),...
+'reconstructed_error_index',int32(-999999999),...
+'reconstructed_error_lower',double(-9e+40),...
+'reconstructed_error_upper',double(-9e+40),...
+'source','',...
+'time_measurement',double(-9e+40),...
+'time_measurement_error_index',int32(-999999999),...
+'time_measurement_error_lower',double(-9e+40),...
+'time_measurement_error_upper',double(-9e+40),...
+'weight',double(-9e+40),...
+'weight_error_index',int32(-999999999),...
+'weight_error_lower',double(-9e+40),...
+'weight_error_upper',double(-9e+40)))
 ;}},...
 'mse_polarisation_angle',{{struct(...
-'chi_squared',double(-9.0000000000000006360851714687e+40),...
-'chi_squared_error_index',double(-999999999),...
-'chi_squared_error_lower',double(-9.0000000000000006360851714687e+40),...
-'chi_squared_error_upper',double(-9.0000000000000006360851714687e+40),...
-'exact',double(-999999999),...
-'measured',double(-9.0000000000000006360851714687e+40),...
-'measured_error_index',double(-999999999),...
-'measured_error_lower',double(-9.0000000000000006360851714687e+40),...
-'measured_error_upper',double(-9.0000000000000006360851714687e+40),...
-'reconstructed',double(-9.0000000000000006360851714687e+40),...
-'reconstructed_error_index',double(-999999999),...
-'reconstructed_error_lower',double(-9.0000000000000006360851714687e+40),...
-'reconstructed_error_upper',double(-9.0000000000000006360851714687e+40),...
-'source',double([]),...
-'time_measurement',double(-9.0000000000000006360851714687e+40),...
-'time_measurement_error_index',double(-999999999),...
-'time_measurement_error_lower',double(-9.0000000000000006360851714687e+40),...
-'time_measurement_error_upper',double(-9.0000000000000006360851714687e+40),...
-'weight',double(-9.0000000000000006360851714687e+40),...
-'weight_error_index',double(-999999999),...
-'weight_error_lower',double(-9.0000000000000006360851714687e+40),...
-'weight_error_upper',double(-9.0000000000000006360851714687e+40))
+'chi_squared',double(-9e+40),...
+'chi_squared_error_index',int32(-999999999),...
+'chi_squared_error_lower',double(-9e+40),...
+'chi_squared_error_upper',double(-9e+40),...
+'exact',int32(-999999999),...
+'measured',double(-9e+40),...
+'measured_error_index',int32(-999999999),...
+'measured_error_lower',double(-9e+40),...
+'measured_error_upper',double(-9e+40),...
+'reconstructed',double(-9e+40),...
+'reconstructed_error_index',int32(-999999999),...
+'reconstructed_error_lower',double(-9e+40),...
+'reconstructed_error_upper',double(-9e+40),...
+'source','',...
+'time_measurement',double(-9e+40),...
+'time_measurement_error_index',int32(-999999999),...
+'time_measurement_error_lower',double(-9e+40),...
+'time_measurement_error_upper',double(-9e+40),...
+'weight',double(-9e+40),...
+'weight_error_index',int32(-999999999),...
+'weight_error_lower',double(-9e+40),...
+'weight_error_upper',double(-9e+40))
 ;}},...
 'n_e',{{struct(...
-'chi_squared',double(-9.0000000000000006360851714687e+40),...
-'chi_squared_error_index',double(-999999999),...
-'chi_squared_error_lower',double(-9.0000000000000006360851714687e+40),...
-'chi_squared_error_upper',double(-9.0000000000000006360851714687e+40),...
-'exact',double(-999999999),...
-'measured',double(-9.0000000000000006360851714687e+40),...
-'measured_error_index',double(-999999999),...
-'measured_error_lower',double(-9.0000000000000006360851714687e+40),...
-'measured_error_upper',double(-9.0000000000000006360851714687e+40),...
-'reconstructed',double(-9.0000000000000006360851714687e+40),...
-'reconstructed_error_index',double(-999999999),...
-'reconstructed_error_lower',double(-9.0000000000000006360851714687e+40),...
-'reconstructed_error_upper',double(-9.0000000000000006360851714687e+40),...
-'source',double([]),...
-'time_measurement',double(-9.0000000000000006360851714687e+40),...
-'time_measurement_error_index',double(-999999999),...
-'time_measurement_error_lower',double(-9.0000000000000006360851714687e+40),...
-'time_measurement_error_upper',double(-9.0000000000000006360851714687e+40),...
-'weight',double(-9.0000000000000006360851714687e+40),...
-'weight_error_index',double(-999999999),...
-'weight_error_lower',double(-9.0000000000000006360851714687e+40),...
-'weight_error_upper',double(-9.0000000000000006360851714687e+40))
+'chi_squared',double(-9e+40),...
+'chi_squared_error_index',int32(-999999999),...
+'chi_squared_error_lower',double(-9e+40),...
+'chi_squared_error_upper',double(-9e+40),...
+'exact',int32(-999999999),...
+'measured',double(-9e+40),...
+'measured_error_index',int32(-999999999),...
+'measured_error_lower',double(-9e+40),...
+'measured_error_upper',double(-9e+40),...
+'reconstructed',double(-9e+40),...
+'reconstructed_error_index',int32(-999999999),...
+'reconstructed_error_lower',double(-9e+40),...
+'reconstructed_error_upper',double(-9e+40),...
+'source','',...
+'time_measurement',double(-9e+40),...
+'time_measurement_error_index',int32(-999999999),...
+'time_measurement_error_lower',double(-9e+40),...
+'time_measurement_error_upper',double(-9e+40),...
+'weight',double(-9e+40),...
+'weight_error_index',int32(-999999999),...
+'weight_error_lower',double(-9e+40),...
+'weight_error_upper',double(-9e+40))
 ;}},...
 'n_e_line',{{struct(...
-'chi_squared',double(-9.0000000000000006360851714687e+40),...
-'chi_squared_error_index',double(-999999999),...
-'chi_squared_error_lower',double(-9.0000000000000006360851714687e+40),...
-'chi_squared_error_upper',double(-9.0000000000000006360851714687e+40),...
-'exact',double(-999999999),...
-'measured',double(-9.0000000000000006360851714687e+40),...
-'measured_error_index',double(-999999999),...
-'measured_error_lower',double(-9.0000000000000006360851714687e+40),...
-'measured_error_upper',double(-9.0000000000000006360851714687e+40),...
-'reconstructed',double(-9.0000000000000006360851714687e+40),...
-'reconstructed_error_index',double(-999999999),...
-'reconstructed_error_lower',double(-9.0000000000000006360851714687e+40),...
-'reconstructed_error_upper',double(-9.0000000000000006360851714687e+40),...
-'source',double([]),...
-'time_measurement',double(-9.0000000000000006360851714687e+40),...
-'time_measurement_error_index',double(-999999999),...
-'time_measurement_error_lower',double(-9.0000000000000006360851714687e+40),...
-'time_measurement_error_upper',double(-9.0000000000000006360851714687e+40),...
-'weight',double(-9.0000000000000006360851714687e+40),...
-'weight_error_index',double(-999999999),...
-'weight_error_lower',double(-9.0000000000000006360851714687e+40),...
-'weight_error_upper',double(-9.0000000000000006360851714687e+40))
+'chi_squared',double(-9e+40),...
+'chi_squared_error_index',int32(-999999999),...
+'chi_squared_error_lower',double(-9e+40),...
+'chi_squared_error_upper',double(-9e+40),...
+'exact',int32(-999999999),...
+'measured',double(-9e+40),...
+'measured_error_index',int32(-999999999),...
+'measured_error_lower',double(-9e+40),...
+'measured_error_upper',double(-9e+40),...
+'reconstructed',double(-9e+40),...
+'reconstructed_error_index',int32(-999999999),...
+'reconstructed_error_lower',double(-9e+40),...
+'reconstructed_error_upper',double(-9e+40),...
+'source','',...
+'time_measurement',double(-9e+40),...
+'time_measurement_error_index',int32(-999999999),...
+'time_measurement_error_lower',double(-9e+40),...
+'time_measurement_error_upper',double(-9e+40),...
+'weight',double(-9e+40),...
+'weight_error_index',int32(-999999999),...
+'weight_error_lower',double(-9e+40),...
+'weight_error_upper',double(-9e+40))
 ;}},...
 'pf_current',{{struct(...
-'chi_squared',double(-9.0000000000000006360851714687e+40),...
-'chi_squared_error_index',double(-999999999),...
-'chi_squared_error_lower',double(-9.0000000000000006360851714687e+40),...
-'chi_squared_error_upper',double(-9.0000000000000006360851714687e+40),...
-'exact',double(-999999999),...
-'measured',double(-9.0000000000000006360851714687e+40),...
-'measured_error_index',double(-999999999),...
-'measured_error_lower',double(-9.0000000000000006360851714687e+40),...
-'measured_error_upper',double(-9.0000000000000006360851714687e+40),...
-'reconstructed',double(-9.0000000000000006360851714687e+40),...
-'reconstructed_error_index',double(-999999999),...
-'reconstructed_error_lower',double(-9.0000000000000006360851714687e+40),...
-'reconstructed_error_upper',double(-9.0000000000000006360851714687e+40),...
-'source',double([]),...
-'time_measurement',double(-9.0000000000000006360851714687e+40),...
-'time_measurement_error_index',double(-999999999),...
-'time_measurement_error_lower',double(-9.0000000000000006360851714687e+40),...
-'time_measurement_error_upper',double(-9.0000000000000006360851714687e+40),...
-'weight',double(-9.0000000000000006360851714687e+40),...
-'weight_error_index',double(-999999999),...
-'weight_error_lower',double(-9.0000000000000006360851714687e+40),...
-'weight_error_upper',double(-9.0000000000000006360851714687e+40))
+'chi_squared',double(-9e+40),...
+'chi_squared_error_index',int32(-999999999),...
+'chi_squared_error_lower',double(-9e+40),...
+'chi_squared_error_upper',double(-9e+40),...
+'exact',int32(-999999999),...
+'measured',double(-9e+40),...
+'measured_error_index',int32(-999999999),...
+'measured_error_lower',double(-9e+40),...
+'measured_error_upper',double(-9e+40),...
+'reconstructed',double(-9e+40),...
+'reconstructed_error_index',int32(-999999999),...
+'reconstructed_error_lower',double(-9e+40),...
+'reconstructed_error_upper',double(-9e+40),...
+'source','',...
+'time_measurement',double(-9e+40),...
+'time_measurement_error_index',int32(-999999999),...
+'time_measurement_error_lower',double(-9e+40),...
+'time_measurement_error_upper',double(-9e+40),...
+'weight',double(-9e+40),...
+'weight_error_index',int32(-999999999),...
+'weight_error_lower',double(-9e+40),...
+'weight_error_upper',double(-9e+40))
 ;}},...
 'pressure',{{struct(...
-'chi_squared',double(-9.0000000000000006360851714687e+40),...
-'chi_squared_error_index',double(-999999999),...
-'chi_squared_error_lower',double(-9.0000000000000006360851714687e+40),...
-'chi_squared_error_upper',double(-9.0000000000000006360851714687e+40),...
-'exact',double(-999999999),...
-'measured',double(-9.0000000000000006360851714687e+40),...
-'measured_error_index',double(-999999999),...
-'measured_error_lower',double(-9.0000000000000006360851714687e+40),...
-'measured_error_upper',double(-9.0000000000000006360851714687e+40),...
-'reconstructed',double(-9.0000000000000006360851714687e+40),...
-'reconstructed_error_index',double(-999999999),...
-'reconstructed_error_lower',double(-9.0000000000000006360851714687e+40),...
-'reconstructed_error_upper',double(-9.0000000000000006360851714687e+40),...
-'source',double([]),...
-'time_measurement',double(-9.0000000000000006360851714687e+40),...
-'time_measurement_error_index',double(-999999999),...
-'time_measurement_error_lower',double(-9.0000000000000006360851714687e+40),...
-'time_measurement_error_upper',double(-9.0000000000000006360851714687e+40),...
-'weight',double(-9.0000000000000006360851714687e+40),...
-'weight_error_index',double(-999999999),...
-'weight_error_lower',double(-9.0000000000000006360851714687e+40),...
-'weight_error_upper',double(-9.0000000000000006360851714687e+40))
+'chi_squared',double(-9e+40),...
+'chi_squared_error_index',int32(-999999999),...
+'chi_squared_error_lower',double(-9e+40),...
+'chi_squared_error_upper',double(-9e+40),...
+'exact',int32(-999999999),...
+'measured',double(-9e+40),...
+'measured_error_index',int32(-999999999),...
+'measured_error_lower',double(-9e+40),...
+'measured_error_upper',double(-9e+40),...
+'reconstructed',double(-9e+40),...
+'reconstructed_error_index',int32(-999999999),...
+'reconstructed_error_lower',double(-9e+40),...
+'reconstructed_error_upper',double(-9e+40),...
+'source','',...
+'time_measurement',double(-9e+40),...
+'time_measurement_error_index',int32(-999999999),...
+'time_measurement_error_lower',double(-9e+40),...
+'time_measurement_error_upper',double(-9e+40),...
+'weight',double(-9e+40),...
+'weight_error_index',int32(-999999999),...
+'weight_error_lower',double(-9e+40),...
+'weight_error_upper',double(-9e+40))
 ;}},...
 'q',{{struct(...
-'chi_squared',double(-9.0000000000000006360851714687e+40),...
-'chi_squared_error_index',double(-999999999),...
-'chi_squared_error_lower',double(-9.0000000000000006360851714687e+40),...
-'chi_squared_error_upper',double(-9.0000000000000006360851714687e+40),...
-'exact',double(-999999999),...
-'measured',double(-9.0000000000000006360851714687e+40),...
-'measured_error_index',double(-999999999),...
-'measured_error_lower',double(-9.0000000000000006360851714687e+40),...
-'measured_error_upper',double(-9.0000000000000006360851714687e+40),...
+'chi_squared',double(-9e+40),...
+'chi_squared_error_index',int32(-999999999),...
+'chi_squared_error_lower',double(-9e+40),...
+'chi_squared_error_upper',double(-9e+40),...
+'exact',int32(-999999999),...
+'measured',double(-9e+40),...
+'measured_error_index',int32(-999999999),...
+'measured_error_lower',double(-9e+40),...
+'measured_error_upper',double(-9e+40),...
 'position',struct(...
-'phi',double(-9.0000000000000006360851714687e+40),...
-'phi_error_index',double(-999999999),...
-'phi_error_lower',double(-9.0000000000000006360851714687e+40),...
-'phi_error_upper',double(-9.0000000000000006360851714687e+40),...
-'r',double(-9.0000000000000006360851714687e+40),...
-'r_error_index',double(-999999999),...
-'r_error_lower',double(-9.0000000000000006360851714687e+40),...
-'r_error_upper',double(-9.0000000000000006360851714687e+40),...
-'z',double(-9.0000000000000006360851714687e+40),...
-'z_error_index',double(-999999999),...
-'z_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_error_upper',double(-9.0000000000000006360851714687e+40)),...
-'reconstructed',double(-9.0000000000000006360851714687e+40),...
-'reconstructed_error_index',double(-999999999),...
-'reconstructed_error_lower',double(-9.0000000000000006360851714687e+40),...
-'reconstructed_error_upper',double(-9.0000000000000006360851714687e+40),...
-'source',double([]),...
-'time_measurement',double(-9.0000000000000006360851714687e+40),...
-'time_measurement_error_index',double(-999999999),...
-'time_measurement_error_lower',double(-9.0000000000000006360851714687e+40),...
-'time_measurement_error_upper',double(-9.0000000000000006360851714687e+40),...
-'weight',double(-9.0000000000000006360851714687e+40),...
-'weight_error_index',double(-999999999),...
-'weight_error_lower',double(-9.0000000000000006360851714687e+40),...
-'weight_error_upper',double(-9.0000000000000006360851714687e+40))
+'phi',double(-9e+40),...
+'phi_error_index',int32(-999999999),...
+'phi_error_lower',double(-9e+40),...
+'phi_error_upper',double(-9e+40),...
+'r',double(-9e+40),...
+'r_error_index',int32(-999999999),...
+'r_error_lower',double(-9e+40),...
+'r_error_upper',double(-9e+40),...
+'z',double(-9e+40),...
+'z_error_index',int32(-999999999),...
+'z_error_lower',double(-9e+40),...
+'z_error_upper',double(-9e+40)),...
+'reconstructed',double(-9e+40),...
+'reconstructed_error_index',int32(-999999999),...
+'reconstructed_error_lower',double(-9e+40),...
+'reconstructed_error_upper',double(-9e+40),...
+'source','',...
+'time_measurement',double(-9e+40),...
+'time_measurement_error_index',int32(-999999999),...
+'time_measurement_error_lower',double(-9e+40),...
+'time_measurement_error_upper',double(-9e+40),...
+'weight',double(-9e+40),...
+'weight_error_index',int32(-999999999),...
+'weight_error_lower',double(-9e+40),...
+'weight_error_upper',double(-9e+40))
 ;}},...
 'x_point',{{struct(...
-'chi_squared_r',double(-9.0000000000000006360851714687e+40),...
-'chi_squared_r_error_index',double(-999999999),...
-'chi_squared_r_error_lower',double(-9.0000000000000006360851714687e+40),...
-'chi_squared_r_error_upper',double(-9.0000000000000006360851714687e+40),...
-'chi_squared_z',double(-9.0000000000000006360851714687e+40),...
-'chi_squared_z_error_index',double(-999999999),...
-'chi_squared_z_error_lower',double(-9.0000000000000006360851714687e+40),...
-'chi_squared_z_error_upper',double(-9.0000000000000006360851714687e+40),...
-'exact',double(-999999999),...
+'chi_squared_r',double(-9e+40),...
+'chi_squared_r_error_index',int32(-999999999),...
+'chi_squared_r_error_lower',double(-9e+40),...
+'chi_squared_r_error_upper',double(-9e+40),...
+'chi_squared_z',double(-9e+40),...
+'chi_squared_z_error_index',int32(-999999999),...
+'chi_squared_z_error_lower',double(-9e+40),...
+'chi_squared_z_error_upper',double(-9e+40),...
+'exact',int32(-999999999),...
 'position_measured',struct(...
-'r',double(-9.0000000000000006360851714687e+40),...
-'r_error_index',double(-999999999),...
-'r_error_lower',double(-9.0000000000000006360851714687e+40),...
-'r_error_upper',double(-9.0000000000000006360851714687e+40),...
-'z',double(-9.0000000000000006360851714687e+40),...
-'z_error_index',double(-999999999),...
-'z_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_error_upper',double(-9.0000000000000006360851714687e+40)),...
+'r',double(-9e+40),...
+'r_error_index',int32(-999999999),...
+'r_error_lower',double(-9e+40),...
+'r_error_upper',double(-9e+40),...
+'z',double(-9e+40),...
+'z_error_index',int32(-999999999),...
+'z_error_lower',double(-9e+40),...
+'z_error_upper',double(-9e+40)),...
 'position_reconstructed',struct(...
-'r',double(-9.0000000000000006360851714687e+40),...
-'r_error_index',double(-999999999),...
-'r_error_lower',double(-9.0000000000000006360851714687e+40),...
-'r_error_upper',double(-9.0000000000000006360851714687e+40),...
-'z',double(-9.0000000000000006360851714687e+40),...
-'z_error_index',double(-999999999),...
-'z_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_error_upper',double(-9.0000000000000006360851714687e+40)),...
-'source',double([]),...
-'time_measurement',double(-9.0000000000000006360851714687e+40),...
-'time_measurement_error_index',double(-999999999),...
-'time_measurement_error_lower',double(-9.0000000000000006360851714687e+40),...
-'time_measurement_error_upper',double(-9.0000000000000006360851714687e+40),...
-'weight',double(-9.0000000000000006360851714687e+40),...
-'weight_error_index',double(-999999999),...
-'weight_error_lower',double(-9.0000000000000006360851714687e+40),...
-'weight_error_upper',double(-9.0000000000000006360851714687e+40))
+'r',double(-9e+40),...
+'r_error_index',int32(-999999999),...
+'r_error_lower',double(-9e+40),...
+'r_error_upper',double(-9e+40),...
+'z',double(-9e+40),...
+'z_error_index',int32(-999999999),...
+'z_error_lower',double(-9e+40),...
+'z_error_upper',double(-9e+40)),...
+'source','',...
+'time_measurement',double(-9e+40),...
+'time_measurement_error_index',int32(-999999999),...
+'time_measurement_error_lower',double(-9e+40),...
+'time_measurement_error_upper',double(-9e+40),...
+'weight',double(-9e+40),...
+'weight_error_index',int32(-999999999),...
+'weight_error_lower',double(-9e+40),...
+'weight_error_upper',double(-9e+40))
 ;}}),...
 'convergence',struct(...
-'iterations_n',double(-999999999)),...
+'iterations_n',int32(-999999999)),...
 'coordinate_system',struct(...
 'g11_contravariant',double([]),...
-'g11_contravariant_error_index',double(-999999999),...
+'g11_contravariant_error_index',int32(-999999999),...
 'g11_contravariant_error_lower',double([]),...
 'g11_contravariant_error_upper',double([]),...
 'g11_covariant',double([]),...
-'g11_covariant_error_index',double(-999999999),...
+'g11_covariant_error_index',int32(-999999999),...
 'g11_covariant_error_lower',double([]),...
 'g11_covariant_error_upper',double([]),...
 'g12_contravariant',double([]),...
-'g12_contravariant_error_index',double(-999999999),...
+'g12_contravariant_error_index',int32(-999999999),...
 'g12_contravariant_error_lower',double([]),...
 'g12_contravariant_error_upper',double([]),...
 'g12_covariant',double([]),...
-'g12_covariant_error_index',double(-999999999),...
+'g12_covariant_error_index',int32(-999999999),...
 'g12_covariant_error_lower',double([]),...
 'g12_covariant_error_upper',double([]),...
 'g13_contravariant',double([]),...
-'g13_contravariant_error_index',double(-999999999),...
+'g13_contravariant_error_index',int32(-999999999),...
 'g13_contravariant_error_lower',double([]),...
 'g13_contravariant_error_upper',double([]),...
 'g13_covariant',double([]),...
-'g13_covariant_error_index',double(-999999999),...
+'g13_covariant_error_index',int32(-999999999),...
 'g13_covariant_error_lower',double([]),...
 'g13_covariant_error_upper',double([]),...
 'g22_contravariant',double([]),...
-'g22_contravariant_error_index',double(-999999999),...
+'g22_contravariant_error_index',int32(-999999999),...
 'g22_contravariant_error_lower',double([]),...
 'g22_contravariant_error_upper',double([]),...
 'g22_covariant',double([]),...
-'g22_covariant_error_index',double(-999999999),...
+'g22_covariant_error_index',int32(-999999999),...
 'g22_covariant_error_lower',double([]),...
 'g22_covariant_error_upper',double([]),...
 'g23_contravariant',double([]),...
-'g23_contravariant_error_index',double(-999999999),...
+'g23_contravariant_error_index',int32(-999999999),...
 'g23_contravariant_error_lower',double([]),...
 'g23_contravariant_error_upper',double([]),...
 'g23_covariant',double([]),...
-'g23_covariant_error_index',double(-999999999),...
+'g23_covariant_error_index',int32(-999999999),...
 'g23_covariant_error_lower',double([]),...
 'g23_covariant_error_upper',double([]),...
 'g33_contravariant',double([]),...
-'g33_contravariant_error_index',double(-999999999),...
+'g33_contravariant_error_index',int32(-999999999),...
 'g33_contravariant_error_lower',double([]),...
 'g33_contravariant_error_upper',double([]),...
 'g33_covariant',double([]),...
-'g33_covariant_error_index',double(-999999999),...
+'g33_covariant_error_index',int32(-999999999),...
 'g33_covariant_error_lower',double([]),...
 'g33_covariant_error_upper',double([]),...
 'grid',struct(...
 'dim1',double([]),...
-'dim1_error_index',double(-999999999),...
+'dim1_error_index',int32(-999999999),...
 'dim1_error_lower',double([]),...
 'dim1_error_upper',double([]),...
 'dim2',double([]),...
-'dim2_error_index',double(-999999999),...
+'dim2_error_index',int32(-999999999),...
 'dim2_error_lower',double([]),...
 'dim2_error_upper',double([]),...
 'volume_element',double([]),...
-'volume_element_error_index',double(-999999999),...
+'volume_element_error_index',int32(-999999999),...
 'volume_element_error_lower',double([]),...
 'volume_element_error_upper',double([])),...
 'grid_type',struct(...
-'description',double([]),...
-'index',double(-999999999),...
-'name',double([])),...
+'description','',...
+'index',int32(-999999999),...
+'name',''),...
 'jacobian',double([]),...
-'jacobian_error_index',double(-999999999),...
+'jacobian_error_index',int32(-999999999),...
 'jacobian_error_lower',double([]),...
 'jacobian_error_upper',double([]),...
 'r',double([]),...
-'r_error_index',double(-999999999),...
+'r_error_index',int32(-999999999),...
 'r_error_lower',double([]),...
 'r_error_upper',double([]),...
 'tensor_contravariant',double([]),...
-'tensor_contravariant_error_index',double(-999999999),...
+'tensor_contravariant_error_index',int32(-999999999),...
 'tensor_contravariant_error_lower',double([]),...
 'tensor_contravariant_error_upper',double([]),...
 'tensor_covariant',double([]),...
-'tensor_covariant_error_index',double(-999999999),...
+'tensor_covariant_error_index',int32(-999999999),...
 'tensor_covariant_error_lower',double([]),...
 'tensor_covariant_error_upper',double([]),...
 'z',double([]),...
-'z_error_index',double(-999999999),...
+'z_error_index',int32(-999999999),...
 'z_error_lower',double([]),...
 'z_error_upper',double([])),...
 'ggd',{{struct(...
 'b_field_r',{{struct(...
 'coefficients',double([]),...
-'coefficients_error_index',double(-999999999),...
+'coefficients_error_index',int32(-999999999),...
 'coefficients_error_lower',double([]),...
 'coefficients_error_upper',double([]),...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
 'values',double([]),...
-'values_error_index',double(-999999999),...
+'values_error_index',int32(-999999999),...
 'values_error_lower',double([]),...
 'values_error_upper',double([]))
 ;}},...
 'b_field_tor',{{struct(...
 'coefficients',double([]),...
-'coefficients_error_index',double(-999999999),...
+'coefficients_error_index',int32(-999999999),...
 'coefficients_error_lower',double([]),...
 'coefficients_error_upper',double([]),...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
 'values',double([]),...
-'values_error_index',double(-999999999),...
+'values_error_index',int32(-999999999),...
 'values_error_lower',double([]),...
 'values_error_upper',double([]))
 ;}},...
 'b_field_z',{{struct(...
 'coefficients',double([]),...
-'coefficients_error_index',double(-999999999),...
+'coefficients_error_index',int32(-999999999),...
 'coefficients_error_lower',double([]),...
 'coefficients_error_upper',double([]),...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
 'values',double([]),...
-'values_error_index',double(-999999999),...
+'values_error_index',int32(-999999999),...
 'values_error_lower',double([]),...
 'values_error_upper',double([]))
 ;}},...
@@ -823,529 +827,529 @@ struct(...
 'grid_subset',{{struct(...
 'base',{{struct(...
 'jacobian',double([]),...
-'jacobian_error_index',double(-999999999),...
+'jacobian_error_index',int32(-999999999),...
 'jacobian_error_lower',double([]),...
 'jacobian_error_upper',double([]),...
 'tensor_contravariant',double([]),...
-'tensor_contravariant_error_index',double(-999999999),...
+'tensor_contravariant_error_index',int32(-999999999),...
 'tensor_contravariant_error_lower',double([]),...
 'tensor_contravariant_error_upper',double([]),...
 'tensor_covariant',double([]),...
-'tensor_covariant_error_index',double(-999999999),...
+'tensor_covariant_error_index',int32(-999999999),...
 'tensor_covariant_error_lower',double([]),...
 'tensor_covariant_error_upper',double([]))
 ;}},...
-'dimension',double(-999999999),...
+'dimension',int32(-999999999),...
 'element',{{struct(...
 'object',{{struct(...
-'dimension',double(-999999999),...
-'index',double(-999999999),...
-'space',double(-999999999))
+'dimension',int32(-999999999),...
+'index',int32(-999999999),...
+'space',int32(-999999999))
 ;}})
 ;}},...
 'identifier',struct(...
-'description',double([]),...
-'index',double(-999999999),...
-'name',double([])),...
+'description','',...
+'index',int32(-999999999),...
+'name',''),...
 'metric',struct(...
 'jacobian',double([]),...
-'jacobian_error_index',double(-999999999),...
+'jacobian_error_index',int32(-999999999),...
 'jacobian_error_lower',double([]),...
 'jacobian_error_upper',double([]),...
 'tensor_contravariant',double([]),...
-'tensor_contravariant_error_index',double(-999999999),...
+'tensor_contravariant_error_index',int32(-999999999),...
 'tensor_contravariant_error_lower',double([]),...
 'tensor_contravariant_error_upper',double([]),...
 'tensor_covariant',double([]),...
-'tensor_covariant_error_index',double(-999999999),...
+'tensor_covariant_error_index',int32(-999999999),...
 'tensor_covariant_error_lower',double([]),...
 'tensor_covariant_error_upper',double([])))
 ;}},...
 'identifier',struct(...
-'description',double([]),...
-'index',double(-999999999),...
-'name',double([])),...
+'description','',...
+'index',int32(-999999999),...
+'name',''),...
 'space',{{struct(...
-'coordinates_type',double([]),...
+'coordinates_type',int32([]),...
 'geometry_type',struct(...
-'description',double([]),...
-'index',double(-999999999),...
-'name',double([])),...
+'description','',...
+'index',int32(-999999999),...
+'name',''),...
 'identifier',struct(...
-'description',double([]),...
-'index',double(-999999999),...
-'name',double([])),...
+'description','',...
+'index',int32(-999999999),...
+'name',''),...
 'objects_per_dimension',{{struct(...
 'object',{{struct(...
 'boundary',{{struct(...
-'index',double(-999999999),...
-'neighbours',double([]))
+'index',int32(-999999999),...
+'neighbours',int32([]))
 ;}},...
 'geometry',double([]),...
-'geometry_error_index',double(-999999999),...
+'geometry_error_index',int32(-999999999),...
 'geometry_error_lower',double([]),...
 'geometry_error_upper',double([]),...
-'measure',double(-9.0000000000000006360851714687e+40),...
-'measure_error_index',double(-999999999),...
-'measure_error_lower',double(-9.0000000000000006360851714687e+40),...
-'measure_error_upper',double(-9.0000000000000006360851714687e+40),...
-'nodes',double([]))
+'measure',double(-9e+40),...
+'measure_error_index',int32(-999999999),...
+'measure_error_lower',double(-9e+40),...
+'measure_error_upper',double(-9e+40),...
+'nodes',int32([]))
 ;}})
 ;}})
 ;}}),...
 'j_parallel',{{struct(...
 'coefficients',double([]),...
-'coefficients_error_index',double(-999999999),...
+'coefficients_error_index',int32(-999999999),...
 'coefficients_error_lower',double([]),...
 'coefficients_error_upper',double([]),...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
 'values',double([]),...
-'values_error_index',double(-999999999),...
+'values_error_index',int32(-999999999),...
 'values_error_lower',double([]),...
 'values_error_upper',double([]))
 ;}},...
 'j_tor',{{struct(...
 'coefficients',double([]),...
-'coefficients_error_index',double(-999999999),...
+'coefficients_error_index',int32(-999999999),...
 'coefficients_error_lower',double([]),...
 'coefficients_error_upper',double([]),...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
 'values',double([]),...
-'values_error_index',double(-999999999),...
+'values_error_index',int32(-999999999),...
 'values_error_lower',double([]),...
 'values_error_upper',double([]))
 ;}},...
 'phi',{{struct(...
 'coefficients',double([]),...
-'coefficients_error_index',double(-999999999),...
+'coefficients_error_index',int32(-999999999),...
 'coefficients_error_lower',double([]),...
 'coefficients_error_upper',double([]),...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
 'values',double([]),...
-'values_error_index',double(-999999999),...
+'values_error_index',int32(-999999999),...
 'values_error_lower',double([]),...
 'values_error_upper',double([]))
 ;}},...
 'psi',{{struct(...
 'coefficients',double([]),...
-'coefficients_error_index',double(-999999999),...
+'coefficients_error_index',int32(-999999999),...
 'coefficients_error_lower',double([]),...
 'coefficients_error_upper',double([]),...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
 'values',double([]),...
-'values_error_index',double(-999999999),...
+'values_error_index',int32(-999999999),...
 'values_error_lower',double([]),...
 'values_error_upper',double([]))
 ;}},...
 'r',{{struct(...
 'coefficients',double([]),...
-'coefficients_error_index',double(-999999999),...
+'coefficients_error_index',int32(-999999999),...
 'coefficients_error_lower',double([]),...
 'coefficients_error_upper',double([]),...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
 'values',double([]),...
-'values_error_index',double(-999999999),...
+'values_error_index',int32(-999999999),...
 'values_error_lower',double([]),...
 'values_error_upper',double([]))
 ;}},...
 'theta',{{struct(...
 'coefficients',double([]),...
-'coefficients_error_index',double(-999999999),...
+'coefficients_error_index',int32(-999999999),...
 'coefficients_error_lower',double([]),...
 'coefficients_error_upper',double([]),...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
 'values',double([]),...
-'values_error_index',double(-999999999),...
+'values_error_index',int32(-999999999),...
 'values_error_lower',double([]),...
 'values_error_upper',double([]))
 ;}},...
 'z',{{struct(...
 'coefficients',double([]),...
-'coefficients_error_index',double(-999999999),...
+'coefficients_error_index',int32(-999999999),...
 'coefficients_error_lower',double([]),...
 'coefficients_error_upper',double([]),...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
 'values',double([]),...
-'values_error_index',double(-999999999),...
+'values_error_index',int32(-999999999),...
 'values_error_lower',double([]),...
 'values_error_upper',double([]))
 ;}})
 ;}},...
 'global_quantities',struct(...
-'area',double(-9.0000000000000006360851714687e+40),...
-'area_error_index',double(-999999999),...
-'area_error_lower',double(-9.0000000000000006360851714687e+40),...
-'area_error_upper',double(-9.0000000000000006360851714687e+40),...
-'beta_normal',double(-9.0000000000000006360851714687e+40),...
-'beta_normal_error_index',double(-999999999),...
-'beta_normal_error_lower',double(-9.0000000000000006360851714687e+40),...
-'beta_normal_error_upper',double(-9.0000000000000006360851714687e+40),...
-'beta_pol',double(-9.0000000000000006360851714687e+40),...
-'beta_pol_error_index',double(-999999999),...
-'beta_pol_error_lower',double(-9.0000000000000006360851714687e+40),...
-'beta_pol_error_upper',double(-9.0000000000000006360851714687e+40),...
-'beta_tor',double(-9.0000000000000006360851714687e+40),...
-'beta_tor_error_index',double(-999999999),...
-'beta_tor_error_lower',double(-9.0000000000000006360851714687e+40),...
-'beta_tor_error_upper',double(-9.0000000000000006360851714687e+40),...
-'energy_mhd',double(-9.0000000000000006360851714687e+40),...
-'energy_mhd_error_index',double(-999999999),...
-'energy_mhd_error_lower',double(-9.0000000000000006360851714687e+40),...
-'energy_mhd_error_upper',double(-9.0000000000000006360851714687e+40),...
-'ip',double(-9.0000000000000006360851714687e+40),...
-'ip_error_index',double(-999999999),...
-'ip_error_lower',double(-9.0000000000000006360851714687e+40),...
-'ip_error_upper',double(-9.0000000000000006360851714687e+40),...
-'length_pol',double(-9.0000000000000006360851714687e+40),...
-'length_pol_error_index',double(-999999999),...
-'length_pol_error_lower',double(-9.0000000000000006360851714687e+40),...
-'length_pol_error_upper',double(-9.0000000000000006360851714687e+40),...
-'li_3',double(-9.0000000000000006360851714687e+40),...
-'li_3_error_index',double(-999999999),...
-'li_3_error_lower',double(-9.0000000000000006360851714687e+40),...
-'li_3_error_upper',double(-9.0000000000000006360851714687e+40),...
+'area',double(-9e+40),...
+'area_error_index',int32(-999999999),...
+'area_error_lower',double(-9e+40),...
+'area_error_upper',double(-9e+40),...
+'beta_normal',double(-9e+40),...
+'beta_normal_error_index',int32(-999999999),...
+'beta_normal_error_lower',double(-9e+40),...
+'beta_normal_error_upper',double(-9e+40),...
+'beta_pol',double(-9e+40),...
+'beta_pol_error_index',int32(-999999999),...
+'beta_pol_error_lower',double(-9e+40),...
+'beta_pol_error_upper',double(-9e+40),...
+'beta_tor',double(-9e+40),...
+'beta_tor_error_index',int32(-999999999),...
+'beta_tor_error_lower',double(-9e+40),...
+'beta_tor_error_upper',double(-9e+40),...
+'energy_mhd',double(-9e+40),...
+'energy_mhd_error_index',int32(-999999999),...
+'energy_mhd_error_lower',double(-9e+40),...
+'energy_mhd_error_upper',double(-9e+40),...
+'ip',double(-9e+40),...
+'ip_error_index',int32(-999999999),...
+'ip_error_lower',double(-9e+40),...
+'ip_error_upper',double(-9e+40),...
+'length_pol',double(-9e+40),...
+'length_pol_error_index',int32(-999999999),...
+'length_pol_error_lower',double(-9e+40),...
+'length_pol_error_upper',double(-9e+40),...
+'li_3',double(-9e+40),...
+'li_3_error_index',int32(-999999999),...
+'li_3_error_lower',double(-9e+40),...
+'li_3_error_upper',double(-9e+40),...
 'magnetic_axis',struct(...
-'b_field_tor',double(-9.0000000000000006360851714687e+40),...
-'b_field_tor_error_index',double(-999999999),...
-'b_field_tor_error_lower',double(-9.0000000000000006360851714687e+40),...
-'b_field_tor_error_upper',double(-9.0000000000000006360851714687e+40),...
-'b_tor',double(-9.0000000000000006360851714687e+40),...
-'b_tor_error_index',double(-999999999),...
-'b_tor_error_lower',double(-9.0000000000000006360851714687e+40),...
-'b_tor_error_upper',double(-9.0000000000000006360851714687e+40),...
-'r',double(-9.0000000000000006360851714687e+40),...
-'r_error_index',double(-999999999),...
-'r_error_lower',double(-9.0000000000000006360851714687e+40),...
-'r_error_upper',double(-9.0000000000000006360851714687e+40),...
-'z',double(-9.0000000000000006360851714687e+40),...
-'z_error_index',double(-999999999),...
-'z_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_error_upper',double(-9.0000000000000006360851714687e+40)),...
-'psi_axis',double(-9.0000000000000006360851714687e+40),...
-'psi_axis_error_index',double(-999999999),...
-'psi_axis_error_lower',double(-9.0000000000000006360851714687e+40),...
-'psi_axis_error_upper',double(-9.0000000000000006360851714687e+40),...
-'psi_boundary',double(-9.0000000000000006360851714687e+40),...
-'psi_boundary_error_index',double(-999999999),...
-'psi_boundary_error_lower',double(-9.0000000000000006360851714687e+40),...
-'psi_boundary_error_upper',double(-9.0000000000000006360851714687e+40),...
-'q_95',double(-9.0000000000000006360851714687e+40),...
-'q_95_error_index',double(-999999999),...
-'q_95_error_lower',double(-9.0000000000000006360851714687e+40),...
-'q_95_error_upper',double(-9.0000000000000006360851714687e+40),...
-'q_axis',double(-9.0000000000000006360851714687e+40),...
-'q_axis_error_index',double(-999999999),...
-'q_axis_error_lower',double(-9.0000000000000006360851714687e+40),...
-'q_axis_error_upper',double(-9.0000000000000006360851714687e+40),...
+'b_field_tor',double(-9e+40),...
+'b_field_tor_error_index',int32(-999999999),...
+'b_field_tor_error_lower',double(-9e+40),...
+'b_field_tor_error_upper',double(-9e+40),...
+'b_tor',double(-9e+40),...
+'b_tor_error_index',int32(-999999999),...
+'b_tor_error_lower',double(-9e+40),...
+'b_tor_error_upper',double(-9e+40),...
+'r',double(-9e+40),...
+'r_error_index',int32(-999999999),...
+'r_error_lower',double(-9e+40),...
+'r_error_upper',double(-9e+40),...
+'z',double(-9e+40),...
+'z_error_index',int32(-999999999),...
+'z_error_lower',double(-9e+40),...
+'z_error_upper',double(-9e+40)),...
+'psi_axis',double(-9e+40),...
+'psi_axis_error_index',int32(-999999999),...
+'psi_axis_error_lower',double(-9e+40),...
+'psi_axis_error_upper',double(-9e+40),...
+'psi_boundary',double(-9e+40),...
+'psi_boundary_error_index',int32(-999999999),...
+'psi_boundary_error_lower',double(-9e+40),...
+'psi_boundary_error_upper',double(-9e+40),...
+'q_95',double(-9e+40),...
+'q_95_error_index',int32(-999999999),...
+'q_95_error_lower',double(-9e+40),...
+'q_95_error_upper',double(-9e+40),...
+'q_axis',double(-9e+40),...
+'q_axis_error_index',int32(-999999999),...
+'q_axis_error_lower',double(-9e+40),...
+'q_axis_error_upper',double(-9e+40),...
 'q_min',struct(...
-'rho_tor_norm',double(-9.0000000000000006360851714687e+40),...
-'rho_tor_norm_error_index',double(-999999999),...
-'rho_tor_norm_error_lower',double(-9.0000000000000006360851714687e+40),...
-'rho_tor_norm_error_upper',double(-9.0000000000000006360851714687e+40),...
-'value',double(-9.0000000000000006360851714687e+40),...
-'value_error_index',double(-999999999),...
-'value_error_lower',double(-9.0000000000000006360851714687e+40),...
-'value_error_upper',double(-9.0000000000000006360851714687e+40)),...
-'surface',double(-9.0000000000000006360851714687e+40),...
-'surface_error_index',double(-999999999),...
-'surface_error_lower',double(-9.0000000000000006360851714687e+40),...
-'surface_error_upper',double(-9.0000000000000006360851714687e+40),...
-'volume',double(-9.0000000000000006360851714687e+40),...
-'volume_error_index',double(-999999999),...
-'volume_error_lower',double(-9.0000000000000006360851714687e+40),...
-'volume_error_upper',double(-9.0000000000000006360851714687e+40),...
-'w_mhd',double(-9.0000000000000006360851714687e+40),...
-'w_mhd_error_index',double(-999999999),...
-'w_mhd_error_lower',double(-9.0000000000000006360851714687e+40),...
-'w_mhd_error_upper',double(-9.0000000000000006360851714687e+40)),...
+'rho_tor_norm',double(-9e+40),...
+'rho_tor_norm_error_index',int32(-999999999),...
+'rho_tor_norm_error_lower',double(-9e+40),...
+'rho_tor_norm_error_upper',double(-9e+40),...
+'value',double(-9e+40),...
+'value_error_index',int32(-999999999),...
+'value_error_lower',double(-9e+40),...
+'value_error_upper',double(-9e+40)),...
+'surface',double(-9e+40),...
+'surface_error_index',int32(-999999999),...
+'surface_error_lower',double(-9e+40),...
+'surface_error_upper',double(-9e+40),...
+'volume',double(-9e+40),...
+'volume_error_index',int32(-999999999),...
+'volume_error_lower',double(-9e+40),...
+'volume_error_upper',double(-9e+40),...
+'w_mhd',double(-9e+40),...
+'w_mhd_error_index',int32(-999999999),...
+'w_mhd_error_lower',double(-9e+40),...
+'w_mhd_error_upper',double(-9e+40)),...
 'profiles_1d',struct(...
 'area',double([]),...
-'area_error_index',double(-999999999),...
+'area_error_index',int32(-999999999),...
 'area_error_lower',double([]),...
 'area_error_upper',double([]),...
 'b_average',double([]),...
-'b_average_error_index',double(-999999999),...
+'b_average_error_index',int32(-999999999),...
 'b_average_error_lower',double([]),...
 'b_average_error_upper',double([]),...
 'b_field_average',double([]),...
-'b_field_average_error_index',double(-999999999),...
+'b_field_average_error_index',int32(-999999999),...
 'b_field_average_error_lower',double([]),...
 'b_field_average_error_upper',double([]),...
 'b_field_max',double([]),...
-'b_field_max_error_index',double(-999999999),...
+'b_field_max_error_index',int32(-999999999),...
 'b_field_max_error_lower',double([]),...
 'b_field_max_error_upper',double([]),...
 'b_field_min',double([]),...
-'b_field_min_error_index',double(-999999999),...
+'b_field_min_error_index',int32(-999999999),...
 'b_field_min_error_lower',double([]),...
 'b_field_min_error_upper',double([]),...
 'b_max',double([]),...
-'b_max_error_index',double(-999999999),...
+'b_max_error_index',int32(-999999999),...
 'b_max_error_lower',double([]),...
 'b_max_error_upper',double([]),...
 'b_min',double([]),...
-'b_min_error_index',double(-999999999),...
+'b_min_error_index',int32(-999999999),...
 'b_min_error_lower',double([]),...
 'b_min_error_upper',double([]),...
 'beta_pol',double([]),...
-'beta_pol_error_index',double(-999999999),...
+'beta_pol_error_index',int32(-999999999),...
 'beta_pol_error_lower',double([]),...
 'beta_pol_error_upper',double([]),...
 'darea_dpsi',double([]),...
-'darea_dpsi_error_index',double(-999999999),...
+'darea_dpsi_error_index',int32(-999999999),...
 'darea_dpsi_error_lower',double([]),...
 'darea_dpsi_error_upper',double([]),...
 'darea_drho_tor',double([]),...
-'darea_drho_tor_error_index',double(-999999999),...
+'darea_drho_tor_error_index',int32(-999999999),...
 'darea_drho_tor_error_lower',double([]),...
 'darea_drho_tor_error_upper',double([]),...
 'dpressure_dpsi',double([]),...
-'dpressure_dpsi_error_index',double(-999999999),...
+'dpressure_dpsi_error_index',int32(-999999999),...
 'dpressure_dpsi_error_lower',double([]),...
 'dpressure_dpsi_error_upper',double([]),...
 'dpsi_drho_tor',double([]),...
-'dpsi_drho_tor_error_index',double(-999999999),...
+'dpsi_drho_tor_error_index',int32(-999999999),...
 'dpsi_drho_tor_error_lower',double([]),...
 'dpsi_drho_tor_error_upper',double([]),...
 'dvolume_dpsi',double([]),...
-'dvolume_dpsi_error_index',double(-999999999),...
+'dvolume_dpsi_error_index',int32(-999999999),...
 'dvolume_dpsi_error_lower',double([]),...
 'dvolume_dpsi_error_upper',double([]),...
 'dvolume_drho_tor',double([]),...
-'dvolume_drho_tor_error_index',double(-999999999),...
+'dvolume_drho_tor_error_index',int32(-999999999),...
 'dvolume_drho_tor_error_lower',double([]),...
 'dvolume_drho_tor_error_upper',double([]),...
 'elongation',double([]),...
-'elongation_error_index',double(-999999999),...
+'elongation_error_index',int32(-999999999),...
 'elongation_error_lower',double([]),...
 'elongation_error_upper',double([]),...
 'f',double([]),...
 'f_df_dpsi',double([]),...
-'f_df_dpsi_error_index',double(-999999999),...
+'f_df_dpsi_error_index',int32(-999999999),...
 'f_df_dpsi_error_lower',double([]),...
 'f_df_dpsi_error_upper',double([]),...
-'f_error_index',double(-999999999),...
+'f_error_index',int32(-999999999),...
 'f_error_lower',double([]),...
 'f_error_upper',double([]),...
 'geometric_axis',struct(...
 'r',double([]),...
-'r_error_index',double(-999999999),...
+'r_error_index',int32(-999999999),...
 'r_error_lower',double([]),...
 'r_error_upper',double([]),...
 'z',double([]),...
-'z_error_index',double(-999999999),...
+'z_error_index',int32(-999999999),...
 'z_error_lower',double([]),...
 'z_error_upper',double([])),...
 'gm1',double([]),...
-'gm1_error_index',double(-999999999),...
+'gm1_error_index',int32(-999999999),...
 'gm1_error_lower',double([]),...
 'gm1_error_upper',double([]),...
 'gm2',double([]),...
-'gm2_error_index',double(-999999999),...
+'gm2_error_index',int32(-999999999),...
 'gm2_error_lower',double([]),...
 'gm2_error_upper',double([]),...
 'gm3',double([]),...
-'gm3_error_index',double(-999999999),...
+'gm3_error_index',int32(-999999999),...
 'gm3_error_lower',double([]),...
 'gm3_error_upper',double([]),...
 'gm4',double([]),...
-'gm4_error_index',double(-999999999),...
+'gm4_error_index',int32(-999999999),...
 'gm4_error_lower',double([]),...
 'gm4_error_upper',double([]),...
 'gm5',double([]),...
-'gm5_error_index',double(-999999999),...
+'gm5_error_index',int32(-999999999),...
 'gm5_error_lower',double([]),...
 'gm5_error_upper',double([]),...
 'gm6',double([]),...
-'gm6_error_index',double(-999999999),...
+'gm6_error_index',int32(-999999999),...
 'gm6_error_lower',double([]),...
 'gm6_error_upper',double([]),...
 'gm7',double([]),...
-'gm7_error_index',double(-999999999),...
+'gm7_error_index',int32(-999999999),...
 'gm7_error_lower',double([]),...
 'gm7_error_upper',double([]),...
 'gm8',double([]),...
-'gm8_error_index',double(-999999999),...
+'gm8_error_index',int32(-999999999),...
 'gm8_error_lower',double([]),...
 'gm8_error_upper',double([]),...
 'gm9',double([]),...
-'gm9_error_index',double(-999999999),...
+'gm9_error_index',int32(-999999999),...
 'gm9_error_lower',double([]),...
 'gm9_error_upper',double([]),...
 'j_parallel',double([]),...
-'j_parallel_error_index',double(-999999999),...
+'j_parallel_error_index',int32(-999999999),...
 'j_parallel_error_lower',double([]),...
 'j_parallel_error_upper',double([]),...
 'j_tor',double([]),...
-'j_tor_error_index',double(-999999999),...
+'j_tor_error_index',int32(-999999999),...
 'j_tor_error_lower',double([]),...
 'j_tor_error_upper',double([]),...
 'magnetic_shear',double([]),...
-'magnetic_shear_error_index',double(-999999999),...
+'magnetic_shear_error_index',int32(-999999999),...
 'magnetic_shear_error_lower',double([]),...
 'magnetic_shear_error_upper',double([]),...
 'mass_density',double([]),...
-'mass_density_error_index',double(-999999999),...
+'mass_density_error_index',int32(-999999999),...
 'mass_density_error_lower',double([]),...
 'mass_density_error_upper',double([]),...
 'phi',double([]),...
-'phi_error_index',double(-999999999),...
+'phi_error_index',int32(-999999999),...
 'phi_error_lower',double([]),...
 'phi_error_upper',double([]),...
 'pressure',double([]),...
-'pressure_error_index',double(-999999999),...
+'pressure_error_index',int32(-999999999),...
 'pressure_error_lower',double([]),...
 'pressure_error_upper',double([]),...
 'psi',double([]),...
-'psi_error_index',double(-999999999),...
+'psi_error_index',int32(-999999999),...
 'psi_error_lower',double([]),...
 'psi_error_upper',double([]),...
 'q',double([]),...
-'q_error_index',double(-999999999),...
+'q_error_index',int32(-999999999),...
 'q_error_lower',double([]),...
 'q_error_upper',double([]),...
 'r_inboard',double([]),...
-'r_inboard_error_index',double(-999999999),...
+'r_inboard_error_index',int32(-999999999),...
 'r_inboard_error_lower',double([]),...
 'r_inboard_error_upper',double([]),...
 'r_outboard',double([]),...
-'r_outboard_error_index',double(-999999999),...
+'r_outboard_error_index',int32(-999999999),...
 'r_outboard_error_lower',double([]),...
 'r_outboard_error_upper',double([]),...
 'rho_tor',double([]),...
-'rho_tor_error_index',double(-999999999),...
+'rho_tor_error_index',int32(-999999999),...
 'rho_tor_error_lower',double([]),...
 'rho_tor_error_upper',double([]),...
 'rho_tor_norm',double([]),...
-'rho_tor_norm_error_index',double(-999999999),...
+'rho_tor_norm_error_index',int32(-999999999),...
 'rho_tor_norm_error_lower',double([]),...
 'rho_tor_norm_error_upper',double([]),...
 'rho_volume_norm',double([]),...
-'rho_volume_norm_error_index',double(-999999999),...
+'rho_volume_norm_error_index',int32(-999999999),...
 'rho_volume_norm_error_lower',double([]),...
 'rho_volume_norm_error_upper',double([]),...
 'squareness_lower_inner',double([]),...
-'squareness_lower_inner_error_index',double(-999999999),...
+'squareness_lower_inner_error_index',int32(-999999999),...
 'squareness_lower_inner_error_lower',double([]),...
 'squareness_lower_inner_error_upper',double([]),...
 'squareness_lower_outer',double([]),...
-'squareness_lower_outer_error_index',double(-999999999),...
+'squareness_lower_outer_error_index',int32(-999999999),...
 'squareness_lower_outer_error_lower',double([]),...
 'squareness_lower_outer_error_upper',double([]),...
 'squareness_upper_inner',double([]),...
-'squareness_upper_inner_error_index',double(-999999999),...
+'squareness_upper_inner_error_index',int32(-999999999),...
 'squareness_upper_inner_error_lower',double([]),...
 'squareness_upper_inner_error_upper',double([]),...
 'squareness_upper_outer',double([]),...
-'squareness_upper_outer_error_index',double(-999999999),...
+'squareness_upper_outer_error_index',int32(-999999999),...
 'squareness_upper_outer_error_lower',double([]),...
 'squareness_upper_outer_error_upper',double([]),...
 'surface',double([]),...
-'surface_error_index',double(-999999999),...
+'surface_error_index',int32(-999999999),...
 'surface_error_lower',double([]),...
 'surface_error_upper',double([]),...
 'trapped_fraction',double([]),...
-'trapped_fraction_error_index',double(-999999999),...
+'trapped_fraction_error_index',int32(-999999999),...
 'trapped_fraction_error_lower',double([]),...
 'trapped_fraction_error_upper',double([]),...
 'triangularity_lower',double([]),...
-'triangularity_lower_error_index',double(-999999999),...
+'triangularity_lower_error_index',int32(-999999999),...
 'triangularity_lower_error_lower',double([]),...
 'triangularity_lower_error_upper',double([]),...
 'triangularity_upper',double([]),...
-'triangularity_upper_error_index',double(-999999999),...
+'triangularity_upper_error_index',int32(-999999999),...
 'triangularity_upper_error_lower',double([]),...
 'triangularity_upper_error_upper',double([]),...
 'volume',double([]),...
-'volume_error_index',double(-999999999),...
+'volume_error_index',int32(-999999999),...
 'volume_error_lower',double([]),...
 'volume_error_upper',double([])),...
 'profiles_2d',{{struct(...
 'b_field_r',double([]),...
-'b_field_r_error_index',double(-999999999),...
+'b_field_r_error_index',int32(-999999999),...
 'b_field_r_error_lower',double([]),...
 'b_field_r_error_upper',double([]),...
 'b_field_tor',double([]),...
-'b_field_tor_error_index',double(-999999999),...
+'b_field_tor_error_index',int32(-999999999),...
 'b_field_tor_error_lower',double([]),...
 'b_field_tor_error_upper',double([]),...
 'b_field_z',double([]),...
-'b_field_z_error_index',double(-999999999),...
+'b_field_z_error_index',int32(-999999999),...
 'b_field_z_error_lower',double([]),...
 'b_field_z_error_upper',double([]),...
 'b_r',double([]),...
-'b_r_error_index',double(-999999999),...
+'b_r_error_index',int32(-999999999),...
 'b_r_error_lower',double([]),...
 'b_r_error_upper',double([]),...
 'b_tor',double([]),...
-'b_tor_error_index',double(-999999999),...
+'b_tor_error_index',int32(-999999999),...
 'b_tor_error_lower',double([]),...
 'b_tor_error_upper',double([]),...
 'b_z',double([]),...
-'b_z_error_index',double(-999999999),...
+'b_z_error_index',int32(-999999999),...
 'b_z_error_lower',double([]),...
 'b_z_error_upper',double([]),...
 'grid',struct(...
 'dim1',double([]),...
-'dim1_error_index',double(-999999999),...
+'dim1_error_index',int32(-999999999),...
 'dim1_error_lower',double([]),...
 'dim1_error_upper',double([]),...
 'dim2',double([]),...
-'dim2_error_index',double(-999999999),...
+'dim2_error_index',int32(-999999999),...
 'dim2_error_lower',double([]),...
 'dim2_error_upper',double([]),...
 'volume_element',double([]),...
-'volume_element_error_index',double(-999999999),...
+'volume_element_error_index',int32(-999999999),...
 'volume_element_error_lower',double([]),...
 'volume_element_error_upper',double([])),...
 'grid_type',struct(...
-'description',double([]),...
-'index',double(-999999999),...
-'name',double([])),...
+'description','',...
+'index',int32(-999999999),...
+'name',''),...
 'j_parallel',double([]),...
-'j_parallel_error_index',double(-999999999),...
+'j_parallel_error_index',int32(-999999999),...
 'j_parallel_error_lower',double([]),...
 'j_parallel_error_upper',double([]),...
 'j_tor',double([]),...
-'j_tor_error_index',double(-999999999),...
+'j_tor_error_index',int32(-999999999),...
 'j_tor_error_lower',double([]),...
 'j_tor_error_upper',double([]),...
 'phi',double([]),...
-'phi_error_index',double(-999999999),...
+'phi_error_index',int32(-999999999),...
 'phi_error_lower',double([]),...
 'phi_error_upper',double([]),...
 'psi',double([]),...
-'psi_error_index',double(-999999999),...
+'psi_error_index',int32(-999999999),...
 'psi_error_lower',double([]),...
 'psi_error_upper',double([]),...
 'r',double([]),...
-'r_error_index',double(-999999999),...
+'r_error_index',int32(-999999999),...
 'r_error_lower',double([]),...
 'r_error_upper',double([]),...
 'theta',double([]),...
-'theta_error_index',double(-999999999),...
+'theta_error_index',int32(-999999999),...
 'theta_error_lower',double([]),...
 'theta_error_upper',double([]),...
 'z',double([]),...
-'z_error_index',double(-999999999),...
+'z_error_index',int32(-999999999),...
 'z_error_lower',double([]),...
 'z_error_upper',double([]))
 ;}},...
-'time',double(-9.0000000000000006360851714687e+40))
+'time',double(-9e+40))
 ;}},...
 'vacuum_toroidal_field',struct(...
 'b0',double([]),...
-'b0_error_index',double(-999999999),...
+'b0_error_index',int32(-999999999),...
 'b0_error_lower',double([]),...
 'b0_error_upper',double([]),...
-'r0',double(-9.0000000000000006360851714687e+40),...
-'r0_error_index',double(-999999999),...
-'r0_error_lower',double(-9.0000000000000006360851714687e+40),...
-'r0_error_upper',double(-9.0000000000000006360851714687e+40)));
+'r0',double(-9e+40),...
+'r0_error_index',int32(-999999999),...
+'r0_error_lower',double(-9e+40),...
+'r0_error_upper',double(-9e+40)));
diff --git a/matlab/TCV_IMAS/ids_empty/ids_empty_gas_injection.m b/matlab/TCV_IMAS/ids_empty/ids_empty_gas_injection.m
index 1b58ae76eccf4cbba37f2a6a277a82e9cc3b3e4c..1a77a7c1d8fa302251fff149479c53998142ce52 100644
--- a/matlab/TCV_IMAS/ids_empty/ids_empty_gas_injection.m
+++ b/matlab/TCV_IMAS/ids_empty/ids_empty_gas_injection.m
@@ -6,117 +6,127 @@ function S = ids_empty_gas_injection
 S = ... 
 struct(...
 'code',struct(...
-'commit',double([]),...
-'name',double([]),...
-'output_flag',double([]),...
-'parameters',double([]),...
-'repository',double([]),...
-'version',double([])),...
+'commit','',...
+'name','',...
+'output_flag',int32([]),...
+'parameters','',...
+'repository','',...
+'version',''),...
 'ids_properties',struct(...
-'comment',double([]),...
-'creation_date',double([]),...
-'homogeneous_time',double(-999999999),...
-'provider',double([]),...
-'source',double([])),...
+'comment','',...
+'creation_date','',...
+'homogeneous_time',int32(-999999999),...
+'provider','',...
+'source','',...
+'version_put',struct(...
+'access_layer','',...
+'access_layer_language','',...
+'data_dictionary','')),...
 'pipe',{{struct(...
 'exit_position',struct(...
-'phi',double(-9.0000000000000006360851714687e+40),...
-'phi_error_index',double(-999999999),...
-'phi_error_lower',double(-9.0000000000000006360851714687e+40),...
-'phi_error_upper',double(-9.0000000000000006360851714687e+40),...
-'r',double(-9.0000000000000006360851714687e+40),...
-'r_error_index',double(-999999999),...
-'r_error_lower',double(-9.0000000000000006360851714687e+40),...
-'r_error_upper',double(-9.0000000000000006360851714687e+40),...
-'z',double(-9.0000000000000006360851714687e+40),...
-'z_error_index',double(-999999999),...
-'z_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_error_upper',double(-9.0000000000000006360851714687e+40)),...
+'phi',double(-9e+40),...
+'phi_error_index',int32(-999999999),...
+'phi_error_lower',double(-9e+40),...
+'phi_error_upper',double(-9e+40),...
+'r',double(-9e+40),...
+'r_error_index',int32(-999999999),...
+'r_error_lower',double(-9e+40),...
+'r_error_upper',double(-9e+40),...
+'z',double(-9e+40),...
+'z_error_index',int32(-999999999),...
+'z_error_lower',double(-9e+40),...
+'z_error_upper',double(-9e+40)),...
 'flow_rate',struct(...
 'data',double([]),...
-'data_error_index',double(-999999999),...
+'data_error_index',int32(-999999999),...
 'data_error_lower',double([]),...
 'data_error_upper',double([]),...
 'time',double([])),...
-'identifier',double([]),...
-'length',double(-9.0000000000000006360851714687e+40),...
-'length_error_index',double(-999999999),...
-'length_error_lower',double(-9.0000000000000006360851714687e+40),...
-'length_error_upper',double(-9.0000000000000006360851714687e+40),...
-'name',double([]),...
+'identifier','',...
+'length',double(-9e+40),...
+'length_error_index',int32(-999999999),...
+'length_error_lower',double(-9e+40),...
+'length_error_upper',double(-9e+40),...
+'name','',...
 'second_point',struct(...
-'phi',double(-9.0000000000000006360851714687e+40),...
-'phi_error_index',double(-999999999),...
-'phi_error_lower',double(-9.0000000000000006360851714687e+40),...
-'phi_error_upper',double(-9.0000000000000006360851714687e+40),...
-'r',double(-9.0000000000000006360851714687e+40),...
-'r_error_index',double(-999999999),...
-'r_error_lower',double(-9.0000000000000006360851714687e+40),...
-'r_error_upper',double(-9.0000000000000006360851714687e+40),...
-'z',double(-9.0000000000000006360851714687e+40),...
-'z_error_index',double(-999999999),...
-'z_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_error_upper',double(-9.0000000000000006360851714687e+40)),...
+'phi',double(-9e+40),...
+'phi_error_index',int32(-999999999),...
+'phi_error_lower',double(-9e+40),...
+'phi_error_upper',double(-9e+40),...
+'r',double(-9e+40),...
+'r_error_index',int32(-999999999),...
+'r_error_lower',double(-9e+40),...
+'r_error_upper',double(-9e+40),...
+'z',double(-9e+40),...
+'z_error_index',int32(-999999999),...
+'z_error_lower',double(-9e+40),...
+'z_error_upper',double(-9e+40)),...
 'species',{{struct(...
 'element',{{struct(...
-'a',double(-9.0000000000000006360851714687e+40),...
-'a_error_index',double(-999999999),...
-'a_error_lower',double(-9.0000000000000006360851714687e+40),...
-'a_error_upper',double(-9.0000000000000006360851714687e+40),...
-'atoms_n',double(-999999999),...
-'multiplicity',double(-9.0000000000000006360851714687e+40),...
-'multiplicity_error_index',double(-999999999),...
-'multiplicity_error_lower',double(-9.0000000000000006360851714687e+40),...
-'multiplicity_error_upper',double(-9.0000000000000006360851714687e+40),...
-'z_n',double(-9.0000000000000006360851714687e+40),...
-'z_n_error_index',double(-999999999),...
-'z_n_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_n_error_upper',double(-9.0000000000000006360851714687e+40))
+'a',double(-9e+40),...
+'a_error_index',int32(-999999999),...
+'a_error_lower',double(-9e+40),...
+'a_error_upper',double(-9e+40),...
+'atoms_n',int32(-999999999),...
+'multiplicity',double(-9e+40),...
+'multiplicity_error_index',int32(-999999999),...
+'multiplicity_error_lower',double(-9e+40),...
+'multiplicity_error_upper',double(-9e+40),...
+'z_n',double(-9e+40),...
+'z_n_error_index',int32(-999999999),...
+'z_n_error_lower',double(-9e+40),...
+'z_n_error_upper',double(-9e+40))
 ;}},...
-'fraction',double(-999999999),...
-'label',double([]))
+'fraction',double(-9e+40),...
+'fraction_error_index',int32(-999999999),...
+'fraction_error_lower',double(-9e+40),...
+'fraction_error_upper',double(-9e+40),...
+'label','')
 ;}},...
 'valve',{{struct(...
 'electron_rate',struct(...
 'data',double([]),...
-'data_error_index',double(-999999999),...
+'data_error_index',int32(-999999999),...
 'data_error_lower',double([]),...
 'data_error_upper',double([]),...
 'time',double([])),...
 'flow_rate',struct(...
 'data',double([]),...
-'data_error_index',double(-999999999),...
+'data_error_index',int32(-999999999),...
 'data_error_lower',double([]),...
 'data_error_upper',double([]),...
 'time',double([])),...
-'flow_rate_max',double(-9.0000000000000006360851714687e+40),...
-'flow_rate_max_error_index',double(-999999999),...
-'flow_rate_max_error_lower',double(-9.0000000000000006360851714687e+40),...
-'flow_rate_max_error_upper',double(-9.0000000000000006360851714687e+40),...
-'flow_rate_min',double(-9.0000000000000006360851714687e+40),...
-'flow_rate_min_error_index',double(-999999999),...
-'flow_rate_min_error_lower',double(-9.0000000000000006360851714687e+40),...
-'flow_rate_min_error_upper',double(-9.0000000000000006360851714687e+40),...
-'identifier',double([]),...
-'name',double([]),...
+'flow_rate_max',double(-9e+40),...
+'flow_rate_max_error_index',int32(-999999999),...
+'flow_rate_max_error_lower',double(-9e+40),...
+'flow_rate_max_error_upper',double(-9e+40),...
+'flow_rate_min',double(-9e+40),...
+'flow_rate_min_error_index',int32(-999999999),...
+'flow_rate_min_error_lower',double(-9e+40),...
+'flow_rate_min_error_upper',double(-9e+40),...
+'identifier','',...
+'name','',...
 'species',{{struct(...
 'element',{{struct(...
-'a',double(-9.0000000000000006360851714687e+40),...
-'a_error_index',double(-999999999),...
-'a_error_lower',double(-9.0000000000000006360851714687e+40),...
-'a_error_upper',double(-9.0000000000000006360851714687e+40),...
-'atoms_n',double(-999999999),...
-'multiplicity',double(-9.0000000000000006360851714687e+40),...
-'multiplicity_error_index',double(-999999999),...
-'multiplicity_error_lower',double(-9.0000000000000006360851714687e+40),...
-'multiplicity_error_upper',double(-9.0000000000000006360851714687e+40),...
-'z_n',double(-9.0000000000000006360851714687e+40),...
-'z_n_error_index',double(-999999999),...
-'z_n_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_n_error_upper',double(-9.0000000000000006360851714687e+40))
+'a',double(-9e+40),...
+'a_error_index',int32(-999999999),...
+'a_error_lower',double(-9e+40),...
+'a_error_upper',double(-9e+40),...
+'atoms_n',int32(-999999999),...
+'multiplicity',double(-9e+40),...
+'multiplicity_error_index',int32(-999999999),...
+'multiplicity_error_lower',double(-9e+40),...
+'multiplicity_error_upper',double(-9e+40),...
+'z_n',double(-9e+40),...
+'z_n_error_index',int32(-999999999),...
+'z_n_error_lower',double(-9e+40),...
+'z_n_error_upper',double(-9e+40))
 ;}},...
-'fraction',double(-999999999),...
-'label',double([]))
+'fraction',double(-9e+40),...
+'fraction_error_index',int32(-999999999),...
+'fraction_error_lower',double(-9e+40),...
+'fraction_error_upper',double(-9e+40),...
+'label','')
 ;}})
 ;}})
 ;}},...
diff --git a/matlab/TCV_IMAS/ids_empty/ids_empty_gyrokinetics.m b/matlab/TCV_IMAS/ids_empty/ids_empty_gyrokinetics.m
new file mode 100644
index 0000000000000000000000000000000000000000..396a8b7acbbb892b6c898966836da0c79dd5cc87
--- /dev/null
+++ b/matlab/TCV_IMAS/ids_empty/ids_empty_gyrokinetics.m
@@ -0,0 +1,400 @@
+function S = ids_empty_gyrokinetics
+% function S = ids_empty_gyrokinetics
+%
+% File written automatically using struct2m.m 
+
+S = ... 
+struct(...
+'code',struct(...
+'commit','',...
+'name','',...
+'output_flag',int32([]),...
+'parameters','',...
+'repository','',...
+'version',''),...
+'collisions',struct(...
+'collisionality_norm',double([]),...
+'collisionality_norm_error_index',int32(-999999999),...
+'collisionality_norm_error_lower',double([]),...
+'collisionality_norm_error_upper',double([])),...
+'flux_surface',struct(...
+'b_field_tor_sign',double(-9e+40),...
+'b_field_tor_sign_error_index',int32(-999999999),...
+'b_field_tor_sign_error_lower',double(-9e+40),...
+'b_field_tor_sign_error_upper',double(-9e+40),...
+'dc_dr_minor_norm',double([]),...
+'dc_dr_minor_norm_error_index',int32(-999999999),...
+'dc_dr_minor_norm_error_lower',double([]),...
+'dc_dr_minor_norm_error_upper',double([]),...
+'ds_dr_minor_norm',double([]),...
+'ds_dr_minor_norm_error_index',int32(-999999999),...
+'ds_dr_minor_norm_error_lower',double([]),...
+'ds_dr_minor_norm_error_upper',double([]),...
+'elongation',double(-9e+40),...
+'elongation_error_index',int32(-999999999),...
+'elongation_error_lower',double(-9e+40),...
+'elongation_error_upper',double(-9e+40),...
+'ip_sign',double(-9e+40),...
+'ip_sign_error_index',int32(-999999999),...
+'ip_sign_error_lower',double(-9e+40),...
+'ip_sign_error_upper',double(-9e+40),...
+'magnetic_shear_r_minor',double(-9e+40),...
+'magnetic_shear_r_minor_error_index',int32(-999999999),...
+'magnetic_shear_r_minor_error_lower',double(-9e+40),...
+'magnetic_shear_r_minor_error_upper',double(-9e+40),...
+'pressure_gradient_norm',double(-9e+40),...
+'pressure_gradient_norm_error_index',int32(-999999999),...
+'pressure_gradient_norm_error_lower',double(-9e+40),...
+'pressure_gradient_norm_error_upper',double(-9e+40),...
+'q',double(-9e+40),...
+'q_error_index',int32(-999999999),...
+'q_error_lower',double(-9e+40),...
+'q_error_upper',double(-9e+40),...
+'r_minor_norm',double(-9e+40),...
+'r_minor_norm_error_index',int32(-999999999),...
+'r_minor_norm_error_lower',double(-9e+40),...
+'r_minor_norm_error_upper',double(-9e+40),...
+'shape_coefficients_c',double([]),...
+'shape_coefficients_c_error_index',int32(-999999999),...
+'shape_coefficients_c_error_lower',double([]),...
+'shape_coefficients_c_error_upper',double([]),...
+'shape_coefficients_s',double([]),...
+'shape_coefficients_s_error_index',int32(-999999999),...
+'shape_coefficients_s_error_lower',double([]),...
+'shape_coefficients_s_error_upper',double([]),...
+'triangularity_lower',double(-9e+40),...
+'triangularity_lower_error_index',int32(-999999999),...
+'triangularity_lower_error_lower',double(-9e+40),...
+'triangularity_lower_error_upper',double(-9e+40),...
+'triangularity_upper',double(-9e+40),...
+'triangularity_upper_error_index',int32(-999999999),...
+'triangularity_upper_error_lower',double(-9e+40),...
+'triangularity_upper_error_upper',double(-9e+40)),...
+'fluxes_integrated_norm',{{struct(...
+'energy_a_field_parallel',double(-9e+40),...
+'energy_a_field_parallel_error_index',int32(-999999999),...
+'energy_a_field_parallel_error_lower',double(-9e+40),...
+'energy_a_field_parallel_error_upper',double(-9e+40),...
+'energy_b_field_parallel',double(-9e+40),...
+'energy_b_field_parallel_error_index',int32(-999999999),...
+'energy_b_field_parallel_error_lower',double(-9e+40),...
+'energy_b_field_parallel_error_upper',double(-9e+40),...
+'energy_phi_potential',double(-9e+40),...
+'energy_phi_potential_error_index',int32(-999999999),...
+'energy_phi_potential_error_lower',double(-9e+40),...
+'energy_phi_potential_error_upper',double(-9e+40),...
+'momentum_tor_parallel_a_field_parallel',double(-9e+40),...
+'momentum_tor_parallel_a_field_parallel_error_index',int32(-999999999),...
+'momentum_tor_parallel_a_field_parallel_error_lower',double(-9e+40),...
+'momentum_tor_parallel_a_field_parallel_error_upper',double(-9e+40),...
+'momentum_tor_parallel_b_field_parallel',double(-9e+40),...
+'momentum_tor_parallel_b_field_parallel_error_index',int32(-999999999),...
+'momentum_tor_parallel_b_field_parallel_error_lower',double(-9e+40),...
+'momentum_tor_parallel_b_field_parallel_error_upper',double(-9e+40),...
+'momentum_tor_parallel_phi_potential',double(-9e+40),...
+'momentum_tor_parallel_phi_potential_error_index',int32(-999999999),...
+'momentum_tor_parallel_phi_potential_error_lower',double(-9e+40),...
+'momentum_tor_parallel_phi_potential_error_upper',double(-9e+40),...
+'momentum_tor_perpendicular_a_field_parallel',double(-9e+40),...
+'momentum_tor_perpendicular_a_field_parallel_error_index',int32(-999999999),...
+'momentum_tor_perpendicular_a_field_parallel_error_lower',double(-9e+40),...
+'momentum_tor_perpendicular_a_field_parallel_error_upper',double(-9e+40),...
+'momentum_tor_perpendicular_b_field_parallel',double(-9e+40),...
+'momentum_tor_perpendicular_b_field_parallel_error_index',int32(-999999999),...
+'momentum_tor_perpendicular_b_field_parallel_error_lower',double(-9e+40),...
+'momentum_tor_perpendicular_b_field_parallel_error_upper',double(-9e+40),...
+'momentum_tor_perpendicular_phi_potential',double(-9e+40),...
+'momentum_tor_perpendicular_phi_potential_error_index',int32(-999999999),...
+'momentum_tor_perpendicular_phi_potential_error_lower',double(-9e+40),...
+'momentum_tor_perpendicular_phi_potential_error_upper',double(-9e+40),...
+'particles_a_field_parallel',double(-9e+40),...
+'particles_a_field_parallel_error_index',int32(-999999999),...
+'particles_a_field_parallel_error_lower',double(-9e+40),...
+'particles_a_field_parallel_error_upper',double(-9e+40),...
+'particles_b_field_parallel',double(-9e+40),...
+'particles_b_field_parallel_error_index',int32(-999999999),...
+'particles_b_field_parallel_error_lower',double(-9e+40),...
+'particles_b_field_parallel_error_upper',double(-9e+40),...
+'particles_phi_potential',double(-9e+40),...
+'particles_phi_potential_error_index',int32(-999999999),...
+'particles_phi_potential_error_lower',double(-9e+40),...
+'particles_phi_potential_error_upper',double(-9e+40))
+;}},...
+'ids_properties',struct(...
+'comment','',...
+'creation_date','',...
+'homogeneous_time',int32(-999999999),...
+'provider','',...
+'source','',...
+'version_put',struct(...
+'access_layer','',...
+'access_layer_language','',...
+'data_dictionary','')),...
+'model',struct(...
+'collisions_energy_conservation',int32(-999999999),...
+'collisions_finite_larmor_radius',int32(-999999999),...
+'collisions_momentum_conservation',int32(-999999999),...
+'collisions_pitch_only',int32(-999999999),...
+'include_a_field_parallel',int32(-999999999),...
+'include_b_field_parallel',int32(-999999999),...
+'include_centrifugal_effects',int32(-999999999),...
+'include_full_curvature_drift',int32(-999999999),...
+'initial_value_run',int32(-999999999),...
+'non_linear_run',int32(-999999999),...
+'time_interval_norm',double([]),...
+'time_interval_norm_error_index',int32(-999999999),...
+'time_interval_norm_error_lower',double([]),...
+'time_interval_norm_error_upper',double([])),...
+'species',{{struct(...
+'charge_norm',double(-9e+40),...
+'charge_norm_error_index',int32(-999999999),...
+'charge_norm_error_lower',double(-9e+40),...
+'charge_norm_error_upper',double(-9e+40),...
+'density_log_gradient_norm',double(-9e+40),...
+'density_log_gradient_norm_error_index',int32(-999999999),...
+'density_log_gradient_norm_error_lower',double(-9e+40),...
+'density_log_gradient_norm_error_upper',double(-9e+40),...
+'density_norm',double(-9e+40),...
+'density_norm_error_index',int32(-999999999),...
+'density_norm_error_lower',double(-9e+40),...
+'density_norm_error_upper',double(-9e+40),...
+'mass_norm',double(-9e+40),...
+'mass_norm_error_index',int32(-999999999),...
+'mass_norm_error_lower',double(-9e+40),...
+'mass_norm_error_upper',double(-9e+40),...
+'temperature_log_gradient_norm',double(-9e+40),...
+'temperature_log_gradient_norm_error_index',int32(-999999999),...
+'temperature_log_gradient_norm_error_lower',double(-9e+40),...
+'temperature_log_gradient_norm_error_upper',double(-9e+40),...
+'temperature_norm',double(-9e+40),...
+'temperature_norm_error_index',int32(-999999999),...
+'temperature_norm_error_lower',double(-9e+40),...
+'temperature_norm_error_upper',double(-9e+40),...
+'velocity_tor_gradient_norm',double(-9e+40),...
+'velocity_tor_gradient_norm_error_index',int32(-999999999),...
+'velocity_tor_gradient_norm_error_lower',double(-9e+40),...
+'velocity_tor_gradient_norm_error_upper',double(-9e+40))
+;}},...
+'species_all',struct(...
+'beta_reference',double(-9e+40),...
+'beta_reference_error_index',int32(-999999999),...
+'beta_reference_error_lower',double(-9e+40),...
+'beta_reference_error_upper',double(-9e+40),...
+'debye_length_reference',double(-9e+40),...
+'debye_length_reference_error_index',int32(-999999999),...
+'debye_length_reference_error_lower',double(-9e+40),...
+'debye_length_reference_error_upper',double(-9e+40),...
+'shearing_rate_norm',double(-9e+40),...
+'shearing_rate_norm_error_index',int32(-999999999),...
+'shearing_rate_norm_error_lower',double(-9e+40),...
+'shearing_rate_norm_error_upper',double(-9e+40),...
+'velocity_tor_norm',double(-9e+40),...
+'velocity_tor_norm_error_index',int32(-999999999),...
+'velocity_tor_norm_error_lower',double(-9e+40),...
+'velocity_tor_norm_error_upper',double(-9e+40),...
+'zeff',double(-9e+40),...
+'zeff_error_index',int32(-999999999),...
+'zeff_error_lower',double(-9e+40),...
+'zeff_error_upper',double(-9e+40)),...
+'tag',{{struct(...
+'comment','',...
+'name','')
+;}},...
+'time',double([]),...
+'wavevector',{{struct(...
+'binormal_component_norm',double(-9e+40),...
+'binormal_component_norm_error_index',int32(-999999999),...
+'binormal_component_norm_error_lower',double(-9e+40),...
+'binormal_component_norm_error_upper',double(-9e+40),...
+'eigenmode',{{struct(...
+'a_field_parallel_perturbed_norm_imaginary',double([]),...
+'a_field_parallel_perturbed_norm_imaginary_error_index',int32(-999999999),...
+'a_field_parallel_perturbed_norm_imaginary_error_lower',double([]),...
+'a_field_parallel_perturbed_norm_imaginary_error_upper',double([]),...
+'a_field_parallel_perturbed_norm_real',double([]),...
+'a_field_parallel_perturbed_norm_real_error_index',int32(-999999999),...
+'a_field_parallel_perturbed_norm_real_error_lower',double([]),...
+'a_field_parallel_perturbed_norm_real_error_upper',double([]),...
+'a_field_parallel_perturbed_parity',double([]),...
+'a_field_parallel_perturbed_parity_error_index',int32(-999999999),...
+'a_field_parallel_perturbed_parity_error_lower',double([]),...
+'a_field_parallel_perturbed_parity_error_upper',double([]),...
+'a_field_parallel_perturbed_weight',double([]),...
+'a_field_parallel_perturbed_weight_error_index',int32(-999999999),...
+'a_field_parallel_perturbed_weight_error_lower',double([]),...
+'a_field_parallel_perturbed_weight_error_upper',double([]),...
+'b_field_parallel_perturbed_norm_imaginary',double([]),...
+'b_field_parallel_perturbed_norm_imaginary_error_index',int32(-999999999),...
+'b_field_parallel_perturbed_norm_imaginary_error_lower',double([]),...
+'b_field_parallel_perturbed_norm_imaginary_error_upper',double([]),...
+'b_field_parallel_perturbed_norm_real',double([]),...
+'b_field_parallel_perturbed_norm_real_error_index',int32(-999999999),...
+'b_field_parallel_perturbed_norm_real_error_lower',double([]),...
+'b_field_parallel_perturbed_norm_real_error_upper',double([]),...
+'b_field_parallel_perturbed_parity',double([]),...
+'b_field_parallel_perturbed_parity_error_index',int32(-999999999),...
+'b_field_parallel_perturbed_parity_error_lower',double([]),...
+'b_field_parallel_perturbed_parity_error_upper',double([]),...
+'b_field_parallel_perturbed_weight',double([]),...
+'b_field_parallel_perturbed_weight_error_index',int32(-999999999),...
+'b_field_parallel_perturbed_weight_error_lower',double([]),...
+'b_field_parallel_perturbed_weight_error_upper',double([]),...
+'fluxes_moments',{{struct(...
+'fluxes_norm',struct(...
+'energy_a_field_parallel',double(-9e+40),...
+'energy_a_field_parallel_error_index',int32(-999999999),...
+'energy_a_field_parallel_error_lower',double(-9e+40),...
+'energy_a_field_parallel_error_upper',double(-9e+40),...
+'energy_b_field_parallel',double(-9e+40),...
+'energy_b_field_parallel_error_index',int32(-999999999),...
+'energy_b_field_parallel_error_lower',double(-9e+40),...
+'energy_b_field_parallel_error_upper',double(-9e+40),...
+'energy_phi_potential',double(-9e+40),...
+'energy_phi_potential_error_index',int32(-999999999),...
+'energy_phi_potential_error_lower',double(-9e+40),...
+'energy_phi_potential_error_upper',double(-9e+40),...
+'momentum_tor_parallel_a_field_parallel',double(-9e+40),...
+'momentum_tor_parallel_a_field_parallel_error_index',int32(-999999999),...
+'momentum_tor_parallel_a_field_parallel_error_lower',double(-9e+40),...
+'momentum_tor_parallel_a_field_parallel_error_upper',double(-9e+40),...
+'momentum_tor_parallel_b_field_parallel',double(-9e+40),...
+'momentum_tor_parallel_b_field_parallel_error_index',int32(-999999999),...
+'momentum_tor_parallel_b_field_parallel_error_lower',double(-9e+40),...
+'momentum_tor_parallel_b_field_parallel_error_upper',double(-9e+40),...
+'momentum_tor_parallel_phi_potential',double(-9e+40),...
+'momentum_tor_parallel_phi_potential_error_index',int32(-999999999),...
+'momentum_tor_parallel_phi_potential_error_lower',double(-9e+40),...
+'momentum_tor_parallel_phi_potential_error_upper',double(-9e+40),...
+'momentum_tor_perpendicular_a_field_parallel',double(-9e+40),...
+'momentum_tor_perpendicular_a_field_parallel_error_index',int32(-999999999),...
+'momentum_tor_perpendicular_a_field_parallel_error_lower',double(-9e+40),...
+'momentum_tor_perpendicular_a_field_parallel_error_upper',double(-9e+40),...
+'momentum_tor_perpendicular_b_field_parallel',double(-9e+40),...
+'momentum_tor_perpendicular_b_field_parallel_error_index',int32(-999999999),...
+'momentum_tor_perpendicular_b_field_parallel_error_lower',double(-9e+40),...
+'momentum_tor_perpendicular_b_field_parallel_error_upper',double(-9e+40),...
+'momentum_tor_perpendicular_phi_potential',double(-9e+40),...
+'momentum_tor_perpendicular_phi_potential_error_index',int32(-999999999),...
+'momentum_tor_perpendicular_phi_potential_error_lower',double(-9e+40),...
+'momentum_tor_perpendicular_phi_potential_error_upper',double(-9e+40),...
+'particles_a_field_parallel',double(-9e+40),...
+'particles_a_field_parallel_error_index',int32(-999999999),...
+'particles_a_field_parallel_error_lower',double(-9e+40),...
+'particles_a_field_parallel_error_upper',double(-9e+40),...
+'particles_b_field_parallel',double(-9e+40),...
+'particles_b_field_parallel_error_index',int32(-999999999),...
+'particles_b_field_parallel_error_lower',double(-9e+40),...
+'particles_b_field_parallel_error_upper',double(-9e+40),...
+'particles_phi_potential',double(-9e+40),...
+'particles_phi_potential_error_index',int32(-999999999),...
+'particles_phi_potential_error_lower',double(-9e+40),...
+'particles_phi_potential_error_upper',double(-9e+40)),...
+'moments_norm_rotating_frame',struct(...
+'density_gyroaveraged_imaginary',double([]),...
+'density_gyroaveraged_imaginary_error_index',int32(-999999999),...
+'density_gyroaveraged_imaginary_error_lower',double([]),...
+'density_gyroaveraged_imaginary_error_upper',double([]),...
+'density_gyroaveraged_real',double([]),...
+'density_gyroaveraged_real_error_index',int32(-999999999),...
+'density_gyroaveraged_real_error_lower',double([]),...
+'density_gyroaveraged_real_error_upper',double([]),...
+'density_imaginary',double([]),...
+'density_imaginary_error_index',int32(-999999999),...
+'density_imaginary_error_lower',double([]),...
+'density_imaginary_error_upper',double([]),...
+'density_real',double([]),...
+'density_real_error_index',int32(-999999999),...
+'density_real_error_lower',double([]),...
+'density_real_error_upper',double([]),...
+'temperature_parallel_gyroaveraged_imaginary',double([]),...
+'temperature_parallel_gyroaveraged_imaginary_error_index',int32(-999999999),...
+'temperature_parallel_gyroaveraged_imaginary_error_lower',double([]),...
+'temperature_parallel_gyroaveraged_imaginary_error_upper',double([]),...
+'temperature_parallel_gyroaveraged_real',double([]),...
+'temperature_parallel_gyroaveraged_real_error_index',int32(-999999999),...
+'temperature_parallel_gyroaveraged_real_error_lower',double([]),...
+'temperature_parallel_gyroaveraged_real_error_upper',double([]),...
+'temperature_parallel_imaginary',double([]),...
+'temperature_parallel_imaginary_error_index',int32(-999999999),...
+'temperature_parallel_imaginary_error_lower',double([]),...
+'temperature_parallel_imaginary_error_upper',double([]),...
+'temperature_parallel_real',double([]),...
+'temperature_parallel_real_error_index',int32(-999999999),...
+'temperature_parallel_real_error_lower',double([]),...
+'temperature_parallel_real_error_upper',double([]),...
+'temperature_perpendicular_gyroaveraged_imaginary',double([]),...
+'temperature_perpendicular_gyroaveraged_imaginary_error_index',int32(-999999999),...
+'temperature_perpendicular_gyroaveraged_imaginary_error_lower',double([]),...
+'temperature_perpendicular_gyroaveraged_imaginary_error_upper',double([]),...
+'temperature_perpendicular_gyroaveraged_real',double([]),...
+'temperature_perpendicular_gyroaveraged_real_error_index',int32(-999999999),...
+'temperature_perpendicular_gyroaveraged_real_error_lower',double([]),...
+'temperature_perpendicular_gyroaveraged_real_error_upper',double([]),...
+'temperature_perpendicular_imaginary',double([]),...
+'temperature_perpendicular_imaginary_error_index',int32(-999999999),...
+'temperature_perpendicular_imaginary_error_lower',double([]),...
+'temperature_perpendicular_imaginary_error_upper',double([]),...
+'temperature_perpendicular_real',double([]),...
+'temperature_perpendicular_real_error_index',int32(-999999999),...
+'temperature_perpendicular_real_error_lower',double([]),...
+'temperature_perpendicular_real_error_upper',double([]),...
+'velocity_parallel_gyroaveraged_imaginary',double([]),...
+'velocity_parallel_gyroaveraged_imaginary_error_index',int32(-999999999),...
+'velocity_parallel_gyroaveraged_imaginary_error_lower',double([]),...
+'velocity_parallel_gyroaveraged_imaginary_error_upper',double([]),...
+'velocity_parallel_gyroaveraged_real',double([]),...
+'velocity_parallel_gyroaveraged_real_error_index',int32(-999999999),...
+'velocity_parallel_gyroaveraged_real_error_lower',double([]),...
+'velocity_parallel_gyroaveraged_real_error_upper',double([]),...
+'velocity_parallel_imaginary',double([]),...
+'velocity_parallel_imaginary_error_index',int32(-999999999),...
+'velocity_parallel_imaginary_error_lower',double([]),...
+'velocity_parallel_imaginary_error_upper',double([]),...
+'velocity_parallel_real',double([]),...
+'velocity_parallel_real_error_index',int32(-999999999),...
+'velocity_parallel_real_error_lower',double([]),...
+'velocity_parallel_real_error_upper',double([])))
+;}},...
+'frequency_norm',double(-9e+40),...
+'frequency_norm_error_index',int32(-999999999),...
+'frequency_norm_error_lower',double(-9e+40),...
+'frequency_norm_error_upper',double(-9e+40),...
+'growth_rate_norm',double(-9e+40),...
+'growth_rate_norm_error_index',int32(-999999999),...
+'growth_rate_norm_error_lower',double(-9e+40),...
+'growth_rate_norm_error_upper',double(-9e+40),...
+'growth_rate_tolerance',double(-9e+40),...
+'growth_rate_tolerance_error_index',int32(-999999999),...
+'growth_rate_tolerance_error_lower',double(-9e+40),...
+'growth_rate_tolerance_error_upper',double(-9e+40),...
+'phi_potential_perturbed_norm_imaginary',double([]),...
+'phi_potential_perturbed_norm_imaginary_error_index',int32(-999999999),...
+'phi_potential_perturbed_norm_imaginary_error_lower',double([]),...
+'phi_potential_perturbed_norm_imaginary_error_upper',double([]),...
+'phi_potential_perturbed_norm_real',double([]),...
+'phi_potential_perturbed_norm_real_error_index',int32(-999999999),...
+'phi_potential_perturbed_norm_real_error_lower',double([]),...
+'phi_potential_perturbed_norm_real_error_upper',double([]),...
+'phi_potential_perturbed_parity',double([]),...
+'phi_potential_perturbed_parity_error_index',int32(-999999999),...
+'phi_potential_perturbed_parity_error_lower',double([]),...
+'phi_potential_perturbed_parity_error_upper',double([]),...
+'phi_potential_perturbed_weight',double([]),...
+'phi_potential_perturbed_weight_error_index',int32(-999999999),...
+'phi_potential_perturbed_weight_error_lower',double([]),...
+'phi_potential_perturbed_weight_error_upper',double([]),...
+'poloidal_angle',double([]),...
+'poloidal_angle_error_index',int32(-999999999),...
+'poloidal_angle_error_lower',double([]),...
+'poloidal_angle_error_upper',double([]),...
+'time_norm',double([]),...
+'time_norm_error_index',int32(-999999999),...
+'time_norm_error_lower',double([]),...
+'time_norm_error_upper',double([]))
+;}},...
+'poloidal_turns',int32(-999999999),...
+'radial_component_norm',double(-9e+40),...
+'radial_component_norm_error_index',int32(-999999999),...
+'radial_component_norm_error_lower',double(-9e+40),...
+'radial_component_norm_error_upper',double(-9e+40))
+;}});
diff --git a/matlab/TCV_IMAS/ids_empty/ids_empty_hard_x_rays.m b/matlab/TCV_IMAS/ids_empty/ids_empty_hard_x_rays.m
new file mode 100644
index 0000000000000000000000000000000000000000..1efadd902f14b802aca24408a158cf60aa208bc3
--- /dev/null
+++ b/matlab/TCV_IMAS/ids_empty/ids_empty_hard_x_rays.m
@@ -0,0 +1,281 @@
+function S = ids_empty_hard_x_rays
+% function S = ids_empty_hard_x_rays
+%
+% File written automatically using struct2m.m 
+
+S = ... 
+struct(...
+'channel',{{struct(...
+'aperture',{{struct(...
+'centre',struct(...
+'phi',double(-9e+40),...
+'phi_error_index',int32(-999999999),...
+'phi_error_lower',double(-9e+40),...
+'phi_error_upper',double(-9e+40),...
+'r',double(-9e+40),...
+'r_error_index',int32(-999999999),...
+'r_error_lower',double(-9e+40),...
+'r_error_upper',double(-9e+40),...
+'z',double(-9e+40),...
+'z_error_index',int32(-999999999),...
+'z_error_lower',double(-9e+40),...
+'z_error_upper',double(-9e+40)),...
+'geometry_type',int32(-999999999),...
+'outline',struct(...
+'x1',double([]),...
+'x1_error_index',int32(-999999999),...
+'x1_error_lower',double([]),...
+'x1_error_upper',double([]),...
+'x2',double([]),...
+'x2_error_index',int32(-999999999),...
+'x2_error_lower',double([]),...
+'x2_error_upper',double([])),...
+'radius',double(-9e+40),...
+'radius_error_index',int32(-999999999),...
+'radius_error_lower',double(-9e+40),...
+'radius_error_upper',double(-9e+40),...
+'surface',double(-9e+40),...
+'surface_error_index',int32(-999999999),...
+'surface_error_lower',double(-9e+40),...
+'surface_error_upper',double(-9e+40),...
+'x1_unit_vector',struct(...
+'x',double(-9e+40),...
+'x_error_index',int32(-999999999),...
+'x_error_lower',double(-9e+40),...
+'x_error_upper',double(-9e+40),...
+'y',double(-9e+40),...
+'y_error_index',int32(-999999999),...
+'y_error_lower',double(-9e+40),...
+'y_error_upper',double(-9e+40),...
+'z',double(-9e+40),...
+'z_error_index',int32(-999999999),...
+'z_error_lower',double(-9e+40),...
+'z_error_upper',double(-9e+40)),...
+'x1_width',double(-9e+40),...
+'x1_width_error_index',int32(-999999999),...
+'x1_width_error_lower',double(-9e+40),...
+'x1_width_error_upper',double(-9e+40),...
+'x2_unit_vector',struct(...
+'x',double(-9e+40),...
+'x_error_index',int32(-999999999),...
+'x_error_lower',double(-9e+40),...
+'x_error_upper',double(-9e+40),...
+'y',double(-9e+40),...
+'y_error_index',int32(-999999999),...
+'y_error_lower',double(-9e+40),...
+'y_error_upper',double(-9e+40),...
+'z',double(-9e+40),...
+'z_error_index',int32(-999999999),...
+'z_error_lower',double(-9e+40),...
+'z_error_upper',double(-9e+40)),...
+'x2_width',double(-9e+40),...
+'x2_width_error_index',int32(-999999999),...
+'x2_width_error_lower',double(-9e+40),...
+'x2_width_error_upper',double(-9e+40),...
+'x3_unit_vector',struct(...
+'x',double(-9e+40),...
+'x_error_index',int32(-999999999),...
+'x_error_lower',double(-9e+40),...
+'x_error_upper',double(-9e+40),...
+'y',double(-9e+40),...
+'y_error_index',int32(-999999999),...
+'y_error_lower',double(-9e+40),...
+'y_error_upper',double(-9e+40),...
+'z',double(-9e+40),...
+'z_error_index',int32(-999999999),...
+'z_error_lower',double(-9e+40),...
+'z_error_upper',double(-9e+40)))
+;}},...
+'detector',struct(...
+'centre',struct(...
+'phi',double(-9e+40),...
+'phi_error_index',int32(-999999999),...
+'phi_error_lower',double(-9e+40),...
+'phi_error_upper',double(-9e+40),...
+'r',double(-9e+40),...
+'r_error_index',int32(-999999999),...
+'r_error_lower',double(-9e+40),...
+'r_error_upper',double(-9e+40),...
+'z',double(-9e+40),...
+'z_error_index',int32(-999999999),...
+'z_error_lower',double(-9e+40),...
+'z_error_upper',double(-9e+40)),...
+'geometry_type',int32(-999999999),...
+'outline',struct(...
+'x1',double([]),...
+'x1_error_index',int32(-999999999),...
+'x1_error_lower',double([]),...
+'x1_error_upper',double([]),...
+'x2',double([]),...
+'x2_error_index',int32(-999999999),...
+'x2_error_lower',double([]),...
+'x2_error_upper',double([])),...
+'radius',double(-9e+40),...
+'radius_error_index',int32(-999999999),...
+'radius_error_lower',double(-9e+40),...
+'radius_error_upper',double(-9e+40),...
+'surface',double(-9e+40),...
+'surface_error_index',int32(-999999999),...
+'surface_error_lower',double(-9e+40),...
+'surface_error_upper',double(-9e+40),...
+'x1_unit_vector',struct(...
+'x',double(-9e+40),...
+'x_error_index',int32(-999999999),...
+'x_error_lower',double(-9e+40),...
+'x_error_upper',double(-9e+40),...
+'y',double(-9e+40),...
+'y_error_index',int32(-999999999),...
+'y_error_lower',double(-9e+40),...
+'y_error_upper',double(-9e+40),...
+'z',double(-9e+40),...
+'z_error_index',int32(-999999999),...
+'z_error_lower',double(-9e+40),...
+'z_error_upper',double(-9e+40)),...
+'x1_width',double(-9e+40),...
+'x1_width_error_index',int32(-999999999),...
+'x1_width_error_lower',double(-9e+40),...
+'x1_width_error_upper',double(-9e+40),...
+'x2_unit_vector',struct(...
+'x',double(-9e+40),...
+'x_error_index',int32(-999999999),...
+'x_error_lower',double(-9e+40),...
+'x_error_upper',double(-9e+40),...
+'y',double(-9e+40),...
+'y_error_index',int32(-999999999),...
+'y_error_lower',double(-9e+40),...
+'y_error_upper',double(-9e+40),...
+'z',double(-9e+40),...
+'z_error_index',int32(-999999999),...
+'z_error_lower',double(-9e+40),...
+'z_error_upper',double(-9e+40)),...
+'x2_width',double(-9e+40),...
+'x2_width_error_index',int32(-999999999),...
+'x2_width_error_lower',double(-9e+40),...
+'x2_width_error_upper',double(-9e+40),...
+'x3_unit_vector',struct(...
+'x',double(-9e+40),...
+'x_error_index',int32(-999999999),...
+'x_error_lower',double(-9e+40),...
+'x_error_upper',double(-9e+40),...
+'y',double(-9e+40),...
+'y_error_index',int32(-999999999),...
+'y_error_lower',double(-9e+40),...
+'y_error_upper',double(-9e+40),...
+'z',double(-9e+40),...
+'z_error_index',int32(-999999999),...
+'z_error_lower',double(-9e+40),...
+'z_error_upper',double(-9e+40))),...
+'energy_band',{{struct(...
+'detection_efficiency',double([]),...
+'detection_efficiency_error_index',int32(-999999999),...
+'detection_efficiency_error_lower',double([]),...
+'detection_efficiency_error_upper',double([]),...
+'energies',double([]),...
+'energies_error_index',int32(-999999999),...
+'energies_error_lower',double([]),...
+'energies_error_upper',double([]),...
+'lower_bound',double(-9e+40),...
+'lower_bound_error_index',int32(-999999999),...
+'lower_bound_error_lower',double(-9e+40),...
+'lower_bound_error_upper',double(-9e+40),...
+'upper_bound',double(-9e+40),...
+'upper_bound_error_index',int32(-999999999),...
+'upper_bound_error_lower',double(-9e+40),...
+'upper_bound_error_upper',double(-9e+40))
+;}},...
+'etendue',double(-9e+40),...
+'etendue_error_index',int32(-999999999),...
+'etendue_error_lower',double(-9e+40),...
+'etendue_error_upper',double(-9e+40),...
+'etendue_method',struct(...
+'description','',...
+'index',int32(-999999999),...
+'name',''),...
+'identifier','',...
+'line_of_sight',struct(...
+'first_point',struct(...
+'phi',double(-9e+40),...
+'phi_error_index',int32(-999999999),...
+'phi_error_lower',double(-9e+40),...
+'phi_error_upper',double(-9e+40),...
+'r',double(-9e+40),...
+'r_error_index',int32(-999999999),...
+'r_error_lower',double(-9e+40),...
+'r_error_upper',double(-9e+40),...
+'z',double(-9e+40),...
+'z_error_index',int32(-999999999),...
+'z_error_lower',double(-9e+40),...
+'z_error_upper',double(-9e+40)),...
+'second_point',struct(...
+'phi',double(-9e+40),...
+'phi_error_index',int32(-999999999),...
+'phi_error_lower',double(-9e+40),...
+'phi_error_upper',double(-9e+40),...
+'r',double(-9e+40),...
+'r_error_index',int32(-999999999),...
+'r_error_lower',double(-9e+40),...
+'r_error_upper',double(-9e+40),...
+'z',double(-9e+40),...
+'z_error_index',int32(-999999999),...
+'z_error_lower',double(-9e+40),...
+'z_error_upper',double(-9e+40))),...
+'name','',...
+'radiance',struct(...
+'data',double([]),...
+'data_error_index',int32(-999999999),...
+'data_error_lower',double([]),...
+'data_error_upper',double([]),...
+'time',double([]),...
+'validity',int32(-999999999),...
+'validity_timed',int32([])))
+;}},...
+'code',struct(...
+'commit','',...
+'name','',...
+'output_flag',int32([]),...
+'parameters','',...
+'repository','',...
+'version',''),...
+'emissivity_profile_1d',{{struct(...
+'emissivity',double([]),...
+'emissivity_error_index',int32(-999999999),...
+'emissivity_error_lower',double([]),...
+'emissivity_error_upper',double([]),...
+'half_width_external',double([]),...
+'half_width_external_error_index',int32(-999999999),...
+'half_width_external_error_lower',double([]),...
+'half_width_external_error_upper',double([]),...
+'half_width_internal',double([]),...
+'half_width_internal_error_index',int32(-999999999),...
+'half_width_internal_error_lower',double([]),...
+'half_width_internal_error_upper',double([]),...
+'lower_bound',double(-9e+40),...
+'lower_bound_error_index',int32(-999999999),...
+'lower_bound_error_lower',double(-9e+40),...
+'lower_bound_error_upper',double(-9e+40),...
+'peak_position',double([]),...
+'peak_position_error_index',int32(-999999999),...
+'peak_position_error_lower',double([]),...
+'peak_position_error_upper',double([]),...
+'rho_tor_norm',double([]),...
+'rho_tor_norm_error_index',int32(-999999999),...
+'rho_tor_norm_error_lower',double([]),...
+'rho_tor_norm_error_upper',double([]),...
+'time',double([]),...
+'upper_bound',double(-9e+40),...
+'upper_bound_error_index',int32(-999999999),...
+'upper_bound_error_lower',double(-9e+40),...
+'upper_bound_error_upper',double(-9e+40),...
+'validity_timed',int32([]))
+;}},...
+'ids_properties',struct(...
+'comment','',...
+'creation_date','',...
+'homogeneous_time',int32(-999999999),...
+'provider','',...
+'source','',...
+'version_put',struct(...
+'access_layer','',...
+'access_layer_language','',...
+'data_dictionary','')),...
+'time',double([]));
diff --git a/matlab/TCV_IMAS/ids_empty/ids_empty_ic_antennas.m b/matlab/TCV_IMAS/ids_empty/ids_empty_ic_antennas.m
index 21e6c547694ad96d609be04bad905cc74efd4137..e427d7562fb07248edf9efef8937bfd25b82c53f 100644
--- a/matlab/TCV_IMAS/ids_empty/ids_empty_ic_antennas.m
+++ b/matlab/TCV_IMAS/ids_empty/ids_empty_ic_antennas.m
@@ -8,282 +8,317 @@ struct(...
 'antenna',{{struct(...
 'frequency',struct(...
 'data',double([]),...
-'data_error_index',double(-999999999),...
+'data_error_index',int32(-999999999),...
 'data_error_lower',double([]),...
 'data_error_upper',double([]),...
 'time',double([])),...
-'identifier',double([]),...
+'identifier','',...
 'module',{{struct(...
 'current',{{struct(...
 'amplitude',struct(...
 'data',double([]),...
-'data_error_index',double(-999999999),...
+'data_error_index',int32(-999999999),...
 'data_error_lower',double([]),...
 'data_error_upper',double([]),...
 'time',double([])),...
-'identifier',double([]),...
-'name',double([]),...
+'identifier','',...
+'name','',...
 'phase',struct(...
 'data',double([]),...
-'data_error_index',double(-999999999),...
+'data_error_index',int32(-999999999),...
 'data_error_lower',double([]),...
 'data_error_upper',double([]),...
 'time',double([])),...
 'position',struct(...
-'phi',double(-9.0000000000000006360851714687e+40),...
-'phi_error_index',double(-999999999),...
-'phi_error_lower',double(-9.0000000000000006360851714687e+40),...
-'phi_error_upper',double(-9.0000000000000006360851714687e+40),...
-'r',double(-9.0000000000000006360851714687e+40),...
-'r_error_index',double(-999999999),...
-'r_error_lower',double(-9.0000000000000006360851714687e+40),...
-'r_error_upper',double(-9.0000000000000006360851714687e+40),...
-'z',double(-9.0000000000000006360851714687e+40),...
-'z_error_index',double(-999999999),...
-'z_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_error_upper',double(-9.0000000000000006360851714687e+40)))
+'phi',double(-9e+40),...
+'phi_error_index',int32(-999999999),...
+'phi_error_lower',double(-9e+40),...
+'phi_error_upper',double(-9e+40),...
+'r',double(-9e+40),...
+'r_error_index',int32(-999999999),...
+'r_error_lower',double(-9e+40),...
+'r_error_upper',double(-9e+40),...
+'z',double(-9e+40),...
+'z_error_index',int32(-999999999),...
+'z_error_lower',double(-9e+40),...
+'z_error_upper',double(-9e+40)))
 ;}},...
 'frequency',struct(...
 'data',double([]),...
-'data_error_index',double(-999999999),...
+'data_error_index',int32(-999999999),...
 'data_error_lower',double([]),...
 'data_error_upper',double([]),...
 'time',double([])),...
-'identifier',double([]),...
+'identifier','',...
 'matching_element',{{struct(...
 'capacitance',struct(...
 'data',double([]),...
-'data_error_index',double(-999999999),...
+'data_error_index',int32(-999999999),...
 'data_error_lower',double([]),...
 'data_error_upper',double([]),...
 'time',double([])),...
-'name',double([]),...
+'name','',...
 'phase',struct(...
 'data',double([]),...
-'data_error_index',double(-999999999),...
+'data_error_index',int32(-999999999),...
 'data_error_lower',double([]),...
 'data_error_upper',double([]),...
 'time',double([])),...
 'type',struct(...
-'description',double([]),...
-'index',double(-999999999),...
-'name',double([])))
+'description','',...
+'index',int32(-999999999),...
+'name',''))
 ;}},...
-'name',double([]),...
-'phase',struct(...
+'name','',...
+'phase_forward',struct(...
+'data',double([]),...
+'data_error_index',int32(-999999999),...
+'data_error_lower',double([]),...
+'data_error_upper',double([]),...
+'time',double([])),...
+'phase_reflected',struct(...
 'data',double([]),...
-'data_error_index',double(-999999999),...
+'data_error_index',int32(-999999999),...
 'data_error_lower',double([]),...
 'data_error_upper',double([]),...
 'time',double([])),...
 'power_forward',struct(...
 'data',double([]),...
-'data_error_index',double(-999999999),...
+'data_error_index',int32(-999999999),...
 'data_error_lower',double([]),...
 'data_error_upper',double([]),...
 'time',double([])),...
 'power_launched',struct(...
 'data',double([]),...
-'data_error_index',double(-999999999),...
+'data_error_index',int32(-999999999),...
 'data_error_lower',double([]),...
 'data_error_upper',double([]),...
 'time',double([])),...
 'power_reflected',struct(...
 'data',double([]),...
-'data_error_index',double(-999999999),...
+'data_error_index',int32(-999999999),...
 'data_error_lower',double([]),...
 'data_error_upper',double([]),...
 'time',double([])),...
 'pressure',{{struct(...
 'amplitude',struct(...
 'data',double([]),...
-'data_error_index',double(-999999999),...
+'data_error_index',int32(-999999999),...
 'data_error_lower',double([]),...
 'data_error_upper',double([]),...
 'time',double([])),...
-'identifier',double([]),...
-'name',double([]),...
+'identifier','',...
+'name','',...
 'phase',struct(...
 'data',double([]),...
-'data_error_index',double(-999999999),...
+'data_error_index',int32(-999999999),...
 'data_error_lower',double([]),...
 'data_error_upper',double([]),...
 'time',double([])),...
 'position',struct(...
-'phi',double(-9.0000000000000006360851714687e+40),...
-'phi_error_index',double(-999999999),...
-'phi_error_lower',double(-9.0000000000000006360851714687e+40),...
-'phi_error_upper',double(-9.0000000000000006360851714687e+40),...
-'r',double(-9.0000000000000006360851714687e+40),...
-'r_error_index',double(-999999999),...
-'r_error_lower',double(-9.0000000000000006360851714687e+40),...
-'r_error_upper',double(-9.0000000000000006360851714687e+40),...
-'z',double(-9.0000000000000006360851714687e+40),...
-'z_error_index',double(-999999999),...
-'z_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_error_upper',double(-9.0000000000000006360851714687e+40)))
+'phi',double(-9e+40),...
+'phi_error_index',int32(-999999999),...
+'phi_error_lower',double(-9e+40),...
+'phi_error_upper',double(-9e+40),...
+'r',double(-9e+40),...
+'r_error_index',int32(-999999999),...
+'r_error_lower',double(-9e+40),...
+'r_error_upper',double(-9e+40),...
+'z',double(-9e+40),...
+'z_error_index',int32(-999999999),...
+'z_error_lower',double(-9e+40),...
+'z_error_upper',double(-9e+40)))
 ;}},...
 'reflection_coefficient',struct(...
 'data',double([]),...
-'data_error_index',double(-999999999),...
+'data_error_index',int32(-999999999),...
 'data_error_lower',double([]),...
 'data_error_upper',double([]),...
 'time',double([])),...
 'strap',{{struct(...
 'current',struct(...
 'data',double([]),...
-'data_error_index',double(-999999999),...
+'data_error_index',int32(-999999999),...
 'data_error_lower',double([]),...
 'data_error_upper',double([]),...
 'time',double([])),...
-'distance_to_conductor',double(-9.0000000000000006360851714687e+40),...
-'distance_to_conductor_error_index',double(-999999999),...
-'distance_to_conductor_error_lower',double(-9.0000000000000006360851714687e+40),...
-'distance_to_conductor_error_upper',double(-9.0000000000000006360851714687e+40),...
+'distance_to_conductor',double(-9e+40),...
+'distance_to_conductor_error_index',int32(-999999999),...
+'distance_to_conductor_error_lower',double(-9e+40),...
+'distance_to_conductor_error_upper',double(-9e+40),...
 'geometry',struct(...
 'arcs_of_circle',struct(...
 'curvature_radii',double([]),...
-'curvature_radii_error_index',double(-999999999),...
+'curvature_radii_error_index',int32(-999999999),...
 'curvature_radii_error_lower',double([]),...
 'curvature_radii_error_upper',double([]),...
 'r',double([]),...
-'r_error_index',double(-999999999),...
+'r_error_index',int32(-999999999),...
 'r_error_lower',double([]),...
 'r_error_upper',double([]),...
 'z',double([]),...
-'z_error_index',double(-999999999),...
+'z_error_index',int32(-999999999),...
 'z_error_lower',double([]),...
 'z_error_upper',double([])),...
-'geometry_type',double(-999999999),...
+'geometry_type',int32(-999999999),...
+'oblique',struct(...
+'alpha',double(-9e+40),...
+'alpha_error_index',int32(-999999999),...
+'alpha_error_lower',double(-9e+40),...
+'alpha_error_upper',double(-9e+40),...
+'beta',double(-9e+40),...
+'beta_error_index',int32(-999999999),...
+'beta_error_lower',double(-9e+40),...
+'beta_error_upper',double(-9e+40),...
+'length',double(-9e+40),...
+'length_error_index',int32(-999999999),...
+'length_error_lower',double(-9e+40),...
+'length_error_upper',double(-9e+40),...
+'r',double(-9e+40),...
+'r_error_index',int32(-999999999),...
+'r_error_lower',double(-9e+40),...
+'r_error_upper',double(-9e+40),...
+'thickness',double(-9e+40),...
+'thickness_error_index',int32(-999999999),...
+'thickness_error_lower',double(-9e+40),...
+'thickness_error_upper',double(-9e+40),...
+'z',double(-9e+40),...
+'z_error_index',int32(-999999999),...
+'z_error_lower',double(-9e+40),...
+'z_error_upper',double(-9e+40)),...
 'outline',struct(...
 'r',double([]),...
-'r_error_index',double(-999999999),...
+'r_error_index',int32(-999999999),...
 'r_error_lower',double([]),...
 'r_error_upper',double([]),...
 'z',double([]),...
-'z_error_index',double(-999999999),...
+'z_error_index',int32(-999999999),...
 'z_error_lower',double([]),...
 'z_error_upper',double([])),...
 'rectangle',struct(...
-'height',double(-9.0000000000000006360851714687e+40),...
-'height_error_index',double(-999999999),...
-'height_error_lower',double(-9.0000000000000006360851714687e+40),...
-'height_error_upper',double(-9.0000000000000006360851714687e+40),...
-'r',double(-9.0000000000000006360851714687e+40),...
-'r_error_index',double(-999999999),...
-'r_error_lower',double(-9.0000000000000006360851714687e+40),...
-'r_error_upper',double(-9.0000000000000006360851714687e+40),...
-'width',double(-9.0000000000000006360851714687e+40),...
-'width_error_index',double(-999999999),...
-'width_error_lower',double(-9.0000000000000006360851714687e+40),...
-'width_error_upper',double(-9.0000000000000006360851714687e+40),...
-'z',double(-9.0000000000000006360851714687e+40),...
-'z_error_index',double(-999999999),...
-'z_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_error_upper',double(-9.0000000000000006360851714687e+40))),...
+'height',double(-9e+40),...
+'height_error_index',int32(-999999999),...
+'height_error_lower',double(-9e+40),...
+'height_error_upper',double(-9e+40),...
+'r',double(-9e+40),...
+'r_error_index',int32(-999999999),...
+'r_error_lower',double(-9e+40),...
+'r_error_upper',double(-9e+40),...
+'width',double(-9e+40),...
+'width_error_index',int32(-999999999),...
+'width_error_lower',double(-9e+40),...
+'width_error_upper',double(-9e+40),...
+'z',double(-9e+40),...
+'z_error_index',int32(-999999999),...
+'z_error_lower',double(-9e+40),...
+'z_error_upper',double(-9e+40))),...
 'outline',struct(...
 'phi',double([]),...
-'phi_error_index',double(-999999999),...
+'phi_error_index',int32(-999999999),...
 'phi_error_lower',double([]),...
 'phi_error_upper',double([]),...
 'r',double([]),...
-'r_error_index',double(-999999999),...
+'r_error_index',int32(-999999999),...
 'r_error_lower',double([]),...
 'r_error_upper',double([]),...
 'z',double([]),...
-'z_error_index',double(-999999999),...
+'z_error_index',int32(-999999999),...
 'z_error_lower',double([]),...
 'z_error_upper',double([])),...
 'phase',struct(...
 'data',double([]),...
-'data_error_index',double(-999999999),...
+'data_error_index',int32(-999999999),...
 'data_error_lower',double([]),...
 'data_error_upper',double([]),...
 'time',double([])),...
-'width_tor',double(-9.0000000000000006360851714687e+40),...
-'width_tor_error_index',double(-999999999),...
-'width_tor_error_lower',double(-9.0000000000000006360851714687e+40),...
-'width_tor_error_upper',double(-9.0000000000000006360851714687e+40))
+'width_tor',double(-9e+40),...
+'width_tor_error_index',int32(-999999999),...
+'width_tor_error_lower',double(-9e+40),...
+'width_tor_error_upper',double(-9e+40))
 ;}},...
 'voltage',{{struct(...
 'amplitude',struct(...
 'data',double([]),...
-'data_error_index',double(-999999999),...
+'data_error_index',int32(-999999999),...
 'data_error_lower',double([]),...
 'data_error_upper',double([]),...
 'time',double([])),...
-'identifier',double([]),...
-'name',double([]),...
+'identifier','',...
+'name','',...
 'phase',struct(...
 'data',double([]),...
-'data_error_index',double(-999999999),...
+'data_error_index',int32(-999999999),...
 'data_error_lower',double([]),...
 'data_error_upper',double([]),...
 'time',double([])),...
 'position',struct(...
-'phi',double(-9.0000000000000006360851714687e+40),...
-'phi_error_index',double(-999999999),...
-'phi_error_lower',double(-9.0000000000000006360851714687e+40),...
-'phi_error_upper',double(-9.0000000000000006360851714687e+40),...
-'r',double(-9.0000000000000006360851714687e+40),...
-'r_error_index',double(-999999999),...
-'r_error_lower',double(-9.0000000000000006360851714687e+40),...
-'r_error_upper',double(-9.0000000000000006360851714687e+40),...
-'z',double(-9.0000000000000006360851714687e+40),...
-'z_error_index',double(-999999999),...
-'z_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_error_upper',double(-9.0000000000000006360851714687e+40)))
+'phi',double(-9e+40),...
+'phi_error_index',int32(-999999999),...
+'phi_error_lower',double(-9e+40),...
+'phi_error_upper',double(-9e+40),...
+'r',double(-9e+40),...
+'r_error_index',int32(-999999999),...
+'r_error_lower',double(-9e+40),...
+'r_error_upper',double(-9e+40),...
+'z',double(-9e+40),...
+'z_error_index',int32(-999999999),...
+'z_error_lower',double(-9e+40),...
+'z_error_upper',double(-9e+40)))
 ;}})
 ;}},...
-'name',double([]),...
+'name','',...
 'power_forward',struct(...
 'data',double([]),...
-'data_error_index',double(-999999999),...
+'data_error_index',int32(-999999999),...
 'data_error_lower',double([]),...
 'data_error_upper',double([]),...
 'time',double([])),...
 'power_launched',struct(...
 'data',double([]),...
-'data_error_index',double(-999999999),...
+'data_error_index',int32(-999999999),...
 'data_error_lower',double([]),...
 'data_error_upper',double([]),...
 'time',double([])),...
 'power_reflected',struct(...
 'data',double([]),...
-'data_error_index',double(-999999999),...
+'data_error_index',int32(-999999999),...
 'data_error_lower',double([]),...
 'data_error_upper',double([]),...
 'time',double([])),...
 'surface_current',{{struct(...
-'m_pol',double([]),...
-'n_tor',double([]),...
+'m_pol',int32([]),...
+'n_tor',int32([]),...
 'spectrum',double([]),...
-'spectrum_error_index',double(-999999999),...
+'spectrum_error_index',int32(-999999999),...
 'spectrum_error_lower',double([]),...
 'spectrum_error_upper',double([]),...
-'time',double(-9.0000000000000006360851714687e+40))
+'time',double(-9e+40))
 ;}})
 ;}},...
 'code',struct(...
-'commit',double([]),...
-'name',double([]),...
-'output_flag',double([]),...
-'parameters',double([]),...
-'repository',double([]),...
-'version',double([])),...
+'commit','',...
+'name','',...
+'output_flag',int32([]),...
+'parameters','',...
+'repository','',...
+'version',''),...
 'ids_properties',struct(...
-'comment',double([]),...
-'creation_date',double([]),...
-'homogeneous_time',double(-999999999),...
-'provider',double([]),...
-'source',double([])),...
+'comment','',...
+'creation_date','',...
+'homogeneous_time',int32(-999999999),...
+'provider','',...
+'source','',...
+'version_put',struct(...
+'access_layer','',...
+'access_layer_language','',...
+'data_dictionary','')),...
 'reference_point',struct(...
-'r',double(-9.0000000000000006360851714687e+40),...
-'r_error_index',double(-999999999),...
-'r_error_lower',double(-9.0000000000000006360851714687e+40),...
-'r_error_upper',double(-9.0000000000000006360851714687e+40),...
-'z',double(-9.0000000000000006360851714687e+40),...
-'z_error_index',double(-999999999),...
-'z_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_error_upper',double(-9.0000000000000006360851714687e+40)),...
+'r',double(-9e+40),...
+'r_error_index',int32(-999999999),...
+'r_error_lower',double(-9e+40),...
+'r_error_upper',double(-9e+40),...
+'z',double(-9e+40),...
+'z_error_index',int32(-999999999),...
+'z_error_lower',double(-9e+40),...
+'z_error_upper',double(-9e+40)),...
 'time',double([]));
diff --git a/matlab/TCV_IMAS/ids_empty/ids_empty_interferometer.m b/matlab/TCV_IMAS/ids_empty/ids_empty_interferometer.m
index c1b348f2815e5b88f5ee8161567e46e99cc0e8c9..2b34d26a5c0a808b0b5bdc4f88e64bc73b4336e4 100644
--- a/matlab/TCV_IMAS/ids_empty/ids_empty_interferometer.m
+++ b/matlab/TCV_IMAS/ids_empty/ids_empty_interferometer.m
@@ -6,115 +6,123 @@ function S = ids_empty_interferometer
 S = ... 
 struct(...
 'channel',{{struct(...
-'identifier',double([]),...
+'identifier','',...
 'line_of_sight',struct(...
 'first_point',struct(...
-'phi',double(-9.0000000000000006360851714687e+40),...
-'phi_error_index',double(-999999999),...
-'phi_error_lower',double(-9.0000000000000006360851714687e+40),...
-'phi_error_upper',double(-9.0000000000000006360851714687e+40),...
-'r',double(-9.0000000000000006360851714687e+40),...
-'r_error_index',double(-999999999),...
-'r_error_lower',double(-9.0000000000000006360851714687e+40),...
-'r_error_upper',double(-9.0000000000000006360851714687e+40),...
-'z',double(-9.0000000000000006360851714687e+40),...
-'z_error_index',double(-999999999),...
-'z_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_error_upper',double(-9.0000000000000006360851714687e+40)),...
+'phi',double(-9e+40),...
+'phi_error_index',int32(-999999999),...
+'phi_error_lower',double(-9e+40),...
+'phi_error_upper',double(-9e+40),...
+'r',double(-9e+40),...
+'r_error_index',int32(-999999999),...
+'r_error_lower',double(-9e+40),...
+'r_error_upper',double(-9e+40),...
+'z',double(-9e+40),...
+'z_error_index',int32(-999999999),...
+'z_error_lower',double(-9e+40),...
+'z_error_upper',double(-9e+40)),...
 'second_point',struct(...
-'phi',double(-9.0000000000000006360851714687e+40),...
-'phi_error_index',double(-999999999),...
-'phi_error_lower',double(-9.0000000000000006360851714687e+40),...
-'phi_error_upper',double(-9.0000000000000006360851714687e+40),...
-'r',double(-9.0000000000000006360851714687e+40),...
-'r_error_index',double(-999999999),...
-'r_error_lower',double(-9.0000000000000006360851714687e+40),...
-'r_error_upper',double(-9.0000000000000006360851714687e+40),...
-'z',double(-9.0000000000000006360851714687e+40),...
-'z_error_index',double(-999999999),...
-'z_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_error_upper',double(-9.0000000000000006360851714687e+40)),...
+'phi',double(-9e+40),...
+'phi_error_index',int32(-999999999),...
+'phi_error_lower',double(-9e+40),...
+'phi_error_upper',double(-9e+40),...
+'r',double(-9e+40),...
+'r_error_index',int32(-999999999),...
+'r_error_lower',double(-9e+40),...
+'r_error_upper',double(-9e+40),...
+'z',double(-9e+40),...
+'z_error_index',int32(-999999999),...
+'z_error_lower',double(-9e+40),...
+'z_error_upper',double(-9e+40)),...
 'third_point',struct(...
-'phi',double(-9.0000000000000006360851714687e+40),...
-'phi_error_index',double(-999999999),...
-'phi_error_lower',double(-9.0000000000000006360851714687e+40),...
-'phi_error_upper',double(-9.0000000000000006360851714687e+40),...
-'r',double(-9.0000000000000006360851714687e+40),...
-'r_error_index',double(-999999999),...
-'r_error_lower',double(-9.0000000000000006360851714687e+40),...
-'r_error_upper',double(-9.0000000000000006360851714687e+40),...
-'z',double(-9.0000000000000006360851714687e+40),...
-'z_error_index',double(-999999999),...
-'z_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_error_upper',double(-9.0000000000000006360851714687e+40))),...
+'phi',double(-9e+40),...
+'phi_error_index',int32(-999999999),...
+'phi_error_lower',double(-9e+40),...
+'phi_error_upper',double(-9e+40),...
+'r',double(-9e+40),...
+'r_error_index',int32(-999999999),...
+'r_error_lower',double(-9e+40),...
+'r_error_upper',double(-9e+40),...
+'z',double(-9e+40),...
+'z_error_index',int32(-999999999),...
+'z_error_lower',double(-9e+40),...
+'z_error_upper',double(-9e+40))),...
 'n_e_line',struct(...
 'data',double([]),...
-'data_error_index',double(-999999999),...
+'data_error_index',int32(-999999999),...
 'data_error_lower',double([]),...
 'data_error_upper',double([]),...
-'time',double([])),...
+'time',double([]),...
+'validity',int32(-999999999),...
+'validity_timed',int32([])),...
 'n_e_line_average',struct(...
 'data',double([]),...
-'data_error_index',double(-999999999),...
+'data_error_index',int32(-999999999),...
 'data_error_lower',double([]),...
 'data_error_upper',double([]),...
-'time',double([])),...
-'n_e_line_average_validity',double(-999999999),...
-'n_e_line_validity',double(-999999999),...
-'name',double([]),...
+'time',double([]),...
+'validity',int32(-999999999),...
+'validity_timed',int32([])),...
+'name','',...
 'path_length_variation',struct(...
 'data',double([]),...
-'data_error_index',double(-999999999),...
+'data_error_index',int32(-999999999),...
 'data_error_lower',double([]),...
 'data_error_upper',double([]),...
 'time',double([])),...
 'wavelength',{{struct(...
-'fringe_jump_correction',double([]),...
+'fringe_jump_correction',int32([]),...
 'fringe_jump_correction_times',double([]),...
-'fringe_jump_correction_times_error_index',double(-999999999),...
+'fringe_jump_correction_times_error_index',int32(-999999999),...
 'fringe_jump_correction_times_error_lower',double([]),...
 'fringe_jump_correction_times_error_upper',double([]),...
 'phase_corrected',struct(...
 'data',double([]),...
-'data_error_index',double(-999999999),...
+'data_error_index',int32(-999999999),...
 'data_error_lower',double([]),...
 'data_error_upper',double([]),...
 'time',double([])),...
-'phase_to_n_e_line',double(-9.0000000000000006360851714687e+40),...
-'phase_to_n_e_line_error_index',double(-999999999),...
-'phase_to_n_e_line_error_lower',double(-9.0000000000000006360851714687e+40),...
-'phase_to_n_e_line_error_upper',double(-9.0000000000000006360851714687e+40),...
-'value',double(-9.0000000000000006360851714687e+40),...
-'value_error_index',double(-999999999),...
-'value_error_lower',double(-9.0000000000000006360851714687e+40),...
-'value_error_upper',double(-9.0000000000000006360851714687e+40))
+'phase_to_n_e_line',double(-9e+40),...
+'phase_to_n_e_line_error_index',int32(-999999999),...
+'phase_to_n_e_line_error_lower',double(-9e+40),...
+'phase_to_n_e_line_error_upper',double(-9e+40),...
+'value',double(-9e+40),...
+'value_error_index',int32(-999999999),...
+'value_error_lower',double(-9e+40),...
+'value_error_upper',double(-9e+40))
 ;}})
 ;}},...
 'code',struct(...
-'commit',double([]),...
-'name',double([]),...
-'output_flag',double([]),...
-'parameters',double([]),...
-'repository',double([]),...
-'version',double([])),...
+'commit','',...
+'name','',...
+'output_flag',int32([]),...
+'parameters','',...
+'repository','',...
+'version',''),...
 'electrons_n',struct(...
 'data',double([]),...
-'data_error_index',double(-999999999),...
+'data_error_index',int32(-999999999),...
 'data_error_lower',double([]),...
 'data_error_upper',double([]),...
-'time',double([])),...
-'electrons_n_validity',double(-999999999),...
+'time',double([]),...
+'validity',int32(-999999999),...
+'validity_timed',int32([])),...
 'ids_properties',struct(...
-'comment',double([]),...
-'creation_date',double([]),...
-'homogeneous_time',double(-999999999),...
-'provider',double([]),...
-'source',double([])),...
+'comment','',...
+'creation_date','',...
+'homogeneous_time',int32(-999999999),...
+'provider','',...
+'source','',...
+'version_put',struct(...
+'access_layer','',...
+'access_layer_language','',...
+'data_dictionary','')),...
 'n_e_volume_average',struct(...
 'data',double([]),...
-'data_error_index',double(-999999999),...
+'data_error_index',int32(-999999999),...
 'data_error_lower',double([]),...
 'data_error_upper',double([]),...
-'time',double([])),...
-'n_e_volume_average_validity',double(-999999999),...
+'time',double([]),...
+'validity',int32(-999999999),...
+'validity_timed',int32([])),...
 'time',double([]));
diff --git a/matlab/TCV_IMAS/ids_empty/ids_empty_iron_core.m b/matlab/TCV_IMAS/ids_empty/ids_empty_iron_core.m
index 6f9108ed0ebd12b3e3afc662ba3aac15daf15335..a3176a5bc2fbd38ea51f7678400f0b3bf1e3bb86 100644
--- a/matlab/TCV_IMAS/ids_empty/ids_empty_iron_core.m
+++ b/matlab/TCV_IMAS/ids_empty/ids_empty_iron_core.m
@@ -6,80 +6,109 @@ function S = ids_empty_iron_core
 S = ... 
 struct(...
 'code',struct(...
-'commit',double([]),...
-'name',double([]),...
-'output_flag',double([]),...
-'parameters',double([]),...
-'repository',double([]),...
-'version',double([])),...
+'commit','',...
+'name','',...
+'output_flag',int32([]),...
+'parameters','',...
+'repository','',...
+'version',''),...
 'ids_properties',struct(...
-'comment',double([]),...
-'creation_date',double([]),...
-'homogeneous_time',double(-999999999),...
-'provider',double([]),...
-'source',double([])),...
+'comment','',...
+'creation_date','',...
+'homogeneous_time',int32(-999999999),...
+'provider','',...
+'source','',...
+'version_put',struct(...
+'access_layer','',...
+'access_layer_language','',...
+'data_dictionary','')),...
 'segment',{{struct(...
 'b_field',double([]),...
-'b_field_error_index',double(-999999999),...
+'b_field_error_index',int32(-999999999),...
 'b_field_error_lower',double([]),...
 'b_field_error_upper',double([]),...
 'geometry',struct(...
 'arcs_of_circle',struct(...
 'curvature_radii',double([]),...
-'curvature_radii_error_index',double(-999999999),...
+'curvature_radii_error_index',int32(-999999999),...
 'curvature_radii_error_lower',double([]),...
 'curvature_radii_error_upper',double([]),...
 'r',double([]),...
-'r_error_index',double(-999999999),...
+'r_error_index',int32(-999999999),...
 'r_error_lower',double([]),...
 'r_error_upper',double([]),...
 'z',double([]),...
-'z_error_index',double(-999999999),...
+'z_error_index',int32(-999999999),...
 'z_error_lower',double([]),...
 'z_error_upper',double([])),...
-'geometry_type',double(-999999999),...
+'geometry_type',int32(-999999999),...
+'oblique',struct(...
+'alpha',double(-9e+40),...
+'alpha_error_index',int32(-999999999),...
+'alpha_error_lower',double(-9e+40),...
+'alpha_error_upper',double(-9e+40),...
+'beta',double(-9e+40),...
+'beta_error_index',int32(-999999999),...
+'beta_error_lower',double(-9e+40),...
+'beta_error_upper',double(-9e+40),...
+'length',double(-9e+40),...
+'length_error_index',int32(-999999999),...
+'length_error_lower',double(-9e+40),...
+'length_error_upper',double(-9e+40),...
+'r',double(-9e+40),...
+'r_error_index',int32(-999999999),...
+'r_error_lower',double(-9e+40),...
+'r_error_upper',double(-9e+40),...
+'thickness',double(-9e+40),...
+'thickness_error_index',int32(-999999999),...
+'thickness_error_lower',double(-9e+40),...
+'thickness_error_upper',double(-9e+40),...
+'z',double(-9e+40),...
+'z_error_index',int32(-999999999),...
+'z_error_lower',double(-9e+40),...
+'z_error_upper',double(-9e+40)),...
 'outline',struct(...
 'r',double([]),...
-'r_error_index',double(-999999999),...
+'r_error_index',int32(-999999999),...
 'r_error_lower',double([]),...
 'r_error_upper',double([]),...
 'z',double([]),...
-'z_error_index',double(-999999999),...
+'z_error_index',int32(-999999999),...
 'z_error_lower',double([]),...
 'z_error_upper',double([])),...
 'rectangle',struct(...
-'height',double(-9.0000000000000006360851714687e+40),...
-'height_error_index',double(-999999999),...
-'height_error_lower',double(-9.0000000000000006360851714687e+40),...
-'height_error_upper',double(-9.0000000000000006360851714687e+40),...
-'r',double(-9.0000000000000006360851714687e+40),...
-'r_error_index',double(-999999999),...
-'r_error_lower',double(-9.0000000000000006360851714687e+40),...
-'r_error_upper',double(-9.0000000000000006360851714687e+40),...
-'width',double(-9.0000000000000006360851714687e+40),...
-'width_error_index',double(-999999999),...
-'width_error_lower',double(-9.0000000000000006360851714687e+40),...
-'width_error_upper',double(-9.0000000000000006360851714687e+40),...
-'z',double(-9.0000000000000006360851714687e+40),...
-'z_error_index',double(-999999999),...
-'z_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_error_upper',double(-9.0000000000000006360851714687e+40))),...
-'identifier',double([]),...
+'height',double(-9e+40),...
+'height_error_index',int32(-999999999),...
+'height_error_lower',double(-9e+40),...
+'height_error_upper',double(-9e+40),...
+'r',double(-9e+40),...
+'r_error_index',int32(-999999999),...
+'r_error_lower',double(-9e+40),...
+'r_error_upper',double(-9e+40),...
+'width',double(-9e+40),...
+'width_error_index',int32(-999999999),...
+'width_error_lower',double(-9e+40),...
+'width_error_upper',double(-9e+40),...
+'z',double(-9e+40),...
+'z_error_index',int32(-999999999),...
+'z_error_lower',double(-9e+40),...
+'z_error_upper',double(-9e+40))),...
+'identifier','',...
 'magnetisation_r',struct(...
 'data',double([]),...
-'data_error_index',double(-999999999),...
+'data_error_index',int32(-999999999),...
 'data_error_lower',double([]),...
 'data_error_upper',double([]),...
 'time',double([])),...
 'magnetisation_z',struct(...
 'data',double([]),...
-'data_error_index',double(-999999999),...
+'data_error_index',int32(-999999999),...
 'data_error_lower',double([]),...
 'data_error_upper',double([]),...
 'time',double([])),...
-'name',double([]),...
+'name','',...
 'permeability_relative',double([]),...
-'permeability_relative_error_index',double(-999999999),...
+'permeability_relative_error_index',int32(-999999999),...
 'permeability_relative_error_lower',double([]),...
 'permeability_relative_error_upper',double([]))
 ;}},...
diff --git a/matlab/TCV_IMAS/ids_empty/ids_empty_langmuir_probes.m b/matlab/TCV_IMAS/ids_empty/ids_empty_langmuir_probes.m
new file mode 100644
index 0000000000000000000000000000000000000000..c335a805d32a1b4d0dad84a4c0ea7a8f4354b75c
--- /dev/null
+++ b/matlab/TCV_IMAS/ids_empty/ids_empty_langmuir_probes.m
@@ -0,0 +1,233 @@
+function S = ids_empty_langmuir_probes
+% function S = ids_empty_langmuir_probes
+%
+% File written automatically using struct2m.m 
+
+S = ... 
+struct(...
+'code',struct(...
+'commit','',...
+'name','',...
+'output_flag',int32([]),...
+'parameters','',...
+'repository','',...
+'version',''),...
+'embedded',{{struct(...
+'b_field_angle',struct(...
+'data',double([]),...
+'data_error_index',int32(-999999999),...
+'data_error_lower',double([]),...
+'data_error_upper',double([]),...
+'validity',int32(-999999999),...
+'validity_timed',int32([])),...
+'distance_separatrix',struct(...
+'data',double([]),...
+'data_error_index',int32(-999999999),...
+'data_error_lower',double([]),...
+'data_error_upper',double([]),...
+'validity',int32(-999999999),...
+'validity_timed',int32([])),...
+'heat_flux_parallel',struct(...
+'data',double([]),...
+'data_error_index',int32(-999999999),...
+'data_error_lower',double([]),...
+'data_error_upper',double([]),...
+'validity',int32(-999999999),...
+'validity_timed',int32([])),...
+'identifier','',...
+'j_ion_parallel',struct(...
+'data',double([]),...
+'data_error_index',int32(-999999999),...
+'data_error_lower',double([]),...
+'data_error_upper',double([]),...
+'validity',int32(-999999999),...
+'validity_timed',int32([])),...
+'multi_temperature_fits',{{struct(...
+'t_e',struct(...
+'data',double([]),...
+'data_error_index',int32(-999999999),...
+'data_error_lower',double([]),...
+'data_error_upper',double([]),...
+'validity',int32(-999999999),...
+'validity_timed',int32([])),...
+'t_i',struct(...
+'data',double([]),...
+'data_error_index',int32(-999999999),...
+'data_error_lower',double([]),...
+'data_error_upper',double([]),...
+'validity',int32(-999999999),...
+'validity_timed',int32([])),...
+'time',double([]))
+;}},...
+'n_e',struct(...
+'data',double([]),...
+'data_error_index',int32(-999999999),...
+'data_error_lower',double([]),...
+'data_error_upper',double([]),...
+'validity',int32(-999999999),...
+'validity_timed',int32([])),...
+'name','',...
+'position',struct(...
+'phi',double(-9e+40),...
+'phi_error_index',int32(-999999999),...
+'phi_error_lower',double(-9e+40),...
+'phi_error_upper',double(-9e+40),...
+'r',double(-9e+40),...
+'r_error_index',int32(-999999999),...
+'r_error_lower',double(-9e+40),...
+'r_error_upper',double(-9e+40),...
+'z',double(-9e+40),...
+'z_error_index',int32(-999999999),...
+'z_error_lower',double(-9e+40),...
+'z_error_upper',double(-9e+40)),...
+'potential_floating',struct(...
+'data',double([]),...
+'data_error_index',int32(-999999999),...
+'data_error_lower',double([]),...
+'data_error_upper',double([]),...
+'validity',int32(-999999999),...
+'validity_timed',int32([])),...
+'potential_plasma',struct(...
+'data',double([]),...
+'data_error_index',int32(-999999999),...
+'data_error_lower',double([]),...
+'data_error_upper',double([]),...
+'validity',int32(-999999999),...
+'validity_timed',int32([])),...
+'saturation_current_ion',struct(...
+'data',double([]),...
+'data_error_index',int32(-999999999),...
+'data_error_lower',double([]),...
+'data_error_upper',double([]),...
+'validity',int32(-999999999),...
+'validity_timed',int32([])),...
+'t_e',struct(...
+'data',double([]),...
+'data_error_index',int32(-999999999),...
+'data_error_lower',double([]),...
+'data_error_upper',double([]),...
+'validity',int32(-999999999),...
+'validity_timed',int32([])),...
+'t_i',struct(...
+'data',double([]),...
+'data_error_index',int32(-999999999),...
+'data_error_lower',double([]),...
+'data_error_upper',double([]),...
+'validity',int32(-999999999),...
+'validity_timed',int32([])),...
+'time',double([]))
+;}},...
+'ids_properties',struct(...
+'comment','',...
+'creation_date','',...
+'homogeneous_time',int32(-999999999),...
+'provider','',...
+'source','',...
+'version_put',struct(...
+'access_layer','',...
+'access_layer_language','',...
+'data_dictionary','')),...
+'reciprocating',{{struct(...
+'identifier','',...
+'name','',...
+'plunge',{{struct(...
+'b_field_angle',struct(...
+'data',double([]),...
+'data_error_index',int32(-999999999),...
+'data_error_lower',double([]),...
+'data_error_upper',double([]),...
+'validity',int32(-999999999),...
+'validity_timed',int32([])),...
+'distance_separatrix',struct(...
+'data',double([]),...
+'data_error_index',int32(-999999999),...
+'data_error_lower',double([]),...
+'data_error_upper',double([]),...
+'validity',int32(-999999999),...
+'validity_timed',int32([])),...
+'heat_flux_parallel',struct(...
+'data',double([]),...
+'data_error_index',int32(-999999999),...
+'data_error_lower',double([]),...
+'data_error_upper',double([]),...
+'validity',int32(-999999999),...
+'validity_timed',int32([])),...
+'j_ion_parallel',struct(...
+'data',double([]),...
+'data_error_index',int32(-999999999),...
+'data_error_lower',double([]),...
+'data_error_upper',double([]),...
+'validity',int32(-999999999),...
+'validity_timed',int32([])),...
+'mach_number_parallel',struct(...
+'data',double([]),...
+'data_error_index',int32(-999999999),...
+'data_error_lower',double([]),...
+'data_error_upper',double([]),...
+'validity',int32(-999999999),...
+'validity_timed',int32([])),...
+'n_e',struct(...
+'data',double([]),...
+'data_error_index',int32(-999999999),...
+'data_error_lower',double([]),...
+'data_error_upper',double([]),...
+'validity',int32(-999999999),...
+'validity_timed',int32([])),...
+'position',struct(...
+'phi',double([]),...
+'phi_error_index',int32(-999999999),...
+'phi_error_lower',double([]),...
+'phi_error_upper',double([]),...
+'r',double([]),...
+'r_error_index',int32(-999999999),...
+'r_error_lower',double([]),...
+'r_error_upper',double([]),...
+'validity',int32(-999999999),...
+'validity_timed',int32([]),...
+'z',double([]),...
+'z_error_index',int32(-999999999),...
+'z_error_lower',double([]),...
+'z_error_upper',double([])),...
+'potential_floating',struct(...
+'data',double([]),...
+'data_error_index',int32(-999999999),...
+'data_error_lower',double([]),...
+'data_error_upper',double([]),...
+'validity',int32(-999999999),...
+'validity_timed',int32([])),...
+'potential_plasma',struct(...
+'data',double([]),...
+'data_error_index',int32(-999999999),...
+'data_error_lower',double([]),...
+'data_error_upper',double([]),...
+'validity',int32(-999999999),...
+'validity_timed',int32([])),...
+'saturation_current_ion',struct(...
+'data',double([]),...
+'data_error_index',int32(-999999999),...
+'data_error_lower',double([]),...
+'data_error_upper',double([]),...
+'validity',int32(-999999999),...
+'validity_timed',int32([])),...
+'t_e',struct(...
+'data',double([]),...
+'data_error_index',int32(-999999999),...
+'data_error_lower',double([]),...
+'data_error_upper',double([]),...
+'validity',int32(-999999999),...
+'validity_timed',int32([])),...
+'t_i',struct(...
+'data',double([]),...
+'data_error_index',int32(-999999999),...
+'data_error_lower',double([]),...
+'data_error_upper',double([]),...
+'validity',int32(-999999999),...
+'validity_timed',int32([])),...
+'time',double(-9e+40),...
+'time_within_plunge',double([]),...
+'time_within_plunge_error_index',int32(-999999999),...
+'time_within_plunge_error_lower',double([]),...
+'time_within_plunge_error_upper',double([]))
+;}})
+;}},...
+'time',double([]));
diff --git a/matlab/TCV_IMAS/ids_empty/ids_empty_lh_antennas.m b/matlab/TCV_IMAS/ids_empty/ids_empty_lh_antennas.m
index 0a6a38be6daba01049a6cbf9e9623757f81cd327..aedf47e4581493203b9a326bc9cd113bd5354d7b 100644
--- a/matlab/TCV_IMAS/ids_empty/ids_empty_lh_antennas.m
+++ b/matlab/TCV_IMAS/ids_empty/ids_empty_lh_antennas.m
@@ -6,125 +6,129 @@ function S = ids_empty_lh_antennas
 S = ... 
 struct(...
 'antenna',{{struct(...
-'frequency',double(-9.0000000000000006360851714687e+40),...
-'frequency_error_index',double(-999999999),...
-'frequency_error_lower',double(-9.0000000000000006360851714687e+40),...
-'frequency_error_upper',double(-9.0000000000000006360851714687e+40),...
-'identifier',double([]),...
+'frequency',double(-9e+40),...
+'frequency_error_index',int32(-999999999),...
+'frequency_error_lower',double(-9e+40),...
+'frequency_error_upper',double(-9e+40),...
+'identifier','',...
 'module',{{struct(...
-'identifier',double([]),...
-'name',double([]),...
+'identifier','',...
+'name','',...
 'phase',struct(...
 'data',double([]),...
-'data_error_index',double(-999999999),...
+'data_error_index',int32(-999999999),...
 'data_error_lower',double([]),...
 'data_error_upper',double([]),...
 'time',double([])),...
 'power_forward',struct(...
 'data',double([]),...
-'data_error_index',double(-999999999),...
+'data_error_index',int32(-999999999),...
 'data_error_lower',double([]),...
 'data_error_upper',double([]),...
 'time',double([])),...
 'power_launched',struct(...
 'data',double([]),...
-'data_error_index',double(-999999999),...
+'data_error_index',int32(-999999999),...
 'data_error_lower',double([]),...
 'data_error_upper',double([]),...
 'time',double([])),...
 'power_reflected',struct(...
 'data',double([]),...
-'data_error_index',double(-999999999),...
+'data_error_index',int32(-999999999),...
 'data_error_lower',double([]),...
 'data_error_upper',double([]),...
 'time',double([])),...
 'reflection_coefficient',struct(...
 'data',double([]),...
-'data_error_index',double(-999999999),...
+'data_error_index',int32(-999999999),...
 'data_error_lower',double([]),...
 'data_error_upper',double([]),...
 'time',double([])))
 ;}},...
 'n_parallel_peak',struct(...
 'data',double([]),...
-'data_error_index',double(-999999999),...
+'data_error_index',int32(-999999999),...
 'data_error_lower',double([]),...
 'data_error_upper',double([]),...
 'time',double([])),...
-'name',double([]),...
+'name','',...
 'phase_average',struct(...
 'data',double([]),...
-'data_error_index',double(-999999999),...
+'data_error_index',int32(-999999999),...
 'data_error_lower',double([]),...
 'data_error_upper',double([]),...
 'time',double([])),...
 'position',struct(...
-'definition',double([]),...
+'definition','',...
 'phi',struct(...
 'data',double([]),...
-'data_error_index',double(-999999999),...
+'data_error_index',int32(-999999999),...
 'data_error_lower',double([]),...
 'data_error_upper',double([]),...
 'time',double([])),...
 'r',struct(...
 'data',double([]),...
-'data_error_index',double(-999999999),...
+'data_error_index',int32(-999999999),...
 'data_error_lower',double([]),...
 'data_error_upper',double([]),...
 'time',double([])),...
 'z',struct(...
 'data',double([]),...
-'data_error_index',double(-999999999),...
+'data_error_index',int32(-999999999),...
 'data_error_lower',double([]),...
 'data_error_upper',double([]),...
 'time',double([]))),...
 'power_forward',struct(...
 'data',double([]),...
-'data_error_index',double(-999999999),...
+'data_error_index',int32(-999999999),...
 'data_error_lower',double([]),...
 'data_error_upper',double([]),...
 'time',double([])),...
 'power_launched',struct(...
 'data',double([]),...
-'data_error_index',double(-999999999),...
+'data_error_index',int32(-999999999),...
 'data_error_lower',double([]),...
 'data_error_upper',double([]),...
 'time',double([])),...
 'power_reflected',struct(...
 'data',double([]),...
-'data_error_index',double(-999999999),...
+'data_error_index',int32(-999999999),...
 'data_error_lower',double([]),...
 'data_error_upper',double([]),...
 'time',double([])),...
 'pressure_tank',struct(...
 'data',double([]),...
-'data_error_index',double(-999999999),...
+'data_error_index',int32(-999999999),...
 'data_error_lower',double([]),...
 'data_error_upper',double([]),...
 'time',double([])),...
 'reflection_coefficient',struct(...
 'data',double([]),...
-'data_error_index',double(-999999999),...
+'data_error_index',int32(-999999999),...
 'data_error_lower',double([]),...
 'data_error_upper',double([]),...
 'time',double([])))
 ;}},...
 'code',struct(...
-'commit',double([]),...
-'name',double([]),...
-'output_flag',double([]),...
-'parameters',double([]),...
-'repository',double([]),...
-'version',double([])),...
+'commit','',...
+'name','',...
+'output_flag',int32([]),...
+'parameters','',...
+'repository','',...
+'version',''),...
 'ids_properties',struct(...
-'comment',double([]),...
-'creation_date',double([]),...
-'homogeneous_time',double(-999999999),...
-'provider',double([]),...
-'source',double([])),...
+'comment','',...
+'creation_date','',...
+'homogeneous_time',int32(-999999999),...
+'provider','',...
+'source','',...
+'version_put',struct(...
+'access_layer','',...
+'access_layer_language','',...
+'data_dictionary','')),...
 'power',struct(...
 'data',double([]),...
-'data_error_index',double(-999999999),...
+'data_error_index',int32(-999999999),...
 'data_error_lower',double([]),...
 'data_error_upper',double([]),...
 'time',double([])),...
diff --git a/matlab/TCV_IMAS/ids_empty/ids_empty_magnetics.m b/matlab/TCV_IMAS/ids_empty/ids_empty_magnetics.m
index 7f55055215d4cc56bde23fdf6e0d921df2f77b78..6e6cd16cf2b82f5a751e8d28ade0a46c9d911dfa 100644
--- a/matlab/TCV_IMAS/ids_empty/ids_empty_magnetics.m
+++ b/matlab/TCV_IMAS/ids_empty/ids_empty_magnetics.m
@@ -5,98 +5,326 @@ function S = ids_empty_magnetics
 
 S = ... 
 struct(...
+'b_field_pol_probe',{{struct(...
+'area',double(-9e+40),...
+'area_error_index',int32(-999999999),...
+'area_error_lower',double(-9e+40),...
+'area_error_upper',double(-9e+40),...
+'bandwidth_3db',double([]),...
+'bandwidth_3db_error_index',int32(-999999999),...
+'bandwidth_3db_error_lower',double([]),...
+'bandwidth_3db_error_upper',double([]),...
+'field',struct(...
+'data',double([]),...
+'data_error_index',int32(-999999999),...
+'data_error_lower',double([]),...
+'data_error_upper',double([]),...
+'time',double([]),...
+'validity',int32(-999999999),...
+'validity_timed',int32([])),...
+'identifier','',...
+'indices_differential',int32([]),...
+'length',double(-9e+40),...
+'length_error_index',int32(-999999999),...
+'length_error_lower',double(-9e+40),...
+'length_error_upper',double(-9e+40),...
+'name','',...
+'non_linear_response',struct(...
+'b_field_linear',double([]),...
+'b_field_linear_error_index',int32(-999999999),...
+'b_field_linear_error_lower',double([]),...
+'b_field_linear_error_upper',double([]),...
+'b_field_non_linear',double([]),...
+'b_field_non_linear_error_index',int32(-999999999),...
+'b_field_non_linear_error_lower',double([]),...
+'b_field_non_linear_error_upper',double([])),...
+'poloidal_angle',double(-9e+40),...
+'poloidal_angle_error_index',int32(-999999999),...
+'poloidal_angle_error_lower',double(-9e+40),...
+'poloidal_angle_error_upper',double(-9e+40),...
+'position',struct(...
+'phi',double(-9e+40),...
+'phi_error_index',int32(-999999999),...
+'phi_error_lower',double(-9e+40),...
+'phi_error_upper',double(-9e+40),...
+'r',double(-9e+40),...
+'r_error_index',int32(-999999999),...
+'r_error_lower',double(-9e+40),...
+'r_error_upper',double(-9e+40),...
+'z',double(-9e+40),...
+'z_error_index',int32(-999999999),...
+'z_error_lower',double(-9e+40),...
+'z_error_upper',double(-9e+40)),...
+'toroidal_angle',double(-9e+40),...
+'toroidal_angle_error_index',int32(-999999999),...
+'toroidal_angle_error_lower',double(-9e+40),...
+'toroidal_angle_error_upper',double(-9e+40),...
+'turns',int32(-999999999),...
+'type',struct(...
+'description','',...
+'index',int32(-999999999),...
+'name',''),...
+'voltage',struct(...
+'data',double([]),...
+'data_error_index',int32(-999999999),...
+'data_error_lower',double([]),...
+'data_error_upper',double([]),...
+'time',double([]),...
+'validity',int32(-999999999),...
+'validity_timed',int32([])))
+;}},...
+'b_field_tor_probe',{{struct(...
+'area',double(-9e+40),...
+'area_error_index',int32(-999999999),...
+'area_error_lower',double(-9e+40),...
+'area_error_upper',double(-9e+40),...
+'bandwidth_3db',double([]),...
+'bandwidth_3db_error_index',int32(-999999999),...
+'bandwidth_3db_error_lower',double([]),...
+'bandwidth_3db_error_upper',double([]),...
+'field',struct(...
+'data',double([]),...
+'data_error_index',int32(-999999999),...
+'data_error_lower',double([]),...
+'data_error_upper',double([]),...
+'time',double([]),...
+'validity',int32(-999999999),...
+'validity_timed',int32([])),...
+'identifier','',...
+'indices_differential',int32([]),...
+'length',double(-9e+40),...
+'length_error_index',int32(-999999999),...
+'length_error_lower',double(-9e+40),...
+'length_error_upper',double(-9e+40),...
+'name','',...
+'non_linear_response',struct(...
+'b_field_linear',double([]),...
+'b_field_linear_error_index',int32(-999999999),...
+'b_field_linear_error_lower',double([]),...
+'b_field_linear_error_upper',double([]),...
+'b_field_non_linear',double([]),...
+'b_field_non_linear_error_index',int32(-999999999),...
+'b_field_non_linear_error_lower',double([]),...
+'b_field_non_linear_error_upper',double([])),...
+'poloidal_angle',double(-9e+40),...
+'poloidal_angle_error_index',int32(-999999999),...
+'poloidal_angle_error_lower',double(-9e+40),...
+'poloidal_angle_error_upper',double(-9e+40),...
+'position',struct(...
+'phi',double(-9e+40),...
+'phi_error_index',int32(-999999999),...
+'phi_error_lower',double(-9e+40),...
+'phi_error_upper',double(-9e+40),...
+'r',double(-9e+40),...
+'r_error_index',int32(-999999999),...
+'r_error_lower',double(-9e+40),...
+'r_error_upper',double(-9e+40),...
+'z',double(-9e+40),...
+'z_error_index',int32(-999999999),...
+'z_error_lower',double(-9e+40),...
+'z_error_upper',double(-9e+40)),...
+'toroidal_angle',double(-9e+40),...
+'toroidal_angle_error_index',int32(-999999999),...
+'toroidal_angle_error_lower',double(-9e+40),...
+'toroidal_angle_error_upper',double(-9e+40),...
+'turns',int32(-999999999),...
+'type',struct(...
+'description','',...
+'index',int32(-999999999),...
+'name',''),...
+'voltage',struct(...
+'data',double([]),...
+'data_error_index',int32(-999999999),...
+'data_error_lower',double([]),...
+'data_error_upper',double([]),...
+'time',double([]),...
+'validity',int32(-999999999),...
+'validity_timed',int32([])))
+;}},...
 'bpol_probe',{{struct(...
-'area',double(-9.0000000000000006360851714687e+40),...
-'area_error_index',double(-999999999),...
-'area_error_lower',double(-9.0000000000000006360851714687e+40),...
-'area_error_upper',double(-9.0000000000000006360851714687e+40),...
+'area',double(-9e+40),...
+'area_error_index',int32(-999999999),...
+'area_error_lower',double(-9e+40),...
+'area_error_upper',double(-9e+40),...
+'bandwidth_3db',double([]),...
+'bandwidth_3db_error_index',int32(-999999999),...
+'bandwidth_3db_error_lower',double([]),...
+'bandwidth_3db_error_upper',double([]),...
 'field',struct(...
 'data',double([]),...
-'data_error_index',double(-999999999),...
+'data_error_index',int32(-999999999),...
 'data_error_lower',double([]),...
 'data_error_upper',double([]),...
-'time',double([])),...
-'field_validity',double(-999999999),...
-'identifier',double([]),...
-'length',double(-9.0000000000000006360851714687e+40),...
-'length_error_index',double(-999999999),...
-'length_error_lower',double(-9.0000000000000006360851714687e+40),...
-'length_error_upper',double(-9.0000000000000006360851714687e+40),...
-'name',double([]),...
-'poloidal_angle',double(-9.0000000000000006360851714687e+40),...
-'poloidal_angle_error_index',double(-999999999),...
-'poloidal_angle_error_lower',double(-9.0000000000000006360851714687e+40),...
-'poloidal_angle_error_upper',double(-9.0000000000000006360851714687e+40),...
+'time',double([]),...
+'validity',int32(-999999999),...
+'validity_timed',int32([])),...
+'identifier','',...
+'indices_differential',int32([]),...
+'length',double(-9e+40),...
+'length_error_index',int32(-999999999),...
+'length_error_lower',double(-9e+40),...
+'length_error_upper',double(-9e+40),...
+'name','',...
+'non_linear_response',struct(...
+'b_field_linear',double([]),...
+'b_field_linear_error_index',int32(-999999999),...
+'b_field_linear_error_lower',double([]),...
+'b_field_linear_error_upper',double([]),...
+'b_field_non_linear',double([]),...
+'b_field_non_linear_error_index',int32(-999999999),...
+'b_field_non_linear_error_lower',double([]),...
+'b_field_non_linear_error_upper',double([])),...
+'poloidal_angle',double(-9e+40),...
+'poloidal_angle_error_index',int32(-999999999),...
+'poloidal_angle_error_lower',double(-9e+40),...
+'poloidal_angle_error_upper',double(-9e+40),...
 'position',struct(...
-'phi',double(-9.0000000000000006360851714687e+40),...
-'phi_error_index',double(-999999999),...
-'phi_error_lower',double(-9.0000000000000006360851714687e+40),...
-'phi_error_upper',double(-9.0000000000000006360851714687e+40),...
-'r',double(-9.0000000000000006360851714687e+40),...
-'r_error_index',double(-999999999),...
-'r_error_lower',double(-9.0000000000000006360851714687e+40),...
-'r_error_upper',double(-9.0000000000000006360851714687e+40),...
-'z',double(-9.0000000000000006360851714687e+40),...
-'z_error_index',double(-999999999),...
-'z_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_error_upper',double(-9.0000000000000006360851714687e+40)),...
-'toroidal_angle',double(-9.0000000000000006360851714687e+40),...
-'toroidal_angle_error_index',double(-999999999),...
-'toroidal_angle_error_lower',double(-9.0000000000000006360851714687e+40),...
-'toroidal_angle_error_upper',double(-9.0000000000000006360851714687e+40),...
-'turns',double(-999999999))
+'phi',double(-9e+40),...
+'phi_error_index',int32(-999999999),...
+'phi_error_lower',double(-9e+40),...
+'phi_error_upper',double(-9e+40),...
+'r',double(-9e+40),...
+'r_error_index',int32(-999999999),...
+'r_error_lower',double(-9e+40),...
+'r_error_upper',double(-9e+40),...
+'z',double(-9e+40),...
+'z_error_index',int32(-999999999),...
+'z_error_lower',double(-9e+40),...
+'z_error_upper',double(-9e+40)),...
+'toroidal_angle',double(-9e+40),...
+'toroidal_angle_error_index',int32(-999999999),...
+'toroidal_angle_error_lower',double(-9e+40),...
+'toroidal_angle_error_upper',double(-9e+40),...
+'turns',int32(-999999999),...
+'type',struct(...
+'description','',...
+'index',int32(-999999999),...
+'name',''),...
+'voltage',struct(...
+'data',double([]),...
+'data_error_index',int32(-999999999),...
+'data_error_lower',double([]),...
+'data_error_upper',double([]),...
+'time',double([]),...
+'validity',int32(-999999999),...
+'validity_timed',int32([])))
 ;}},...
 'code',struct(...
-'commit',double([]),...
-'name',double([]),...
-'output_flag',double([]),...
-'parameters',double([]),...
-'repository',double([]),...
-'version',double([])),...
+'commit','',...
+'name','',...
+'output_flag',int32([]),...
+'parameters','',...
+'repository','',...
+'version',''),...
 'flux_loop',{{struct(...
+'area',double(-9e+40),...
+'area_error_index',int32(-999999999),...
+'area_error_lower',double(-9e+40),...
+'area_error_upper',double(-9e+40),...
 'flux',struct(...
 'data',double([]),...
-'data_error_index',double(-999999999),...
+'data_error_index',int32(-999999999),...
 'data_error_lower',double([]),...
 'data_error_upper',double([]),...
-'time',double([])),...
-'flux_validity',double(-999999999),...
-'identifier',double([]),...
-'name',double([]),...
+'time',double([]),...
+'validity',int32(-999999999),...
+'validity_timed',int32([])),...
+'gm9',double(-9e+40),...
+'gm9_error_index',int32(-999999999),...
+'gm9_error_lower',double(-9e+40),...
+'gm9_error_upper',double(-9e+40),...
+'identifier','',...
+'indices_differential',int32([]),...
+'name','',...
 'position',{{struct(...
-'phi',double(-9.0000000000000006360851714687e+40),...
-'phi_error_index',double(-999999999),...
-'phi_error_lower',double(-9.0000000000000006360851714687e+40),...
-'phi_error_upper',double(-9.0000000000000006360851714687e+40),...
-'r',double(-9.0000000000000006360851714687e+40),...
-'r_error_index',double(-999999999),...
-'r_error_lower',double(-9.0000000000000006360851714687e+40),...
-'r_error_upper',double(-9.0000000000000006360851714687e+40),...
-'z',double(-9.0000000000000006360851714687e+40),...
-'z_error_index',double(-999999999),...
-'z_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_error_upper',double(-9.0000000000000006360851714687e+40))
-;}})
+'phi',double(-9e+40),...
+'phi_error_index',int32(-999999999),...
+'phi_error_lower',double(-9e+40),...
+'phi_error_upper',double(-9e+40),...
+'r',double(-9e+40),...
+'r_error_index',int32(-999999999),...
+'r_error_lower',double(-9e+40),...
+'r_error_upper',double(-9e+40),...
+'z',double(-9e+40),...
+'z_error_index',int32(-999999999),...
+'z_error_lower',double(-9e+40),...
+'z_error_upper',double(-9e+40))
+;}},...
+'type',struct(...
+'description','',...
+'index',int32(-999999999),...
+'name',''),...
+'voltage',struct(...
+'data',double([]),...
+'data_error_index',int32(-999999999),...
+'data_error_lower',double([]),...
+'data_error_upper',double([]),...
+'time',double([]),...
+'validity',int32(-999999999),...
+'validity_timed',int32([])))
 ;}},...
 'ids_properties',struct(...
-'comment',double([]),...
-'creation_date',double([]),...
-'homogeneous_time',double(-999999999),...
-'provider',double([]),...
-'source',double([])),...
+'comment','',...
+'creation_date','',...
+'homogeneous_time',int32(-999999999),...
+'provider','',...
+'source','',...
+'version_put',struct(...
+'access_layer','',...
+'access_layer_language','',...
+'data_dictionary','')),...
 'method',{{struct(...
 'diamagnetic_flux',struct(...
 'data',double([]),...
-'data_error_index',double(-999999999),...
+'data_error_index',int32(-999999999),...
 'data_error_lower',double([]),...
 'data_error_upper',double([]),...
 'time',double([])),...
 'ip',struct(...
 'data',double([]),...
-'data_error_index',double(-999999999),...
+'data_error_index',int32(-999999999),...
 'data_error_lower',double([]),...
 'data_error_upper',double([]),...
 'time',double([])),...
-'name',double([]))
+'name','')
+;}},...
+'rogowski_coil',{{struct(...
+'area',double(-9e+40),...
+'area_error_index',int32(-999999999),...
+'area_error_lower',double(-9e+40),...
+'area_error_upper',double(-9e+40),...
+'current',struct(...
+'data',double([]),...
+'data_error_index',int32(-999999999),...
+'data_error_lower',double([]),...
+'data_error_upper',double([]),...
+'time',double([]),...
+'validity',int32(-999999999),...
+'validity_timed',int32([])),...
+'identifier','',...
+'indices_compound',int32([]),...
+'measured_quantity',struct(...
+'description','',...
+'index',int32(-999999999),...
+'name',''),...
+'name','',...
+'position',{{struct(...
+'phi',double(-9e+40),...
+'phi_error_index',int32(-999999999),...
+'phi_error_lower',double(-9e+40),...
+'phi_error_upper',double(-9e+40),...
+'r',double(-9e+40),...
+'r_error_index',int32(-999999999),...
+'r_error_lower',double(-9e+40),...
+'r_error_upper',double(-9e+40),...
+'z',double(-9e+40),...
+'z_error_index',int32(-999999999),...
+'z_error_lower',double(-9e+40),...
+'z_error_upper',double(-9e+40))
+;}},...
+'turns_per_metre',double(-9e+40),...
+'turns_per_metre_error_index',int32(-999999999),...
+'turns_per_metre_error_lower',double(-9e+40),...
+'turns_per_metre_error_upper',double(-9e+40))
 ;}},...
 'time',double([]));
diff --git a/matlab/TCV_IMAS/ids_empty/ids_empty_mhd.m b/matlab/TCV_IMAS/ids_empty/ids_empty_mhd.m
index bede680067ee52eef8bfbd1e6b8f675ade2336ec..46d2b40090347f911a279cbb76eba378f109fd5a 100644
--- a/matlab/TCV_IMAS/ids_empty/ids_empty_mhd.m
+++ b/matlab/TCV_IMAS/ids_empty/ids_empty_mhd.m
@@ -6,252 +6,264 @@ function S = ids_empty_mhd
 S = ... 
 struct(...
 'code',struct(...
-'commit',double([]),...
-'name',double([]),...
-'output_flag',double([]),...
-'parameters',double([]),...
-'repository',double([]),...
-'version',double([])),...
+'commit','',...
+'name','',...
+'output_flag',int32([]),...
+'parameters','',...
+'repository','',...
+'version',''),...
 'ggd',{{struct(...
 'a_field_r',{{struct(...
 'coefficients',double([]),...
-'coefficients_error_index',double(-999999999),...
+'coefficients_error_index',int32(-999999999),...
 'coefficients_error_lower',double([]),...
 'coefficients_error_upper',double([]),...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
 'values',double([]),...
-'values_error_index',double(-999999999),...
+'values_error_index',int32(-999999999),...
 'values_error_lower',double([]),...
 'values_error_upper',double([]))
 ;}},...
 'a_field_tor',{{struct(...
 'coefficients',double([]),...
-'coefficients_error_index',double(-999999999),...
+'coefficients_error_index',int32(-999999999),...
 'coefficients_error_lower',double([]),...
 'coefficients_error_upper',double([]),...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
 'values',double([]),...
-'values_error_index',double(-999999999),...
+'values_error_index',int32(-999999999),...
 'values_error_lower',double([]),...
 'values_error_upper',double([]))
 ;}},...
 'a_field_z',{{struct(...
 'coefficients',double([]),...
-'coefficients_error_index',double(-999999999),...
+'coefficients_error_index',int32(-999999999),...
 'coefficients_error_lower',double([]),...
 'coefficients_error_upper',double([]),...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
 'values',double([]),...
-'values_error_index',double(-999999999),...
+'values_error_index',int32(-999999999),...
 'values_error_lower',double([]),...
 'values_error_upper',double([]))
 ;}},...
 'b_field_r',{{struct(...
 'coefficients',double([]),...
-'coefficients_error_index',double(-999999999),...
+'coefficients_error_index',int32(-999999999),...
 'coefficients_error_lower',double([]),...
 'coefficients_error_upper',double([]),...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
 'values',double([]),...
-'values_error_index',double(-999999999),...
+'values_error_index',int32(-999999999),...
 'values_error_lower',double([]),...
 'values_error_upper',double([]))
 ;}},...
 'b_field_tor',{{struct(...
 'coefficients',double([]),...
-'coefficients_error_index',double(-999999999),...
+'coefficients_error_index',int32(-999999999),...
 'coefficients_error_lower',double([]),...
 'coefficients_error_upper',double([]),...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
 'values',double([]),...
-'values_error_index',double(-999999999),...
+'values_error_index',int32(-999999999),...
 'values_error_lower',double([]),...
 'values_error_upper',double([]))
 ;}},...
 'b_field_z',{{struct(...
 'coefficients',double([]),...
-'coefficients_error_index',double(-999999999),...
+'coefficients_error_index',int32(-999999999),...
 'coefficients_error_lower',double([]),...
 'coefficients_error_upper',double([]),...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
 'values',double([]),...
-'values_error_index',double(-999999999),...
+'values_error_index',int32(-999999999),...
 'values_error_lower',double([]),...
 'values_error_upper',double([]))
 ;}},...
 'electrons',struct(...
 'temperature',{{struct(...
 'coefficients',double([]),...
-'coefficients_error_index',double(-999999999),...
+'coefficients_error_index',int32(-999999999),...
 'coefficients_error_lower',double([]),...
 'coefficients_error_upper',double([]),...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
 'values',double([]),...
-'values_error_index',double(-999999999),...
+'values_error_index',int32(-999999999),...
 'values_error_lower',double([]),...
 'values_error_upper',double([]))
 ;}}),...
 'j_r',{{struct(...
 'coefficients',double([]),...
-'coefficients_error_index',double(-999999999),...
+'coefficients_error_index',int32(-999999999),...
 'coefficients_error_lower',double([]),...
 'coefficients_error_upper',double([]),...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
 'values',double([]),...
-'values_error_index',double(-999999999),...
+'values_error_index',int32(-999999999),...
 'values_error_lower',double([]),...
 'values_error_upper',double([]))
 ;}},...
 'j_tor',{{struct(...
 'coefficients',double([]),...
-'coefficients_error_index',double(-999999999),...
+'coefficients_error_index',int32(-999999999),...
 'coefficients_error_lower',double([]),...
 'coefficients_error_upper',double([]),...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
 'values',double([]),...
-'values_error_index',double(-999999999),...
+'values_error_index',int32(-999999999),...
 'values_error_lower',double([]),...
 'values_error_upper',double([]))
 ;}},...
 'j_z',{{struct(...
 'coefficients',double([]),...
-'coefficients_error_index',double(-999999999),...
+'coefficients_error_index',int32(-999999999),...
 'coefficients_error_lower',double([]),...
 'coefficients_error_upper',double([]),...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
 'values',double([]),...
-'values_error_index',double(-999999999),...
+'values_error_index',int32(-999999999),...
+'values_error_lower',double([]),...
+'values_error_upper',double([]))
+;}},...
+'mass_density',{{struct(...
+'coefficients',double([]),...
+'coefficients_error_index',int32(-999999999),...
+'coefficients_error_lower',double([]),...
+'coefficients_error_upper',double([]),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
+'values',double([]),...
+'values_error_index',int32(-999999999),...
 'values_error_lower',double([]),...
 'values_error_upper',double([]))
 ;}},...
 'n_i_total',{{struct(...
 'coefficients',double([]),...
-'coefficients_error_index',double(-999999999),...
+'coefficients_error_index',int32(-999999999),...
 'coefficients_error_lower',double([]),...
 'coefficients_error_upper',double([]),...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
 'values',double([]),...
-'values_error_index',double(-999999999),...
+'values_error_index',int32(-999999999),...
 'values_error_lower',double([]),...
 'values_error_upper',double([]))
 ;}},...
 'phi_potential',{{struct(...
 'coefficients',double([]),...
-'coefficients_error_index',double(-999999999),...
+'coefficients_error_index',int32(-999999999),...
 'coefficients_error_lower',double([]),...
 'coefficients_error_upper',double([]),...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
 'values',double([]),...
-'values_error_index',double(-999999999),...
+'values_error_index',int32(-999999999),...
 'values_error_lower',double([]),...
 'values_error_upper',double([]))
 ;}},...
 'psi',{{struct(...
 'coefficients',double([]),...
-'coefficients_error_index',double(-999999999),...
+'coefficients_error_index',int32(-999999999),...
 'coefficients_error_lower',double([]),...
 'coefficients_error_upper',double([]),...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
 'values',double([]),...
-'values_error_index',double(-999999999),...
+'values_error_index',int32(-999999999),...
 'values_error_lower',double([]),...
 'values_error_upper',double([]))
 ;}},...
 't_i_average',{{struct(...
 'coefficients',double([]),...
-'coefficients_error_index',double(-999999999),...
+'coefficients_error_index',int32(-999999999),...
 'coefficients_error_lower',double([]),...
 'coefficients_error_upper',double([]),...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
 'values',double([]),...
-'values_error_index',double(-999999999),...
+'values_error_index',int32(-999999999),...
 'values_error_lower',double([]),...
 'values_error_upper',double([]))
 ;}},...
-'time',double(-9.0000000000000006360851714687e+40),...
+'time',double(-9e+40),...
 'velocity_parallel',{{struct(...
 'coefficients',double([]),...
-'coefficients_error_index',double(-999999999),...
+'coefficients_error_index',int32(-999999999),...
 'coefficients_error_lower',double([]),...
 'coefficients_error_upper',double([]),...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
 'values',double([]),...
-'values_error_index',double(-999999999),...
+'values_error_index',int32(-999999999),...
 'values_error_lower',double([]),...
 'values_error_upper',double([]))
 ;}},...
 'velocity_r',{{struct(...
 'coefficients',double([]),...
-'coefficients_error_index',double(-999999999),...
+'coefficients_error_index',int32(-999999999),...
 'coefficients_error_lower',double([]),...
 'coefficients_error_upper',double([]),...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
 'values',double([]),...
-'values_error_index',double(-999999999),...
+'values_error_index',int32(-999999999),...
 'values_error_lower',double([]),...
 'values_error_upper',double([]))
 ;}},...
 'velocity_tor',{{struct(...
 'coefficients',double([]),...
-'coefficients_error_index',double(-999999999),...
+'coefficients_error_index',int32(-999999999),...
 'coefficients_error_lower',double([]),...
 'coefficients_error_upper',double([]),...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
 'values',double([]),...
-'values_error_index',double(-999999999),...
+'values_error_index',int32(-999999999),...
 'values_error_lower',double([]),...
 'values_error_upper',double([]))
 ;}},...
 'velocity_z',{{struct(...
 'coefficients',double([]),...
-'coefficients_error_index',double(-999999999),...
+'coefficients_error_index',int32(-999999999),...
 'coefficients_error_lower',double([]),...
 'coefficients_error_upper',double([]),...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
 'values',double([]),...
-'values_error_index',double(-999999999),...
+'values_error_index',int32(-999999999),...
 'values_error_lower',double([]),...
 'values_error_upper',double([]))
 ;}},...
 'vorticity',{{struct(...
 'coefficients',double([]),...
-'coefficients_error_index',double(-999999999),...
+'coefficients_error_index',int32(-999999999),...
 'coefficients_error_lower',double([]),...
 'coefficients_error_upper',double([]),...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
 'values',double([]),...
-'values_error_index',double(-999999999),...
+'values_error_index',int32(-999999999),...
 'values_error_lower',double([]),...
 'values_error_upper',double([]))
 ;}},...
 'zeff',{{struct(...
 'coefficients',double([]),...
-'coefficients_error_index',double(-999999999),...
+'coefficients_error_index',int32(-999999999),...
 'coefficients_error_lower',double([]),...
 'coefficients_error_upper',double([]),...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
 'values',double([]),...
-'values_error_index',double(-999999999),...
+'values_error_index',int32(-999999999),...
 'values_error_lower',double([]),...
 'values_error_upper',double([]))
 ;}})
@@ -260,82 +272,86 @@ struct(...
 'grid_subset',{{struct(...
 'base',{{struct(...
 'jacobian',double([]),...
-'jacobian_error_index',double(-999999999),...
+'jacobian_error_index',int32(-999999999),...
 'jacobian_error_lower',double([]),...
 'jacobian_error_upper',double([]),...
 'tensor_contravariant',double([]),...
-'tensor_contravariant_error_index',double(-999999999),...
+'tensor_contravariant_error_index',int32(-999999999),...
 'tensor_contravariant_error_lower',double([]),...
 'tensor_contravariant_error_upper',double([]),...
 'tensor_covariant',double([]),...
-'tensor_covariant_error_index',double(-999999999),...
+'tensor_covariant_error_index',int32(-999999999),...
 'tensor_covariant_error_lower',double([]),...
 'tensor_covariant_error_upper',double([]))
 ;}},...
-'dimension',double(-999999999),...
+'dimension',int32(-999999999),...
 'element',{{struct(...
 'object',{{struct(...
-'dimension',double(-999999999),...
-'index',double(-999999999),...
-'space',double(-999999999))
+'dimension',int32(-999999999),...
+'index',int32(-999999999),...
+'space',int32(-999999999))
 ;}})
 ;}},...
 'identifier',struct(...
-'description',double([]),...
-'index',double(-999999999),...
-'name',double([])),...
+'description','',...
+'index',int32(-999999999),...
+'name',''),...
 'metric',struct(...
 'jacobian',double([]),...
-'jacobian_error_index',double(-999999999),...
+'jacobian_error_index',int32(-999999999),...
 'jacobian_error_lower',double([]),...
 'jacobian_error_upper',double([]),...
 'tensor_contravariant',double([]),...
-'tensor_contravariant_error_index',double(-999999999),...
+'tensor_contravariant_error_index',int32(-999999999),...
 'tensor_contravariant_error_lower',double([]),...
 'tensor_contravariant_error_upper',double([]),...
 'tensor_covariant',double([]),...
-'tensor_covariant_error_index',double(-999999999),...
+'tensor_covariant_error_index',int32(-999999999),...
 'tensor_covariant_error_lower',double([]),...
 'tensor_covariant_error_upper',double([])))
 ;}},...
 'identifier',struct(...
-'description',double([]),...
-'index',double(-999999999),...
-'name',double([])),...
+'description','',...
+'index',int32(-999999999),...
+'name',''),...
 'space',{{struct(...
-'coordinates_type',double([]),...
+'coordinates_type',int32([]),...
 'geometry_type',struct(...
-'description',double([]),...
-'index',double(-999999999),...
-'name',double([])),...
+'description','',...
+'index',int32(-999999999),...
+'name',''),...
 'identifier',struct(...
-'description',double([]),...
-'index',double(-999999999),...
-'name',double([])),...
+'description','',...
+'index',int32(-999999999),...
+'name',''),...
 'objects_per_dimension',{{struct(...
 'object',{{struct(...
 'boundary',{{struct(...
-'index',double(-999999999),...
-'neighbours',double([]))
+'index',int32(-999999999),...
+'neighbours',int32([]))
 ;}},...
 'geometry',double([]),...
-'geometry_error_index',double(-999999999),...
+'geometry_error_index',int32(-999999999),...
 'geometry_error_lower',double([]),...
 'geometry_error_upper',double([]),...
-'measure',double(-9.0000000000000006360851714687e+40),...
-'measure_error_index',double(-999999999),...
-'measure_error_lower',double(-9.0000000000000006360851714687e+40),...
-'measure_error_upper',double(-9.0000000000000006360851714687e+40),...
-'nodes',double([]))
+'measure',double(-9e+40),...
+'measure_error_index',int32(-999999999),...
+'measure_error_lower',double(-9e+40),...
+'measure_error_upper',double(-9e+40),...
+'nodes',int32([]))
 ;}})
 ;}})
 ;}},...
-'time',double(-9.0000000000000006360851714687e+40))
+'time',double(-9e+40))
 ;}},...
 'ids_properties',struct(...
-'comment',double([]),...
-'creation_date',double([]),...
-'homogeneous_time',double(-999999999),...
-'provider',double([]),...
-'source',double([])),...
+'comment','',...
+'creation_date','',...
+'homogeneous_time',int32(-999999999),...
+'provider','',...
+'source','',...
+'version_put',struct(...
+'access_layer','',...
+'access_layer_language','',...
+'data_dictionary','')),...
 'time',double([]));
diff --git a/matlab/TCV_IMAS/ids_empty/ids_empty_mhd_linear.m b/matlab/TCV_IMAS/ids_empty/ids_empty_mhd_linear.m
index f1139a9471facf85434030f76cb86c04828a188f..dd9e493ffbe73c05f949880d5b1e302509cea579 100644
--- a/matlab/TCV_IMAS/ids_empty/ids_empty_mhd_linear.m
+++ b/matlab/TCV_IMAS/ids_empty/ids_empty_mhd_linear.m
@@ -6,310 +6,546 @@ function S = ids_empty_mhd_linear
 S = ... 
 struct(...
 'code',struct(...
-'commit',double([]),...
-'name',double([]),...
-'output_flag',double([]),...
-'parameters',double([]),...
-'repository',double([]),...
-'version',double([])),...
+'commit','',...
+'name','',...
+'output_flag',int32([]),...
+'parameters','',...
+'repository','',...
+'version',''),...
 'ids_properties',struct(...
-'comment',double([]),...
-'creation_date',double([]),...
-'homogeneous_time',double(-999999999),...
-'provider',double([]),...
-'source',double([])),...
+'comment','',...
+'creation_date','',...
+'homogeneous_time',int32(-999999999),...
+'provider','',...
+'source','',...
+'version_put',struct(...
+'access_layer','',...
+'access_layer_language','',...
+'data_dictionary','')),...
+'model_type',struct(...
+'description','',...
+'index',int32(-999999999),...
+'name',''),...
 'time',double([]),...
 'time_slice',{{struct(...
-'time',double(-9.0000000000000006360851714687e+40),...
+'time',double(-9e+40),...
 'toroidal_mode',{{struct(...
-'frequency',double(-9.0000000000000006360851714687e+40),...
-'frequency_error_index',double(-999999999),...
-'frequency_error_lower',double(-9.0000000000000006360851714687e+40),...
-'frequency_error_upper',double(-9.0000000000000006360851714687e+40),...
-'growthrate',double(-9.0000000000000006360851714687e+40),...
-'growthrate_error_index',double(-999999999),...
-'growthrate_error_lower',double(-9.0000000000000006360851714687e+40),...
-'growthrate_error_upper',double(-9.0000000000000006360851714687e+40),...
-'n_tor',double(-999999999),...
+'amplitude_multiplier',double(-9e+40),...
+'amplitude_multiplier_error_index',int32(-999999999),...
+'amplitude_multiplier_error_lower',double(-9e+40),...
+'amplitude_multiplier_error_upper',double(-9e+40),...
+'ballooning_type',struct(...
+'description','',...
+'index',int32(-999999999),...
+'name',''),...
+'frequency',double(-9e+40),...
+'frequency_error_index',int32(-999999999),...
+'frequency_error_lower',double(-9e+40),...
+'frequency_error_upper',double(-9e+40),...
+'growthrate',double(-9e+40),...
+'growthrate_error_index',int32(-999999999),...
+'growthrate_error_lower',double(-9e+40),...
+'growthrate_error_upper',double(-9e+40),...
+'m_pol_dominant',double(-9e+40),...
+'m_pol_dominant_error_index',int32(-999999999),...
+'m_pol_dominant_error_lower',double(-9e+40),...
+'m_pol_dominant_error_upper',double(-9e+40),...
+'n_tor',int32(-999999999),...
+'perturbation_type',struct(...
+'description','',...
+'index',int32(-999999999),...
+'name',''),...
+'phase',double(-9e+40),...
+'phase_error_index',int32(-999999999),...
+'phase_error_lower',double(-9e+40),...
+'phase_error_upper',double(-9e+40),...
 'plasma',struct(...
 'a_field_perturbed',struct(...
 'coordinate1',struct(...
+'coefficients_imaginary',double([]),...
+'coefficients_imaginary_error_index',int32(-999999999),...
+'coefficients_imaginary_error_lower',double([]),...
+'coefficients_imaginary_error_upper',double([]),...
+'coefficients_real',double([]),...
+'coefficients_real_error_index',int32(-999999999),...
+'coefficients_real_error_lower',double([]),...
+'coefficients_real_error_upper',double([]),...
 'imaginary',double([]),...
-'imaginary_error_index',double(-999999999),...
+'imaginary_error_index',int32(-999999999),...
 'imaginary_error_lower',double([]),...
 'imaginary_error_upper',double([]),...
 'real',double([]),...
-'real_error_index',double(-999999999),...
+'real_error_index',int32(-999999999),...
 'real_error_lower',double([]),...
 'real_error_upper',double([])),...
 'coordinate2',struct(...
+'coefficients_imaginary',double([]),...
+'coefficients_imaginary_error_index',int32(-999999999),...
+'coefficients_imaginary_error_lower',double([]),...
+'coefficients_imaginary_error_upper',double([]),...
+'coefficients_real',double([]),...
+'coefficients_real_error_index',int32(-999999999),...
+'coefficients_real_error_lower',double([]),...
+'coefficients_real_error_upper',double([]),...
 'imaginary',double([]),...
-'imaginary_error_index',double(-999999999),...
+'imaginary_error_index',int32(-999999999),...
 'imaginary_error_lower',double([]),...
 'imaginary_error_upper',double([]),...
 'real',double([]),...
-'real_error_index',double(-999999999),...
+'real_error_index',int32(-999999999),...
 'real_error_lower',double([]),...
 'real_error_upper',double([])),...
 'coordinate3',struct(...
+'coefficients_imaginary',double([]),...
+'coefficients_imaginary_error_index',int32(-999999999),...
+'coefficients_imaginary_error_lower',double([]),...
+'coefficients_imaginary_error_upper',double([]),...
+'coefficients_real',double([]),...
+'coefficients_real_error_index',int32(-999999999),...
+'coefficients_real_error_lower',double([]),...
+'coefficients_real_error_upper',double([]),...
 'imaginary',double([]),...
-'imaginary_error_index',double(-999999999),...
+'imaginary_error_index',int32(-999999999),...
 'imaginary_error_lower',double([]),...
 'imaginary_error_upper',double([]),...
 'real',double([]),...
-'real_error_index',double(-999999999),...
+'real_error_index',int32(-999999999),...
 'real_error_lower',double([]),...
 'real_error_upper',double([]))),...
+'alfven_frequency_spectrum',{{struct(...
+'imaginary',double([]),...
+'imaginary_error_index',int32(-999999999),...
+'imaginary_error_lower',double([]),...
+'imaginary_error_upper',double([]),...
+'real',double([]),...
+'real_error_index',int32(-999999999),...
+'real_error_lower',double([]),...
+'real_error_upper',double([]))
+;}},...
 'b_field_perturbed',struct(...
 'coordinate1',struct(...
+'coefficients_imaginary',double([]),...
+'coefficients_imaginary_error_index',int32(-999999999),...
+'coefficients_imaginary_error_lower',double([]),...
+'coefficients_imaginary_error_upper',double([]),...
+'coefficients_real',double([]),...
+'coefficients_real_error_index',int32(-999999999),...
+'coefficients_real_error_lower',double([]),...
+'coefficients_real_error_upper',double([]),...
 'imaginary',double([]),...
-'imaginary_error_index',double(-999999999),...
+'imaginary_error_index',int32(-999999999),...
 'imaginary_error_lower',double([]),...
 'imaginary_error_upper',double([]),...
 'real',double([]),...
-'real_error_index',double(-999999999),...
+'real_error_index',int32(-999999999),...
 'real_error_lower',double([]),...
 'real_error_upper',double([])),...
 'coordinate2',struct(...
+'coefficients_imaginary',double([]),...
+'coefficients_imaginary_error_index',int32(-999999999),...
+'coefficients_imaginary_error_lower',double([]),...
+'coefficients_imaginary_error_upper',double([]),...
+'coefficients_real',double([]),...
+'coefficients_real_error_index',int32(-999999999),...
+'coefficients_real_error_lower',double([]),...
+'coefficients_real_error_upper',double([]),...
 'imaginary',double([]),...
-'imaginary_error_index',double(-999999999),...
+'imaginary_error_index',int32(-999999999),...
 'imaginary_error_lower',double([]),...
 'imaginary_error_upper',double([]),...
 'real',double([]),...
-'real_error_index',double(-999999999),...
+'real_error_index',int32(-999999999),...
 'real_error_lower',double([]),...
 'real_error_upper',double([])),...
 'coordinate3',struct(...
+'coefficients_imaginary',double([]),...
+'coefficients_imaginary_error_index',int32(-999999999),...
+'coefficients_imaginary_error_lower',double([]),...
+'coefficients_imaginary_error_upper',double([]),...
+'coefficients_real',double([]),...
+'coefficients_real_error_index',int32(-999999999),...
+'coefficients_real_error_lower',double([]),...
+'coefficients_real_error_upper',double([]),...
 'imaginary',double([]),...
-'imaginary_error_index',double(-999999999),...
+'imaginary_error_index',int32(-999999999),...
 'imaginary_error_lower',double([]),...
 'imaginary_error_upper',double([]),...
 'real',double([]),...
-'real_error_index',double(-999999999),...
+'real_error_index',int32(-999999999),...
 'real_error_lower',double([]),...
 'real_error_upper',double([]))),...
 'coordinate_system',struct(...
 'jacobian',double([]),...
-'jacobian_error_index',double(-999999999),...
+'jacobian_error_index',int32(-999999999),...
 'jacobian_error_lower',double([]),...
 'jacobian_error_upper',double([]),...
 'r',double([]),...
-'r_error_index',double(-999999999),...
+'r_error_index',int32(-999999999),...
 'r_error_lower',double([]),...
 'r_error_upper',double([]),...
 'tensor_contravariant',double([]),...
-'tensor_contravariant_error_index',double(-999999999),...
+'tensor_contravariant_error_index',int32(-999999999),...
 'tensor_contravariant_error_lower',double([]),...
 'tensor_contravariant_error_upper',double([]),...
 'tensor_covariant',double([]),...
-'tensor_covariant_error_index',double(-999999999),...
+'tensor_covariant_error_index',int32(-999999999),...
 'tensor_covariant_error_lower',double([]),...
 'tensor_covariant_error_upper',double([]),...
 'z',double([]),...
-'z_error_index',double(-999999999),...
+'z_error_index',int32(-999999999),...
 'z_error_lower',double([]),...
 'z_error_upper',double([])),...
 'displacement_parallel',struct(...
+'coefficients_imaginary',double([]),...
+'coefficients_imaginary_error_index',int32(-999999999),...
+'coefficients_imaginary_error_lower',double([]),...
+'coefficients_imaginary_error_upper',double([]),...
+'coefficients_real',double([]),...
+'coefficients_real_error_index',int32(-999999999),...
+'coefficients_real_error_lower',double([]),...
+'coefficients_real_error_upper',double([]),...
 'imaginary',double([]),...
-'imaginary_error_index',double(-999999999),...
+'imaginary_error_index',int32(-999999999),...
 'imaginary_error_lower',double([]),...
 'imaginary_error_upper',double([]),...
 'real',double([]),...
-'real_error_index',double(-999999999),...
+'real_error_index',int32(-999999999),...
 'real_error_lower',double([]),...
 'real_error_upper',double([])),...
 'displacement_perpendicular',struct(...
+'coefficients_imaginary',double([]),...
+'coefficients_imaginary_error_index',int32(-999999999),...
+'coefficients_imaginary_error_lower',double([]),...
+'coefficients_imaginary_error_upper',double([]),...
+'coefficients_real',double([]),...
+'coefficients_real_error_index',int32(-999999999),...
+'coefficients_real_error_lower',double([]),...
+'coefficients_real_error_upper',double([]),...
 'imaginary',double([]),...
-'imaginary_error_index',double(-999999999),...
+'imaginary_error_index',int32(-999999999),...
 'imaginary_error_lower',double([]),...
 'imaginary_error_upper',double([]),...
 'real',double([]),...
-'real_error_index',double(-999999999),...
+'real_error_index',int32(-999999999),...
 'real_error_lower',double([]),...
 'real_error_upper',double([])),...
 'grid',struct(...
 'dim1',double([]),...
-'dim1_error_index',double(-999999999),...
+'dim1_error_index',int32(-999999999),...
 'dim1_error_lower',double([]),...
 'dim1_error_upper',double([]),...
 'dim2',double([]),...
-'dim2_error_index',double(-999999999),...
+'dim2_error_index',int32(-999999999),...
 'dim2_error_lower',double([]),...
 'dim2_error_upper',double([]),...
 'volume_element',double([]),...
-'volume_element_error_index',double(-999999999),...
+'volume_element_error_index',int32(-999999999),...
 'volume_element_error_lower',double([]),...
 'volume_element_error_upper',double([])),...
 'grid_type',struct(...
-'description',double([]),...
-'index',double(-999999999),...
-'name',double([])),...
+'description','',...
+'index',int32(-999999999),...
+'name',''),...
 'mass_density_perturbed',struct(...
+'coefficients_imaginary',double([]),...
+'coefficients_imaginary_error_index',int32(-999999999),...
+'coefficients_imaginary_error_lower',double([]),...
+'coefficients_imaginary_error_upper',double([]),...
+'coefficients_real',double([]),...
+'coefficients_real_error_index',int32(-999999999),...
+'coefficients_real_error_lower',double([]),...
+'coefficients_real_error_upper',double([]),...
+'imaginary',double([]),...
+'imaginary_error_index',int32(-999999999),...
+'imaginary_error_lower',double([]),...
+'imaginary_error_upper',double([]),...
+'real',double([]),...
+'real_error_index',int32(-999999999),...
+'real_error_lower',double([]),...
+'real_error_upper',double([])),...
+'phi_potential_perturbed',struct(...
+'coefficients_imaginary',double([]),...
+'coefficients_imaginary_error_index',int32(-999999999),...
+'coefficients_imaginary_error_lower',double([]),...
+'coefficients_imaginary_error_upper',double([]),...
+'coefficients_real',double([]),...
+'coefficients_real_error_index',int32(-999999999),...
+'coefficients_real_error_lower',double([]),...
+'coefficients_real_error_upper',double([]),...
 'imaginary',double([]),...
-'imaginary_error_index',double(-999999999),...
+'imaginary_error_index',int32(-999999999),...
 'imaginary_error_lower',double([]),...
 'imaginary_error_upper',double([]),...
 'real',double([]),...
-'real_error_index',double(-999999999),...
+'real_error_index',int32(-999999999),...
 'real_error_lower',double([]),...
 'real_error_upper',double([])),...
 'pressure_perturbed',struct(...
+'coefficients_imaginary',double([]),...
+'coefficients_imaginary_error_index',int32(-999999999),...
+'coefficients_imaginary_error_lower',double([]),...
+'coefficients_imaginary_error_upper',double([]),...
+'coefficients_real',double([]),...
+'coefficients_real_error_index',int32(-999999999),...
+'coefficients_real_error_lower',double([]),...
+'coefficients_real_error_upper',double([]),...
+'imaginary',double([]),...
+'imaginary_error_index',int32(-999999999),...
+'imaginary_error_lower',double([]),...
+'imaginary_error_upper',double([]),...
+'real',double([]),...
+'real_error_index',int32(-999999999),...
+'real_error_lower',double([]),...
+'real_error_upper',double([])),...
+'psi_potential_perturbed',struct(...
+'coefficients_imaginary',double([]),...
+'coefficients_imaginary_error_index',int32(-999999999),...
+'coefficients_imaginary_error_lower',double([]),...
+'coefficients_imaginary_error_upper',double([]),...
+'coefficients_real',double([]),...
+'coefficients_real_error_index',int32(-999999999),...
+'coefficients_real_error_lower',double([]),...
+'coefficients_real_error_upper',double([]),...
 'imaginary',double([]),...
-'imaginary_error_index',double(-999999999),...
+'imaginary_error_index',int32(-999999999),...
 'imaginary_error_lower',double([]),...
 'imaginary_error_upper',double([]),...
 'real',double([]),...
-'real_error_index',double(-999999999),...
+'real_error_index',int32(-999999999),...
 'real_error_lower',double([]),...
 'real_error_upper',double([])),...
 'tau_alfven',double([]),...
-'tau_alfven_error_index',double(-999999999),...
+'tau_alfven_error_index',int32(-999999999),...
 'tau_alfven_error_lower',double([]),...
 'tau_alfven_error_upper',double([]),...
 'tau_resistive',double([]),...
-'tau_resistive_error_index',double(-999999999),...
+'tau_resistive_error_index',int32(-999999999),...
 'tau_resistive_error_lower',double([]),...
 'tau_resistive_error_upper',double([]),...
 'temperature_perturbed',struct(...
+'coefficients_imaginary',double([]),...
+'coefficients_imaginary_error_index',int32(-999999999),...
+'coefficients_imaginary_error_lower',double([]),...
+'coefficients_imaginary_error_upper',double([]),...
+'coefficients_real',double([]),...
+'coefficients_real_error_index',int32(-999999999),...
+'coefficients_real_error_lower',double([]),...
+'coefficients_real_error_upper',double([]),...
 'imaginary',double([]),...
-'imaginary_error_index',double(-999999999),...
+'imaginary_error_index',int32(-999999999),...
 'imaginary_error_lower',double([]),...
 'imaginary_error_upper',double([]),...
 'real',double([]),...
-'real_error_index',double(-999999999),...
+'real_error_index',int32(-999999999),...
 'real_error_lower',double([]),...
 'real_error_upper',double([])),...
 'velocity_perturbed',struct(...
 'coordinate1',struct(...
+'coefficients_imaginary',double([]),...
+'coefficients_imaginary_error_index',int32(-999999999),...
+'coefficients_imaginary_error_lower',double([]),...
+'coefficients_imaginary_error_upper',double([]),...
+'coefficients_real',double([]),...
+'coefficients_real_error_index',int32(-999999999),...
+'coefficients_real_error_lower',double([]),...
+'coefficients_real_error_upper',double([]),...
 'imaginary',double([]),...
-'imaginary_error_index',double(-999999999),...
+'imaginary_error_index',int32(-999999999),...
 'imaginary_error_lower',double([]),...
 'imaginary_error_upper',double([]),...
 'real',double([]),...
-'real_error_index',double(-999999999),...
+'real_error_index',int32(-999999999),...
 'real_error_lower',double([]),...
 'real_error_upper',double([])),...
 'coordinate2',struct(...
+'coefficients_imaginary',double([]),...
+'coefficients_imaginary_error_index',int32(-999999999),...
+'coefficients_imaginary_error_lower',double([]),...
+'coefficients_imaginary_error_upper',double([]),...
+'coefficients_real',double([]),...
+'coefficients_real_error_index',int32(-999999999),...
+'coefficients_real_error_lower',double([]),...
+'coefficients_real_error_upper',double([]),...
 'imaginary',double([]),...
-'imaginary_error_index',double(-999999999),...
+'imaginary_error_index',int32(-999999999),...
 'imaginary_error_lower',double([]),...
 'imaginary_error_upper',double([]),...
 'real',double([]),...
-'real_error_index',double(-999999999),...
+'real_error_index',int32(-999999999),...
 'real_error_lower',double([]),...
 'real_error_upper',double([])),...
 'coordinate3',struct(...
+'coefficients_imaginary',double([]),...
+'coefficients_imaginary_error_index',int32(-999999999),...
+'coefficients_imaginary_error_lower',double([]),...
+'coefficients_imaginary_error_upper',double([]),...
+'coefficients_real',double([]),...
+'coefficients_real_error_index',int32(-999999999),...
+'coefficients_real_error_lower',double([]),...
+'coefficients_real_error_upper',double([]),...
 'imaginary',double([]),...
-'imaginary_error_index',double(-999999999),...
+'imaginary_error_index',int32(-999999999),...
 'imaginary_error_lower',double([]),...
 'imaginary_error_upper',double([]),...
 'real',double([]),...
-'real_error_index',double(-999999999),...
+'real_error_index',int32(-999999999),...
 'real_error_lower',double([]),...
 'real_error_upper',double([])))),...
+'radial_mode_number',double(-9e+40),...
+'radial_mode_number_error_index',int32(-999999999),...
+'radial_mode_number_error_lower',double(-9e+40),...
+'radial_mode_number_error_upper',double(-9e+40),...
 'vacuum',struct(...
 'a_field_perturbed',struct(...
 'coordinate1',struct(...
+'coefficients_imaginary',double([]),...
+'coefficients_imaginary_error_index',int32(-999999999),...
+'coefficients_imaginary_error_lower',double([]),...
+'coefficients_imaginary_error_upper',double([]),...
+'coefficients_real',double([]),...
+'coefficients_real_error_index',int32(-999999999),...
+'coefficients_real_error_lower',double([]),...
+'coefficients_real_error_upper',double([]),...
 'imaginary',double([]),...
-'imaginary_error_index',double(-999999999),...
+'imaginary_error_index',int32(-999999999),...
 'imaginary_error_lower',double([]),...
 'imaginary_error_upper',double([]),...
 'real',double([]),...
-'real_error_index',double(-999999999),...
+'real_error_index',int32(-999999999),...
 'real_error_lower',double([]),...
 'real_error_upper',double([])),...
 'coordinate2',struct(...
+'coefficients_imaginary',double([]),...
+'coefficients_imaginary_error_index',int32(-999999999),...
+'coefficients_imaginary_error_lower',double([]),...
+'coefficients_imaginary_error_upper',double([]),...
+'coefficients_real',double([]),...
+'coefficients_real_error_index',int32(-999999999),...
+'coefficients_real_error_lower',double([]),...
+'coefficients_real_error_upper',double([]),...
 'imaginary',double([]),...
-'imaginary_error_index',double(-999999999),...
+'imaginary_error_index',int32(-999999999),...
 'imaginary_error_lower',double([]),...
 'imaginary_error_upper',double([]),...
 'real',double([]),...
-'real_error_index',double(-999999999),...
+'real_error_index',int32(-999999999),...
 'real_error_lower',double([]),...
 'real_error_upper',double([])),...
 'coordinate3',struct(...
+'coefficients_imaginary',double([]),...
+'coefficients_imaginary_error_index',int32(-999999999),...
+'coefficients_imaginary_error_lower',double([]),...
+'coefficients_imaginary_error_upper',double([]),...
+'coefficients_real',double([]),...
+'coefficients_real_error_index',int32(-999999999),...
+'coefficients_real_error_lower',double([]),...
+'coefficients_real_error_upper',double([]),...
 'imaginary',double([]),...
-'imaginary_error_index',double(-999999999),...
+'imaginary_error_index',int32(-999999999),...
 'imaginary_error_lower',double([]),...
 'imaginary_error_upper',double([]),...
 'real',double([]),...
-'real_error_index',double(-999999999),...
+'real_error_index',int32(-999999999),...
 'real_error_lower',double([]),...
 'real_error_upper',double([]))),...
 'b_field_perturbed',struct(...
 'coordinate1',struct(...
+'coefficients_imaginary',double([]),...
+'coefficients_imaginary_error_index',int32(-999999999),...
+'coefficients_imaginary_error_lower',double([]),...
+'coefficients_imaginary_error_upper',double([]),...
+'coefficients_real',double([]),...
+'coefficients_real_error_index',int32(-999999999),...
+'coefficients_real_error_lower',double([]),...
+'coefficients_real_error_upper',double([]),...
 'imaginary',double([]),...
-'imaginary_error_index',double(-999999999),...
+'imaginary_error_index',int32(-999999999),...
 'imaginary_error_lower',double([]),...
 'imaginary_error_upper',double([]),...
 'real',double([]),...
-'real_error_index',double(-999999999),...
+'real_error_index',int32(-999999999),...
 'real_error_lower',double([]),...
 'real_error_upper',double([])),...
 'coordinate2',struct(...
+'coefficients_imaginary',double([]),...
+'coefficients_imaginary_error_index',int32(-999999999),...
+'coefficients_imaginary_error_lower',double([]),...
+'coefficients_imaginary_error_upper',double([]),...
+'coefficients_real',double([]),...
+'coefficients_real_error_index',int32(-999999999),...
+'coefficients_real_error_lower',double([]),...
+'coefficients_real_error_upper',double([]),...
 'imaginary',double([]),...
-'imaginary_error_index',double(-999999999),...
+'imaginary_error_index',int32(-999999999),...
 'imaginary_error_lower',double([]),...
 'imaginary_error_upper',double([]),...
 'real',double([]),...
-'real_error_index',double(-999999999),...
+'real_error_index',int32(-999999999),...
 'real_error_lower',double([]),...
 'real_error_upper',double([])),...
 'coordinate3',struct(...
+'coefficients_imaginary',double([]),...
+'coefficients_imaginary_error_index',int32(-999999999),...
+'coefficients_imaginary_error_lower',double([]),...
+'coefficients_imaginary_error_upper',double([]),...
+'coefficients_real',double([]),...
+'coefficients_real_error_index',int32(-999999999),...
+'coefficients_real_error_lower',double([]),...
+'coefficients_real_error_upper',double([]),...
 'imaginary',double([]),...
-'imaginary_error_index',double(-999999999),...
+'imaginary_error_index',int32(-999999999),...
 'imaginary_error_lower',double([]),...
 'imaginary_error_upper',double([]),...
 'real',double([]),...
-'real_error_index',double(-999999999),...
+'real_error_index',int32(-999999999),...
 'real_error_lower',double([]),...
 'real_error_upper',double([]))),...
 'coordinate_system',struct(...
 'jacobian',double([]),...
-'jacobian_error_index',double(-999999999),...
+'jacobian_error_index',int32(-999999999),...
 'jacobian_error_lower',double([]),...
 'jacobian_error_upper',double([]),...
 'r',double([]),...
-'r_error_index',double(-999999999),...
+'r_error_index',int32(-999999999),...
 'r_error_lower',double([]),...
 'r_error_upper',double([]),...
 'tensor_contravariant',double([]),...
-'tensor_contravariant_error_index',double(-999999999),...
+'tensor_contravariant_error_index',int32(-999999999),...
 'tensor_contravariant_error_lower',double([]),...
 'tensor_contravariant_error_upper',double([]),...
 'tensor_covariant',double([]),...
-'tensor_covariant_error_index',double(-999999999),...
+'tensor_covariant_error_index',int32(-999999999),...
 'tensor_covariant_error_lower',double([]),...
 'tensor_covariant_error_upper',double([]),...
 'z',double([]),...
-'z_error_index',double(-999999999),...
+'z_error_index',int32(-999999999),...
 'z_error_lower',double([]),...
 'z_error_upper',double([])),...
 'grid',struct(...
 'dim1',double([]),...
-'dim1_error_index',double(-999999999),...
+'dim1_error_index',int32(-999999999),...
 'dim1_error_lower',double([]),...
 'dim1_error_upper',double([]),...
 'dim2',double([]),...
-'dim2_error_index',double(-999999999),...
+'dim2_error_index',int32(-999999999),...
 'dim2_error_lower',double([]),...
 'dim2_error_upper',double([]),...
 'volume_element',double([]),...
-'volume_element_error_index',double(-999999999),...
+'volume_element_error_index',int32(-999999999),...
 'volume_element_error_lower',double([]),...
 'volume_element_error_upper',double([])),...
 'grid_type',struct(...
-'description',double([]),...
-'index',double(-999999999),...
-'name',double([]))))
+'description','',...
+'index',int32(-999999999),...
+'name','')))
 ;}})
 ;}},...
 'vacuum_toroidal_field',struct(...
 'b0',double([]),...
-'b0_error_index',double(-999999999),...
+'b0_error_index',int32(-999999999),...
 'b0_error_lower',double([]),...
 'b0_error_upper',double([]),...
-'r0',double(-9.0000000000000006360851714687e+40),...
-'r0_error_index',double(-999999999),...
-'r0_error_lower',double(-9.0000000000000006360851714687e+40),...
-'r0_error_upper',double(-9.0000000000000006360851714687e+40)));
+'r0',double(-9e+40),...
+'r0_error_index',int32(-999999999),...
+'r0_error_lower',double(-9e+40),...
+'r0_error_upper',double(-9e+40)));
diff --git a/matlab/TCV_IMAS/ids_empty/ids_empty_mse.m b/matlab/TCV_IMAS/ids_empty/ids_empty_mse.m
index 8d90636948b269174039e79f43e0823ed0f02a1d..c9da97f87de3e3ca9b563bba79021e71509588d0 100644
--- a/matlab/TCV_IMAS/ids_empty/ids_empty_mse.m
+++ b/matlab/TCV_IMAS/ids_empty/ids_empty_mse.m
@@ -8,227 +8,248 @@ struct(...
 'channel',{{struct(...
 'active_spatial_resolution',{{struct(...
 'centre',struct(...
-'phi',double(-9.0000000000000006360851714687e+40),...
-'phi_error_index',double(-999999999),...
-'phi_error_lower',double(-9.0000000000000006360851714687e+40),...
-'phi_error_upper',double(-9.0000000000000006360851714687e+40),...
-'r',double(-9.0000000000000006360851714687e+40),...
-'r_error_index',double(-999999999),...
-'r_error_lower',double(-9.0000000000000006360851714687e+40),...
-'r_error_upper',double(-9.0000000000000006360851714687e+40),...
-'z',double(-9.0000000000000006360851714687e+40),...
-'z_error_index',double(-999999999),...
-'z_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_error_upper',double(-9.0000000000000006360851714687e+40)),...
+'phi',double(-9e+40),...
+'phi_error_index',int32(-999999999),...
+'phi_error_lower',double(-9e+40),...
+'phi_error_upper',double(-9e+40),...
+'r',double(-9e+40),...
+'r_error_index',int32(-999999999),...
+'r_error_lower',double(-9e+40),...
+'r_error_upper',double(-9e+40),...
+'z',double(-9e+40),...
+'z_error_index',int32(-999999999),...
+'z_error_lower',double(-9e+40),...
+'z_error_upper',double(-9e+40)),...
 'geometric_coefficients',double([]),...
-'geometric_coefficients_error_index',double(-999999999),...
+'geometric_coefficients_error_index',int32(-999999999),...
 'geometric_coefficients_error_lower',double([]),...
 'geometric_coefficients_error_upper',double([]),...
-'time',double(-9.0000000000000006360851714687e+40),...
+'time',double(-9e+40),...
 'width',struct(...
-'phi',double(-9.0000000000000006360851714687e+40),...
-'phi_error_index',double(-999999999),...
-'phi_error_lower',double(-9.0000000000000006360851714687e+40),...
-'phi_error_upper',double(-9.0000000000000006360851714687e+40),...
-'r',double(-9.0000000000000006360851714687e+40),...
-'r_error_index',double(-999999999),...
-'r_error_lower',double(-9.0000000000000006360851714687e+40),...
-'r_error_upper',double(-9.0000000000000006360851714687e+40),...
-'z',double(-9.0000000000000006360851714687e+40),...
-'z_error_index',double(-999999999),...
-'z_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_error_upper',double(-9.0000000000000006360851714687e+40)))
+'phi',double(-9e+40),...
+'phi_error_index',int32(-999999999),...
+'phi_error_lower',double(-9e+40),...
+'phi_error_upper',double(-9e+40),...
+'r',double(-9e+40),...
+'r_error_index',int32(-999999999),...
+'r_error_lower',double(-9e+40),...
+'r_error_upper',double(-9e+40),...
+'z',double(-9e+40),...
+'z_error_index',int32(-999999999),...
+'z_error_lower',double(-9e+40),...
+'z_error_upper',double(-9e+40)))
 ;}},...
 'aperture',{{struct(...
 'centre',struct(...
-'phi',double(-9.0000000000000006360851714687e+40),...
-'phi_error_index',double(-999999999),...
-'phi_error_lower',double(-9.0000000000000006360851714687e+40),...
-'phi_error_upper',double(-9.0000000000000006360851714687e+40),...
-'r',double(-9.0000000000000006360851714687e+40),...
-'r_error_index',double(-999999999),...
-'r_error_lower',double(-9.0000000000000006360851714687e+40),...
-'r_error_upper',double(-9.0000000000000006360851714687e+40),...
-'z',double(-9.0000000000000006360851714687e+40),...
-'z_error_index',double(-999999999),...
-'z_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_error_upper',double(-9.0000000000000006360851714687e+40)),...
-'geometry_type',double(-999999999),...
+'phi',double(-9e+40),...
+'phi_error_index',int32(-999999999),...
+'phi_error_lower',double(-9e+40),...
+'phi_error_upper',double(-9e+40),...
+'r',double(-9e+40),...
+'r_error_index',int32(-999999999),...
+'r_error_lower',double(-9e+40),...
+'r_error_upper',double(-9e+40),...
+'z',double(-9e+40),...
+'z_error_index',int32(-999999999),...
+'z_error_lower',double(-9e+40),...
+'z_error_upper',double(-9e+40)),...
+'geometry_type',int32(-999999999),...
 'outline',struct(...
 'x1',double([]),...
-'x1_error_index',double(-999999999),...
+'x1_error_index',int32(-999999999),...
 'x1_error_lower',double([]),...
 'x1_error_upper',double([]),...
 'x2',double([]),...
-'x2_error_index',double(-999999999),...
+'x2_error_index',int32(-999999999),...
 'x2_error_lower',double([]),...
 'x2_error_upper',double([])),...
-'radius',double(-9.0000000000000006360851714687e+40),...
-'radius_error_index',double(-999999999),...
-'radius_error_lower',double(-9.0000000000000006360851714687e+40),...
-'radius_error_upper',double(-9.0000000000000006360851714687e+40),...
-'surface',double(-9.0000000000000006360851714687e+40),...
-'surface_error_index',double(-999999999),...
-'surface_error_lower',double(-9.0000000000000006360851714687e+40),...
-'surface_error_upper',double(-9.0000000000000006360851714687e+40),...
+'radius',double(-9e+40),...
+'radius_error_index',int32(-999999999),...
+'radius_error_lower',double(-9e+40),...
+'radius_error_upper',double(-9e+40),...
+'surface',double(-9e+40),...
+'surface_error_index',int32(-999999999),...
+'surface_error_lower',double(-9e+40),...
+'surface_error_upper',double(-9e+40),...
 'x1_unit_vector',struct(...
-'x',double(-9.0000000000000006360851714687e+40),...
-'x_error_index',double(-999999999),...
-'x_error_lower',double(-9.0000000000000006360851714687e+40),...
-'x_error_upper',double(-9.0000000000000006360851714687e+40),...
-'y',double(-9.0000000000000006360851714687e+40),...
-'y_error_index',double(-999999999),...
-'y_error_lower',double(-9.0000000000000006360851714687e+40),...
-'y_error_upper',double(-9.0000000000000006360851714687e+40),...
-'z',double(-9.0000000000000006360851714687e+40),...
-'z_error_index',double(-999999999),...
-'z_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_error_upper',double(-9.0000000000000006360851714687e+40)),...
+'x',double(-9e+40),...
+'x_error_index',int32(-999999999),...
+'x_error_lower',double(-9e+40),...
+'x_error_upper',double(-9e+40),...
+'y',double(-9e+40),...
+'y_error_index',int32(-999999999),...
+'y_error_lower',double(-9e+40),...
+'y_error_upper',double(-9e+40),...
+'z',double(-9e+40),...
+'z_error_index',int32(-999999999),...
+'z_error_lower',double(-9e+40),...
+'z_error_upper',double(-9e+40)),...
+'x1_width',double(-9e+40),...
+'x1_width_error_index',int32(-999999999),...
+'x1_width_error_lower',double(-9e+40),...
+'x1_width_error_upper',double(-9e+40),...
 'x2_unit_vector',struct(...
-'x',double(-9.0000000000000006360851714687e+40),...
-'x_error_index',double(-999999999),...
-'x_error_lower',double(-9.0000000000000006360851714687e+40),...
-'x_error_upper',double(-9.0000000000000006360851714687e+40),...
-'y',double(-9.0000000000000006360851714687e+40),...
-'y_error_index',double(-999999999),...
-'y_error_lower',double(-9.0000000000000006360851714687e+40),...
-'y_error_upper',double(-9.0000000000000006360851714687e+40),...
-'z',double(-9.0000000000000006360851714687e+40),...
-'z_error_index',double(-999999999),...
-'z_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_error_upper',double(-9.0000000000000006360851714687e+40)),...
+'x',double(-9e+40),...
+'x_error_index',int32(-999999999),...
+'x_error_lower',double(-9e+40),...
+'x_error_upper',double(-9e+40),...
+'y',double(-9e+40),...
+'y_error_index',int32(-999999999),...
+'y_error_lower',double(-9e+40),...
+'y_error_upper',double(-9e+40),...
+'z',double(-9e+40),...
+'z_error_index',int32(-999999999),...
+'z_error_lower',double(-9e+40),...
+'z_error_upper',double(-9e+40)),...
+'x2_width',double(-9e+40),...
+'x2_width_error_index',int32(-999999999),...
+'x2_width_error_lower',double(-9e+40),...
+'x2_width_error_upper',double(-9e+40),...
 'x3_unit_vector',struct(...
-'x',double(-9.0000000000000006360851714687e+40),...
-'x_error_index',double(-999999999),...
-'x_error_lower',double(-9.0000000000000006360851714687e+40),...
-'x_error_upper',double(-9.0000000000000006360851714687e+40),...
-'y',double(-9.0000000000000006360851714687e+40),...
-'y_error_index',double(-999999999),...
-'y_error_lower',double(-9.0000000000000006360851714687e+40),...
-'y_error_upper',double(-9.0000000000000006360851714687e+40),...
-'z',double(-9.0000000000000006360851714687e+40),...
-'z_error_index',double(-999999999),...
-'z_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_error_upper',double(-9.0000000000000006360851714687e+40)))
+'x',double(-9e+40),...
+'x_error_index',int32(-999999999),...
+'x_error_lower',double(-9e+40),...
+'x_error_upper',double(-9e+40),...
+'y',double(-9e+40),...
+'y_error_index',int32(-999999999),...
+'y_error_lower',double(-9e+40),...
+'y_error_upper',double(-9e+40),...
+'z',double(-9e+40),...
+'z_error_index',int32(-999999999),...
+'z_error_lower',double(-9e+40),...
+'z_error_upper',double(-9e+40)))
 ;}},...
 'detector',struct(...
 'centre',struct(...
-'phi',double(-9.0000000000000006360851714687e+40),...
-'phi_error_index',double(-999999999),...
-'phi_error_lower',double(-9.0000000000000006360851714687e+40),...
-'phi_error_upper',double(-9.0000000000000006360851714687e+40),...
-'r',double(-9.0000000000000006360851714687e+40),...
-'r_error_index',double(-999999999),...
-'r_error_lower',double(-9.0000000000000006360851714687e+40),...
-'r_error_upper',double(-9.0000000000000006360851714687e+40),...
-'z',double(-9.0000000000000006360851714687e+40),...
-'z_error_index',double(-999999999),...
-'z_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_error_upper',double(-9.0000000000000006360851714687e+40)),...
-'geometry_type',double(-999999999),...
+'phi',double(-9e+40),...
+'phi_error_index',int32(-999999999),...
+'phi_error_lower',double(-9e+40),...
+'phi_error_upper',double(-9e+40),...
+'r',double(-9e+40),...
+'r_error_index',int32(-999999999),...
+'r_error_lower',double(-9e+40),...
+'r_error_upper',double(-9e+40),...
+'z',double(-9e+40),...
+'z_error_index',int32(-999999999),...
+'z_error_lower',double(-9e+40),...
+'z_error_upper',double(-9e+40)),...
+'geometry_type',int32(-999999999),...
 'outline',struct(...
 'x1',double([]),...
-'x1_error_index',double(-999999999),...
+'x1_error_index',int32(-999999999),...
 'x1_error_lower',double([]),...
 'x1_error_upper',double([]),...
 'x2',double([]),...
-'x2_error_index',double(-999999999),...
+'x2_error_index',int32(-999999999),...
 'x2_error_lower',double([]),...
 'x2_error_upper',double([])),...
-'radius',double(-9.0000000000000006360851714687e+40),...
-'radius_error_index',double(-999999999),...
-'radius_error_lower',double(-9.0000000000000006360851714687e+40),...
-'radius_error_upper',double(-9.0000000000000006360851714687e+40),...
-'surface',double(-9.0000000000000006360851714687e+40),...
-'surface_error_index',double(-999999999),...
-'surface_error_lower',double(-9.0000000000000006360851714687e+40),...
-'surface_error_upper',double(-9.0000000000000006360851714687e+40),...
+'radius',double(-9e+40),...
+'radius_error_index',int32(-999999999),...
+'radius_error_lower',double(-9e+40),...
+'radius_error_upper',double(-9e+40),...
+'surface',double(-9e+40),...
+'surface_error_index',int32(-999999999),...
+'surface_error_lower',double(-9e+40),...
+'surface_error_upper',double(-9e+40),...
 'x1_unit_vector',struct(...
-'x',double(-9.0000000000000006360851714687e+40),...
-'x_error_index',double(-999999999),...
-'x_error_lower',double(-9.0000000000000006360851714687e+40),...
-'x_error_upper',double(-9.0000000000000006360851714687e+40),...
-'y',double(-9.0000000000000006360851714687e+40),...
-'y_error_index',double(-999999999),...
-'y_error_lower',double(-9.0000000000000006360851714687e+40),...
-'y_error_upper',double(-9.0000000000000006360851714687e+40),...
-'z',double(-9.0000000000000006360851714687e+40),...
-'z_error_index',double(-999999999),...
-'z_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_error_upper',double(-9.0000000000000006360851714687e+40)),...
+'x',double(-9e+40),...
+'x_error_index',int32(-999999999),...
+'x_error_lower',double(-9e+40),...
+'x_error_upper',double(-9e+40),...
+'y',double(-9e+40),...
+'y_error_index',int32(-999999999),...
+'y_error_lower',double(-9e+40),...
+'y_error_upper',double(-9e+40),...
+'z',double(-9e+40),...
+'z_error_index',int32(-999999999),...
+'z_error_lower',double(-9e+40),...
+'z_error_upper',double(-9e+40)),...
+'x1_width',double(-9e+40),...
+'x1_width_error_index',int32(-999999999),...
+'x1_width_error_lower',double(-9e+40),...
+'x1_width_error_upper',double(-9e+40),...
 'x2_unit_vector',struct(...
-'x',double(-9.0000000000000006360851714687e+40),...
-'x_error_index',double(-999999999),...
-'x_error_lower',double(-9.0000000000000006360851714687e+40),...
-'x_error_upper',double(-9.0000000000000006360851714687e+40),...
-'y',double(-9.0000000000000006360851714687e+40),...
-'y_error_index',double(-999999999),...
-'y_error_lower',double(-9.0000000000000006360851714687e+40),...
-'y_error_upper',double(-9.0000000000000006360851714687e+40),...
-'z',double(-9.0000000000000006360851714687e+40),...
-'z_error_index',double(-999999999),...
-'z_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_error_upper',double(-9.0000000000000006360851714687e+40)),...
+'x',double(-9e+40),...
+'x_error_index',int32(-999999999),...
+'x_error_lower',double(-9e+40),...
+'x_error_upper',double(-9e+40),...
+'y',double(-9e+40),...
+'y_error_index',int32(-999999999),...
+'y_error_lower',double(-9e+40),...
+'y_error_upper',double(-9e+40),...
+'z',double(-9e+40),...
+'z_error_index',int32(-999999999),...
+'z_error_lower',double(-9e+40),...
+'z_error_upper',double(-9e+40)),...
+'x2_width',double(-9e+40),...
+'x2_width_error_index',int32(-999999999),...
+'x2_width_error_lower',double(-9e+40),...
+'x2_width_error_upper',double(-9e+40),...
 'x3_unit_vector',struct(...
-'x',double(-9.0000000000000006360851714687e+40),...
-'x_error_index',double(-999999999),...
-'x_error_lower',double(-9.0000000000000006360851714687e+40),...
-'x_error_upper',double(-9.0000000000000006360851714687e+40),...
-'y',double(-9.0000000000000006360851714687e+40),...
-'y_error_index',double(-999999999),...
-'y_error_lower',double(-9.0000000000000006360851714687e+40),...
-'y_error_upper',double(-9.0000000000000006360851714687e+40),...
-'z',double(-9.0000000000000006360851714687e+40),...
-'z_error_index',double(-999999999),...
-'z_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_error_upper',double(-9.0000000000000006360851714687e+40))),...
+'x',double(-9e+40),...
+'x_error_index',int32(-999999999),...
+'x_error_lower',double(-9e+40),...
+'x_error_upper',double(-9e+40),...
+'y',double(-9e+40),...
+'y_error_index',int32(-999999999),...
+'y_error_lower',double(-9e+40),...
+'y_error_upper',double(-9e+40),...
+'z',double(-9e+40),...
+'z_error_index',int32(-999999999),...
+'z_error_lower',double(-9e+40),...
+'z_error_upper',double(-9e+40))),...
 'line_of_sight',struct(...
 'first_point',struct(...
-'phi',double(-9.0000000000000006360851714687e+40),...
-'phi_error_index',double(-999999999),...
-'phi_error_lower',double(-9.0000000000000006360851714687e+40),...
-'phi_error_upper',double(-9.0000000000000006360851714687e+40),...
-'r',double(-9.0000000000000006360851714687e+40),...
-'r_error_index',double(-999999999),...
-'r_error_lower',double(-9.0000000000000006360851714687e+40),...
-'r_error_upper',double(-9.0000000000000006360851714687e+40),...
-'z',double(-9.0000000000000006360851714687e+40),...
-'z_error_index',double(-999999999),...
-'z_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_error_upper',double(-9.0000000000000006360851714687e+40)),...
+'phi',double(-9e+40),...
+'phi_error_index',int32(-999999999),...
+'phi_error_lower',double(-9e+40),...
+'phi_error_upper',double(-9e+40),...
+'r',double(-9e+40),...
+'r_error_index',int32(-999999999),...
+'r_error_lower',double(-9e+40),...
+'r_error_upper',double(-9e+40),...
+'z',double(-9e+40),...
+'z_error_index',int32(-999999999),...
+'z_error_lower',double(-9e+40),...
+'z_error_upper',double(-9e+40)),...
 'second_point',struct(...
-'phi',double(-9.0000000000000006360851714687e+40),...
-'phi_error_index',double(-999999999),...
-'phi_error_lower',double(-9.0000000000000006360851714687e+40),...
-'phi_error_upper',double(-9.0000000000000006360851714687e+40),...
-'r',double(-9.0000000000000006360851714687e+40),...
-'r_error_index',double(-999999999),...
-'r_error_lower',double(-9.0000000000000006360851714687e+40),...
-'r_error_upper',double(-9.0000000000000006360851714687e+40),...
-'z',double(-9.0000000000000006360851714687e+40),...
-'z_error_index',double(-999999999),...
-'z_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_error_upper',double(-9.0000000000000006360851714687e+40))),...
-'name',double([]),...
+'phi',double(-9e+40),...
+'phi_error_index',int32(-999999999),...
+'phi_error_lower',double(-9e+40),...
+'phi_error_upper',double(-9e+40),...
+'r',double(-9e+40),...
+'r_error_index',int32(-999999999),...
+'r_error_lower',double(-9e+40),...
+'r_error_upper',double(-9e+40),...
+'z',double(-9e+40),...
+'z_error_index',int32(-999999999),...
+'z_error_lower',double(-9e+40),...
+'z_error_upper',double(-9e+40))),...
+'name','',...
 'polarisation_angle',struct(...
 'data',double([]),...
-'data_error_index',double(-999999999),...
+'data_error_index',int32(-999999999),...
 'data_error_lower',double([]),...
 'data_error_upper',double([]),...
-'time',double([])),...
-'polarisation_angle_validity',double(-999999999))
+'time',double([]),...
+'validity',int32(-999999999),...
+'validity_timed',int32([])))
 ;}},...
 'code',struct(...
-'commit',double([]),...
-'name',double([]),...
-'output_flag',double([]),...
-'parameters',double([]),...
-'repository',double([]),...
-'version',double([])),...
+'commit','',...
+'name','',...
+'output_flag',int32([]),...
+'parameters','',...
+'repository','',...
+'version',''),...
 'ids_properties',struct(...
-'comment',double([]),...
-'creation_date',double([]),...
-'homogeneous_time',double(-999999999),...
-'provider',double([]),...
-'source',double([])),...
+'comment','',...
+'creation_date','',...
+'homogeneous_time',int32(-999999999),...
+'provider','',...
+'source','',...
+'version_put',struct(...
+'access_layer','',...
+'access_layer_language','',...
+'data_dictionary','')),...
 'time',double([]));
diff --git a/matlab/TCV_IMAS/ids_empty/ids_empty_nbi.m b/matlab/TCV_IMAS/ids_empty/ids_empty_nbi.m
index 62a22b1b029ad1f62ce4630e8e1eba630dba1d87..026f62251c54ed6d155e9416dbde37d0861a31b0 100644
--- a/matlab/TCV_IMAS/ids_empty/ids_empty_nbi.m
+++ b/matlab/TCV_IMAS/ids_empty/ids_empty_nbi.m
@@ -6,167 +6,330 @@ function S = ids_empty_nbi
 S = ... 
 struct(...
 'code',struct(...
-'commit',double([]),...
-'name',double([]),...
-'output_flag',double([]),...
-'parameters',double([]),...
-'repository',double([]),...
-'version',double([])),...
+'commit','',...
+'name','',...
+'output_flag',int32([]),...
+'parameters','',...
+'repository','',...
+'version',''),...
 'ids_properties',struct(...
-'comment',double([]),...
-'creation_date',double([]),...
-'homogeneous_time',double(-999999999),...
-'provider',double([]),...
-'source',double([])),...
+'comment','',...
+'creation_date','',...
+'homogeneous_time',int32(-999999999),...
+'provider','',...
+'source','',...
+'version_put',struct(...
+'access_layer','',...
+'access_layer_language','',...
+'data_dictionary','')),...
 'time',double([]),...
 'unit',{{struct(...
+'aperture',{{struct(...
+'centre',struct(...
+'phi',double(-9e+40),...
+'phi_error_index',int32(-999999999),...
+'phi_error_lower',double(-9e+40),...
+'phi_error_upper',double(-9e+40),...
+'r',double(-9e+40),...
+'r_error_index',int32(-999999999),...
+'r_error_lower',double(-9e+40),...
+'r_error_upper',double(-9e+40),...
+'z',double(-9e+40),...
+'z_error_index',int32(-999999999),...
+'z_error_lower',double(-9e+40),...
+'z_error_upper',double(-9e+40)),...
+'geometry_type',int32(-999999999),...
+'outline',struct(...
+'x1',double([]),...
+'x1_error_index',int32(-999999999),...
+'x1_error_lower',double([]),...
+'x1_error_upper',double([]),...
+'x2',double([]),...
+'x2_error_index',int32(-999999999),...
+'x2_error_lower',double([]),...
+'x2_error_upper',double([])),...
+'radius',double(-9e+40),...
+'radius_error_index',int32(-999999999),...
+'radius_error_lower',double(-9e+40),...
+'radius_error_upper',double(-9e+40),...
+'surface',double(-9e+40),...
+'surface_error_index',int32(-999999999),...
+'surface_error_lower',double(-9e+40),...
+'surface_error_upper',double(-9e+40),...
+'x1_unit_vector',struct(...
+'x',double(-9e+40),...
+'x_error_index',int32(-999999999),...
+'x_error_lower',double(-9e+40),...
+'x_error_upper',double(-9e+40),...
+'y',double(-9e+40),...
+'y_error_index',int32(-999999999),...
+'y_error_lower',double(-9e+40),...
+'y_error_upper',double(-9e+40),...
+'z',double(-9e+40),...
+'z_error_index',int32(-999999999),...
+'z_error_lower',double(-9e+40),...
+'z_error_upper',double(-9e+40)),...
+'x1_width',double(-9e+40),...
+'x1_width_error_index',int32(-999999999),...
+'x1_width_error_lower',double(-9e+40),...
+'x1_width_error_upper',double(-9e+40),...
+'x2_unit_vector',struct(...
+'x',double(-9e+40),...
+'x_error_index',int32(-999999999),...
+'x_error_lower',double(-9e+40),...
+'x_error_upper',double(-9e+40),...
+'y',double(-9e+40),...
+'y_error_index',int32(-999999999),...
+'y_error_lower',double(-9e+40),...
+'y_error_upper',double(-9e+40),...
+'z',double(-9e+40),...
+'z_error_index',int32(-999999999),...
+'z_error_lower',double(-9e+40),...
+'z_error_upper',double(-9e+40)),...
+'x2_width',double(-9e+40),...
+'x2_width_error_index',int32(-999999999),...
+'x2_width_error_lower',double(-9e+40),...
+'x2_width_error_upper',double(-9e+40),...
+'x3_unit_vector',struct(...
+'x',double(-9e+40),...
+'x_error_index',int32(-999999999),...
+'x_error_lower',double(-9e+40),...
+'x_error_upper',double(-9e+40),...
+'y',double(-9e+40),...
+'y_error_index',int32(-999999999),...
+'y_error_lower',double(-9e+40),...
+'y_error_upper',double(-9e+40),...
+'z',double(-9e+40),...
+'z_error_index',int32(-999999999),...
+'z_error_lower',double(-9e+40),...
+'z_error_upper',double(-9e+40)))
+;}},...
 'beam_current_fraction',struct(...
 'data',double([]),...
-'data_error_index',double(-999999999),...
+'data_error_index',int32(-999999999),...
 'data_error_lower',double([]),...
 'data_error_upper',double([]),...
 'time',double([])),...
 'beam_power_fraction',struct(...
 'data',double([]),...
-'data_error_index',double(-999999999),...
+'data_error_index',int32(-999999999),...
 'data_error_lower',double([]),...
 'data_error_upper',double([]),...
 'time',double([])),...
 'beamlets_group',{{struct(...
-'angle',double(-9.0000000000000006360851714687e+40),...
-'angle_error_index',double(-999999999),...
-'angle_error_lower',double(-9.0000000000000006360851714687e+40),...
-'angle_error_upper',double(-9.0000000000000006360851714687e+40),...
+'angle',double(-9e+40),...
+'angle_error_index',int32(-999999999),...
+'angle_error_lower',double(-9e+40),...
+'angle_error_upper',double(-9e+40),...
 'beamlets',struct(...
 'angles',double([]),...
-'angles_error_index',double(-999999999),...
+'angles_error_index',int32(-999999999),...
 'angles_error_lower',double([]),...
 'angles_error_upper',double([]),...
 'positions',struct(...
 'phi',double([]),...
-'phi_error_index',double(-999999999),...
+'phi_error_index',int32(-999999999),...
 'phi_error_lower',double([]),...
 'phi_error_upper',double([]),...
 'r',double([]),...
-'r_error_index',double(-999999999),...
+'r_error_index',int32(-999999999),...
 'r_error_lower',double([]),...
 'r_error_upper',double([]),...
 'z',double([]),...
-'z_error_index',double(-999999999),...
+'z_error_index',int32(-999999999),...
 'z_error_lower',double([]),...
 'z_error_upper',double([])),...
 'power_fractions',double([]),...
-'power_fractions_error_index',double(-999999999),...
+'power_fractions_error_index',int32(-999999999),...
 'power_fractions_error_lower',double([]),...
 'power_fractions_error_upper',double([]),...
 'tangency_radii',double([]),...
-'tangency_radii_error_index',double(-999999999),...
+'tangency_radii_error_index',int32(-999999999),...
 'tangency_radii_error_lower',double([]),...
 'tangency_radii_error_upper',double([])),...
-'direction',double(-999999999),...
+'direction',int32(-999999999),...
 'divergence_component',{{struct(...
-'horizontal',double(-9.0000000000000006360851714687e+40),...
-'horizontal_error_index',double(-999999999),...
-'horizontal_error_lower',double(-9.0000000000000006360851714687e+40),...
-'horizontal_error_upper',double(-9.0000000000000006360851714687e+40),...
-'particles_fraction',double(-9.0000000000000006360851714687e+40),...
-'particles_fraction_error_index',double(-999999999),...
-'particles_fraction_error_lower',double(-9.0000000000000006360851714687e+40),...
-'particles_fraction_error_upper',double(-9.0000000000000006360851714687e+40),...
-'vertical',double(-9.0000000000000006360851714687e+40),...
-'vertical_error_index',double(-999999999),...
-'vertical_error_lower',double(-9.0000000000000006360851714687e+40),...
-'vertical_error_upper',double(-9.0000000000000006360851714687e+40))
+'horizontal',double(-9e+40),...
+'horizontal_error_index',int32(-999999999),...
+'horizontal_error_lower',double(-9e+40),...
+'horizontal_error_upper',double(-9e+40),...
+'particles_fraction',double(-9e+40),...
+'particles_fraction_error_index',int32(-999999999),...
+'particles_fraction_error_lower',double(-9e+40),...
+'particles_fraction_error_upper',double(-9e+40),...
+'vertical',double(-9e+40),...
+'vertical_error_index',int32(-999999999),...
+'vertical_error_lower',double(-9e+40),...
+'vertical_error_upper',double(-9e+40))
 ;}},...
 'focus',struct(...
-'focal_length_horizontal',double(-9.0000000000000006360851714687e+40),...
-'focal_length_horizontal_error_index',double(-999999999),...
-'focal_length_horizontal_error_lower',double(-9.0000000000000006360851714687e+40),...
-'focal_length_horizontal_error_upper',double(-9.0000000000000006360851714687e+40),...
-'focal_length_vertical',double(-9.0000000000000006360851714687e+40),...
-'focal_length_vertical_error_index',double(-999999999),...
-'focal_length_vertical_error_lower',double(-9.0000000000000006360851714687e+40),...
-'focal_length_vertical_error_upper',double(-9.0000000000000006360851714687e+40),...
-'width_min_horizontal',double(-9.0000000000000006360851714687e+40),...
-'width_min_horizontal_error_index',double(-999999999),...
-'width_min_horizontal_error_lower',double(-9.0000000000000006360851714687e+40),...
-'width_min_horizontal_error_upper',double(-9.0000000000000006360851714687e+40),...
-'width_min_vertical',double(-9.0000000000000006360851714687e+40),...
-'width_min_vertical_error_index',double(-999999999),...
-'width_min_vertical_error_lower',double(-9.0000000000000006360851714687e+40),...
-'width_min_vertical_error_upper',double(-9.0000000000000006360851714687e+40)),...
+'focal_length_horizontal',double(-9e+40),...
+'focal_length_horizontal_error_index',int32(-999999999),...
+'focal_length_horizontal_error_lower',double(-9e+40),...
+'focal_length_horizontal_error_upper',double(-9e+40),...
+'focal_length_vertical',double(-9e+40),...
+'focal_length_vertical_error_index',int32(-999999999),...
+'focal_length_vertical_error_lower',double(-9e+40),...
+'focal_length_vertical_error_upper',double(-9e+40),...
+'width_min_horizontal',double(-9e+40),...
+'width_min_horizontal_error_index',int32(-999999999),...
+'width_min_horizontal_error_lower',double(-9e+40),...
+'width_min_horizontal_error_upper',double(-9e+40),...
+'width_min_vertical',double(-9e+40),...
+'width_min_vertical_error_index',int32(-999999999),...
+'width_min_vertical_error_lower',double(-9e+40),...
+'width_min_vertical_error_upper',double(-9e+40)),...
 'position',struct(...
-'phi',double(-9.0000000000000006360851714687e+40),...
-'phi_error_index',double(-999999999),...
-'phi_error_lower',double(-9.0000000000000006360851714687e+40),...
-'phi_error_upper',double(-9.0000000000000006360851714687e+40),...
-'r',double(-9.0000000000000006360851714687e+40),...
-'r_error_index',double(-999999999),...
-'r_error_lower',double(-9.0000000000000006360851714687e+40),...
-'r_error_upper',double(-9.0000000000000006360851714687e+40),...
-'z',double(-9.0000000000000006360851714687e+40),...
-'z_error_index',double(-999999999),...
-'z_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_error_upper',double(-9.0000000000000006360851714687e+40)),...
-'tangency_radius',double(-9.0000000000000006360851714687e+40),...
-'tangency_radius_error_index',double(-999999999),...
-'tangency_radius_error_lower',double(-9.0000000000000006360851714687e+40),...
-'tangency_radius_error_upper',double(-9.0000000000000006360851714687e+40),...
+'phi',double(-9e+40),...
+'phi_error_index',int32(-999999999),...
+'phi_error_lower',double(-9e+40),...
+'phi_error_upper',double(-9e+40),...
+'r',double(-9e+40),...
+'r_error_index',int32(-999999999),...
+'r_error_lower',double(-9e+40),...
+'r_error_upper',double(-9e+40),...
+'z',double(-9e+40),...
+'z_error_index',int32(-999999999),...
+'z_error_lower',double(-9e+40),...
+'z_error_upper',double(-9e+40)),...
+'tangency_radius',double(-9e+40),...
+'tangency_radius_error_index',int32(-999999999),...
+'tangency_radius_error_lower',double(-9e+40),...
+'tangency_radius_error_upper',double(-9e+40),...
 'tilting',{{struct(...
-'delta_angle',double(-9.0000000000000006360851714687e+40),...
-'delta_angle_error_index',double(-999999999),...
-'delta_angle_error_lower',double(-9.0000000000000006360851714687e+40),...
-'delta_angle_error_upper',double(-9.0000000000000006360851714687e+40),...
+'delta_angle',double(-9e+40),...
+'delta_angle_error_index',int32(-999999999),...
+'delta_angle_error_lower',double(-9e+40),...
+'delta_angle_error_upper',double(-9e+40),...
 'delta_position',struct(...
-'phi',double(-9.0000000000000006360851714687e+40),...
-'phi_error_index',double(-999999999),...
-'phi_error_lower',double(-9.0000000000000006360851714687e+40),...
-'phi_error_upper',double(-9.0000000000000006360851714687e+40),...
-'r',double(-9.0000000000000006360851714687e+40),...
-'r_error_index',double(-999999999),...
-'r_error_lower',double(-9.0000000000000006360851714687e+40),...
-'r_error_upper',double(-9.0000000000000006360851714687e+40),...
-'z',double(-9.0000000000000006360851714687e+40),...
-'z_error_index',double(-999999999),...
-'z_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_error_upper',double(-9.0000000000000006360851714687e+40)),...
-'delta_tangency_radius',double(-9.0000000000000006360851714687e+40),...
-'delta_tangency_radius_error_index',double(-999999999),...
-'delta_tangency_radius_error_lower',double(-9.0000000000000006360851714687e+40),...
-'delta_tangency_radius_error_upper',double(-9.0000000000000006360851714687e+40),...
-'time',double(-9.0000000000000006360851714687e+40))
+'phi',double(-9e+40),...
+'phi_error_index',int32(-999999999),...
+'phi_error_lower',double(-9e+40),...
+'phi_error_upper',double(-9e+40),...
+'r',double(-9e+40),...
+'r_error_index',int32(-999999999),...
+'r_error_lower',double(-9e+40),...
+'r_error_upper',double(-9e+40),...
+'z',double(-9e+40),...
+'z_error_index',int32(-999999999),...
+'z_error_lower',double(-9e+40),...
+'z_error_upper',double(-9e+40)),...
+'delta_tangency_radius',double(-9e+40),...
+'delta_tangency_radius_error_index',int32(-999999999),...
+'delta_tangency_radius_error_lower',double(-9e+40),...
+'delta_tangency_radius_error_upper',double(-9e+40),...
+'time',double(-9e+40))
 ;}},...
-'width_horizontal',double(-9.0000000000000006360851714687e+40),...
-'width_horizontal_error_index',double(-999999999),...
-'width_horizontal_error_lower',double(-9.0000000000000006360851714687e+40),...
-'width_horizontal_error_upper',double(-9.0000000000000006360851714687e+40),...
-'width_vertical',double(-9.0000000000000006360851714687e+40),...
-'width_vertical_error_index',double(-999999999),...
-'width_vertical_error_lower',double(-9.0000000000000006360851714687e+40),...
-'width_vertical_error_upper',double(-9.0000000000000006360851714687e+40))
+'width_horizontal',double(-9e+40),...
+'width_horizontal_error_index',int32(-999999999),...
+'width_horizontal_error_lower',double(-9e+40),...
+'width_horizontal_error_upper',double(-9e+40),...
+'width_vertical',double(-9e+40),...
+'width_vertical_error_index',int32(-999999999),...
+'width_vertical_error_lower',double(-9e+40),...
+'width_vertical_error_upper',double(-9e+40))
 ;}},...
 'energy',struct(...
 'data',double([]),...
-'data_error_index',double(-999999999),...
+'data_error_index',int32(-999999999),...
 'data_error_lower',double([]),...
 'data_error_upper',double([]),...
 'time',double([])),...
-'identifier',double([]),...
-'name',double([]),...
+'identifier','',...
+'name','',...
 'power_launched',struct(...
 'data',double([]),...
-'data_error_index',double(-999999999),...
+'data_error_index',int32(-999999999),...
 'data_error_lower',double([]),...
 'data_error_upper',double([]),...
 'time',double([])),...
+'source',struct(...
+'centre',struct(...
+'phi',double(-9e+40),...
+'phi_error_index',int32(-999999999),...
+'phi_error_lower',double(-9e+40),...
+'phi_error_upper',double(-9e+40),...
+'r',double(-9e+40),...
+'r_error_index',int32(-999999999),...
+'r_error_lower',double(-9e+40),...
+'r_error_upper',double(-9e+40),...
+'z',double(-9e+40),...
+'z_error_index',int32(-999999999),...
+'z_error_lower',double(-9e+40),...
+'z_error_upper',double(-9e+40)),...
+'geometry_type',int32(-999999999),...
+'outline',struct(...
+'x1',double([]),...
+'x1_error_index',int32(-999999999),...
+'x1_error_lower',double([]),...
+'x1_error_upper',double([]),...
+'x2',double([]),...
+'x2_error_index',int32(-999999999),...
+'x2_error_lower',double([]),...
+'x2_error_upper',double([])),...
+'radius',double(-9e+40),...
+'radius_error_index',int32(-999999999),...
+'radius_error_lower',double(-9e+40),...
+'radius_error_upper',double(-9e+40),...
+'surface',double(-9e+40),...
+'surface_error_index',int32(-999999999),...
+'surface_error_lower',double(-9e+40),...
+'surface_error_upper',double(-9e+40),...
+'x1_unit_vector',struct(...
+'x',double(-9e+40),...
+'x_error_index',int32(-999999999),...
+'x_error_lower',double(-9e+40),...
+'x_error_upper',double(-9e+40),...
+'y',double(-9e+40),...
+'y_error_index',int32(-999999999),...
+'y_error_lower',double(-9e+40),...
+'y_error_upper',double(-9e+40),...
+'z',double(-9e+40),...
+'z_error_index',int32(-999999999),...
+'z_error_lower',double(-9e+40),...
+'z_error_upper',double(-9e+40)),...
+'x1_width',double(-9e+40),...
+'x1_width_error_index',int32(-999999999),...
+'x1_width_error_lower',double(-9e+40),...
+'x1_width_error_upper',double(-9e+40),...
+'x2_unit_vector',struct(...
+'x',double(-9e+40),...
+'x_error_index',int32(-999999999),...
+'x_error_lower',double(-9e+40),...
+'x_error_upper',double(-9e+40),...
+'y',double(-9e+40),...
+'y_error_index',int32(-999999999),...
+'y_error_lower',double(-9e+40),...
+'y_error_upper',double(-9e+40),...
+'z',double(-9e+40),...
+'z_error_index',int32(-999999999),...
+'z_error_lower',double(-9e+40),...
+'z_error_upper',double(-9e+40)),...
+'x2_width',double(-9e+40),...
+'x2_width_error_index',int32(-999999999),...
+'x2_width_error_lower',double(-9e+40),...
+'x2_width_error_upper',double(-9e+40),...
+'x3_unit_vector',struct(...
+'x',double(-9e+40),...
+'x_error_index',int32(-999999999),...
+'x_error_lower',double(-9e+40),...
+'x_error_upper',double(-9e+40),...
+'y',double(-9e+40),...
+'y_error_index',int32(-999999999),...
+'y_error_lower',double(-9e+40),...
+'y_error_upper',double(-9e+40),...
+'z',double(-9e+40),...
+'z_error_index',int32(-999999999),...
+'z_error_lower',double(-9e+40),...
+'z_error_upper',double(-9e+40))),...
 'species',struct(...
-'a',double(-9.0000000000000006360851714687e+40),...
-'a_error_index',double(-999999999),...
-'a_error_lower',double(-9.0000000000000006360851714687e+40),...
-'a_error_upper',double(-9.0000000000000006360851714687e+40),...
-'label',double([]),...
-'z_n',double(-9.0000000000000006360851714687e+40),...
-'z_n_error_index',double(-999999999),...
-'z_n_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_n_error_upper',double(-9.0000000000000006360851714687e+40)))
+'a',double(-9e+40),...
+'a_error_index',int32(-999999999),...
+'a_error_lower',double(-9e+40),...
+'a_error_upper',double(-9e+40),...
+'label','',...
+'z_n',double(-9e+40),...
+'z_n_error_index',int32(-999999999),...
+'z_n_error_lower',double(-9e+40),...
+'z_n_error_upper',double(-9e+40)))
 ;}});
diff --git a/matlab/TCV_IMAS/ids_empty/ids_empty_neutron_diagnostic.m b/matlab/TCV_IMAS/ids_empty/ids_empty_neutron_diagnostic.m
index 029660dbb67f47798407feddee7a57949367b5eb..1463021303e9f50faf200bb488e2ed0aafd5749f 100644
--- a/matlab/TCV_IMAS/ids_empty/ids_empty_neutron_diagnostic.m
+++ b/matlab/TCV_IMAS/ids_empty/ids_empty_neutron_diagnostic.m
@@ -6,445 +6,465 @@ function S = ids_empty_neutron_diagnostic
 S = ... 
 struct(...
 'characteristics',struct(...
-'dead_time',double(-9.0000000000000006360851714687e+40),...
-'dead_time_error_index',double(-999999999),...
-'dead_time_error_lower',double(-9.0000000000000006360851714687e+40),...
-'dead_time_error_upper',double(-9.0000000000000006360851714687e+40),...
-'pulse_length',double(-9.0000000000000006360851714687e+40),...
-'pulse_length_error_index',double(-999999999),...
-'pulse_length_error_lower',double(-9.0000000000000006360851714687e+40),...
-'pulse_length_error_upper',double(-9.0000000000000006360851714687e+40),...
+'dead_time',double(-9e+40),...
+'dead_time_error_index',int32(-999999999),...
+'dead_time_error_lower',double(-9e+40),...
+'dead_time_error_upper',double(-9e+40),...
+'pulse_length',double(-9e+40),...
+'pulse_length_error_index',int32(-999999999),...
+'pulse_length_error_lower',double(-9e+40),...
+'pulse_length_error_upper',double(-9e+40),...
 'reaction',{{struct(...
-'error',double(-9.0000000000000006360851714687e+40),...
-'error_error_index',double(-999999999),...
-'error_error_lower',double(-9.0000000000000006360851714687e+40),...
-'error_error_upper',double(-9.0000000000000006360851714687e+40),...
-'index',double(-999999999),...
+'error',double(-9e+40),...
+'error_error_index',int32(-999999999),...
+'error_error_lower',double(-9e+40),...
+'error_error_upper',double(-9e+40),...
+'index',int32(-999999999),...
 'mode',{{struct(...
-'count_limit_max',double(-9.0000000000000006360851714687e+40),...
-'count_limit_max_error_index',double(-999999999),...
-'count_limit_max_error_lower',double(-9.0000000000000006360851714687e+40),...
-'count_limit_max_error_upper',double(-9.0000000000000006360851714687e+40),...
-'count_limit_min',double(-9.0000000000000006360851714687e+40),...
-'count_limit_min_error_index',double(-999999999),...
-'count_limit_min_error_lower',double(-9.0000000000000006360851714687e+40),...
-'count_limit_min_error_upper',double(-9.0000000000000006360851714687e+40),...
-'index',double(-999999999),...
-'name',double([]))
+'count_limit_max',double(-9e+40),...
+'count_limit_max_error_index',int32(-999999999),...
+'count_limit_max_error_lower',double(-9e+40),...
+'count_limit_max_error_upper',double(-9e+40),...
+'count_limit_min',double(-9e+40),...
+'count_limit_min_error_index',int32(-999999999),...
+'count_limit_min_error_lower',double(-9e+40),...
+'count_limit_min_error_upper',double(-9e+40),...
+'index',int32(-999999999),...
+'name','')
 ;}},...
-'probability_overlap',double(-9.0000000000000006360851714687e+40),...
-'probability_overlap_error_index',double(-999999999),...
-'probability_overlap_error_lower',double(-9.0000000000000006360851714687e+40),...
-'probability_overlap_error_upper',double(-9.0000000000000006360851714687e+40))
+'probability_overlap',double(-9e+40),...
+'probability_overlap_error_index',int32(-999999999),...
+'probability_overlap_error_lower',double(-9e+40),...
+'probability_overlap_error_upper',double(-9e+40))
 ;}}),...
 'code',struct(...
-'commit',double([]),...
-'name',double([]),...
-'output_flag',double([]),...
-'parameters',double([]),...
-'repository',double([]),...
-'version',double([])),...
+'commit','',...
+'name','',...
+'output_flag',int32([]),...
+'parameters','',...
+'repository','',...
+'version',''),...
 'detectors',{{struct(...
 'adc',struct(...
-'bias',double(-9.0000000000000006360851714687e+40),...
-'bias_error_index',double(-999999999),...
-'bias_error_lower',double(-9.0000000000000006360851714687e+40),...
-'bias_error_upper',double(-9.0000000000000006360851714687e+40),...
-'discriminator_level_lower',double(-999999999),...
-'discriminator_level_upper',double(-999999999),...
-'impedance',double(-9.0000000000000006360851714687e+40),...
-'impedance_error_index',double(-999999999),...
-'impedance_error_lower',double(-9.0000000000000006360851714687e+40),...
-'impedance_error_upper',double(-9.0000000000000006360851714687e+40),...
-'input_range',double(-9.0000000000000006360851714687e+40),...
-'input_range_error_index',double(-999999999),...
-'input_range_error_lower',double(-9.0000000000000006360851714687e+40),...
-'input_range_error_upper',double(-9.0000000000000006360851714687e+40),...
-'power_switch',double(-999999999),...
-'sampling_rate',double(-999999999)),...
+'bias',double(-9e+40),...
+'bias_error_index',int32(-999999999),...
+'bias_error_lower',double(-9e+40),...
+'bias_error_upper',double(-9e+40),...
+'discriminator_level_lower',int32(-999999999),...
+'discriminator_level_upper',int32(-999999999),...
+'impedance',double(-9e+40),...
+'impedance_error_index',int32(-999999999),...
+'impedance_error_lower',double(-9e+40),...
+'impedance_error_upper',double(-9e+40),...
+'input_range',double(-9e+40),...
+'input_range_error_index',int32(-999999999),...
+'input_range_error_lower',double(-9e+40),...
+'input_range_error_upper',double(-9e+40),...
+'power_switch',int32(-999999999),...
+'sampling_rate',int32(-999999999)),...
 'amplitude_peak',struct(...
 'data',double([]),...
-'data_error_index',double(-999999999),...
+'data_error_index',int32(-999999999),...
 'data_error_lower',double([]),...
 'data_error_upper',double([]),...
 'time',double([])),...
 'amplitude_raw',struct(...
 'data',double([]),...
-'data_error_index',double(-999999999),...
+'data_error_index',int32(-999999999),...
 'data_error_lower',double([]),...
 'data_error_upper',double([]),...
 'time',double([])),...
 'aperture',{{struct(...
 'centre',struct(...
-'phi',double(-9.0000000000000006360851714687e+40),...
-'phi_error_index',double(-999999999),...
-'phi_error_lower',double(-9.0000000000000006360851714687e+40),...
-'phi_error_upper',double(-9.0000000000000006360851714687e+40),...
-'r',double(-9.0000000000000006360851714687e+40),...
-'r_error_index',double(-999999999),...
-'r_error_lower',double(-9.0000000000000006360851714687e+40),...
-'r_error_upper',double(-9.0000000000000006360851714687e+40),...
-'z',double(-9.0000000000000006360851714687e+40),...
-'z_error_index',double(-999999999),...
-'z_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_error_upper',double(-9.0000000000000006360851714687e+40)),...
-'geometry_type',double(-999999999),...
+'phi',double(-9e+40),...
+'phi_error_index',int32(-999999999),...
+'phi_error_lower',double(-9e+40),...
+'phi_error_upper',double(-9e+40),...
+'r',double(-9e+40),...
+'r_error_index',int32(-999999999),...
+'r_error_lower',double(-9e+40),...
+'r_error_upper',double(-9e+40),...
+'z',double(-9e+40),...
+'z_error_index',int32(-999999999),...
+'z_error_lower',double(-9e+40),...
+'z_error_upper',double(-9e+40)),...
+'geometry_type',int32(-999999999),...
 'outline',struct(...
 'x1',double([]),...
-'x1_error_index',double(-999999999),...
+'x1_error_index',int32(-999999999),...
 'x1_error_lower',double([]),...
 'x1_error_upper',double([]),...
 'x2',double([]),...
-'x2_error_index',double(-999999999),...
+'x2_error_index',int32(-999999999),...
 'x2_error_lower',double([]),...
 'x2_error_upper',double([])),...
-'radius',double(-9.0000000000000006360851714687e+40),...
-'radius_error_index',double(-999999999),...
-'radius_error_lower',double(-9.0000000000000006360851714687e+40),...
-'radius_error_upper',double(-9.0000000000000006360851714687e+40),...
-'surface',double(-9.0000000000000006360851714687e+40),...
-'surface_error_index',double(-999999999),...
-'surface_error_lower',double(-9.0000000000000006360851714687e+40),...
-'surface_error_upper',double(-9.0000000000000006360851714687e+40),...
+'radius',double(-9e+40),...
+'radius_error_index',int32(-999999999),...
+'radius_error_lower',double(-9e+40),...
+'radius_error_upper',double(-9e+40),...
+'surface',double(-9e+40),...
+'surface_error_index',int32(-999999999),...
+'surface_error_lower',double(-9e+40),...
+'surface_error_upper',double(-9e+40),...
 'x1_unit_vector',struct(...
-'x',double(-9.0000000000000006360851714687e+40),...
-'x_error_index',double(-999999999),...
-'x_error_lower',double(-9.0000000000000006360851714687e+40),...
-'x_error_upper',double(-9.0000000000000006360851714687e+40),...
-'y',double(-9.0000000000000006360851714687e+40),...
-'y_error_index',double(-999999999),...
-'y_error_lower',double(-9.0000000000000006360851714687e+40),...
-'y_error_upper',double(-9.0000000000000006360851714687e+40),...
-'z',double(-9.0000000000000006360851714687e+40),...
-'z_error_index',double(-999999999),...
-'z_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_error_upper',double(-9.0000000000000006360851714687e+40)),...
+'x',double(-9e+40),...
+'x_error_index',int32(-999999999),...
+'x_error_lower',double(-9e+40),...
+'x_error_upper',double(-9e+40),...
+'y',double(-9e+40),...
+'y_error_index',int32(-999999999),...
+'y_error_lower',double(-9e+40),...
+'y_error_upper',double(-9e+40),...
+'z',double(-9e+40),...
+'z_error_index',int32(-999999999),...
+'z_error_lower',double(-9e+40),...
+'z_error_upper',double(-9e+40)),...
+'x1_width',double(-9e+40),...
+'x1_width_error_index',int32(-999999999),...
+'x1_width_error_lower',double(-9e+40),...
+'x1_width_error_upper',double(-9e+40),...
 'x2_unit_vector',struct(...
-'x',double(-9.0000000000000006360851714687e+40),...
-'x_error_index',double(-999999999),...
-'x_error_lower',double(-9.0000000000000006360851714687e+40),...
-'x_error_upper',double(-9.0000000000000006360851714687e+40),...
-'y',double(-9.0000000000000006360851714687e+40),...
-'y_error_index',double(-999999999),...
-'y_error_lower',double(-9.0000000000000006360851714687e+40),...
-'y_error_upper',double(-9.0000000000000006360851714687e+40),...
-'z',double(-9.0000000000000006360851714687e+40),...
-'z_error_index',double(-999999999),...
-'z_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_error_upper',double(-9.0000000000000006360851714687e+40)),...
+'x',double(-9e+40),...
+'x_error_index',int32(-999999999),...
+'x_error_lower',double(-9e+40),...
+'x_error_upper',double(-9e+40),...
+'y',double(-9e+40),...
+'y_error_index',int32(-999999999),...
+'y_error_lower',double(-9e+40),...
+'y_error_upper',double(-9e+40),...
+'z',double(-9e+40),...
+'z_error_index',int32(-999999999),...
+'z_error_lower',double(-9e+40),...
+'z_error_upper',double(-9e+40)),...
+'x2_width',double(-9e+40),...
+'x2_width_error_index',int32(-999999999),...
+'x2_width_error_lower',double(-9e+40),...
+'x2_width_error_upper',double(-9e+40),...
 'x3_unit_vector',struct(...
-'x',double(-9.0000000000000006360851714687e+40),...
-'x_error_index',double(-999999999),...
-'x_error_lower',double(-9.0000000000000006360851714687e+40),...
-'x_error_upper',double(-9.0000000000000006360851714687e+40),...
-'y',double(-9.0000000000000006360851714687e+40),...
-'y_error_index',double(-999999999),...
-'y_error_lower',double(-9.0000000000000006360851714687e+40),...
-'y_error_upper',double(-9.0000000000000006360851714687e+40),...
-'z',double(-9.0000000000000006360851714687e+40),...
-'z_error_index',double(-999999999),...
-'z_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_error_upper',double(-9.0000000000000006360851714687e+40)))
+'x',double(-9e+40),...
+'x_error_index',int32(-999999999),...
+'x_error_lower',double(-9e+40),...
+'x_error_upper',double(-9e+40),...
+'y',double(-9e+40),...
+'y_error_index',int32(-999999999),...
+'y_error_lower',double(-9e+40),...
+'y_error_upper',double(-9e+40),...
+'z',double(-9e+40),...
+'z_error_index',int32(-999999999),...
+'z_error_lower',double(-9e+40),...
+'z_error_upper',double(-9e+40)))
 ;}},...
 'b_field_sensor',struct(...
 'amplitude',struct(...
 'data',double([]),...
-'data_error_index',double(-999999999),...
+'data_error_index',int32(-999999999),...
 'data_error_lower',double([]),...
 'data_error_upper',double([]),...
 'time',double([])),...
-'fall_time',double(-9.0000000000000006360851714687e+40),...
-'fall_time_error_index',double(-999999999),...
-'fall_time_error_lower',double(-9.0000000000000006360851714687e+40),...
-'fall_time_error_upper',double(-9.0000000000000006360851714687e+40),...
+'fall_time',double(-9e+40),...
+'fall_time_error_index',int32(-999999999),...
+'fall_time_error_lower',double(-9e+40),...
+'fall_time_error_upper',double(-9e+40),...
 'frequency',struct(...
 'data',double([]),...
-'data_error_index',double(-999999999),...
+'data_error_index',int32(-999999999),...
 'data_error_lower',double([]),...
 'data_error_upper',double([]),...
 'time',double([])),...
-'power_switch',double(-999999999),...
-'rise_time',double(-9.0000000000000006360851714687e+40),...
-'rise_time_error_index',double(-999999999),...
-'rise_time_error_lower',double(-9.0000000000000006360851714687e+40),...
-'rise_time_error_upper',double(-9.0000000000000006360851714687e+40),...
+'power_switch',int32(-999999999),...
+'rise_time',double(-9e+40),...
+'rise_time_error_index',int32(-999999999),...
+'rise_time_error_lower',double(-9e+40),...
+'rise_time_error_upper',double(-9e+40),...
 'shape',struct(...
-'description',double([]),...
-'index',double(-999999999),...
-'name',double([]))),...
+'description','',...
+'index',int32(-999999999),...
+'name','')),...
 'detector',struct(...
 'centre',struct(...
-'phi',double(-9.0000000000000006360851714687e+40),...
-'phi_error_index',double(-999999999),...
-'phi_error_lower',double(-9.0000000000000006360851714687e+40),...
-'phi_error_upper',double(-9.0000000000000006360851714687e+40),...
-'r',double(-9.0000000000000006360851714687e+40),...
-'r_error_index',double(-999999999),...
-'r_error_lower',double(-9.0000000000000006360851714687e+40),...
-'r_error_upper',double(-9.0000000000000006360851714687e+40),...
-'z',double(-9.0000000000000006360851714687e+40),...
-'z_error_index',double(-999999999),...
-'z_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_error_upper',double(-9.0000000000000006360851714687e+40)),...
-'geometry_type',double(-999999999),...
+'phi',double(-9e+40),...
+'phi_error_index',int32(-999999999),...
+'phi_error_lower',double(-9e+40),...
+'phi_error_upper',double(-9e+40),...
+'r',double(-9e+40),...
+'r_error_index',int32(-999999999),...
+'r_error_lower',double(-9e+40),...
+'r_error_upper',double(-9e+40),...
+'z',double(-9e+40),...
+'z_error_index',int32(-999999999),...
+'z_error_lower',double(-9e+40),...
+'z_error_upper',double(-9e+40)),...
+'geometry_type',int32(-999999999),...
 'outline',struct(...
 'x1',double([]),...
-'x1_error_index',double(-999999999),...
+'x1_error_index',int32(-999999999),...
 'x1_error_lower',double([]),...
 'x1_error_upper',double([]),...
 'x2',double([]),...
-'x2_error_index',double(-999999999),...
+'x2_error_index',int32(-999999999),...
 'x2_error_lower',double([]),...
 'x2_error_upper',double([])),...
-'radius',double(-9.0000000000000006360851714687e+40),...
-'radius_error_index',double(-999999999),...
-'radius_error_lower',double(-9.0000000000000006360851714687e+40),...
-'radius_error_upper',double(-9.0000000000000006360851714687e+40),...
-'surface',double(-9.0000000000000006360851714687e+40),...
-'surface_error_index',double(-999999999),...
-'surface_error_lower',double(-9.0000000000000006360851714687e+40),...
-'surface_error_upper',double(-9.0000000000000006360851714687e+40),...
+'radius',double(-9e+40),...
+'radius_error_index',int32(-999999999),...
+'radius_error_lower',double(-9e+40),...
+'radius_error_upper',double(-9e+40),...
+'surface',double(-9e+40),...
+'surface_error_index',int32(-999999999),...
+'surface_error_lower',double(-9e+40),...
+'surface_error_upper',double(-9e+40),...
 'x1_unit_vector',struct(...
-'x',double(-9.0000000000000006360851714687e+40),...
-'x_error_index',double(-999999999),...
-'x_error_lower',double(-9.0000000000000006360851714687e+40),...
-'x_error_upper',double(-9.0000000000000006360851714687e+40),...
-'y',double(-9.0000000000000006360851714687e+40),...
-'y_error_index',double(-999999999),...
-'y_error_lower',double(-9.0000000000000006360851714687e+40),...
-'y_error_upper',double(-9.0000000000000006360851714687e+40),...
-'z',double(-9.0000000000000006360851714687e+40),...
-'z_error_index',double(-999999999),...
-'z_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_error_upper',double(-9.0000000000000006360851714687e+40)),...
+'x',double(-9e+40),...
+'x_error_index',int32(-999999999),...
+'x_error_lower',double(-9e+40),...
+'x_error_upper',double(-9e+40),...
+'y',double(-9e+40),...
+'y_error_index',int32(-999999999),...
+'y_error_lower',double(-9e+40),...
+'y_error_upper',double(-9e+40),...
+'z',double(-9e+40),...
+'z_error_index',int32(-999999999),...
+'z_error_lower',double(-9e+40),...
+'z_error_upper',double(-9e+40)),...
+'x1_width',double(-9e+40),...
+'x1_width_error_index',int32(-999999999),...
+'x1_width_error_lower',double(-9e+40),...
+'x1_width_error_upper',double(-9e+40),...
 'x2_unit_vector',struct(...
-'x',double(-9.0000000000000006360851714687e+40),...
-'x_error_index',double(-999999999),...
-'x_error_lower',double(-9.0000000000000006360851714687e+40),...
-'x_error_upper',double(-9.0000000000000006360851714687e+40),...
-'y',double(-9.0000000000000006360851714687e+40),...
-'y_error_index',double(-999999999),...
-'y_error_lower',double(-9.0000000000000006360851714687e+40),...
-'y_error_upper',double(-9.0000000000000006360851714687e+40),...
-'z',double(-9.0000000000000006360851714687e+40),...
-'z_error_index',double(-999999999),...
-'z_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_error_upper',double(-9.0000000000000006360851714687e+40)),...
+'x',double(-9e+40),...
+'x_error_index',int32(-999999999),...
+'x_error_lower',double(-9e+40),...
+'x_error_upper',double(-9e+40),...
+'y',double(-9e+40),...
+'y_error_index',int32(-999999999),...
+'y_error_lower',double(-9e+40),...
+'y_error_upper',double(-9e+40),...
+'z',double(-9e+40),...
+'z_error_index',int32(-999999999),...
+'z_error_lower',double(-9e+40),...
+'z_error_upper',double(-9e+40)),...
+'x2_width',double(-9e+40),...
+'x2_width_error_index',int32(-999999999),...
+'x2_width_error_lower',double(-9e+40),...
+'x2_width_error_upper',double(-9e+40),...
 'x3_unit_vector',struct(...
-'x',double(-9.0000000000000006360851714687e+40),...
-'x_error_index',double(-999999999),...
-'x_error_lower',double(-9.0000000000000006360851714687e+40),...
-'x_error_upper',double(-9.0000000000000006360851714687e+40),...
-'y',double(-9.0000000000000006360851714687e+40),...
-'y_error_index',double(-999999999),...
-'y_error_lower',double(-9.0000000000000006360851714687e+40),...
-'y_error_upper',double(-9.0000000000000006360851714687e+40),...
-'z',double(-9.0000000000000006360851714687e+40),...
-'z_error_index',double(-999999999),...
-'z_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_error_upper',double(-9.0000000000000006360851714687e+40))),...
-'end_time',double(-9.0000000000000006360851714687e+40),...
-'end_time_error_index',double(-999999999),...
-'end_time_error_lower',double(-9.0000000000000006360851714687e+40),...
-'end_time_error_upper',double(-9.0000000000000006360851714687e+40),...
+'x',double(-9e+40),...
+'x_error_index',int32(-999999999),...
+'x_error_lower',double(-9e+40),...
+'x_error_upper',double(-9e+40),...
+'y',double(-9e+40),...
+'y_error_index',int32(-999999999),...
+'y_error_lower',double(-9e+40),...
+'y_error_upper',double(-9e+40),...
+'z',double(-9e+40),...
+'z_error_index',int32(-999999999),...
+'z_error_lower',double(-9e+40),...
+'z_error_upper',double(-9e+40))),...
+'end_time',double(-9e+40),...
+'end_time_error_index',int32(-999999999),...
+'end_time_error_lower',double(-9e+40),...
+'end_time_error_upper',double(-9e+40),...
 'energy_band',{{struct(...
 'detection_efficiency',double([]),...
-'detection_efficiency_error_index',double(-999999999),...
+'detection_efficiency_error_index',int32(-999999999),...
 'detection_efficiency_error_lower',double([]),...
 'detection_efficiency_error_upper',double([]),...
 'energies',double([]),...
-'energies_error_index',double(-999999999),...
+'energies_error_index',int32(-999999999),...
 'energies_error_lower',double([]),...
 'energies_error_upper',double([]),...
-'lower_bound',double(-9.0000000000000006360851714687e+40),...
-'lower_bound_error_index',double(-999999999),...
-'lower_bound_error_lower',double(-9.0000000000000006360851714687e+40),...
-'lower_bound_error_upper',double(-9.0000000000000006360851714687e+40),...
-'upper_bound',double(-9.0000000000000006360851714687e+40),...
-'upper_bound_error_index',double(-999999999),...
-'upper_bound_error_lower',double(-9.0000000000000006360851714687e+40),...
-'upper_bound_error_upper',double(-9.0000000000000006360851714687e+40))
+'lower_bound',double(-9e+40),...
+'lower_bound_error_index',int32(-999999999),...
+'lower_bound_error_lower',double(-9e+40),...
+'lower_bound_error_upper',double(-9e+40),...
+'upper_bound',double(-9e+40),...
+'upper_bound_error_index',int32(-999999999),...
+'upper_bound_error_lower',double(-9e+40),...
+'upper_bound_error_upper',double(-9e+40))
 ;}},...
 'mode',{{struct(...
 'counting',struct(...
 'data',double([]),...
-'data_error_index',double(-999999999),...
+'data_error_index',int32(-999999999),...
 'data_error_lower',double([]),...
 'data_error_upper',double([]),...
 'time',double([])),...
-'name',double([]))
+'name','')
 ;}},...
-'name',double([]),...
+'name','',...
 'position',struct(...
-'phi',double(-9.0000000000000006360851714687e+40),...
-'phi_error_index',double(-999999999),...
-'phi_error_lower',double(-9.0000000000000006360851714687e+40),...
-'phi_error_upper',double(-9.0000000000000006360851714687e+40),...
-'r',double(-9.0000000000000006360851714687e+40),...
-'r_error_index',double(-999999999),...
-'r_error_lower',double(-9.0000000000000006360851714687e+40),...
-'r_error_upper',double(-9.0000000000000006360851714687e+40),...
-'z',double(-9.0000000000000006360851714687e+40),...
-'z_error_index',double(-999999999),...
-'z_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_error_upper',double(-9.0000000000000006360851714687e+40)),...
+'phi',double(-9e+40),...
+'phi_error_index',int32(-999999999),...
+'phi_error_lower',double(-9e+40),...
+'phi_error_upper',double(-9e+40),...
+'r',double(-9e+40),...
+'r_error_index',int32(-999999999),...
+'r_error_lower',double(-9e+40),...
+'r_error_upper',double(-9e+40),...
+'z',double(-9e+40),...
+'z_error_index',int32(-999999999),...
+'z_error_lower',double(-9e+40),...
+'z_error_upper',double(-9e+40)),...
 'radiation',{{struct(...
-'converter_name',double([]),...
-'converter_nuclear_density',double(-9.0000000000000006360851714687e+40),...
-'converter_nuclear_density_error_index',double(-999999999),...
-'converter_nuclear_density_error_lower',double(-9.0000000000000006360851714687e+40),...
-'converter_nuclear_density_error_upper',double(-9.0000000000000006360851714687e+40),...
+'converter_name','',...
+'converter_nuclear_density',double(-9e+40),...
+'converter_nuclear_density_error_index',int32(-999999999),...
+'converter_nuclear_density_error_lower',double(-9e+40),...
+'converter_nuclear_density_error_upper',double(-9e+40),...
 'converter_temperature',double([]),...
-'converter_temperature_error_index',double(-999999999),...
+'converter_temperature_error_index',int32(-999999999),...
 'converter_temperature_error_lower',double([]),...
 'converter_temperature_error_upper',double([]),...
-'converter_volume',double(-9.0000000000000006360851714687e+40),...
-'converter_volume_error_index',double(-999999999),...
-'converter_volume_error_lower',double(-9.0000000000000006360851714687e+40),...
-'converter_volume_error_upper',double(-9.0000000000000006360851714687e+40),...
-'index',double(-999999999))
+'converter_volume',double(-9e+40),...
+'converter_volume_error_index',int32(-999999999),...
+'converter_volume_error_lower',double(-9e+40),...
+'converter_volume_error_upper',double(-9e+40),...
+'index',int32(-999999999))
 ;}},...
 'spectrum',struct(...
-'data',double([]),...
+'data',int32([]),...
 'time',double([])),...
-'spectrum_sampling_time',double(-9.0000000000000006360851714687e+40),...
-'spectrum_sampling_time_error_index',double(-999999999),...
-'spectrum_sampling_time_error_lower',double(-9.0000000000000006360851714687e+40),...
-'spectrum_sampling_time_error_upper',double(-9.0000000000000006360851714687e+40),...
-'spectrum_total',double([]),...
-'start_time',double(-9.0000000000000006360851714687e+40),...
-'start_time_error_index',double(-999999999),...
-'start_time_error_lower',double(-9.0000000000000006360851714687e+40),...
-'start_time_error_upper',double(-9.0000000000000006360851714687e+40),...
+'spectrum_sampling_time',double(-9e+40),...
+'spectrum_sampling_time_error_index',int32(-999999999),...
+'spectrum_sampling_time_error_lower',double(-9e+40),...
+'spectrum_sampling_time_error_upper',double(-9e+40),...
+'spectrum_total',int32([]),...
+'start_time',double(-9e+40),...
+'start_time_error_index',int32(-999999999),...
+'start_time_error_lower',double(-9e+40),...
+'start_time_error_upper',double(-9e+40),...
 'supply_high_voltage',struct(...
-'power_switch',double(-999999999),...
+'power_switch',int32(-999999999),...
 'voltage_out',struct(...
 'data',double([]),...
-'data_error_index',double(-999999999),...
+'data_error_index',int32(-999999999),...
 'data_error_lower',double([]),...
 'data_error_upper',double([]),...
 'time',double([])),...
 'voltage_set',struct(...
 'data',double([]),...
-'data_error_index',double(-999999999),...
+'data_error_index',int32(-999999999),...
 'data_error_lower',double([]),...
 'data_error_upper',double([]),...
 'time',double([]))),...
 'supply_low_voltage',struct(...
-'power_switch',double(-999999999),...
+'power_switch',int32(-999999999),...
 'voltage_out',struct(...
 'data',double([]),...
-'data_error_index',double(-999999999),...
+'data_error_index',int32(-999999999),...
 'data_error_lower',double([]),...
 'data_error_upper',double([]),...
 'time',double([])),...
 'voltage_set',struct(...
 'data',double([]),...
-'data_error_index',double(-999999999),...
+'data_error_index',int32(-999999999),...
 'data_error_lower',double([]),...
 'data_error_upper',double([]),...
 'time',double([]))),...
 'temperature_sensor',struct(...
 'amplitude',struct(...
 'data',double([]),...
-'data_error_index',double(-999999999),...
+'data_error_index',int32(-999999999),...
 'data_error_lower',double([]),...
 'data_error_upper',double([]),...
 'time',double([])),...
-'fall_time',double(-9.0000000000000006360851714687e+40),...
-'fall_time_error_index',double(-999999999),...
-'fall_time_error_lower',double(-9.0000000000000006360851714687e+40),...
-'fall_time_error_upper',double(-9.0000000000000006360851714687e+40),...
+'fall_time',double(-9e+40),...
+'fall_time_error_index',int32(-999999999),...
+'fall_time_error_lower',double(-9e+40),...
+'fall_time_error_upper',double(-9e+40),...
 'frequency',struct(...
 'data',double([]),...
-'data_error_index',double(-999999999),...
+'data_error_index',int32(-999999999),...
 'data_error_lower',double([]),...
 'data_error_upper',double([]),...
 'time',double([])),...
-'power_switch',double(-999999999),...
-'rise_time',double(-9.0000000000000006360851714687e+40),...
-'rise_time_error_index',double(-999999999),...
-'rise_time_error_lower',double(-9.0000000000000006360851714687e+40),...
-'rise_time_error_upper',double(-9.0000000000000006360851714687e+40),...
+'power_switch',int32(-999999999),...
+'rise_time',double(-9e+40),...
+'rise_time_error_index',int32(-999999999),...
+'rise_time_error_lower',double(-9e+40),...
+'rise_time_error_upper',double(-9e+40),...
 'shape',struct(...
-'description',double([]),...
-'index',double(-999999999),...
-'name',double([]))),...
+'description','',...
+'index',int32(-999999999),...
+'name','')),...
 'test_generator',struct(...
 'amplitude',struct(...
 'data',double([]),...
-'data_error_index',double(-999999999),...
+'data_error_index',int32(-999999999),...
 'data_error_lower',double([]),...
 'data_error_upper',double([]),...
 'time',double([])),...
-'fall_time',double(-9.0000000000000006360851714687e+40),...
-'fall_time_error_index',double(-999999999),...
-'fall_time_error_lower',double(-9.0000000000000006360851714687e+40),...
-'fall_time_error_upper',double(-9.0000000000000006360851714687e+40),...
+'fall_time',double(-9e+40),...
+'fall_time_error_index',int32(-999999999),...
+'fall_time_error_lower',double(-9e+40),...
+'fall_time_error_upper',double(-9e+40),...
 'frequency',struct(...
 'data',double([]),...
-'data_error_index',double(-999999999),...
+'data_error_index',int32(-999999999),...
 'data_error_lower',double([]),...
 'data_error_upper',double([]),...
 'time',double([])),...
-'power_switch',double(-999999999),...
-'rise_time',double(-9.0000000000000006360851714687e+40),...
-'rise_time_error_index',double(-999999999),...
-'rise_time_error_lower',double(-9.0000000000000006360851714687e+40),...
-'rise_time_error_upper',double(-9.0000000000000006360851714687e+40),...
+'power_switch',int32(-999999999),...
+'rise_time',double(-9e+40),...
+'rise_time_error_index',int32(-999999999),...
+'rise_time_error_lower',double(-9e+40),...
+'rise_time_error_upper',double(-9e+40),...
 'shape',struct(...
-'description',double([]),...
-'index',double(-999999999),...
-'name',double([]))))
+'description','',...
+'index',int32(-999999999),...
+'name','')))
 ;}},...
 'ids_properties',struct(...
-'comment',double([]),...
-'creation_date',double([]),...
-'homogeneous_time',double(-999999999),...
-'provider',double([]),...
-'source',double([])),...
+'comment','',...
+'creation_date','',...
+'homogeneous_time',int32(-999999999),...
+'provider','',...
+'source','',...
+'version_put',struct(...
+'access_layer','',...
+'access_layer_language','',...
+'data_dictionary','')),...
 'synthetic_signals',struct(...
 'fusion_power',double([]),...
-'fusion_power_error_index',double(-999999999),...
+'fusion_power_error_index',int32(-999999999),...
 'fusion_power_error_lower',double([]),...
 'fusion_power_error_upper',double([]),...
 'total_neutron_flux',double([]),...
-'total_neutron_flux_error_index',double(-999999999),...
+'total_neutron_flux_error_index',int32(-999999999),...
 'total_neutron_flux_error_lower',double([]),...
 'total_neutron_flux_error_upper',double([])),...
 'time',double([]),...
 'unit_source',{{struct(...
 'position',struct(...
-'r',double(-9.0000000000000006360851714687e+40),...
-'r_error_index',double(-999999999),...
-'r_error_lower',double(-9.0000000000000006360851714687e+40),...
-'r_error_upper',double(-9.0000000000000006360851714687e+40),...
-'z',double(-9.0000000000000006360851714687e+40),...
-'z_error_index',double(-999999999),...
-'z_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_error_upper',double(-9.0000000000000006360851714687e+40)),...
+'r',double(-9e+40),...
+'r_error_index',int32(-999999999),...
+'r_error_lower',double(-9e+40),...
+'r_error_upper',double(-9e+40),...
+'z',double(-9e+40),...
+'z_error_index',int32(-999999999),...
+'z_error_lower',double(-9e+40),...
+'z_error_upper',double(-9e+40)),...
 'radiation',{{struct(...
-'index',double(-999999999),...
+'index',int32(-999999999),...
 'reaction',{{struct(...
 'd2flux_drdz',double([]),...
-'d2flux_drdz_error_index',double(-999999999),...
+'d2flux_drdz_error_index',int32(-999999999),...
 'd2flux_drdz_error_lower',double([]),...
 'd2flux_drdz_error_upper',double([]),...
 'energy',double([]),...
-'energy_error_index',double(-999999999),...
+'energy_error_index',int32(-999999999),...
 'energy_error_lower',double([]),...
 'energy_error_upper',double([]),...
 'flux',double([]),...
-'flux_error_index',double(-999999999),...
+'flux_error_index',int32(-999999999),...
 'flux_error_lower',double([]),...
 'flux_error_upper',double([]),...
-'index',double(-999999999),...
+'index',int32(-999999999),...
 'reaction_rate',double([]),...
-'reaction_rate_error_index',double(-999999999),...
+'reaction_rate_error_index',int32(-999999999),...
 'reaction_rate_error_lower',double([]),...
 'reaction_rate_error_upper',double([]),...
 'sensitivity',double([]),...
-'sensitivity_error_index',double(-999999999),...
+'sensitivity_error_index',int32(-999999999),...
 'sensitivity_error_lower',double([]),...
 'sensitivity_error_upper',double([]))
 ;}})
diff --git a/matlab/TCV_IMAS/ids_empty/ids_empty_ntms.m b/matlab/TCV_IMAS/ids_empty/ids_empty_ntms.m
index 1ad59f3eb788df3aea72ff7dd0257d654c5649dc..a0b2052b057424605a976c5570b0e8c9f2551b1f 100644
--- a/matlab/TCV_IMAS/ids_empty/ids_empty_ntms.m
+++ b/matlab/TCV_IMAS/ids_empty/ids_empty_ntms.m
@@ -6,161 +6,165 @@ function S = ids_empty_ntms
 S = ... 
 struct(...
 'code',struct(...
-'commit',double([]),...
-'name',double([]),...
-'output_flag',double([]),...
-'parameters',double([]),...
-'repository',double([]),...
-'version',double([])),...
+'commit','',...
+'name','',...
+'output_flag',int32([]),...
+'parameters','',...
+'repository','',...
+'version',''),...
 'ids_properties',struct(...
-'comment',double([]),...
-'creation_date',double([]),...
-'homogeneous_time',double(-999999999),...
-'provider',double([]),...
-'source',double([])),...
+'comment','',...
+'creation_date','',...
+'homogeneous_time',int32(-999999999),...
+'provider','',...
+'source','',...
+'version_put',struct(...
+'access_layer','',...
+'access_layer_language','',...
+'data_dictionary','')),...
 'time',double([]),...
 'time_slice',{{struct(...
 'mode',{{struct(...
-'calculation_method',double([]),...
+'calculation_method','',...
 'delta_diff',double([]),...
-'delta_diff_error_index',double(-999999999),...
+'delta_diff_error_index',int32(-999999999),...
 'delta_diff_error_lower',double([]),...
 'delta_diff_error_upper',double([]),...
 'deltaw',{{struct(...
-'name',double([]),...
-'value',double(-9.0000000000000006360851714687e+40),...
-'value_error_index',double(-999999999),...
-'value_error_lower',double(-9.0000000000000006360851714687e+40),...
-'value_error_upper',double(-9.0000000000000006360851714687e+40))
+'name','',...
+'value',double(-9e+40),...
+'value_error_index',int32(-999999999),...
+'value_error_lower',double(-9e+40),...
+'value_error_upper',double(-9e+40))
 ;}},...
 'detailed_evolution',struct(...
-'calculation_method',double([]),...
+'calculation_method','',...
 'delta_diff',double([]),...
-'delta_diff_error_index',double(-999999999),...
+'delta_diff_error_index',int32(-999999999),...
 'delta_diff_error_lower',double([]),...
 'delta_diff_error_upper',double([]),...
 'deltaw',{{struct(...
-'name',double([]),...
+'name','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([]))
 ;}},...
 'dfrequency_dt',double([]),...
-'dfrequency_dt_error_index',double(-999999999),...
+'dfrequency_dt_error_index',int32(-999999999),...
 'dfrequency_dt_error_lower',double([]),...
 'dfrequency_dt_error_upper',double([]),...
 'dphase_dt',double([]),...
-'dphase_dt_error_index',double(-999999999),...
+'dphase_dt_error_index',int32(-999999999),...
 'dphase_dt_error_lower',double([]),...
 'dphase_dt_error_upper',double([]),...
 'dwidth_dt',double([]),...
-'dwidth_dt_error_index',double(-999999999),...
+'dwidth_dt_error_index',int32(-999999999),...
 'dwidth_dt_error_lower',double([]),...
 'dwidth_dt_error_upper',double([]),...
 'frequency',double([]),...
-'frequency_error_index',double(-999999999),...
+'frequency_error_index',int32(-999999999),...
 'frequency_error_lower',double([]),...
 'frequency_error_upper',double([]),...
-'m_pol',double(-999999999),...
-'n_tor',double(-999999999),...
+'m_pol',int32(-999999999),...
+'n_tor',int32(-999999999),...
 'phase',double([]),...
-'phase_error_index',double(-999999999),...
+'phase_error_index',int32(-999999999),...
 'phase_error_lower',double([]),...
 'phase_error_upper',double([]),...
 'rho_tor',double([]),...
-'rho_tor_error_index',double(-999999999),...
+'rho_tor_error_index',int32(-999999999),...
 'rho_tor_error_lower',double([]),...
 'rho_tor_error_upper',double([]),...
 'rho_tor_norm',double([]),...
-'rho_tor_norm_error_index',double(-999999999),...
+'rho_tor_norm_error_index',int32(-999999999),...
 'rho_tor_norm_error_lower',double([]),...
 'rho_tor_norm_error_upper',double([]),...
 'time_detailed',double([]),...
-'time_detailed_error_index',double(-999999999),...
+'time_detailed_error_index',int32(-999999999),...
 'time_detailed_error_lower',double([]),...
 'time_detailed_error_upper',double([]),...
 'torque',{{struct(...
-'name',double([]),...
+'name','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([]))
 ;}},...
 'width',double([]),...
-'width_error_index',double(-999999999),...
+'width_error_index',int32(-999999999),...
 'width_error_lower',double([]),...
 'width_error_upper',double([])),...
-'dfrequency_dt',double(-9.0000000000000006360851714687e+40),...
-'dfrequency_dt_error_index',double(-999999999),...
-'dfrequency_dt_error_lower',double(-9.0000000000000006360851714687e+40),...
-'dfrequency_dt_error_upper',double(-9.0000000000000006360851714687e+40),...
-'dphase_dt',double(-9.0000000000000006360851714687e+40),...
-'dphase_dt_error_index',double(-999999999),...
-'dphase_dt_error_lower',double(-9.0000000000000006360851714687e+40),...
-'dphase_dt_error_upper',double(-9.0000000000000006360851714687e+40),...
-'dwidth_dt',double(-9.0000000000000006360851714687e+40),...
-'dwidth_dt_error_index',double(-999999999),...
-'dwidth_dt_error_lower',double(-9.0000000000000006360851714687e+40),...
-'dwidth_dt_error_upper',double(-9.0000000000000006360851714687e+40),...
-'frequency',double(-9.0000000000000006360851714687e+40),...
-'frequency_error_index',double(-999999999),...
-'frequency_error_lower',double(-9.0000000000000006360851714687e+40),...
-'frequency_error_upper',double(-9.0000000000000006360851714687e+40),...
-'m_pol',double(-999999999),...
-'n_tor',double(-999999999),...
+'dfrequency_dt',double(-9e+40),...
+'dfrequency_dt_error_index',int32(-999999999),...
+'dfrequency_dt_error_lower',double(-9e+40),...
+'dfrequency_dt_error_upper',double(-9e+40),...
+'dphase_dt',double(-9e+40),...
+'dphase_dt_error_index',int32(-999999999),...
+'dphase_dt_error_lower',double(-9e+40),...
+'dphase_dt_error_upper',double(-9e+40),...
+'dwidth_dt',double(-9e+40),...
+'dwidth_dt_error_index',int32(-999999999),...
+'dwidth_dt_error_lower',double(-9e+40),...
+'dwidth_dt_error_upper',double(-9e+40),...
+'frequency',double(-9e+40),...
+'frequency_error_index',int32(-999999999),...
+'frequency_error_lower',double(-9e+40),...
+'frequency_error_upper',double(-9e+40),...
+'m_pol',int32(-999999999),...
+'n_tor',int32(-999999999),...
 'onset',struct(...
-'cause',double([]),...
-'m_pol',double(-999999999),...
-'n_tor',double(-999999999),...
-'phase',double(-9.0000000000000006360851714687e+40),...
-'phase_error_index',double(-999999999),...
-'phase_error_lower',double(-9.0000000000000006360851714687e+40),...
-'phase_error_upper',double(-9.0000000000000006360851714687e+40),...
-'time_offset',double(-9.0000000000000006360851714687e+40),...
-'time_offset_error_index',double(-999999999),...
-'time_offset_error_lower',double(-9.0000000000000006360851714687e+40),...
-'time_offset_error_upper',double(-9.0000000000000006360851714687e+40),...
-'time_onset',double(-9.0000000000000006360851714687e+40),...
-'time_onset_error_index',double(-999999999),...
-'time_onset_error_lower',double(-9.0000000000000006360851714687e+40),...
-'time_onset_error_upper',double(-9.0000000000000006360851714687e+40),...
-'width',double(-9.0000000000000006360851714687e+40),...
-'width_error_index',double(-999999999),...
-'width_error_lower',double(-9.0000000000000006360851714687e+40),...
-'width_error_upper',double(-9.0000000000000006360851714687e+40)),...
-'phase',double(-9.0000000000000006360851714687e+40),...
-'phase_error_index',double(-999999999),...
-'phase_error_lower',double(-9.0000000000000006360851714687e+40),...
-'phase_error_upper',double(-9.0000000000000006360851714687e+40),...
-'rho_tor',double(-9.0000000000000006360851714687e+40),...
-'rho_tor_error_index',double(-999999999),...
-'rho_tor_error_lower',double(-9.0000000000000006360851714687e+40),...
-'rho_tor_error_upper',double(-9.0000000000000006360851714687e+40),...
-'rho_tor_norm',double(-9.0000000000000006360851714687e+40),...
-'rho_tor_norm_error_index',double(-999999999),...
-'rho_tor_norm_error_lower',double(-9.0000000000000006360851714687e+40),...
-'rho_tor_norm_error_upper',double(-9.0000000000000006360851714687e+40),...
+'cause','',...
+'m_pol',int32(-999999999),...
+'n_tor',int32(-999999999),...
+'phase',double(-9e+40),...
+'phase_error_index',int32(-999999999),...
+'phase_error_lower',double(-9e+40),...
+'phase_error_upper',double(-9e+40),...
+'time_offset',double(-9e+40),...
+'time_offset_error_index',int32(-999999999),...
+'time_offset_error_lower',double(-9e+40),...
+'time_offset_error_upper',double(-9e+40),...
+'time_onset',double(-9e+40),...
+'time_onset_error_index',int32(-999999999),...
+'time_onset_error_lower',double(-9e+40),...
+'time_onset_error_upper',double(-9e+40),...
+'width',double(-9e+40),...
+'width_error_index',int32(-999999999),...
+'width_error_lower',double(-9e+40),...
+'width_error_upper',double(-9e+40)),...
+'phase',double(-9e+40),...
+'phase_error_index',int32(-999999999),...
+'phase_error_lower',double(-9e+40),...
+'phase_error_upper',double(-9e+40),...
+'rho_tor',double(-9e+40),...
+'rho_tor_error_index',int32(-999999999),...
+'rho_tor_error_lower',double(-9e+40),...
+'rho_tor_error_upper',double(-9e+40),...
+'rho_tor_norm',double(-9e+40),...
+'rho_tor_norm_error_index',int32(-999999999),...
+'rho_tor_norm_error_lower',double(-9e+40),...
+'rho_tor_norm_error_upper',double(-9e+40),...
 'torque',{{struct(...
-'name',double([]),...
-'value',double(-9.0000000000000006360851714687e+40),...
-'value_error_index',double(-999999999),...
-'value_error_lower',double(-9.0000000000000006360851714687e+40),...
-'value_error_upper',double(-9.0000000000000006360851714687e+40))
+'name','',...
+'value',double(-9e+40),...
+'value_error_index',int32(-999999999),...
+'value_error_lower',double(-9e+40),...
+'value_error_upper',double(-9e+40))
 ;}},...
-'width',double(-9.0000000000000006360851714687e+40),...
-'width_error_index',double(-999999999),...
-'width_error_lower',double(-9.0000000000000006360851714687e+40),...
-'width_error_upper',double(-9.0000000000000006360851714687e+40))
+'width',double(-9e+40),...
+'width_error_index',int32(-999999999),...
+'width_error_lower',double(-9e+40),...
+'width_error_upper',double(-9e+40))
 ;}},...
-'time',double(-9.0000000000000006360851714687e+40))
+'time',double(-9e+40))
 ;}},...
 'vacuum_toroidal_field',struct(...
 'b0',double([]),...
-'b0_error_index',double(-999999999),...
+'b0_error_index',int32(-999999999),...
 'b0_error_lower',double([]),...
 'b0_error_upper',double([]),...
-'r0',double(-9.0000000000000006360851714687e+40),...
-'r0_error_index',double(-999999999),...
-'r0_error_lower',double(-9.0000000000000006360851714687e+40),...
-'r0_error_upper',double(-9.0000000000000006360851714687e+40)));
+'r0',double(-9e+40),...
+'r0_error_index',int32(-999999999),...
+'r0_error_lower',double(-9e+40),...
+'r0_error_upper',double(-9e+40)));
diff --git a/matlab/TCV_IMAS/ids_empty/ids_empty_numerics.m b/matlab/TCV_IMAS/ids_empty/ids_empty_numerics.m
new file mode 100644
index 0000000000000000000000000000000000000000..2e792d44661b9e4fc27262b72e2cfb164e896ac2
--- /dev/null
+++ b/matlab/TCV_IMAS/ids_empty/ids_empty_numerics.m
@@ -0,0 +1,30 @@
+function S = ids_empty_numerics
+% function S = ids_empty_numerics
+%
+% File written automatically using struct2m.m 
+
+S = ... 
+struct(...
+'ids_properties',struct(...
+'comment','',...
+'creation_date','',...
+'homogeneous_time',int32(-999999999),...
+'provider','',...
+'source','',...
+'version_put',struct(...
+'access_layer','',...
+'access_layer_language','',...
+'data_dictionary','')),...
+'time',double([]),...
+'time_end',double([]),...
+'time_end_error_index',int32(-999999999),...
+'time_end_error_lower',double([]),...
+'time_end_error_upper',double([]),...
+'time_start',double([]),...
+'time_start_error_index',int32(-999999999),...
+'time_start_error_lower',double([]),...
+'time_start_error_upper',double([]),...
+'time_step',double([]),...
+'time_step_error_index',int32(-999999999),...
+'time_step_error_lower',double([]),...
+'time_step_error_upper',double([]));
diff --git a/matlab/TCV_IMAS/ids_empty/ids_empty_pellets.m b/matlab/TCV_IMAS/ids_empty/ids_empty_pellets.m
index 3c6324444ca1cd30278421f0c19a316483aa324d..93ded09f02b21cb6243b26ca32abcfc59f6cf63e 100644
--- a/matlab/TCV_IMAS/ids_empty/ids_empty_pellets.m
+++ b/matlab/TCV_IMAS/ids_empty/ids_empty_pellets.m
@@ -6,134 +6,138 @@ function S = ids_empty_pellets
 S = ... 
 struct(...
 'code',struct(...
-'commit',double([]),...
-'name',double([]),...
-'output_flag',double([]),...
-'parameters',double([]),...
-'repository',double([]),...
-'version',double([])),...
+'commit','',...
+'name','',...
+'output_flag',int32([]),...
+'parameters','',...
+'repository','',...
+'version',''),...
 'ids_properties',struct(...
-'comment',double([]),...
-'creation_date',double([]),...
-'homogeneous_time',double(-999999999),...
-'provider',double([]),...
-'source',double([])),...
+'comment','',...
+'creation_date','',...
+'homogeneous_time',int32(-999999999),...
+'provider','',...
+'source','',...
+'version_put',struct(...
+'access_layer','',...
+'access_layer_language','',...
+'data_dictionary','')),...
 'time',double([]),...
 'time_slice',{{struct(...
 'pellet',{{struct(...
 'path_geometry',struct(...
 'first_point',struct(...
-'phi',double(-9.0000000000000006360851714687e+40),...
-'phi_error_index',double(-999999999),...
-'phi_error_lower',double(-9.0000000000000006360851714687e+40),...
-'phi_error_upper',double(-9.0000000000000006360851714687e+40),...
-'r',double(-9.0000000000000006360851714687e+40),...
-'r_error_index',double(-999999999),...
-'r_error_lower',double(-9.0000000000000006360851714687e+40),...
-'r_error_upper',double(-9.0000000000000006360851714687e+40),...
-'z',double(-9.0000000000000006360851714687e+40),...
-'z_error_index',double(-999999999),...
-'z_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_error_upper',double(-9.0000000000000006360851714687e+40)),...
+'phi',double(-9e+40),...
+'phi_error_index',int32(-999999999),...
+'phi_error_lower',double(-9e+40),...
+'phi_error_upper',double(-9e+40),...
+'r',double(-9e+40),...
+'r_error_index',int32(-999999999),...
+'r_error_lower',double(-9e+40),...
+'r_error_upper',double(-9e+40),...
+'z',double(-9e+40),...
+'z_error_index',int32(-999999999),...
+'z_error_lower',double(-9e+40),...
+'z_error_upper',double(-9e+40)),...
 'second_point',struct(...
-'phi',double(-9.0000000000000006360851714687e+40),...
-'phi_error_index',double(-999999999),...
-'phi_error_lower',double(-9.0000000000000006360851714687e+40),...
-'phi_error_upper',double(-9.0000000000000006360851714687e+40),...
-'r',double(-9.0000000000000006360851714687e+40),...
-'r_error_index',double(-999999999),...
-'r_error_lower',double(-9.0000000000000006360851714687e+40),...
-'r_error_upper',double(-9.0000000000000006360851714687e+40),...
-'z',double(-9.0000000000000006360851714687e+40),...
-'z_error_index',double(-999999999),...
-'z_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_error_upper',double(-9.0000000000000006360851714687e+40))),...
+'phi',double(-9e+40),...
+'phi_error_index',int32(-999999999),...
+'phi_error_lower',double(-9e+40),...
+'phi_error_upper',double(-9e+40),...
+'r',double(-9e+40),...
+'r_error_index',int32(-999999999),...
+'r_error_lower',double(-9e+40),...
+'r_error_upper',double(-9e+40),...
+'z',double(-9e+40),...
+'z_error_index',int32(-999999999),...
+'z_error_lower',double(-9e+40),...
+'z_error_upper',double(-9e+40))),...
 'path_profiles',struct(...
 'ablated_particles',double([]),...
-'ablated_particles_error_index',double(-999999999),...
+'ablated_particles_error_index',int32(-999999999),...
 'ablated_particles_error_lower',double([]),...
 'ablated_particles_error_upper',double([]),...
 'ablation_rate',double([]),...
-'ablation_rate_error_index',double(-999999999),...
+'ablation_rate_error_index',int32(-999999999),...
 'ablation_rate_error_lower',double([]),...
 'ablation_rate_error_upper',double([]),...
 'distance',double([]),...
-'distance_error_index',double(-999999999),...
+'distance_error_index',int32(-999999999),...
 'distance_error_lower',double([]),...
 'distance_error_upper',double([]),...
 'n_e',double([]),...
-'n_e_error_index',double(-999999999),...
+'n_e_error_index',int32(-999999999),...
 'n_e_error_lower',double([]),...
 'n_e_error_upper',double([]),...
 'position',struct(...
 'phi',double([]),...
-'phi_error_index',double(-999999999),...
+'phi_error_index',int32(-999999999),...
 'phi_error_lower',double([]),...
 'phi_error_upper',double([]),...
 'r',double([]),...
-'r_error_index',double(-999999999),...
+'r_error_index',int32(-999999999),...
 'r_error_lower',double([]),...
 'r_error_upper',double([]),...
 'z',double([]),...
-'z_error_index',double(-999999999),...
+'z_error_index',int32(-999999999),...
 'z_error_lower',double([]),...
 'z_error_upper',double([])),...
 'psi',double([]),...
-'psi_error_index',double(-999999999),...
+'psi_error_index',int32(-999999999),...
 'psi_error_lower',double([]),...
 'psi_error_upper',double([]),...
 'rho_tor_norm',double([]),...
 'rho_tor_norm_drift',double([]),...
-'rho_tor_norm_drift_error_index',double(-999999999),...
+'rho_tor_norm_drift_error_index',int32(-999999999),...
 'rho_tor_norm_drift_error_lower',double([]),...
 'rho_tor_norm_drift_error_upper',double([]),...
-'rho_tor_norm_error_index',double(-999999999),...
+'rho_tor_norm_error_index',int32(-999999999),...
 'rho_tor_norm_error_lower',double([]),...
 'rho_tor_norm_error_upper',double([]),...
 't_e',double([]),...
-'t_e_error_index',double(-999999999),...
+'t_e_error_index',int32(-999999999),...
 't_e_error_lower',double([]),...
 't_e_error_upper',double([]),...
 'velocity',double([]),...
-'velocity_error_index',double(-999999999),...
+'velocity_error_index',int32(-999999999),...
 'velocity_error_lower',double([]),...
 'velocity_error_upper',double([])),...
 'shape',struct(...
 'size',double([]),...
-'size_error_index',double(-999999999),...
+'size_error_index',int32(-999999999),...
 'size_error_lower',double([]),...
 'size_error_upper',double([]),...
 'type',struct(...
-'description',double([]),...
-'index',double(-999999999),...
-'name',double([]))),...
+'description','',...
+'index',int32(-999999999),...
+'name','')),...
 'species',{{struct(...
-'a',double(-9.0000000000000006360851714687e+40),...
-'a_error_index',double(-999999999),...
-'a_error_lower',double(-9.0000000000000006360851714687e+40),...
-'a_error_upper',double(-9.0000000000000006360851714687e+40),...
-'density',double(-9.0000000000000006360851714687e+40),...
-'density_error_index',double(-999999999),...
-'density_error_lower',double(-9.0000000000000006360851714687e+40),...
-'density_error_upper',double(-9.0000000000000006360851714687e+40),...
-'fraction',double(-9.0000000000000006360851714687e+40),...
-'fraction_error_index',double(-999999999),...
-'fraction_error_lower',double(-9.0000000000000006360851714687e+40),...
-'fraction_error_upper',double(-9.0000000000000006360851714687e+40),...
-'label',double([]),...
-'sublimation_energy',double(-9.0000000000000006360851714687e+40),...
-'sublimation_energy_error_index',double(-999999999),...
-'sublimation_energy_error_lower',double(-9.0000000000000006360851714687e+40),...
-'sublimation_energy_error_upper',double(-9.0000000000000006360851714687e+40),...
-'z_n',double(-9.0000000000000006360851714687e+40),...
-'z_n_error_index',double(-999999999),...
-'z_n_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_n_error_upper',double(-9.0000000000000006360851714687e+40))
+'a',double(-9e+40),...
+'a_error_index',int32(-999999999),...
+'a_error_lower',double(-9e+40),...
+'a_error_upper',double(-9e+40),...
+'density',double(-9e+40),...
+'density_error_index',int32(-999999999),...
+'density_error_lower',double(-9e+40),...
+'density_error_upper',double(-9e+40),...
+'fraction',double(-9e+40),...
+'fraction_error_index',int32(-999999999),...
+'fraction_error_lower',double(-9e+40),...
+'fraction_error_upper',double(-9e+40),...
+'label','',...
+'sublimation_energy',double(-9e+40),...
+'sublimation_energy_error_index',int32(-999999999),...
+'sublimation_energy_error_lower',double(-9e+40),...
+'sublimation_energy_error_upper',double(-9e+40),...
+'z_n',double(-9e+40),...
+'z_n_error_index',int32(-999999999),...
+'z_n_error_lower',double(-9e+40),...
+'z_n_error_upper',double(-9e+40))
 ;}},...
-'velocity_initial',double(-9.0000000000000006360851714687e+40),...
-'velocity_initial_error_index',double(-999999999),...
-'velocity_initial_error_lower',double(-9.0000000000000006360851714687e+40),...
-'velocity_initial_error_upper',double(-9.0000000000000006360851714687e+40))
+'velocity_initial',double(-9e+40),...
+'velocity_initial_error_index',int32(-999999999),...
+'velocity_initial_error_lower',double(-9e+40),...
+'velocity_initial_error_upper',double(-9e+40))
 ;}},...
-'time',double(-9.0000000000000006360851714687e+40))
+'time',double(-9e+40))
 ;}});
diff --git a/matlab/TCV_IMAS/ids_empty/ids_empty_pf_active.m b/matlab/TCV_IMAS/ids_empty/ids_empty_pf_active.m
index 93b985d74eb2ee53b067460076079764c6a3abb1..e6c898fa8e0097725f809881022652e149fd9ac8 100644
--- a/matlab/TCV_IMAS/ids_empty/ids_empty_pf_active.m
+++ b/matlab/TCV_IMAS/ids_empty/ids_empty_pf_active.m
@@ -6,202 +6,231 @@ function S = ids_empty_pf_active
 S = ... 
 struct(...
 'circuit',{{struct(...
-'connections',double([]),...
+'connections',int32([]),...
 'current',struct(...
 'data',double([]),...
-'data_error_index',double(-999999999),...
+'data_error_index',int32(-999999999),...
 'data_error_lower',double([]),...
 'data_error_upper',double([]),...
 'time',double([])),...
-'identifier',double([]),...
-'name',double([]),...
-'type',double([]),...
+'identifier','',...
+'name','',...
+'type','',...
 'voltage',struct(...
 'data',double([]),...
-'data_error_index',double(-999999999),...
+'data_error_index',int32(-999999999),...
 'data_error_lower',double([]),...
 'data_error_upper',double([]),...
 'time',double([])))
 ;}},...
 'code',struct(...
-'commit',double([]),...
-'name',double([]),...
-'output_flag',double([]),...
-'parameters',double([]),...
-'repository',double([]),...
-'version',double([])),...
+'commit','',...
+'name','',...
+'output_flag',int32([]),...
+'parameters','',...
+'repository','',...
+'version',''),...
 'coil',{{struct(...
 'b_field_max',double([]),...
-'b_field_max_error_index',double(-999999999),...
+'b_field_max_error_index',int32(-999999999),...
 'b_field_max_error_lower',double([]),...
 'b_field_max_error_upper',double([]),...
 'current',struct(...
 'data',double([]),...
-'data_error_index',double(-999999999),...
+'data_error_index',int32(-999999999),...
 'data_error_lower',double([]),...
 'data_error_upper',double([]),...
 'time',double([])),...
 'current_limit_max',double([]),...
-'current_limit_max_error_index',double(-999999999),...
+'current_limit_max_error_index',int32(-999999999),...
 'current_limit_max_error_lower',double([]),...
 'current_limit_max_error_upper',double([]),...
 'element',{{struct(...
-'area',double(-9.0000000000000006360851714687e+40),...
-'area_error_index',double(-999999999),...
-'area_error_lower',double(-9.0000000000000006360851714687e+40),...
-'area_error_upper',double(-9.0000000000000006360851714687e+40),...
+'area',double(-9e+40),...
+'area_error_index',int32(-999999999),...
+'area_error_lower',double(-9e+40),...
+'area_error_upper',double(-9e+40),...
 'geometry',struct(...
 'arcs_of_circle',struct(...
 'curvature_radii',double([]),...
-'curvature_radii_error_index',double(-999999999),...
+'curvature_radii_error_index',int32(-999999999),...
 'curvature_radii_error_lower',double([]),...
 'curvature_radii_error_upper',double([]),...
 'r',double([]),...
-'r_error_index',double(-999999999),...
+'r_error_index',int32(-999999999),...
 'r_error_lower',double([]),...
 'r_error_upper',double([]),...
 'z',double([]),...
-'z_error_index',double(-999999999),...
+'z_error_index',int32(-999999999),...
 'z_error_lower',double([]),...
 'z_error_upper',double([])),...
-'geometry_type',double(-999999999),...
+'geometry_type',int32(-999999999),...
+'oblique',struct(...
+'alpha',double(-9e+40),...
+'alpha_error_index',int32(-999999999),...
+'alpha_error_lower',double(-9e+40),...
+'alpha_error_upper',double(-9e+40),...
+'beta',double(-9e+40),...
+'beta_error_index',int32(-999999999),...
+'beta_error_lower',double(-9e+40),...
+'beta_error_upper',double(-9e+40),...
+'length',double(-9e+40),...
+'length_error_index',int32(-999999999),...
+'length_error_lower',double(-9e+40),...
+'length_error_upper',double(-9e+40),...
+'r',double(-9e+40),...
+'r_error_index',int32(-999999999),...
+'r_error_lower',double(-9e+40),...
+'r_error_upper',double(-9e+40),...
+'thickness',double(-9e+40),...
+'thickness_error_index',int32(-999999999),...
+'thickness_error_lower',double(-9e+40),...
+'thickness_error_upper',double(-9e+40),...
+'z',double(-9e+40),...
+'z_error_index',int32(-999999999),...
+'z_error_lower',double(-9e+40),...
+'z_error_upper',double(-9e+40)),...
 'outline',struct(...
 'r',double([]),...
-'r_error_index',double(-999999999),...
+'r_error_index',int32(-999999999),...
 'r_error_lower',double([]),...
 'r_error_upper',double([]),...
 'z',double([]),...
-'z_error_index',double(-999999999),...
+'z_error_index',int32(-999999999),...
 'z_error_lower',double([]),...
 'z_error_upper',double([])),...
 'rectangle',struct(...
-'height',double(-9.0000000000000006360851714687e+40),...
-'height_error_index',double(-999999999),...
-'height_error_lower',double(-9.0000000000000006360851714687e+40),...
-'height_error_upper',double(-9.0000000000000006360851714687e+40),...
-'r',double(-9.0000000000000006360851714687e+40),...
-'r_error_index',double(-999999999),...
-'r_error_lower',double(-9.0000000000000006360851714687e+40),...
-'r_error_upper',double(-9.0000000000000006360851714687e+40),...
-'width',double(-9.0000000000000006360851714687e+40),...
-'width_error_index',double(-999999999),...
-'width_error_lower',double(-9.0000000000000006360851714687e+40),...
-'width_error_upper',double(-9.0000000000000006360851714687e+40),...
-'z',double(-9.0000000000000006360851714687e+40),...
-'z_error_index',double(-999999999),...
-'z_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_error_upper',double(-9.0000000000000006360851714687e+40))),...
-'identifier',double([]),...
-'name',double([]),...
-'turns_with_sign',double(-9.0000000000000006360851714687e+40),...
-'turns_with_sign_error_index',double(-999999999),...
-'turns_with_sign_error_lower',double(-9.0000000000000006360851714687e+40),...
-'turns_with_sign_error_upper',double(-9.0000000000000006360851714687e+40))
+'height',double(-9e+40),...
+'height_error_index',int32(-999999999),...
+'height_error_lower',double(-9e+40),...
+'height_error_upper',double(-9e+40),...
+'r',double(-9e+40),...
+'r_error_index',int32(-999999999),...
+'r_error_lower',double(-9e+40),...
+'r_error_upper',double(-9e+40),...
+'width',double(-9e+40),...
+'width_error_index',int32(-999999999),...
+'width_error_lower',double(-9e+40),...
+'width_error_upper',double(-9e+40),...
+'z',double(-9e+40),...
+'z_error_index',int32(-999999999),...
+'z_error_lower',double(-9e+40),...
+'z_error_upper',double(-9e+40))),...
+'identifier','',...
+'name','',...
+'turns_with_sign',double(-9e+40),...
+'turns_with_sign_error_index',int32(-999999999),...
+'turns_with_sign_error_lower',double(-9e+40),...
+'turns_with_sign_error_upper',double(-9e+40))
 ;}},...
-'energy_limit_max',double(-9.0000000000000006360851714687e+40),...
-'energy_limit_max_error_index',double(-999999999),...
-'energy_limit_max_error_lower',double(-9.0000000000000006360851714687e+40),...
-'energy_limit_max_error_upper',double(-9.0000000000000006360851714687e+40),...
-'identifier',double([]),...
-'name',double([]),...
-'resistance',double(-9.0000000000000006360851714687e+40),...
-'resistance_error_index',double(-999999999),...
-'resistance_error_lower',double(-9.0000000000000006360851714687e+40),...
-'resistance_error_upper',double(-9.0000000000000006360851714687e+40),...
+'energy_limit_max',double(-9e+40),...
+'energy_limit_max_error_index',int32(-999999999),...
+'energy_limit_max_error_lower',double(-9e+40),...
+'energy_limit_max_error_upper',double(-9e+40),...
+'identifier','',...
+'name','',...
+'resistance',double(-9e+40),...
+'resistance_error_index',int32(-999999999),...
+'resistance_error_lower',double(-9e+40),...
+'resistance_error_upper',double(-9e+40),...
 'temperature',double([]),...
-'temperature_error_index',double(-999999999),...
+'temperature_error_index',int32(-999999999),...
 'temperature_error_lower',double([]),...
 'temperature_error_upper',double([]),...
 'voltage',struct(...
 'data',double([]),...
-'data_error_index',double(-999999999),...
+'data_error_index',int32(-999999999),...
 'data_error_lower',double([]),...
 'data_error_upper',double([]),...
 'time',double([])))
 ;}},...
 'ids_properties',struct(...
-'comment',double([]),...
-'creation_date',double([]),...
-'homogeneous_time',double(-999999999),...
-'provider',double([]),...
-'source',double([])),...
+'comment','',...
+'creation_date','',...
+'homogeneous_time',int32(-999999999),...
+'provider','',...
+'source','',...
+'version_put',struct(...
+'access_layer','',...
+'access_layer_language','',...
+'data_dictionary','')),...
 'supply',{{struct(...
 'current',struct(...
 'data',double([]),...
-'data_error_index',double(-999999999),...
+'data_error_index',int32(-999999999),...
 'data_error_lower',double([]),...
 'data_error_upper',double([]),...
 'time',double([])),...
-'current_limit_max',double(-9.0000000000000006360851714687e+40),...
-'current_limit_max_error_index',double(-999999999),...
-'current_limit_max_error_lower',double(-9.0000000000000006360851714687e+40),...
-'current_limit_max_error_upper',double(-9.0000000000000006360851714687e+40),...
-'current_limit_min',double(-9.0000000000000006360851714687e+40),...
-'current_limit_min_error_index',double(-999999999),...
-'current_limit_min_error_lower',double(-9.0000000000000006360851714687e+40),...
-'current_limit_min_error_upper',double(-9.0000000000000006360851714687e+40),...
-'current_limiter_gain',double(-9.0000000000000006360851714687e+40),...
-'current_limiter_gain_error_index',double(-999999999),...
-'current_limiter_gain_error_lower',double(-9.0000000000000006360851714687e+40),...
-'current_limiter_gain_error_upper',double(-9.0000000000000006360851714687e+40),...
-'delay',double(-9.0000000000000006360851714687e+40),...
-'delay_error_index',double(-999999999),...
-'delay_error_lower',double(-9.0000000000000006360851714687e+40),...
-'delay_error_upper',double(-9.0000000000000006360851714687e+40),...
-'energy_limit_max',double(-9.0000000000000006360851714687e+40),...
-'energy_limit_max_error_index',double(-999999999),...
-'energy_limit_max_error_lower',double(-9.0000000000000006360851714687e+40),...
-'energy_limit_max_error_upper',double(-9.0000000000000006360851714687e+40),...
+'current_limit_max',double(-9e+40),...
+'current_limit_max_error_index',int32(-999999999),...
+'current_limit_max_error_lower',double(-9e+40),...
+'current_limit_max_error_upper',double(-9e+40),...
+'current_limit_min',double(-9e+40),...
+'current_limit_min_error_index',int32(-999999999),...
+'current_limit_min_error_lower',double(-9e+40),...
+'current_limit_min_error_upper',double(-9e+40),...
+'current_limiter_gain',double(-9e+40),...
+'current_limiter_gain_error_index',int32(-999999999),...
+'current_limiter_gain_error_lower',double(-9e+40),...
+'current_limiter_gain_error_upper',double(-9e+40),...
+'delay',double(-9e+40),...
+'delay_error_index',int32(-999999999),...
+'delay_error_lower',double(-9e+40),...
+'delay_error_upper',double(-9e+40),...
+'energy_limit_max',double(-9e+40),...
+'energy_limit_max_error_index',int32(-999999999),...
+'energy_limit_max_error_lower',double(-9e+40),...
+'energy_limit_max_error_upper',double(-9e+40),...
 'filter_denominator',double([]),...
-'filter_denominator_error_index',double(-999999999),...
+'filter_denominator_error_index',int32(-999999999),...
 'filter_denominator_error_lower',double([]),...
 'filter_denominator_error_upper',double([]),...
 'filter_numerator',double([]),...
-'filter_numerator_error_index',double(-999999999),...
+'filter_numerator_error_index',int32(-999999999),...
 'filter_numerator_error_lower',double([]),...
 'filter_numerator_error_upper',double([]),...
-'identifier',double([]),...
-'name',double([]),...
-'nonlinear_model',double([]),...
-'resistance',double(-9.0000000000000006360851714687e+40),...
-'resistance_error_index',double(-999999999),...
-'resistance_error_lower',double(-9.0000000000000006360851714687e+40),...
-'resistance_error_upper',double(-9.0000000000000006360851714687e+40),...
-'type',double(-999999999),...
+'identifier','',...
+'name','',...
+'nonlinear_model','',...
+'resistance',double(-9e+40),...
+'resistance_error_index',int32(-999999999),...
+'resistance_error_lower',double(-9e+40),...
+'resistance_error_upper',double(-9e+40),...
+'type',int32(-999999999),...
 'voltage',struct(...
 'data',double([]),...
-'data_error_index',double(-999999999),...
+'data_error_index',int32(-999999999),...
 'data_error_lower',double([]),...
 'data_error_upper',double([]),...
 'time',double([])),...
-'voltage_limit_max',double(-9.0000000000000006360851714687e+40),...
-'voltage_limit_max_error_index',double(-999999999),...
-'voltage_limit_max_error_lower',double(-9.0000000000000006360851714687e+40),...
-'voltage_limit_max_error_upper',double(-9.0000000000000006360851714687e+40),...
-'voltage_limit_min',double(-9.0000000000000006360851714687e+40),...
-'voltage_limit_min_error_index',double(-999999999),...
-'voltage_limit_min_error_lower',double(-9.0000000000000006360851714687e+40),...
-'voltage_limit_min_error_upper',double(-9.0000000000000006360851714687e+40))
+'voltage_limit_max',double(-9e+40),...
+'voltage_limit_max_error_index',int32(-999999999),...
+'voltage_limit_max_error_lower',double(-9e+40),...
+'voltage_limit_max_error_upper',double(-9e+40),...
+'voltage_limit_min',double(-9e+40),...
+'voltage_limit_min_error_index',int32(-999999999),...
+'voltage_limit_min_error_lower',double(-9e+40),...
+'voltage_limit_min_error_upper',double(-9e+40))
 ;}},...
 'time',double([]),...
 'vertical_force',{{struct(...
 'combination',double([]),...
-'combination_error_index',double(-999999999),...
+'combination_error_index',int32(-999999999),...
 'combination_error_lower',double([]),...
 'combination_error_upper',double([]),...
 'force',struct(...
 'data',double([]),...
-'data_error_index',double(-999999999),...
+'data_error_index',int32(-999999999),...
 'data_error_lower',double([]),...
 'data_error_upper',double([]),...
 'time',double([])),...
-'limit_max',double(-9.0000000000000006360851714687e+40),...
-'limit_max_error_index',double(-999999999),...
-'limit_max_error_lower',double(-9.0000000000000006360851714687e+40),...
-'limit_max_error_upper',double(-9.0000000000000006360851714687e+40),...
-'limit_min',double(-9.0000000000000006360851714687e+40),...
-'limit_min_error_index',double(-999999999),...
-'limit_min_error_lower',double(-9.0000000000000006360851714687e+40),...
-'limit_min_error_upper',double(-9.0000000000000006360851714687e+40),...
-'name',double([]))
+'limit_max',double(-9e+40),...
+'limit_max_error_index',int32(-999999999),...
+'limit_max_error_lower',double(-9e+40),...
+'limit_max_error_upper',double(-9e+40),...
+'limit_min',double(-9e+40),...
+'limit_min_error_index',int32(-999999999),...
+'limit_min_error_lower',double(-9e+40),...
+'limit_min_error_upper',double(-9e+40),...
+'name','')
 ;}});
diff --git a/matlab/TCV_IMAS/ids_empty/ids_empty_pf_passive.m b/matlab/TCV_IMAS/ids_empty/ids_empty_pf_passive.m
index 2b52e692e8dacb8e680bfd11201fbaa480dd4276..075bb68076c8d69bab4dbf42cb27b4897ff7bbca 100644
--- a/matlab/TCV_IMAS/ids_empty/ids_empty_pf_passive.m
+++ b/matlab/TCV_IMAS/ids_empty/ids_empty_pf_passive.m
@@ -6,84 +6,113 @@ function S = ids_empty_pf_passive
 S = ... 
 struct(...
 'code',struct(...
-'commit',double([]),...
-'name',double([]),...
-'output_flag',double([]),...
-'parameters',double([]),...
-'repository',double([]),...
-'version',double([])),...
+'commit','',...
+'name','',...
+'output_flag',int32([]),...
+'parameters','',...
+'repository','',...
+'version',''),...
 'ids_properties',struct(...
-'comment',double([]),...
-'creation_date',double([]),...
-'homogeneous_time',double(-999999999),...
-'provider',double([]),...
-'source',double([])),...
+'comment','',...
+'creation_date','',...
+'homogeneous_time',int32(-999999999),...
+'provider','',...
+'source','',...
+'version_put',struct(...
+'access_layer','',...
+'access_layer_language','',...
+'data_dictionary','')),...
 'loop',{{struct(...
 'current',double([]),...
-'current_error_index',double(-999999999),...
+'current_error_index',int32(-999999999),...
 'current_error_lower',double([]),...
 'current_error_upper',double([]),...
 'element',{{struct(...
-'area',double(-9.0000000000000006360851714687e+40),...
-'area_error_index',double(-999999999),...
-'area_error_lower',double(-9.0000000000000006360851714687e+40),...
-'area_error_upper',double(-9.0000000000000006360851714687e+40),...
+'area',double(-9e+40),...
+'area_error_index',int32(-999999999),...
+'area_error_lower',double(-9e+40),...
+'area_error_upper',double(-9e+40),...
 'geometry',struct(...
 'arcs_of_circle',struct(...
 'curvature_radii',double([]),...
-'curvature_radii_error_index',double(-999999999),...
+'curvature_radii_error_index',int32(-999999999),...
 'curvature_radii_error_lower',double([]),...
 'curvature_radii_error_upper',double([]),...
 'r',double([]),...
-'r_error_index',double(-999999999),...
+'r_error_index',int32(-999999999),...
 'r_error_lower',double([]),...
 'r_error_upper',double([]),...
 'z',double([]),...
-'z_error_index',double(-999999999),...
+'z_error_index',int32(-999999999),...
 'z_error_lower',double([]),...
 'z_error_upper',double([])),...
-'geometry_type',double(-999999999),...
+'geometry_type',int32(-999999999),...
+'oblique',struct(...
+'alpha',double(-9e+40),...
+'alpha_error_index',int32(-999999999),...
+'alpha_error_lower',double(-9e+40),...
+'alpha_error_upper',double(-9e+40),...
+'beta',double(-9e+40),...
+'beta_error_index',int32(-999999999),...
+'beta_error_lower',double(-9e+40),...
+'beta_error_upper',double(-9e+40),...
+'length',double(-9e+40),...
+'length_error_index',int32(-999999999),...
+'length_error_lower',double(-9e+40),...
+'length_error_upper',double(-9e+40),...
+'r',double(-9e+40),...
+'r_error_index',int32(-999999999),...
+'r_error_lower',double(-9e+40),...
+'r_error_upper',double(-9e+40),...
+'thickness',double(-9e+40),...
+'thickness_error_index',int32(-999999999),...
+'thickness_error_lower',double(-9e+40),...
+'thickness_error_upper',double(-9e+40),...
+'z',double(-9e+40),...
+'z_error_index',int32(-999999999),...
+'z_error_lower',double(-9e+40),...
+'z_error_upper',double(-9e+40)),...
 'outline',struct(...
 'r',double([]),...
-'r_error_index',double(-999999999),...
+'r_error_index',int32(-999999999),...
 'r_error_lower',double([]),...
 'r_error_upper',double([]),...
 'z',double([]),...
-'z_error_index',double(-999999999),...
+'z_error_index',int32(-999999999),...
 'z_error_lower',double([]),...
 'z_error_upper',double([])),...
 'rectangle',struct(...
-'height',double(-9.0000000000000006360851714687e+40),...
-'height_error_index',double(-999999999),...
-'height_error_lower',double(-9.0000000000000006360851714687e+40),...
-'height_error_upper',double(-9.0000000000000006360851714687e+40),...
-'r',double(-9.0000000000000006360851714687e+40),...
-'r_error_index',double(-999999999),...
-'r_error_lower',double(-9.0000000000000006360851714687e+40),...
-'r_error_upper',double(-9.0000000000000006360851714687e+40),...
-'width',double(-9.0000000000000006360851714687e+40),...
-'width_error_index',double(-999999999),...
-'width_error_lower',double(-9.0000000000000006360851714687e+40),...
-'width_error_upper',double(-9.0000000000000006360851714687e+40),...
-'z',double(-9.0000000000000006360851714687e+40),...
-'z_error_index',double(-999999999),...
-'z_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_error_upper',double(-9.0000000000000006360851714687e+40))),...
-'identifier',double([]),...
-'name',double([]),...
-'turns_with_sign',double(-9.0000000000000006360851714687e+40),...
-'turns_with_sign_error_index',double(-999999999),...
-'turns_with_sign_error_lower',double(-9.0000000000000006360851714687e+40),...
-'turns_with_sign_error_upper',double(-9.0000000000000006360851714687e+40))
+'height',double(-9e+40),...
+'height_error_index',int32(-999999999),...
+'height_error_lower',double(-9e+40),...
+'height_error_upper',double(-9e+40),...
+'r',double(-9e+40),...
+'r_error_index',int32(-999999999),...
+'r_error_lower',double(-9e+40),...
+'r_error_upper',double(-9e+40),...
+'width',double(-9e+40),...
+'width_error_index',int32(-999999999),...
+'width_error_lower',double(-9e+40),...
+'width_error_upper',double(-9e+40),...
+'z',double(-9e+40),...
+'z_error_index',int32(-999999999),...
+'z_error_lower',double(-9e+40),...
+'z_error_upper',double(-9e+40))),...
+'identifier','',...
+'name','',...
+'turns_with_sign',double(-9e+40),...
+'turns_with_sign_error_index',int32(-999999999),...
+'turns_with_sign_error_lower',double(-9e+40),...
+'turns_with_sign_error_upper',double(-9e+40))
 ;}},...
-'name',double([]),...
-'resistance',double(-9.0000000000000006360851714687e+40),...
-'resistance_error_index',double(-999999999),...
-'resistance_error_lower',double(-9.0000000000000006360851714687e+40),...
-'resistance_error_upper',double(-9.0000000000000006360851714687e+40),...
-'resistivity',double(-9.0000000000000006360851714687e+40),...
-'resistivity_error_index',double(-999999999),...
-'resistivity_error_lower',double(-9.0000000000000006360851714687e+40),...
-'resistivity_error_upper',double(-9.0000000000000006360851714687e+40))
+'name','',...
+'resistance',double(-9e+40),...
+'resistance_error_index',int32(-999999999),...
+'resistance_error_lower',double(-9e+40),...
+'resistance_error_upper',double(-9e+40),...
+'resistivity',double(-9e+40),...
+'resistivity_error_index',int32(-999999999),...
+'resistivity_error_lower',double(-9e+40),...
+'resistivity_error_upper',double(-9e+40))
 ;}},...
 'time',double([]));
diff --git a/matlab/TCV_IMAS/ids_empty/ids_empty_polarimeter.m b/matlab/TCV_IMAS/ids_empty/ids_empty_polarimeter.m
index e90bab0dddb0bc79c3c86c4e2d48188650e21b56..8085e55f5d0818fc042e1ab7eb6e6254588f5cff 100644
--- a/matlab/TCV_IMAS/ids_empty/ids_empty_polarimeter.m
+++ b/matlab/TCV_IMAS/ids_empty/ids_empty_polarimeter.m
@@ -8,84 +8,90 @@ struct(...
 'channel',{{struct(...
 'ellipticity',struct(...
 'data',double([]),...
-'data_error_index',double(-999999999),...
+'data_error_index',int32(-999999999),...
 'data_error_lower',double([]),...
 'data_error_upper',double([]),...
-'time',double([])),...
-'ellipticity_initial',double(-9.0000000000000006360851714687e+40),...
-'ellipticity_initial_error_index',double(-999999999),...
-'ellipticity_initial_error_lower',double(-9.0000000000000006360851714687e+40),...
-'ellipticity_initial_error_upper',double(-9.0000000000000006360851714687e+40),...
-'ellipticity_validity',double(-999999999),...
+'time',double([]),...
+'validity',int32(-999999999),...
+'validity_timed',int32([])),...
+'ellipticity_initial',double(-9e+40),...
+'ellipticity_initial_error_index',int32(-999999999),...
+'ellipticity_initial_error_lower',double(-9e+40),...
+'ellipticity_initial_error_upper',double(-9e+40),...
 'faraday_angle',struct(...
 'data',double([]),...
-'data_error_index',double(-999999999),...
+'data_error_index',int32(-999999999),...
 'data_error_lower',double([]),...
 'data_error_upper',double([]),...
-'time',double([])),...
-'faraday_angle_validity',double(-999999999),...
-'identifier',double([]),...
+'time',double([]),...
+'validity',int32(-999999999),...
+'validity_timed',int32([])),...
+'identifier','',...
 'line_of_sight',struct(...
 'first_point',struct(...
-'phi',double(-9.0000000000000006360851714687e+40),...
-'phi_error_index',double(-999999999),...
-'phi_error_lower',double(-9.0000000000000006360851714687e+40),...
-'phi_error_upper',double(-9.0000000000000006360851714687e+40),...
-'r',double(-9.0000000000000006360851714687e+40),...
-'r_error_index',double(-999999999),...
-'r_error_lower',double(-9.0000000000000006360851714687e+40),...
-'r_error_upper',double(-9.0000000000000006360851714687e+40),...
-'z',double(-9.0000000000000006360851714687e+40),...
-'z_error_index',double(-999999999),...
-'z_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_error_upper',double(-9.0000000000000006360851714687e+40)),...
+'phi',double(-9e+40),...
+'phi_error_index',int32(-999999999),...
+'phi_error_lower',double(-9e+40),...
+'phi_error_upper',double(-9e+40),...
+'r',double(-9e+40),...
+'r_error_index',int32(-999999999),...
+'r_error_lower',double(-9e+40),...
+'r_error_upper',double(-9e+40),...
+'z',double(-9e+40),...
+'z_error_index',int32(-999999999),...
+'z_error_lower',double(-9e+40),...
+'z_error_upper',double(-9e+40)),...
 'second_point',struct(...
-'phi',double(-9.0000000000000006360851714687e+40),...
-'phi_error_index',double(-999999999),...
-'phi_error_lower',double(-9.0000000000000006360851714687e+40),...
-'phi_error_upper',double(-9.0000000000000006360851714687e+40),...
-'r',double(-9.0000000000000006360851714687e+40),...
-'r_error_index',double(-999999999),...
-'r_error_lower',double(-9.0000000000000006360851714687e+40),...
-'r_error_upper',double(-9.0000000000000006360851714687e+40),...
-'z',double(-9.0000000000000006360851714687e+40),...
-'z_error_index',double(-999999999),...
-'z_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_error_upper',double(-9.0000000000000006360851714687e+40)),...
+'phi',double(-9e+40),...
+'phi_error_index',int32(-999999999),...
+'phi_error_lower',double(-9e+40),...
+'phi_error_upper',double(-9e+40),...
+'r',double(-9e+40),...
+'r_error_index',int32(-999999999),...
+'r_error_lower',double(-9e+40),...
+'r_error_upper',double(-9e+40),...
+'z',double(-9e+40),...
+'z_error_index',int32(-999999999),...
+'z_error_lower',double(-9e+40),...
+'z_error_upper',double(-9e+40)),...
 'third_point',struct(...
-'phi',double(-9.0000000000000006360851714687e+40),...
-'phi_error_index',double(-999999999),...
-'phi_error_lower',double(-9.0000000000000006360851714687e+40),...
-'phi_error_upper',double(-9.0000000000000006360851714687e+40),...
-'r',double(-9.0000000000000006360851714687e+40),...
-'r_error_index',double(-999999999),...
-'r_error_lower',double(-9.0000000000000006360851714687e+40),...
-'r_error_upper',double(-9.0000000000000006360851714687e+40),...
-'z',double(-9.0000000000000006360851714687e+40),...
-'z_error_index',double(-999999999),...
-'z_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_error_upper',double(-9.0000000000000006360851714687e+40))),...
-'name',double([]),...
-'polarisation_initial',double(-9.0000000000000006360851714687e+40),...
-'polarisation_initial_error_index',double(-999999999),...
-'polarisation_initial_error_lower',double(-9.0000000000000006360851714687e+40),...
-'polarisation_initial_error_upper',double(-9.0000000000000006360851714687e+40),...
-'wavelength',double(-9.0000000000000006360851714687e+40),...
-'wavelength_error_index',double(-999999999),...
-'wavelength_error_lower',double(-9.0000000000000006360851714687e+40),...
-'wavelength_error_upper',double(-9.0000000000000006360851714687e+40))
+'phi',double(-9e+40),...
+'phi_error_index',int32(-999999999),...
+'phi_error_lower',double(-9e+40),...
+'phi_error_upper',double(-9e+40),...
+'r',double(-9e+40),...
+'r_error_index',int32(-999999999),...
+'r_error_lower',double(-9e+40),...
+'r_error_upper',double(-9e+40),...
+'z',double(-9e+40),...
+'z_error_index',int32(-999999999),...
+'z_error_lower',double(-9e+40),...
+'z_error_upper',double(-9e+40))),...
+'name','',...
+'polarisation_initial',double(-9e+40),...
+'polarisation_initial_error_index',int32(-999999999),...
+'polarisation_initial_error_lower',double(-9e+40),...
+'polarisation_initial_error_upper',double(-9e+40),...
+'wavelength',double(-9e+40),...
+'wavelength_error_index',int32(-999999999),...
+'wavelength_error_lower',double(-9e+40),...
+'wavelength_error_upper',double(-9e+40))
 ;}},...
 'code',struct(...
-'commit',double([]),...
-'name',double([]),...
-'output_flag',double([]),...
-'parameters',double([]),...
-'repository',double([]),...
-'version',double([])),...
+'commit','',...
+'name','',...
+'output_flag',int32([]),...
+'parameters','',...
+'repository','',...
+'version',''),...
 'ids_properties',struct(...
-'comment',double([]),...
-'creation_date',double([]),...
-'homogeneous_time',double(-999999999),...
-'provider',double([]),...
-'source',double([])),...
+'comment','',...
+'creation_date','',...
+'homogeneous_time',int32(-999999999),...
+'provider','',...
+'source','',...
+'version_put',struct(...
+'access_layer','',...
+'access_layer_language','',...
+'data_dictionary','')),...
 'time',double([]));
diff --git a/matlab/TCV_IMAS/ids_empty/ids_empty_pulse_schedule.m b/matlab/TCV_IMAS/ids_empty/ids_empty_pulse_schedule.m
index e92c2478f56ba5cbd453b2204569eb1be57055ac..0271f5fa19db99e2f8fafc5e2bd86a10e836ccd7 100644
--- a/matlab/TCV_IMAS/ids_empty/ids_empty_pulse_schedule.m
+++ b/matlab/TCV_IMAS/ids_empty/ids_empty_pulse_schedule.m
@@ -6,622 +6,622 @@ function S = ids_empty_pulse_schedule
 S = ... 
 struct(...
 'code',struct(...
-'commit',double([]),...
-'name',double([]),...
-'output_flag',double([]),...
-'parameters',double([]),...
-'repository',double([]),...
-'version',double([])),...
+'commit','',...
+'name','',...
+'output_flag',int32([]),...
+'parameters','',...
+'repository','',...
+'version',''),...
 'density_control',struct(...
 'mode',struct(...
-'data',double([]),...
+'data',int32([]),...
 'time',double([])),...
 'n_e_line',struct(...
-'envelope_type',double(-999999999),...
+'envelope_type',int32(-999999999),...
 'reference',struct(...
 'data',double([]),...
-'data_error_index',double(-999999999),...
+'data_error_index',int32(-999999999),...
 'data_error_lower',double([]),...
 'data_error_upper',double([]),...
 'time',double([])),...
-'reference_name',double([]),...
-'reference_type',double(-999999999)),...
+'reference_name','',...
+'reference_type',int32(-999999999)),...
 'n_h_over_n_d',struct(...
-'envelope_type',double(-999999999),...
+'envelope_type',int32(-999999999),...
 'reference',struct(...
 'data',double([]),...
-'data_error_index',double(-999999999),...
+'data_error_index',int32(-999999999),...
 'data_error_lower',double([]),...
 'data_error_upper',double([]),...
 'time',double([])),...
-'reference_name',double([]),...
-'reference_type',double(-999999999)),...
+'reference_name','',...
+'reference_type',int32(-999999999)),...
 'n_t_over_n_d',struct(...
-'envelope_type',double(-999999999),...
+'envelope_type',int32(-999999999),...
 'reference',struct(...
 'data',double([]),...
-'data_error_index',double(-999999999),...
+'data_error_index',int32(-999999999),...
 'data_error_lower',double([]),...
 'data_error_upper',double([]),...
 'time',double([])),...
-'reference_name',double([]),...
-'reference_type',double(-999999999)),...
+'reference_name','',...
+'reference_type',int32(-999999999)),...
 'valve',{{struct(...
 'flow_rate',struct(...
-'envelope_type',double(-999999999),...
+'envelope_type',int32(-999999999),...
 'reference',struct(...
 'data',double([]),...
-'data_error_index',double(-999999999),...
+'data_error_index',int32(-999999999),...
 'data_error_lower',double([]),...
 'data_error_upper',double([]),...
 'time',double([])),...
-'reference_name',double([]),...
-'reference_type',double(-999999999)),...
-'identifier',double([]),...
-'name',double([]),...
+'reference_name','',...
+'reference_type',int32(-999999999)),...
+'identifier','',...
+'name','',...
 'species',{{struct(...
 'element',{{struct(...
-'a',double(-9.0000000000000006360851714687e+40),...
-'a_error_index',double(-999999999),...
-'a_error_lower',double(-9.0000000000000006360851714687e+40),...
-'a_error_upper',double(-9.0000000000000006360851714687e+40),...
-'atoms_n',double(-999999999),...
-'multiplicity',double(-9.0000000000000006360851714687e+40),...
-'multiplicity_error_index',double(-999999999),...
-'multiplicity_error_lower',double(-9.0000000000000006360851714687e+40),...
-'multiplicity_error_upper',double(-9.0000000000000006360851714687e+40),...
-'z_n',double(-9.0000000000000006360851714687e+40),...
-'z_n_error_index',double(-999999999),...
-'z_n_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_n_error_upper',double(-9.0000000000000006360851714687e+40))
+'a',double(-9e+40),...
+'a_error_index',int32(-999999999),...
+'a_error_lower',double(-9e+40),...
+'a_error_upper',double(-9e+40),...
+'atoms_n',int32(-999999999),...
+'multiplicity',double(-9e+40),...
+'multiplicity_error_index',int32(-999999999),...
+'multiplicity_error_lower',double(-9e+40),...
+'multiplicity_error_upper',double(-9e+40),...
+'z_n',double(-9e+40),...
+'z_n_error_index',int32(-999999999),...
+'z_n_error_lower',double(-9e+40),...
+'z_n_error_upper',double(-9e+40))
 ;}},...
-'fraction',double(-999999999),...
-'label',double([]))
+'fraction',double(-9e+40),...
+'fraction_error_index',int32(-999999999),...
+'fraction_error_lower',double(-9e+40),...
+'fraction_error_upper',double(-9e+40),...
+'label','')
 ;}})
 ;}},...
 'zeff',struct(...
-'envelope_type',double(-999999999),...
+'envelope_type',int32(-999999999),...
 'reference',struct(...
 'data',double([]),...
-'data_error_index',double(-999999999),...
+'data_error_index',int32(-999999999),...
 'data_error_lower',double([]),...
 'data_error_upper',double([]),...
 'time',double([])),...
-'reference_name',double([]),...
-'reference_type',double(-999999999))),...
+'reference_name','',...
+'reference_type',int32(-999999999))),...
 'ec',struct(...
-'antenna',{{struct(...
+'launcher',{{struct(...
 'deposition_rho_tor_norm',struct(...
-'envelope_type',double(-999999999),...
+'envelope_type',int32(-999999999),...
 'reference',struct(...
 'data',double([]),...
-'data_error_index',double(-999999999),...
+'data_error_index',int32(-999999999),...
 'data_error_lower',double([]),...
 'data_error_upper',double([]),...
 'time',double([])),...
-'reference_name',double([]),...
-'reference_type',double(-999999999)),...
+'reference_name','',...
+'reference_type',int32(-999999999)),...
 'frequency',struct(...
-'envelope_type',double(-999999999),...
+'envelope_type',int32(-999999999),...
 'reference',struct(...
 'data',double([]),...
-'data_error_index',double(-999999999),...
+'data_error_index',int32(-999999999),...
 'data_error_lower',double([]),...
 'data_error_upper',double([]),...
 'time',double([])),...
-'reference_name',double([]),...
-'reference_type',double(-999999999)),...
-'identifier',double([]),...
-'launching_angle_pol',struct(...
-'envelope_type',double(-999999999),...
+'reference_name','',...
+'reference_type',int32(-999999999)),...
+'identifier','',...
+'name','',...
+'power',struct(...
+'envelope_type',int32(-999999999),...
 'reference',struct(...
 'data',double([]),...
-'data_error_index',double(-999999999),...
+'data_error_index',int32(-999999999),...
 'data_error_lower',double([]),...
 'data_error_upper',double([]),...
 'time',double([])),...
-'reference_name',double([]),...
-'reference_type',double(-999999999)),...
-'launching_angle_tor',struct(...
-'envelope_type',double(-999999999),...
+'reference_name','',...
+'reference_type',int32(-999999999)),...
+'power_type',struct(...
+'description','',...
+'index',int32(-999999999),...
+'name',''),...
+'steering_angle_pol',struct(...
+'envelope_type',int32(-999999999),...
 'reference',struct(...
 'data',double([]),...
-'data_error_index',double(-999999999),...
+'data_error_index',int32(-999999999),...
 'data_error_lower',double([]),...
 'data_error_upper',double([]),...
 'time',double([])),...
-'reference_name',double([]),...
-'reference_type',double(-999999999)),...
-'name',double([]),...
-'phase',struct(...
-'envelope_type',double(-999999999),...
+'reference_name','',...
+'reference_type',int32(-999999999)),...
+'steering_angle_tor',struct(...
+'envelope_type',int32(-999999999),...
 'reference',struct(...
 'data',double([]),...
-'data_error_index',double(-999999999),...
+'data_error_index',int32(-999999999),...
 'data_error_lower',double([]),...
 'data_error_upper',double([]),...
 'time',double([])),...
-'reference_name',double([]),...
-'reference_type',double(-999999999)),...
-'power',struct(...
-'envelope_type',double(-999999999),...
-'reference',struct(...
-'data',double([]),...
-'data_error_index',double(-999999999),...
-'data_error_lower',double([]),...
-'data_error_upper',double([]),...
-'time',double([])),...
-'reference_name',double([]),...
-'reference_type',double(-999999999)),...
-'power_type',struct(...
-'description',double([]),...
-'index',double(-999999999),...
-'name',double([])))
+'reference_name','',...
+'reference_type',int32(-999999999)))
 ;}},...
 'mode',struct(...
-'data',double([]),...
+'data',int32([]),...
 'time',double([]))),...
 'event',{{struct(...
 'acquisition_state',struct(...
-'description',double([]),...
-'index',double(-999999999),...
-'name',double([])),...
+'description','',...
+'index',int32(-999999999),...
+'name',''),...
 'acquisition_strategy',struct(...
-'description',double([]),...
-'index',double(-999999999),...
-'name',double([])),...
-'duration',double(-9.0000000000000006360851714687e+40),...
-'duration_error_index',double(-999999999),...
-'duration_error_lower',double(-9.0000000000000006360851714687e+40),...
-'duration_error_upper',double(-9.0000000000000006360851714687e+40),...
-'identifier',double([]),...
-'listeners',{{double([]);}},...
-'provider',double([]),...
-'time_stamp',double(-9.0000000000000006360851714687e+40),...
-'time_stamp_error_index',double(-999999999),...
-'time_stamp_error_lower',double(-9.0000000000000006360851714687e+40),...
-'time_stamp_error_upper',double(-9.0000000000000006360851714687e+40),...
+'description','',...
+'index',int32(-999999999),...
+'name',''),...
+'duration',double(-9e+40),...
+'duration_error_index',int32(-999999999),...
+'duration_error_lower',double(-9e+40),...
+'duration_error_upper',double(-9e+40),...
+'identifier','',...
+'listeners',{{}},...
+'provider','',...
+'time_stamp',double(-9e+40),...
+'time_stamp_error_index',int32(-999999999),...
+'time_stamp_error_lower',double(-9e+40),...
+'time_stamp_error_upper',double(-9e+40),...
 'type',struct(...
-'description',double([]),...
-'index',double(-999999999),...
-'name',double([])))
+'description','',...
+'index',int32(-999999999),...
+'name',''))
 ;}},...
 'flux_control',struct(...
 'beta_normal',struct(...
-'envelope_type',double(-999999999),...
+'envelope_type',int32(-999999999),...
 'reference',struct(...
 'data',double([]),...
-'data_error_index',double(-999999999),...
+'data_error_index',int32(-999999999),...
 'data_error_lower',double([]),...
 'data_error_upper',double([]),...
 'time',double([])),...
-'reference_name',double([]),...
-'reference_type',double(-999999999)),...
+'reference_name','',...
+'reference_type',int32(-999999999)),...
 'i_plasma',struct(...
-'envelope_type',double(-999999999),...
+'envelope_type',int32(-999999999),...
 'reference',struct(...
 'data',double([]),...
-'data_error_index',double(-999999999),...
+'data_error_index',int32(-999999999),...
 'data_error_lower',double([]),...
 'data_error_upper',double([]),...
 'time',double([])),...
-'reference_name',double([]),...
-'reference_type',double(-999999999)),...
+'reference_name','',...
+'reference_type',int32(-999999999)),...
 'li_3',struct(...
-'envelope_type',double(-999999999),...
+'envelope_type',int32(-999999999),...
 'reference',struct(...
 'data',double([]),...
-'data_error_index',double(-999999999),...
+'data_error_index',int32(-999999999),...
 'data_error_lower',double([]),...
 'data_error_upper',double([]),...
 'time',double([])),...
-'reference_name',double([]),...
-'reference_type',double(-999999999)),...
+'reference_name','',...
+'reference_type',int32(-999999999)),...
 'loop_voltage',struct(...
-'envelope_type',double(-999999999),...
+'envelope_type',int32(-999999999),...
 'reference',struct(...
 'data',double([]),...
-'data_error_index',double(-999999999),...
+'data_error_index',int32(-999999999),...
 'data_error_lower',double([]),...
 'data_error_upper',double([]),...
 'time',double([])),...
-'reference_name',double([]),...
-'reference_type',double(-999999999)),...
+'reference_name','',...
+'reference_type',int32(-999999999)),...
 'mode',struct(...
-'data',double([]),...
+'data',int32([]),...
 'time',double([]))),...
 'ic',struct(...
 'antenna',{{struct(...
 'frequency',struct(...
-'envelope_type',double(-999999999),...
+'envelope_type',int32(-999999999),...
 'reference',struct(...
 'data',double([]),...
-'data_error_index',double(-999999999),...
+'data_error_index',int32(-999999999),...
 'data_error_lower',double([]),...
 'data_error_upper',double([]),...
 'time',double([])),...
-'reference_name',double([]),...
-'reference_type',double(-999999999)),...
-'identifier',double([]),...
-'name',double([]),...
+'reference_name','',...
+'reference_type',int32(-999999999)),...
+'identifier','',...
+'name','',...
 'phase',struct(...
-'envelope_type',double(-999999999),...
+'envelope_type',int32(-999999999),...
 'reference',struct(...
 'data',double([]),...
-'data_error_index',double(-999999999),...
+'data_error_index',int32(-999999999),...
 'data_error_lower',double([]),...
 'data_error_upper',double([]),...
 'time',double([])),...
-'reference_name',double([]),...
-'reference_type',double(-999999999)),...
+'reference_name','',...
+'reference_type',int32(-999999999)),...
 'power',struct(...
-'envelope_type',double(-999999999),...
+'envelope_type',int32(-999999999),...
 'reference',struct(...
 'data',double([]),...
-'data_error_index',double(-999999999),...
+'data_error_index',int32(-999999999),...
 'data_error_lower',double([]),...
 'data_error_upper',double([]),...
 'time',double([])),...
-'reference_name',double([]),...
-'reference_type',double(-999999999)),...
+'reference_name','',...
+'reference_type',int32(-999999999)),...
 'power_type',struct(...
-'description',double([]),...
-'index',double(-999999999),...
-'name',double([])))
+'description','',...
+'index',int32(-999999999),...
+'name',''))
 ;}},...
 'mode',struct(...
-'data',double([]),...
+'data',int32([]),...
 'time',double([]))),...
 'ids_properties',struct(...
-'comment',double([]),...
-'creation_date',double([]),...
-'homogeneous_time',double(-999999999),...
-'provider',double([]),...
-'source',double([])),...
+'comment','',...
+'creation_date','',...
+'homogeneous_time',int32(-999999999),...
+'provider','',...
+'source','',...
+'version_put',struct(...
+'access_layer','',...
+'access_layer_language','',...
+'data_dictionary','')),...
 'lh',struct(...
 'antenna',{{struct(...
 'frequency',struct(...
-'envelope_type',double(-999999999),...
+'envelope_type',int32(-999999999),...
 'reference',struct(...
 'data',double([]),...
-'data_error_index',double(-999999999),...
+'data_error_index',int32(-999999999),...
 'data_error_lower',double([]),...
 'data_error_upper',double([]),...
 'time',double([])),...
-'reference_name',double([]),...
-'reference_type',double(-999999999)),...
-'identifier',double([]),...
+'reference_name','',...
+'reference_type',int32(-999999999)),...
+'identifier','',...
 'n_parallel',struct(...
-'envelope_type',double(-999999999),...
+'envelope_type',int32(-999999999),...
 'reference',struct(...
 'data',double([]),...
-'data_error_index',double(-999999999),...
+'data_error_index',int32(-999999999),...
 'data_error_lower',double([]),...
 'data_error_upper',double([]),...
 'time',double([])),...
-'reference_name',double([]),...
-'reference_type',double(-999999999)),...
-'name',double([]),...
+'reference_name','',...
+'reference_type',int32(-999999999)),...
+'name','',...
 'phase',struct(...
-'envelope_type',double(-999999999),...
+'envelope_type',int32(-999999999),...
 'reference',struct(...
 'data',double([]),...
-'data_error_index',double(-999999999),...
+'data_error_index',int32(-999999999),...
 'data_error_lower',double([]),...
 'data_error_upper',double([]),...
 'time',double([])),...
-'reference_name',double([]),...
-'reference_type',double(-999999999)),...
+'reference_name','',...
+'reference_type',int32(-999999999)),...
 'power',struct(...
-'envelope_type',double(-999999999),...
+'envelope_type',int32(-999999999),...
 'reference',struct(...
 'data',double([]),...
-'data_error_index',double(-999999999),...
+'data_error_index',int32(-999999999),...
 'data_error_lower',double([]),...
 'data_error_upper',double([]),...
 'time',double([])),...
-'reference_name',double([]),...
-'reference_type',double(-999999999)),...
+'reference_name','',...
+'reference_type',int32(-999999999)),...
 'power_type',struct(...
-'description',double([]),...
-'index',double(-999999999),...
-'name',double([])))
+'description','',...
+'index',int32(-999999999),...
+'name',''))
 ;}},...
 'mode',struct(...
-'data',double([]),...
+'data',int32([]),...
 'time',double([]))),...
 'nbi',struct(...
 'mode',struct(...
-'data',double([]),...
+'data',int32([]),...
 'time',double([])),...
 'unit',{{struct(...
 'energy',struct(...
-'envelope_type',double(-999999999),...
+'envelope_type',int32(-999999999),...
 'reference',struct(...
 'data',double([]),...
-'data_error_index',double(-999999999),...
+'data_error_index',int32(-999999999),...
 'data_error_lower',double([]),...
 'data_error_upper',double([]),...
 'time',double([])),...
-'reference_name',double([]),...
-'reference_type',double(-999999999)),...
-'identifier',double([]),...
-'name',double([]),...
+'reference_name','',...
+'reference_type',int32(-999999999)),...
+'identifier','',...
+'name','',...
 'power',struct(...
-'envelope_type',double(-999999999),...
+'envelope_type',int32(-999999999),...
 'reference',struct(...
 'data',double([]),...
-'data_error_index',double(-999999999),...
+'data_error_index',int32(-999999999),...
 'data_error_lower',double([]),...
 'data_error_upper',double([]),...
 'time',double([])),...
-'reference_name',double([]),...
-'reference_type',double(-999999999)),...
+'reference_name','',...
+'reference_type',int32(-999999999)),...
 'power_type',struct(...
-'description',double([]),...
-'index',double(-999999999),...
-'name',double([])),...
+'description','',...
+'index',int32(-999999999),...
+'name',''),...
 'species',{{struct(...
 'element',{{struct(...
-'a',double(-9.0000000000000006360851714687e+40),...
-'a_error_index',double(-999999999),...
-'a_error_lower',double(-9.0000000000000006360851714687e+40),...
-'a_error_upper',double(-9.0000000000000006360851714687e+40),...
-'atoms_n',double(-999999999),...
-'multiplicity',double(-9.0000000000000006360851714687e+40),...
-'multiplicity_error_index',double(-999999999),...
-'multiplicity_error_lower',double(-9.0000000000000006360851714687e+40),...
-'multiplicity_error_upper',double(-9.0000000000000006360851714687e+40),...
-'z_n',double(-9.0000000000000006360851714687e+40),...
-'z_n_error_index',double(-999999999),...
-'z_n_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_n_error_upper',double(-9.0000000000000006360851714687e+40))
+'a',double(-9e+40),...
+'a_error_index',int32(-999999999),...
+'a_error_lower',double(-9e+40),...
+'a_error_upper',double(-9e+40),...
+'atoms_n',int32(-999999999),...
+'multiplicity',double(-9e+40),...
+'multiplicity_error_index',int32(-999999999),...
+'multiplicity_error_lower',double(-9e+40),...
+'multiplicity_error_upper',double(-9e+40),...
+'z_n',double(-9e+40),...
+'z_n_error_index',int32(-999999999),...
+'z_n_error_lower',double(-9e+40),...
+'z_n_error_upper',double(-9e+40))
 ;}},...
-'fraction',double(-999999999),...
-'label',double([]))
+'fraction',double(-9e+40),...
+'fraction_error_index',int32(-999999999),...
+'fraction_error_lower',double(-9e+40),...
+'fraction_error_upper',double(-9e+40),...
+'label','')
 ;}})
 ;}}),...
 'position_control',struct(...
 'active_limiter_point',struct(...
 'r',struct(...
-'envelope_type',double(-999999999),...
+'envelope_type',int32(-999999999),...
 'reference',struct(...
 'data',double([]),...
-'data_error_index',double(-999999999),...
+'data_error_index',int32(-999999999),...
 'data_error_lower',double([]),...
 'data_error_upper',double([]),...
 'time',double([])),...
-'reference_name',double([]),...
-'reference_type',double(-999999999)),...
+'reference_name','',...
+'reference_type',int32(-999999999)),...
 'z',struct(...
-'envelope_type',double(-999999999),...
+'envelope_type',int32(-999999999),...
 'reference',struct(...
 'data',double([]),...
-'data_error_index',double(-999999999),...
+'data_error_index',int32(-999999999),...
 'data_error_lower',double([]),...
 'data_error_upper',double([]),...
 'time',double([])),...
-'reference_name',double([]),...
-'reference_type',double(-999999999))),...
+'reference_name','',...
+'reference_type',int32(-999999999))),...
 'boundary_outline',{{struct(...
 'r',struct(...
-'envelope_type',double(-999999999),...
+'envelope_type',int32(-999999999),...
 'reference',struct(...
 'data',double([]),...
-'data_error_index',double(-999999999),...
+'data_error_index',int32(-999999999),...
 'data_error_lower',double([]),...
 'data_error_upper',double([]),...
 'time',double([])),...
-'reference_name',double([]),...
-'reference_type',double(-999999999)),...
+'reference_name','',...
+'reference_type',int32(-999999999)),...
 'z',struct(...
-'envelope_type',double(-999999999),...
+'envelope_type',int32(-999999999),...
 'reference',struct(...
 'data',double([]),...
-'data_error_index',double(-999999999),...
+'data_error_index',int32(-999999999),...
 'data_error_lower',double([]),...
 'data_error_upper',double([]),...
 'time',double([])),...
-'reference_name',double([]),...
-'reference_type',double(-999999999)))
+'reference_name','',...
+'reference_type',int32(-999999999)))
 ;}},...
 'elongation',struct(...
-'envelope_type',double(-999999999),...
+'envelope_type',int32(-999999999),...
 'reference',struct(...
 'data',double([]),...
-'data_error_index',double(-999999999),...
+'data_error_index',int32(-999999999),...
 'data_error_lower',double([]),...
 'data_error_upper',double([]),...
 'time',double([])),...
-'reference_name',double([]),...
-'reference_type',double(-999999999)),...
+'reference_name','',...
+'reference_type',int32(-999999999)),...
 'elongation_lower',struct(...
-'envelope_type',double(-999999999),...
+'envelope_type',int32(-999999999),...
 'reference',struct(...
 'data',double([]),...
-'data_error_index',double(-999999999),...
+'data_error_index',int32(-999999999),...
 'data_error_lower',double([]),...
 'data_error_upper',double([]),...
 'time',double([])),...
-'reference_name',double([]),...
-'reference_type',double(-999999999)),...
+'reference_name','',...
+'reference_type',int32(-999999999)),...
 'elongation_upper',struct(...
-'envelope_type',double(-999999999),...
+'envelope_type',int32(-999999999),...
 'reference',struct(...
 'data',double([]),...
-'data_error_index',double(-999999999),...
+'data_error_index',int32(-999999999),...
 'data_error_lower',double([]),...
 'data_error_upper',double([]),...
 'time',double([])),...
-'reference_name',double([]),...
-'reference_type',double(-999999999)),...
+'reference_name','',...
+'reference_type',int32(-999999999)),...
 'gap',{{struct(...
-'angle',double(-9.0000000000000006360851714687e+40),...
-'angle_error_index',double(-999999999),...
-'angle_error_lower',double(-9.0000000000000006360851714687e+40),...
-'angle_error_upper',double(-9.0000000000000006360851714687e+40),...
-'identifier',double([]),...
-'name',double([]),...
-'r',double(-9.0000000000000006360851714687e+40),...
-'r_error_index',double(-999999999),...
-'r_error_lower',double(-9.0000000000000006360851714687e+40),...
-'r_error_upper',double(-9.0000000000000006360851714687e+40),...
+'angle',double(-9e+40),...
+'angle_error_index',int32(-999999999),...
+'angle_error_lower',double(-9e+40),...
+'angle_error_upper',double(-9e+40),...
+'identifier','',...
+'name','',...
+'r',double(-9e+40),...
+'r_error_index',int32(-999999999),...
+'r_error_lower',double(-9e+40),...
+'r_error_upper',double(-9e+40),...
 'value',struct(...
-'envelope_type',double(-999999999),...
+'envelope_type',int32(-999999999),...
 'reference',struct(...
 'data',double([]),...
-'data_error_index',double(-999999999),...
+'data_error_index',int32(-999999999),...
 'data_error_lower',double([]),...
 'data_error_upper',double([]),...
 'time',double([])),...
-'reference_name',double([]),...
-'reference_type',double(-999999999)),...
-'z',double(-9.0000000000000006360851714687e+40),...
-'z_error_index',double(-999999999),...
-'z_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_error_upper',double(-9.0000000000000006360851714687e+40))
+'reference_name','',...
+'reference_type',int32(-999999999)),...
+'z',double(-9e+40),...
+'z_error_index',int32(-999999999),...
+'z_error_lower',double(-9e+40),...
+'z_error_upper',double(-9e+40))
 ;}},...
 'geometric_axis',struct(...
 'r',struct(...
-'envelope_type',double(-999999999),...
+'envelope_type',int32(-999999999),...
 'reference',struct(...
 'data',double([]),...
-'data_error_index',double(-999999999),...
+'data_error_index',int32(-999999999),...
 'data_error_lower',double([]),...
 'data_error_upper',double([]),...
 'time',double([])),...
-'reference_name',double([]),...
-'reference_type',double(-999999999)),...
+'reference_name','',...
+'reference_type',int32(-999999999)),...
 'z',struct(...
-'envelope_type',double(-999999999),...
+'envelope_type',int32(-999999999),...
 'reference',struct(...
 'data',double([]),...
-'data_error_index',double(-999999999),...
+'data_error_index',int32(-999999999),...
 'data_error_lower',double([]),...
 'data_error_upper',double([]),...
 'time',double([])),...
-'reference_name',double([]),...
-'reference_type',double(-999999999))),...
+'reference_name','',...
+'reference_type',int32(-999999999))),...
 'magnetic_axis',struct(...
 'r',struct(...
-'envelope_type',double(-999999999),...
+'envelope_type',int32(-999999999),...
 'reference',struct(...
 'data',double([]),...
-'data_error_index',double(-999999999),...
+'data_error_index',int32(-999999999),...
 'data_error_lower',double([]),...
 'data_error_upper',double([]),...
 'time',double([])),...
-'reference_name',double([]),...
-'reference_type',double(-999999999)),...
+'reference_name','',...
+'reference_type',int32(-999999999)),...
 'z',struct(...
-'envelope_type',double(-999999999),...
+'envelope_type',int32(-999999999),...
 'reference',struct(...
 'data',double([]),...
-'data_error_index',double(-999999999),...
+'data_error_index',int32(-999999999),...
 'data_error_lower',double([]),...
 'data_error_upper',double([]),...
 'time',double([])),...
-'reference_name',double([]),...
-'reference_type',double(-999999999))),...
+'reference_name','',...
+'reference_type',int32(-999999999))),...
 'minor_radius',struct(...
-'envelope_type',double(-999999999),...
+'envelope_type',int32(-999999999),...
 'reference',struct(...
 'data',double([]),...
-'data_error_index',double(-999999999),...
+'data_error_index',int32(-999999999),...
 'data_error_lower',double([]),...
 'data_error_upper',double([]),...
 'time',double([])),...
-'reference_name',double([]),...
-'reference_type',double(-999999999)),...
+'reference_name','',...
+'reference_type',int32(-999999999)),...
 'mode',struct(...
-'data',double([]),...
+'data',int32([]),...
 'time',double([])),...
 'strike_point',{{struct(...
 'r',struct(...
-'envelope_type',double(-999999999),...
+'envelope_type',int32(-999999999),...
 'reference',struct(...
 'data',double([]),...
-'data_error_index',double(-999999999),...
+'data_error_index',int32(-999999999),...
 'data_error_lower',double([]),...
 'data_error_upper',double([]),...
 'time',double([])),...
-'reference_name',double([]),...
-'reference_type',double(-999999999)),...
+'reference_name','',...
+'reference_type',int32(-999999999)),...
 'z',struct(...
-'envelope_type',double(-999999999),...
+'envelope_type',int32(-999999999),...
 'reference',struct(...
 'data',double([]),...
-'data_error_index',double(-999999999),...
+'data_error_index',int32(-999999999),...
 'data_error_lower',double([]),...
 'data_error_upper',double([]),...
 'time',double([])),...
-'reference_name',double([]),...
-'reference_type',double(-999999999)))
+'reference_name','',...
+'reference_type',int32(-999999999)))
 ;}},...
 'triangularity',struct(...
-'envelope_type',double(-999999999),...
+'envelope_type',int32(-999999999),...
 'reference',struct(...
 'data',double([]),...
-'data_error_index',double(-999999999),...
+'data_error_index',int32(-999999999),...
 'data_error_lower',double([]),...
 'data_error_upper',double([]),...
 'time',double([])),...
-'reference_name',double([]),...
-'reference_type',double(-999999999)),...
+'reference_name','',...
+'reference_type',int32(-999999999)),...
 'triangularity_lower',struct(...
-'envelope_type',double(-999999999),...
+'envelope_type',int32(-999999999),...
 'reference',struct(...
 'data',double([]),...
-'data_error_index',double(-999999999),...
+'data_error_index',int32(-999999999),...
 'data_error_lower',double([]),...
 'data_error_upper',double([]),...
 'time',double([])),...
-'reference_name',double([]),...
-'reference_type',double(-999999999)),...
+'reference_name','',...
+'reference_type',int32(-999999999)),...
 'triangularity_upper',struct(...
-'envelope_type',double(-999999999),...
+'envelope_type',int32(-999999999),...
 'reference',struct(...
 'data',double([]),...
-'data_error_index',double(-999999999),...
+'data_error_index',int32(-999999999),...
 'data_error_lower',double([]),...
 'data_error_upper',double([]),...
 'time',double([])),...
-'reference_name',double([]),...
-'reference_type',double(-999999999)),...
+'reference_name','',...
+'reference_type',int32(-999999999)),...
 'x_point',{{struct(...
 'r',struct(...
-'envelope_type',double(-999999999),...
+'envelope_type',int32(-999999999),...
 'reference',struct(...
 'data',double([]),...
-'data_error_index',double(-999999999),...
+'data_error_index',int32(-999999999),...
 'data_error_lower',double([]),...
 'data_error_upper',double([]),...
 'time',double([])),...
-'reference_name',double([]),...
-'reference_type',double(-999999999)),...
+'reference_name','',...
+'reference_type',int32(-999999999)),...
 'z',struct(...
-'envelope_type',double(-999999999),...
+'envelope_type',int32(-999999999),...
 'reference',struct(...
 'data',double([]),...
-'data_error_index',double(-999999999),...
+'data_error_index',int32(-999999999),...
 'data_error_lower',double([]),...
 'data_error_upper',double([]),...
 'time',double([])),...
-'reference_name',double([]),...
-'reference_type',double(-999999999)))
+'reference_name','',...
+'reference_type',int32(-999999999)))
 ;}}),...
 'tf',struct(...
 'b_field_tor_vacuum_r',struct(...
-'envelope_type',double(-999999999),...
+'envelope_type',int32(-999999999),...
 'reference',struct(...
 'data',double([]),...
-'data_error_index',double(-999999999),...
+'data_error_index',int32(-999999999),...
 'data_error_lower',double([]),...
 'data_error_upper',double([]),...
 'time',double([])),...
-'reference_name',double([]),...
-'reference_type',double(-999999999)),...
+'reference_name','',...
+'reference_type',int32(-999999999)),...
 'mode',struct(...
-'data',double([]),...
+'data',int32([]),...
 'time',double([]))),...
 'time',double([]));
diff --git a/matlab/TCV_IMAS/ids_empty/ids_empty_radiation.m b/matlab/TCV_IMAS/ids_empty/ids_empty_radiation.m
index b2389b6e4deab6940d8afb64c1b0656406cebb75..bfc648bdf128377afe45fcb524f1b4b859d4ec60 100644
--- a/matlab/TCV_IMAS/ids_empty/ids_empty_radiation.m
+++ b/matlab/TCV_IMAS/ids_empty/ids_empty_radiation.m
@@ -6,223 +6,453 @@ function S = ids_empty_radiation
 S = ... 
 struct(...
 'code',struct(...
-'commit',double([]),...
-'name',double([]),...
-'output_flag',double([]),...
-'parameters',double([]),...
-'repository',double([]),...
-'version',double([])),...
+'commit','',...
+'name','',...
+'output_flag',int32([]),...
+'parameters','',...
+'repository','',...
+'version',''),...
+'grid_ggd',{{struct(...
+'grid_subset',{{struct(...
+'base',{{struct(...
+'jacobian',double([]),...
+'jacobian_error_index',int32(-999999999),...
+'jacobian_error_lower',double([]),...
+'jacobian_error_upper',double([]),...
+'tensor_contravariant',double([]),...
+'tensor_contravariant_error_index',int32(-999999999),...
+'tensor_contravariant_error_lower',double([]),...
+'tensor_contravariant_error_upper',double([]),...
+'tensor_covariant',double([]),...
+'tensor_covariant_error_index',int32(-999999999),...
+'tensor_covariant_error_lower',double([]),...
+'tensor_covariant_error_upper',double([]))
+;}},...
+'dimension',int32(-999999999),...
+'element',{{struct(...
+'object',{{struct(...
+'dimension',int32(-999999999),...
+'index',int32(-999999999),...
+'space',int32(-999999999))
+;}})
+;}},...
+'identifier',struct(...
+'description','',...
+'index',int32(-999999999),...
+'name',''),...
+'metric',struct(...
+'jacobian',double([]),...
+'jacobian_error_index',int32(-999999999),...
+'jacobian_error_lower',double([]),...
+'jacobian_error_upper',double([]),...
+'tensor_contravariant',double([]),...
+'tensor_contravariant_error_index',int32(-999999999),...
+'tensor_contravariant_error_lower',double([]),...
+'tensor_contravariant_error_upper',double([]),...
+'tensor_covariant',double([]),...
+'tensor_covariant_error_index',int32(-999999999),...
+'tensor_covariant_error_lower',double([]),...
+'tensor_covariant_error_upper',double([])))
+;}},...
+'identifier',struct(...
+'description','',...
+'index',int32(-999999999),...
+'name',''),...
+'space',{{struct(...
+'coordinates_type',int32([]),...
+'geometry_type',struct(...
+'description','',...
+'index',int32(-999999999),...
+'name',''),...
+'identifier',struct(...
+'description','',...
+'index',int32(-999999999),...
+'name',''),...
+'objects_per_dimension',{{struct(...
+'object',{{struct(...
+'boundary',{{struct(...
+'index',int32(-999999999),...
+'neighbours',int32([]))
+;}},...
+'geometry',double([]),...
+'geometry_error_index',int32(-999999999),...
+'geometry_error_lower',double([]),...
+'geometry_error_upper',double([]),...
+'measure',double(-9e+40),...
+'measure_error_index',int32(-999999999),...
+'measure_error_lower',double(-9e+40),...
+'measure_error_upper',double(-9e+40),...
+'nodes',int32([]))
+;}})
+;}})
+;}},...
+'time',double(-9e+40))
+;}},...
 'ids_properties',struct(...
-'comment',double([]),...
-'creation_date',double([]),...
-'homogeneous_time',double(-999999999),...
-'provider',double([]),...
-'source',double([])),...
+'comment','',...
+'creation_date','',...
+'homogeneous_time',int32(-999999999),...
+'provider','',...
+'source','',...
+'version_put',struct(...
+'access_layer','',...
+'access_layer_language','',...
+'data_dictionary','')),...
 'process',{{struct(...
+'ggd',{{struct(...
+'electrons',struct(...
+'emissivity',{{struct(...
+'coefficients',double([]),...
+'coefficients_error_index',int32(-999999999),...
+'coefficients_error_lower',double([]),...
+'coefficients_error_upper',double([]),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
+'values',double([]),...
+'values_error_index',int32(-999999999),...
+'values_error_lower',double([]),...
+'values_error_upper',double([]))
+;}}),...
+'ion',{{struct(...
+'element',{{struct(...
+'a',double(-9e+40),...
+'a_error_index',int32(-999999999),...
+'a_error_lower',double(-9e+40),...
+'a_error_upper',double(-9e+40),...
+'atoms_n',int32(-999999999),...
+'multiplicity',double(-9e+40),...
+'multiplicity_error_index',int32(-999999999),...
+'multiplicity_error_lower',double(-9e+40),...
+'multiplicity_error_upper',double(-9e+40),...
+'z_n',double(-9e+40),...
+'z_n_error_index',int32(-999999999),...
+'z_n_error_lower',double(-9e+40),...
+'z_n_error_upper',double(-9e+40))
+;}},...
+'emissivity',{{struct(...
+'coefficients',double([]),...
+'coefficients_error_index',int32(-999999999),...
+'coefficients_error_lower',double([]),...
+'coefficients_error_upper',double([]),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
+'values',double([]),...
+'values_error_index',int32(-999999999),...
+'values_error_lower',double([]),...
+'values_error_upper',double([]))
+;}},...
+'label','',...
+'multiple_states_flag',int32(-999999999),...
+'neutral_index',int32(-999999999),...
+'state',{{struct(...
+'electron_configuration','',...
+'emissivity',{{struct(...
+'coefficients',double([]),...
+'coefficients_error_index',int32(-999999999),...
+'coefficients_error_lower',double([]),...
+'coefficients_error_upper',double([]),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
+'values',double([]),...
+'values_error_index',int32(-999999999),...
+'values_error_lower',double([]),...
+'values_error_upper',double([]))
+;}},...
+'label','',...
+'vibrational_level',double(-9e+40),...
+'vibrational_level_error_index',int32(-999999999),...
+'vibrational_level_error_lower',double(-9e+40),...
+'vibrational_level_error_upper',double(-9e+40),...
+'vibrational_mode','',...
+'z_max',double(-9e+40),...
+'z_max_error_index',int32(-999999999),...
+'z_max_error_lower',double(-9e+40),...
+'z_max_error_upper',double(-9e+40),...
+'z_min',double(-9e+40),...
+'z_min_error_index',int32(-999999999),...
+'z_min_error_lower',double(-9e+40),...
+'z_min_error_upper',double(-9e+40))
+;}},...
+'z_ion',double(-9e+40),...
+'z_ion_error_index',int32(-999999999),...
+'z_ion_error_lower',double(-9e+40),...
+'z_ion_error_upper',double(-9e+40))
+;}},...
+'neutral',{{struct(...
+'element',{{struct(...
+'a',double(-9e+40),...
+'a_error_index',int32(-999999999),...
+'a_error_lower',double(-9e+40),...
+'a_error_upper',double(-9e+40),...
+'atoms_n',int32(-999999999),...
+'multiplicity',double(-9e+40),...
+'multiplicity_error_index',int32(-999999999),...
+'multiplicity_error_lower',double(-9e+40),...
+'multiplicity_error_upper',double(-9e+40),...
+'z_n',double(-9e+40),...
+'z_n_error_index',int32(-999999999),...
+'z_n_error_lower',double(-9e+40),...
+'z_n_error_upper',double(-9e+40))
+;}},...
+'emissivity',{{struct(...
+'coefficients',double([]),...
+'coefficients_error_index',int32(-999999999),...
+'coefficients_error_lower',double([]),...
+'coefficients_error_upper',double([]),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
+'values',double([]),...
+'values_error_index',int32(-999999999),...
+'values_error_lower',double([]),...
+'values_error_upper',double([]))
+;}},...
+'ion_index',int32(-999999999),...
+'label','',...
+'multiple_states_flag',int32(-999999999),...
+'state',{{struct(...
+'electron_configuration','',...
+'emissivity',{{struct(...
+'coefficients',double([]),...
+'coefficients_error_index',int32(-999999999),...
+'coefficients_error_lower',double([]),...
+'coefficients_error_upper',double([]),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
+'values',double([]),...
+'values_error_index',int32(-999999999),...
+'values_error_lower',double([]),...
+'values_error_upper',double([]))
+;}},...
+'label','',...
+'neutral_type',struct(...
+'description','',...
+'index',int32(-999999999),...
+'name',''),...
+'vibrational_level',double(-9e+40),...
+'vibrational_level_error_index',int32(-999999999),...
+'vibrational_level_error_lower',double(-9e+40),...
+'vibrational_level_error_upper',double(-9e+40),...
+'vibrational_mode','')
+;}})
+;}},...
+'time',double(-9e+40))
+;}},...
 'global_quantities',{{struct(...
 'inside_lcfs',struct(...
-'power',double(-9.0000000000000006360851714687e+40),...
-'power_electrons',double(-9.0000000000000006360851714687e+40),...
-'power_electrons_error_index',double(-999999999),...
-'power_electrons_error_lower',double(-9.0000000000000006360851714687e+40),...
-'power_electrons_error_upper',double(-9.0000000000000006360851714687e+40),...
-'power_error_index',double(-999999999),...
-'power_error_lower',double(-9.0000000000000006360851714687e+40),...
-'power_error_upper',double(-9.0000000000000006360851714687e+40),...
-'power_ion_total',double(-9.0000000000000006360851714687e+40),...
-'power_ion_total_error_index',double(-999999999),...
-'power_ion_total_error_lower',double(-9.0000000000000006360851714687e+40),...
-'power_ion_total_error_upper',double(-9.0000000000000006360851714687e+40),...
-'power_neutral_total',double(-9.0000000000000006360851714687e+40),...
-'power_neutral_total_error_index',double(-999999999),...
-'power_neutral_total_error_lower',double(-9.0000000000000006360851714687e+40),...
-'power_neutral_total_error_upper',double(-9.0000000000000006360851714687e+40)),...
+'power',double(-9e+40),...
+'power_electrons',double(-9e+40),...
+'power_electrons_error_index',int32(-999999999),...
+'power_electrons_error_lower',double(-9e+40),...
+'power_electrons_error_upper',double(-9e+40),...
+'power_error_index',int32(-999999999),...
+'power_error_lower',double(-9e+40),...
+'power_error_upper',double(-9e+40),...
+'power_ion_total',double(-9e+40),...
+'power_ion_total_error_index',int32(-999999999),...
+'power_ion_total_error_lower',double(-9e+40),...
+'power_ion_total_error_upper',double(-9e+40),...
+'power_neutral_total',double(-9e+40),...
+'power_neutral_total_error_index',int32(-999999999),...
+'power_neutral_total_error_lower',double(-9e+40),...
+'power_neutral_total_error_upper',double(-9e+40)),...
 'inside_vessel',struct(...
-'power',double(-9.0000000000000006360851714687e+40),...
-'power_electrons',double(-9.0000000000000006360851714687e+40),...
-'power_electrons_error_index',double(-999999999),...
-'power_electrons_error_lower',double(-9.0000000000000006360851714687e+40),...
-'power_electrons_error_upper',double(-9.0000000000000006360851714687e+40),...
-'power_error_index',double(-999999999),...
-'power_error_lower',double(-9.0000000000000006360851714687e+40),...
-'power_error_upper',double(-9.0000000000000006360851714687e+40),...
-'power_ion_total',double(-9.0000000000000006360851714687e+40),...
-'power_ion_total_error_index',double(-999999999),...
-'power_ion_total_error_lower',double(-9.0000000000000006360851714687e+40),...
-'power_ion_total_error_upper',double(-9.0000000000000006360851714687e+40),...
-'power_neutral_total',double(-9.0000000000000006360851714687e+40),...
-'power_neutral_total_error_index',double(-999999999),...
-'power_neutral_total_error_lower',double(-9.0000000000000006360851714687e+40),...
-'power_neutral_total_error_upper',double(-9.0000000000000006360851714687e+40)),...
-'time',double(-9.0000000000000006360851714687e+40))
+'power',double(-9e+40),...
+'power_electrons',double(-9e+40),...
+'power_electrons_error_index',int32(-999999999),...
+'power_electrons_error_lower',double(-9e+40),...
+'power_electrons_error_upper',double(-9e+40),...
+'power_error_index',int32(-999999999),...
+'power_error_lower',double(-9e+40),...
+'power_error_upper',double(-9e+40),...
+'power_ion_total',double(-9e+40),...
+'power_ion_total_error_index',int32(-999999999),...
+'power_ion_total_error_lower',double(-9e+40),...
+'power_ion_total_error_upper',double(-9e+40),...
+'power_neutral_total',double(-9e+40),...
+'power_neutral_total_error_index',int32(-999999999),...
+'power_neutral_total_error_lower',double(-9e+40),...
+'power_neutral_total_error_upper',double(-9e+40)),...
+'time',double(-9e+40))
 ;}},...
 'identifier',struct(...
-'description',double([]),...
-'index',double(-999999999),...
-'name',double([])),...
+'description','',...
+'index',int32(-999999999),...
+'name',''),...
 'profiles_1d',{{struct(...
 'electrons',struct(...
 'emissivity',double([]),...
-'emissivity_error_index',double(-999999999),...
+'emissivity_error_index',int32(-999999999),...
 'emissivity_error_lower',double([]),...
 'emissivity_error_upper',double([]),...
 'power_inside',double([]),...
-'power_inside_error_index',double(-999999999),...
+'power_inside_error_index',int32(-999999999),...
 'power_inside_error_lower',double([]),...
 'power_inside_error_upper',double([])),...
 'emissivity_ion_total',double([]),...
-'emissivity_ion_total_error_index',double(-999999999),...
+'emissivity_ion_total_error_index',int32(-999999999),...
 'emissivity_ion_total_error_lower',double([]),...
 'emissivity_ion_total_error_upper',double([]),...
 'emissivity_neutral_total',double([]),...
-'emissivity_neutral_total_error_index',double(-999999999),...
+'emissivity_neutral_total_error_index',int32(-999999999),...
 'emissivity_neutral_total_error_lower',double([]),...
 'emissivity_neutral_total_error_upper',double([]),...
 'grid',struct(...
 'area',double([]),...
-'area_error_index',double(-999999999),...
+'area_error_index',int32(-999999999),...
 'area_error_lower',double([]),...
 'area_error_upper',double([]),...
 'psi',double([]),...
-'psi_error_index',double(-999999999),...
+'psi_boundary',double(-9e+40),...
+'psi_boundary_error_index',int32(-999999999),...
+'psi_boundary_error_lower',double(-9e+40),...
+'psi_boundary_error_upper',double(-9e+40),...
+'psi_error_index',int32(-999999999),...
 'psi_error_lower',double([]),...
 'psi_error_upper',double([]),...
+'psi_magnetic_axis',double(-9e+40),...
+'psi_magnetic_axis_error_index',int32(-999999999),...
+'psi_magnetic_axis_error_lower',double(-9e+40),...
+'psi_magnetic_axis_error_upper',double(-9e+40),...
+'rho_pol_norm',double([]),...
+'rho_pol_norm_error_index',int32(-999999999),...
+'rho_pol_norm_error_lower',double([]),...
+'rho_pol_norm_error_upper',double([]),...
 'rho_tor',double([]),...
-'rho_tor_error_index',double(-999999999),...
+'rho_tor_error_index',int32(-999999999),...
 'rho_tor_error_lower',double([]),...
 'rho_tor_error_upper',double([]),...
 'rho_tor_norm',double([]),...
-'rho_tor_norm_error_index',double(-999999999),...
+'rho_tor_norm_error_index',int32(-999999999),...
 'rho_tor_norm_error_lower',double([]),...
 'rho_tor_norm_error_upper',double([]),...
 'volume',double([]),...
-'volume_error_index',double(-999999999),...
+'volume_error_index',int32(-999999999),...
 'volume_error_lower',double([]),...
 'volume_error_upper',double([])),...
 'ion',{{struct(...
 'element',{{struct(...
-'a',double(-9.0000000000000006360851714687e+40),...
-'a_error_index',double(-999999999),...
-'a_error_lower',double(-9.0000000000000006360851714687e+40),...
-'a_error_upper',double(-9.0000000000000006360851714687e+40),...
-'atoms_n',double(-999999999),...
-'multiplicity',double(-9.0000000000000006360851714687e+40),...
-'multiplicity_error_index',double(-999999999),...
-'multiplicity_error_lower',double(-9.0000000000000006360851714687e+40),...
-'multiplicity_error_upper',double(-9.0000000000000006360851714687e+40),...
-'z_n',double(-9.0000000000000006360851714687e+40),...
-'z_n_error_index',double(-999999999),...
-'z_n_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_n_error_upper',double(-9.0000000000000006360851714687e+40))
+'a',double(-9e+40),...
+'a_error_index',int32(-999999999),...
+'a_error_lower',double(-9e+40),...
+'a_error_upper',double(-9e+40),...
+'atoms_n',int32(-999999999),...
+'multiplicity',double(-9e+40),...
+'multiplicity_error_index',int32(-999999999),...
+'multiplicity_error_lower',double(-9e+40),...
+'multiplicity_error_upper',double(-9e+40),...
+'z_n',double(-9e+40),...
+'z_n_error_index',int32(-999999999),...
+'z_n_error_lower',double(-9e+40),...
+'z_n_error_upper',double(-9e+40))
 ;}},...
 'emissivity',double([]),...
-'emissivity_error_index',double(-999999999),...
+'emissivity_error_index',int32(-999999999),...
 'emissivity_error_lower',double([]),...
 'emissivity_error_upper',double([]),...
-'label',double([]),...
-'multiple_states_flag',double(-999999999),...
-'neutral_index',double(-999999999),...
+'label','',...
+'multiple_states_flag',int32(-999999999),...
+'neutral_index',int32(-999999999),...
 'power_inside',double([]),...
-'power_inside_error_index',double(-999999999),...
+'power_inside_error_index',int32(-999999999),...
 'power_inside_error_lower',double([]),...
 'power_inside_error_upper',double([]),...
 'state',{{struct(...
-'electron_configuration',double([]),...
+'electron_configuration','',...
 'emissivity',double([]),...
-'emissivity_error_index',double(-999999999),...
+'emissivity_error_index',int32(-999999999),...
 'emissivity_error_lower',double([]),...
 'emissivity_error_upper',double([]),...
-'label',double([]),...
+'label','',...
 'power_inside',double([]),...
-'power_inside_error_index',double(-999999999),...
+'power_inside_error_index',int32(-999999999),...
 'power_inside_error_lower',double([]),...
 'power_inside_error_upper',double([]),...
-'vibrational_level',double(-9.0000000000000006360851714687e+40),...
-'vibrational_level_error_index',double(-999999999),...
-'vibrational_level_error_lower',double(-9.0000000000000006360851714687e+40),...
-'vibrational_level_error_upper',double(-9.0000000000000006360851714687e+40),...
-'vibrational_mode',double([]),...
-'z_max',double(-9.0000000000000006360851714687e+40),...
-'z_max_error_index',double(-999999999),...
-'z_max_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_max_error_upper',double(-9.0000000000000006360851714687e+40),...
-'z_min',double(-9.0000000000000006360851714687e+40),...
-'z_min_error_index',double(-999999999),...
-'z_min_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_min_error_upper',double(-9.0000000000000006360851714687e+40))
-;}},...
-'z_ion',double(-9.0000000000000006360851714687e+40),...
-'z_ion_error_index',double(-999999999),...
-'z_ion_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_ion_error_upper',double(-9.0000000000000006360851714687e+40))
+'vibrational_level',double(-9e+40),...
+'vibrational_level_error_index',int32(-999999999),...
+'vibrational_level_error_lower',double(-9e+40),...
+'vibrational_level_error_upper',double(-9e+40),...
+'vibrational_mode','',...
+'z_max',double(-9e+40),...
+'z_max_error_index',int32(-999999999),...
+'z_max_error_lower',double(-9e+40),...
+'z_max_error_upper',double(-9e+40),...
+'z_min',double(-9e+40),...
+'z_min_error_index',int32(-999999999),...
+'z_min_error_lower',double(-9e+40),...
+'z_min_error_upper',double(-9e+40))
+;}},...
+'z_ion',double(-9e+40),...
+'z_ion_error_index',int32(-999999999),...
+'z_ion_error_lower',double(-9e+40),...
+'z_ion_error_upper',double(-9e+40))
 ;}},...
 'neutral',{{struct(...
 'element',{{struct(...
-'a',double(-9.0000000000000006360851714687e+40),...
-'a_error_index',double(-999999999),...
-'a_error_lower',double(-9.0000000000000006360851714687e+40),...
-'a_error_upper',double(-9.0000000000000006360851714687e+40),...
-'atoms_n',double(-999999999),...
-'multiplicity',double(-9.0000000000000006360851714687e+40),...
-'multiplicity_error_index',double(-999999999),...
-'multiplicity_error_lower',double(-9.0000000000000006360851714687e+40),...
-'multiplicity_error_upper',double(-9.0000000000000006360851714687e+40),...
-'z_n',double(-9.0000000000000006360851714687e+40),...
-'z_n_error_index',double(-999999999),...
-'z_n_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_n_error_upper',double(-9.0000000000000006360851714687e+40))
+'a',double(-9e+40),...
+'a_error_index',int32(-999999999),...
+'a_error_lower',double(-9e+40),...
+'a_error_upper',double(-9e+40),...
+'atoms_n',int32(-999999999),...
+'multiplicity',double(-9e+40),...
+'multiplicity_error_index',int32(-999999999),...
+'multiplicity_error_lower',double(-9e+40),...
+'multiplicity_error_upper',double(-9e+40),...
+'z_n',double(-9e+40),...
+'z_n_error_index',int32(-999999999),...
+'z_n_error_lower',double(-9e+40),...
+'z_n_error_upper',double(-9e+40))
 ;}},...
 'emissivity',double([]),...
-'emissivity_error_index',double(-999999999),...
+'emissivity_error_index',int32(-999999999),...
 'emissivity_error_lower',double([]),...
 'emissivity_error_upper',double([]),...
-'ion_index',double(-999999999),...
-'label',double([]),...
-'multiple_states_flag',double(-999999999),...
+'ion_index',int32(-999999999),...
+'label','',...
+'multiple_states_flag',int32(-999999999),...
 'power_inside',double([]),...
-'power_inside_error_index',double(-999999999),...
+'power_inside_error_index',int32(-999999999),...
 'power_inside_error_lower',double([]),...
 'power_inside_error_upper',double([]),...
 'state',{{struct(...
-'electron_configuration',double([]),...
+'electron_configuration','',...
 'emissivity',double([]),...
-'emissivity_error_index',double(-999999999),...
+'emissivity_error_index',int32(-999999999),...
 'emissivity_error_lower',double([]),...
 'emissivity_error_upper',double([]),...
-'label',double([]),...
+'label','',...
 'neutral_type',struct(...
-'description',double([]),...
-'index',double(-999999999),...
-'name',double([])),...
+'description','',...
+'index',int32(-999999999),...
+'name',''),...
 'power_inside',double([]),...
-'power_inside_error_index',double(-999999999),...
+'power_inside_error_index',int32(-999999999),...
 'power_inside_error_lower',double([]),...
 'power_inside_error_upper',double([]),...
-'vibrational_level',double(-9.0000000000000006360851714687e+40),...
-'vibrational_level_error_index',double(-999999999),...
-'vibrational_level_error_lower',double(-9.0000000000000006360851714687e+40),...
-'vibrational_level_error_upper',double(-9.0000000000000006360851714687e+40),...
-'vibrational_mode',double([]))
+'vibrational_level',double(-9e+40),...
+'vibrational_level_error_index',int32(-999999999),...
+'vibrational_level_error_lower',double(-9e+40),...
+'vibrational_level_error_upper',double(-9e+40),...
+'vibrational_mode','')
 ;}})
 ;}},...
 'power_inside_ion_total',double([]),...
-'power_inside_ion_total_error_index',double(-999999999),...
+'power_inside_ion_total_error_index',int32(-999999999),...
 'power_inside_ion_total_error_lower',double([]),...
 'power_inside_ion_total_error_upper',double([]),...
 'power_inside_neutral_total',double([]),...
-'power_inside_neutral_total_error_index',double(-999999999),...
+'power_inside_neutral_total_error_index',int32(-999999999),...
 'power_inside_neutral_total_error_lower',double([]),...
 'power_inside_neutral_total_error_upper',double([]),...
-'time',double(-9.0000000000000006360851714687e+40))
+'time',double(-9e+40))
 ;}})
 ;}},...
 'time',double([]),...
 'vacuum_toroidal_field',struct(...
 'b0',double([]),...
-'b0_error_index',double(-999999999),...
+'b0_error_index',int32(-999999999),...
 'b0_error_lower',double([]),...
 'b0_error_upper',double([]),...
-'r0',double(-9.0000000000000006360851714687e+40),...
-'r0_error_index',double(-999999999),...
-'r0_error_lower',double(-9.0000000000000006360851714687e+40),...
-'r0_error_upper',double(-9.0000000000000006360851714687e+40)));
+'r0',double(-9e+40),...
+'r0_error_index',int32(-999999999),...
+'r0_error_lower',double(-9e+40),...
+'r0_error_upper',double(-9e+40)));
diff --git a/matlab/TCV_IMAS/ids_empty/ids_empty_reflectometer_profile.m b/matlab/TCV_IMAS/ids_empty/ids_empty_reflectometer_profile.m
index 4a3ecdbdc2aa8fff15333b90334628f17b92a06a..61dc378a35323561dab29172ee8e8df802d243bd 100644
--- a/matlab/TCV_IMAS/ids_empty/ids_empty_reflectometer_profile.m
+++ b/matlab/TCV_IMAS/ids_empty/ids_empty_reflectometer_profile.m
@@ -7,114 +7,134 @@ S = ...
 struct(...
 'channel',{{struct(...
 'frequencies',double([]),...
-'frequencies_error_index',double(-999999999),...
+'frequencies_error_index',int32(-999999999),...
 'frequencies_error_lower',double([]),...
 'frequencies_error_upper',double([]),...
-'identifier',double([]),...
+'identifier','',...
 'line_of_sight_detection',struct(...
 'first_point',struct(...
-'phi',double(-9.0000000000000006360851714687e+40),...
-'phi_error_index',double(-999999999),...
-'phi_error_lower',double(-9.0000000000000006360851714687e+40),...
-'phi_error_upper',double(-9.0000000000000006360851714687e+40),...
-'r',double(-9.0000000000000006360851714687e+40),...
-'r_error_index',double(-999999999),...
-'r_error_lower',double(-9.0000000000000006360851714687e+40),...
-'r_error_upper',double(-9.0000000000000006360851714687e+40),...
-'z',double(-9.0000000000000006360851714687e+40),...
-'z_error_index',double(-999999999),...
-'z_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_error_upper',double(-9.0000000000000006360851714687e+40)),...
+'phi',double(-9e+40),...
+'phi_error_index',int32(-999999999),...
+'phi_error_lower',double(-9e+40),...
+'phi_error_upper',double(-9e+40),...
+'r',double(-9e+40),...
+'r_error_index',int32(-999999999),...
+'r_error_lower',double(-9e+40),...
+'r_error_upper',double(-9e+40),...
+'z',double(-9e+40),...
+'z_error_index',int32(-999999999),...
+'z_error_lower',double(-9e+40),...
+'z_error_upper',double(-9e+40)),...
 'second_point',struct(...
-'phi',double(-9.0000000000000006360851714687e+40),...
-'phi_error_index',double(-999999999),...
-'phi_error_lower',double(-9.0000000000000006360851714687e+40),...
-'phi_error_upper',double(-9.0000000000000006360851714687e+40),...
-'r',double(-9.0000000000000006360851714687e+40),...
-'r_error_index',double(-999999999),...
-'r_error_lower',double(-9.0000000000000006360851714687e+40),...
-'r_error_upper',double(-9.0000000000000006360851714687e+40),...
-'z',double(-9.0000000000000006360851714687e+40),...
-'z_error_index',double(-999999999),...
-'z_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_error_upper',double(-9.0000000000000006360851714687e+40))),...
+'phi',double(-9e+40),...
+'phi_error_index',int32(-999999999),...
+'phi_error_lower',double(-9e+40),...
+'phi_error_upper',double(-9e+40),...
+'r',double(-9e+40),...
+'r_error_index',int32(-999999999),...
+'r_error_lower',double(-9e+40),...
+'r_error_upper',double(-9e+40),...
+'z',double(-9e+40),...
+'z_error_index',int32(-999999999),...
+'z_error_lower',double(-9e+40),...
+'z_error_upper',double(-9e+40))),...
 'line_of_sight_emission',struct(...
 'first_point',struct(...
-'phi',double(-9.0000000000000006360851714687e+40),...
-'phi_error_index',double(-999999999),...
-'phi_error_lower',double(-9.0000000000000006360851714687e+40),...
-'phi_error_upper',double(-9.0000000000000006360851714687e+40),...
-'r',double(-9.0000000000000006360851714687e+40),...
-'r_error_index',double(-999999999),...
-'r_error_lower',double(-9.0000000000000006360851714687e+40),...
-'r_error_upper',double(-9.0000000000000006360851714687e+40),...
-'z',double(-9.0000000000000006360851714687e+40),...
-'z_error_index',double(-999999999),...
-'z_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_error_upper',double(-9.0000000000000006360851714687e+40)),...
+'phi',double(-9e+40),...
+'phi_error_index',int32(-999999999),...
+'phi_error_lower',double(-9e+40),...
+'phi_error_upper',double(-9e+40),...
+'r',double(-9e+40),...
+'r_error_index',int32(-999999999),...
+'r_error_lower',double(-9e+40),...
+'r_error_upper',double(-9e+40),...
+'z',double(-9e+40),...
+'z_error_index',int32(-999999999),...
+'z_error_lower',double(-9e+40),...
+'z_error_upper',double(-9e+40)),...
 'second_point',struct(...
-'phi',double(-9.0000000000000006360851714687e+40),...
-'phi_error_index',double(-999999999),...
-'phi_error_lower',double(-9.0000000000000006360851714687e+40),...
-'phi_error_upper',double(-9.0000000000000006360851714687e+40),...
-'r',double(-9.0000000000000006360851714687e+40),...
-'r_error_index',double(-999999999),...
-'r_error_lower',double(-9.0000000000000006360851714687e+40),...
-'r_error_upper',double(-9.0000000000000006360851714687e+40),...
-'z',double(-9.0000000000000006360851714687e+40),...
-'z_error_index',double(-999999999),...
-'z_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_error_upper',double(-9.0000000000000006360851714687e+40))),...
-'mode',double([]),...
+'phi',double(-9e+40),...
+'phi_error_index',int32(-999999999),...
+'phi_error_lower',double(-9e+40),...
+'phi_error_upper',double(-9e+40),...
+'r',double(-9e+40),...
+'r_error_index',int32(-999999999),...
+'r_error_lower',double(-9e+40),...
+'r_error_upper',double(-9e+40),...
+'z',double(-9e+40),...
+'z_error_index',int32(-999999999),...
+'z_error_lower',double(-9e+40),...
+'z_error_upper',double(-9e+40))),...
+'mode','',...
 'n_e',struct(...
 'data',double([]),...
-'data_error_index',double(-999999999),...
+'data_error_index',int32(-999999999),...
 'data_error_lower',double([]),...
 'data_error_upper',double([]),...
 'time',double([])),...
-'name',double([]),...
+'name','',...
 'phase',struct(...
 'data',double([]),...
-'data_error_index',double(-999999999),...
+'data_error_index',int32(-999999999),...
 'data_error_lower',double([]),...
 'data_error_upper',double([]),...
 'time',double([])),...
 'position',struct(...
-'phi',struct(...
-'data',double([]),...
-'data_error_index',double(-999999999),...
-'data_error_lower',double([]),...
-'data_error_upper',double([]),...
-'time',double([])),...
-'r',struct(...
-'data',double([]),...
-'data_error_index',double(-999999999),...
-'data_error_lower',double([]),...
-'data_error_upper',double([]),...
-'time',double([])),...
-'z',struct(...
-'data',double([]),...
-'data_error_index',double(-999999999),...
-'data_error_lower',double([]),...
-'data_error_upper',double([]),...
-'time',double([]))),...
-'sweep_time',double(-9.0000000000000006360851714687e+40),...
-'sweep_time_error_index',double(-999999999),...
-'sweep_time_error_lower',double(-9.0000000000000006360851714687e+40),...
-'sweep_time_error_upper',double(-9.0000000000000006360851714687e+40))
+'phi',double([]),...
+'phi_error_index',int32(-999999999),...
+'phi_error_lower',double([]),...
+'phi_error_upper',double([]),...
+'psi',double([]),...
+'psi_error_index',int32(-999999999),...
+'psi_error_lower',double([]),...
+'psi_error_upper',double([]),...
+'r',double([]),...
+'r_error_index',int32(-999999999),...
+'r_error_lower',double([]),...
+'r_error_upper',double([]),...
+'rho_tor_norm',double([]),...
+'rho_tor_norm_error_index',int32(-999999999),...
+'rho_tor_norm_error_lower',double([]),...
+'rho_tor_norm_error_upper',double([]),...
+'theta',double([]),...
+'theta_error_index',int32(-999999999),...
+'theta_error_lower',double([]),...
+'theta_error_upper',double([]),...
+'z',double([]),...
+'z_error_index',int32(-999999999),...
+'z_error_lower',double([]),...
+'z_error_upper',double([])),...
+'sweep_time',double(-9e+40),...
+'sweep_time_error_index',int32(-999999999),...
+'sweep_time_error_lower',double(-9e+40),...
+'sweep_time_error_upper',double(-9e+40))
 ;}},...
 'code',struct(...
-'commit',double([]),...
-'name',double([]),...
-'output_flag',double([]),...
-'parameters',double([]),...
-'repository',double([]),...
-'version',double([])),...
+'commit','',...
+'name','',...
+'output_flag',int32([]),...
+'parameters','',...
+'repository','',...
+'version',''),...
 'ids_properties',struct(...
-'comment',double([]),...
-'creation_date',double([]),...
-'homogeneous_time',double(-999999999),...
-'provider',double([]),...
-'source',double([])),...
+'comment','',...
+'creation_date','',...
+'homogeneous_time',int32(-999999999),...
+'provider','',...
+'source','',...
+'version_put',struct(...
+'access_layer','',...
+'access_layer_language','',...
+'data_dictionary','')),...
+'psi_normalization',struct(...
+'psi_boundary',double([]),...
+'psi_boundary_error_index',int32(-999999999),...
+'psi_boundary_error_lower',double([]),...
+'psi_boundary_error_upper',double([]),...
+'psi_magnetic_axis',double([]),...
+'psi_magnetic_axis_error_index',int32(-999999999),...
+'psi_magnetic_axis_error_lower',double([]),...
+'psi_magnetic_axis_error_upper',double([]),...
+'time',double([])),...
 'time',double([]),...
-'type',double([]));
+'type','');
diff --git a/matlab/TCV_IMAS/ids_empty/ids_empty_sawteeth.m b/matlab/TCV_IMAS/ids_empty/ids_empty_sawteeth.m
index 182e3a778a6ff3d5d4033934ff975702e497f570..8e9faa9dca76478e66fa931178820e2e43d382da 100644
--- a/matlab/TCV_IMAS/ids_empty/ids_empty_sawteeth.m
+++ b/matlab/TCV_IMAS/ids_empty/ids_empty_sawteeth.m
@@ -6,188 +6,204 @@ function S = ids_empty_sawteeth
 S = ... 
 struct(...
 'code',struct(...
-'commit',double([]),...
-'name',double([]),...
-'output_flag',double([]),...
-'parameters',double([]),...
-'repository',double([]),...
-'version',double([])),...
-'crash_trigger',double([]),...
+'commit','',...
+'name','',...
+'output_flag',int32([]),...
+'parameters','',...
+'repository','',...
+'version',''),...
+'crash_trigger',int32([]),...
 'diagnostics',struct(...
 'magnetic_shear_q1',double([]),...
-'magnetic_shear_q1_error_index',double(-999999999),...
+'magnetic_shear_q1_error_index',int32(-999999999),...
 'magnetic_shear_q1_error_lower',double([]),...
 'magnetic_shear_q1_error_upper',double([]),...
 'previous_crash_time',double([]),...
-'previous_crash_time_error_index',double(-999999999),...
+'previous_crash_time_error_index',int32(-999999999),...
 'previous_crash_time_error_lower',double([]),...
 'previous_crash_time_error_upper',double([]),...
-'previous_crash_trigger',double([]),...
+'previous_crash_trigger',int32([]),...
 'previous_period',double([]),...
-'previous_period_error_index',double(-999999999),...
+'previous_period_error_index',int32(-999999999),...
 'previous_period_error_lower',double([]),...
 'previous_period_error_upper',double([]),...
 'rho_tor_norm_inversion',double([]),...
-'rho_tor_norm_inversion_error_index',double(-999999999),...
+'rho_tor_norm_inversion_error_index',int32(-999999999),...
 'rho_tor_norm_inversion_error_lower',double([]),...
 'rho_tor_norm_inversion_error_upper',double([]),...
 'rho_tor_norm_mixing',double([]),...
-'rho_tor_norm_mixing_error_index',double(-999999999),...
+'rho_tor_norm_mixing_error_index',int32(-999999999),...
 'rho_tor_norm_mixing_error_lower',double([]),...
 'rho_tor_norm_mixing_error_upper',double([]),...
 'rho_tor_norm_q1',double([]),...
-'rho_tor_norm_q1_error_index',double(-999999999),...
+'rho_tor_norm_q1_error_index',int32(-999999999),...
 'rho_tor_norm_q1_error_lower',double([]),...
 'rho_tor_norm_q1_error_upper',double([])),...
 'ids_properties',struct(...
-'comment',double([]),...
-'creation_date',double([]),...
-'homogeneous_time',double(-999999999),...
-'provider',double([]),...
-'source',double([])),...
+'comment','',...
+'creation_date','',...
+'homogeneous_time',int32(-999999999),...
+'provider','',...
+'source','',...
+'version_put',struct(...
+'access_layer','',...
+'access_layer_language','',...
+'data_dictionary','')),...
 'profiles_1d',{{struct(...
 'conductivity_parallel',double([]),...
-'conductivity_parallel_error_index',double(-999999999),...
+'conductivity_parallel_error_index',int32(-999999999),...
 'conductivity_parallel_error_lower',double([]),...
 'conductivity_parallel_error_upper',double([]),...
 'e_field_parallel',double([]),...
-'e_field_parallel_error_index',double(-999999999),...
+'e_field_parallel_error_index',int32(-999999999),...
 'e_field_parallel_error_lower',double([]),...
 'e_field_parallel_error_upper',double([]),...
 'grid',struct(...
 'area',double([]),...
-'area_error_index',double(-999999999),...
+'area_error_index',int32(-999999999),...
 'area_error_lower',double([]),...
 'area_error_upper',double([]),...
 'psi',double([]),...
-'psi_error_index',double(-999999999),...
+'psi_boundary',double(-9e+40),...
+'psi_boundary_error_index',int32(-999999999),...
+'psi_boundary_error_lower',double(-9e+40),...
+'psi_boundary_error_upper',double(-9e+40),...
+'psi_error_index',int32(-999999999),...
 'psi_error_lower',double([]),...
 'psi_error_upper',double([]),...
+'psi_magnetic_axis',double(-9e+40),...
+'psi_magnetic_axis_error_index',int32(-999999999),...
+'psi_magnetic_axis_error_lower',double(-9e+40),...
+'psi_magnetic_axis_error_upper',double(-9e+40),...
+'rho_pol_norm',double([]),...
+'rho_pol_norm_error_index',int32(-999999999),...
+'rho_pol_norm_error_lower',double([]),...
+'rho_pol_norm_error_upper',double([]),...
 'rho_tor',double([]),...
-'rho_tor_error_index',double(-999999999),...
+'rho_tor_error_index',int32(-999999999),...
 'rho_tor_error_lower',double([]),...
 'rho_tor_error_upper',double([]),...
 'rho_tor_norm',double([]),...
-'rho_tor_norm_error_index',double(-999999999),...
+'rho_tor_norm_error_index',int32(-999999999),...
 'rho_tor_norm_error_lower',double([]),...
 'rho_tor_norm_error_upper',double([]),...
 'volume',double([]),...
-'volume_error_index',double(-999999999),...
+'volume_error_index',int32(-999999999),...
 'volume_error_lower',double([]),...
 'volume_error_upper',double([])),...
 'j_bootstrap',double([]),...
-'j_bootstrap_error_index',double(-999999999),...
+'j_bootstrap_error_index',int32(-999999999),...
 'j_bootstrap_error_lower',double([]),...
 'j_bootstrap_error_upper',double([]),...
 'j_non_inductive',double([]),...
-'j_non_inductive_error_index',double(-999999999),...
+'j_non_inductive_error_index',int32(-999999999),...
 'j_non_inductive_error_lower',double([]),...
 'j_non_inductive_error_upper',double([]),...
 'j_ohmic',double([]),...
-'j_ohmic_error_index',double(-999999999),...
+'j_ohmic_error_index',int32(-999999999),...
 'j_ohmic_error_lower',double([]),...
 'j_ohmic_error_upper',double([]),...
 'j_tor',double([]),...
-'j_tor_error_index',double(-999999999),...
+'j_tor_error_index',int32(-999999999),...
 'j_tor_error_lower',double([]),...
 'j_tor_error_upper',double([]),...
 'j_total',double([]),...
-'j_total_error_index',double(-999999999),...
+'j_total_error_index',int32(-999999999),...
 'j_total_error_lower',double([]),...
 'j_total_error_upper',double([]),...
 'magnetic_shear',double([]),...
-'magnetic_shear_error_index',double(-999999999),...
+'magnetic_shear_error_index',int32(-999999999),...
 'magnetic_shear_error_lower',double([]),...
 'magnetic_shear_error_upper',double([]),...
 'momentum_tor',double([]),...
-'momentum_tor_error_index',double(-999999999),...
+'momentum_tor_error_index',int32(-999999999),...
 'momentum_tor_error_lower',double([]),...
 'momentum_tor_error_upper',double([]),...
 'n_e',double([]),...
-'n_e_error_index',double(-999999999),...
+'n_e_error_index',int32(-999999999),...
 'n_e_error_lower',double([]),...
 'n_e_error_upper',double([]),...
 'n_e_fast',double([]),...
-'n_e_fast_error_index',double(-999999999),...
+'n_e_fast_error_index',int32(-999999999),...
 'n_e_fast_error_lower',double([]),...
 'n_e_fast_error_upper',double([]),...
 'n_i_total_over_n_e',double([]),...
-'n_i_total_over_n_e_error_index',double(-999999999),...
+'n_i_total_over_n_e_error_index',int32(-999999999),...
 'n_i_total_over_n_e_error_lower',double([]),...
 'n_i_total_over_n_e_error_upper',double([]),...
 'p_e',double([]),...
-'p_e_error_index',double(-999999999),...
+'p_e_error_index',int32(-999999999),...
 'p_e_error_lower',double([]),...
 'p_e_error_upper',double([]),...
 'p_e_fast_parallel',double([]),...
-'p_e_fast_parallel_error_index',double(-999999999),...
+'p_e_fast_parallel_error_index',int32(-999999999),...
 'p_e_fast_parallel_error_lower',double([]),...
 'p_e_fast_parallel_error_upper',double([]),...
 'p_e_fast_perpendicular',double([]),...
-'p_e_fast_perpendicular_error_index',double(-999999999),...
+'p_e_fast_perpendicular_error_index',int32(-999999999),...
 'p_e_fast_perpendicular_error_lower',double([]),...
 'p_e_fast_perpendicular_error_upper',double([]),...
 'p_i_total',double([]),...
-'p_i_total_error_index',double(-999999999),...
+'p_i_total_error_index',int32(-999999999),...
 'p_i_total_error_lower',double([]),...
 'p_i_total_error_upper',double([]),...
 'p_i_total_fast_parallel',double([]),...
-'p_i_total_fast_parallel_error_index',double(-999999999),...
+'p_i_total_fast_parallel_error_index',int32(-999999999),...
 'p_i_total_fast_parallel_error_lower',double([]),...
 'p_i_total_fast_parallel_error_upper',double([]),...
 'p_i_total_fast_perpendicular',double([]),...
-'p_i_total_fast_perpendicular_error_index',double(-999999999),...
+'p_i_total_fast_perpendicular_error_index',int32(-999999999),...
 'p_i_total_fast_perpendicular_error_lower',double([]),...
 'p_i_total_fast_perpendicular_error_upper',double([]),...
 'phi',double([]),...
-'phi_error_index',double(-999999999),...
+'phi_error_index',int32(-999999999),...
 'phi_error_lower',double([]),...
 'phi_error_upper',double([]),...
 'pressure_parallel',double([]),...
-'pressure_parallel_error_index',double(-999999999),...
+'pressure_parallel_error_index',int32(-999999999),...
 'pressure_parallel_error_lower',double([]),...
 'pressure_parallel_error_upper',double([]),...
 'pressure_perpendicular',double([]),...
-'pressure_perpendicular_error_index',double(-999999999),...
+'pressure_perpendicular_error_index',int32(-999999999),...
 'pressure_perpendicular_error_lower',double([]),...
 'pressure_perpendicular_error_upper',double([]),...
 'pressure_thermal',double([]),...
-'pressure_thermal_error_index',double(-999999999),...
+'pressure_thermal_error_index',int32(-999999999),...
 'pressure_thermal_error_lower',double([]),...
 'pressure_thermal_error_upper',double([]),...
 'psi_star_post_crash',double([]),...
-'psi_star_post_crash_error_index',double(-999999999),...
+'psi_star_post_crash_error_index',int32(-999999999),...
 'psi_star_post_crash_error_lower',double([]),...
 'psi_star_post_crash_error_upper',double([]),...
 'psi_star_pre_crash',double([]),...
-'psi_star_pre_crash_error_index',double(-999999999),...
+'psi_star_pre_crash_error_index',int32(-999999999),...
 'psi_star_pre_crash_error_lower',double([]),...
 'psi_star_pre_crash_error_upper',double([]),...
 'q',double([]),...
-'q_error_index',double(-999999999),...
+'q_error_index',int32(-999999999),...
 'q_error_lower',double([]),...
 'q_error_upper',double([]),...
 't_e',double([]),...
-'t_e_error_index',double(-999999999),...
+'t_e_error_index',int32(-999999999),...
 't_e_error_lower',double([]),...
 't_e_error_upper',double([]),...
 't_i_average',double([]),...
-'t_i_average_error_index',double(-999999999),...
+'t_i_average_error_index',int32(-999999999),...
 't_i_average_error_lower',double([]),...
 't_i_average_error_upper',double([]),...
-'time',double(-9.0000000000000006360851714687e+40),...
+'time',double(-9e+40),...
 'zeff',double([]),...
-'zeff_error_index',double(-999999999),...
+'zeff_error_index',int32(-999999999),...
 'zeff_error_lower',double([]),...
 'zeff_error_upper',double([]))
 ;}},...
 'time',double([]),...
 'vacuum_toroidal_field',struct(...
 'b0',double([]),...
-'b0_error_index',double(-999999999),...
+'b0_error_index',int32(-999999999),...
 'b0_error_lower',double([]),...
 'b0_error_upper',double([]),...
-'r0',double(-9.0000000000000006360851714687e+40),...
-'r0_error_index',double(-999999999),...
-'r0_error_lower',double(-9.0000000000000006360851714687e+40),...
-'r0_error_upper',double(-9.0000000000000006360851714687e+40)));
+'r0',double(-9e+40),...
+'r0_error_index',int32(-999999999),...
+'r0_error_lower',double(-9e+40),...
+'r0_error_upper',double(-9e+40)));
diff --git a/matlab/TCV_IMAS/ids_empty/ids_empty_sdn.m b/matlab/TCV_IMAS/ids_empty/ids_empty_sdn.m
index 26ceadf13e9b043ab855c3283ee25d9d8f1014b0..d636e796b592d8a5c472fadd8c918960e58629ec 100644
--- a/matlab/TCV_IMAS/ids_empty/ids_empty_sdn.m
+++ b/matlab/TCV_IMAS/ids_empty/ids_empty_sdn.m
@@ -6,31 +6,35 @@ function S = ids_empty_sdn
 S = ... 
 struct(...
 'code',struct(...
-'commit',double([]),...
-'name',double([]),...
-'output_flag',double([]),...
-'parameters',double([]),...
-'repository',double([]),...
-'version',double([])),...
+'commit','',...
+'name','',...
+'output_flag',int32([]),...
+'parameters','',...
+'repository','',...
+'version',''),...
 'ids_properties',struct(...
-'comment',double([]),...
-'creation_date',double([]),...
-'homogeneous_time',double(-999999999),...
-'provider',double([]),...
-'source',double([])),...
+'comment','',...
+'creation_date','',...
+'homogeneous_time',int32(-999999999),...
+'provider','',...
+'source','',...
+'version_put',struct(...
+'access_layer','',...
+'access_layer_language','',...
+'data_dictionary','')),...
 'time',double([]),...
 'topic',{{struct(...
-'name',double([]),...
+'name','',...
 'signal',{{struct(...
-'allocated_position',double(-999999999),...
-'definition',double([]),...
-'name',double([]),...
+'allocated_position',int32(-999999999),...
+'definition','',...
+'name','',...
 'quality',struct(...
-'data',double([]),...
+'data',int32([]),...
 'time',double([])),...
 'value',struct(...
 'data',double([]),...
-'data_error_index',double(-999999999),...
+'data_error_index',int32(-999999999),...
 'data_error_lower',double([]),...
 'data_error_upper',double([]),...
 'time',double([])))
diff --git a/matlab/TCV_IMAS/ids_empty/ids_empty_soft_x_rays.m b/matlab/TCV_IMAS/ids_empty/ids_empty_soft_x_rays.m
index 1195190d4ccc8e055b66c9bd17677a1a8ffa1d2f..8e4be9b3be57be87cab5f323865978b1b7d9fe16 100644
--- a/matlab/TCV_IMAS/ids_empty/ids_empty_soft_x_rays.m
+++ b/matlab/TCV_IMAS/ids_empty/ids_empty_soft_x_rays.m
@@ -8,230 +8,250 @@ struct(...
 'channel',{{struct(...
 'aperture',{{struct(...
 'centre',struct(...
-'phi',double(-9.0000000000000006360851714687e+40),...
-'phi_error_index',double(-999999999),...
-'phi_error_lower',double(-9.0000000000000006360851714687e+40),...
-'phi_error_upper',double(-9.0000000000000006360851714687e+40),...
-'r',double(-9.0000000000000006360851714687e+40),...
-'r_error_index',double(-999999999),...
-'r_error_lower',double(-9.0000000000000006360851714687e+40),...
-'r_error_upper',double(-9.0000000000000006360851714687e+40),...
-'z',double(-9.0000000000000006360851714687e+40),...
-'z_error_index',double(-999999999),...
-'z_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_error_upper',double(-9.0000000000000006360851714687e+40)),...
-'geometry_type',double(-999999999),...
+'phi',double(-9e+40),...
+'phi_error_index',int32(-999999999),...
+'phi_error_lower',double(-9e+40),...
+'phi_error_upper',double(-9e+40),...
+'r',double(-9e+40),...
+'r_error_index',int32(-999999999),...
+'r_error_lower',double(-9e+40),...
+'r_error_upper',double(-9e+40),...
+'z',double(-9e+40),...
+'z_error_index',int32(-999999999),...
+'z_error_lower',double(-9e+40),...
+'z_error_upper',double(-9e+40)),...
+'geometry_type',int32(-999999999),...
 'outline',struct(...
 'x1',double([]),...
-'x1_error_index',double(-999999999),...
+'x1_error_index',int32(-999999999),...
 'x1_error_lower',double([]),...
 'x1_error_upper',double([]),...
 'x2',double([]),...
-'x2_error_index',double(-999999999),...
+'x2_error_index',int32(-999999999),...
 'x2_error_lower',double([]),...
 'x2_error_upper',double([])),...
-'radius',double(-9.0000000000000006360851714687e+40),...
-'radius_error_index',double(-999999999),...
-'radius_error_lower',double(-9.0000000000000006360851714687e+40),...
-'radius_error_upper',double(-9.0000000000000006360851714687e+40),...
-'surface',double(-9.0000000000000006360851714687e+40),...
-'surface_error_index',double(-999999999),...
-'surface_error_lower',double(-9.0000000000000006360851714687e+40),...
-'surface_error_upper',double(-9.0000000000000006360851714687e+40),...
+'radius',double(-9e+40),...
+'radius_error_index',int32(-999999999),...
+'radius_error_lower',double(-9e+40),...
+'radius_error_upper',double(-9e+40),...
+'surface',double(-9e+40),...
+'surface_error_index',int32(-999999999),...
+'surface_error_lower',double(-9e+40),...
+'surface_error_upper',double(-9e+40),...
 'x1_unit_vector',struct(...
-'x',double(-9.0000000000000006360851714687e+40),...
-'x_error_index',double(-999999999),...
-'x_error_lower',double(-9.0000000000000006360851714687e+40),...
-'x_error_upper',double(-9.0000000000000006360851714687e+40),...
-'y',double(-9.0000000000000006360851714687e+40),...
-'y_error_index',double(-999999999),...
-'y_error_lower',double(-9.0000000000000006360851714687e+40),...
-'y_error_upper',double(-9.0000000000000006360851714687e+40),...
-'z',double(-9.0000000000000006360851714687e+40),...
-'z_error_index',double(-999999999),...
-'z_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_error_upper',double(-9.0000000000000006360851714687e+40)),...
+'x',double(-9e+40),...
+'x_error_index',int32(-999999999),...
+'x_error_lower',double(-9e+40),...
+'x_error_upper',double(-9e+40),...
+'y',double(-9e+40),...
+'y_error_index',int32(-999999999),...
+'y_error_lower',double(-9e+40),...
+'y_error_upper',double(-9e+40),...
+'z',double(-9e+40),...
+'z_error_index',int32(-999999999),...
+'z_error_lower',double(-9e+40),...
+'z_error_upper',double(-9e+40)),...
+'x1_width',double(-9e+40),...
+'x1_width_error_index',int32(-999999999),...
+'x1_width_error_lower',double(-9e+40),...
+'x1_width_error_upper',double(-9e+40),...
 'x2_unit_vector',struct(...
-'x',double(-9.0000000000000006360851714687e+40),...
-'x_error_index',double(-999999999),...
-'x_error_lower',double(-9.0000000000000006360851714687e+40),...
-'x_error_upper',double(-9.0000000000000006360851714687e+40),...
-'y',double(-9.0000000000000006360851714687e+40),...
-'y_error_index',double(-999999999),...
-'y_error_lower',double(-9.0000000000000006360851714687e+40),...
-'y_error_upper',double(-9.0000000000000006360851714687e+40),...
-'z',double(-9.0000000000000006360851714687e+40),...
-'z_error_index',double(-999999999),...
-'z_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_error_upper',double(-9.0000000000000006360851714687e+40)),...
+'x',double(-9e+40),...
+'x_error_index',int32(-999999999),...
+'x_error_lower',double(-9e+40),...
+'x_error_upper',double(-9e+40),...
+'y',double(-9e+40),...
+'y_error_index',int32(-999999999),...
+'y_error_lower',double(-9e+40),...
+'y_error_upper',double(-9e+40),...
+'z',double(-9e+40),...
+'z_error_index',int32(-999999999),...
+'z_error_lower',double(-9e+40),...
+'z_error_upper',double(-9e+40)),...
+'x2_width',double(-9e+40),...
+'x2_width_error_index',int32(-999999999),...
+'x2_width_error_lower',double(-9e+40),...
+'x2_width_error_upper',double(-9e+40),...
 'x3_unit_vector',struct(...
-'x',double(-9.0000000000000006360851714687e+40),...
-'x_error_index',double(-999999999),...
-'x_error_lower',double(-9.0000000000000006360851714687e+40),...
-'x_error_upper',double(-9.0000000000000006360851714687e+40),...
-'y',double(-9.0000000000000006360851714687e+40),...
-'y_error_index',double(-999999999),...
-'y_error_lower',double(-9.0000000000000006360851714687e+40),...
-'y_error_upper',double(-9.0000000000000006360851714687e+40),...
-'z',double(-9.0000000000000006360851714687e+40),...
-'z_error_index',double(-999999999),...
-'z_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_error_upper',double(-9.0000000000000006360851714687e+40)))
+'x',double(-9e+40),...
+'x_error_index',int32(-999999999),...
+'x_error_lower',double(-9e+40),...
+'x_error_upper',double(-9e+40),...
+'y',double(-9e+40),...
+'y_error_index',int32(-999999999),...
+'y_error_lower',double(-9e+40),...
+'y_error_upper',double(-9e+40),...
+'z',double(-9e+40),...
+'z_error_index',int32(-999999999),...
+'z_error_lower',double(-9e+40),...
+'z_error_upper',double(-9e+40)))
 ;}},...
+'brightness',struct(...
+'data',double([]),...
+'data_error_index',int32(-999999999),...
+'data_error_lower',double([]),...
+'data_error_upper',double([]),...
+'time',double([])),...
 'detector',struct(...
 'centre',struct(...
-'phi',double(-9.0000000000000006360851714687e+40),...
-'phi_error_index',double(-999999999),...
-'phi_error_lower',double(-9.0000000000000006360851714687e+40),...
-'phi_error_upper',double(-9.0000000000000006360851714687e+40),...
-'r',double(-9.0000000000000006360851714687e+40),...
-'r_error_index',double(-999999999),...
-'r_error_lower',double(-9.0000000000000006360851714687e+40),...
-'r_error_upper',double(-9.0000000000000006360851714687e+40),...
-'z',double(-9.0000000000000006360851714687e+40),...
-'z_error_index',double(-999999999),...
-'z_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_error_upper',double(-9.0000000000000006360851714687e+40)),...
-'geometry_type',double(-999999999),...
+'phi',double(-9e+40),...
+'phi_error_index',int32(-999999999),...
+'phi_error_lower',double(-9e+40),...
+'phi_error_upper',double(-9e+40),...
+'r',double(-9e+40),...
+'r_error_index',int32(-999999999),...
+'r_error_lower',double(-9e+40),...
+'r_error_upper',double(-9e+40),...
+'z',double(-9e+40),...
+'z_error_index',int32(-999999999),...
+'z_error_lower',double(-9e+40),...
+'z_error_upper',double(-9e+40)),...
+'geometry_type',int32(-999999999),...
 'outline',struct(...
 'x1',double([]),...
-'x1_error_index',double(-999999999),...
+'x1_error_index',int32(-999999999),...
 'x1_error_lower',double([]),...
 'x1_error_upper',double([]),...
 'x2',double([]),...
-'x2_error_index',double(-999999999),...
+'x2_error_index',int32(-999999999),...
 'x2_error_lower',double([]),...
 'x2_error_upper',double([])),...
-'radius',double(-9.0000000000000006360851714687e+40),...
-'radius_error_index',double(-999999999),...
-'radius_error_lower',double(-9.0000000000000006360851714687e+40),...
-'radius_error_upper',double(-9.0000000000000006360851714687e+40),...
-'surface',double(-9.0000000000000006360851714687e+40),...
-'surface_error_index',double(-999999999),...
-'surface_error_lower',double(-9.0000000000000006360851714687e+40),...
-'surface_error_upper',double(-9.0000000000000006360851714687e+40),...
+'radius',double(-9e+40),...
+'radius_error_index',int32(-999999999),...
+'radius_error_lower',double(-9e+40),...
+'radius_error_upper',double(-9e+40),...
+'surface',double(-9e+40),...
+'surface_error_index',int32(-999999999),...
+'surface_error_lower',double(-9e+40),...
+'surface_error_upper',double(-9e+40),...
 'x1_unit_vector',struct(...
-'x',double(-9.0000000000000006360851714687e+40),...
-'x_error_index',double(-999999999),...
-'x_error_lower',double(-9.0000000000000006360851714687e+40),...
-'x_error_upper',double(-9.0000000000000006360851714687e+40),...
-'y',double(-9.0000000000000006360851714687e+40),...
-'y_error_index',double(-999999999),...
-'y_error_lower',double(-9.0000000000000006360851714687e+40),...
-'y_error_upper',double(-9.0000000000000006360851714687e+40),...
-'z',double(-9.0000000000000006360851714687e+40),...
-'z_error_index',double(-999999999),...
-'z_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_error_upper',double(-9.0000000000000006360851714687e+40)),...
+'x',double(-9e+40),...
+'x_error_index',int32(-999999999),...
+'x_error_lower',double(-9e+40),...
+'x_error_upper',double(-9e+40),...
+'y',double(-9e+40),...
+'y_error_index',int32(-999999999),...
+'y_error_lower',double(-9e+40),...
+'y_error_upper',double(-9e+40),...
+'z',double(-9e+40),...
+'z_error_index',int32(-999999999),...
+'z_error_lower',double(-9e+40),...
+'z_error_upper',double(-9e+40)),...
+'x1_width',double(-9e+40),...
+'x1_width_error_index',int32(-999999999),...
+'x1_width_error_lower',double(-9e+40),...
+'x1_width_error_upper',double(-9e+40),...
 'x2_unit_vector',struct(...
-'x',double(-9.0000000000000006360851714687e+40),...
-'x_error_index',double(-999999999),...
-'x_error_lower',double(-9.0000000000000006360851714687e+40),...
-'x_error_upper',double(-9.0000000000000006360851714687e+40),...
-'y',double(-9.0000000000000006360851714687e+40),...
-'y_error_index',double(-999999999),...
-'y_error_lower',double(-9.0000000000000006360851714687e+40),...
-'y_error_upper',double(-9.0000000000000006360851714687e+40),...
-'z',double(-9.0000000000000006360851714687e+40),...
-'z_error_index',double(-999999999),...
-'z_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_error_upper',double(-9.0000000000000006360851714687e+40)),...
+'x',double(-9e+40),...
+'x_error_index',int32(-999999999),...
+'x_error_lower',double(-9e+40),...
+'x_error_upper',double(-9e+40),...
+'y',double(-9e+40),...
+'y_error_index',int32(-999999999),...
+'y_error_lower',double(-9e+40),...
+'y_error_upper',double(-9e+40),...
+'z',double(-9e+40),...
+'z_error_index',int32(-999999999),...
+'z_error_lower',double(-9e+40),...
+'z_error_upper',double(-9e+40)),...
+'x2_width',double(-9e+40),...
+'x2_width_error_index',int32(-999999999),...
+'x2_width_error_lower',double(-9e+40),...
+'x2_width_error_upper',double(-9e+40),...
 'x3_unit_vector',struct(...
-'x',double(-9.0000000000000006360851714687e+40),...
-'x_error_index',double(-999999999),...
-'x_error_lower',double(-9.0000000000000006360851714687e+40),...
-'x_error_upper',double(-9.0000000000000006360851714687e+40),...
-'y',double(-9.0000000000000006360851714687e+40),...
-'y_error_index',double(-999999999),...
-'y_error_lower',double(-9.0000000000000006360851714687e+40),...
-'y_error_upper',double(-9.0000000000000006360851714687e+40),...
-'z',double(-9.0000000000000006360851714687e+40),...
-'z_error_index',double(-999999999),...
-'z_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_error_upper',double(-9.0000000000000006360851714687e+40))),...
+'x',double(-9e+40),...
+'x_error_index',int32(-999999999),...
+'x_error_lower',double(-9e+40),...
+'x_error_upper',double(-9e+40),...
+'y',double(-9e+40),...
+'y_error_index',int32(-999999999),...
+'y_error_lower',double(-9e+40),...
+'y_error_upper',double(-9e+40),...
+'z',double(-9e+40),...
+'z_error_index',int32(-999999999),...
+'z_error_lower',double(-9e+40),...
+'z_error_upper',double(-9e+40))),...
 'energy_band',{{struct(...
 'detection_efficiency',double([]),...
-'detection_efficiency_error_index',double(-999999999),...
+'detection_efficiency_error_index',int32(-999999999),...
 'detection_efficiency_error_lower',double([]),...
 'detection_efficiency_error_upper',double([]),...
 'energies',double([]),...
-'energies_error_index',double(-999999999),...
+'energies_error_index',int32(-999999999),...
 'energies_error_lower',double([]),...
 'energies_error_upper',double([]),...
-'lower_bound',double(-9.0000000000000006360851714687e+40),...
-'lower_bound_error_index',double(-999999999),...
-'lower_bound_error_lower',double(-9.0000000000000006360851714687e+40),...
-'lower_bound_error_upper',double(-9.0000000000000006360851714687e+40),...
-'upper_bound',double(-9.0000000000000006360851714687e+40),...
-'upper_bound_error_index',double(-999999999),...
-'upper_bound_error_lower',double(-9.0000000000000006360851714687e+40),...
-'upper_bound_error_upper',double(-9.0000000000000006360851714687e+40))
+'lower_bound',double(-9e+40),...
+'lower_bound_error_index',int32(-999999999),...
+'lower_bound_error_lower',double(-9e+40),...
+'lower_bound_error_upper',double(-9e+40),...
+'upper_bound',double(-9e+40),...
+'upper_bound_error_index',int32(-999999999),...
+'upper_bound_error_lower',double(-9e+40),...
+'upper_bound_error_upper',double(-9e+40))
 ;}},...
-'etendue',double(-9.0000000000000006360851714687e+40),...
-'etendue_error_index',double(-999999999),...
-'etendue_error_lower',double(-9.0000000000000006360851714687e+40),...
-'etendue_error_upper',double(-9.0000000000000006360851714687e+40),...
+'etendue',double(-9e+40),...
+'etendue_error_index',int32(-999999999),...
+'etendue_error_lower',double(-9e+40),...
+'etendue_error_upper',double(-9e+40),...
 'etendue_method',struct(...
-'description',double([]),...
-'index',double(-999999999),...
-'name',double([])),...
-'identifier',double([]),...
-'intensity',struct(...
-'data',double([]),...
-'data_error_index',double(-999999999),...
-'data_error_lower',double([]),...
-'data_error_upper',double([]),...
-'time',double([])),...
+'description','',...
+'index',int32(-999999999),...
+'name',''),...
+'identifier','',...
 'line_of_sight',struct(...
 'first_point',struct(...
-'phi',double(-9.0000000000000006360851714687e+40),...
-'phi_error_index',double(-999999999),...
-'phi_error_lower',double(-9.0000000000000006360851714687e+40),...
-'phi_error_upper',double(-9.0000000000000006360851714687e+40),...
-'r',double(-9.0000000000000006360851714687e+40),...
-'r_error_index',double(-999999999),...
-'r_error_lower',double(-9.0000000000000006360851714687e+40),...
-'r_error_upper',double(-9.0000000000000006360851714687e+40),...
-'z',double(-9.0000000000000006360851714687e+40),...
-'z_error_index',double(-999999999),...
-'z_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_error_upper',double(-9.0000000000000006360851714687e+40)),...
+'phi',double(-9e+40),...
+'phi_error_index',int32(-999999999),...
+'phi_error_lower',double(-9e+40),...
+'phi_error_upper',double(-9e+40),...
+'r',double(-9e+40),...
+'r_error_index',int32(-999999999),...
+'r_error_lower',double(-9e+40),...
+'r_error_upper',double(-9e+40),...
+'z',double(-9e+40),...
+'z_error_index',int32(-999999999),...
+'z_error_lower',double(-9e+40),...
+'z_error_upper',double(-9e+40)),...
 'second_point',struct(...
-'phi',double(-9.0000000000000006360851714687e+40),...
-'phi_error_index',double(-999999999),...
-'phi_error_lower',double(-9.0000000000000006360851714687e+40),...
-'phi_error_upper',double(-9.0000000000000006360851714687e+40),...
-'r',double(-9.0000000000000006360851714687e+40),...
-'r_error_index',double(-999999999),...
-'r_error_lower',double(-9.0000000000000006360851714687e+40),...
-'r_error_upper',double(-9.0000000000000006360851714687e+40),...
-'z',double(-9.0000000000000006360851714687e+40),...
-'z_error_index',double(-999999999),...
-'z_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_error_upper',double(-9.0000000000000006360851714687e+40))),...
-'name',double([]),...
-'power_density',struct(...
+'phi',double(-9e+40),...
+'phi_error_index',int32(-999999999),...
+'phi_error_lower',double(-9e+40),...
+'phi_error_upper',double(-9e+40),...
+'r',double(-9e+40),...
+'r_error_index',int32(-999999999),...
+'r_error_lower',double(-9e+40),...
+'r_error_upper',double(-9e+40),...
+'z',double(-9e+40),...
+'z_error_index',int32(-999999999),...
+'z_error_lower',double(-9e+40),...
+'z_error_upper',double(-9e+40))),...
+'name','',...
+'power',struct(...
 'data',double([]),...
-'data_error_index',double(-999999999),...
+'data_error_index',int32(-999999999),...
 'data_error_lower',double([]),...
 'data_error_upper',double([]),...
 'time',double([])),...
-'validity',double(-999999999),...
+'validity',int32(-999999999),...
 'validity_timed',struct(...
-'data',double([]),...
+'data',int32([]),...
 'time',double([])))
 ;}},...
 'code',struct(...
-'commit',double([]),...
-'name',double([]),...
-'output_flag',double([]),...
-'parameters',double([]),...
-'repository',double([]),...
-'version',double([])),...
+'commit','',...
+'name','',...
+'output_flag',int32([]),...
+'parameters','',...
+'repository','',...
+'version',''),...
 'ids_properties',struct(...
-'comment',double([]),...
-'creation_date',double([]),...
-'homogeneous_time',double(-999999999),...
-'provider',double([]),...
-'source',double([])),...
+'comment','',...
+'creation_date','',...
+'homogeneous_time',int32(-999999999),...
+'provider','',...
+'source','',...
+'version_put',struct(...
+'access_layer','',...
+'access_layer_language','',...
+'data_dictionary','')),...
 'time',double([]));
diff --git a/matlab/TCV_IMAS/ids_empty/ids_empty_spectrometer_visible.m b/matlab/TCV_IMAS/ids_empty/ids_empty_spectrometer_visible.m
index 5e7bf465ce2d787a6da73a4bfc5a9bcec92d1dab..6c4afe38ed271dd5d498fa277a54099edeb79808 100644
--- a/matlab/TCV_IMAS/ids_empty/ids_empty_spectrometer_visible.m
+++ b/matlab/TCV_IMAS/ids_empty/ids_empty_spectrometer_visible.m
@@ -8,399 +8,505 @@ struct(...
 'channel',{{struct(...
 'active_spatial_resolution',{{struct(...
 'centre',struct(...
-'phi',double(-9.0000000000000006360851714687e+40),...
-'phi_error_index',double(-999999999),...
-'phi_error_lower',double(-9.0000000000000006360851714687e+40),...
-'phi_error_upper',double(-9.0000000000000006360851714687e+40),...
-'r',double(-9.0000000000000006360851714687e+40),...
-'r_error_index',double(-999999999),...
-'r_error_lower',double(-9.0000000000000006360851714687e+40),...
-'r_error_upper',double(-9.0000000000000006360851714687e+40),...
-'z',double(-9.0000000000000006360851714687e+40),...
-'z_error_index',double(-999999999),...
-'z_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_error_upper',double(-9.0000000000000006360851714687e+40)),...
-'time',double(-9.0000000000000006360851714687e+40),...
+'phi',double(-9e+40),...
+'phi_error_index',int32(-999999999),...
+'phi_error_lower',double(-9e+40),...
+'phi_error_upper',double(-9e+40),...
+'r',double(-9e+40),...
+'r_error_index',int32(-999999999),...
+'r_error_lower',double(-9e+40),...
+'r_error_upper',double(-9e+40),...
+'z',double(-9e+40),...
+'z_error_index',int32(-999999999),...
+'z_error_lower',double(-9e+40),...
+'z_error_upper',double(-9e+40)),...
+'time',double(-9e+40),...
 'width',struct(...
-'phi',double(-9.0000000000000006360851714687e+40),...
-'phi_error_index',double(-999999999),...
-'phi_error_lower',double(-9.0000000000000006360851714687e+40),...
-'phi_error_upper',double(-9.0000000000000006360851714687e+40),...
-'r',double(-9.0000000000000006360851714687e+40),...
-'r_error_index',double(-999999999),...
-'r_error_lower',double(-9.0000000000000006360851714687e+40),...
-'r_error_upper',double(-9.0000000000000006360851714687e+40),...
-'z',double(-9.0000000000000006360851714687e+40),...
-'z_error_index',double(-999999999),...
-'z_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_error_upper',double(-9.0000000000000006360851714687e+40)))
+'phi',double(-9e+40),...
+'phi_error_index',int32(-999999999),...
+'phi_error_lower',double(-9e+40),...
+'phi_error_upper',double(-9e+40),...
+'r',double(-9e+40),...
+'r_error_index',int32(-999999999),...
+'r_error_lower',double(-9e+40),...
+'r_error_upper',double(-9e+40),...
+'z',double(-9e+40),...
+'z_error_index',int32(-999999999),...
+'z_error_lower',double(-9e+40),...
+'z_error_upper',double(-9e+40)))
 ;}},...
 'aperture',{{struct(...
 'centre',struct(...
-'phi',double(-9.0000000000000006360851714687e+40),...
-'phi_error_index',double(-999999999),...
-'phi_error_lower',double(-9.0000000000000006360851714687e+40),...
-'phi_error_upper',double(-9.0000000000000006360851714687e+40),...
-'r',double(-9.0000000000000006360851714687e+40),...
-'r_error_index',double(-999999999),...
-'r_error_lower',double(-9.0000000000000006360851714687e+40),...
-'r_error_upper',double(-9.0000000000000006360851714687e+40),...
-'z',double(-9.0000000000000006360851714687e+40),...
-'z_error_index',double(-999999999),...
-'z_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_error_upper',double(-9.0000000000000006360851714687e+40)),...
-'geometry_type',double(-999999999),...
+'phi',double(-9e+40),...
+'phi_error_index',int32(-999999999),...
+'phi_error_lower',double(-9e+40),...
+'phi_error_upper',double(-9e+40),...
+'r',double(-9e+40),...
+'r_error_index',int32(-999999999),...
+'r_error_lower',double(-9e+40),...
+'r_error_upper',double(-9e+40),...
+'z',double(-9e+40),...
+'z_error_index',int32(-999999999),...
+'z_error_lower',double(-9e+40),...
+'z_error_upper',double(-9e+40)),...
+'geometry_type',int32(-999999999),...
 'outline',struct(...
 'x1',double([]),...
-'x1_error_index',double(-999999999),...
+'x1_error_index',int32(-999999999),...
 'x1_error_lower',double([]),...
 'x1_error_upper',double([]),...
 'x2',double([]),...
-'x2_error_index',double(-999999999),...
+'x2_error_index',int32(-999999999),...
 'x2_error_lower',double([]),...
 'x2_error_upper',double([])),...
-'radius',double(-9.0000000000000006360851714687e+40),...
-'radius_error_index',double(-999999999),...
-'radius_error_lower',double(-9.0000000000000006360851714687e+40),...
-'radius_error_upper',double(-9.0000000000000006360851714687e+40),...
-'surface',double(-9.0000000000000006360851714687e+40),...
-'surface_error_index',double(-999999999),...
-'surface_error_lower',double(-9.0000000000000006360851714687e+40),...
-'surface_error_upper',double(-9.0000000000000006360851714687e+40),...
+'radius',double(-9e+40),...
+'radius_error_index',int32(-999999999),...
+'radius_error_lower',double(-9e+40),...
+'radius_error_upper',double(-9e+40),...
+'surface',double(-9e+40),...
+'surface_error_index',int32(-999999999),...
+'surface_error_lower',double(-9e+40),...
+'surface_error_upper',double(-9e+40),...
 'x1_unit_vector',struct(...
-'x',double(-9.0000000000000006360851714687e+40),...
-'x_error_index',double(-999999999),...
-'x_error_lower',double(-9.0000000000000006360851714687e+40),...
-'x_error_upper',double(-9.0000000000000006360851714687e+40),...
-'y',double(-9.0000000000000006360851714687e+40),...
-'y_error_index',double(-999999999),...
-'y_error_lower',double(-9.0000000000000006360851714687e+40),...
-'y_error_upper',double(-9.0000000000000006360851714687e+40),...
-'z',double(-9.0000000000000006360851714687e+40),...
-'z_error_index',double(-999999999),...
-'z_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_error_upper',double(-9.0000000000000006360851714687e+40)),...
+'x',double(-9e+40),...
+'x_error_index',int32(-999999999),...
+'x_error_lower',double(-9e+40),...
+'x_error_upper',double(-9e+40),...
+'y',double(-9e+40),...
+'y_error_index',int32(-999999999),...
+'y_error_lower',double(-9e+40),...
+'y_error_upper',double(-9e+40),...
+'z',double(-9e+40),...
+'z_error_index',int32(-999999999),...
+'z_error_lower',double(-9e+40),...
+'z_error_upper',double(-9e+40)),...
+'x1_width',double(-9e+40),...
+'x1_width_error_index',int32(-999999999),...
+'x1_width_error_lower',double(-9e+40),...
+'x1_width_error_upper',double(-9e+40),...
 'x2_unit_vector',struct(...
-'x',double(-9.0000000000000006360851714687e+40),...
-'x_error_index',double(-999999999),...
-'x_error_lower',double(-9.0000000000000006360851714687e+40),...
-'x_error_upper',double(-9.0000000000000006360851714687e+40),...
-'y',double(-9.0000000000000006360851714687e+40),...
-'y_error_index',double(-999999999),...
-'y_error_lower',double(-9.0000000000000006360851714687e+40),...
-'y_error_upper',double(-9.0000000000000006360851714687e+40),...
-'z',double(-9.0000000000000006360851714687e+40),...
-'z_error_index',double(-999999999),...
-'z_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_error_upper',double(-9.0000000000000006360851714687e+40)),...
+'x',double(-9e+40),...
+'x_error_index',int32(-999999999),...
+'x_error_lower',double(-9e+40),...
+'x_error_upper',double(-9e+40),...
+'y',double(-9e+40),...
+'y_error_index',int32(-999999999),...
+'y_error_lower',double(-9e+40),...
+'y_error_upper',double(-9e+40),...
+'z',double(-9e+40),...
+'z_error_index',int32(-999999999),...
+'z_error_lower',double(-9e+40),...
+'z_error_upper',double(-9e+40)),...
+'x2_width',double(-9e+40),...
+'x2_width_error_index',int32(-999999999),...
+'x2_width_error_lower',double(-9e+40),...
+'x2_width_error_upper',double(-9e+40),...
 'x3_unit_vector',struct(...
-'x',double(-9.0000000000000006360851714687e+40),...
-'x_error_index',double(-999999999),...
-'x_error_lower',double(-9.0000000000000006360851714687e+40),...
-'x_error_upper',double(-9.0000000000000006360851714687e+40),...
-'y',double(-9.0000000000000006360851714687e+40),...
-'y_error_index',double(-999999999),...
-'y_error_lower',double(-9.0000000000000006360851714687e+40),...
-'y_error_upper',double(-9.0000000000000006360851714687e+40),...
-'z',double(-9.0000000000000006360851714687e+40),...
-'z_error_index',double(-999999999),...
-'z_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_error_upper',double(-9.0000000000000006360851714687e+40)))
+'x',double(-9e+40),...
+'x_error_index',int32(-999999999),...
+'x_error_lower',double(-9e+40),...
+'x_error_upper',double(-9e+40),...
+'y',double(-9e+40),...
+'y_error_index',int32(-999999999),...
+'y_error_lower',double(-9e+40),...
+'y_error_upper',double(-9e+40),...
+'z',double(-9e+40),...
+'z_error_index',int32(-999999999),...
+'z_error_lower',double(-9e+40),...
+'z_error_upper',double(-9e+40)))
 ;}},...
 'detector',struct(...
 'centre',struct(...
-'phi',double(-9.0000000000000006360851714687e+40),...
-'phi_error_index',double(-999999999),...
-'phi_error_lower',double(-9.0000000000000006360851714687e+40),...
-'phi_error_upper',double(-9.0000000000000006360851714687e+40),...
-'r',double(-9.0000000000000006360851714687e+40),...
-'r_error_index',double(-999999999),...
-'r_error_lower',double(-9.0000000000000006360851714687e+40),...
-'r_error_upper',double(-9.0000000000000006360851714687e+40),...
-'z',double(-9.0000000000000006360851714687e+40),...
-'z_error_index',double(-999999999),...
-'z_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_error_upper',double(-9.0000000000000006360851714687e+40)),...
-'geometry_type',double(-999999999),...
+'phi',double(-9e+40),...
+'phi_error_index',int32(-999999999),...
+'phi_error_lower',double(-9e+40),...
+'phi_error_upper',double(-9e+40),...
+'r',double(-9e+40),...
+'r_error_index',int32(-999999999),...
+'r_error_lower',double(-9e+40),...
+'r_error_upper',double(-9e+40),...
+'z',double(-9e+40),...
+'z_error_index',int32(-999999999),...
+'z_error_lower',double(-9e+40),...
+'z_error_upper',double(-9e+40)),...
+'geometry_type',int32(-999999999),...
 'outline',struct(...
 'x1',double([]),...
-'x1_error_index',double(-999999999),...
+'x1_error_index',int32(-999999999),...
 'x1_error_lower',double([]),...
 'x1_error_upper',double([]),...
 'x2',double([]),...
-'x2_error_index',double(-999999999),...
+'x2_error_index',int32(-999999999),...
 'x2_error_lower',double([]),...
 'x2_error_upper',double([])),...
-'radius',double(-9.0000000000000006360851714687e+40),...
-'radius_error_index',double(-999999999),...
-'radius_error_lower',double(-9.0000000000000006360851714687e+40),...
-'radius_error_upper',double(-9.0000000000000006360851714687e+40),...
-'surface',double(-9.0000000000000006360851714687e+40),...
-'surface_error_index',double(-999999999),...
-'surface_error_lower',double(-9.0000000000000006360851714687e+40),...
-'surface_error_upper',double(-9.0000000000000006360851714687e+40),...
+'radius',double(-9e+40),...
+'radius_error_index',int32(-999999999),...
+'radius_error_lower',double(-9e+40),...
+'radius_error_upper',double(-9e+40),...
+'surface',double(-9e+40),...
+'surface_error_index',int32(-999999999),...
+'surface_error_lower',double(-9e+40),...
+'surface_error_upper',double(-9e+40),...
 'x1_unit_vector',struct(...
-'x',double(-9.0000000000000006360851714687e+40),...
-'x_error_index',double(-999999999),...
-'x_error_lower',double(-9.0000000000000006360851714687e+40),...
-'x_error_upper',double(-9.0000000000000006360851714687e+40),...
-'y',double(-9.0000000000000006360851714687e+40),...
-'y_error_index',double(-999999999),...
-'y_error_lower',double(-9.0000000000000006360851714687e+40),...
-'y_error_upper',double(-9.0000000000000006360851714687e+40),...
-'z',double(-9.0000000000000006360851714687e+40),...
-'z_error_index',double(-999999999),...
-'z_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_error_upper',double(-9.0000000000000006360851714687e+40)),...
+'x',double(-9e+40),...
+'x_error_index',int32(-999999999),...
+'x_error_lower',double(-9e+40),...
+'x_error_upper',double(-9e+40),...
+'y',double(-9e+40),...
+'y_error_index',int32(-999999999),...
+'y_error_lower',double(-9e+40),...
+'y_error_upper',double(-9e+40),...
+'z',double(-9e+40),...
+'z_error_index',int32(-999999999),...
+'z_error_lower',double(-9e+40),...
+'z_error_upper',double(-9e+40)),...
+'x1_width',double(-9e+40),...
+'x1_width_error_index',int32(-999999999),...
+'x1_width_error_lower',double(-9e+40),...
+'x1_width_error_upper',double(-9e+40),...
 'x2_unit_vector',struct(...
-'x',double(-9.0000000000000006360851714687e+40),...
-'x_error_index',double(-999999999),...
-'x_error_lower',double(-9.0000000000000006360851714687e+40),...
-'x_error_upper',double(-9.0000000000000006360851714687e+40),...
-'y',double(-9.0000000000000006360851714687e+40),...
-'y_error_index',double(-999999999),...
-'y_error_lower',double(-9.0000000000000006360851714687e+40),...
-'y_error_upper',double(-9.0000000000000006360851714687e+40),...
-'z',double(-9.0000000000000006360851714687e+40),...
-'z_error_index',double(-999999999),...
-'z_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_error_upper',double(-9.0000000000000006360851714687e+40)),...
+'x',double(-9e+40),...
+'x_error_index',int32(-999999999),...
+'x_error_lower',double(-9e+40),...
+'x_error_upper',double(-9e+40),...
+'y',double(-9e+40),...
+'y_error_index',int32(-999999999),...
+'y_error_lower',double(-9e+40),...
+'y_error_upper',double(-9e+40),...
+'z',double(-9e+40),...
+'z_error_index',int32(-999999999),...
+'z_error_lower',double(-9e+40),...
+'z_error_upper',double(-9e+40)),...
+'x2_width',double(-9e+40),...
+'x2_width_error_index',int32(-999999999),...
+'x2_width_error_lower',double(-9e+40),...
+'x2_width_error_upper',double(-9e+40),...
 'x3_unit_vector',struct(...
-'x',double(-9.0000000000000006360851714687e+40),...
-'x_error_index',double(-999999999),...
-'x_error_lower',double(-9.0000000000000006360851714687e+40),...
-'x_error_upper',double(-9.0000000000000006360851714687e+40),...
-'y',double(-9.0000000000000006360851714687e+40),...
-'y_error_index',double(-999999999),...
-'y_error_lower',double(-9.0000000000000006360851714687e+40),...
-'y_error_upper',double(-9.0000000000000006360851714687e+40),...
-'z',double(-9.0000000000000006360851714687e+40),...
-'z_error_index',double(-999999999),...
-'z_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_error_upper',double(-9.0000000000000006360851714687e+40))),...
+'x',double(-9e+40),...
+'x_error_index',int32(-999999999),...
+'x_error_lower',double(-9e+40),...
+'x_error_upper',double(-9e+40),...
+'y',double(-9e+40),...
+'y_error_index',int32(-999999999),...
+'y_error_lower',double(-9e+40),...
+'y_error_upper',double(-9e+40),...
+'z',double(-9e+40),...
+'z_error_index',int32(-999999999),...
+'z_error_lower',double(-9e+40),...
+'z_error_upper',double(-9e+40))),...
 'detector_image',struct(...
 'circular',struct(...
-'ellipticity',double(-9.0000000000000006360851714687e+40),...
-'ellipticity_error_index',double(-999999999),...
-'ellipticity_error_lower',double(-9.0000000000000006360851714687e+40),...
-'ellipticity_error_upper',double(-9.0000000000000006360851714687e+40),...
-'radius',double(-9.0000000000000006360851714687e+40),...
-'radius_error_index',double(-999999999),...
-'radius_error_lower',double(-9.0000000000000006360851714687e+40),...
-'radius_error_upper',double(-9.0000000000000006360851714687e+40)),...
-'geometry_type',double(-999999999),...
+'ellipticity',double(-9e+40),...
+'ellipticity_error_index',int32(-999999999),...
+'ellipticity_error_lower',double(-9e+40),...
+'ellipticity_error_upper',double(-9e+40),...
+'radius',double(-9e+40),...
+'radius_error_index',int32(-999999999),...
+'radius_error_lower',double(-9e+40),...
+'radius_error_upper',double(-9e+40)),...
+'geometry_type',int32(-999999999),...
 'outline',struct(...
 'phi',double([]),...
-'phi_error_index',double(-999999999),...
+'phi_error_index',int32(-999999999),...
 'phi_error_lower',double([]),...
 'phi_error_upper',double([]),...
 'r',double([]),...
-'r_error_index',double(-999999999),...
+'r_error_index',int32(-999999999),...
 'r_error_lower',double([]),...
 'r_error_upper',double([]),...
 'z',double([]),...
-'z_error_index',double(-999999999),...
+'z_error_index',int32(-999999999),...
 'z_error_lower',double([]),...
 'z_error_upper',double([]))),...
-'etendue',double(-9.0000000000000006360851714687e+40),...
-'etendue_error_index',double(-999999999),...
-'etendue_error_lower',double(-9.0000000000000006360851714687e+40),...
-'etendue_error_upper',double(-9.0000000000000006360851714687e+40),...
+'etendue',double(-9e+40),...
+'etendue_error_index',int32(-999999999),...
+'etendue_error_lower',double(-9e+40),...
+'etendue_error_upper',double(-9e+40),...
 'etendue_method',struct(...
-'description',double([]),...
-'index',double(-999999999),...
-'name',double([])),...
+'description','',...
+'index',int32(-999999999),...
+'name',''),...
 'fibre_image',struct(...
 'circular',struct(...
-'ellipticity',double(-9.0000000000000006360851714687e+40),...
-'ellipticity_error_index',double(-999999999),...
-'ellipticity_error_lower',double(-9.0000000000000006360851714687e+40),...
-'ellipticity_error_upper',double(-9.0000000000000006360851714687e+40),...
-'radius',double(-9.0000000000000006360851714687e+40),...
-'radius_error_index',double(-999999999),...
-'radius_error_lower',double(-9.0000000000000006360851714687e+40),...
-'radius_error_upper',double(-9.0000000000000006360851714687e+40)),...
-'geometry_type',double(-999999999),...
+'ellipticity',double(-9e+40),...
+'ellipticity_error_index',int32(-999999999),...
+'ellipticity_error_lower',double(-9e+40),...
+'ellipticity_error_upper',double(-9e+40),...
+'radius',double(-9e+40),...
+'radius_error_index',int32(-999999999),...
+'radius_error_lower',double(-9e+40),...
+'radius_error_upper',double(-9e+40)),...
+'geometry_type',int32(-999999999),...
 'outline',struct(...
 'phi',double([]),...
-'phi_error_index',double(-999999999),...
+'phi_error_index',int32(-999999999),...
 'phi_error_lower',double([]),...
 'phi_error_upper',double([]),...
 'r',double([]),...
-'r_error_index',double(-999999999),...
+'r_error_index',int32(-999999999),...
 'r_error_lower',double([]),...
 'r_error_upper',double([]),...
 'z',double([]),...
-'z_error_index',double(-999999999),...
+'z_error_index',int32(-999999999),...
 'z_error_lower',double([]),...
 'z_error_upper',double([]))),...
 'filter_spectrometer',struct(...
 'calibrated_line_integrals',struct(...
 'data',double([]),...
-'data_error_index',double(-999999999),...
+'data_error_index',int32(-999999999),...
 'data_error_lower',double([]),...
 'data_error_upper',double([]),...
 'time',double([])),...
 'calibrated_lines',double([]),...
-'calibrated_lines_error_index',double(-999999999),...
+'calibrated_lines_error_index',int32(-999999999),...
 'calibrated_lines_error_lower',double([]),...
 'calibrated_lines_error_upper',double([]),...
-'exposure_time',double(-9.0000000000000006360851714687e+40),...
-'exposure_time_error_index',double(-999999999),...
-'exposure_time_error_lower',double(-9.0000000000000006360851714687e+40),...
-'exposure_time_error_upper',double(-9.0000000000000006360851714687e+40),...
+'exposure_time',double(-9e+40),...
+'exposure_time_error_index',int32(-999999999),...
+'exposure_time_error_lower',double(-9e+40),...
+'exposure_time_error_upper',double(-9e+40),...
 'line_intensities',struct(...
 'data',double([]),...
-'data_error_index',double(-999999999),...
+'data_error_index',int32(-999999999),...
+'data_error_lower',double([]),...
+'data_error_upper',double([]),...
+'time',double([])),...
+'line_labels',{{}},...
+'line_power_radiances',struct(...
+'data',double([]),...
+'data_error_index',int32(-999999999),...
 'data_error_lower',double([]),...
 'data_error_upper',double([]),...
 'time',double([])),...
 'line_radiances',struct(...
 'data',double([]),...
-'data_error_index',double(-999999999),...
+'data_error_index',int32(-999999999),...
+'data_error_lower',double([]),...
+'data_error_upper',double([]),...
+'time',double([])),...
+'line_radiances_adjusted',struct(...
+'data',double([]),...
+'data_error_index',int32(-999999999),...
+'data_error_lower',double([]),...
+'data_error_upper',double([]),...
+'time',double([])),...
+'output_voltage',struct(...
+'data',double([]),...
+'data_error_index',int32(-999999999),...
+'data_error_lower',double([]),...
+'data_error_upper',double([]),...
+'time',double([])),...
+'photoelectric_voltage',struct(...
+'data',double([]),...
+'data_error_index',int32(-999999999),...
 'data_error_lower',double([]),...
 'data_error_upper',double([]),...
 'time',double([])),...
 'photon_count',struct(...
 'data',double([]),...
-'data_error_index',double(-999999999),...
+'data_error_index',int32(-999999999),...
 'data_error_lower',double([]),...
 'data_error_upper',double([]),...
 'time',double([])),...
 'processed_lines',double([]),...
-'processed_lines_error_index',double(-999999999),...
+'processed_lines_error_index',int32(-999999999),...
 'processed_lines_error_lower',double([]),...
 'processed_lines_error_upper',double([]),...
-'radiance_calibration',double(-9.0000000000000006360851714687e+40),...
-'radiance_calibration_date',double([]),...
-'radiance_calibration_error_index',double(-999999999),...
-'radiance_calibration_error_lower',double(-9.0000000000000006360851714687e+40),...
-'radiance_calibration_error_upper',double(-9.0000000000000006360851714687e+40),...
+'radiance_calibration',double(-9e+40),...
+'radiance_calibration_date','',...
+'radiance_calibration_error_index',int32(-999999999),...
+'radiance_calibration_error_lower',double(-9e+40),...
+'radiance_calibration_error_upper',double(-9e+40),...
 'raw_lines',double([]),...
-'raw_lines_error_index',double(-999999999),...
+'raw_lines_error_index',int32(-999999999),...
 'raw_lines_error_lower',double([]),...
 'raw_lines_error_upper',double([])),...
 'grating_spectrometer',struct(...
-'exposure_time',double(-9.0000000000000006360851714687e+40),...
-'exposure_time_error_index',double(-999999999),...
-'exposure_time_error_lower',double(-9.0000000000000006360851714687e+40),...
-'exposure_time_error_upper',double(-9.0000000000000006360851714687e+40),...
-'grating',double(-9.0000000000000006360851714687e+40),...
-'grating_error_index',double(-999999999),...
-'grating_error_lower',double(-9.0000000000000006360851714687e+40),...
-'grating_error_upper',double(-9.0000000000000006360851714687e+40),...
+'exposure_time',double(-9e+40),...
+'exposure_time_error_index',int32(-999999999),...
+'exposure_time_error_lower',double(-9e+40),...
+'exposure_time_error_upper',double(-9e+40),...
+'grating',double(-9e+40),...
+'grating_error_index',int32(-999999999),...
+'grating_error_lower',double(-9e+40),...
+'grating_error_upper',double(-9e+40),...
 'intensity_spectrum',struct(...
 'data',double([]),...
-'data_error_index',double(-999999999),...
+'data_error_index',int32(-999999999),...
 'data_error_lower',double([]),...
 'data_error_upper',double([]),...
 'time',double([])),...
 'processed_line',{{struct(...
 'intensity',struct(...
 'data',double([]),...
-'data_error_index',double(-999999999),...
+'data_error_index',int32(-999999999),...
 'data_error_lower',double([]),...
 'data_error_upper',double([]),...
 'time',double([])),...
-'label',double([]),...
+'label','',...
 'radiance',struct(...
 'data',double([]),...
-'data_error_index',double(-999999999),...
+'data_error_index',int32(-999999999),...
 'data_error_lower',double([]),...
 'data_error_upper',double([]),...
 'time',double([])),...
-'wavelength_central',double(-9.0000000000000006360851714687e+40),...
-'wavelength_central_error_index',double(-999999999),...
-'wavelength_central_error_lower',double(-9.0000000000000006360851714687e+40),...
-'wavelength_central_error_upper',double(-9.0000000000000006360851714687e+40))
+'wavelength_central',double(-9e+40),...
+'wavelength_central_error_index',int32(-999999999),...
+'wavelength_central_error_lower',double(-9e+40),...
+'wavelength_central_error_upper',double(-9e+40))
 ;}},...
 'radiance_calibration',double([]),...
-'radiance_calibration_date',double([]),...
-'radiance_calibration_error_index',double(-999999999),...
+'radiance_calibration_date','',...
+'radiance_calibration_error_index',int32(-999999999),...
 'radiance_calibration_error_lower',double([]),...
 'radiance_calibration_error_upper',double([]),...
 'radiance_spectral',struct(...
 'data',double([]),...
-'data_error_index',double(-999999999),...
+'data_error_index',int32(-999999999),...
 'data_error_lower',double([]),...
 'data_error_upper',double([]),...
 'time',double([])),...
-'slit_width',double(-9.0000000000000006360851714687e+40),...
-'slit_width_error_index',double(-999999999),...
-'slit_width_error_lower',double(-9.0000000000000006360851714687e+40),...
-'slit_width_error_upper',double(-9.0000000000000006360851714687e+40),...
-'wavelength_calibration_date',double([]),...
+'slit_width',double(-9e+40),...
+'slit_width_error_index',int32(-999999999),...
+'slit_width_error_lower',double(-9e+40),...
+'slit_width_error_upper',double(-9e+40),...
+'wavelength_calibration',struct(...
+'gain',double(-9e+40),...
+'gain_error_index',int32(-999999999),...
+'gain_error_lower',double(-9e+40),...
+'gain_error_upper',double(-9e+40),...
+'offset',double(-9e+40),...
+'offset_error_index',int32(-999999999),...
+'offset_error_lower',double(-9e+40),...
+'offset_error_upper',double(-9e+40)),...
+'wavelength_calibration_date','',...
 'wavelengths',double([]),...
-'wavelengths_error_index',double(-999999999),...
+'wavelengths_error_index',int32(-999999999),...
 'wavelengths_error_lower',double([]),...
 'wavelengths_error_upper',double([])),...
+'isotope_ratios',struct(...
+'isotope',{{struct(...
+'cold_neutrals_fraction',double([]),...
+'cold_neutrals_fraction_error_index',int32(-999999999),...
+'cold_neutrals_fraction_error_lower',double([]),...
+'cold_neutrals_fraction_error_upper',double([]),...
+'cold_neutrals_temperature',double([]),...
+'cold_neutrals_temperature_error_index',int32(-999999999),...
+'cold_neutrals_temperature_error_lower',double([]),...
+'cold_neutrals_temperature_error_upper',double([]),...
+'density_ratio',double([]),...
+'density_ratio_error_index',int32(-999999999),...
+'density_ratio_error_lower',double([]),...
+'density_ratio_error_upper',double([]),...
+'element',{{struct(...
+'a',double(-9e+40),...
+'a_error_index',int32(-999999999),...
+'a_error_lower',double(-9e+40),...
+'a_error_upper',double(-9e+40),...
+'atoms_n',int32(-999999999),...
+'multiplicity',double(-9e+40),...
+'multiplicity_error_index',int32(-999999999),...
+'multiplicity_error_lower',double(-9e+40),...
+'multiplicity_error_upper',double(-9e+40),...
+'z_n',double(-9e+40),...
+'z_n_error_index',int32(-999999999),...
+'z_n_error_lower',double(-9e+40),...
+'z_n_error_upper',double(-9e+40))
+;}},...
+'hot_neutrals_fraction',double([]),...
+'hot_neutrals_fraction_error_index',int32(-999999999),...
+'hot_neutrals_fraction_error_lower',double([]),...
+'hot_neutrals_fraction_error_upper',double([]),...
+'hot_neutrals_temperature',double([]),...
+'hot_neutrals_temperature_error_index',int32(-999999999),...
+'hot_neutrals_temperature_error_lower',double([]),...
+'hot_neutrals_temperature_error_upper',double([]),...
+'label','',...
+'time',double([]))
+;}},...
+'method',struct(...
+'description','',...
+'index',int32(-999999999),...
+'name',''),...
+'signal_to_noise',double([]),...
+'signal_to_noise_error_index',int32(-999999999),...
+'signal_to_noise_error_lower',double([]),...
+'signal_to_noise_error_upper',double([]),...
+'time',double([]),...
+'validity',int32(-999999999),...
+'validity_timed',int32([])),...
 'light_collection_efficiencies',struct(...
 'positions',struct(...
 'phi',double([]),...
-'phi_error_index',double(-999999999),...
+'phi_error_index',int32(-999999999),...
 'phi_error_lower',double([]),...
 'phi_error_upper',double([]),...
 'r',double([]),...
-'r_error_index',double(-999999999),...
+'r_error_index',int32(-999999999),...
 'r_error_lower',double([]),...
 'r_error_upper',double([]),...
 'z',double([]),...
-'z_error_index',double(-999999999),...
+'z_error_index',int32(-999999999),...
 'z_error_lower',double([]),...
 'z_error_upper',double([])),...
 'values',double([]),...
-'values_error_index',double(-999999999),...
+'values_error_index',int32(-999999999),...
 'values_error_lower',double([]),...
 'values_error_upper',double([])),...
 'line_of_sight',struct(...
 'first_point',struct(...
-'phi',double(-9.0000000000000006360851714687e+40),...
-'phi_error_index',double(-999999999),...
-'phi_error_lower',double(-9.0000000000000006360851714687e+40),...
-'phi_error_upper',double(-9.0000000000000006360851714687e+40),...
-'r',double(-9.0000000000000006360851714687e+40),...
-'r_error_index',double(-999999999),...
-'r_error_lower',double(-9.0000000000000006360851714687e+40),...
-'r_error_upper',double(-9.0000000000000006360851714687e+40),...
-'z',double(-9.0000000000000006360851714687e+40),...
-'z_error_index',double(-999999999),...
-'z_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_error_upper',double(-9.0000000000000006360851714687e+40)),...
+'phi',double(-9e+40),...
+'phi_error_index',int32(-999999999),...
+'phi_error_lower',double(-9e+40),...
+'phi_error_upper',double(-9e+40),...
+'r',double(-9e+40),...
+'r_error_index',int32(-999999999),...
+'r_error_lower',double(-9e+40),...
+'r_error_upper',double(-9e+40),...
+'z',double(-9e+40),...
+'z_error_index',int32(-999999999),...
+'z_error_lower',double(-9e+40),...
+'z_error_upper',double(-9e+40)),...
 'second_point',struct(...
-'phi',double(-9.0000000000000006360851714687e+40),...
-'phi_error_index',double(-999999999),...
-'phi_error_lower',double(-9.0000000000000006360851714687e+40),...
-'phi_error_upper',double(-9.0000000000000006360851714687e+40),...
-'r',double(-9.0000000000000006360851714687e+40),...
-'r_error_index',double(-999999999),...
-'r_error_lower',double(-9.0000000000000006360851714687e+40),...
-'r_error_upper',double(-9.0000000000000006360851714687e+40),...
-'z',double(-9.0000000000000006360851714687e+40),...
-'z_error_index',double(-999999999),...
-'z_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_error_upper',double(-9.0000000000000006360851714687e+40))),...
-'name',double([]),...
+'phi',double(-9e+40),...
+'phi_error_index',int32(-999999999),...
+'phi_error_lower',double(-9e+40),...
+'phi_error_upper',double(-9e+40),...
+'r',double(-9e+40),...
+'r_error_index',int32(-999999999),...
+'r_error_lower',double(-9e+40),...
+'r_error_upper',double(-9e+40),...
+'z',double(-9e+40),...
+'z_error_index',int32(-999999999),...
+'z_error_lower',double(-9e+40),...
+'z_error_upper',double(-9e+40))),...
+'name','',...
+'object_observed','',...
 'type',struct(...
-'description',double([]),...
-'index',double(-999999999),...
-'name',double([])),...
-'validity',double(-999999999),...
+'description','',...
+'index',int32(-999999999),...
+'name',''),...
+'validity',int32(-999999999),...
 'validity_timed',struct(...
-'data',double([]),...
+'data',int32([]),...
 'time',double([])))
 ;}},...
 'code',struct(...
-'commit',double([]),...
-'name',double([]),...
-'output_flag',double([]),...
-'parameters',double([]),...
-'repository',double([]),...
-'version',double([])),...
-'detector_layout',double([]),...
+'commit','',...
+'name','',...
+'output_flag',int32([]),...
+'parameters','',...
+'repository','',...
+'version',''),...
+'detector_layout','',...
 'ids_properties',struct(...
-'comment',double([]),...
-'creation_date',double([]),...
-'homogeneous_time',double(-999999999),...
-'provider',double([]),...
-'source',double([])),...
+'comment','',...
+'creation_date','',...
+'homogeneous_time',int32(-999999999),...
+'provider','',...
+'source','',...
+'version_put',struct(...
+'access_layer','',...
+'access_layer_language','',...
+'data_dictionary','')),...
 'time',double([]));
diff --git a/matlab/TCV_IMAS/ids_empty/ids_empty_spectrometer_x_ray_crystal.m b/matlab/TCV_IMAS/ids_empty/ids_empty_spectrometer_x_ray_crystal.m
new file mode 100644
index 0000000000000000000000000000000000000000..285f09f5d133a0840b92ca0f8ed45caaa7801c0d
--- /dev/null
+++ b/matlab/TCV_IMAS/ids_empty/ids_empty_spectrometer_x_ray_crystal.m
@@ -0,0 +1,182 @@
+function S = ids_empty_spectrometer_x_ray_crystal
+% function S = ids_empty_spectrometer_x_ray_crystal
+%
+% File written automatically using struct2m.m 
+
+S = ... 
+struct(...
+'camera',struct(...
+'camera_dimensions',double([]),...
+'camera_dimensions_error_index',int32(-999999999),...
+'camera_dimensions_error_lower',double([]),...
+'camera_dimensions_error_upper',double([]),...
+'centre',struct(...
+'phi',double(-9e+40),...
+'phi_error_index',int32(-999999999),...
+'phi_error_lower',double(-9e+40),...
+'phi_error_upper',double(-9e+40),...
+'r',double(-9e+40),...
+'r_error_index',int32(-999999999),...
+'r_error_lower',double(-9e+40),...
+'r_error_upper',double(-9e+40),...
+'z',double(-9e+40),...
+'z_error_index',int32(-999999999),...
+'z_error_lower',double(-9e+40),...
+'z_error_upper',double(-9e+40)),...
+'pixel_dimensions',double([]),...
+'pixel_dimensions_error_index',int32(-999999999),...
+'pixel_dimensions_error_lower',double([]),...
+'pixel_dimensions_error_upper',double([]),...
+'pixel_n',int32([]),...
+'x3_unit_vector',struct(...
+'x',double(-9e+40),...
+'x_error_index',int32(-999999999),...
+'x_error_lower',double(-9e+40),...
+'x_error_upper',double(-9e+40),...
+'y',double(-9e+40),...
+'y_error_index',int32(-999999999),...
+'y_error_lower',double(-9e+40),...
+'y_error_upper',double(-9e+40),...
+'z',double(-9e+40),...
+'z_error_index',int32(-999999999),...
+'z_error_lower',double(-9e+40),...
+'z_error_upper',double(-9e+40))),...
+'code',struct(...
+'commit','',...
+'name','',...
+'output_flag',int32([]),...
+'parameters','',...
+'repository','',...
+'version',''),...
+'crystal',struct(...
+'angle_bragg',double(-9e+40),...
+'angle_bragg_error_index',int32(-999999999),...
+'angle_bragg_error_lower',double(-9e+40),...
+'angle_bragg_error_upper',double(-9e+40),...
+'angular_span_horizontal',double(-9e+40),...
+'angular_span_horizontal_error_index',int32(-999999999),...
+'angular_span_horizontal_error_lower',double(-9e+40),...
+'angular_span_horizontal_error_upper',double(-9e+40),...
+'angular_span_vertical',double(-9e+40),...
+'angular_span_vertical_error_index',int32(-999999999),...
+'angular_span_vertical_error_lower',double(-9e+40),...
+'angular_span_vertical_error_upper',double(-9e+40),...
+'curvature_horizontal',double(-9e+40),...
+'curvature_horizontal_error_index',int32(-999999999),...
+'curvature_horizontal_error_lower',double(-9e+40),...
+'curvature_horizontal_error_upper',double(-9e+40),...
+'curvature_vertical',double(-9e+40),...
+'curvature_vertical_error_index',int32(-999999999),...
+'curvature_vertical_error_lower',double(-9e+40),...
+'curvature_vertical_error_upper',double(-9e+40),...
+'geometry_type',struct(...
+'description','',...
+'index',int32(-999999999),...
+'name',''),...
+'height',double(-9e+40),...
+'height_error_index',int32(-999999999),...
+'height_error_lower',double(-9e+40),...
+'height_error_upper',double(-9e+40),...
+'material','',...
+'summit',struct(...
+'phi',double(-9e+40),...
+'phi_error_index',int32(-999999999),...
+'phi_error_lower',double(-9e+40),...
+'phi_error_upper',double(-9e+40),...
+'r',double(-9e+40),...
+'r_error_index',int32(-999999999),...
+'r_error_lower',double(-9e+40),...
+'r_error_upper',double(-9e+40),...
+'z',double(-9e+40),...
+'z_error_index',int32(-999999999),...
+'z_error_lower',double(-9e+40),...
+'z_error_upper',double(-9e+40)),...
+'wavelength_bragg',double(-9e+40),...
+'wavelength_bragg_error_index',int32(-999999999),...
+'wavelength_bragg_error_lower',double(-9e+40),...
+'wavelength_bragg_error_upper',double(-9e+40),...
+'width',double(-9e+40),...
+'width_error_index',int32(-999999999),...
+'width_error_lower',double(-9e+40),...
+'width_error_upper',double(-9e+40),...
+'x3_unit_vector',struct(...
+'x',double(-9e+40),...
+'x_error_index',int32(-999999999),...
+'x_error_lower',double(-9e+40),...
+'x_error_upper',double(-9e+40),...
+'y',double(-9e+40),...
+'y_error_index',int32(-999999999),...
+'y_error_lower',double(-9e+40),...
+'y_error_upper',double(-9e+40),...
+'z',double(-9e+40),...
+'z_error_index',int32(-999999999),...
+'z_error_lower',double(-9e+40),...
+'z_error_upper',double(-9e+40))),...
+'energy_bound_lower',double([]),...
+'energy_bound_lower_error_index',int32(-999999999),...
+'energy_bound_lower_error_lower',double([]),...
+'energy_bound_lower_error_upper',double([]),...
+'energy_bound_upper',double([]),...
+'energy_bound_upper_error_index',int32(-999999999),...
+'energy_bound_upper_error_lower',double([]),...
+'energy_bound_upper_error_upper',double([]),...
+'filter_window',struct(...
+'material','',...
+'thickness',double(-9e+40),...
+'thickness_error_index',int32(-999999999),...
+'thickness_error_lower',double(-9e+40),...
+'thickness_error_upper',double(-9e+40)),...
+'frame',{{struct(...
+'photon_count',double([]),...
+'photon_count_error_index',int32(-999999999),...
+'photon_count_error_lower',double([]),...
+'photon_count_error_upper',double([]),...
+'time',double(-9e+40))
+;}},...
+'ids_properties',struct(...
+'comment','',...
+'creation_date','',...
+'homogeneous_time',int32(-999999999),...
+'provider','',...
+'source','',...
+'version_put',struct(...
+'access_layer','',...
+'access_layer_language','',...
+'data_dictionary','')),...
+'integration_time',double(-9e+40),...
+'integration_time_error_index',int32(-999999999),...
+'integration_time_error_lower',double(-9e+40),...
+'integration_time_error_upper',double(-9e+40),...
+'t_e_proxy',struct(...
+'data',double([]),...
+'data_error_index',int32(-999999999),...
+'data_error_lower',double([]),...
+'data_error_upper',double([]),...
+'time',double([]),...
+'validity',int32(-999999999),...
+'validity_timed',int32([])),...
+'t_i_proxy',struct(...
+'data',double([]),...
+'data_error_index',int32(-999999999),...
+'data_error_lower',double([]),...
+'data_error_upper',double([]),...
+'time',double([]),...
+'validity',int32(-999999999),...
+'validity_timed',int32([])),...
+'time',double([]),...
+'velocity_tor_proxy',struct(...
+'data',double([]),...
+'data_error_index',int32(-999999999),...
+'data_error_lower',double([]),...
+'data_error_upper',double([]),...
+'time',double([]),...
+'validity',int32(-999999999),...
+'validity_timed',int32([])),...
+'wavelength_frames',double([]),...
+'wavelength_frames_error_index',int32(-999999999),...
+'wavelength_frames_error_lower',double([]),...
+'wavelength_frames_error_upper',double([]),...
+'z_frames',double([]),...
+'z_frames_error_index',int32(-999999999),...
+'z_frames_error_lower',double([]),...
+'z_frames_error_upper',double([]));
diff --git a/matlab/TCV_IMAS/ids_empty/ids_empty_summary.m b/matlab/TCV_IMAS/ids_empty/ids_empty_summary.m
index a485050847d2fccbdd098c4baf712dc925ddab7d..e09b1bea5aeaca8994bd47b119bc88d8e1d5af2a 100644
--- a/matlab/TCV_IMAS/ids_empty/ids_empty_summary.m
+++ b/matlab/TCV_IMAS/ids_empty/ids_empty_summary.m
@@ -7,3089 +7,3123 @@ S = ...
 struct(...
 'boundary',struct(...
 'elongation',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'gap_limiter_wall',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'geometric_axis_r',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'geometric_axis_z',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'magnetic_axis_r',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'magnetic_axis_z',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'minor_radius',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'strike_point_configuration',struct(...
-'source',double([]),...
-'value',double([])),...
+'source','',...
+'value',''),...
 'strike_point_inner_r',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'strike_point_inner_z',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'strike_point_outer_r',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'strike_point_outer_z',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'triangularity_lower',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'triangularity_upper',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'type',struct(...
-'source',double([]),...
-'value',double([]))),...
+'source','',...
+'value',int32([]))),...
 'code',struct(...
-'commit',double([]),...
-'name',double([]),...
-'output_flag',double([]),...
-'parameters',double([]),...
-'repository',double([]),...
-'version',double([])),...
+'commit','',...
+'name','',...
+'output_flag',int32([]),...
+'parameters','',...
+'repository','',...
+'version',''),...
 'configuration',struct(...
-'source',double([]),...
-'value',double([])),...
+'source','',...
+'value',''),...
 'disruption',struct(...
 'mitigation_valve',struct(...
-'source',double([]),...
-'value',double(-999999999)),...
+'source','',...
+'value',int32(-999999999)),...
 'time',struct(...
-'source',double([]),...
-'value',double(-9.0000000000000006360851714687e+40),...
-'value_error_index',double(-999999999),...
-'value_error_lower',double(-9.0000000000000006360851714687e+40),...
-'value_error_upper',double(-9.0000000000000006360851714687e+40)),...
+'source','',...
+'value',double(-9e+40),...
+'value_error_index',int32(-999999999),...
+'value_error_lower',double(-9e+40),...
+'value_error_upper',double(-9e+40)),...
 'time_half_ip',struct(...
-'source',double([]),...
-'value',double(-9.0000000000000006360851714687e+40),...
-'value_error_index',double(-999999999),...
-'value_error_lower',double(-9.0000000000000006360851714687e+40),...
-'value_error_upper',double(-9.0000000000000006360851714687e+40)),...
+'source','',...
+'value',double(-9e+40),...
+'value_error_index',int32(-999999999),...
+'value_error_lower',double(-9e+40),...
+'value_error_upper',double(-9e+40)),...
 'time_radiated_power_max',struct(...
-'source',double([]),...
-'value',double(-9.0000000000000006360851714687e+40),...
-'value_error_index',double(-999999999),...
-'value_error_lower',double(-9.0000000000000006360851714687e+40),...
-'value_error_upper',double(-9.0000000000000006360851714687e+40)),...
+'source','',...
+'value',double(-9e+40),...
+'value_error_index',int32(-999999999),...
+'value_error_lower',double(-9e+40),...
+'value_error_upper',double(-9e+40)),...
 'vertical_displacement',struct(...
-'source',double([]),...
-'value',double(-999999999))),...
+'source','',...
+'value',int32(-999999999))),...
 'elms',struct(...
 'frequency',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'type',struct(...
-'source',double([]),...
-'value',double([]))),...
+'source','',...
+'value',int32([]))),...
 'fusion',struct(...
 'current',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'neutron_fluxes',struct(...
 'dd',struct(...
 'beam_beam',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'beam_thermal',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'thermal',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'total',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([]))),...
 'dt',struct(...
 'beam_beam',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'beam_thermal',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'thermal',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'total',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([]))),...
 'thermal',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'total',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'tt',struct(...
 'beam_beam',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'beam_thermal',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'thermal',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'total',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])))),...
 'neutron_power_total',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'power',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([]))),...
 'gas_injection_rates',struct(...
 'ammonia',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'ammonia_deuterated',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'argon',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'beryllium',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'bottom',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'carbon',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'deuterium',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'ethane',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'ethylene',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'helium_3',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'helium_4',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'hydrogen',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'impurity_seeding',struct(...
-'source',double([]),...
-'value',double(-999999999)),...
+'source','',...
+'value',int32(-999999999)),...
 'krypton',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'lithium',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'methane',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'methane_carbon_13',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'methane_deuterated',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'midplane',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'neon',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'nitrogen',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'oxygen',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'propane',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'silane',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'top',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'total',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'tritium',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'xenon',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([]))),...
 'global_quantities',struct(...
 'b0',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'beta_pol',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'beta_pol_mhd',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'beta_tor',struct(...
-'source',double([]),...
+'source','',...
+'value',double([]),...
+'value_error_index',int32(-999999999),...
+'value_error_lower',double([]),...
+'value_error_upper',double([])),...
+'beta_tor_mhd',struct(...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'beta_tor_norm',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'beta_tor_norm_mhd',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'beta_tor_thermal_norm',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'current_alignment',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'current_bootstrap',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'current_non_inductive',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'current_ohm',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'denergy_diamagnetic_dt',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'denergy_thermal_dt',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'energy_b_field_pol',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'energy_diamagnetic',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'energy_electrons_thermal',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'energy_fast_parallel',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'energy_fast_perpendicular',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'energy_ion_total_thermal',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'energy_mhd',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'energy_thermal',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'energy_total',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'greenwald_fraction',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'h_98',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'h_mode',struct(...
-'source',double([]),...
-'value',double([])),...
+'source','',...
+'value',int32([])),...
 'ip',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'li',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'li_mhd',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'power_ohm',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'power_radiated',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'power_steady',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'q_95',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'r0',struct(...
-'source',double([]),...
-'value',double(-9.0000000000000006360851714687e+40),...
-'value_error_index',double(-999999999),...
-'value_error_lower',double(-9.0000000000000006360851714687e+40),...
-'value_error_upper',double(-9.0000000000000006360851714687e+40)),...
+'source','',...
+'value',double(-9e+40),...
+'value_error_index',int32(-999999999),...
+'value_error_lower',double(-9e+40),...
+'value_error_upper',double(-9e+40)),...
 'resistance',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'tau_energy',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'tau_energy_98',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'tau_helium',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'tau_resistive',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'v_loop',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'volume',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([]))),...
 'heating_current_drive',struct(...
 'ec',{{struct(...
 'angle_pol',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'angle_tor',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'current',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'energy_fast',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'frequency',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'harmonic',struct(...
-'source',double([]),...
-'value',double([])),...
+'source','',...
+'value',int32([])),...
 'polarisation',struct(...
-'source',double([]),...
-'value',double([])),...
+'source','',...
+'value',int32([])),...
 'position',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'power',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'power_launched',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])))
 ;}},...
 'ic',{{struct(...
 'current',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'e_field_plus_minus_ratio',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'energy_fast',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'frequency',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'harmonic',struct(...
-'source',double([]),...
-'value',double([])),...
+'source','',...
+'value',int32([])),...
 'k_perpendicular',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'n_tor',struct(...
-'source',double([]),...
-'value',double([])),...
+'source','',...
+'value',int32([])),...
 'phase',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'position',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'power',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'power_launched',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])))
 ;}},...
 'lh',{{struct(...
 'current',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'energy_fast',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'frequency',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'n_parallel',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'position',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'power',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'power_launched',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])))
 ;}},...
 'nbi',{{struct(...
 'angle',struct(...
-'source',double([]),...
-'value',double(-9.0000000000000006360851714687e+40),...
-'value_error_index',double(-999999999),...
-'value_error_lower',double(-9.0000000000000006360851714687e+40),...
-'value_error_upper',double(-9.0000000000000006360851714687e+40)),...
+'source','',...
+'value',double(-9e+40),...
+'value_error_index',int32(-999999999),...
+'value_error_lower',double(-9e+40),...
+'value_error_upper',double(-9e+40)),...
 'beam_current_fraction',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'beam_power_fraction',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'current',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'direction',struct(...
-'source',double([]),...
-'value',double(-999999999)),...
+'source','',...
+'value',int32(-999999999)),...
 'energy',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'position',struct(...
 'phi',struct(...
-'source',double([]),...
-'value',double(-9.0000000000000006360851714687e+40),...
-'value_error_index',double(-999999999),...
-'value_error_lower',double(-9.0000000000000006360851714687e+40),...
-'value_error_upper',double(-9.0000000000000006360851714687e+40)),...
+'source','',...
+'value',double(-9e+40),...
+'value_error_index',int32(-999999999),...
+'value_error_lower',double(-9e+40),...
+'value_error_upper',double(-9e+40)),...
 'r',struct(...
-'source',double([]),...
-'value',double(-9.0000000000000006360851714687e+40),...
-'value_error_index',double(-999999999),...
-'value_error_lower',double(-9.0000000000000006360851714687e+40),...
-'value_error_upper',double(-9.0000000000000006360851714687e+40)),...
+'source','',...
+'value',double(-9e+40),...
+'value_error_index',int32(-999999999),...
+'value_error_lower',double(-9e+40),...
+'value_error_upper',double(-9e+40)),...
 'z',struct(...
-'source',double([]),...
-'value',double(-9.0000000000000006360851714687e+40),...
-'value_error_index',double(-999999999),...
-'value_error_lower',double(-9.0000000000000006360851714687e+40),...
-'value_error_upper',double(-9.0000000000000006360851714687e+40))),...
+'source','',...
+'value',double(-9e+40),...
+'value_error_index',int32(-999999999),...
+'value_error_lower',double(-9e+40),...
+'value_error_upper',double(-9e+40))),...
 'power',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'power_launched',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'species',struct(...
 'a',struct(...
-'source',double([]),...
-'value',double(-9.0000000000000006360851714687e+40),...
-'value_error_index',double(-999999999),...
-'value_error_lower',double(-9.0000000000000006360851714687e+40),...
-'value_error_upper',double(-9.0000000000000006360851714687e+40)),...
+'source','',...
+'value',double(-9e+40),...
+'value_error_index',int32(-999999999),...
+'value_error_lower',double(-9e+40),...
+'value_error_upper',double(-9e+40)),...
 'label',struct(...
-'source',double([]),...
-'value',double([])),...
+'source','',...
+'value',''),...
 'z_n',struct(...
-'source',double([]),...
-'value',double(-9.0000000000000006360851714687e+40),...
-'value_error_index',double(-999999999),...
-'value_error_lower',double(-9.0000000000000006360851714687e+40),...
-'value_error_upper',double(-9.0000000000000006360851714687e+40))),...
+'source','',...
+'value',double(-9e+40),...
+'value_error_index',int32(-999999999),...
+'value_error_lower',double(-9e+40),...
+'value_error_upper',double(-9e+40))),...
 'tangency_radius',struct(...
-'source',double([]),...
-'value',double(-9.0000000000000006360851714687e+40),...
-'value_error_index',double(-999999999),...
-'value_error_lower',double(-9.0000000000000006360851714687e+40),...
-'value_error_upper',double(-9.0000000000000006360851714687e+40)))
+'source','',...
+'value',double(-9e+40),...
+'value_error_index',int32(-999999999),...
+'value_error_lower',double(-9e+40),...
+'value_error_upper',double(-9e+40)))
 ;}},...
 'power_ec',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'power_ic',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'power_launched_ec',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'power_launched_ic',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'power_launched_lh',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'power_launched_nbi',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'power_launched_nbi_co_injected_ratio',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'power_lh',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'power_nbi',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([]))),...
 'ids_properties',struct(...
-'comment',double([]),...
-'creation_date',double([]),...
-'homogeneous_time',double(-999999999),...
-'provider',double([]),...
-'source',double([])),...
+'comment','',...
+'creation_date','',...
+'homogeneous_time',int32(-999999999),...
+'provider','',...
+'source','',...
+'version_put',struct(...
+'access_layer','',...
+'access_layer_language','',...
+'data_dictionary','')),...
 'kicks',struct(...
 'occurrence',struct(...
-'source',double([]),...
-'value',double(-999999999))),...
+'source','',...
+'value',int32(-999999999))),...
 'limiter',struct(...
 'material',struct(...
-'description',double([]),...
-'index',double(-999999999),...
-'name',double([]))),...
+'description','',...
+'index',int32(-999999999),...
+'name','')),...
 'line_average',struct(...
 'dn_e_dt',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'isotope_fraction_hydrogen',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'meff_hydrogenic',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'n_e',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'n_i',struct(...
 'argon',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'beryllium',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'carbon',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'deuterium',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'helium_3',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'helium_4',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'hydrogen',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'lithium',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'neon',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'nitrogen',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'oxygen',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'tritium',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'tungsten',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'xenon',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([]))),...
 'n_i_total',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 't_e',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 't_i_average',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'zeff',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([]))),...
 'local',struct(...
 'divertor_plate',{{struct(...
 'flux_expansion',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'n_e',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'n_i',struct(...
 'argon',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'beryllium',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'carbon',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'deuterium',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'helium_3',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'helium_4',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'hydrogen',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'lithium',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'neon',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'nitrogen',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'oxygen',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'tritium',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'tungsten',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'xenon',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([]))),...
 'n_i_total',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'name',struct(...
-'source',double([]),...
-'value',double([])),...
+'source','',...
+'value',''),...
 't_e',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 't_i_average',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'zeff',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])))
 ;}},...
 'itb',struct(...
+'e_field_parallel',struct(...
+'source','',...
+'value',double([]),...
+'value_error_index',int32(-999999999),...
+'value_error_lower',double([]),...
+'value_error_upper',double([])),...
 'magnetic_shear',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'momentum_tor',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'n_e',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'n_i',struct(...
 'argon',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'beryllium',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'carbon',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'deuterium',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'helium_3',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'helium_4',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'hydrogen',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'lithium',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'neon',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'nitrogen',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'oxygen',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'tritium',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'tungsten',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'xenon',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([]))),...
 'n_i_total',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'position',struct(...
 'psi',double([]),...
-'psi_error_index',double(-999999999),...
+'psi_error_index',int32(-999999999),...
 'psi_error_lower',double([]),...
 'psi_error_upper',double([]),...
 'rho_tor',double([]),...
-'rho_tor_error_index',double(-999999999),...
+'rho_tor_error_index',int32(-999999999),...
 'rho_tor_error_lower',double([]),...
 'rho_tor_error_upper',double([]),...
 'rho_tor_norm',double([]),...
-'rho_tor_norm_error_index',double(-999999999),...
+'rho_tor_norm_error_index',int32(-999999999),...
 'rho_tor_norm_error_lower',double([]),...
 'rho_tor_norm_error_upper',double([])),...
 'q',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 't_e',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 't_i_average',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'velocity_tor',struct(...
 'argon',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'beryllium',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'carbon',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'deuterium',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'helium_3',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'helium_4',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'hydrogen',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'lithium',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'neon',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'nitrogen',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'oxygen',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'tritium',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'tungsten',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'xenon',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([]))),...
 'zeff',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([]))),...
 'limiter',struct(...
 'flux_expansion',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'n_e',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'n_i',struct(...
 'argon',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'beryllium',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'carbon',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'deuterium',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'helium_3',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'helium_4',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'hydrogen',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'lithium',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'neon',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'nitrogen',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'oxygen',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'tritium',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'tungsten',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'xenon',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([]))),...
 'n_i_total',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'name',struct(...
-'source',double([]),...
-'value',double([])),...
+'source','',...
+'value',''),...
 't_e',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 't_i_average',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'zeff',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([]))),...
 'magnetic_axis',struct(...
 'b_field',struct(...
-'source',double([]),...
+'source','',...
+'value',double([]),...
+'value_error_index',int32(-999999999),...
+'value_error_lower',double([]),...
+'value_error_upper',double([])),...
+'e_field_parallel',struct(...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'magnetic_shear',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'momentum_tor',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'n_e',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'n_i',struct(...
 'argon',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'beryllium',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'carbon',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'deuterium',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'helium_3',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'helium_4',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'hydrogen',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'lithium',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'neon',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'nitrogen',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'oxygen',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'tritium',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'tungsten',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'xenon',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([]))),...
 'n_i_total',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'position',struct(...
 'psi',double([]),...
-'psi_error_index',double(-999999999),...
+'psi_error_index',int32(-999999999),...
 'psi_error_lower',double([]),...
 'psi_error_upper',double([]),...
 'r',double([]),...
-'r_error_index',double(-999999999),...
+'r_error_index',int32(-999999999),...
 'r_error_lower',double([]),...
 'r_error_upper',double([]),...
 'rho_tor',double([]),...
-'rho_tor_error_index',double(-999999999),...
+'rho_tor_error_index',int32(-999999999),...
 'rho_tor_error_lower',double([]),...
 'rho_tor_error_upper',double([]),...
 'rho_tor_norm',double([]),...
-'rho_tor_norm_error_index',double(-999999999),...
+'rho_tor_norm_error_index',int32(-999999999),...
 'rho_tor_norm_error_lower',double([]),...
 'rho_tor_norm_error_upper',double([]),...
 'z',double([]),...
-'z_error_index',double(-999999999),...
+'z_error_index',int32(-999999999),...
 'z_error_lower',double([]),...
 'z_error_upper',double([])),...
 'q',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 't_e',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 't_i_average',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'velocity_tor',struct(...
 'argon',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'beryllium',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'carbon',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'deuterium',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'helium_3',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'helium_4',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'hydrogen',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'lithium',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'neon',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'nitrogen',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'oxygen',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'tritium',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'tungsten',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'xenon',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([]))),...
 'zeff',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([]))),...
 'pedestal',struct(...
+'e_field_parallel',struct(...
+'source','',...
+'value',double([]),...
+'value_error_index',int32(-999999999),...
+'value_error_lower',double([]),...
+'value_error_upper',double([])),...
 'magnetic_shear',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'momentum_tor',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'n_e',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'n_i',struct(...
 'argon',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'beryllium',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'carbon',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'deuterium',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'helium_3',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'helium_4',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'hydrogen',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'lithium',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'neon',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'nitrogen',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'oxygen',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'tritium',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'tungsten',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'xenon',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([]))),...
 'n_i_total',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'position',struct(...
 'psi',double([]),...
-'psi_error_index',double(-999999999),...
+'psi_error_index',int32(-999999999),...
 'psi_error_lower',double([]),...
 'psi_error_upper',double([]),...
 'rho_tor',double([]),...
-'rho_tor_error_index',double(-999999999),...
+'rho_tor_error_index',int32(-999999999),...
 'rho_tor_error_lower',double([]),...
 'rho_tor_error_upper',double([]),...
 'rho_tor_norm',double([]),...
-'rho_tor_norm_error_index',double(-999999999),...
+'rho_tor_norm_error_index',int32(-999999999),...
 'rho_tor_norm_error_lower',double([]),...
 'rho_tor_norm_error_upper',double([])),...
 'q',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 't_e',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 't_i_average',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'velocity_tor',struct(...
 'argon',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'beryllium',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'carbon',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'deuterium',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'helium_3',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'helium_4',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'hydrogen',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'lithium',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'neon',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'nitrogen',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'oxygen',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'tritium',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'tungsten',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'xenon',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([]))),...
 'zeff',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([]))),...
 'r_eff_norm_2_3',struct(...
 'effective_helical_ripple',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'iota',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'plateau_factor',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([]))),...
 'separatrix',struct(...
+'e_field_parallel',struct(...
+'source','',...
+'value',double([]),...
+'value_error_index',int32(-999999999),...
+'value_error_lower',double([]),...
+'value_error_upper',double([])),...
 'magnetic_shear',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'momentum_tor',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'n_e',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'n_i',struct(...
 'argon',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'beryllium',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'carbon',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'deuterium',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'helium_3',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'helium_4',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'hydrogen',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'lithium',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'neon',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'nitrogen',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'oxygen',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'tritium',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'tungsten',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'xenon',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([]))),...
 'n_i_total',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'position',struct(...
 'psi',double([]),...
-'psi_error_index',double(-999999999),...
+'psi_error_index',int32(-999999999),...
 'psi_error_lower',double([]),...
 'psi_error_upper',double([]),...
 'rho_tor',double([]),...
-'rho_tor_error_index',double(-999999999),...
+'rho_tor_error_index',int32(-999999999),...
 'rho_tor_error_lower',double([]),...
 'rho_tor_error_upper',double([]),...
 'rho_tor_norm',double([]),...
-'rho_tor_norm_error_index',double(-999999999),...
+'rho_tor_norm_error_index',int32(-999999999),...
 'rho_tor_norm_error_lower',double([]),...
 'rho_tor_norm_error_upper',double([])),...
 'q',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 't_e',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 't_i_average',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'velocity_tor',struct(...
 'argon',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'beryllium',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'carbon',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'deuterium',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'helium_3',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'helium_4',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'hydrogen',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'lithium',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'neon',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'nitrogen',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'oxygen',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'tritium',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'tungsten',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'xenon',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([]))),...
 'zeff',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])))),...
 'magnetic_shear_flag',struct(...
-'source',double([]),...
-'value',double(-999999999)),...
+'source','',...
+'value',int32(-999999999)),...
 'pedestal_fits',struct(...
 'linear',struct(...
 'b_field_pedestal_top_hfs',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'b_field_pedestal_top_lfs',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'b_field_pol_pedestal_top_average',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'b_field_pol_pedestal_top_hfs',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'b_field_pol_pedestal_top_lfs',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'b_field_tor_pedestal_top_hfs',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'b_field_tor_pedestal_top_lfs',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'beta_pol_pedestal_top_electron_average',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'beta_pol_pedestal_top_electron_hfs',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'beta_pol_pedestal_top_electron_lfs',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'coulomb_factor_pedestal_top',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'energy_thermal_pedestal_electron',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'energy_thermal_pedestal_ion',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'n_e',struct(...
 'd_dpsi_norm',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'd_dpsi_norm_max',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'offset',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'pedestal_height',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'pedestal_position',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'pedestal_width',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'separatrix',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([]))),...
 'nustar_pedestal_top_electron',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'parameters',double([]),...
-'parameters_error_index',double(-999999999),...
+'parameters_error_index',int32(-999999999),...
 'parameters_error_lower',double([]),...
 'parameters_error_upper',double([]),...
 'pressure_electron',struct(...
 'd_dpsi_norm',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'd_dpsi_norm_max',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'd_dpsi_norm_max_position',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'offset',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'pedestal_height',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'pedestal_position',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'pedestal_width',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'separatrix',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([]))),...
 'rhostar_pedestal_top_electron_hfs',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'rhostar_pedestal_top_electron_lfs',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'rhostar_pedestal_top_electron_magnetic_axis',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 't_e',struct(...
 'd_dpsi_norm',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'd_dpsi_norm_max',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'offset',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'pedestal_height',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'pedestal_position',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'pedestal_width',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([]))),...
 'volume_inside_pedestal',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([]))),...
 'mtanh',struct(...
 'alpha_electron_pedestal_max',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'alpha_electron_pedestal_max_position',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'b_field_pedestal_top_hfs',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'b_field_pedestal_top_lfs',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'b_field_pol_pedestal_top_average',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'b_field_pol_pedestal_top_hfs',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'b_field_pol_pedestal_top_lfs',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'b_field_tor_pedestal_top_hfs',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'b_field_tor_pedestal_top_lfs',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'beta_pol_pedestal_top_electron_average',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'beta_pol_pedestal_top_electron_hfs',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'beta_pol_pedestal_top_electron_lfs',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'coulomb_factor_pedestal_top',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'energy_thermal_pedestal_electron',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'energy_thermal_pedestal_ion',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'n_e',struct(...
 'd_dpsi_norm',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'd_dpsi_norm_max',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'd_dpsi_norm_max_position',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'offset',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'pedestal_height',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'pedestal_position',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'pedestal_width',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'separatrix',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([]))),...
 'nustar_pedestal_top_electron',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'parameters',double([]),...
-'parameters_error_index',double(-999999999),...
+'parameters_error_index',int32(-999999999),...
 'parameters_error_lower',double([]),...
 'parameters_error_upper',double([]),...
 'pressure_electron',struct(...
 'd_dpsi_norm',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'd_dpsi_norm_max',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'd_dpsi_norm_max_position',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'offset',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'pedestal_height',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'pedestal_position',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'pedestal_width',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'separatrix',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([]))),...
 'rhostar_pedestal_top_electron_hfs',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'rhostar_pedestal_top_electron_lfs',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'rhostar_pedestal_top_electron_magnetic_axis',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'stability',struct(...
 'alpha_experimental',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'bootstrap_current_hager',struct(...
 'alpha_critical',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'alpha_ratio',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 't_e_pedestal_top_critical',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([]))),...
 'bootstrap_current_sauter',struct(...
 'alpha_critical',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'alpha_ratio',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 't_e_pedestal_top_critical',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])))),...
 't_e',struct(...
 'd_dpsi_norm',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'd_dpsi_norm_max',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'd_dpsi_norm_max_position',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'offset',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'pedestal_height',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'pedestal_position',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'pedestal_width',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([]))),...
 'volume_inside_pedestal',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])))),...
 'pellets',struct(...
 'occurrence',struct(...
-'source',double([]),...
-'value',double(-999999999))),...
+'source','',...
+'value',int32(-999999999))),...
 'rmps',struct(...
 'occurrence',struct(...
-'source',double([]),...
-'value',double(-999999999))),...
+'source','',...
+'value',int32(-999999999))),...
 'runaways',struct(...
 'current',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'particles',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([]))),...
 'scrape_off_layer',struct(...
 'heat_flux_e_decay_length',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'heat_flux_i_decay_length',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'n_e_decay_length',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'n_i_total_decay_length',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'power_radiated',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'pressure_neutral',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 't_e_decay_length',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 't_i_average_decay_length',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([]))),...
 'stationary_phase_flag',struct(...
-'source',double([]),...
-'value',double([])),...
+'source','',...
+'value',int32([])),...
 'tag',struct(...
-'comment',double([]),...
-'name',double([])),...
+'comment','',...
+'name',''),...
 'time',double([]),...
 'time_width',double([]),...
-'time_width_error_index',double(-999999999),...
+'time_width_error_index',int32(-999999999),...
 'time_width_error_lower',double([]),...
 'time_width_error_upper',double([]),...
 'volume_average',struct(...
 'dn_e_dt',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'isotope_fraction_hydrogen',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'meff_hydrogenic',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'n_e',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'n_i',struct(...
 'argon',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'beryllium',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'carbon',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'deuterium',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'helium_3',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'helium_4',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'hydrogen',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'lithium',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'neon',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'nitrogen',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'oxygen',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'tritium',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'tungsten',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'xenon',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([]))),...
 'n_i_total',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 't_e',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 't_i_average',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'zeff',struct(...
-'source',double([]),...
+'source','',...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([]))),...
 'wall',struct(...
 'evaporation',struct(...
-'source',double([]),...
-'value',double([])),...
+'source','',...
+'value',''),...
 'material',struct(...
-'description',double([]),...
-'index',double(-999999999),...
-'name',double([]))));
+'description','',...
+'index',int32(-999999999),...
+'name','')));
diff --git a/matlab/TCV_IMAS/ids_empty/ids_empty_temporary.m b/matlab/TCV_IMAS/ids_empty/ids_empty_temporary.m
index 439fcf95b61c3c11dc4f4cec6cf52ab7b8f02558..65300d1c4134823be64b06539900792b0e1a9177 100644
--- a/matlab/TCV_IMAS/ids_empty/ids_empty_temporary.m
+++ b/matlab/TCV_IMAS/ids_empty/ids_empty_temporary.m
@@ -6,227 +6,231 @@ function S = ids_empty_temporary
 S = ... 
 struct(...
 'code',struct(...
-'commit',double([]),...
-'name',double([]),...
-'output_flag',double([]),...
-'parameters',double([]),...
-'repository',double([]),...
-'version',double([])),...
+'commit','',...
+'name','',...
+'output_flag',int32([]),...
+'parameters','',...
+'repository','',...
+'version',''),...
 'constant_float0d',{{struct(...
 'identifier',struct(...
-'description',double([]),...
-'index',double(-999999999),...
-'name',double([])),...
-'value',double(-9.0000000000000006360851714687e+40),...
-'value_error_index',double(-999999999),...
-'value_error_lower',double(-9.0000000000000006360851714687e+40),...
-'value_error_upper',double(-9.0000000000000006360851714687e+40))
+'description','',...
+'index',int32(-999999999),...
+'name',''),...
+'value',double(-9e+40),...
+'value_error_index',int32(-999999999),...
+'value_error_lower',double(-9e+40),...
+'value_error_upper',double(-9e+40))
 ;}},...
 'constant_float1d',{{struct(...
 'identifier',struct(...
-'description',double([]),...
-'index',double(-999999999),...
-'name',double([])),...
+'description','',...
+'index',int32(-999999999),...
+'name',''),...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([]))
 ;}},...
 'constant_float2d',{{struct(...
 'identifier',struct(...
-'description',double([]),...
-'index',double(-999999999),...
-'name',double([])),...
+'description','',...
+'index',int32(-999999999),...
+'name',''),...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([]))
 ;}},...
 'constant_float3d',{{struct(...
 'identifier',struct(...
-'description',double([]),...
-'index',double(-999999999),...
-'name',double([])),...
+'description','',...
+'index',int32(-999999999),...
+'name',''),...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([]))
 ;}},...
 'constant_float4d',{{struct(...
 'identifier',struct(...
-'description',double([]),...
-'index',double(-999999999),...
-'name',double([])),...
+'description','',...
+'index',int32(-999999999),...
+'name',''),...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([]))
 ;}},...
 'constant_float5d',{{struct(...
 'identifier',struct(...
-'description',double([]),...
-'index',double(-999999999),...
-'name',double([])),...
+'description','',...
+'index',int32(-999999999),...
+'name',''),...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([]))
 ;}},...
 'constant_float6d',{{struct(...
 'identifier',struct(...
-'description',double([]),...
-'index',double(-999999999),...
-'name',double([])),...
+'description','',...
+'index',int32(-999999999),...
+'name',''),...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([]))
 ;}},...
 'constant_integer0d',{{struct(...
 'identifier',struct(...
-'description',double([]),...
-'index',double(-999999999),...
-'name',double([])),...
-'value',double(-999999999))
+'description','',...
+'index',int32(-999999999),...
+'name',''),...
+'value',int32(-999999999))
 ;}},...
 'constant_integer1d',{{struct(...
 'identifier',struct(...
-'description',double([]),...
-'index',double(-999999999),...
-'name',double([])),...
-'value',double([]))
+'description','',...
+'index',int32(-999999999),...
+'name',''),...
+'value',int32([]))
 ;}},...
 'constant_integer2d',{{struct(...
 'identifier',struct(...
-'description',double([]),...
-'index',double(-999999999),...
-'name',double([])),...
-'value',double([]))
+'description','',...
+'index',int32(-999999999),...
+'name',''),...
+'value',int32([]))
 ;}},...
 'constant_integer3d',{{struct(...
 'identifier',struct(...
-'description',double([]),...
-'index',double(-999999999),...
-'name',double([])),...
-'value',double([]))
+'description','',...
+'index',int32(-999999999),...
+'name',''),...
+'value',int32([]))
 ;}},...
 'constant_string0d',{{struct(...
 'identifier',struct(...
-'description',double([]),...
-'index',double(-999999999),...
-'name',double([])),...
-'value',double([]))
+'description','',...
+'index',int32(-999999999),...
+'name',''),...
+'value','')
 ;}},...
 'constant_string1d',{{struct(...
 'identifier',struct(...
-'description',double([]),...
-'index',double(-999999999),...
-'name',double([])),...
-'value',{{double([]);}})
+'description','',...
+'index',int32(-999999999),...
+'name',''),...
+'value',{{}})
 ;}},...
 'dynamic_float1d',{{struct(...
 'identifier',struct(...
-'description',double([]),...
-'index',double(-999999999),...
-'name',double([])),...
+'description','',...
+'index',int32(-999999999),...
+'name',''),...
 'value',struct(...
 'data',double([]),...
-'data_error_index',double(-999999999),...
+'data_error_index',int32(-999999999),...
 'data_error_lower',double([]),...
 'data_error_upper',double([]),...
 'time',double([])))
 ;}},...
 'dynamic_float2d',{{struct(...
 'identifier',struct(...
-'description',double([]),...
-'index',double(-999999999),...
-'name',double([])),...
+'description','',...
+'index',int32(-999999999),...
+'name',''),...
 'value',struct(...
 'data',double([]),...
-'data_error_index',double(-999999999),...
+'data_error_index',int32(-999999999),...
 'data_error_lower',double([]),...
 'data_error_upper',double([]),...
 'time',double([])))
 ;}},...
 'dynamic_float3d',{{struct(...
 'identifier',struct(...
-'description',double([]),...
-'index',double(-999999999),...
-'name',double([])),...
+'description','',...
+'index',int32(-999999999),...
+'name',''),...
 'value',struct(...
 'data',double([]),...
-'data_error_index',double(-999999999),...
+'data_error_index',int32(-999999999),...
 'data_error_lower',double([]),...
 'data_error_upper',double([]),...
 'time',double([])))
 ;}},...
 'dynamic_float4d',{{struct(...
 'identifier',struct(...
-'description',double([]),...
-'index',double(-999999999),...
-'name',double([])),...
+'description','',...
+'index',int32(-999999999),...
+'name',''),...
 'value',struct(...
 'data',double([]),...
-'data_error_index',double(-999999999),...
+'data_error_index',int32(-999999999),...
 'data_error_lower',double([]),...
 'data_error_upper',double([]),...
 'time',double([])))
 ;}},...
 'dynamic_float5d',{{struct(...
 'identifier',struct(...
-'description',double([]),...
-'index',double(-999999999),...
-'name',double([])),...
+'description','',...
+'index',int32(-999999999),...
+'name',''),...
 'value',struct(...
 'data',double([]),...
-'data_error_index',double(-999999999),...
+'data_error_index',int32(-999999999),...
 'data_error_lower',double([]),...
 'data_error_upper',double([]),...
 'time',double([])))
 ;}},...
 'dynamic_float6d',{{struct(...
 'identifier',struct(...
-'description',double([]),...
-'index',double(-999999999),...
-'name',double([])),...
+'description','',...
+'index',int32(-999999999),...
+'name',''),...
 'value',struct(...
 'data',double([]),...
-'data_error_index',double(-999999999),...
+'data_error_index',int32(-999999999),...
 'data_error_lower',double([]),...
 'data_error_upper',double([]),...
 'time',double([])))
 ;}},...
 'dynamic_integer1d',{{struct(...
 'identifier',struct(...
-'description',double([]),...
-'index',double(-999999999),...
-'name',double([])),...
+'description','',...
+'index',int32(-999999999),...
+'name',''),...
 'value',struct(...
-'data',double([]),...
+'data',int32([]),...
 'time',double([])))
 ;}},...
 'dynamic_integer2d',{{struct(...
 'identifier',struct(...
-'description',double([]),...
-'index',double(-999999999),...
-'name',double([])),...
+'description','',...
+'index',int32(-999999999),...
+'name',''),...
 'value',struct(...
-'data',double([]),...
+'data',int32([]),...
 'time',double([])))
 ;}},...
 'dynamic_integer3d',{{struct(...
 'identifier',struct(...
-'description',double([]),...
-'index',double(-999999999),...
-'name',double([])),...
+'description','',...
+'index',int32(-999999999),...
+'name',''),...
 'value',struct(...
-'data',double([]),...
+'data',int32([]),...
 'time',double([])))
 ;}},...
 'ids_properties',struct(...
-'comment',double([]),...
-'creation_date',double([]),...
-'homogeneous_time',double(-999999999),...
-'provider',double([]),...
-'source',double([])),...
+'comment','',...
+'creation_date','',...
+'homogeneous_time',int32(-999999999),...
+'provider','',...
+'source','',...
+'version_put',struct(...
+'access_layer','',...
+'access_layer_language','',...
+'data_dictionary','')),...
 'time',double([]));
diff --git a/matlab/TCV_IMAS/ids_empty/ids_empty_tf.m b/matlab/TCV_IMAS/ids_empty/ids_empty_tf.m
index 4ee0eaf66e14f5c19a1ce89989447aa9a90d9bb4..a56d8d6bfd70afaf0944734e2942e478ad54b32a 100644
--- a/matlab/TCV_IMAS/ids_empty/ids_empty_tf.m
+++ b/matlab/TCV_IMAS/ids_empty/ids_empty_tf.m
@@ -7,7 +7,7 @@ S = ...
 struct(...
 'b_field_tor_vacuum_r',struct(...
 'data',double([]),...
-'data_error_index',double(-999999999),...
+'data_error_index',int32(-999999999),...
 'data_error_lower',double([]),...
 'data_error_upper',double([]),...
 'time',double([])),...
@@ -15,183 +15,189 @@ struct(...
 'conductor',{{struct(...
 'cross_section',struct(...
 'delta_phi',double([]),...
-'delta_phi_error_index',double(-999999999),...
+'delta_phi_error_index',int32(-999999999),...
 'delta_phi_error_lower',double([]),...
 'delta_phi_error_upper',double([]),...
 'delta_r',double([]),...
-'delta_r_error_index',double(-999999999),...
+'delta_r_error_index',int32(-999999999),...
 'delta_r_error_lower',double([]),...
 'delta_r_error_upper',double([]),...
 'delta_z',double([]),...
-'delta_z_error_index',double(-999999999),...
+'delta_z_error_index',int32(-999999999),...
 'delta_z_error_lower',double([]),...
 'delta_z_error_upper',double([])),...
 'current',struct(...
 'data',double([]),...
-'data_error_index',double(-999999999),...
+'data_error_index',int32(-999999999),...
 'data_error_lower',double([]),...
 'data_error_upper',double([]),...
 'time',double([])),...
 'elements',struct(...
 'centres',struct(...
 'phi',double([]),...
-'phi_error_index',double(-999999999),...
+'phi_error_index',int32(-999999999),...
 'phi_error_lower',double([]),...
 'phi_error_upper',double([]),...
 'r',double([]),...
-'r_error_index',double(-999999999),...
+'r_error_index',int32(-999999999),...
 'r_error_lower',double([]),...
 'r_error_upper',double([]),...
 'z',double([]),...
-'z_error_index',double(-999999999),...
+'z_error_index',int32(-999999999),...
 'z_error_lower',double([]),...
 'z_error_upper',double([])),...
 'end_points',struct(...
 'phi',double([]),...
-'phi_error_index',double(-999999999),...
+'phi_error_index',int32(-999999999),...
 'phi_error_lower',double([]),...
 'phi_error_upper',double([]),...
 'r',double([]),...
-'r_error_index',double(-999999999),...
+'r_error_index',int32(-999999999),...
 'r_error_lower',double([]),...
 'r_error_upper',double([]),...
 'z',double([]),...
-'z_error_index',double(-999999999),...
+'z_error_index',int32(-999999999),...
 'z_error_lower',double([]),...
 'z_error_upper',double([])),...
 'intermediate_points',struct(...
 'phi',double([]),...
-'phi_error_index',double(-999999999),...
+'phi_error_index',int32(-999999999),...
 'phi_error_lower',double([]),...
 'phi_error_upper',double([]),...
 'r',double([]),...
-'r_error_index',double(-999999999),...
+'r_error_index',int32(-999999999),...
 'r_error_lower',double([]),...
 'r_error_upper',double([]),...
 'z',double([]),...
-'z_error_index',double(-999999999),...
+'z_error_index',int32(-999999999),...
 'z_error_lower',double([]),...
 'z_error_upper',double([])),...
-'names',{{double([]);}},...
+'names',{{}},...
 'start_points',struct(...
 'phi',double([]),...
-'phi_error_index',double(-999999999),...
+'phi_error_index',int32(-999999999),...
 'phi_error_lower',double([]),...
 'phi_error_upper',double([]),...
 'r',double([]),...
-'r_error_index',double(-999999999),...
+'r_error_index',int32(-999999999),...
 'r_error_lower',double([]),...
 'r_error_upper',double([]),...
 'z',double([]),...
-'z_error_index',double(-999999999),...
+'z_error_index',int32(-999999999),...
 'z_error_lower',double([]),...
 'z_error_upper',double([])),...
-'types',double([])),...
-'resistance',double(-9.0000000000000006360851714687e+40),...
-'resistance_error_index',double(-999999999),...
-'resistance_error_lower',double(-9.0000000000000006360851714687e+40),...
-'resistance_error_upper',double(-9.0000000000000006360851714687e+40),...
+'types',int32([])),...
+'resistance',double(-9e+40),...
+'resistance_error_index',int32(-999999999),...
+'resistance_error_lower',double(-9e+40),...
+'resistance_error_upper',double(-9e+40),...
 'voltage',struct(...
 'data',double([]),...
-'data_error_index',double(-999999999),...
+'data_error_index',int32(-999999999),...
 'data_error_lower',double([]),...
 'data_error_upper',double([]),...
 'time',double([])))
 ;}},...
 'current',struct(...
 'data',double([]),...
-'data_error_index',double(-999999999),...
+'data_error_index',int32(-999999999),...
 'data_error_lower',double([]),...
 'data_error_upper',double([]),...
 'time',double([])),...
-'identifier',double([]),...
-'name',double([]),...
-'resistance',double(-9.0000000000000006360851714687e+40),...
-'resistance_error_index',double(-999999999),...
-'resistance_error_lower',double(-9.0000000000000006360851714687e+40),...
-'resistance_error_upper',double(-9.0000000000000006360851714687e+40),...
-'turns',double(-9.0000000000000006360851714687e+40),...
-'turns_error_index',double(-999999999),...
-'turns_error_lower',double(-9.0000000000000006360851714687e+40),...
-'turns_error_upper',double(-9.0000000000000006360851714687e+40),...
+'identifier','',...
+'name','',...
+'resistance',double(-9e+40),...
+'resistance_error_index',int32(-999999999),...
+'resistance_error_lower',double(-9e+40),...
+'resistance_error_upper',double(-9e+40),...
+'turns',double(-9e+40),...
+'turns_error_index',int32(-999999999),...
+'turns_error_lower',double(-9e+40),...
+'turns_error_upper',double(-9e+40),...
 'voltage',struct(...
 'data',double([]),...
-'data_error_index',double(-999999999),...
+'data_error_index',int32(-999999999),...
 'data_error_lower',double([]),...
 'data_error_upper',double([]),...
 'time',double([])))
 ;}},...
-'coils_n',double(-999999999),...
+'coils_n',int32(-999999999),...
+'delta_b_field_tor_vacuum_r',struct(...
+'data',double([]),...
+'data_error_index',int32(-999999999),...
+'data_error_lower',double([]),...
+'data_error_upper',double([]),...
+'time',double([])),...
 'field_map',{{struct(...
 'a_field_r',{{struct(...
 'coefficients',double([]),...
-'coefficients_error_index',double(-999999999),...
+'coefficients_error_index',int32(-999999999),...
 'coefficients_error_lower',double([]),...
 'coefficients_error_upper',double([]),...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
 'values',double([]),...
-'values_error_index',double(-999999999),...
+'values_error_index',int32(-999999999),...
 'values_error_lower',double([]),...
 'values_error_upper',double([]))
 ;}},...
 'a_field_tor',{{struct(...
 'coefficients',double([]),...
-'coefficients_error_index',double(-999999999),...
+'coefficients_error_index',int32(-999999999),...
 'coefficients_error_lower',double([]),...
 'coefficients_error_upper',double([]),...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
 'values',double([]),...
-'values_error_index',double(-999999999),...
+'values_error_index',int32(-999999999),...
 'values_error_lower',double([]),...
 'values_error_upper',double([]))
 ;}},...
 'a_field_z',{{struct(...
 'coefficients',double([]),...
-'coefficients_error_index',double(-999999999),...
+'coefficients_error_index',int32(-999999999),...
 'coefficients_error_lower',double([]),...
 'coefficients_error_upper',double([]),...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
 'values',double([]),...
-'values_error_index',double(-999999999),...
+'values_error_index',int32(-999999999),...
 'values_error_lower',double([]),...
 'values_error_upper',double([]))
 ;}},...
 'b_field_r',{{struct(...
 'coefficients',double([]),...
-'coefficients_error_index',double(-999999999),...
+'coefficients_error_index',int32(-999999999),...
 'coefficients_error_lower',double([]),...
 'coefficients_error_upper',double([]),...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
 'values',double([]),...
-'values_error_index',double(-999999999),...
+'values_error_index',int32(-999999999),...
 'values_error_lower',double([]),...
 'values_error_upper',double([]))
 ;}},...
 'b_field_tor',{{struct(...
 'coefficients',double([]),...
-'coefficients_error_index',double(-999999999),...
+'coefficients_error_index',int32(-999999999),...
 'coefficients_error_lower',double([]),...
 'coefficients_error_upper',double([]),...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
 'values',double([]),...
-'values_error_index',double(-999999999),...
+'values_error_index',int32(-999999999),...
 'values_error_lower',double([]),...
 'values_error_upper',double([]))
 ;}},...
 'b_field_z',{{struct(...
 'coefficients',double([]),...
-'coefficients_error_index',double(-999999999),...
+'coefficients_error_index',int32(-999999999),...
 'coefficients_error_lower',double([]),...
 'coefficients_error_upper',double([]),...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
 'values',double([]),...
-'values_error_index',double(-999999999),...
+'values_error_index',int32(-999999999),...
 'values_error_lower',double([]),...
 'values_error_upper',double([]))
 ;}},...
@@ -199,87 +205,91 @@ struct(...
 'grid_subset',{{struct(...
 'base',{{struct(...
 'jacobian',double([]),...
-'jacobian_error_index',double(-999999999),...
+'jacobian_error_index',int32(-999999999),...
 'jacobian_error_lower',double([]),...
 'jacobian_error_upper',double([]),...
 'tensor_contravariant',double([]),...
-'tensor_contravariant_error_index',double(-999999999),...
+'tensor_contravariant_error_index',int32(-999999999),...
 'tensor_contravariant_error_lower',double([]),...
 'tensor_contravariant_error_upper',double([]),...
 'tensor_covariant',double([]),...
-'tensor_covariant_error_index',double(-999999999),...
+'tensor_covariant_error_index',int32(-999999999),...
 'tensor_covariant_error_lower',double([]),...
 'tensor_covariant_error_upper',double([]))
 ;}},...
-'dimension',double(-999999999),...
+'dimension',int32(-999999999),...
 'element',{{struct(...
 'object',{{struct(...
-'dimension',double(-999999999),...
-'index',double(-999999999),...
-'space',double(-999999999))
+'dimension',int32(-999999999),...
+'index',int32(-999999999),...
+'space',int32(-999999999))
 ;}})
 ;}},...
 'identifier',struct(...
-'description',double([]),...
-'index',double(-999999999),...
-'name',double([])),...
+'description','',...
+'index',int32(-999999999),...
+'name',''),...
 'metric',struct(...
 'jacobian',double([]),...
-'jacobian_error_index',double(-999999999),...
+'jacobian_error_index',int32(-999999999),...
 'jacobian_error_lower',double([]),...
 'jacobian_error_upper',double([]),...
 'tensor_contravariant',double([]),...
-'tensor_contravariant_error_index',double(-999999999),...
+'tensor_contravariant_error_index',int32(-999999999),...
 'tensor_contravariant_error_lower',double([]),...
 'tensor_contravariant_error_upper',double([]),...
 'tensor_covariant',double([]),...
-'tensor_covariant_error_index',double(-999999999),...
+'tensor_covariant_error_index',int32(-999999999),...
 'tensor_covariant_error_lower',double([]),...
 'tensor_covariant_error_upper',double([])))
 ;}},...
 'identifier',struct(...
-'description',double([]),...
-'index',double(-999999999),...
-'name',double([])),...
+'description','',...
+'index',int32(-999999999),...
+'name',''),...
 'space',{{struct(...
-'coordinates_type',double([]),...
+'coordinates_type',int32([]),...
 'geometry_type',struct(...
-'description',double([]),...
-'index',double(-999999999),...
-'name',double([])),...
+'description','',...
+'index',int32(-999999999),...
+'name',''),...
 'identifier',struct(...
-'description',double([]),...
-'index',double(-999999999),...
-'name',double([])),...
+'description','',...
+'index',int32(-999999999),...
+'name',''),...
 'objects_per_dimension',{{struct(...
 'object',{{struct(...
 'boundary',{{struct(...
-'index',double(-999999999),...
-'neighbours',double([]))
+'index',int32(-999999999),...
+'neighbours',int32([]))
 ;}},...
 'geometry',double([]),...
-'geometry_error_index',double(-999999999),...
+'geometry_error_index',int32(-999999999),...
 'geometry_error_lower',double([]),...
 'geometry_error_upper',double([]),...
-'measure',double(-9.0000000000000006360851714687e+40),...
-'measure_error_index',double(-999999999),...
-'measure_error_lower',double(-9.0000000000000006360851714687e+40),...
-'measure_error_upper',double(-9.0000000000000006360851714687e+40),...
-'nodes',double([]))
+'measure',double(-9e+40),...
+'measure_error_index',int32(-999999999),...
+'measure_error_lower',double(-9e+40),...
+'measure_error_upper',double(-9e+40),...
+'nodes',int32([]))
 ;}})
 ;}})
 ;}}),...
-'time',double(-9.0000000000000006360851714687e+40))
+'time',double(-9e+40))
 ;}},...
 'ids_properties',struct(...
-'comment',double([]),...
-'creation_date',double([]),...
-'homogeneous_time',double(-999999999),...
-'provider',double([]),...
-'source',double([])),...
-'is_periodic',double(-999999999),...
-'r0',double(-9.0000000000000006360851714687e+40),...
-'r0_error_index',double(-999999999),...
-'r0_error_lower',double(-9.0000000000000006360851714687e+40),...
-'r0_error_upper',double(-9.0000000000000006360851714687e+40),...
+'comment','',...
+'creation_date','',...
+'homogeneous_time',int32(-999999999),...
+'provider','',...
+'source','',...
+'version_put',struct(...
+'access_layer','',...
+'access_layer_language','',...
+'data_dictionary','')),...
+'is_periodic',int32(-999999999),...
+'r0',double(-9e+40),...
+'r0_error_index',int32(-999999999),...
+'r0_error_lower',double(-9e+40),...
+'r0_error_upper',double(-9e+40),...
 'time',double([]));
diff --git a/matlab/TCV_IMAS/ids_empty/ids_empty_thomson_scattering.m b/matlab/TCV_IMAS/ids_empty/ids_empty_thomson_scattering.m
index 3872ef311a0ad2f0b11ae78ea34bc495bf5f14fc..0be8f95a4a91d3bfb628c4818dc70835df55d610 100644
--- a/matlab/TCV_IMAS/ids_empty/ids_empty_thomson_scattering.m
+++ b/matlab/TCV_IMAS/ids_empty/ids_empty_thomson_scattering.m
@@ -6,45 +6,49 @@ function S = ids_empty_thomson_scattering
 S = ... 
 struct(...
 'channel',{{struct(...
-'identifier',double([]),...
+'identifier','',...
 'n_e',struct(...
 'data',double([]),...
-'data_error_index',double(-999999999),...
+'data_error_index',int32(-999999999),...
 'data_error_lower',double([]),...
 'data_error_upper',double([]),...
 'time',double([])),...
-'name',double([]),...
+'name','',...
 'position',struct(...
-'phi',double(-9.0000000000000006360851714687e+40),...
-'phi_error_index',double(-999999999),...
-'phi_error_lower',double(-9.0000000000000006360851714687e+40),...
-'phi_error_upper',double(-9.0000000000000006360851714687e+40),...
-'r',double(-9.0000000000000006360851714687e+40),...
-'r_error_index',double(-999999999),...
-'r_error_lower',double(-9.0000000000000006360851714687e+40),...
-'r_error_upper',double(-9.0000000000000006360851714687e+40),...
-'z',double(-9.0000000000000006360851714687e+40),...
-'z_error_index',double(-999999999),...
-'z_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_error_upper',double(-9.0000000000000006360851714687e+40)),...
+'phi',double(-9e+40),...
+'phi_error_index',int32(-999999999),...
+'phi_error_lower',double(-9e+40),...
+'phi_error_upper',double(-9e+40),...
+'r',double(-9e+40),...
+'r_error_index',int32(-999999999),...
+'r_error_lower',double(-9e+40),...
+'r_error_upper',double(-9e+40),...
+'z',double(-9e+40),...
+'z_error_index',int32(-999999999),...
+'z_error_lower',double(-9e+40),...
+'z_error_upper',double(-9e+40)),...
 't_e',struct(...
 'data',double([]),...
-'data_error_index',double(-999999999),...
+'data_error_index',int32(-999999999),...
 'data_error_lower',double([]),...
 'data_error_upper',double([]),...
 'time',double([])))
 ;}},...
 'code',struct(...
-'commit',double([]),...
-'name',double([]),...
-'output_flag',double([]),...
-'parameters',double([]),...
-'repository',double([]),...
-'version',double([])),...
+'commit','',...
+'name','',...
+'output_flag',int32([]),...
+'parameters','',...
+'repository','',...
+'version',''),...
 'ids_properties',struct(...
-'comment',double([]),...
-'creation_date',double([]),...
-'homogeneous_time',double(-999999999),...
-'provider',double([]),...
-'source',double([])),...
+'comment','',...
+'creation_date','',...
+'homogeneous_time',int32(-999999999),...
+'provider','',...
+'source','',...
+'version_put',struct(...
+'access_layer','',...
+'access_layer_language','',...
+'data_dictionary','')),...
 'time',double([]));
diff --git a/matlab/TCV_IMAS/ids_empty/ids_empty_transport_solver_numerics.m b/matlab/TCV_IMAS/ids_empty/ids_empty_transport_solver_numerics.m
index e6598c6a4a71578a632596a4f78611ab70702fda..7362cc69f986df053886084cd5a6176b46a952ed 100644
--- a/matlab/TCV_IMAS/ids_empty/ids_empty_transport_solver_numerics.m
+++ b/matlab/TCV_IMAS/ids_empty/ids_empty_transport_solver_numerics.m
@@ -8,197 +8,197 @@ struct(...
 'boundary_conditions_1d',{{struct(...
 'current',struct(...
 'identifier',struct(...
-'description',double([]),...
-'index',double(-999999999),...
-'name',double([])),...
-'rho_tor_norm',double(-9.0000000000000006360851714687e+40),...
-'rho_tor_norm_error_index',double(-999999999),...
-'rho_tor_norm_error_lower',double(-9.0000000000000006360851714687e+40),...
-'rho_tor_norm_error_upper',double(-9.0000000000000006360851714687e+40),...
+'description','',...
+'index',int32(-999999999),...
+'name',''),...
+'rho_tor_norm',double(-9e+40),...
+'rho_tor_norm_error_index',int32(-999999999),...
+'rho_tor_norm_error_lower',double(-9e+40),...
+'rho_tor_norm_error_upper',double(-9e+40),...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'electrons',struct(...
 'energy',struct(...
 'identifier',struct(...
-'description',double([]),...
-'index',double(-999999999),...
-'name',double([])),...
-'rho_tor_norm',double(-9.0000000000000006360851714687e+40),...
-'rho_tor_norm_error_index',double(-999999999),...
-'rho_tor_norm_error_lower',double(-9.0000000000000006360851714687e+40),...
-'rho_tor_norm_error_upper',double(-9.0000000000000006360851714687e+40),...
+'description','',...
+'index',int32(-999999999),...
+'name',''),...
+'rho_tor_norm',double(-9e+40),...
+'rho_tor_norm_error_index',int32(-999999999),...
+'rho_tor_norm_error_lower',double(-9e+40),...
+'rho_tor_norm_error_upper',double(-9e+40),...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'particles',struct(...
 'identifier',struct(...
-'description',double([]),...
-'index',double(-999999999),...
-'name',double([])),...
-'rho_tor_norm',double(-9.0000000000000006360851714687e+40),...
-'rho_tor_norm_error_index',double(-999999999),...
-'rho_tor_norm_error_lower',double(-9.0000000000000006360851714687e+40),...
-'rho_tor_norm_error_upper',double(-9.0000000000000006360851714687e+40),...
+'description','',...
+'index',int32(-999999999),...
+'name',''),...
+'rho_tor_norm',double(-9e+40),...
+'rho_tor_norm_error_index',int32(-999999999),...
+'rho_tor_norm_error_lower',double(-9e+40),...
+'rho_tor_norm_error_upper',double(-9e+40),...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([]))),...
 'energy_ion_total',struct(...
 'identifier',struct(...
-'description',double([]),...
-'index',double(-999999999),...
-'name',double([])),...
-'rho_tor_norm',double(-9.0000000000000006360851714687e+40),...
-'rho_tor_norm_error_index',double(-999999999),...
-'rho_tor_norm_error_lower',double(-9.0000000000000006360851714687e+40),...
-'rho_tor_norm_error_upper',double(-9.0000000000000006360851714687e+40),...
+'description','',...
+'index',int32(-999999999),...
+'name',''),...
+'rho_tor_norm',double(-9e+40),...
+'rho_tor_norm_error_index',int32(-999999999),...
+'rho_tor_norm_error_lower',double(-9e+40),...
+'rho_tor_norm_error_upper',double(-9e+40),...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'ion',{{struct(...
-'a',double(-9.0000000000000006360851714687e+40),...
-'a_error_index',double(-999999999),...
-'a_error_lower',double(-9.0000000000000006360851714687e+40),...
-'a_error_upper',double(-9.0000000000000006360851714687e+40),...
+'a',double(-9e+40),...
+'a_error_index',int32(-999999999),...
+'a_error_lower',double(-9e+40),...
+'a_error_upper',double(-9e+40),...
 'energy',struct(...
 'identifier',struct(...
-'description',double([]),...
-'index',double(-999999999),...
-'name',double([])),...
-'rho_tor_norm',double(-9.0000000000000006360851714687e+40),...
-'rho_tor_norm_error_index',double(-999999999),...
-'rho_tor_norm_error_lower',double(-9.0000000000000006360851714687e+40),...
-'rho_tor_norm_error_upper',double(-9.0000000000000006360851714687e+40),...
+'description','',...
+'index',int32(-999999999),...
+'name',''),...
+'rho_tor_norm',double(-9e+40),...
+'rho_tor_norm_error_index',int32(-999999999),...
+'rho_tor_norm_error_lower',double(-9e+40),...
+'rho_tor_norm_error_upper',double(-9e+40),...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
-'label',double([]),...
-'multiple_states_flag',double(-999999999),...
+'label','',...
+'multiple_states_flag',int32(-999999999),...
 'particles',struct(...
 'identifier',struct(...
-'description',double([]),...
-'index',double(-999999999),...
-'name',double([])),...
-'rho_tor_norm',double(-9.0000000000000006360851714687e+40),...
-'rho_tor_norm_error_index',double(-999999999),...
-'rho_tor_norm_error_lower',double(-9.0000000000000006360851714687e+40),...
-'rho_tor_norm_error_upper',double(-9.0000000000000006360851714687e+40),...
+'description','',...
+'index',int32(-999999999),...
+'name',''),...
+'rho_tor_norm',double(-9e+40),...
+'rho_tor_norm_error_index',int32(-999999999),...
+'rho_tor_norm_error_lower',double(-9e+40),...
+'rho_tor_norm_error_upper',double(-9e+40),...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
 'state',{{struct(...
-'electron_configuration',double([]),...
+'electron_configuration','',...
 'energy',struct(...
 'identifier',struct(...
-'description',double([]),...
-'index',double(-999999999),...
-'name',double([])),...
-'rho_tor_norm',double(-9.0000000000000006360851714687e+40),...
-'rho_tor_norm_error_index',double(-999999999),...
-'rho_tor_norm_error_lower',double(-9.0000000000000006360851714687e+40),...
-'rho_tor_norm_error_upper',double(-9.0000000000000006360851714687e+40),...
+'description','',...
+'index',int32(-999999999),...
+'name',''),...
+'rho_tor_norm',double(-9e+40),...
+'rho_tor_norm_error_index',int32(-999999999),...
+'rho_tor_norm_error_lower',double(-9e+40),...
+'rho_tor_norm_error_upper',double(-9e+40),...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
-'is_neutral',double(-999999999),...
-'label',double([]),...
+'is_neutral',int32(-999999999),...
+'label','',...
 'neutral_type',struct(...
-'description',double([]),...
-'index',double(-999999999),...
-'name',double([])),...
+'description','',...
+'index',int32(-999999999),...
+'name',''),...
 'particles',struct(...
 'identifier',struct(...
-'description',double([]),...
-'index',double(-999999999),...
-'name',double([])),...
-'rho_tor_norm',double(-9.0000000000000006360851714687e+40),...
-'rho_tor_norm_error_index',double(-999999999),...
-'rho_tor_norm_error_lower',double(-9.0000000000000006360851714687e+40),...
-'rho_tor_norm_error_upper',double(-9.0000000000000006360851714687e+40),...
+'description','',...
+'index',int32(-999999999),...
+'name',''),...
+'rho_tor_norm',double(-9e+40),...
+'rho_tor_norm_error_index',int32(-999999999),...
+'rho_tor_norm_error_lower',double(-9e+40),...
+'rho_tor_norm_error_upper',double(-9e+40),...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
-'vibrational_level',double(-9.0000000000000006360851714687e+40),...
-'vibrational_level_error_index',double(-999999999),...
-'vibrational_level_error_lower',double(-9.0000000000000006360851714687e+40),...
-'vibrational_level_error_upper',double(-9.0000000000000006360851714687e+40),...
-'vibrational_mode',double([]),...
-'z_max',double(-9.0000000000000006360851714687e+40),...
-'z_max_error_index',double(-999999999),...
-'z_max_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_max_error_upper',double(-9.0000000000000006360851714687e+40),...
-'z_min',double(-9.0000000000000006360851714687e+40),...
-'z_min_error_index',double(-999999999),...
-'z_min_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_min_error_upper',double(-9.0000000000000006360851714687e+40))
+'vibrational_level',double(-9e+40),...
+'vibrational_level_error_index',int32(-999999999),...
+'vibrational_level_error_lower',double(-9e+40),...
+'vibrational_level_error_upper',double(-9e+40),...
+'vibrational_mode','',...
+'z_max',double(-9e+40),...
+'z_max_error_index',int32(-999999999),...
+'z_max_error_lower',double(-9e+40),...
+'z_max_error_upper',double(-9e+40),...
+'z_min',double(-9e+40),...
+'z_min_error_index',int32(-999999999),...
+'z_min_error_lower',double(-9e+40),...
+'z_min_error_upper',double(-9e+40))
 ;}},...
-'z_ion',double(-9.0000000000000006360851714687e+40),...
-'z_ion_error_index',double(-999999999),...
-'z_ion_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_ion_error_upper',double(-9.0000000000000006360851714687e+40),...
-'z_n',double(-9.0000000000000006360851714687e+40),...
-'z_n_error_index',double(-999999999),...
-'z_n_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_n_error_upper',double(-9.0000000000000006360851714687e+40))
+'z_ion',double(-9e+40),...
+'z_ion_error_index',int32(-999999999),...
+'z_ion_error_lower',double(-9e+40),...
+'z_ion_error_upper',double(-9e+40),...
+'z_n',double(-9e+40),...
+'z_n_error_index',int32(-999999999),...
+'z_n_error_lower',double(-9e+40),...
+'z_n_error_upper',double(-9e+40))
 ;}},...
 'momentum_tor',struct(...
 'identifier',struct(...
-'description',double([]),...
-'index',double(-999999999),...
-'name',double([])),...
-'rho_tor_norm',double(-9.0000000000000006360851714687e+40),...
-'rho_tor_norm_error_index',double(-999999999),...
-'rho_tor_norm_error_lower',double(-9.0000000000000006360851714687e+40),...
-'rho_tor_norm_error_upper',double(-9.0000000000000006360851714687e+40),...
+'description','',...
+'index',int32(-999999999),...
+'name',''),...
+'rho_tor_norm',double(-9e+40),...
+'rho_tor_norm_error_index',int32(-999999999),...
+'rho_tor_norm_error_lower',double(-9e+40),...
+'rho_tor_norm_error_upper',double(-9e+40),...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([])),...
-'time',double(-9.0000000000000006360851714687e+40))
+'time',double(-9e+40))
 ;}},...
 'boundary_conditions_ggd',{{struct(...
 'current',{{struct(...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
 'identifier',struct(...
-'description',double([]),...
-'index',double(-999999999),...
-'name',double([])),...
+'description','',...
+'index',int32(-999999999),...
+'name',''),...
 'values',double([]),...
-'values_error_index',double(-999999999),...
+'values_error_index',int32(-999999999),...
 'values_error_lower',double([]),...
 'values_error_upper',double([]))
 ;}},...
 'electrons',struct(...
 'energy',{{struct(...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
 'identifier',struct(...
-'description',double([]),...
-'index',double(-999999999),...
-'name',double([])),...
+'description','',...
+'index',int32(-999999999),...
+'name',''),...
 'values',double([]),...
-'values_error_index',double(-999999999),...
+'values_error_index',int32(-999999999),...
 'values_error_lower',double([]),...
 'values_error_upper',double([]))
 ;}},...
 'particles',{{struct(...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
 'identifier',struct(...
-'description',double([]),...
-'index',double(-999999999),...
-'name',double([])),...
+'description','',...
+'index',int32(-999999999),...
+'name',''),...
 'values',double([]),...
-'values_error_index',double(-999999999),...
+'values_error_index',int32(-999999999),...
 'values_error_lower',double([]),...
 'values_error_upper',double([]))
 ;}}),...
@@ -206,797 +206,879 @@ struct(...
 'grid_subset',{{struct(...
 'base',{{struct(...
 'jacobian',double([]),...
-'jacobian_error_index',double(-999999999),...
+'jacobian_error_index',int32(-999999999),...
 'jacobian_error_lower',double([]),...
 'jacobian_error_upper',double([]),...
 'tensor_contravariant',double([]),...
-'tensor_contravariant_error_index',double(-999999999),...
+'tensor_contravariant_error_index',int32(-999999999),...
 'tensor_contravariant_error_lower',double([]),...
 'tensor_contravariant_error_upper',double([]),...
 'tensor_covariant',double([]),...
-'tensor_covariant_error_index',double(-999999999),...
+'tensor_covariant_error_index',int32(-999999999),...
 'tensor_covariant_error_lower',double([]),...
 'tensor_covariant_error_upper',double([]))
 ;}},...
-'dimension',double(-999999999),...
+'dimension',int32(-999999999),...
 'element',{{struct(...
 'object',{{struct(...
-'dimension',double(-999999999),...
-'index',double(-999999999),...
-'space',double(-999999999))
+'dimension',int32(-999999999),...
+'index',int32(-999999999),...
+'space',int32(-999999999))
 ;}})
 ;}},...
 'identifier',struct(...
-'description',double([]),...
-'index',double(-999999999),...
-'name',double([])),...
+'description','',...
+'index',int32(-999999999),...
+'name',''),...
 'metric',struct(...
 'jacobian',double([]),...
-'jacobian_error_index',double(-999999999),...
+'jacobian_error_index',int32(-999999999),...
 'jacobian_error_lower',double([]),...
 'jacobian_error_upper',double([]),...
 'tensor_contravariant',double([]),...
-'tensor_contravariant_error_index',double(-999999999),...
+'tensor_contravariant_error_index',int32(-999999999),...
 'tensor_contravariant_error_lower',double([]),...
 'tensor_contravariant_error_upper',double([]),...
 'tensor_covariant',double([]),...
-'tensor_covariant_error_index',double(-999999999),...
+'tensor_covariant_error_index',int32(-999999999),...
 'tensor_covariant_error_lower',double([]),...
 'tensor_covariant_error_upper',double([])))
 ;}},...
 'identifier',struct(...
-'description',double([]),...
-'index',double(-999999999),...
-'name',double([])),...
+'description','',...
+'index',int32(-999999999),...
+'name',''),...
 'space',{{struct(...
-'coordinates_type',double([]),...
+'coordinates_type',int32([]),...
 'geometry_type',struct(...
-'description',double([]),...
-'index',double(-999999999),...
-'name',double([])),...
+'description','',...
+'index',int32(-999999999),...
+'name',''),...
 'identifier',struct(...
-'description',double([]),...
-'index',double(-999999999),...
-'name',double([])),...
+'description','',...
+'index',int32(-999999999),...
+'name',''),...
 'objects_per_dimension',{{struct(...
 'object',{{struct(...
 'boundary',{{struct(...
-'index',double(-999999999),...
-'neighbours',double([]))
+'index',int32(-999999999),...
+'neighbours',int32([]))
 ;}},...
 'geometry',double([]),...
-'geometry_error_index',double(-999999999),...
+'geometry_error_index',int32(-999999999),...
 'geometry_error_lower',double([]),...
 'geometry_error_upper',double([]),...
-'measure',double(-9.0000000000000006360851714687e+40),...
-'measure_error_index',double(-999999999),...
-'measure_error_lower',double(-9.0000000000000006360851714687e+40),...
-'measure_error_upper',double(-9.0000000000000006360851714687e+40),...
-'nodes',double([]))
+'measure',double(-9e+40),...
+'measure_error_index',int32(-999999999),...
+'measure_error_lower',double(-9e+40),...
+'measure_error_upper',double(-9e+40),...
+'nodes',int32([]))
 ;}})
 ;}})
 ;}}),...
 'ion',{{struct(...
-'a',double(-9.0000000000000006360851714687e+40),...
-'a_error_index',double(-999999999),...
-'a_error_lower',double(-9.0000000000000006360851714687e+40),...
-'a_error_upper',double(-9.0000000000000006360851714687e+40),...
+'a',double(-9e+40),...
+'a_error_index',int32(-999999999),...
+'a_error_lower',double(-9e+40),...
+'a_error_upper',double(-9e+40),...
 'energy',{{struct(...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
 'identifier',struct(...
-'description',double([]),...
-'index',double(-999999999),...
-'name',double([])),...
+'description','',...
+'index',int32(-999999999),...
+'name',''),...
 'values',double([]),...
-'values_error_index',double(-999999999),...
+'values_error_index',int32(-999999999),...
 'values_error_lower',double([]),...
 'values_error_upper',double([]))
 ;}},...
-'label',double([]),...
-'multiple_states_flag',double(-999999999),...
+'label','',...
+'multiple_states_flag',int32(-999999999),...
 'particles',{{struct(...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
 'identifier',struct(...
-'description',double([]),...
-'index',double(-999999999),...
-'name',double([])),...
+'description','',...
+'index',int32(-999999999),...
+'name',''),...
 'values',double([]),...
-'values_error_index',double(-999999999),...
+'values_error_index',int32(-999999999),...
 'values_error_lower',double([]),...
 'values_error_upper',double([]))
 ;}},...
 'state',{{struct(...
-'electron_configuration',double([]),...
+'electron_configuration','',...
 'energy',{{struct(...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
 'identifier',struct(...
-'description',double([]),...
-'index',double(-999999999),...
-'name',double([])),...
+'description','',...
+'index',int32(-999999999),...
+'name',''),...
 'values',double([]),...
-'values_error_index',double(-999999999),...
+'values_error_index',int32(-999999999),...
 'values_error_lower',double([]),...
 'values_error_upper',double([]))
 ;}},...
-'is_neutral',double(-999999999),...
-'label',double([]),...
+'is_neutral',int32(-999999999),...
+'label','',...
 'neutral_type',struct(...
-'description',double([]),...
-'index',double(-999999999),...
-'name',double([])),...
+'description','',...
+'index',int32(-999999999),...
+'name',''),...
 'particles',{{struct(...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
 'identifier',struct(...
-'description',double([]),...
-'index',double(-999999999),...
-'name',double([])),...
+'description','',...
+'index',int32(-999999999),...
+'name',''),...
 'values',double([]),...
-'values_error_index',double(-999999999),...
+'values_error_index',int32(-999999999),...
 'values_error_lower',double([]),...
 'values_error_upper',double([]))
 ;}},...
-'vibrational_level',double(-9.0000000000000006360851714687e+40),...
-'vibrational_level_error_index',double(-999999999),...
-'vibrational_level_error_lower',double(-9.0000000000000006360851714687e+40),...
-'vibrational_level_error_upper',double(-9.0000000000000006360851714687e+40),...
-'vibrational_mode',double([]),...
-'z_max',double(-9.0000000000000006360851714687e+40),...
-'z_max_error_index',double(-999999999),...
-'z_max_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_max_error_upper',double(-9.0000000000000006360851714687e+40),...
-'z_min',double(-9.0000000000000006360851714687e+40),...
-'z_min_error_index',double(-999999999),...
-'z_min_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_min_error_upper',double(-9.0000000000000006360851714687e+40))
+'vibrational_level',double(-9e+40),...
+'vibrational_level_error_index',int32(-999999999),...
+'vibrational_level_error_lower',double(-9e+40),...
+'vibrational_level_error_upper',double(-9e+40),...
+'vibrational_mode','',...
+'z_max',double(-9e+40),...
+'z_max_error_index',int32(-999999999),...
+'z_max_error_lower',double(-9e+40),...
+'z_max_error_upper',double(-9e+40),...
+'z_min',double(-9e+40),...
+'z_min_error_index',int32(-999999999),...
+'z_min_error_lower',double(-9e+40),...
+'z_min_error_upper',double(-9e+40))
 ;}},...
-'z_ion',double(-9.0000000000000006360851714687e+40),...
-'z_ion_error_index',double(-999999999),...
-'z_ion_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_ion_error_upper',double(-9.0000000000000006360851714687e+40),...
-'z_n',double(-9.0000000000000006360851714687e+40),...
-'z_n_error_index',double(-999999999),...
-'z_n_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_n_error_upper',double(-9.0000000000000006360851714687e+40))
+'z_ion',double(-9e+40),...
+'z_ion_error_index',int32(-999999999),...
+'z_ion_error_lower',double(-9e+40),...
+'z_ion_error_upper',double(-9e+40),...
+'z_n',double(-9e+40),...
+'z_n_error_index',int32(-999999999),...
+'z_n_error_lower',double(-9e+40),...
+'z_n_error_upper',double(-9e+40))
 ;}},...
-'time',double(-9.0000000000000006360851714687e+40))
+'time',double(-9e+40))
 ;}},...
 'code',struct(...
-'commit',double([]),...
-'name',double([]),...
-'output_flag',double([]),...
-'parameters',double([]),...
-'repository',double([]),...
-'version',double([])),...
+'commit','',...
+'name','',...
+'output_flag',int32([]),...
+'parameters','',...
+'repository','',...
+'version',''),...
 'convergence',struct(...
 'equations',{{struct(...
 'current',struct(...
-'iterations_n',double(-999999999)),...
+'delta_relative',struct(...
+'expression','',...
+'value',double(-9e+40),...
+'value_error_index',int32(-999999999),...
+'value_error_lower',double(-9e+40),...
+'value_error_upper',double(-9e+40)),...
+'iterations_n',int32(-999999999)),...
 'electrons',struct(...
 'energy',struct(...
-'iterations_n',double(-999999999)),...
+'delta_relative',struct(...
+'expression','',...
+'value',double(-9e+40),...
+'value_error_index',int32(-999999999),...
+'value_error_lower',double(-9e+40),...
+'value_error_upper',double(-9e+40)),...
+'iterations_n',int32(-999999999)),...
 'particles',struct(...
-'iterations_n',double(-999999999))),...
+'delta_relative',struct(...
+'expression','',...
+'value',double(-9e+40),...
+'value_error_index',int32(-999999999),...
+'value_error_lower',double(-9e+40),...
+'value_error_upper',double(-9e+40)),...
+'iterations_n',int32(-999999999))),...
 'energy_ion_total',struct(...
-'iterations_n',double(-999999999)),...
+'delta_relative',struct(...
+'expression','',...
+'value',double(-9e+40),...
+'value_error_index',int32(-999999999),...
+'value_error_lower',double(-9e+40),...
+'value_error_upper',double(-9e+40)),...
+'iterations_n',int32(-999999999)),...
 'ion',{{struct(...
-'a',double(-9.0000000000000006360851714687e+40),...
-'a_error_index',double(-999999999),...
-'a_error_lower',double(-9.0000000000000006360851714687e+40),...
-'a_error_upper',double(-9.0000000000000006360851714687e+40),...
+'a',double(-9e+40),...
+'a_error_index',int32(-999999999),...
+'a_error_lower',double(-9e+40),...
+'a_error_upper',double(-9e+40),...
 'energy',struct(...
-'iterations_n',double(-999999999)),...
-'label',double([]),...
-'multiple_states_flag',double(-999999999),...
+'delta_relative',struct(...
+'expression','',...
+'value',double(-9e+40),...
+'value_error_index',int32(-999999999),...
+'value_error_lower',double(-9e+40),...
+'value_error_upper',double(-9e+40)),...
+'iterations_n',int32(-999999999)),...
+'label','',...
+'multiple_states_flag',int32(-999999999),...
 'particles',struct(...
-'iterations_n',double(-999999999)),...
+'delta_relative',struct(...
+'expression','',...
+'value',double(-9e+40),...
+'value_error_index',int32(-999999999),...
+'value_error_lower',double(-9e+40),...
+'value_error_upper',double(-9e+40)),...
+'iterations_n',int32(-999999999)),...
 'state',{{struct(...
-'electron_configuration',double([]),...
+'electron_configuration','',...
 'energy',struct(...
-'iterations_n',double(-999999999)),...
-'is_neutral',double(-999999999),...
-'label',double([]),...
+'delta_relative',struct(...
+'expression','',...
+'value',double(-9e+40),...
+'value_error_index',int32(-999999999),...
+'value_error_lower',double(-9e+40),...
+'value_error_upper',double(-9e+40)),...
+'iterations_n',int32(-999999999)),...
+'is_neutral',int32(-999999999),...
+'label','',...
 'neutral_type',struct(...
-'description',double([]),...
-'index',double(-999999999),...
-'name',double([])),...
+'description','',...
+'index',int32(-999999999),...
+'name',''),...
 'particles',struct(...
-'iterations_n',double(-999999999)),...
-'vibrational_level',double(-9.0000000000000006360851714687e+40),...
-'vibrational_level_error_index',double(-999999999),...
-'vibrational_level_error_lower',double(-9.0000000000000006360851714687e+40),...
-'vibrational_level_error_upper',double(-9.0000000000000006360851714687e+40),...
-'vibrational_mode',double([]),...
-'z_max',double(-9.0000000000000006360851714687e+40),...
-'z_max_error_index',double(-999999999),...
-'z_max_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_max_error_upper',double(-9.0000000000000006360851714687e+40),...
-'z_min',double(-9.0000000000000006360851714687e+40),...
-'z_min_error_index',double(-999999999),...
-'z_min_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_min_error_upper',double(-9.0000000000000006360851714687e+40))
+'delta_relative',struct(...
+'expression','',...
+'value',double(-9e+40),...
+'value_error_index',int32(-999999999),...
+'value_error_lower',double(-9e+40),...
+'value_error_upper',double(-9e+40)),...
+'iterations_n',int32(-999999999)),...
+'vibrational_level',double(-9e+40),...
+'vibrational_level_error_index',int32(-999999999),...
+'vibrational_level_error_lower',double(-9e+40),...
+'vibrational_level_error_upper',double(-9e+40),...
+'vibrational_mode','',...
+'z_max',double(-9e+40),...
+'z_max_error_index',int32(-999999999),...
+'z_max_error_lower',double(-9e+40),...
+'z_max_error_upper',double(-9e+40),...
+'z_min',double(-9e+40),...
+'z_min_error_index',int32(-999999999),...
+'z_min_error_lower',double(-9e+40),...
+'z_min_error_upper',double(-9e+40))
 ;}},...
-'z_ion',double(-9.0000000000000006360851714687e+40),...
-'z_ion_error_index',double(-999999999),...
-'z_ion_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_ion_error_upper',double(-9.0000000000000006360851714687e+40),...
-'z_n',double(-9.0000000000000006360851714687e+40),...
-'z_n_error_index',double(-999999999),...
-'z_n_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_n_error_upper',double(-9.0000000000000006360851714687e+40))
+'z_ion',double(-9e+40),...
+'z_ion_error_index',int32(-999999999),...
+'z_ion_error_lower',double(-9e+40),...
+'z_ion_error_upper',double(-9e+40),...
+'z_n',double(-9e+40),...
+'z_n_error_index',int32(-999999999),...
+'z_n_error_lower',double(-9e+40),...
+'z_n_error_upper',double(-9e+40))
 ;}},...
-'time',double(-9.0000000000000006360851714687e+40))
+'time',double(-9e+40))
 ;}},...
 'time_step',struct(...
 'data',double([]),...
-'data_error_index',double(-999999999),...
+'data_error_index',int32(-999999999),...
 'data_error_lower',double([]),...
 'data_error_upper',double([]),...
 'time',double([]))),...
 'derivatives_1d',{{struct(...
 'd2_drho_tor_norm2',struct(...
 'n_i_total_over_n_e',double([]),...
-'n_i_total_over_n_e_error_index',double(-999999999),...
+'n_i_total_over_n_e_error_index',int32(-999999999),...
 'n_i_total_over_n_e_error_lower',double([]),...
 'n_i_total_over_n_e_error_upper',double([]),...
 'pressure_ion_total',double([]),...
-'pressure_ion_total_error_index',double(-999999999),...
+'pressure_ion_total_error_index',int32(-999999999),...
 'pressure_ion_total_error_lower',double([]),...
 'pressure_ion_total_error_upper',double([])),...
 'd2psi_drho_tor2',double([]),...
-'d2psi_drho_tor2_error_index',double(-999999999),...
+'d2psi_drho_tor2_error_index',int32(-999999999),...
 'd2psi_drho_tor2_error_lower',double([]),...
 'd2psi_drho_tor2_error_upper',double([]),...
 'd_drho_tor_norm',struct(...
 'n_i_total_over_n_e',double([]),...
-'n_i_total_over_n_e_error_index',double(-999999999),...
+'n_i_total_over_n_e_error_index',int32(-999999999),...
 'n_i_total_over_n_e_error_lower',double([]),...
 'n_i_total_over_n_e_error_upper',double([]),...
 'pressure_ion_total',double([]),...
-'pressure_ion_total_error_index',double(-999999999),...
+'pressure_ion_total_error_index',int32(-999999999),...
 'pressure_ion_total_error_lower',double([]),...
 'pressure_ion_total_error_upper',double([])),...
 'd_dt',struct(...
 'n_i_total_over_n_e',double([]),...
-'n_i_total_over_n_e_error_index',double(-999999999),...
+'n_i_total_over_n_e_error_index',int32(-999999999),...
 'n_i_total_over_n_e_error_lower',double([]),...
 'n_i_total_over_n_e_error_upper',double([]),...
 'pressure_ion_total',double([]),...
-'pressure_ion_total_error_index',double(-999999999),...
+'pressure_ion_total_error_index',int32(-999999999),...
 'pressure_ion_total_error_lower',double([]),...
 'pressure_ion_total_error_upper',double([])),...
 'd_dvolume_drho_tor_dt',double([]),...
-'d_dvolume_drho_tor_dt_error_index',double(-999999999),...
+'d_dvolume_drho_tor_dt_error_index',int32(-999999999),...
 'd_dvolume_drho_tor_dt_error_lower',double([]),...
 'd_dvolume_drho_tor_dt_error_upper',double([]),...
 'dpsi_drho_tor',double([]),...
-'dpsi_drho_tor_error_index',double(-999999999),...
+'dpsi_drho_tor_error_index',int32(-999999999),...
 'dpsi_drho_tor_error_lower',double([]),...
 'dpsi_drho_tor_error_upper',double([]),...
 'dpsi_dt',double([]),...
 'dpsi_dt_cphi',double([]),...
-'dpsi_dt_cphi_error_index',double(-999999999),...
+'dpsi_dt_cphi_error_index',int32(-999999999),...
 'dpsi_dt_cphi_error_lower',double([]),...
 'dpsi_dt_cphi_error_upper',double([]),...
 'dpsi_dt_crho_tor_norm',double([]),...
-'dpsi_dt_crho_tor_norm_error_index',double(-999999999),...
+'dpsi_dt_crho_tor_norm_error_index',int32(-999999999),...
 'dpsi_dt_crho_tor_norm_error_lower',double([]),...
 'dpsi_dt_crho_tor_norm_error_upper',double([]),...
-'dpsi_dt_error_index',double(-999999999),...
+'dpsi_dt_error_index',int32(-999999999),...
 'dpsi_dt_error_lower',double([]),...
 'dpsi_dt_error_upper',double([]),...
 'drho_tor_dt',double([]),...
-'drho_tor_dt_error_index',double(-999999999),...
+'drho_tor_dt_error_index',int32(-999999999),...
 'drho_tor_dt_error_lower',double([]),...
 'drho_tor_dt_error_upper',double([]),...
 'electrons',struct(...
 'd2_drho_tor_norm2',struct(...
 'density',double([]),...
-'density_error_index',double(-999999999),...
+'density_error_index',int32(-999999999),...
 'density_error_lower',double([]),...
 'density_error_upper',double([]),...
 'density_fast',double([]),...
-'density_fast_error_index',double(-999999999),...
+'density_fast_error_index',int32(-999999999),...
 'density_fast_error_lower',double([]),...
 'density_fast_error_upper',double([]),...
 'pressure',double([]),...
-'pressure_error_index',double(-999999999),...
+'pressure_error_index',int32(-999999999),...
 'pressure_error_lower',double([]),...
 'pressure_error_upper',double([]),...
 'pressure_fast_parallel',double([]),...
-'pressure_fast_parallel_error_index',double(-999999999),...
+'pressure_fast_parallel_error_index',int32(-999999999),...
 'pressure_fast_parallel_error_lower',double([]),...
 'pressure_fast_parallel_error_upper',double([]),...
 'pressure_fast_perpendicular',double([]),...
-'pressure_fast_perpendicular_error_index',double(-999999999),...
+'pressure_fast_perpendicular_error_index',int32(-999999999),...
 'pressure_fast_perpendicular_error_lower',double([]),...
 'pressure_fast_perpendicular_error_upper',double([]),...
 'temperature',double([]),...
-'temperature_error_index',double(-999999999),...
+'temperature_error_index',int32(-999999999),...
 'temperature_error_lower',double([]),...
 'temperature_error_upper',double([]),...
 'velocity_pol',double([]),...
-'velocity_pol_error_index',double(-999999999),...
+'velocity_pol_error_index',int32(-999999999),...
 'velocity_pol_error_lower',double([]),...
 'velocity_pol_error_upper',double([]),...
 'velocity_tor',double([]),...
-'velocity_tor_error_index',double(-999999999),...
+'velocity_tor_error_index',int32(-999999999),...
 'velocity_tor_error_lower',double([]),...
 'velocity_tor_error_upper',double([])),...
 'd_drho_tor_norm',struct(...
 'density',double([]),...
-'density_error_index',double(-999999999),...
+'density_error_index',int32(-999999999),...
 'density_error_lower',double([]),...
 'density_error_upper',double([]),...
 'density_fast',double([]),...
-'density_fast_error_index',double(-999999999),...
+'density_fast_error_index',int32(-999999999),...
 'density_fast_error_lower',double([]),...
 'density_fast_error_upper',double([]),...
 'pressure',double([]),...
-'pressure_error_index',double(-999999999),...
+'pressure_error_index',int32(-999999999),...
 'pressure_error_lower',double([]),...
 'pressure_error_upper',double([]),...
 'pressure_fast_parallel',double([]),...
-'pressure_fast_parallel_error_index',double(-999999999),...
+'pressure_fast_parallel_error_index',int32(-999999999),...
 'pressure_fast_parallel_error_lower',double([]),...
 'pressure_fast_parallel_error_upper',double([]),...
 'pressure_fast_perpendicular',double([]),...
-'pressure_fast_perpendicular_error_index',double(-999999999),...
+'pressure_fast_perpendicular_error_index',int32(-999999999),...
 'pressure_fast_perpendicular_error_lower',double([]),...
 'pressure_fast_perpendicular_error_upper',double([]),...
 'temperature',double([]),...
-'temperature_error_index',double(-999999999),...
+'temperature_error_index',int32(-999999999),...
 'temperature_error_lower',double([]),...
 'temperature_error_upper',double([]),...
 'velocity_pol',double([]),...
-'velocity_pol_error_index',double(-999999999),...
+'velocity_pol_error_index',int32(-999999999),...
 'velocity_pol_error_lower',double([]),...
 'velocity_pol_error_upper',double([]),...
 'velocity_tor',double([]),...
-'velocity_tor_error_index',double(-999999999),...
+'velocity_tor_error_index',int32(-999999999),...
 'velocity_tor_error_lower',double([]),...
 'velocity_tor_error_upper',double([])),...
 'd_dt',struct(...
 'density',double([]),...
-'density_error_index',double(-999999999),...
+'density_error_index',int32(-999999999),...
 'density_error_lower',double([]),...
 'density_error_upper',double([]),...
 'density_fast',double([]),...
-'density_fast_error_index',double(-999999999),...
+'density_fast_error_index',int32(-999999999),...
 'density_fast_error_lower',double([]),...
 'density_fast_error_upper',double([]),...
 'pressure',double([]),...
-'pressure_error_index',double(-999999999),...
+'pressure_error_index',int32(-999999999),...
 'pressure_error_lower',double([]),...
 'pressure_error_upper',double([]),...
 'pressure_fast_parallel',double([]),...
-'pressure_fast_parallel_error_index',double(-999999999),...
+'pressure_fast_parallel_error_index',int32(-999999999),...
 'pressure_fast_parallel_error_lower',double([]),...
 'pressure_fast_parallel_error_upper',double([]),...
 'pressure_fast_perpendicular',double([]),...
-'pressure_fast_perpendicular_error_index',double(-999999999),...
+'pressure_fast_perpendicular_error_index',int32(-999999999),...
 'pressure_fast_perpendicular_error_lower',double([]),...
 'pressure_fast_perpendicular_error_upper',double([]),...
 'temperature',double([]),...
-'temperature_error_index',double(-999999999),...
+'temperature_error_index',int32(-999999999),...
 'temperature_error_lower',double([]),...
 'temperature_error_upper',double([]),...
 'velocity_pol',double([]),...
-'velocity_pol_error_index',double(-999999999),...
+'velocity_pol_error_index',int32(-999999999),...
 'velocity_pol_error_lower',double([]),...
 'velocity_pol_error_upper',double([]),...
 'velocity_tor',double([]),...
-'velocity_tor_error_index',double(-999999999),...
+'velocity_tor_error_index',int32(-999999999),...
 'velocity_tor_error_lower',double([]),...
 'velocity_tor_error_upper',double([]))),...
 'grid',struct(...
 'area',double([]),...
-'area_error_index',double(-999999999),...
+'area_error_index',int32(-999999999),...
 'area_error_lower',double([]),...
 'area_error_upper',double([]),...
 'psi',double([]),...
-'psi_error_index',double(-999999999),...
+'psi_boundary',double(-9e+40),...
+'psi_boundary_error_index',int32(-999999999),...
+'psi_boundary_error_lower',double(-9e+40),...
+'psi_boundary_error_upper',double(-9e+40),...
+'psi_error_index',int32(-999999999),...
 'psi_error_lower',double([]),...
 'psi_error_upper',double([]),...
+'psi_magnetic_axis',double(-9e+40),...
+'psi_magnetic_axis_error_index',int32(-999999999),...
+'psi_magnetic_axis_error_lower',double(-9e+40),...
+'psi_magnetic_axis_error_upper',double(-9e+40),...
+'rho_pol_norm',double([]),...
+'rho_pol_norm_error_index',int32(-999999999),...
+'rho_pol_norm_error_lower',double([]),...
+'rho_pol_norm_error_upper',double([]),...
 'rho_tor',double([]),...
-'rho_tor_error_index',double(-999999999),...
+'rho_tor_error_index',int32(-999999999),...
 'rho_tor_error_lower',double([]),...
 'rho_tor_error_upper',double([]),...
 'rho_tor_norm',double([]),...
-'rho_tor_norm_error_index',double(-999999999),...
+'rho_tor_norm_error_index',int32(-999999999),...
 'rho_tor_norm_error_lower',double([]),...
 'rho_tor_norm_error_upper',double([]),...
 'volume',double([]),...
-'volume_error_index',double(-999999999),...
+'volume_error_index',int32(-999999999),...
 'volume_error_lower',double([]),...
 'volume_error_upper',double([])),...
 'ion',{{struct(...
-'a',double(-9.0000000000000006360851714687e+40),...
-'a_error_index',double(-999999999),...
-'a_error_lower',double(-9.0000000000000006360851714687e+40),...
-'a_error_upper',double(-9.0000000000000006360851714687e+40),...
+'a',double(-9e+40),...
+'a_error_index',int32(-999999999),...
+'a_error_lower',double(-9e+40),...
+'a_error_upper',double(-9e+40),...
 'd2_drho_tor_norm2',struct(...
 'density',double([]),...
-'density_error_index',double(-999999999),...
+'density_error_index',int32(-999999999),...
 'density_error_lower',double([]),...
 'density_error_upper',double([]),...
 'density_fast',double([]),...
-'density_fast_error_index',double(-999999999),...
+'density_fast_error_index',int32(-999999999),...
 'density_fast_error_lower',double([]),...
 'density_fast_error_upper',double([]),...
 'pressure',double([]),...
-'pressure_error_index',double(-999999999),...
+'pressure_error_index',int32(-999999999),...
 'pressure_error_lower',double([]),...
 'pressure_error_upper',double([]),...
 'pressure_fast_parallel',double([]),...
-'pressure_fast_parallel_error_index',double(-999999999),...
+'pressure_fast_parallel_error_index',int32(-999999999),...
 'pressure_fast_parallel_error_lower',double([]),...
 'pressure_fast_parallel_error_upper',double([]),...
 'pressure_fast_perpendicular',double([]),...
-'pressure_fast_perpendicular_error_index',double(-999999999),...
+'pressure_fast_perpendicular_error_index',int32(-999999999),...
 'pressure_fast_perpendicular_error_lower',double([]),...
 'pressure_fast_perpendicular_error_upper',double([]),...
 'temperature',double([]),...
-'temperature_error_index',double(-999999999),...
+'temperature_error_index',int32(-999999999),...
 'temperature_error_lower',double([]),...
 'temperature_error_upper',double([]),...
 'velocity_pol',double([]),...
-'velocity_pol_error_index',double(-999999999),...
+'velocity_pol_error_index',int32(-999999999),...
 'velocity_pol_error_lower',double([]),...
 'velocity_pol_error_upper',double([]),...
 'velocity_tor',double([]),...
-'velocity_tor_error_index',double(-999999999),...
+'velocity_tor_error_index',int32(-999999999),...
 'velocity_tor_error_lower',double([]),...
 'velocity_tor_error_upper',double([])),...
 'd_drho_tor_norm',struct(...
 'density',double([]),...
-'density_error_index',double(-999999999),...
+'density_error_index',int32(-999999999),...
 'density_error_lower',double([]),...
 'density_error_upper',double([]),...
 'density_fast',double([]),...
-'density_fast_error_index',double(-999999999),...
+'density_fast_error_index',int32(-999999999),...
 'density_fast_error_lower',double([]),...
 'density_fast_error_upper',double([]),...
 'pressure',double([]),...
-'pressure_error_index',double(-999999999),...
+'pressure_error_index',int32(-999999999),...
 'pressure_error_lower',double([]),...
 'pressure_error_upper',double([]),...
 'pressure_fast_parallel',double([]),...
-'pressure_fast_parallel_error_index',double(-999999999),...
+'pressure_fast_parallel_error_index',int32(-999999999),...
 'pressure_fast_parallel_error_lower',double([]),...
 'pressure_fast_parallel_error_upper',double([]),...
 'pressure_fast_perpendicular',double([]),...
-'pressure_fast_perpendicular_error_index',double(-999999999),...
+'pressure_fast_perpendicular_error_index',int32(-999999999),...
 'pressure_fast_perpendicular_error_lower',double([]),...
 'pressure_fast_perpendicular_error_upper',double([]),...
 'temperature',double([]),...
-'temperature_error_index',double(-999999999),...
+'temperature_error_index',int32(-999999999),...
 'temperature_error_lower',double([]),...
 'temperature_error_upper',double([]),...
 'velocity_pol',double([]),...
-'velocity_pol_error_index',double(-999999999),...
+'velocity_pol_error_index',int32(-999999999),...
 'velocity_pol_error_lower',double([]),...
 'velocity_pol_error_upper',double([]),...
 'velocity_tor',double([]),...
-'velocity_tor_error_index',double(-999999999),...
+'velocity_tor_error_index',int32(-999999999),...
 'velocity_tor_error_lower',double([]),...
 'velocity_tor_error_upper',double([])),...
 'd_dt',struct(...
 'density',double([]),...
-'density_error_index',double(-999999999),...
+'density_error_index',int32(-999999999),...
 'density_error_lower',double([]),...
 'density_error_upper',double([]),...
 'density_fast',double([]),...
-'density_fast_error_index',double(-999999999),...
+'density_fast_error_index',int32(-999999999),...
 'density_fast_error_lower',double([]),...
 'density_fast_error_upper',double([]),...
 'pressure',double([]),...
-'pressure_error_index',double(-999999999),...
+'pressure_error_index',int32(-999999999),...
 'pressure_error_lower',double([]),...
 'pressure_error_upper',double([]),...
 'pressure_fast_parallel',double([]),...
-'pressure_fast_parallel_error_index',double(-999999999),...
+'pressure_fast_parallel_error_index',int32(-999999999),...
 'pressure_fast_parallel_error_lower',double([]),...
 'pressure_fast_parallel_error_upper',double([]),...
 'pressure_fast_perpendicular',double([]),...
-'pressure_fast_perpendicular_error_index',double(-999999999),...
+'pressure_fast_perpendicular_error_index',int32(-999999999),...
 'pressure_fast_perpendicular_error_lower',double([]),...
 'pressure_fast_perpendicular_error_upper',double([]),...
 'temperature',double([]),...
-'temperature_error_index',double(-999999999),...
+'temperature_error_index',int32(-999999999),...
 'temperature_error_lower',double([]),...
 'temperature_error_upper',double([]),...
 'velocity_pol',double([]),...
-'velocity_pol_error_index',double(-999999999),...
+'velocity_pol_error_index',int32(-999999999),...
 'velocity_pol_error_lower',double([]),...
 'velocity_pol_error_upper',double([]),...
 'velocity_tor',double([]),...
-'velocity_tor_error_index',double(-999999999),...
+'velocity_tor_error_index',int32(-999999999),...
 'velocity_tor_error_lower',double([]),...
 'velocity_tor_error_upper',double([])),...
-'label',double([]),...
-'multiple_states_flag',double(-999999999),...
+'label','',...
+'multiple_states_flag',int32(-999999999),...
 'state',{{struct(...
 'd2_drho_tor_norm2',struct(...
 'density',double([]),...
-'density_error_index',double(-999999999),...
+'density_error_index',int32(-999999999),...
 'density_error_lower',double([]),...
 'density_error_upper',double([]),...
 'density_fast',double([]),...
-'density_fast_error_index',double(-999999999),...
+'density_fast_error_index',int32(-999999999),...
 'density_fast_error_lower',double([]),...
 'density_fast_error_upper',double([]),...
 'pressure',double([]),...
-'pressure_error_index',double(-999999999),...
+'pressure_error_index',int32(-999999999),...
 'pressure_error_lower',double([]),...
 'pressure_error_upper',double([]),...
 'pressure_fast_parallel',double([]),...
-'pressure_fast_parallel_error_index',double(-999999999),...
+'pressure_fast_parallel_error_index',int32(-999999999),...
 'pressure_fast_parallel_error_lower',double([]),...
 'pressure_fast_parallel_error_upper',double([]),...
 'pressure_fast_perpendicular',double([]),...
-'pressure_fast_perpendicular_error_index',double(-999999999),...
+'pressure_fast_perpendicular_error_index',int32(-999999999),...
 'pressure_fast_perpendicular_error_lower',double([]),...
 'pressure_fast_perpendicular_error_upper',double([]),...
 'temperature',double([]),...
-'temperature_error_index',double(-999999999),...
+'temperature_error_index',int32(-999999999),...
 'temperature_error_lower',double([]),...
 'temperature_error_upper',double([]),...
 'velocity_pol',double([]),...
-'velocity_pol_error_index',double(-999999999),...
+'velocity_pol_error_index',int32(-999999999),...
 'velocity_pol_error_lower',double([]),...
 'velocity_pol_error_upper',double([]),...
 'velocity_tor',double([]),...
-'velocity_tor_error_index',double(-999999999),...
+'velocity_tor_error_index',int32(-999999999),...
 'velocity_tor_error_lower',double([]),...
 'velocity_tor_error_upper',double([])),...
 'd_drho_tor_norm',struct(...
 'density',double([]),...
-'density_error_index',double(-999999999),...
+'density_error_index',int32(-999999999),...
 'density_error_lower',double([]),...
 'density_error_upper',double([]),...
 'density_fast',double([]),...
-'density_fast_error_index',double(-999999999),...
+'density_fast_error_index',int32(-999999999),...
 'density_fast_error_lower',double([]),...
 'density_fast_error_upper',double([]),...
 'pressure',double([]),...
-'pressure_error_index',double(-999999999),...
+'pressure_error_index',int32(-999999999),...
 'pressure_error_lower',double([]),...
 'pressure_error_upper',double([]),...
 'pressure_fast_parallel',double([]),...
-'pressure_fast_parallel_error_index',double(-999999999),...
+'pressure_fast_parallel_error_index',int32(-999999999),...
 'pressure_fast_parallel_error_lower',double([]),...
 'pressure_fast_parallel_error_upper',double([]),...
 'pressure_fast_perpendicular',double([]),...
-'pressure_fast_perpendicular_error_index',double(-999999999),...
+'pressure_fast_perpendicular_error_index',int32(-999999999),...
 'pressure_fast_perpendicular_error_lower',double([]),...
 'pressure_fast_perpendicular_error_upper',double([]),...
 'temperature',double([]),...
-'temperature_error_index',double(-999999999),...
+'temperature_error_index',int32(-999999999),...
 'temperature_error_lower',double([]),...
 'temperature_error_upper',double([]),...
 'velocity_pol',double([]),...
-'velocity_pol_error_index',double(-999999999),...
+'velocity_pol_error_index',int32(-999999999),...
 'velocity_pol_error_lower',double([]),...
 'velocity_pol_error_upper',double([]),...
 'velocity_tor',double([]),...
-'velocity_tor_error_index',double(-999999999),...
+'velocity_tor_error_index',int32(-999999999),...
 'velocity_tor_error_lower',double([]),...
 'velocity_tor_error_upper',double([])),...
 'd_dt',struct(...
 'density',double([]),...
-'density_error_index',double(-999999999),...
+'density_error_index',int32(-999999999),...
 'density_error_lower',double([]),...
 'density_error_upper',double([]),...
 'density_fast',double([]),...
-'density_fast_error_index',double(-999999999),...
+'density_fast_error_index',int32(-999999999),...
 'density_fast_error_lower',double([]),...
 'density_fast_error_upper',double([]),...
 'pressure',double([]),...
-'pressure_error_index',double(-999999999),...
+'pressure_error_index',int32(-999999999),...
 'pressure_error_lower',double([]),...
 'pressure_error_upper',double([]),...
 'pressure_fast_parallel',double([]),...
-'pressure_fast_parallel_error_index',double(-999999999),...
+'pressure_fast_parallel_error_index',int32(-999999999),...
 'pressure_fast_parallel_error_lower',double([]),...
 'pressure_fast_parallel_error_upper',double([]),...
 'pressure_fast_perpendicular',double([]),...
-'pressure_fast_perpendicular_error_index',double(-999999999),...
+'pressure_fast_perpendicular_error_index',int32(-999999999),...
 'pressure_fast_perpendicular_error_lower',double([]),...
 'pressure_fast_perpendicular_error_upper',double([]),...
 'temperature',double([]),...
-'temperature_error_index',double(-999999999),...
+'temperature_error_index',int32(-999999999),...
 'temperature_error_lower',double([]),...
 'temperature_error_upper',double([]),...
 'velocity_pol',double([]),...
-'velocity_pol_error_index',double(-999999999),...
+'velocity_pol_error_index',int32(-999999999),...
 'velocity_pol_error_lower',double([]),...
 'velocity_pol_error_upper',double([]),...
 'velocity_tor',double([]),...
-'velocity_tor_error_index',double(-999999999),...
+'velocity_tor_error_index',int32(-999999999),...
 'velocity_tor_error_lower',double([]),...
 'velocity_tor_error_upper',double([])),...
-'electron_configuration',double([]),...
-'is_neutral',double(-999999999),...
-'label',double([]),...
+'electron_configuration','',...
+'is_neutral',int32(-999999999),...
+'label','',...
 'neutral_type',struct(...
-'description',double([]),...
-'index',double(-999999999),...
-'name',double([])),...
-'vibrational_level',double(-9.0000000000000006360851714687e+40),...
-'vibrational_level_error_index',double(-999999999),...
-'vibrational_level_error_lower',double(-9.0000000000000006360851714687e+40),...
-'vibrational_level_error_upper',double(-9.0000000000000006360851714687e+40),...
-'vibrational_mode',double([]),...
-'z_max',double(-9.0000000000000006360851714687e+40),...
-'z_max_error_index',double(-999999999),...
-'z_max_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_max_error_upper',double(-9.0000000000000006360851714687e+40),...
-'z_min',double(-9.0000000000000006360851714687e+40),...
-'z_min_error_index',double(-999999999),...
-'z_min_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_min_error_upper',double(-9.0000000000000006360851714687e+40))
+'description','',...
+'index',int32(-999999999),...
+'name',''),...
+'vibrational_level',double(-9e+40),...
+'vibrational_level_error_index',int32(-999999999),...
+'vibrational_level_error_lower',double(-9e+40),...
+'vibrational_level_error_upper',double(-9e+40),...
+'vibrational_mode','',...
+'z_max',double(-9e+40),...
+'z_max_error_index',int32(-999999999),...
+'z_max_error_lower',double(-9e+40),...
+'z_max_error_upper',double(-9e+40),...
+'z_min',double(-9e+40),...
+'z_min_error_index',int32(-999999999),...
+'z_min_error_lower',double(-9e+40),...
+'z_min_error_upper',double(-9e+40))
 ;}},...
-'z_ion',double(-9.0000000000000006360851714687e+40),...
-'z_ion_error_index',double(-999999999),...
-'z_ion_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_ion_error_upper',double(-9.0000000000000006360851714687e+40),...
-'z_n',double(-9.0000000000000006360851714687e+40),...
-'z_n_error_index',double(-999999999),...
-'z_n_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_n_error_upper',double(-9.0000000000000006360851714687e+40))
+'z_ion',double(-9e+40),...
+'z_ion_error_index',int32(-999999999),...
+'z_ion_error_lower',double(-9e+40),...
+'z_ion_error_upper',double(-9e+40),...
+'z_n',double(-9e+40),...
+'z_n_error_index',int32(-999999999),...
+'z_n_error_lower',double(-9e+40),...
+'z_n_error_upper',double(-9e+40))
 ;}},...
-'time',double(-9.0000000000000006360851714687e+40))
+'time',double(-9e+40))
 ;}},...
 'ids_properties',struct(...
-'comment',double([]),...
-'creation_date',double([]),...
-'homogeneous_time',double(-999999999),...
-'provider',double([]),...
-'source',double([])),...
+'comment','',...
+'creation_date','',...
+'homogeneous_time',int32(-999999999),...
+'provider','',...
+'source','',...
+'version_put',struct(...
+'access_layer','',...
+'access_layer_language','',...
+'data_dictionary','')),...
 'primary_coordinate',struct(...
-'description',double([]),...
-'index',double(-999999999),...
-'name',double([])),...
+'description','',...
+'index',int32(-999999999),...
+'name',''),...
 'restart_files',{{struct(...
-'descriptions',{{double([]);}},...
-'names',{{double([]);}},...
-'time',double(-9.0000000000000006360851714687e+40))
+'descriptions',{{}},...
+'names',{{}},...
+'time',double(-9e+40))
 ;}},...
 'solver',struct(...
-'description',double([]),...
-'index',double(-999999999),...
-'name',double([])),...
+'description','',...
+'index',int32(-999999999),...
+'name',''),...
 'solver_1d',{{struct(...
 'control_parameters',struct(...
 'integer0d',{{struct(...
-'value',double(-999999999))
+'value',int32(-999999999))
 ;}},...
 'real0d',{{struct(...
-'value',double(-9.0000000000000006360851714687e+40),...
-'value_error_index',double(-999999999),...
-'value_error_lower',double(-9.0000000000000006360851714687e+40),...
-'value_error_upper',double(-9.0000000000000006360851714687e+40))
+'value',double(-9e+40),...
+'value_error_index',int32(-999999999),...
+'value_error_lower',double(-9e+40),...
+'value_error_upper',double(-9e+40))
 ;}}),...
 'd_dvolume_drho_tor_dt',double([]),...
-'d_dvolume_drho_tor_dt_error_index',double(-999999999),...
+'d_dvolume_drho_tor_dt_error_index',int32(-999999999),...
 'd_dvolume_drho_tor_dt_error_lower',double([]),...
 'd_dvolume_drho_tor_dt_error_upper',double([]),...
 'drho_tor_dt',double([]),...
-'drho_tor_dt_error_index',double(-999999999),...
+'drho_tor_dt_error_index',int32(-999999999),...
 'drho_tor_dt_error_lower',double([]),...
 'drho_tor_dt_error_upper',double([]),...
 'equation',{{struct(...
 'boundary_condition',{{struct(...
-'identifier',struct(...
-'description',double([]),...
-'index',double(-999999999),...
-'name',double([])),...
-'position',double(-9.0000000000000006360851714687e+40),...
-'position_error_index',double(-999999999),...
-'position_error_lower',double(-9.0000000000000006360851714687e+40),...
-'position_error_upper',double(-9.0000000000000006360851714687e+40),...
+'position',double(-9e+40),...
+'position_error_index',int32(-999999999),...
+'position_error_lower',double(-9e+40),...
+'position_error_upper',double(-9e+40),...
 'type',struct(...
-'description',double([]),...
-'index',double(-999999999),...
-'name',double([])),...
+'description','',...
+'index',int32(-999999999),...
+'name',''),...
 'value',double([]),...
-'value_error_index',double(-999999999),...
+'value_error_index',int32(-999999999),...
 'value_error_lower',double([]),...
 'value_error_upper',double([]))
 ;}},...
 'coefficient',{{struct(...
 'profile',double([]),...
-'profile_error_index',double(-999999999),...
+'profile_error_index',int32(-999999999),...
 'profile_error_lower',double([]),...
 'profile_error_upper',double([]))
 ;}},...
+'computation_mode',struct(...
+'description','',...
+'index',int32(-999999999),...
+'name',''),...
 'convergence',struct(...
-'iterations_n',double(-999999999)),...
+'delta_relative',struct(...
+'expression','',...
+'value',double(-9e+40),...
+'value_error_index',int32(-999999999),...
+'value_error_lower',double(-9e+40),...
+'value_error_upper',double(-9e+40)),...
+'iterations_n',int32(-999999999)),...
 'primary_quantity',struct(...
 'd2_dr2',double([]),...
-'d2_dr2_error_index',double(-999999999),...
+'d2_dr2_error_index',int32(-999999999),...
 'd2_dr2_error_lower',double([]),...
 'd2_dr2_error_upper',double([]),...
 'd_dr',double([]),...
-'d_dr_error_index',double(-999999999),...
+'d_dr_error_index',int32(-999999999),...
 'd_dr_error_lower',double([]),...
 'd_dr_error_upper',double([]),...
 'd_dt',double([]),...
 'd_dt_cphi',double([]),...
-'d_dt_cphi_error_index',double(-999999999),...
+'d_dt_cphi_error_index',int32(-999999999),...
 'd_dt_cphi_error_lower',double([]),...
 'd_dt_cphi_error_upper',double([]),...
 'd_dt_cr',double([]),...
-'d_dt_cr_error_index',double(-999999999),...
+'d_dt_cr_error_index',int32(-999999999),...
 'd_dt_cr_error_lower',double([]),...
 'd_dt_cr_error_upper',double([]),...
-'d_dt_error_index',double(-999999999),...
+'d_dt_error_index',int32(-999999999),...
 'd_dt_error_lower',double([]),...
 'd_dt_error_upper',double([]),...
 'identifier',struct(...
-'description',double([]),...
-'index',double(-999999999),...
-'name',double([])),...
-'ion_index',double(-999999999),...
-'neutral_index',double(-999999999),...
+'description','',...
+'index',int32(-999999999),...
+'name',''),...
+'ion_index',int32(-999999999),...
+'neutral_index',int32(-999999999),...
 'profile',double([]),...
-'profile_error_index',double(-999999999),...
+'profile_error_index',int32(-999999999),...
 'profile_error_lower',double([]),...
 'profile_error_upper',double([]),...
-'state_index',double(-999999999)))
+'state_index',int32(-999999999)))
 ;}},...
 'grid',struct(...
 'area',double([]),...
-'area_error_index',double(-999999999),...
+'area_error_index',int32(-999999999),...
 'area_error_lower',double([]),...
 'area_error_upper',double([]),...
 'psi',double([]),...
-'psi_error_index',double(-999999999),...
+'psi_boundary',double(-9e+40),...
+'psi_boundary_error_index',int32(-999999999),...
+'psi_boundary_error_lower',double(-9e+40),...
+'psi_boundary_error_upper',double(-9e+40),...
+'psi_error_index',int32(-999999999),...
 'psi_error_lower',double([]),...
 'psi_error_upper',double([]),...
+'psi_magnetic_axis',double(-9e+40),...
+'psi_magnetic_axis_error_index',int32(-999999999),...
+'psi_magnetic_axis_error_lower',double(-9e+40),...
+'psi_magnetic_axis_error_upper',double(-9e+40),...
+'rho_pol_norm',double([]),...
+'rho_pol_norm_error_index',int32(-999999999),...
+'rho_pol_norm_error_lower',double([]),...
+'rho_pol_norm_error_upper',double([]),...
 'rho_tor',double([]),...
-'rho_tor_error_index',double(-999999999),...
+'rho_tor_error_index',int32(-999999999),...
 'rho_tor_error_lower',double([]),...
 'rho_tor_error_upper',double([]),...
 'rho_tor_norm',double([]),...
-'rho_tor_norm_error_index',double(-999999999),...
+'rho_tor_norm_error_index',int32(-999999999),...
 'rho_tor_norm_error_lower',double([]),...
 'rho_tor_norm_error_upper',double([]),...
 'volume',double([]),...
-'volume_error_index',double(-999999999),...
+'volume_error_index',int32(-999999999),...
 'volume_error_lower',double([]),...
 'volume_error_upper',double([])),...
-'time',double(-9.0000000000000006360851714687e+40))
+'time',double(-9e+40))
 ;}},...
 'time',double([]),...
 'time_step',struct(...
 'data',double([]),...
-'data_error_index',double(-999999999),...
+'data_error_index',int32(-999999999),...
 'data_error_lower',double([]),...
 'data_error_upper',double([]),...
 'time',double([])),...
 'time_step_average',struct(...
 'data',double([]),...
-'data_error_index',double(-999999999),...
+'data_error_index',int32(-999999999),...
 'data_error_lower',double([]),...
 'data_error_upper',double([]),...
 'time',double([])),...
 'time_step_min',struct(...
 'data',double([]),...
-'data_error_index',double(-999999999),...
+'data_error_index',int32(-999999999),...
 'data_error_lower',double([]),...
 'data_error_upper',double([]),...
 'time',double([])),...
 'vacuum_toroidal_field',struct(...
 'b0',double([]),...
-'b0_error_index',double(-999999999),...
+'b0_error_index',int32(-999999999),...
 'b0_error_lower',double([]),...
 'b0_error_upper',double([]),...
-'r0',double(-9.0000000000000006360851714687e+40),...
-'r0_error_index',double(-999999999),...
-'r0_error_lower',double(-9.0000000000000006360851714687e+40),...
-'r0_error_upper',double(-9.0000000000000006360851714687e+40)));
+'r0',double(-9e+40),...
+'r0_error_index',int32(-999999999),...
+'r0_error_lower',double(-9e+40),...
+'r0_error_upper',double(-9e+40)));
diff --git a/matlab/TCV_IMAS/ids_empty/ids_empty_turbulence.m b/matlab/TCV_IMAS/ids_empty/ids_empty_turbulence.m
index e79c2c1bb6fcc435b77877fd713b514d131460d4..3ba520afaa1b3784b74ef0dd81b4c1553b834f53 100644
--- a/matlab/TCV_IMAS/ids_empty/ids_empty_turbulence.m
+++ b/matlab/TCV_IMAS/ids_empty/ids_empty_turbulence.m
@@ -6,113 +6,117 @@ function S = ids_empty_turbulence
 S = ... 
 struct(...
 'code',struct(...
-'commit',double([]),...
-'name',double([]),...
-'output_flag',double([]),...
-'parameters',double([]),...
-'repository',double([]),...
-'version',double([])),...
+'commit','',...
+'name','',...
+'output_flag',int32([]),...
+'parameters','',...
+'repository','',...
+'version',''),...
 'grid_2d',{{struct(...
 'dim1',double([]),...
-'dim1_error_index',double(-999999999),...
+'dim1_error_index',int32(-999999999),...
 'dim1_error_lower',double([]),...
 'dim1_error_upper',double([]),...
 'dim2',double([]),...
-'dim2_error_index',double(-999999999),...
+'dim2_error_index',int32(-999999999),...
 'dim2_error_lower',double([]),...
 'dim2_error_upper',double([]),...
-'time',double(-9.0000000000000006360851714687e+40))
+'time',double(-9e+40))
 ;}},...
 'grid_2d_type',struct(...
-'description',double([]),...
-'index',double(-999999999),...
-'name',double([])),...
+'description','',...
+'index',int32(-999999999),...
+'name',''),...
 'ids_properties',struct(...
-'comment',double([]),...
-'creation_date',double([]),...
-'homogeneous_time',double(-999999999),...
-'provider',double([]),...
-'source',double([])),...
+'comment','',...
+'creation_date','',...
+'homogeneous_time',int32(-999999999),...
+'provider','',...
+'source','',...
+'version_put',struct(...
+'access_layer','',...
+'access_layer_language','',...
+'data_dictionary','')),...
 'profiles_2d',{{struct(...
 'electrons',struct(...
 'density',double([]),...
-'density_error_index',double(-999999999),...
+'density_error_index',int32(-999999999),...
 'density_error_lower',double([]),...
 'density_error_upper',double([]),...
 'density_thermal',double([]),...
-'density_thermal_error_index',double(-999999999),...
+'density_thermal_error_index',int32(-999999999),...
 'density_thermal_error_lower',double([]),...
 'density_thermal_error_upper',double([]),...
 'temperature',double([]),...
-'temperature_error_index',double(-999999999),...
+'temperature_error_index',int32(-999999999),...
 'temperature_error_lower',double([]),...
 'temperature_error_upper',double([])),...
 'ion',{{struct(...
 'density',double([]),...
-'density_error_index',double(-999999999),...
+'density_error_index',int32(-999999999),...
 'density_error_lower',double([]),...
 'density_error_upper',double([]),...
 'density_thermal',double([]),...
-'density_thermal_error_index',double(-999999999),...
+'density_thermal_error_index',int32(-999999999),...
 'density_thermal_error_lower',double([]),...
 'density_thermal_error_upper',double([]),...
 'element',{{struct(...
-'a',double(-9.0000000000000006360851714687e+40),...
-'a_error_index',double(-999999999),...
-'a_error_lower',double(-9.0000000000000006360851714687e+40),...
-'a_error_upper',double(-9.0000000000000006360851714687e+40),...
-'atoms_n',double(-999999999),...
-'multiplicity',double(-9.0000000000000006360851714687e+40),...
-'multiplicity_error_index',double(-999999999),...
-'multiplicity_error_lower',double(-9.0000000000000006360851714687e+40),...
-'multiplicity_error_upper',double(-9.0000000000000006360851714687e+40),...
-'z_n',double(-9.0000000000000006360851714687e+40),...
-'z_n_error_index',double(-999999999),...
-'z_n_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_n_error_upper',double(-9.0000000000000006360851714687e+40))
+'a',double(-9e+40),...
+'a_error_index',int32(-999999999),...
+'a_error_lower',double(-9e+40),...
+'a_error_upper',double(-9e+40),...
+'atoms_n',int32(-999999999),...
+'multiplicity',double(-9e+40),...
+'multiplicity_error_index',int32(-999999999),...
+'multiplicity_error_lower',double(-9e+40),...
+'multiplicity_error_upper',double(-9e+40),...
+'z_n',double(-9e+40),...
+'z_n_error_index',int32(-999999999),...
+'z_n_error_lower',double(-9e+40),...
+'z_n_error_upper',double(-9e+40))
 ;}},...
-'label',double([]),...
-'neutral_index',double(-999999999),...
+'label','',...
+'neutral_index',int32(-999999999),...
 'temperature',double([]),...
-'temperature_error_index',double(-999999999),...
+'temperature_error_index',int32(-999999999),...
 'temperature_error_lower',double([]),...
 'temperature_error_upper',double([]),...
-'z_ion',double(-9.0000000000000006360851714687e+40),...
-'z_ion_error_index',double(-999999999),...
-'z_ion_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_ion_error_upper',double(-9.0000000000000006360851714687e+40))
+'z_ion',double(-9e+40),...
+'z_ion_error_index',int32(-999999999),...
+'z_ion_error_lower',double(-9e+40),...
+'z_ion_error_upper',double(-9e+40))
 ;}},...
 'neutral',{{struct(...
 'density',double([]),...
-'density_error_index',double(-999999999),...
+'density_error_index',int32(-999999999),...
 'density_error_lower',double([]),...
 'density_error_upper',double([]),...
 'density_thermal',double([]),...
-'density_thermal_error_index',double(-999999999),...
+'density_thermal_error_index',int32(-999999999),...
 'density_thermal_error_lower',double([]),...
 'density_thermal_error_upper',double([]),...
 'element',{{struct(...
-'a',double(-9.0000000000000006360851714687e+40),...
-'a_error_index',double(-999999999),...
-'a_error_lower',double(-9.0000000000000006360851714687e+40),...
-'a_error_upper',double(-9.0000000000000006360851714687e+40),...
-'atoms_n',double(-999999999),...
-'multiplicity',double(-9.0000000000000006360851714687e+40),...
-'multiplicity_error_index',double(-999999999),...
-'multiplicity_error_lower',double(-9.0000000000000006360851714687e+40),...
-'multiplicity_error_upper',double(-9.0000000000000006360851714687e+40),...
-'z_n',double(-9.0000000000000006360851714687e+40),...
-'z_n_error_index',double(-999999999),...
-'z_n_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_n_error_upper',double(-9.0000000000000006360851714687e+40))
+'a',double(-9e+40),...
+'a_error_index',int32(-999999999),...
+'a_error_lower',double(-9e+40),...
+'a_error_upper',double(-9e+40),...
+'atoms_n',int32(-999999999),...
+'multiplicity',double(-9e+40),...
+'multiplicity_error_index',int32(-999999999),...
+'multiplicity_error_lower',double(-9e+40),...
+'multiplicity_error_upper',double(-9e+40),...
+'z_n',double(-9e+40),...
+'z_n_error_index',int32(-999999999),...
+'z_n_error_lower',double(-9e+40),...
+'z_n_error_upper',double(-9e+40))
 ;}},...
-'ion_index',double(-999999999),...
-'label',double([]),...
+'ion_index',int32(-999999999),...
+'label','',...
 'temperature',double([]),...
-'temperature_error_index',double(-999999999),...
+'temperature_error_index',int32(-999999999),...
 'temperature_error_lower',double([]),...
 'temperature_error_upper',double([]))
 ;}},...
-'time',double(-9.0000000000000006360851714687e+40))
+'time',double(-9e+40))
 ;}},...
 'time',double([]));
diff --git a/matlab/TCV_IMAS/ids_empty/ids_empty_wall.m b/matlab/TCV_IMAS/ids_empty/ids_empty_wall.m
index 2cad4050ee47aac0074501d5c9f7f243a132bb5e..1079d52e88bcedb52246a2615bcf39c9bdab4796 100644
--- a/matlab/TCV_IMAS/ids_empty/ids_empty_wall.m
+++ b/matlab/TCV_IMAS/ids_empty/ids_empty_wall.m
@@ -6,338 +6,354 @@ function S = ids_empty_wall
 S = ... 
 struct(...
 'code',struct(...
-'commit',double([]),...
-'name',double([]),...
-'output_flag',double([]),...
-'parameters',double([]),...
-'repository',double([]),...
-'version',double([])),...
+'commit','',...
+'name','',...
+'output_flag',int32([]),...
+'parameters','',...
+'repository','',...
+'version',''),...
 'description_2d',{{struct(...
 'limiter',struct(...
 'type',struct(...
-'description',double([]),...
-'index',double(-999999999),...
-'name',double([])),...
+'description','',...
+'index',int32(-999999999),...
+'name',''),...
 'unit',{{struct(...
-'closed',double(-999999999),...
-'name',double([]),...
+'closed',int32(-999999999),...
+'name','',...
 'outline',struct(...
 'r',double([]),...
-'r_error_index',double(-999999999),...
+'r_error_index',int32(-999999999),...
 'r_error_lower',double([]),...
 'r_error_upper',double([]),...
 'z',double([]),...
-'z_error_index',double(-999999999),...
+'z_error_index',int32(-999999999),...
 'z_error_lower',double([]),...
 'z_error_upper',double([])),...
-'resistivity',double(-9.0000000000000006360851714687e+40),...
-'resistivity_error_index',double(-999999999),...
-'resistivity_error_lower',double(-9.0000000000000006360851714687e+40),...
-'resistivity_error_upper',double(-9.0000000000000006360851714687e+40))
+'phi_extensions',double([]),...
+'phi_extensions_error_index',int32(-999999999),...
+'phi_extensions_error_lower',double([]),...
+'phi_extensions_error_upper',double([]),...
+'resistivity',double(-9e+40),...
+'resistivity_error_index',int32(-999999999),...
+'resistivity_error_lower',double(-9e+40),...
+'resistivity_error_upper',double(-9e+40))
 ;}}),...
 'mobile',struct(...
 'type',struct(...
-'description',double([]),...
-'index',double(-999999999),...
-'name',double([])),...
+'description','',...
+'index',int32(-999999999),...
+'name',''),...
 'unit',{{struct(...
-'closed',double(-999999999),...
-'name',double([]),...
+'closed',int32(-999999999),...
+'name','',...
 'outline',{{struct(...
 'r',double([]),...
-'r_error_index',double(-999999999),...
+'r_error_index',int32(-999999999),...
 'r_error_lower',double([]),...
 'r_error_upper',double([]),...
-'time',double(-9.0000000000000006360851714687e+40),...
+'time',double(-9e+40),...
 'z',double([]),...
-'z_error_index',double(-999999999),...
+'z_error_index',int32(-999999999),...
 'z_error_lower',double([]),...
 'z_error_upper',double([]))
 ;}},...
-'resistivity',double(-9.0000000000000006360851714687e+40),...
-'resistivity_error_index',double(-999999999),...
-'resistivity_error_lower',double(-9.0000000000000006360851714687e+40),...
-'resistivity_error_upper',double(-9.0000000000000006360851714687e+40))
+'phi_extensions',double([]),...
+'phi_extensions_error_index',int32(-999999999),...
+'phi_extensions_error_lower',double([]),...
+'phi_extensions_error_upper',double([]),...
+'resistivity',double(-9e+40),...
+'resistivity_error_index',int32(-999999999),...
+'resistivity_error_lower',double(-9e+40),...
+'resistivity_error_upper',double(-9e+40))
 ;}}),...
 'type',struct(...
-'description',double([]),...
-'index',double(-999999999),...
-'name',double([])),...
+'description','',...
+'index',int32(-999999999),...
+'name',''),...
 'vessel',struct(...
 'type',struct(...
-'description',double([]),...
-'index',double(-999999999),...
-'name',double([])),...
+'description','',...
+'index',int32(-999999999),...
+'name',''),...
 'unit',{{struct(...
 'annular',struct(...
 'outline_inner',struct(...
 'r',double([]),...
-'r_error_index',double(-999999999),...
+'r_error_index',int32(-999999999),...
 'r_error_lower',double([]),...
 'r_error_upper',double([]),...
 'z',double([]),...
-'z_error_index',double(-999999999),...
+'z_error_index',int32(-999999999),...
 'z_error_lower',double([]),...
 'z_error_upper',double([])),...
 'outline_outer',struct(...
 'r',double([]),...
-'r_error_index',double(-999999999),...
+'r_error_index',int32(-999999999),...
 'r_error_lower',double([]),...
 'r_error_upper',double([]),...
 'z',double([]),...
-'z_error_index',double(-999999999),...
+'z_error_index',int32(-999999999),...
 'z_error_lower',double([]),...
 'z_error_upper',double([])),...
-'resistivity',double(-9.0000000000000006360851714687e+40),...
-'resistivity_error_index',double(-999999999),...
-'resistivity_error_lower',double(-9.0000000000000006360851714687e+40),...
-'resistivity_error_upper',double(-9.0000000000000006360851714687e+40)),...
+'resistivity',double(-9e+40),...
+'resistivity_error_index',int32(-999999999),...
+'resistivity_error_lower',double(-9e+40),...
+'resistivity_error_upper',double(-9e+40)),...
 'element',{{struct(...
 'j_tor',struct(...
 'data',double([]),...
-'data_error_index',double(-999999999),...
+'data_error_index',int32(-999999999),...
 'data_error_lower',double([]),...
 'data_error_upper',double([]),...
 'time',double([])),...
-'name',double([]),...
+'name','',...
 'outline',struct(...
 'r',double([]),...
-'r_error_index',double(-999999999),...
+'r_error_index',int32(-999999999),...
 'r_error_lower',double([]),...
 'r_error_upper',double([]),...
 'z',double([]),...
-'z_error_index',double(-999999999),...
+'z_error_index',int32(-999999999),...
 'z_error_lower',double([]),...
 'z_error_upper',double([])),...
-'resistance',double(-9.0000000000000006360851714687e+40),...
-'resistance_error_index',double(-999999999),...
-'resistance_error_lower',double(-9.0000000000000006360851714687e+40),...
-'resistance_error_upper',double(-9.0000000000000006360851714687e+40),...
-'resistivity',double(-9.0000000000000006360851714687e+40),...
-'resistivity_error_index',double(-999999999),...
-'resistivity_error_lower',double(-9.0000000000000006360851714687e+40),...
-'resistivity_error_upper',double(-9.0000000000000006360851714687e+40))
+'resistance',double(-9e+40),...
+'resistance_error_index',int32(-999999999),...
+'resistance_error_lower',double(-9e+40),...
+'resistance_error_upper',double(-9e+40),...
+'resistivity',double(-9e+40),...
+'resistivity_error_index',int32(-999999999),...
+'resistivity_error_lower',double(-9e+40),...
+'resistivity_error_upper',double(-9e+40))
 ;}},...
-'name',double([]))
+'name','')
 ;}}))
 ;}},...
 'description_ggd',{{struct(...
 'ggd',{{struct(...
 'power_density',{{struct(...
 'coefficients',double([]),...
-'coefficients_error_index',double(-999999999),...
+'coefficients_error_index',int32(-999999999),...
 'coefficients_error_lower',double([]),...
 'coefficients_error_upper',double([]),...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
 'values',double([]),...
-'values_error_index',double(-999999999),...
+'values_error_index',int32(-999999999),...
 'values_error_lower',double([]),...
 'values_error_upper',double([]))
 ;}},...
 'temperature',{{struct(...
 'coefficients',double([]),...
-'coefficients_error_index',double(-999999999),...
+'coefficients_error_index',int32(-999999999),...
 'coefficients_error_lower',double([]),...
 'coefficients_error_upper',double([]),...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
 'values',double([]),...
-'values_error_index',double(-999999999),...
+'values_error_index',int32(-999999999),...
 'values_error_lower',double([]),...
 'values_error_upper',double([]))
 ;}},...
-'time',double(-9.0000000000000006360851714687e+40))
+'time',double(-9e+40))
 ;}},...
 'grid_ggd',{{struct(...
 'grid_subset',{{struct(...
 'base',{{struct(...
 'jacobian',double([]),...
-'jacobian_error_index',double(-999999999),...
+'jacobian_error_index',int32(-999999999),...
 'jacobian_error_lower',double([]),...
 'jacobian_error_upper',double([]),...
 'tensor_contravariant',double([]),...
-'tensor_contravariant_error_index',double(-999999999),...
+'tensor_contravariant_error_index',int32(-999999999),...
 'tensor_contravariant_error_lower',double([]),...
 'tensor_contravariant_error_upper',double([]),...
 'tensor_covariant',double([]),...
-'tensor_covariant_error_index',double(-999999999),...
+'tensor_covariant_error_index',int32(-999999999),...
 'tensor_covariant_error_lower',double([]),...
 'tensor_covariant_error_upper',double([]))
 ;}},...
-'dimension',double(-999999999),...
+'dimension',int32(-999999999),...
 'element',{{struct(...
 'object',{{struct(...
-'dimension',double(-999999999),...
-'index',double(-999999999),...
-'space',double(-999999999))
+'dimension',int32(-999999999),...
+'index',int32(-999999999),...
+'space',int32(-999999999))
 ;}})
 ;}},...
 'identifier',struct(...
-'description',double([]),...
-'index',double(-999999999),...
-'name',double([])),...
+'description','',...
+'index',int32(-999999999),...
+'name',''),...
 'metric',struct(...
 'jacobian',double([]),...
-'jacobian_error_index',double(-999999999),...
+'jacobian_error_index',int32(-999999999),...
 'jacobian_error_lower',double([]),...
 'jacobian_error_upper',double([]),...
 'tensor_contravariant',double([]),...
-'tensor_contravariant_error_index',double(-999999999),...
+'tensor_contravariant_error_index',int32(-999999999),...
 'tensor_contravariant_error_lower',double([]),...
 'tensor_contravariant_error_upper',double([]),...
 'tensor_covariant',double([]),...
-'tensor_covariant_error_index',double(-999999999),...
+'tensor_covariant_error_index',int32(-999999999),...
 'tensor_covariant_error_lower',double([]),...
 'tensor_covariant_error_upper',double([])))
 ;}},...
 'identifier',struct(...
-'description',double([]),...
-'index',double(-999999999),...
-'name',double([])),...
+'description','',...
+'index',int32(-999999999),...
+'name',''),...
 'space',{{struct(...
-'coordinates_type',double([]),...
+'coordinates_type',int32([]),...
 'geometry_type',struct(...
-'description',double([]),...
-'index',double(-999999999),...
-'name',double([])),...
+'description','',...
+'index',int32(-999999999),...
+'name',''),...
 'identifier',struct(...
-'description',double([]),...
-'index',double(-999999999),...
-'name',double([])),...
+'description','',...
+'index',int32(-999999999),...
+'name',''),...
 'objects_per_dimension',{{struct(...
 'object',{{struct(...
 'boundary',{{struct(...
-'index',double(-999999999),...
-'neighbours',double([]))
+'index',int32(-999999999),...
+'neighbours',int32([]))
 ;}},...
 'geometry',double([]),...
-'geometry_error_index',double(-999999999),...
+'geometry_error_index',int32(-999999999),...
 'geometry_error_lower',double([]),...
 'geometry_error_upper',double([]),...
-'measure',double(-9.0000000000000006360851714687e+40),...
-'measure_error_index',double(-999999999),...
-'measure_error_lower',double(-9.0000000000000006360851714687e+40),...
-'measure_error_upper',double(-9.0000000000000006360851714687e+40),...
-'nodes',double([]))
+'measure',double(-9e+40),...
+'measure_error_index',int32(-999999999),...
+'measure_error_lower',double(-9e+40),...
+'measure_error_upper',double(-9e+40),...
+'nodes',int32([]))
 ;}})
 ;}})
 ;}},...
-'time',double(-9.0000000000000006360851714687e+40))
+'time',double(-9e+40))
 ;}},...
 'type',struct(...
-'description',double([]),...
-'index',double(-999999999),...
-'name',double([])))
+'description','',...
+'index',int32(-999999999),...
+'name',''))
 ;}},...
 'global_quantities',struct(...
+'current_tor',double([]),...
+'current_tor_error_index',int32(-999999999),...
+'current_tor_error_lower',double([]),...
+'current_tor_error_upper',double([]),...
 'electrons',struct(...
 'gas_puff',double([]),...
-'gas_puff_error_index',double(-999999999),...
+'gas_puff_error_index',int32(-999999999),...
 'gas_puff_error_lower',double([]),...
 'gas_puff_error_upper',double([]),...
 'particle_flux_from_plasma',double([]),...
-'particle_flux_from_plasma_error_index',double(-999999999),...
+'particle_flux_from_plasma_error_index',int32(-999999999),...
 'particle_flux_from_plasma_error_lower',double([]),...
 'particle_flux_from_plasma_error_upper',double([]),...
 'particle_flux_from_wall',double([]),...
-'particle_flux_from_wall_error_index',double(-999999999),...
+'particle_flux_from_wall_error_index',int32(-999999999),...
 'particle_flux_from_wall_error_lower',double([]),...
 'particle_flux_from_wall_error_upper',double([]),...
 'power_inner_target',double([]),...
-'power_inner_target_error_index',double(-999999999),...
+'power_inner_target_error_index',int32(-999999999),...
 'power_inner_target_error_lower',double([]),...
 'power_inner_target_error_upper',double([]),...
 'power_outer_target',double([]),...
-'power_outer_target_error_index',double(-999999999),...
+'power_outer_target_error_index',int32(-999999999),...
 'power_outer_target_error_lower',double([]),...
 'power_outer_target_error_upper',double([]),...
 'pumping_speed',double([]),...
-'pumping_speed_error_index',double(-999999999),...
+'pumping_speed_error_index',int32(-999999999),...
 'pumping_speed_error_lower',double([]),...
 'pumping_speed_error_upper',double([])),...
 'neutral',{{struct(...
 'element',{{struct(...
-'a',double(-9.0000000000000006360851714687e+40),...
-'a_error_index',double(-999999999),...
-'a_error_lower',double(-9.0000000000000006360851714687e+40),...
-'a_error_upper',double(-9.0000000000000006360851714687e+40),...
-'atoms_n',double(-999999999),...
-'multiplicity',double(-9.0000000000000006360851714687e+40),...
-'multiplicity_error_index',double(-999999999),...
-'multiplicity_error_lower',double(-9.0000000000000006360851714687e+40),...
-'multiplicity_error_upper',double(-9.0000000000000006360851714687e+40),...
-'z_n',double(-9.0000000000000006360851714687e+40),...
-'z_n_error_index',double(-999999999),...
-'z_n_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_n_error_upper',double(-9.0000000000000006360851714687e+40))
+'a',double(-9e+40),...
+'a_error_index',int32(-999999999),...
+'a_error_lower',double(-9e+40),...
+'a_error_upper',double(-9e+40),...
+'atoms_n',int32(-999999999),...
+'multiplicity',double(-9e+40),...
+'multiplicity_error_index',int32(-999999999),...
+'multiplicity_error_lower',double(-9e+40),...
+'multiplicity_error_upper',double(-9e+40),...
+'z_n',double(-9e+40),...
+'z_n_error_index',int32(-999999999),...
+'z_n_error_lower',double(-9e+40),...
+'z_n_error_upper',double(-9e+40))
 ;}},...
 'gas_puff',double([]),...
-'gas_puff_error_index',double(-999999999),...
+'gas_puff_error_index',int32(-999999999),...
 'gas_puff_error_lower',double([]),...
 'gas_puff_error_upper',double([]),...
-'label',double([]),...
+'label','',...
 'particle_flux_from_plasma',double([]),...
-'particle_flux_from_plasma_error_index',double(-999999999),...
+'particle_flux_from_plasma_error_index',int32(-999999999),...
 'particle_flux_from_plasma_error_lower',double([]),...
 'particle_flux_from_plasma_error_upper',double([]),...
 'particle_flux_from_wall',double([]),...
-'particle_flux_from_wall_error_index',double(-999999999),...
+'particle_flux_from_wall_error_index',int32(-999999999),...
 'particle_flux_from_wall_error_lower',double([]),...
 'particle_flux_from_wall_error_upper',double([]),...
 'pumping_speed',double([]),...
-'pumping_speed_error_index',double(-999999999),...
+'pumping_speed_error_index',int32(-999999999),...
 'pumping_speed_error_lower',double([]),...
 'pumping_speed_error_upper',double([]),...
 'recycling_energy_coefficient',double([]),...
-'recycling_energy_coefficient_error_index',double(-999999999),...
+'recycling_energy_coefficient_error_index',int32(-999999999),...
 'recycling_energy_coefficient_error_lower',double([]),...
 'recycling_energy_coefficient_error_upper',double([]),...
 'recycling_particles_coefficient',double([]),...
-'recycling_particles_coefficient_error_index',double(-999999999),...
+'recycling_particles_coefficient_error_index',int32(-999999999),...
 'recycling_particles_coefficient_error_lower',double([]),...
 'recycling_particles_coefficient_error_upper',double([]),...
 'sputtering_chemical_coefficient',double([]),...
-'sputtering_chemical_coefficient_error_index',double(-999999999),...
+'sputtering_chemical_coefficient_error_index',int32(-999999999),...
 'sputtering_chemical_coefficient_error_lower',double([]),...
 'sputtering_chemical_coefficient_error_upper',double([]),...
 'sputtering_physical_coefficient',double([]),...
-'sputtering_physical_coefficient_error_index',double(-999999999),...
+'sputtering_physical_coefficient_error_index',int32(-999999999),...
 'sputtering_physical_coefficient_error_lower',double([]),...
 'sputtering_physical_coefficient_error_upper',double([]),...
 'wall_inventory',double([]),...
-'wall_inventory_error_index',double(-999999999),...
+'wall_inventory_error_index',int32(-999999999),...
 'wall_inventory_error_lower',double([]),...
 'wall_inventory_error_upper',double([]))
 ;}},...
 'power_density_inner_target_max',double([]),...
-'power_density_inner_target_max_error_index',double(-999999999),...
+'power_density_inner_target_max_error_index',int32(-999999999),...
 'power_density_inner_target_max_error_lower',double([]),...
 'power_density_inner_target_max_error_upper',double([]),...
 'power_density_outer_target_max',double([]),...
-'power_density_outer_target_max_error_index',double(-999999999),...
+'power_density_outer_target_max_error_index',int32(-999999999),...
 'power_density_outer_target_max_error_lower',double([]),...
 'power_density_outer_target_max_error_upper',double([]),...
 'power_from_plasma',double([]),...
-'power_from_plasma_error_index',double(-999999999),...
+'power_from_plasma_error_index',int32(-999999999),...
 'power_from_plasma_error_lower',double([]),...
 'power_from_plasma_error_upper',double([]),...
 'power_inner_target_ion_total',double([]),...
-'power_inner_target_ion_total_error_index',double(-999999999),...
+'power_inner_target_ion_total_error_index',int32(-999999999),...
 'power_inner_target_ion_total_error_lower',double([]),...
 'power_inner_target_ion_total_error_upper',double([]),...
 'power_to_cooling',double([]),...
-'power_to_cooling_error_index',double(-999999999),...
+'power_to_cooling_error_index',int32(-999999999),...
 'power_to_cooling_error_lower',double([]),...
 'power_to_cooling_error_upper',double([]),...
 'temperature',double([]),...
-'temperature_error_index',double(-999999999),...
+'temperature_error_index',int32(-999999999),...
 'temperature_error_lower',double([]),...
 'temperature_error_upper',double([])),...
 'ids_properties',struct(...
-'comment',double([]),...
-'creation_date',double([]),...
-'homogeneous_time',double(-999999999),...
-'provider',double([]),...
-'source',double([])),...
+'comment','',...
+'creation_date','',...
+'homogeneous_time',int32(-999999999),...
+'provider','',...
+'source','',...
+'version_put',struct(...
+'access_layer','',...
+'access_layer_language','',...
+'data_dictionary','')),...
 'time',double([]));
diff --git a/matlab/TCV_IMAS/ids_empty/ids_empty_waves.m b/matlab/TCV_IMAS/ids_empty/ids_empty_waves.m
index 4e90eb355b09deea45817d26b047656415c7f9db..8897dcd8f27875dbd9ded231ca6a4e50e990b834 100644
--- a/matlab/TCV_IMAS/ids_empty/ids_empty_waves.m
+++ b/matlab/TCV_IMAS/ids_empty/ids_empty_waves.m
@@ -6,256 +6,256 @@ function S = ids_empty_waves
 S = ... 
 struct(...
 'code',struct(...
-'commit',double([]),...
-'name',double([]),...
-'output_flag',double([]),...
-'parameters',double([]),...
-'repository',double([]),...
-'version',double([])),...
+'commit','',...
+'name','',...
+'output_flag',int32([]),...
+'parameters','',...
+'repository','',...
+'version',''),...
 'coherent_wave',{{struct(...
 'beam_tracing',{{struct(...
 'beam',{{struct(...
 'e_field',struct(...
 'minus',struct(...
 'imaginary',double([]),...
-'imaginary_error_index',double(-999999999),...
+'imaginary_error_index',int32(-999999999),...
 'imaginary_error_lower',double([]),...
 'imaginary_error_upper',double([]),...
 'real',double([]),...
-'real_error_index',double(-999999999),...
+'real_error_index',int32(-999999999),...
 'real_error_lower',double([]),...
 'real_error_upper',double([])),...
 'parallel',struct(...
 'imaginary',double([]),...
-'imaginary_error_index',double(-999999999),...
+'imaginary_error_index',int32(-999999999),...
 'imaginary_error_lower',double([]),...
 'imaginary_error_upper',double([]),...
 'real',double([]),...
-'real_error_index',double(-999999999),...
+'real_error_index',int32(-999999999),...
 'real_error_lower',double([]),...
 'real_error_upper',double([])),...
 'plus',struct(...
 'imaginary',double([]),...
-'imaginary_error_index',double(-999999999),...
+'imaginary_error_index',int32(-999999999),...
 'imaginary_error_lower',double([]),...
 'imaginary_error_upper',double([]),...
 'real',double([]),...
-'real_error_index',double(-999999999),...
+'real_error_index',int32(-999999999),...
 'real_error_lower',double([]),...
 'real_error_upper',double([]))),...
 'electrons',struct(...
 'power',double([]),...
-'power_error_index',double(-999999999),...
+'power_error_index',int32(-999999999),...
 'power_error_lower',double([]),...
 'power_error_upper',double([])),...
 'ion',{{struct(...
 'element',{{struct(...
-'a',double(-9.0000000000000006360851714687e+40),...
-'a_error_index',double(-999999999),...
-'a_error_lower',double(-9.0000000000000006360851714687e+40),...
-'a_error_upper',double(-9.0000000000000006360851714687e+40),...
-'atoms_n',double(-999999999),...
-'multiplicity',double(-9.0000000000000006360851714687e+40),...
-'multiplicity_error_index',double(-999999999),...
-'multiplicity_error_lower',double(-9.0000000000000006360851714687e+40),...
-'multiplicity_error_upper',double(-9.0000000000000006360851714687e+40),...
-'z_n',double(-9.0000000000000006360851714687e+40),...
-'z_n_error_index',double(-999999999),...
-'z_n_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_n_error_upper',double(-9.0000000000000006360851714687e+40))
-;}},...
-'label',double([]),...
-'multiple_states_flag',double(-999999999),...
+'a',double(-9e+40),...
+'a_error_index',int32(-999999999),...
+'a_error_lower',double(-9e+40),...
+'a_error_upper',double(-9e+40),...
+'atoms_n',int32(-999999999),...
+'multiplicity',double(-9e+40),...
+'multiplicity_error_index',int32(-999999999),...
+'multiplicity_error_lower',double(-9e+40),...
+'multiplicity_error_upper',double(-9e+40),...
+'z_n',double(-9e+40),...
+'z_n_error_index',int32(-999999999),...
+'z_n_error_lower',double(-9e+40),...
+'z_n_error_upper',double(-9e+40))
+;}},...
+'label','',...
+'multiple_states_flag',int32(-999999999),...
 'power',double([]),...
-'power_error_index',double(-999999999),...
+'power_error_index',int32(-999999999),...
 'power_error_lower',double([]),...
 'power_error_upper',double([]),...
 'state',{{struct(...
-'electron_configuration',double([]),...
-'label',double([]),...
+'electron_configuration','',...
+'label','',...
 'power',double([]),...
-'power_error_index',double(-999999999),...
+'power_error_index',int32(-999999999),...
 'power_error_lower',double([]),...
 'power_error_upper',double([]),...
-'vibrational_level',double(-9.0000000000000006360851714687e+40),...
-'vibrational_level_error_index',double(-999999999),...
-'vibrational_level_error_lower',double(-9.0000000000000006360851714687e+40),...
-'vibrational_level_error_upper',double(-9.0000000000000006360851714687e+40),...
-'vibrational_mode',double([]),...
-'z_max',double(-9.0000000000000006360851714687e+40),...
-'z_max_error_index',double(-999999999),...
-'z_max_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_max_error_upper',double(-9.0000000000000006360851714687e+40),...
-'z_min',double(-9.0000000000000006360851714687e+40),...
-'z_min_error_index',double(-999999999),...
-'z_min_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_min_error_upper',double(-9.0000000000000006360851714687e+40))
-;}},...
-'z_ion',double(-9.0000000000000006360851714687e+40),...
-'z_ion_error_index',double(-999999999),...
-'z_ion_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_ion_error_upper',double(-9.0000000000000006360851714687e+40))
+'vibrational_level',double(-9e+40),...
+'vibrational_level_error_index',int32(-999999999),...
+'vibrational_level_error_lower',double(-9e+40),...
+'vibrational_level_error_upper',double(-9e+40),...
+'vibrational_mode','',...
+'z_max',double(-9e+40),...
+'z_max_error_index',int32(-999999999),...
+'z_max_error_lower',double(-9e+40),...
+'z_max_error_upper',double(-9e+40),...
+'z_min',double(-9e+40),...
+'z_min_error_index',int32(-999999999),...
+'z_min_error_lower',double(-9e+40),...
+'z_min_error_upper',double(-9e+40))
+;}},...
+'z_ion',double(-9e+40),...
+'z_ion_error_index',int32(-999999999),...
+'z_ion_error_lower',double(-9e+40),...
+'z_ion_error_upper',double(-9e+40))
 ;}},...
 'length',double([]),...
-'length_error_index',double(-999999999),...
+'length_error_index',int32(-999999999),...
 'length_error_lower',double([]),...
 'length_error_upper',double([]),...
 'position',struct(...
 'phi',double([]),...
-'phi_error_index',double(-999999999),...
+'phi_error_index',int32(-999999999),...
 'phi_error_lower',double([]),...
 'phi_error_upper',double([]),...
 'psi',double([]),...
-'psi_error_index',double(-999999999),...
+'psi_error_index',int32(-999999999),...
 'psi_error_lower',double([]),...
 'psi_error_upper',double([]),...
 'r',double([]),...
-'r_error_index',double(-999999999),...
+'r_error_index',int32(-999999999),...
 'r_error_lower',double([]),...
 'r_error_upper',double([]),...
 'theta',double([]),...
-'theta_error_index',double(-999999999),...
+'theta_error_index',int32(-999999999),...
 'theta_error_lower',double([]),...
 'theta_error_upper',double([]),...
 'z',double([]),...
-'z_error_index',double(-999999999),...
+'z_error_index',int32(-999999999),...
 'z_error_lower',double([]),...
 'z_error_upper',double([])),...
 'power_flow_norm',struct(...
 'parallel',double([]),...
-'parallel_error_index',double(-999999999),...
+'parallel_error_index',int32(-999999999),...
 'parallel_error_lower',double([]),...
 'parallel_error_upper',double([]),...
 'perpendicular',double([]),...
-'perpendicular_error_index',double(-999999999),...
+'perpendicular_error_index',int32(-999999999),...
 'perpendicular_error_lower',double([]),...
 'perpendicular_error_upper',double([])),...
-'power_initial',double(-9.0000000000000006360851714687e+40),...
-'power_initial_error_index',double(-999999999),...
-'power_initial_error_lower',double(-9.0000000000000006360851714687e+40),...
-'power_initial_error_upper',double(-9.0000000000000006360851714687e+40),...
+'power_initial',double(-9e+40),...
+'power_initial_error_index',int32(-999999999),...
+'power_initial_error_lower',double(-9e+40),...
+'power_initial_error_upper',double(-9e+40),...
 'wave_vector',struct(...
 'k_r',double([]),...
-'k_r_error_index',double(-999999999),...
+'k_r_error_index',int32(-999999999),...
 'k_r_error_lower',double([]),...
 'k_r_error_upper',double([]),...
 'k_tor',double([]),...
-'k_tor_error_index',double(-999999999),...
+'k_tor_error_index',int32(-999999999),...
 'k_tor_error_lower',double([]),...
 'k_tor_error_upper',double([]),...
 'k_z',double([]),...
-'k_z_error_index',double(-999999999),...
+'k_z_error_index',int32(-999999999),...
 'k_z_error_lower',double([]),...
 'k_z_error_upper',double([]),...
 'n_parallel',double([]),...
-'n_parallel_error_index',double(-999999999),...
+'n_parallel_error_index',int32(-999999999),...
 'n_parallel_error_lower',double([]),...
 'n_parallel_error_upper',double([]),...
 'n_perpendicular',double([]),...
-'n_perpendicular_error_index',double(-999999999),...
+'n_perpendicular_error_index',int32(-999999999),...
 'n_perpendicular_error_lower',double([]),...
 'n_perpendicular_error_upper',double([]),...
-'n_tor',double([]),...
-'varying_n_tor',double(-999999999)))
+'n_tor',int32([]),...
+'varying_n_tor',int32(-999999999)))
 ;}},...
-'time',double(-9.0000000000000006360851714687e+40))
+'time',double(-9e+40))
 ;}},...
 'full_wave',{{struct(...
 'b_field',struct(...
 'bi_normal',{{struct(...
 'coefficients',double([]),...
-'coefficients_error_index',double(-999999999),...
+'coefficients_error_index',int32(-999999999),...
 'coefficients_error_lower',double([]),...
 'coefficients_error_upper',double([]),...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
 'values',double([]),...
-'values_error_index',double(-999999999),...
+'values_error_index',int32(-999999999),...
 'values_error_lower',double([]),...
 'values_error_upper',double([]))
 ;}},...
 'normal',{{struct(...
 'coefficients',double([]),...
-'coefficients_error_index',double(-999999999),...
+'coefficients_error_index',int32(-999999999),...
 'coefficients_error_lower',double([]),...
 'coefficients_error_upper',double([]),...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
 'values',double([]),...
-'values_error_index',double(-999999999),...
+'values_error_index',int32(-999999999),...
 'values_error_lower',double([]),...
 'values_error_upper',double([]))
 ;}},...
 'parallel',{{struct(...
 'coefficients',double([]),...
-'coefficients_error_index',double(-999999999),...
+'coefficients_error_index',int32(-999999999),...
 'coefficients_error_lower',double([]),...
 'coefficients_error_upper',double([]),...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
 'values',double([]),...
-'values_error_index',double(-999999999),...
+'values_error_index',int32(-999999999),...
 'values_error_lower',double([]),...
 'values_error_upper',double([]))
 ;}}),...
 'e_field',struct(...
 'bi_normal',{{struct(...
 'coefficients',double([]),...
-'coefficients_error_index',double(-999999999),...
+'coefficients_error_index',int32(-999999999),...
 'coefficients_error_lower',double([]),...
 'coefficients_error_upper',double([]),...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
 'values',double([]),...
-'values_error_index',double(-999999999),...
+'values_error_index',int32(-999999999),...
 'values_error_lower',double([]),...
 'values_error_upper',double([]))
 ;}},...
 'minus',{{struct(...
 'coefficients',double([]),...
-'coefficients_error_index',double(-999999999),...
+'coefficients_error_index',int32(-999999999),...
 'coefficients_error_lower',double([]),...
 'coefficients_error_upper',double([]),...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
 'values',double([]),...
-'values_error_index',double(-999999999),...
+'values_error_index',int32(-999999999),...
 'values_error_lower',double([]),...
 'values_error_upper',double([]))
 ;}},...
 'normal',{{struct(...
 'coefficients',double([]),...
-'coefficients_error_index',double(-999999999),...
+'coefficients_error_index',int32(-999999999),...
 'coefficients_error_lower',double([]),...
 'coefficients_error_upper',double([]),...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
 'values',double([]),...
-'values_error_index',double(-999999999),...
+'values_error_index',int32(-999999999),...
 'values_error_lower',double([]),...
 'values_error_upper',double([]))
 ;}},...
 'parallel',{{struct(...
 'coefficients',double([]),...
-'coefficients_error_index',double(-999999999),...
+'coefficients_error_index',int32(-999999999),...
 'coefficients_error_lower',double([]),...
 'coefficients_error_upper',double([]),...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
 'values',double([]),...
-'values_error_index',double(-999999999),...
+'values_error_index',int32(-999999999),...
 'values_error_lower',double([]),...
 'values_error_upper',double([]))
 ;}},...
 'plus',{{struct(...
 'coefficients',double([]),...
-'coefficients_error_index',double(-999999999),...
+'coefficients_error_index',int32(-999999999),...
 'coefficients_error_lower',double([]),...
 'coefficients_error_upper',double([]),...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
 'values',double([]),...
-'values_error_index',double(-999999999),...
+'values_error_index',int32(-999999999),...
 'values_error_lower',double([]),...
 'values_error_upper',double([]))
 ;}}),...
@@ -263,637 +263,653 @@ struct(...
 'grid_subset',{{struct(...
 'base',{{struct(...
 'jacobian',double([]),...
-'jacobian_error_index',double(-999999999),...
+'jacobian_error_index',int32(-999999999),...
 'jacobian_error_lower',double([]),...
 'jacobian_error_upper',double([]),...
 'tensor_contravariant',double([]),...
-'tensor_contravariant_error_index',double(-999999999),...
+'tensor_contravariant_error_index',int32(-999999999),...
 'tensor_contravariant_error_lower',double([]),...
 'tensor_contravariant_error_upper',double([]),...
 'tensor_covariant',double([]),...
-'tensor_covariant_error_index',double(-999999999),...
+'tensor_covariant_error_index',int32(-999999999),...
 'tensor_covariant_error_lower',double([]),...
 'tensor_covariant_error_upper',double([]))
 ;}},...
-'dimension',double(-999999999),...
+'dimension',int32(-999999999),...
 'element',{{struct(...
 'object',{{struct(...
-'dimension',double(-999999999),...
-'index',double(-999999999),...
-'space',double(-999999999))
+'dimension',int32(-999999999),...
+'index',int32(-999999999),...
+'space',int32(-999999999))
 ;}})
 ;}},...
 'identifier',struct(...
-'description',double([]),...
-'index',double(-999999999),...
-'name',double([])),...
+'description','',...
+'index',int32(-999999999),...
+'name',''),...
 'metric',struct(...
 'jacobian',double([]),...
-'jacobian_error_index',double(-999999999),...
+'jacobian_error_index',int32(-999999999),...
 'jacobian_error_lower',double([]),...
 'jacobian_error_upper',double([]),...
 'tensor_contravariant',double([]),...
-'tensor_contravariant_error_index',double(-999999999),...
+'tensor_contravariant_error_index',int32(-999999999),...
 'tensor_contravariant_error_lower',double([]),...
 'tensor_contravariant_error_upper',double([]),...
 'tensor_covariant',double([]),...
-'tensor_covariant_error_index',double(-999999999),...
+'tensor_covariant_error_index',int32(-999999999),...
 'tensor_covariant_error_lower',double([]),...
 'tensor_covariant_error_upper',double([])))
 ;}},...
 'identifier',struct(...
-'description',double([]),...
-'index',double(-999999999),...
-'name',double([])),...
+'description','',...
+'index',int32(-999999999),...
+'name',''),...
 'space',{{struct(...
-'coordinates_type',double([]),...
+'coordinates_type',int32([]),...
 'geometry_type',struct(...
-'description',double([]),...
-'index',double(-999999999),...
-'name',double([])),...
+'description','',...
+'index',int32(-999999999),...
+'name',''),...
 'identifier',struct(...
-'description',double([]),...
-'index',double(-999999999),...
-'name',double([])),...
+'description','',...
+'index',int32(-999999999),...
+'name',''),...
 'objects_per_dimension',{{struct(...
 'object',{{struct(...
 'boundary',{{struct(...
-'index',double(-999999999),...
-'neighbours',double([]))
+'index',int32(-999999999),...
+'neighbours',int32([]))
 ;}},...
 'geometry',double([]),...
-'geometry_error_index',double(-999999999),...
+'geometry_error_index',int32(-999999999),...
 'geometry_error_lower',double([]),...
 'geometry_error_upper',double([]),...
-'measure',double(-9.0000000000000006360851714687e+40),...
-'measure_error_index',double(-999999999),...
-'measure_error_lower',double(-9.0000000000000006360851714687e+40),...
-'measure_error_upper',double(-9.0000000000000006360851714687e+40),...
-'nodes',double([]))
+'measure',double(-9e+40),...
+'measure_error_index',int32(-999999999),...
+'measure_error_lower',double(-9e+40),...
+'measure_error_upper',double(-9e+40),...
+'nodes',int32([]))
 ;}})
 ;}})
 ;}}),...
 'k_perpendicular',{{struct(...
 'coefficients',double([]),...
-'coefficients_error_index',double(-999999999),...
+'coefficients_error_index',int32(-999999999),...
 'coefficients_error_lower',double([]),...
 'coefficients_error_upper',double([]),...
-'grid_index',double(-999999999),...
-'grid_subset_index',double(-999999999),...
+'grid_index',int32(-999999999),...
+'grid_subset_index',int32(-999999999),...
 'values',double([]),...
-'values_error_index',double(-999999999),...
+'values_error_index',int32(-999999999),...
 'values_error_lower',double([]),...
 'values_error_upper',double([]))
 ;}},...
-'time',double(-9.0000000000000006360851714687e+40))
+'time',double(-9e+40))
 ;}},...
 'global_quantities',{{struct(...
-'current_tor',double(-9.0000000000000006360851714687e+40),...
-'current_tor_error_index',double(-999999999),...
-'current_tor_error_lower',double(-9.0000000000000006360851714687e+40),...
-'current_tor_error_upper',double(-9.0000000000000006360851714687e+40),...
+'current_tor',double(-9e+40),...
+'current_tor_error_index',int32(-999999999),...
+'current_tor_error_lower',double(-9e+40),...
+'current_tor_error_upper',double(-9e+40),...
 'current_tor_n_tor',double([]),...
-'current_tor_n_tor_error_index',double(-999999999),...
+'current_tor_n_tor_error_index',int32(-999999999),...
 'current_tor_n_tor_error_lower',double([]),...
 'current_tor_n_tor_error_upper',double([]),...
 'electrons',struct(...
-'distribution_assumption',double(-999999999),...
-'power_fast',double(-9.0000000000000006360851714687e+40),...
-'power_fast_error_index',double(-999999999),...
-'power_fast_error_lower',double(-9.0000000000000006360851714687e+40),...
-'power_fast_error_upper',double(-9.0000000000000006360851714687e+40),...
+'distribution_assumption',int32(-999999999),...
+'power_fast',double(-9e+40),...
+'power_fast_error_index',int32(-999999999),...
+'power_fast_error_lower',double(-9e+40),...
+'power_fast_error_upper',double(-9e+40),...
 'power_fast_n_tor',double([]),...
-'power_fast_n_tor_error_index',double(-999999999),...
+'power_fast_n_tor_error_index',int32(-999999999),...
 'power_fast_n_tor_error_lower',double([]),...
 'power_fast_n_tor_error_upper',double([]),...
-'power_thermal',double(-9.0000000000000006360851714687e+40),...
-'power_thermal_error_index',double(-999999999),...
-'power_thermal_error_lower',double(-9.0000000000000006360851714687e+40),...
-'power_thermal_error_upper',double(-9.0000000000000006360851714687e+40),...
+'power_thermal',double(-9e+40),...
+'power_thermal_error_index',int32(-999999999),...
+'power_thermal_error_lower',double(-9e+40),...
+'power_thermal_error_upper',double(-9e+40),...
 'power_thermal_n_tor',double([]),...
-'power_thermal_n_tor_error_index',double(-999999999),...
+'power_thermal_n_tor_error_index',int32(-999999999),...
 'power_thermal_n_tor_error_lower',double([]),...
 'power_thermal_n_tor_error_upper',double([])),...
-'frequency',double(-9.0000000000000006360851714687e+40),...
-'frequency_error_index',double(-999999999),...
-'frequency_error_lower',double(-9.0000000000000006360851714687e+40),...
-'frequency_error_upper',double(-9.0000000000000006360851714687e+40),...
+'frequency',double(-9e+40),...
+'frequency_error_index',int32(-999999999),...
+'frequency_error_lower',double(-9e+40),...
+'frequency_error_upper',double(-9e+40),...
 'ion',{{struct(...
-'distribution_assumption',double(-999999999),...
+'distribution_assumption',int32(-999999999),...
 'element',{{struct(...
-'a',double(-9.0000000000000006360851714687e+40),...
-'a_error_index',double(-999999999),...
-'a_error_lower',double(-9.0000000000000006360851714687e+40),...
-'a_error_upper',double(-9.0000000000000006360851714687e+40),...
-'atoms_n',double(-999999999),...
-'multiplicity',double(-9.0000000000000006360851714687e+40),...
-'multiplicity_error_index',double(-999999999),...
-'multiplicity_error_lower',double(-9.0000000000000006360851714687e+40),...
-'multiplicity_error_upper',double(-9.0000000000000006360851714687e+40),...
-'z_n',double(-9.0000000000000006360851714687e+40),...
-'z_n_error_index',double(-999999999),...
-'z_n_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_n_error_upper',double(-9.0000000000000006360851714687e+40))
-;}},...
-'label',double([]),...
-'multiple_states_flag',double(-999999999),...
-'power_fast',double(-9.0000000000000006360851714687e+40),...
-'power_fast_error_index',double(-999999999),...
-'power_fast_error_lower',double(-9.0000000000000006360851714687e+40),...
-'power_fast_error_upper',double(-9.0000000000000006360851714687e+40),...
+'a',double(-9e+40),...
+'a_error_index',int32(-999999999),...
+'a_error_lower',double(-9e+40),...
+'a_error_upper',double(-9e+40),...
+'atoms_n',int32(-999999999),...
+'multiplicity',double(-9e+40),...
+'multiplicity_error_index',int32(-999999999),...
+'multiplicity_error_lower',double(-9e+40),...
+'multiplicity_error_upper',double(-9e+40),...
+'z_n',double(-9e+40),...
+'z_n_error_index',int32(-999999999),...
+'z_n_error_lower',double(-9e+40),...
+'z_n_error_upper',double(-9e+40))
+;}},...
+'label','',...
+'multiple_states_flag',int32(-999999999),...
+'power_fast',double(-9e+40),...
+'power_fast_error_index',int32(-999999999),...
+'power_fast_error_lower',double(-9e+40),...
+'power_fast_error_upper',double(-9e+40),...
 'power_fast_n_tor',double([]),...
-'power_fast_n_tor_error_index',double(-999999999),...
+'power_fast_n_tor_error_index',int32(-999999999),...
 'power_fast_n_tor_error_lower',double([]),...
 'power_fast_n_tor_error_upper',double([]),...
-'power_thermal',double(-9.0000000000000006360851714687e+40),...
-'power_thermal_error_index',double(-999999999),...
-'power_thermal_error_lower',double(-9.0000000000000006360851714687e+40),...
-'power_thermal_error_upper',double(-9.0000000000000006360851714687e+40),...
+'power_thermal',double(-9e+40),...
+'power_thermal_error_index',int32(-999999999),...
+'power_thermal_error_lower',double(-9e+40),...
+'power_thermal_error_upper',double(-9e+40),...
 'power_thermal_n_tor',double([]),...
-'power_thermal_n_tor_error_index',double(-999999999),...
+'power_thermal_n_tor_error_index',int32(-999999999),...
 'power_thermal_n_tor_error_lower',double([]),...
 'power_thermal_n_tor_error_upper',double([]),...
 'state',{{struct(...
-'electron_configuration',double([]),...
-'label',double([]),...
-'power_fast',double(-9.0000000000000006360851714687e+40),...
-'power_fast_error_index',double(-999999999),...
-'power_fast_error_lower',double(-9.0000000000000006360851714687e+40),...
-'power_fast_error_upper',double(-9.0000000000000006360851714687e+40),...
+'electron_configuration','',...
+'label','',...
+'power_fast',double(-9e+40),...
+'power_fast_error_index',int32(-999999999),...
+'power_fast_error_lower',double(-9e+40),...
+'power_fast_error_upper',double(-9e+40),...
 'power_fast_n_tor',double([]),...
-'power_fast_n_tor_error_index',double(-999999999),...
+'power_fast_n_tor_error_index',int32(-999999999),...
 'power_fast_n_tor_error_lower',double([]),...
 'power_fast_n_tor_error_upper',double([]),...
-'power_thermal',double(-9.0000000000000006360851714687e+40),...
-'power_thermal_error_index',double(-999999999),...
-'power_thermal_error_lower',double(-9.0000000000000006360851714687e+40),...
-'power_thermal_error_upper',double(-9.0000000000000006360851714687e+40),...
+'power_thermal',double(-9e+40),...
+'power_thermal_error_index',int32(-999999999),...
+'power_thermal_error_lower',double(-9e+40),...
+'power_thermal_error_upper',double(-9e+40),...
 'power_thermal_n_tor',double([]),...
-'power_thermal_n_tor_error_index',double(-999999999),...
+'power_thermal_n_tor_error_index',int32(-999999999),...
 'power_thermal_n_tor_error_lower',double([]),...
 'power_thermal_n_tor_error_upper',double([]),...
-'vibrational_level',double(-9.0000000000000006360851714687e+40),...
-'vibrational_level_error_index',double(-999999999),...
-'vibrational_level_error_lower',double(-9.0000000000000006360851714687e+40),...
-'vibrational_level_error_upper',double(-9.0000000000000006360851714687e+40),...
-'vibrational_mode',double([]),...
-'z_max',double(-9.0000000000000006360851714687e+40),...
-'z_max_error_index',double(-999999999),...
-'z_max_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_max_error_upper',double(-9.0000000000000006360851714687e+40),...
-'z_min',double(-9.0000000000000006360851714687e+40),...
-'z_min_error_index',double(-999999999),...
-'z_min_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_min_error_upper',double(-9.0000000000000006360851714687e+40))
-;}},...
-'z_ion',double(-9.0000000000000006360851714687e+40),...
-'z_ion_error_index',double(-999999999),...
-'z_ion_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_ion_error_upper',double(-9.0000000000000006360851714687e+40))
-;}},...
-'n_tor',double([]),...
-'power',double(-9.0000000000000006360851714687e+40),...
-'power_error_index',double(-999999999),...
-'power_error_lower',double(-9.0000000000000006360851714687e+40),...
-'power_error_upper',double(-9.0000000000000006360851714687e+40),...
+'vibrational_level',double(-9e+40),...
+'vibrational_level_error_index',int32(-999999999),...
+'vibrational_level_error_lower',double(-9e+40),...
+'vibrational_level_error_upper',double(-9e+40),...
+'vibrational_mode','',...
+'z_max',double(-9e+40),...
+'z_max_error_index',int32(-999999999),...
+'z_max_error_lower',double(-9e+40),...
+'z_max_error_upper',double(-9e+40),...
+'z_min',double(-9e+40),...
+'z_min_error_index',int32(-999999999),...
+'z_min_error_lower',double(-9e+40),...
+'z_min_error_upper',double(-9e+40))
+;}},...
+'z_ion',double(-9e+40),...
+'z_ion_error_index',int32(-999999999),...
+'z_ion_error_lower',double(-9e+40),...
+'z_ion_error_upper',double(-9e+40))
+;}},...
+'n_tor',int32([]),...
+'power',double(-9e+40),...
+'power_error_index',int32(-999999999),...
+'power_error_lower',double(-9e+40),...
+'power_error_upper',double(-9e+40),...
 'power_n_tor',double([]),...
-'power_n_tor_error_index',double(-999999999),...
+'power_n_tor_error_index',int32(-999999999),...
 'power_n_tor_error_lower',double([]),...
 'power_n_tor_error_upper',double([]),...
-'time',double(-9.0000000000000006360851714687e+40))
+'time',double(-9e+40))
 ;}},...
 'identifier',struct(...
-'antenna_name',double([]),...
-'index_in_antenna',double(-999999999),...
+'antenna_name','',...
+'index_in_antenna',int32(-999999999),...
 'type',struct(...
-'description',double([]),...
-'index',double(-999999999),...
-'name',double([]))),...
+'description','',...
+'index',int32(-999999999),...
+'name','')),...
 'profiles_1d',{{struct(...
 'current_parallel_density',double([]),...
-'current_parallel_density_error_index',double(-999999999),...
+'current_parallel_density_error_index',int32(-999999999),...
 'current_parallel_density_error_lower',double([]),...
 'current_parallel_density_error_upper',double([]),...
 'current_parallel_density_n_tor',double([]),...
-'current_parallel_density_n_tor_error_index',double(-999999999),...
+'current_parallel_density_n_tor_error_index',int32(-999999999),...
 'current_parallel_density_n_tor_error_lower',double([]),...
 'current_parallel_density_n_tor_error_upper',double([]),...
 'current_tor_inside',double([]),...
-'current_tor_inside_error_index',double(-999999999),...
+'current_tor_inside_error_index',int32(-999999999),...
 'current_tor_inside_error_lower',double([]),...
 'current_tor_inside_error_upper',double([]),...
 'current_tor_inside_n_tor',double([]),...
-'current_tor_inside_n_tor_error_index',double(-999999999),...
+'current_tor_inside_n_tor_error_index',int32(-999999999),...
 'current_tor_inside_n_tor_error_lower',double([]),...
 'current_tor_inside_n_tor_error_upper',double([]),...
 'e_field_n_tor',{{struct(...
 'minus',struct(...
 'amplitude',double([]),...
-'amplitude_error_index',double(-999999999),...
+'amplitude_error_index',int32(-999999999),...
 'amplitude_error_lower',double([]),...
 'amplitude_error_upper',double([]),...
 'phase',double([]),...
-'phase_error_index',double(-999999999),...
+'phase_error_index',int32(-999999999),...
 'phase_error_lower',double([]),...
 'phase_error_upper',double([])),...
 'parallel',struct(...
 'amplitude',double([]),...
-'amplitude_error_index',double(-999999999),...
+'amplitude_error_index',int32(-999999999),...
 'amplitude_error_lower',double([]),...
 'amplitude_error_upper',double([]),...
 'phase',double([]),...
-'phase_error_index',double(-999999999),...
+'phase_error_index',int32(-999999999),...
 'phase_error_lower',double([]),...
 'phase_error_upper',double([])),...
 'plus',struct(...
 'amplitude',double([]),...
-'amplitude_error_index',double(-999999999),...
+'amplitude_error_index',int32(-999999999),...
 'amplitude_error_lower',double([]),...
 'amplitude_error_upper',double([]),...
 'phase',double([]),...
-'phase_error_index',double(-999999999),...
+'phase_error_index',int32(-999999999),...
 'phase_error_lower',double([]),...
 'phase_error_upper',double([])))
 ;}},...
 'electrons',struct(...
 'power_density_fast',double([]),...
-'power_density_fast_error_index',double(-999999999),...
+'power_density_fast_error_index',int32(-999999999),...
 'power_density_fast_error_lower',double([]),...
 'power_density_fast_error_upper',double([]),...
 'power_density_fast_n_tor',double([]),...
-'power_density_fast_n_tor_error_index',double(-999999999),...
+'power_density_fast_n_tor_error_index',int32(-999999999),...
 'power_density_fast_n_tor_error_lower',double([]),...
 'power_density_fast_n_tor_error_upper',double([]),...
 'power_density_thermal',double([]),...
-'power_density_thermal_error_index',double(-999999999),...
+'power_density_thermal_error_index',int32(-999999999),...
 'power_density_thermal_error_lower',double([]),...
 'power_density_thermal_error_upper',double([]),...
 'power_density_thermal_n_tor',double([]),...
-'power_density_thermal_n_tor_error_index',double(-999999999),...
+'power_density_thermal_n_tor_error_index',int32(-999999999),...
 'power_density_thermal_n_tor_error_lower',double([]),...
 'power_density_thermal_n_tor_error_upper',double([]),...
 'power_inside_fast',double([]),...
-'power_inside_fast_error_index',double(-999999999),...
+'power_inside_fast_error_index',int32(-999999999),...
 'power_inside_fast_error_lower',double([]),...
 'power_inside_fast_error_upper',double([]),...
 'power_inside_fast_n_tor',double([]),...
-'power_inside_fast_n_tor_error_index',double(-999999999),...
+'power_inside_fast_n_tor_error_index',int32(-999999999),...
 'power_inside_fast_n_tor_error_lower',double([]),...
 'power_inside_fast_n_tor_error_upper',double([]),...
 'power_inside_thermal',double([]),...
-'power_inside_thermal_error_index',double(-999999999),...
+'power_inside_thermal_error_index',int32(-999999999),...
 'power_inside_thermal_error_lower',double([]),...
 'power_inside_thermal_error_upper',double([]),...
 'power_inside_thermal_n_tor',double([]),...
-'power_inside_thermal_n_tor_error_index',double(-999999999),...
+'power_inside_thermal_n_tor_error_index',int32(-999999999),...
 'power_inside_thermal_n_tor_error_lower',double([]),...
 'power_inside_thermal_n_tor_error_upper',double([])),...
 'grid',struct(...
 'area',double([]),...
-'area_error_index',double(-999999999),...
+'area_error_index',int32(-999999999),...
 'area_error_lower',double([]),...
 'area_error_upper',double([]),...
 'psi',double([]),...
-'psi_error_index',double(-999999999),...
+'psi_boundary',double(-9e+40),...
+'psi_boundary_error_index',int32(-999999999),...
+'psi_boundary_error_lower',double(-9e+40),...
+'psi_boundary_error_upper',double(-9e+40),...
+'psi_error_index',int32(-999999999),...
 'psi_error_lower',double([]),...
 'psi_error_upper',double([]),...
+'psi_magnetic_axis',double(-9e+40),...
+'psi_magnetic_axis_error_index',int32(-999999999),...
+'psi_magnetic_axis_error_lower',double(-9e+40),...
+'psi_magnetic_axis_error_upper',double(-9e+40),...
+'rho_pol_norm',double([]),...
+'rho_pol_norm_error_index',int32(-999999999),...
+'rho_pol_norm_error_lower',double([]),...
+'rho_pol_norm_error_upper',double([]),...
 'rho_tor',double([]),...
-'rho_tor_error_index',double(-999999999),...
+'rho_tor_error_index',int32(-999999999),...
 'rho_tor_error_lower',double([]),...
 'rho_tor_error_upper',double([]),...
 'rho_tor_norm',double([]),...
-'rho_tor_norm_error_index',double(-999999999),...
+'rho_tor_norm_error_index',int32(-999999999),...
 'rho_tor_norm_error_lower',double([]),...
 'rho_tor_norm_error_upper',double([]),...
 'volume',double([]),...
-'volume_error_index',double(-999999999),...
+'volume_error_index',int32(-999999999),...
 'volume_error_lower',double([]),...
 'volume_error_upper',double([])),...
 'ion',{{struct(...
 'element',{{struct(...
-'a',double(-9.0000000000000006360851714687e+40),...
-'a_error_index',double(-999999999),...
-'a_error_lower',double(-9.0000000000000006360851714687e+40),...
-'a_error_upper',double(-9.0000000000000006360851714687e+40),...
-'atoms_n',double(-999999999),...
-'multiplicity',double(-9.0000000000000006360851714687e+40),...
-'multiplicity_error_index',double(-999999999),...
-'multiplicity_error_lower',double(-9.0000000000000006360851714687e+40),...
-'multiplicity_error_upper',double(-9.0000000000000006360851714687e+40),...
-'z_n',double(-9.0000000000000006360851714687e+40),...
-'z_n_error_index',double(-999999999),...
-'z_n_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_n_error_upper',double(-9.0000000000000006360851714687e+40))
-;}},...
-'label',double([]),...
-'multiple_states_flag',double(-999999999),...
+'a',double(-9e+40),...
+'a_error_index',int32(-999999999),...
+'a_error_lower',double(-9e+40),...
+'a_error_upper',double(-9e+40),...
+'atoms_n',int32(-999999999),...
+'multiplicity',double(-9e+40),...
+'multiplicity_error_index',int32(-999999999),...
+'multiplicity_error_lower',double(-9e+40),...
+'multiplicity_error_upper',double(-9e+40),...
+'z_n',double(-9e+40),...
+'z_n_error_index',int32(-999999999),...
+'z_n_error_lower',double(-9e+40),...
+'z_n_error_upper',double(-9e+40))
+;}},...
+'label','',...
+'multiple_states_flag',int32(-999999999),...
 'power_density_fast',double([]),...
-'power_density_fast_error_index',double(-999999999),...
+'power_density_fast_error_index',int32(-999999999),...
 'power_density_fast_error_lower',double([]),...
 'power_density_fast_error_upper',double([]),...
 'power_density_fast_n_tor',double([]),...
-'power_density_fast_n_tor_error_index',double(-999999999),...
+'power_density_fast_n_tor_error_index',int32(-999999999),...
 'power_density_fast_n_tor_error_lower',double([]),...
 'power_density_fast_n_tor_error_upper',double([]),...
 'power_density_thermal',double([]),...
-'power_density_thermal_error_index',double(-999999999),...
+'power_density_thermal_error_index',int32(-999999999),...
 'power_density_thermal_error_lower',double([]),...
 'power_density_thermal_error_upper',double([]),...
 'power_density_thermal_n_tor',double([]),...
-'power_density_thermal_n_tor_error_index',double(-999999999),...
+'power_density_thermal_n_tor_error_index',int32(-999999999),...
 'power_density_thermal_n_tor_error_lower',double([]),...
 'power_density_thermal_n_tor_error_upper',double([]),...
 'power_inside_fast',double([]),...
-'power_inside_fast_error_index',double(-999999999),...
+'power_inside_fast_error_index',int32(-999999999),...
 'power_inside_fast_error_lower',double([]),...
 'power_inside_fast_error_upper',double([]),...
 'power_inside_fast_n_tor',double([]),...
-'power_inside_fast_n_tor_error_index',double(-999999999),...
+'power_inside_fast_n_tor_error_index',int32(-999999999),...
 'power_inside_fast_n_tor_error_lower',double([]),...
 'power_inside_fast_n_tor_error_upper',double([]),...
 'power_inside_thermal',double([]),...
-'power_inside_thermal_error_index',double(-999999999),...
+'power_inside_thermal_error_index',int32(-999999999),...
 'power_inside_thermal_error_lower',double([]),...
 'power_inside_thermal_error_upper',double([]),...
 'power_inside_thermal_n_tor',double([]),...
-'power_inside_thermal_n_tor_error_index',double(-999999999),...
+'power_inside_thermal_n_tor_error_index',int32(-999999999),...
 'power_inside_thermal_n_tor_error_lower',double([]),...
 'power_inside_thermal_n_tor_error_upper',double([]),...
 'state',{{struct(...
-'electron_configuration',double([]),...
-'label',double([]),...
+'electron_configuration','',...
+'label','',...
 'power_density_fast',double([]),...
-'power_density_fast_error_index',double(-999999999),...
+'power_density_fast_error_index',int32(-999999999),...
 'power_density_fast_error_lower',double([]),...
 'power_density_fast_error_upper',double([]),...
 'power_density_fast_n_tor',double([]),...
-'power_density_fast_n_tor_error_index',double(-999999999),...
+'power_density_fast_n_tor_error_index',int32(-999999999),...
 'power_density_fast_n_tor_error_lower',double([]),...
 'power_density_fast_n_tor_error_upper',double([]),...
 'power_density_thermal',double([]),...
-'power_density_thermal_error_index',double(-999999999),...
+'power_density_thermal_error_index',int32(-999999999),...
 'power_density_thermal_error_lower',double([]),...
 'power_density_thermal_error_upper',double([]),...
 'power_density_thermal_n_tor',double([]),...
-'power_density_thermal_n_tor_error_index',double(-999999999),...
+'power_density_thermal_n_tor_error_index',int32(-999999999),...
 'power_density_thermal_n_tor_error_lower',double([]),...
 'power_density_thermal_n_tor_error_upper',double([]),...
 'power_inside_fast',double([]),...
-'power_inside_fast_error_index',double(-999999999),...
+'power_inside_fast_error_index',int32(-999999999),...
 'power_inside_fast_error_lower',double([]),...
 'power_inside_fast_error_upper',double([]),...
 'power_inside_fast_n_tor',double([]),...
-'power_inside_fast_n_tor_error_index',double(-999999999),...
+'power_inside_fast_n_tor_error_index',int32(-999999999),...
 'power_inside_fast_n_tor_error_lower',double([]),...
 'power_inside_fast_n_tor_error_upper',double([]),...
 'power_inside_thermal',double([]),...
-'power_inside_thermal_error_index',double(-999999999),...
+'power_inside_thermal_error_index',int32(-999999999),...
 'power_inside_thermal_error_lower',double([]),...
 'power_inside_thermal_error_upper',double([]),...
 'power_inside_thermal_n_tor',double([]),...
-'power_inside_thermal_n_tor_error_index',double(-999999999),...
+'power_inside_thermal_n_tor_error_index',int32(-999999999),...
 'power_inside_thermal_n_tor_error_lower',double([]),...
 'power_inside_thermal_n_tor_error_upper',double([]),...
-'vibrational_level',double(-9.0000000000000006360851714687e+40),...
-'vibrational_level_error_index',double(-999999999),...
-'vibrational_level_error_lower',double(-9.0000000000000006360851714687e+40),...
-'vibrational_level_error_upper',double(-9.0000000000000006360851714687e+40),...
-'vibrational_mode',double([]),...
-'z_max',double(-9.0000000000000006360851714687e+40),...
-'z_max_error_index',double(-999999999),...
-'z_max_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_max_error_upper',double(-9.0000000000000006360851714687e+40),...
-'z_min',double(-9.0000000000000006360851714687e+40),...
-'z_min_error_index',double(-999999999),...
-'z_min_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_min_error_upper',double(-9.0000000000000006360851714687e+40))
-;}},...
-'z_ion',double(-9.0000000000000006360851714687e+40),...
-'z_ion_error_index',double(-999999999),...
-'z_ion_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_ion_error_upper',double(-9.0000000000000006360851714687e+40))
+'vibrational_level',double(-9e+40),...
+'vibrational_level_error_index',int32(-999999999),...
+'vibrational_level_error_lower',double(-9e+40),...
+'vibrational_level_error_upper',double(-9e+40),...
+'vibrational_mode','',...
+'z_max',double(-9e+40),...
+'z_max_error_index',int32(-999999999),...
+'z_max_error_lower',double(-9e+40),...
+'z_max_error_upper',double(-9e+40),...
+'z_min',double(-9e+40),...
+'z_min_error_index',int32(-999999999),...
+'z_min_error_lower',double(-9e+40),...
+'z_min_error_upper',double(-9e+40))
+;}},...
+'z_ion',double(-9e+40),...
+'z_ion_error_index',int32(-999999999),...
+'z_ion_error_lower',double(-9e+40),...
+'z_ion_error_upper',double(-9e+40))
 ;}},...
 'k_perpendicular',double([]),...
-'k_perpendicular_error_index',double(-999999999),...
+'k_perpendicular_error_index',int32(-999999999),...
 'k_perpendicular_error_lower',double([]),...
 'k_perpendicular_error_upper',double([]),...
-'n_tor',double([]),...
+'n_tor',int32([]),...
 'power_density',double([]),...
-'power_density_error_index',double(-999999999),...
+'power_density_error_index',int32(-999999999),...
 'power_density_error_lower',double([]),...
 'power_density_error_upper',double([]),...
 'power_density_n_tor',double([]),...
-'power_density_n_tor_error_index',double(-999999999),...
+'power_density_n_tor_error_index',int32(-999999999),...
 'power_density_n_tor_error_lower',double([]),...
 'power_density_n_tor_error_upper',double([]),...
 'power_inside',double([]),...
-'power_inside_error_index',double(-999999999),...
+'power_inside_error_index',int32(-999999999),...
 'power_inside_error_lower',double([]),...
 'power_inside_error_upper',double([]),...
 'power_inside_n_tor',double([]),...
-'power_inside_n_tor_error_index',double(-999999999),...
+'power_inside_n_tor_error_index',int32(-999999999),...
 'power_inside_n_tor_error_lower',double([]),...
 'power_inside_n_tor_error_upper',double([]),...
-'time',double(-9.0000000000000006360851714687e+40))
+'time',double(-9e+40))
 ;}},...
 'profiles_2d',{{struct(...
 'e_field_n_tor',{{struct(...
 'minus',struct(...
 'amplitude',double([]),...
-'amplitude_error_index',double(-999999999),...
+'amplitude_error_index',int32(-999999999),...
 'amplitude_error_lower',double([]),...
 'amplitude_error_upper',double([]),...
 'phase',double([]),...
-'phase_error_index',double(-999999999),...
+'phase_error_index',int32(-999999999),...
 'phase_error_lower',double([]),...
 'phase_error_upper',double([])),...
 'parallel',struct(...
 'amplitude',double([]),...
-'amplitude_error_index',double(-999999999),...
+'amplitude_error_index',int32(-999999999),...
 'amplitude_error_lower',double([]),...
 'amplitude_error_upper',double([]),...
 'phase',double([]),...
-'phase_error_index',double(-999999999),...
+'phase_error_index',int32(-999999999),...
 'phase_error_lower',double([]),...
 'phase_error_upper',double([])),...
 'plus',struct(...
 'amplitude',double([]),...
-'amplitude_error_index',double(-999999999),...
+'amplitude_error_index',int32(-999999999),...
 'amplitude_error_lower',double([]),...
 'amplitude_error_upper',double([]),...
 'phase',double([]),...
-'phase_error_index',double(-999999999),...
+'phase_error_index',int32(-999999999),...
 'phase_error_lower',double([]),...
 'phase_error_upper',double([])))
 ;}},...
 'electrons',struct(...
 'power_density_fast',double([]),...
-'power_density_fast_error_index',double(-999999999),...
+'power_density_fast_error_index',int32(-999999999),...
 'power_density_fast_error_lower',double([]),...
 'power_density_fast_error_upper',double([]),...
 'power_density_fast_n_tor',double([]),...
-'power_density_fast_n_tor_error_index',double(-999999999),...
+'power_density_fast_n_tor_error_index',int32(-999999999),...
 'power_density_fast_n_tor_error_lower',double([]),...
 'power_density_fast_n_tor_error_upper',double([]),...
 'power_density_thermal',double([]),...
-'power_density_thermal_error_index',double(-999999999),...
+'power_density_thermal_error_index',int32(-999999999),...
 'power_density_thermal_error_lower',double([]),...
 'power_density_thermal_error_upper',double([]),...
 'power_density_thermal_n_tor',double([]),...
-'power_density_thermal_n_tor_error_index',double(-999999999),...
+'power_density_thermal_n_tor_error_index',int32(-999999999),...
 'power_density_thermal_n_tor_error_lower',double([]),...
 'power_density_thermal_n_tor_error_upper',double([])),...
 'grid',struct(...
 'area',double([]),...
-'area_error_index',double(-999999999),...
+'area_error_index',int32(-999999999),...
 'area_error_lower',double([]),...
 'area_error_upper',double([]),...
 'psi',double([]),...
-'psi_error_index',double(-999999999),...
+'psi_error_index',int32(-999999999),...
 'psi_error_lower',double([]),...
 'psi_error_upper',double([]),...
 'r',double([]),...
-'r_error_index',double(-999999999),...
+'r_error_index',int32(-999999999),...
 'r_error_lower',double([]),...
 'r_error_upper',double([]),...
 'rho_tor',double([]),...
-'rho_tor_error_index',double(-999999999),...
+'rho_tor_error_index',int32(-999999999),...
 'rho_tor_error_lower',double([]),...
 'rho_tor_error_upper',double([]),...
 'rho_tor_norm',double([]),...
-'rho_tor_norm_error_index',double(-999999999),...
+'rho_tor_norm_error_index',int32(-999999999),...
 'rho_tor_norm_error_lower',double([]),...
 'rho_tor_norm_error_upper',double([]),...
 'theta_geometric',double([]),...
-'theta_geometric_error_index',double(-999999999),...
+'theta_geometric_error_index',int32(-999999999),...
 'theta_geometric_error_lower',double([]),...
 'theta_geometric_error_upper',double([]),...
 'theta_straight',double([]),...
-'theta_straight_error_index',double(-999999999),...
+'theta_straight_error_index',int32(-999999999),...
 'theta_straight_error_lower',double([]),...
 'theta_straight_error_upper',double([]),...
 'type',struct(...
-'description',double([]),...
-'index',double(-999999999),...
-'name',double([])),...
+'description','',...
+'index',int32(-999999999),...
+'name',''),...
 'volume',double([]),...
-'volume_error_index',double(-999999999),...
+'volume_error_index',int32(-999999999),...
 'volume_error_lower',double([]),...
 'volume_error_upper',double([]),...
 'z',double([]),...
-'z_error_index',double(-999999999),...
+'z_error_index',int32(-999999999),...
 'z_error_lower',double([]),...
 'z_error_upper',double([])),...
 'ion',{{struct(...
 'element',{{struct(...
-'a',double(-9.0000000000000006360851714687e+40),...
-'a_error_index',double(-999999999),...
-'a_error_lower',double(-9.0000000000000006360851714687e+40),...
-'a_error_upper',double(-9.0000000000000006360851714687e+40),...
-'atoms_n',double(-999999999),...
-'multiplicity',double(-9.0000000000000006360851714687e+40),...
-'multiplicity_error_index',double(-999999999),...
-'multiplicity_error_lower',double(-9.0000000000000006360851714687e+40),...
-'multiplicity_error_upper',double(-9.0000000000000006360851714687e+40),...
-'z_n',double(-9.0000000000000006360851714687e+40),...
-'z_n_error_index',double(-999999999),...
-'z_n_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_n_error_upper',double(-9.0000000000000006360851714687e+40))
-;}},...
-'label',double([]),...
-'multiple_states_flag',double(-999999999),...
+'a',double(-9e+40),...
+'a_error_index',int32(-999999999),...
+'a_error_lower',double(-9e+40),...
+'a_error_upper',double(-9e+40),...
+'atoms_n',int32(-999999999),...
+'multiplicity',double(-9e+40),...
+'multiplicity_error_index',int32(-999999999),...
+'multiplicity_error_lower',double(-9e+40),...
+'multiplicity_error_upper',double(-9e+40),...
+'z_n',double(-9e+40),...
+'z_n_error_index',int32(-999999999),...
+'z_n_error_lower',double(-9e+40),...
+'z_n_error_upper',double(-9e+40))
+;}},...
+'label','',...
+'multiple_states_flag',int32(-999999999),...
 'power_density_fast',double([]),...
-'power_density_fast_error_index',double(-999999999),...
+'power_density_fast_error_index',int32(-999999999),...
 'power_density_fast_error_lower',double([]),...
 'power_density_fast_error_upper',double([]),...
 'power_density_fast_n_tor',double([]),...
-'power_density_fast_n_tor_error_index',double(-999999999),...
+'power_density_fast_n_tor_error_index',int32(-999999999),...
 'power_density_fast_n_tor_error_lower',double([]),...
 'power_density_fast_n_tor_error_upper',double([]),...
 'power_density_thermal',double([]),...
-'power_density_thermal_error_index',double(-999999999),...
+'power_density_thermal_error_index',int32(-999999999),...
 'power_density_thermal_error_lower',double([]),...
 'power_density_thermal_error_upper',double([]),...
 'power_density_thermal_n_tor',double([]),...
-'power_density_thermal_n_tor_error_index',double(-999999999),...
+'power_density_thermal_n_tor_error_index',int32(-999999999),...
 'power_density_thermal_n_tor_error_lower',double([]),...
 'power_density_thermal_n_tor_error_upper',double([]),...
 'state',{{struct(...
-'electron_configuration',double([]),...
-'label',double([]),...
+'electron_configuration','',...
+'label','',...
 'power_density_fast',double([]),...
-'power_density_fast_error_index',double(-999999999),...
+'power_density_fast_error_index',int32(-999999999),...
 'power_density_fast_error_lower',double([]),...
 'power_density_fast_error_upper',double([]),...
 'power_density_fast_n_tor',double([]),...
-'power_density_fast_n_tor_error_index',double(-999999999),...
+'power_density_fast_n_tor_error_index',int32(-999999999),...
 'power_density_fast_n_tor_error_lower',double([]),...
 'power_density_fast_n_tor_error_upper',double([]),...
 'power_density_thermal',double([]),...
-'power_density_thermal_error_index',double(-999999999),...
+'power_density_thermal_error_index',int32(-999999999),...
 'power_density_thermal_error_lower',double([]),...
 'power_density_thermal_error_upper',double([]),...
 'power_density_thermal_n_tor',double([]),...
-'power_density_thermal_n_tor_error_index',double(-999999999),...
+'power_density_thermal_n_tor_error_index',int32(-999999999),...
 'power_density_thermal_n_tor_error_lower',double([]),...
 'power_density_thermal_n_tor_error_upper',double([]),...
-'vibrational_level',double(-9.0000000000000006360851714687e+40),...
-'vibrational_level_error_index',double(-999999999),...
-'vibrational_level_error_lower',double(-9.0000000000000006360851714687e+40),...
-'vibrational_level_error_upper',double(-9.0000000000000006360851714687e+40),...
-'vibrational_mode',double([]),...
-'z_max',double(-9.0000000000000006360851714687e+40),...
-'z_max_error_index',double(-999999999),...
-'z_max_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_max_error_upper',double(-9.0000000000000006360851714687e+40),...
-'z_min',double(-9.0000000000000006360851714687e+40),...
-'z_min_error_index',double(-999999999),...
-'z_min_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_min_error_upper',double(-9.0000000000000006360851714687e+40))
-;}},...
-'z_ion',double(-9.0000000000000006360851714687e+40),...
-'z_ion_error_index',double(-999999999),...
-'z_ion_error_lower',double(-9.0000000000000006360851714687e+40),...
-'z_ion_error_upper',double(-9.0000000000000006360851714687e+40))
-;}},...
-'n_tor',double([]),...
+'vibrational_level',double(-9e+40),...
+'vibrational_level_error_index',int32(-999999999),...
+'vibrational_level_error_lower',double(-9e+40),...
+'vibrational_level_error_upper',double(-9e+40),...
+'vibrational_mode','',...
+'z_max',double(-9e+40),...
+'z_max_error_index',int32(-999999999),...
+'z_max_error_lower',double(-9e+40),...
+'z_max_error_upper',double(-9e+40),...
+'z_min',double(-9e+40),...
+'z_min_error_index',int32(-999999999),...
+'z_min_error_lower',double(-9e+40),...
+'z_min_error_upper',double(-9e+40))
+;}},...
+'z_ion',double(-9e+40),...
+'z_ion_error_index',int32(-999999999),...
+'z_ion_error_lower',double(-9e+40),...
+'z_ion_error_upper',double(-9e+40))
+;}},...
+'n_tor',int32([]),...
 'power_density',double([]),...
-'power_density_error_index',double(-999999999),...
+'power_density_error_index',int32(-999999999),...
 'power_density_error_lower',double([]),...
 'power_density_error_upper',double([]),...
 'power_density_n_tor',double([]),...
-'power_density_n_tor_error_index',double(-999999999),...
+'power_density_n_tor_error_index',int32(-999999999),...
 'power_density_n_tor_error_lower',double([]),...
 'power_density_n_tor_error_upper',double([]),...
-'time',double(-9.0000000000000006360851714687e+40))
+'time',double(-9e+40))
 ;}},...
 'wave_solver_type',struct(...
-'description',double([]),...
-'index',double(-999999999),...
-'name',double([])))
+'description','',...
+'index',int32(-999999999),...
+'name',''))
 ;}},...
 'ids_properties',struct(...
-'comment',double([]),...
-'creation_date',double([]),...
-'homogeneous_time',double(-999999999),...
-'provider',double([]),...
-'source',double([])),...
+'comment','',...
+'creation_date','',...
+'homogeneous_time',int32(-999999999),...
+'provider','',...
+'source','',...
+'version_put',struct(...
+'access_layer','',...
+'access_layer_language','',...
+'data_dictionary','')),...
 'magnetic_axis',struct(...
 'r',double([]),...
-'r_error_index',double(-999999999),...
+'r_error_index',int32(-999999999),...
 'r_error_lower',double([]),...
 'r_error_upper',double([]),...
 'z',double([]),...
-'z_error_index',double(-999999999),...
+'z_error_index',int32(-999999999),...
 'z_error_lower',double([]),...
 'z_error_upper',double([])),...
 'time',double([]),...
 'vacuum_toroidal_field',struct(...
 'b0',double([]),...
-'b0_error_index',double(-999999999),...
+'b0_error_index',int32(-999999999),...
 'b0_error_lower',double([]),...
 'b0_error_upper',double([]),...
-'r0',double(-9.0000000000000006360851714687e+40),...
-'r0_error_index',double(-999999999),...
-'r0_error_lower',double(-9.0000000000000006360851714687e+40),...
-'r0_error_upper',double(-9.0000000000000006360851714687e+40)));
+'r0',double(-9e+40),...
+'r0_error_index',int32(-999999999),...
+'r0_error_lower',double(-9e+40),...
+'r0_error_upper',double(-9e+40)));
diff --git a/matlab/TCV_IMAS/ids_empty/ids_list.m b/matlab/TCV_IMAS/ids_empty/ids_list.m
deleted file mode 100644
index 36dd72c056809031ac53d5e8ac62431a5f51e7a1..0000000000000000000000000000000000000000
--- a/matlab/TCV_IMAS/ids_empty/ids_list.m
+++ /dev/null
@@ -1,7 +0,0 @@
-function S = ids_list
-% function S = ids_list
-%
-% File written automatically using struct2m.m 
-
-S = ... 
-{'amns_data';'barometry';'bolometer';'charge_exchange';'coils_non_axisymmetric';'controllers';'core_instant_changes';'core_profiles';'core_sources';'core_transport';'dataset_description';'distribution_sources';'distributions';'ec_antennas';'ece';'edge_profiles';'edge_sources';'edge_transport';'em_coupling';'equilibrium';'gas_injection';'ic_antennas';'interferometer';'iron_core';'lh_antennas';'magnetics';'mhd';'mhd_linear';'mse';'nbi';'neutron_diagnostic';'ntms';'pellets';'pf_active';'pf_passive';'polarimeter';'pulse_schedule';'radiation';'reflectometer_profile';'sawteeth';'sdn';'soft_x_rays';'spectrometer_visible';'summary';'temporary';'thomson_scattering';'tf';'transport_solver_numerics';'turbulence';'wall';'waves';};
diff --git a/matlab/TCV_IMAS/ids_empty/ids_list_all.m b/matlab/TCV_IMAS/ids_empty/ids_list_all.m
new file mode 100644
index 0000000000000000000000000000000000000000..f767b6293efdce22e922c28f95bd0ca278f13fdb
--- /dev/null
+++ b/matlab/TCV_IMAS/ids_empty/ids_list_all.m
@@ -0,0 +1,7 @@
+function S = ids_list_all
+% function S = ids_list_all
+%
+% File written automatically using writecell.m 
+
+S = ... 
+{'amns_data';'barometry';'bolometer';'bremsstrahlung_visible';'calorimetry';'camera_ir';'charge_exchange';'coils_non_axisymmetric';'controllers';'core_instant_changes';'core_profiles';'core_sources';'core_transport';'dataset_description';'disruption';'distribution_sources';'distributions';'ec_launchers';'ece';'edge_profiles';'edge_sources';'edge_transport';'em_coupling';'equilibrium';'gas_injection';'gyrokinetics';'hard_x_rays';'ic_antennas';'interferometer';'iron_core';'langmuir_probes';'lh_antennas';'magnetics';'mhd';'mhd_linear';'mse';'nbi';'neutron_diagnostic';'ntms';'numerics';'pellets';'pf_active';'pf_passive';'polarimeter';'pulse_schedule';'radiation';'reflectometer_profile';'sawteeth';'sdn';'soft_x_rays';'spectrometer_visible';'spectrometer_x_ray_crystal';'summary';'temporary';'thomson_scattering';'tf';'transport_solver_numerics';'turbulence';'wall';'waves';};
diff --git a/matlab/TCV_IMAS/ids_structures_mat_to_m.m b/matlab/TCV_IMAS/ids_structures_mat_to_m.m
index 3effc820d465d7dcdb109dd3d77fa3aec113363a..0aae46806bdf07f4ee7fd7ddac6bccc17df8e761 100644
--- a/matlab/TCV_IMAS/ids_structures_mat_to_m.m
+++ b/matlab/TCV_IMAS/ids_structures_mat_to_m.m
@@ -1,10 +1,11 @@
-%% 
-% auxiliary script to write .mat containing empty IDS to separate .m files 
+%%
+% auxiliary script to write .mat containing empty IDS to separate .m files
 % in ids_empty_folder
 
 clear;
 cd(fileparts(mfilename('fullpath')));
 ids_struct_saved = '/home/sauter/matlab/gdat_develop/matlab/TCV_IMAS/ids_structures_20190312.mat';
+ids_struct_saved = '/home/sauter/matlab/gdat_develop/matlab/TCV_IMAS/ids_structures_IMAS326.mat';
 target_folder = 'ids_empty';
 ffolder = fullfile(fileparts(mfilename('fullpath')),target_folder);
 assert(~~exist(ffolder,'dir'),'target folder does not exist')
@@ -13,24 +14,24 @@ load(ids_struct_saved);
 
 fields = fieldnames(ids_structures);
 
-%% write file with 
-okflag = writecell(fields,fullfile(ffolder,'ids_list'));
+%% write file with
+okflag = writecell(fields,fullfile(ffolder,'ids_list_all'),15);
 assert(okflag,'problem writing cell array');
-assert(isequaln(fields,eval('ids_list'))); % check
+assert(isequaln(fields,eval('ids_list_all'))); % check
 %% write individual files per ids template
 
 for ii=1:numel(fields)
   myfield = fields{ii};
   fieldval = ids_structures.(myfield);
-  
+
   %% write to .m
   fname = sprintf('ids_empty_%s',myfield);
   fpath = fullfile(ffolder,fname);
-  
+
   fprintf('writing %s\n',fpath);
-  okflag =writestruct(fieldval,fpath);
+  okflag =writestruct(fieldval,fpath,15);
   assert(okflag,'failed writing %s',fpath);
-  
+
   try
     cd ids_empty
     S_out = eval(fname);
@@ -38,6 +39,7 @@ for ii=1:numel(fields)
     cd ..
   catch ME
     cd ..
+keyboard
     rethrow(ME)
   end
-end
\ No newline at end of file
+end