Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add capability to visualize SPECFEM2D models #34

Closed
rmodrak opened this issue Mar 24, 2016 · 2 comments
Closed

Add capability to visualize SPECFEM2D models #34

rmodrak opened this issue Mar 24, 2016 · 2 comments

Comments

@rmodrak
Copy link
Collaborator

rmodrak commented Mar 24, 2016

There are now some instructions for SPECFEM2D visualization included at
http://seisflows.readthedocs.org/en/latest/instructions_remote.html#visualize-inversion-results

The '.bin' files themselves are Fortran binary files, which have 4 bytes padding at the beginning and end and data in the middle. Some relevant information is available here
http://stackoverflow.com/questions/8751185/fortran-unformatted-file-format

In the future, I hope to move to a more standard binary file format for models and kernels. The only reason we haven't done so yet is that it would require fairly significant modifications to SPECFEM2D.

@bch0w bch0w changed the title how to visualize SPECFEM2D models? Add capability to visualize SPECFEM2D models May 31, 2022
@bch0w
Copy link
Member

bch0w commented May 31, 2022

It would be good to have very simple (matplotlib) capabilities to visualize models, kernels and gradients from SPECFEM2D workflows, especially for the example problem. These figures should also be included in the walk through of the documentation page (https://seisflows.readthedocs.io/en/latest/specfem2d_example.html)

@bch0w bch0w added this to the SeisFlows v2.1.0 milestone May 31, 2022
@bch0w bch0w removed this from the SeisFlows v2.2.0 milestone Nov 24, 2022
@bch0w
Copy link
Member

bch0w commented Nov 24, 2022

This was solved with #134 and improved in #137

@bch0w bch0w closed this as completed Nov 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

2 participants