The Julia bridge for launching Browzarr - a browser-based visualization framework for exploring and analyzing Zarr and NetCDF datasets.
Try it now at browzarr.io
Note
This package is solely responsible for launching the Browzarr app from Julia. All visualization and data interaction happens in the browser.
using Pkg; Pkg.add("Browzarr")or install the main branch via:
using Pkg; Pkg.add(url="https://github.com/EarthyScience/Browzarr.jl", rev="main")Launch with a local file, a remote store, or no arguments to get started:
using Browzarr
browzarr() # default (any available port)
browzarr(; port=3000) # custom port
browzarr(; store="/absolute/path/to/file.nc") # local file
browzarr(; store="/absolute/path/to/zarr_file.zarr") # local zarr directory
browzarr(; store="https://s3.bucket.de:67/misc/out.zarr") # remote Zarr storeTo stop all running servers:
Browzarr.stop_all!()To stop a server on a specific port:
Browzarr.stop!(3000)You can pass directly the path to your local zarr directory
using Browzarr
browzarr(; store="/absolute/path/to/zarr_file.zarr") # local zarr directoryor setup the server in advance and then pass that
using Browzarr
store = Browzarr.serve_zarr("/absolute/path/to/zarr_file.zarr")
# now launch it!
browzarr(; store=store)