NASA-IMPACT / veda-docs

Documentation for the VEDA Project
https://nasa-impact.github.io/veda-docs
Apache License 2.0
7 stars 7 forks source link

Investigate failures in intake.ipynb notebook #120

Closed abarciauskas-bgse closed 8 months ago

abarciauskas-bgse commented 9 months ago

While testing https://github.com/NASA-IMPACT/veda-jh-environments/pull/43 I noticed some issues in the intake notebook, but I don't think they are related to that upgrade as I ran the same notebook with the current nasa-veda-singleuser environment and I am seeing a few failures.

See https://github.com/NASA-IMPACT/veda-docs/blob/ab/intake-errors/notebooks/quickstarts/intake.ipynb for the full stack trace but the errors are:

  1. AttributeError: 'DataArray' object has no attribute 'nodatavals' from xarray. I can't tell when such a property did exist for xarray.DataArray yet.
  2. If we fix (1) with ._FillValue replacing .nodatavalues[0] we can execute the next cell but then get ValueError: cannot convert float NaN to integer