- write_header(f, headdict)¶
Rewriting the write_header Function of gse_functions.c
Different operating systems are delivering different output for the scientific format of floats (fprintf libc6). Here we ensure to deliver in a for GSE2 valid format independent of the OS. For speed issues we simple cut any number ending with E+0XX or E-0XX down to E+XX or E-XX. This fails for numbers XX>99, but should not occur.