TGSAI / mdio-python

Cloud native, scalable storage engine for various types of energy data.
https://mdio.dev/
Apache License 2.0
32 stars 11 forks source link

Avoiding compression #176

Open pkfl opened 1 year ago

pkfl commented 1 year ago

Is there a way to avoid compression (Blosc) when we run segy_to_mdio? Will this work:

In src/mdio/segy/blocked_io.py

85     elif lossless is None:
86         trace_compressor = header_compressor = None

If yes, could you please support this in MDIO. That way people who do not want any compression can just ship lossless=None explicitly to segy_to_mdio. Thanks.

tasansal commented 1 year ago

Yes, we can support this. We need to refactor the CLI and parameters to be more user-friendly for compression, which this project can go into. If you have any ideas feel free to do a PR, we can discuss further there :)