Skip to content
Snippets Groups Projects
Commit f7c65341 authored by Oriol Tintó's avatar Oriol Tintó
Browse files

Update function name

parent e0b74cae
No related branches found
No related tags found
No related merge requests found
# Compressor that uses h5netcdf and hdf5plugin to compress files.
To use the compressor:
```python
from h5netcdfcompressor import transfer_file
transfer_file(origin, destination, compression)
compress_file(origin="original.nc", destination="compressed.nc", compression="lossy,sz,rel,1e-6")
```
from compressor import compress_file
......@@ -2,7 +2,7 @@ from pathlib import Path
from typing import List
def transfer_file(origin: Path,
def compress_file(origin: Path,
destination: Path,
compression: str,
variables_to_keep: List[str] = None,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment