Coder Social home page Coder Social logo

Comments (2)

jpvantassel avatar jpvantassel commented on June 16, 2024

Hi @dylanmikesell,

What I would recommend after you create the Array1D object using the code you have above is to use the to_file method (i.e., data_array.to_file("myfile.su")) and write the data out to disk in the SeismicUnix (SU) format. You can then load this back into the MASW workflow using the file name as detailed in the MASW notebook.

Of course, this is certainly not ideal, as it would make more sense to be able to run any MASW Workflow on any Array1D, but the way I implemented things (trying to make it simpler for the end user) ended up complicating this interface. If I had my druthers I would rewrite swprocess, but I am currently rewriting hvsrpy and so this is on hold until that is complete. I will note that if you are running lots of processing (hundreds or thousands of MASW transformations) and are concerned about IO issues with repeatedly writing data to disk, you could try writing the data out to a memory buffer rather than to a file on disk.

Hope this help
Joe

from swprocess.

dylanmikesell avatar dylanmikesell commented on June 16, 2024

Hi @jpvantassel,
That works just fine for me. I am just testing this on some DAS data, so no matter what I will figure out an I/O solution later. I got your solution to work for now though :).
Thanks!

from swprocess.

Related Issues (19)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.