Comments (8)
this code works. I would like to be able to set a compressor and lodcompressor
Does anyone have a syntax for using the compressor arguments to Writer ?
from segysak.
Thanks for your feedback.
Ideally this code needs to be migrated to use pyzgy
on the backend and as a natural xarray backend but that is low priority with focus being SEGY.
You can see the openzgy code in the pyzgy
library which is a fork of the code from the OSDU implementation. It also uses the Python API reference implementation which does not natively support compression. Additional instructions must be followed on their website to install the ZFP compressor.
Otherwise:
- blocks are [64,64,64] by default.
- references to output type are given here
To change the output datatype, in the segysak code you could add additional checks for the datatype
to select the correct format to output to ZgyWriter
.
from segysak.
from segysak.
@ksurf1 depending on your aims here, you may find converting your SEG-Y files to either the fully opensource seismic-zfp or Bluware's nearly-open compressed VDS format helps you further with disk space. Either of these could be read through segysak (writing would take effort) since they have segyio-like reading syntax available (pyvds for VDS). However, if you have more than half the volume as a constant value you'd win more from ZGY/VDS than seismic-zfp as the latter favours regularity in the data over identifying constant-value bricks in order to make offsets computable rather than requiring a disk location lookup for bricks.
from segysak.
from segysak.
from segysak.
from segysak.
I've moved your second issue to #119 please put separate questions in separate issues.
from segysak.
Related Issues (20)
- fail to convert a 2D sgy file into dataframe HOT 2
- dependencies import error - more_itertools HOT 1
- 0.3.1 segy_writer bug HOT 4
- Visualizing VSP data HOT 5
- Implement `pyzgy` for ZGY files as `segyio` drop in replacement. HOT 19
- Documentation: Add comments in FAQ and elsewhere regarding exporting of non-convertable values for header.
- Look into zarr and zfp support, HOT 1
- Improve support for sparse volumes HOT 1
- ValueError when writing 2D seismic data to file after reprojecting coordinates HOT 9
- segy_loader failing to broadcast input array shape during conversion HOT 4
- Documentation fro header re-map trace headers HOT 2
- suppress tqdm warning HOT 1
- huge volume segy data loading HOT 5
- Get corners not working for segy_loader HOT 9
- Geometry issue/ pandas key error HOT 7
- Direct convert: segy to netcdf HOT 17
- convert segy to netcdf that could be used as an input in ArcGIS Pro to create voxel layer HOT 2
- Inconcistency in shapes (2D seismic) causes error when calling segy_loader HOT 2
- [Question] Is it possible to directly stream the data from Azure Blob Store HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from segysak.