Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Daily Patterns tab - bug 1 #45

Open
acollier-oxandale opened this issue Oct 21, 2020 · 2 comments
Open

Daily Patterns tab - bug 1 #45

acollier-oxandale opened this issue Oct 21, 2020 · 2 comments
Assignees
Labels
enhancement New feature or request

Comments

@acollier-oxandale
Copy link

If any maximums or minimums are -Inf/Inf, due to parameters missing in the database these should display as NaN.

EXAMPLE: -Inf/Inf appearing in met data table, for sensor SCAH_28, date: 10/2/20, with 1 week prior shown – see humidity max/min, screenshot below

(version 1.0.1)

image

@jonathancallahan
Copy link
Member

This occurs when taking the min or max of an empty vector:

> min(c())
[1] Inf
Warning message:
In min(c()) : no non-missing arguments to min; returning Inf
> max(c())
[1] -Inf
Warning message:
In max(c()) : no non-missing arguments to max; returning -Inf

@jonathancallahan jonathancallahan added the enhancement New feature or request label Oct 22, 2020
@jonathancallahan
Copy link
Member

I worked on this for a while but was unable to trap/convert those Inf values.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants