mtpy-v2 icon indicating copy to clipboard operation
mtpy-v2 copied to clipboard

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

Open kaushik67 opened this issue 1 year ago • 1 comments

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

kaushik67 avatar Apr 22 '24 22:04 kaushik67

@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.

kujaku11 avatar Apr 24 '24 22:04 kujaku11