Commit ac30db92 authored by Fabian Wachsmann's avatar Fabian Wachsmann
Browse files

Updated README

parent aafb9c89
...@@ -11,12 +11,25 @@ pip install git+https://gitlab.dkrz.de/mipdata/python_package_zarr_in_swift.git# ...@@ -11,12 +11,25 @@ pip install git+https://gitlab.dkrz.de/mipdata/python_package_zarr_in_swift.git#
import tzis import tzis
path_var = <path> path_var = <path>
mfs_towrite=[path_var +filename for filename in os.listdir(path_var)] mfs_towrite=[path_var +filename for filename in os.listdir(path_var)]
write_to_swift(mfs=mfs_towrite,outid=<container_name>, varname = pr
varname=<var>,
verbose=True) container = tzis.Tzis(OS_STORAGE_URL,
OS_AUTH_TOKEN,
container_name,
mf_dset=mfs_towrite,
varname=varname,
verbose=True
)
container.open_store(name_in_object_storage)
container.write_to_swift(chunkdim="time",
target_mb=1000,
startchunk=0,
validity_check=False,
maxretries=3)
``` ```
......
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