Comments (2)
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.
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)
- Feature Request: Intuitive Receiver Selection HOT 1
- Issue on "from_peakssuite" HOT 2
- Error in running the code create_su.ipynb HOT 1
- Generating dispersion image using .xlsx file HOT 1
- Number of output dispersion points HOT 3
- Error in running the code vis_model_0.ipynb HOT 1
- Error in running the code vis_model_0.ipynb HOT 1
- Extraction of the picked dispersion curve data HOT 1
- TypeError: Unknown format for file data/wghs/6.dat for MASW module HOT 5
- empty csv for extract example HOT 1
- processing already stacked MASW data HOT 3
- Installing on Mac M1 HOT 2
- Set a condition to deal with STACK not being present in sg2 files HOT 5
- Allow for multiples of offsets HOT 1
- Error running the stats notebook HOT 3
- Stats Notebook Running Time HOT 2
- 2D Section inquiry HOT 2
- run masw.ipynb but it returns an error
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 swprocess.