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

Can't open Occam2D model file (.iter) with mtpy-v2 #27

Open
kaushik67 opened this issue Apr 22, 2024 · 1 comment
Open

Can't open Occam2D model file (.iter) with mtpy-v2 #27

kaushik67 opened this issue Apr 22, 2024 · 1 comment

Comments

@kaushik67
Copy link

The mtpy-v2 doesn't seem to have Occam2D Plot_Model functionality (for .iter file) like version 1. Also, I couldn't find any new function for plotting the resistivity model. I tried to use the following as per mtpy-v2 documentation:

import mtpy.modeling.occam2d as occam2d
itfn = r"C:/Users/kaush/Desktop/LD_sensitibility/ITER15.iter"
ocm = occam2d.Model(itfn)
ocm.read_iter_file()

But I get the error: module 'mtpy.modeling.occam2d' has no attribute 'Model'
When I change the Model to model (using lowercase m instead, the error is : 'module' object is not callable.
Also, I am not sure whether it will plot the resistivity model.
Please let me know of any solution.

Regards,
Kaushik Sarker

@kujaku11
Copy link
Contributor

@kaushik67 Thanks Kaushik, I haven't ported a lot of the Occam wrappers yet from version 1. It may take me a few months. In the mean time suggest to continue using v1.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants