-
Notifications
You must be signed in to change notification settings - Fork 13
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
gz
is a required parameter for gravity inversion and tmi
is required for mag inversion, which prevents inversion of component- or gradient-only data
#563
Comments
JIRA issue [GEOPY-952] was created. |
gz
is a require parameter for gravity inversion, which prevents inversion of components onlygz
is a required parameter for gravity inversion, which prevents inversion of gravity components only
It looks like this might be related to this change: d85d6a6#diff-b2146808eb22eb72329ba3b92cab9e47d7875ab323aa506740ff9529a5000562L238 (Line 238 of If that is the problem then the same change was also made to the mag inversion code to require TMI (and therefore prevent use of other components without TMI) in line 254 of |
Does it matter which one? |
No. If |
Can also confirm the same behaviour for mag inversions: If |
gz
is a required parameter for gravity inversion, which prevents inversion of gravity components onlygz
is a required parameter for gravity inversion and tmi
is required for mag inversion, which prevents inversion of component- or gradient-only data
Furthermore I have identified that the issue comes from the default validations that are set. Calling
and then calling
but calling
Hence the error: |
Any updates on this ticket? It prevents us from upgrading from |
Sorry for the late reply. Should have been fixed on release/0.11.0. We will test on next sprint. |
We’re trying to run a Falcon guv+gxy inversion in geoapps
0.9.2
, and it seems that it is not possible without defininggz
?OptionalValidationError: Cannot set a None value to non-optional parameter: gz_channel.
We are creating the geoh5 and json files directly using
geoapps.inversion.potential_fields.gravity.params
rather than using the GUI:The solution seems to be allowing
gz
to be optional, but requiring at least 1 of the possible components.The text was updated successfully, but these errors were encountered: