Open enolfc opened 5 years ago
@enolfc This looks like a problem of the C++ binding which is picky about types passed to the methods - I will fix this by adding the cast inside the seek and read, but can you check for now that it works if you change the code to:
f.seek(int(h))
f.read(10)
I have changed the code in the seek function to do a the casting, it manages to progress, so it seems the right approach
Reading one large netCDF file using xarray results in errors due to wrong arguments to read:
The self.pos value was updated before by a call to seek() with a numpy.int64.
Code to reproduce:
The original code was doing this: