Commit 2d6262c4 authored by Clément Haëck's avatar Clément Haëck
Browse files

Remove progress bar

parent 857bfb55
"""Compute histograms of variables for ostia data"""
from dask.diagnostics import ProgressBar
import numpy as np
import xarray as xr
......@@ -80,8 +78,7 @@ def main():
args['Y'] = args['year']
ofile = lib.data.hists.get_filename(args)
lib.check_output_dir(ofile, file=True)
with ProgressBar():
ds.to_netcdf(ofile, encoding={v: {'zlib': True} for v in ds.data_vars})
ds.to_netcdf(ofile, encoding={v: {'zlib': True} for v in ds.data_vars})
return ds
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment