def _parse_hextet(self, hextet_str):
        # Whitelist the characters, since int() allows a lot of bizarre stuff.
        if not self._HEX_DIGITS.issuperset(hextet_str):
            raise ValueError
        hextet_int = int(hextet_str, 16)
        if hextet_int > 0xFFFF:
            raise ValueError
        return hextet_int
write the nc object to disk
dataset/ETHPy150Open uwdata/termite-data-server/web2py/gluon/contrib/ipaddr.py/_BaseV6._parse_hextet--crossover with--dataset/ETHPy150Open modflowpy/flopy/flopy/export/netcdf.py/NetCdf.write