t-schanz/BCO

SfcWeather results not expected length

Opened this issue · 0 comments

Hi there,

I've just started using this package and have run into a confusing issue where the length of the data is not correct.

Example:

import BCO
from BCO.Instruments import SfcWeather

# Get surface weather data for Dec 2013
weather = SfcWeather("20131201", "20131231")

precip = weather.getPrecipitation()
time = weather.getTime()

print(time.shape)
print(precip.shape)

Now, the shape of the time and precip arrays is 256816, but for one month (31 days) of data at 10-second resolution, I'd expect it to be of length 267840 (31 days * 24 hours * 60 minutes * 6).

I've also inspected the precip array and it doesn't seem like there are any masked points.

I'm probably doing something silly here, but any help/advice would be appreciated! :)

EDIT: Not sure which is the best way to get in contact, so I've also emailed about this.