Commit f98cb6f2 authored by Carl Schreck's avatar Carl Schreck

Adding compression to prism_to_netcdf.py

parent 86f7e4f0
...@@ -86,7 +86,8 @@ for curr_time in time.values: ...@@ -86,7 +86,8 @@ for curr_time in time.values:
out_data.loc[dict(time=curr_time)] = in_data out_data.loc[dict(time=curr_time)] = in_data
cjs.tstamp('Writing') cjs.tstamp('Writing')
out_data.to_netcdf(out_path) out_data.to_netcdf(out_path, encoding={var_name:
{'zlib': True, 'complevel': 1}})
cjs.tstamp('Thank you, come again.') cjs.tstamp('Thank you, come again.')
......
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