Issues when creating Zgy from SegY (C++ library)
Submitting on behalf of Terry Walters
I'm attempting to create a ZGY file from SEGY using C++ and have a few issues.
- I'm writing individual SEGY traces to ZGY using the method: write(const size3i_t& start, const size3i_t& size, const float* data) from the class OPENZGY_API IZgyWriter. When I am finished and call finalize and close I expect everything to be flushed to disk. This does not appear to be the case. When I read the data back everything checks out until what appears to be the last brick. Any ideas?
- All of my traces appear to be being stored in 16384 byte blocks even though they are only 8000 bytes in length. Do I need to be building bricks and writing them instead of writing individual traces?
- This goes back to building bricks instead of writing individual traces; I also need to have the option to add ZFP compression. This appears to be straight forward enough but throws an error: Updating a local BrickStatus::3 brick with compressed data is illegal in UpdateMode::1 . I assume, again, that this means I need to be writing bricks instead of traces?
Any help is appreciated.
Thank you
Debasis