corrected problem with havg

api.js
   - unnecessary export deleted
   - import of logit added

actions/data4map.js
   - logits removed

databases/influx.js
   - logits removed

databases/mongo.js
   - logits removed

sensorspecials/noise.js
   - repeated code put to a function
   - correctred hour count at havg

package.json
  "version": "1.2.2",
  "date": "2023-04-24",
This commit is contained in:
rxf
2023-04-24 11:54:30 +02:00
parent 144f36e0a0
commit 2cf418756d
6 changed files with 56 additions and 46 deletions
+2 -2
View File
@@ -86,7 +86,7 @@ export var getData4map = async (params) => {
north = parseFloat(val[3])
east = parseFloat(val[2])
west = parseFloat(val[0])
logit(`getData4map: S=${south} N=${north} E=${east} W=${west}`)
// logit(`getData4map: S=${south} N=${north} E=${east} W=${west}`)
}
if (!((params.poly === undefined) || (params.poly === ' '))){
poly = JSON.parse(params.poly)
@@ -173,7 +173,7 @@ export var getData4map = async (params) => {
}
aktData.push(oneAktData)
}
logit(`Query duration: ${start.diffNow('seconds').toObject().seconds * -1} sec`)
// logit(`Query duration: ${start.diffNow('seconds').toObject().seconds * -1} sec`)
ret = {
err: null,
options: {