Closed JobLeonard closed 8 years ago
They are stored inside the file. Removing them doesn't really do anything, because HDF5 is not great at reclaiming unused space. If you redo the tile command, the previous tiles are removed and replaced with new ones, but this tends to grow the file.
There is a tool to reclaim lost space from an HDF5 file (h5repack), but honestly it seems better then to just write a new file from scratch.
I will clarify this in the output of loom tile
.
When using
loom tile <loomfile>
the output is currently something like:It does not reveal where these tiles are stored. I think it would be good to tell the users where to find these tiles in case they want to clear the cached tiles (or even build in a
clean
flag), or if something goes wrong and they need to do manual cleanup.Maybe something like appending the following after all tiles are generated:
This only applies to the precompute tiles command, since this will just be noisy if added after every tile fetched when running a server.