Skip to content

ratt-ru/xarray-katdal

Repository files navigation

xarray views over the MeerKAT archive

$ pip install xarray-katdal zarr
import xarray_katdal
import xarray

cbid = 1234567890
token = "eYabcdefgh"
url = f"https://archive-gw-1.kat.ac.za/{cb_id}/{cb_id}_sdp_l0.full.rdb?token={token}"
dt = xarray.open_datatree(url)
dt.to_zarr("/path/to/dataset.zarr", compute=True)
dt2 = xarray.open_datatree("/path/to/dataset.zarr")
assert dt.identical(dt2)

About

Xarray views over the MeerKAT archive

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages