Skip to content

EarthyScience/Browzarr.jl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Browzarr.jl

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

Zarr NetCDF4 License: Apache 2.0


Note

This package is solely responsible for launching the Browzarr app from Julia. All visualization and data interaction happens in the browser.

Installation

using Pkg; Pkg.add("Browzarr")

or install the main branch via:

using Pkg; Pkg.add(url="https://github.com/EarthyScience/Browzarr.jl", rev="main")

Usage

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 store

To stop all running servers:

Browzarr.stop_all!()

To stop a server on a specific port:

Browzarr.stop!(3000)

Setup Local Zarr Server

You can pass directly the path to your local zarr directory

using Browzarr
browzarr(; store="/absolute/path/to/zarr_file.zarr")      # local zarr directory

or 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)

About

The Julia bridge for launching Browzarr - a browser-based visualization framework for exploring and analyzing Zarr and NetCDF datasets.

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages