def read(self, size=None):
        if not size or size < 0:
            payload = {"op": "OPEN", "offset": self.offset}
            self.offset = 0
        else:
            payload = {"op": "OPEN", "offset": self.offset, "length": size}
            self.offset = self.offset + size
        response = requests.get("http://" + self.parsed_uri.uri_path, params=payload, stream=True)
        return response.content
Read trace of pts points of dtype dt from Agilent/Varian binary file
dataset/ETHPy150Open piskvorky/smart_open/smart_open/smart_open_lib.py/WebHdfsOpenRead.read--crossover with--dataset/ETHPy150Open jjhelmus/nmrglue/nmrglue/fileio/varian.py/get_trace