I have a timeseries dataset which has both negative and non-negative numbers. There is a value (-999) which indicated nan values in the cloud. What I want to do is, I want to use a sum query which will take the negative numbers into consideration. Is there a way to omit negative numbers while querying?
predix sum query on non negative numbers only
170 views Asked by AudioBubble At
1
There are 1 answers
Related Questions in TIME-SERIES
- Measures of similarity for time series data
- Is there an algorithm to identify the increasing Period/Interval of a time series?
- What kind of ARIMA model would be best fit for this data?
- How to load very big timeseries file(s) in Python to do analysis?
- How to write the query statement of the total number of time series by paging in Apache IoTDB?
- error to generate regular raster stack time series in R
- Getting NotImplementedError: While Importing ARMA
- Plotting Non-Uniform Time Series Data from a Text File
- How in SQL can I identify if a value has changed within the current week or vis-a-vis the previous week?
- LSTM : predict_step in PyTorch Lightning
- Slow SELECT statement, possibly due to WHERE?
- R: Error in tseries::garch() Function for Auto GARCH Model Detection
- LSTM multistep forecast
- Sum column depending on values from another column on a single row (Pivot columns)
- gap fill for raster stack in R
Related Questions in PREDIX
- Forcing Https connection during the spring security login success
- Need to create a button which will download the PDF file of report column row wise in polymerJS page
- predix sum query on non negative numbers only
- Can't login to Predix from the Cloud Foundry CLI
- How to get time series through WebSocket from predix?
- Cloud foundry nodejs sample app not working
- polymer app-route, how to route to a new page within same App
- Unable to process the uploaded files for analytic name - id and version - v1. Check the documentation on how to develop Python analytic
- Password Change using the UAA Rest API
- Escape single quote in Postgres query inside node js app
- Predix Analytics service with Angular Http request
- Install Cloud Foundry binary on raspberry (linux v 4.4)
- OSGi Runtime cannot be loaded: In eclipse
- Spillway Transfer failed
- Predix UI Seed app - remove hash from url
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Popular Tags
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
If I understand your question correctly, you are looking for a Predix Time Series query that will return the sum of all tag readings but exclude any -999 values from the result.
If so, the query body might look like this:
I wrote a small test script with the PredixPy SDK to demonstrate the scenario and result if that's helpful for you.
You may also want to consider in the future that when data is ingested you use the quality attribute so that instead of filtering on values greater than -999 you could query for quality is GOOD or UNCERTAIN.
Hope that helps.