blosc2.C2Array.__init__#
- C2Array.__init__(path: str, /, urlbase: str | None = None, auth_token: str | None = None)#
Create an instance of a remote NDArray.
- Parameters:
- Returns:
out
- Return type:
C2Array
Examples
>>> import blosc2 >>> urlbase = "https://demo.caterva2.net/" >>> path = "example/dir1/ds-3d.b2nd" >>> remote_array = blosc2.C2Array(path, urlbase=urlbase) >>> remote_array.shape (3, 4, 5) >>> remote_array.chunks (2, 3, 4) >>> remote_array.blocks (2, 2, 2) >>> remote_array.dtype float32