Skip to content
This repository has been archived by the owner on Mar 9, 2022. It is now read-only.

Xarray occasionally forces data variables to all zeros #66

Open
s-kganz opened this issue Aug 7, 2018 · 3 comments
Open

Xarray occasionally forces data variables to all zeros #66

s-kganz opened this issue Aug 7, 2018 · 3 comments

Comments

@s-kganz
Copy link
Contributor

s-kganz commented Aug 7, 2018

First observed on CTD instrument RS01SBPS-SF01A-2A-CTDPFA102 for November 2016. Calling open_mfdataset or open_dataset to open data at an OpenDAP URL will sometimes result in the obs and/or time variables being set to all zeros.

@s-kganz
Copy link
Contributor Author

s-kganz commented Aug 7, 2018

Issue also occurs for some data variables, but more rarely. For ex, requesting CTD in June 2016 results in seawater_pressure getting zero'd.

jun.search(region="cabled",instrument="ctd,nitrate",node="SF01A")

@s-kganz
Copy link
Contributor Author

s-kganz commented Aug 8, 2018

Issue can occur for only part of the dataset. Below, the plot color codes with pressure. One streak is colored, the other is all zeros.
newplot

@s-kganz
Copy link
Contributor Author

s-kganz commented Aug 10, 2018

Continually redoing the to_xarray() call will sometimes fix the problem. In 40 trials checking 3 different variables, all three arrived 19 times.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant