You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We are using only the location to match a sensor node
UPDATE tempfetchdata_nodes t
SET sensor_nodes_id =sn.sensor_nodes_id
, added = FALSE
FROM sensor_nodes sn
WHEREt.geomIS NOT NULLAND st_dwithin(sn.geom, t.geom, .0001)
AND origin='OPENAQ';
UPDATE tempfetchdata_nodes t
SET sensor_nodes_id =sn.sensor_nodes_id
, added = FALSE
FROM sensor_nodes sn
WHEREt.sensor_nodes_id is nullANDt.site_nameis not nullANDt.source_nameis not nullANDt.site_name=sn.site_nameANDt.source_name=sn.source_nameAND origin='OPENAQ';
Which could lead to issues if two sensors are co-located.
The text was updated successfully, but these errors were encountered:
I think we should use some sort of namespace idea that includes the node/system/sensor to match directly to the sensor, much like they are doing in the second update. But we do have to decide what to do if the names all match but lat/long has changed. I would assume at that point its a new deployment of the same set of instruments.
We are using only the location to match a sensor node
Which could lead to issues if two sensors are co-located.
The text was updated successfully, but these errors were encountered: