def METHOD_NAME(self, struct_name, data_dict):
    """write data_dict under the group struct_name in the open hdf5 file
    :param struct_name: the identificatioon of the structure to write in the hdf5
    :param data_dict: The python dictionnary containing the informations to write
    """
    if self.file is None:
        info = "No file currently open"
        logger.info(info)
        return
    group_l1 = self.file.create_group(struct_name)
    group_l1.attrs['OCTAVE_GLOBAL'] = np.uint8(1)
    group_l1.attrs['OCTAVE_NEW_FORMAT'] = np.uint8(1)
    group_l1.create_dataset("type", data=np.string_('scalar struct'), dtype="|S14")
    group_l2 = group_l1.create_group('value')
    for ftparams in data_dict:
        group_l3 = group_l2.create_group(ftparams)
        group_l3.attrs['OCTAVE_NEW_FORMAT'] = np.uint8(1)
        if type(data_dict[ftparams]) == str:
            group_l3.create_dataset("type", (), data=np.string_('sq_string'), dtype="|S10")
            if self.octave_targetted_version < 3.8:
                group_l3.create_dataset("value", data=np.string_(data_dict[ftparams] + '0'))
            else:
                group_l3.create_dataset("value", data=np.string_(data_dict[ftparams]))
        else:
            group_l3.create_dataset("type", (), data=np.string_('scalar'), dtype="|S7")
            group_l3.create_dataset("value", data=data_dict[ftparams])