Skip to content

Stats - counting NA #140

Description

@leppott

Describe the bug
User email from 2021-11-01.

I’ve attached the stats output files for air temperature and water level and an excerpt from the aggregate file since it is so
large, but you should be able to see what I’m talking about. I guess the in-water sensor malfunctioned so there was no water
temperature or water level data for 2019. There was however air temperature data. Both the air temperature and water level
files show n=218 for 2019 even though there were no water level values for 2019.

To Reproduce
Steps to reproduce the behavior:

  1. Data file with some measurements NA.
  2. After stats getting N for all rows not just those with data (i.e., NA are counted)

Expected behavior
NA should not be counted.

Screenshots
If applicable, add screenshots to help explain your problem.

Additional context
Add any other context about the problem here.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions