def write_lowmem(dir, dic, data, fid_file="fid", procpar_file="procpar",
                 torder=None, repack=False, overwrite=False):
    # always find trace ording
    if torder is None:
        torder = find_torder(dic["procpar"], data.shape)

    # write out the fid file
    fname = os.path.join(dir, fid_file)
    write_fid_lowmem(fname, dic, data, torder, repack=repack,
                     overwrite=overwrite)

    # write out procpar file
    write_procpar(os.path.join(dir, procpar_file), dic["procpar"], overwrite)

    return

############
# ordering #
############
Return the current DEVICE_CONFIG as a string (always 4 bytes).
dataset/ETHPy150Open jjhelmus/nmrglue/nmrglue/fileio/varian.py/write_lowmem--crossover with--dataset/ETHPy150Open Yubico/python-yubico/yubico/yubikey_neo_usb_hid.py/YubiKeyNEO_DEVICE_CONFIG.to_string