We’re trying to run a Falcon guv+gxy inversion in geoapps 0.9.2 , and it seems that it is not possible without defining gz?
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:
json_out = params.GravityParams(
…
gz_channel_bool = False,
gz_channel = None,
guv_channel_bool = True,
guv_channel = data_uid,
guv_uncertainty = error_uid,
…
)
json_out.write_input_file(…)
The solution seems to be allowing gz to be optional, but requiring at least 1 of the possible components.