Closed jlmaurer closed 3 years ago
@kmaterna it's working!!! I was able to run several models including geostats and compare them. My next step is to determine better covariance parameters for northern California. :)
@kmaterna I put back the local import statements, except for in the models. Here I'm importing a specific function (strain_2d), and wasn't sure which is cleaner.
from strain.models.strain_2d import Strain_2d
model = Strain_2d()
versus
from . import strain_2d
model = strain_2d.Strain_2d() # etc.
I typically like the former because it explicitly imports functions so that calling the is cleaner, but could go either way here.
Your branch works on my computer too! new conda env from the yml and everything. It was easy to do.
I'm happy to use the strain.models.strain_2d import structure for the classes; I'll merge and then inspect the other import statements.