Determine endianness.

This commit is contained in:
Miikka Vaisala
2019-09-24 12:52:52 +08:00
parent 88c3cdf0a5
commit d2e13d0139
2 changed files with 15 additions and 6 deletions

View File

@@ -33,8 +33,8 @@ def read_bin(fname, fdir, fnum, minfo, numtype=np.longdouble):
timestamp = array[0]
array = np.reshape(array[1:], (minfo.contents['AC_mx'],
minfo.contents['AC_my'],
minfo.contents['AC_mz']), order='F')
minfo.contents['AC_my'],
minfo.contents['AC_mz']), order='F')
else:
array = None
timestamp = None