There Can Be Only One* •
Join 2 of the tables together:
first_join = join(tables: {CO2meas: CO2Raw, Tmeas: Tmeas}, on: [“_time”])
•
Make the big table:
second_join = join(tables: {first_join: first_join, Pmeas: Pmeas}, on: [“_time”]) |>map(fn: (r) => ({_time: r._time, pressure: r._value, gas:r._value_CO2meas, temperature:r._value_Tmeas})) |> filter(fn: (r) => exists r.pressure) |> filter(fn: (r) => exists r.gas) |> filter(fn: (r) => exists r.temperature) |> environmental.idealGasLaw() |> yield(name: “Compensated”)
*
</>
</> </>
</> </>
</>
</> </>
</> </>
</>
</> </>
</> </>
</>
</> </>
</>
</> </>
@davidgsIoT