Closed HamishB closed 4 years ago
mmph, not quite. ReadVelocityData() wants nz,ny not nx,ny,nz (where nz=1) so need to make a few more adjustments. I've got a patch if you need it but I maybe making a mess of it.
Thanks, Hamish. If you want to submit it feel free. I had written that as a reminder on how to format the file. In general, the file format for seismic modeling needs some serious work and catching up to nearly every other geophysical field...
A major rewrite is underway that will alleviate this issue. The entire codebase is being ported to python due to project requirements.
Hi, for your consideration..
this patch against the 3dmeshing branch reads from a .segy as per script's filename, allows 2D arrays to be written, and follows given data's array size instead of hardcoding it.
Many nc*() functions don't return any output so don't need to end in ';', thus dropped those.
thanks, Hamish