yt87
yt87
I did more tests. It is not bokeh, there is something going on. I duplicated the code below in two identical notebooks. ``` import panel as pn import hvplot.pandas #...
I did more testing. My enviroments: ``jupyter``: ``bokeh 3.3.2``, ``pyviz_comms 3.3.0``, ``panel 1.3.4`` ``icec``: same as above ``test``: same ``test2``: ``bokeh 3.3.1``, rest same as above. I use ``jupyter`` to...
I doubt this is caused by only 0 data values. Here is a plot with full dataset.  There are several months with no ice, but no spurious lines show...
Thanks, that worked.
The relevant change was made to ``_choose_flooat_dtype`` in ``xarray/coding/variables.py``. The variable's dtype is determined by dtype of ``scale_factor``. Changing ``encoding = {'foo': {'_FillValue': 255, 'dtype': 'uint8', 'scale_factor': 0.01}}`` to ``encoding...
It would be helpful to have a link. The CF conventions document is quite long.
I would add a note that the ``scale_factor`` and ``add_offset`` determine variable type upon reading. That's what tripped me. I know now that is in the provided link, but the...
An exception is required in order to pop up the **Jupyterlab Code Formatter Error** dialog. Black raises ``InvalidInput`` when ``black.format_str`` fails. My quick and dirty solution is: 1. Remove quiet...
My vote is to have both, a warning, and an option to fill missing data with NaNs. My use case: I have an archive of 15 years of monthly forecasts....
It is ``np.nan`` that causes the error: ``` print(xr.DataArray([1, 2, 3]).chunk(dim_0=1).as_cupy().sum(min_count=1)) Size: 8B dask.array print(xr.DataArray([1, 2, np.nan]).chunk(dim_0=1).as_cupy().sum(min_count=1)) Size: 8B dask.array ``` My use case: I have a large TYX array...