I don’t believe so, unless you simulate a Bar30 with a microcontroller or something that’s connected to the I2C port.
It may be possible to simulate depth by sending it via VISION_POSITION_ESTIMATE
MAVLink messages or something, but that doesn’t help with how to provide the temperature which (as shown in your error message) the BlueOS UGPS extension currently tries to extract from the autopilot’s SCALED_PRESSURE2
output messages.