Stephen,
This is indeed not a suitable list for programming assistance; it is a
low-traffic list related to organization of python projects under the
Numfocus umbrella. I don't know what would be most appropriate, but
stackoverflow and numpy-discussion would at least be closer to the mark.
Someone else might have better suggestions.
Nevertheless, based on a quick look, I think that at least part of your
problem will be fixed if you change all of your
struct.unpack('d', file.read(8))[0]
expressions to
struct.unpack('>d', file.read(8))[0]
so that doubles will be byte-swapped as needed. See
https://docs.python.org/3/library/struct.html.
Eric
> --
> You received this message because you are subscribed to the Google
> Groups "NumFOCUS" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to
numfocus+u...@googlegroups.com
> <mailto:
numfocus+u...@googlegroups.com>.
> For more options, visit
https://groups.google.com/d/optout.