You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi!
I computed synthetic RF's using PyRaySum. Now, I want to save each component with the .H5 format. For the moment I am able to save just the 'RFR' and 'RFT'. For example, 2 Trace(s) in Stream:
In this case, the 'Z' component is missing in the stream.
The other alternative that I tried was to use:
result.write('synthetic')
It saved a 3 column '.txt' file with their respective header. Are there a way to write the results direct in the .'H5' format? or are there a way to transform the '.txt' to 'H5'?
Thanks in advance!
The text was updated successfully, but these errors were encountered:
I am not well familiar with the H5 format. As far as I understand it is related to NumPy Arrays. If you are using the obspy-interface (using pyraysum.run) you can extract the numpy data array e.g. from the .data attribute of the obspy traces. If you are using the NumPy interface (fraysum.run_bare) you will get back a NumPy Array that is probably already quite close to what you want. On the internet, I found this documentation. I hope it helps:
Hi!
I computed synthetic RF's using PyRaySum. Now, I want to save each component with the .H5 format. For the moment I am able to save just the 'RFR' and 'RFT'. For example, 2 Trace(s) in Stream:
In this case, the 'Z' component is missing in the stream.
The other alternative that I tried was to use:
result.write('synthetic')
It saved a 3 column '.txt' file with their respective header. Are there a way to write the results direct in the .'H5' format? or are there a way to transform the '.txt' to 'H5'?
Thanks in advance!
The text was updated successfully, but these errors were encountered: