-
Notifications
You must be signed in to change notification settings - Fork 1
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
GEOPY-1524: Add forward validation of CNN picks #26
Conversation
# Conflicts: # plate_simulation/params.py # plate_simulation/point_simulations/__init__.py
# Conflicts: # environments/py-3.10-linux-64-dev.conda.lock.yml # environments/py-3.10-linux-64.conda.lock.yml # environments/py-3.10-win-64-dev.conda.lock.yml # environments/py-3.10-win-64.conda.lock.yml # plate_simulation/simulations/__init__.py # plate_simulation/simulations/params.py # py-3.10.conda-lock.yml # pyproject.toml # tests/runtest/driver_test.py
# Conflicts: # environments/py-3.10-linux-64-dev.conda.lock.yml # environments/py-3.10-linux-64.conda.lock.yml # environments/py-3.10-win-64-dev.conda.lock.yml # environments/py-3.10-win-64.conda.lock.yml # py-3.10.conda-lock.yml # pyproject.toml
# Conflicts: # tests/models/__init__.py # tests/runtest/__init__.py
# Conflicts: # environments/py-3.10-linux-64-dev.conda.lock.yml # environments/py-3.10-linux-64.conda.lock.yml # environments/py-3.10-win-64-dev.conda.lock.yml # environments/py-3.10-win-64.conda.lock.yml # py-3.10.conda-lock.yml # pyproject.toml
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think you need to modify driver/make_model to pass conductivities instead of resistivites since you removed the reciprocal conversions from the params class.
@@ -69,11 +69,6 @@ class PlateParams(BaseModel): | |||
reference_surface: str = "topography" | |||
reference_type: str = "mean" | |||
|
|||
@field_validator("plate", mode="before") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Where are you doing the conversion to account for removing these? If they're resistivities in the ui.json, and remain resistivities in the params classes, then the driver needs to flip them, but I don't see that change.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Happens in series on the whole model.
GEOPY-1524 - Add forward validation of CNN picks