Giter Club home page Giter Club logo

arpautils's People

Contributors

jobonaf avatar katrinleinweber avatar

Watchers

 avatar  avatar

arpautils's Issues

Estrazione dati mensili

I dati dei metalli hanno un solo dato memorizzato il secondo giorno del mese alle ore 12.00.
Estraendo i dati per esempio con:
dbqa.get.datastaz(con, ts.range, id.staz, id.param,
flg=1, tstep,
lod.manage=ifelse({id.param %in% c(12,14,15,18,29)},
"half", "keep"),...)
dove id.param = 14 (corrispondente al Cd)
si ottiene Error in as.POSIXct.numeric(days) : 'origin' must be supplied

La richiesta sql seguente va a buon fine:
SELECT ID_CONFIG_STAZ,
ID_CONFIG_SENSORE,
TS_DATO,
VALORE,
FLG_A,
TS_INIZIO_RIL
FROM aa_aria.t$01$dati dt
WHERE dt.ID_PARAMETRO = 14
AND dt.TS_DATO BETWEEN TO_DATE ('01-01-2018 00:00','dd-mm-yyyy hh24:mi')
AND SYSDATE

Forse il problema e' in dt.TS_DATO. La routine dbqa.get.datastaz filtra in base a d.TS_INIZIO_RIL

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.