EarthBigData / openSAR

Synthetic Aperture Radar (SAR) Tools and Documents from Earth Big Data LLC
http://earthbigdata.com
MIT License
116 stars 51 forks source link

ZarrExplorer() Unexpected Error in global_coherence_backscatter_sentinel1_kerchunk notebook #7

Closed martin-git closed 2 years ago

martin-git commented 2 years ago

I created a conda environment using the seppoloc.yml file and now am trying to run the global coherence visualization notebook.

The ze = ZarrExplorer() cell is throwing the following error though:

`Unexpected exception formatting exception. Falling back to standard exception Traceback (most recent call last): File "/home/gritsch/anaconda3/envs/seppoloc/lib/python3.8/site-packages/IPython/core/interactiveshell.py", line 3369, in run_code exec(code_obj, self.user_global_ns, self.user_ns) File "/tmp/ipykernel_14889/2546988111.py", line 1, in <cell line: 1> ze = ZarrExplorer() File "/tmp/ipykernel_14889/4126985306.py", line 12, in init self.global_map() File "/home/gritsch/anaconda3/envs/seppoloc/lib/python3.8/site-packages/param/parameterized.py", line 400, in _depends return func(*args, *kw) File "/tmp/ipykernel_14889/4126985306.py", line 27, in global_map overlay = overlay self.withregion() File "/tmp/ipykernel_14889/4126985306.py", line 43, in withregion return hv.DynamicMap(make_point, streams=dict(x=self.stream_tap_global.param.x, y=self.stream_tap_global.param.y)) File "/home/gritsch/anaconda3/envs/seppoloc/lib/python3.8/site-packages/holoviews/core/spaces.py", line 920, in init raise TypeError(msg.format(objs = ', '.join('%r' % el for el in invalid))) TypeError: The supplied streams list contains objects that are not Stream instances: 'x', 'y'

During handling of the above exception, another exception occurred:

Traceback (most recent call last): File "/home/gritsch/anaconda3/envs/seppoloc/lib/python3.8/site-packages/IPython/core/interactiveshell.py", line 1982, in showtraceback stb = self.InteractiveTB.structured_traceback( File "/home/gritsch/anaconda3/envs/seppoloc/lib/python3.8/site-packages/IPython/core/ultratb.py", line 1118, in structured_traceback return FormattedTB.structured_traceback( File "/home/gritsch/anaconda3/envs/seppoloc/lib/python3.8/site-packages/IPython/core/ultratb.py", line 1012, in structured_traceback return VerboseTB.structured_traceback( File "/home/gritsch/anaconda3/envs/seppoloc/lib/python3.8/site-packages/IPython/core/ultratb.py", line 865, in structured_traceback formatted_exception = self.format_exception_as_a_whole(etype, evalue, etb, number_of_lines_of_context, File "/home/gritsch/anaconda3/envs/seppoloc/lib/python3.8/site-packages/IPython/core/ultratb.py", line 818, in format_exception_as_a_whole frames.append(self.format_record(r)) File "/home/gritsch/anaconda3/envs/seppoloc/lib/python3.8/site-packages/IPython/core/ultratb.py", line 736, in format_record result += ''.join(_format_traceback_lines(frame_info.lines, Colors, self.has_colors, lvals)) File "/home/gritsch/anaconda3/envs/seppoloc/lib/python3.8/site-packages/stack_data/utils.py", line 145, in cached_property_wrapper value = obj.dict[self.func.name] = self.func(obj) File "/home/gritsch/anaconda3/envs/seppoloc/lib/python3.8/site-packages/stack_data/core.py", line 698, in lines pieces = self.included_pieces File "/home/gritsch/anaconda3/envs/seppoloc/lib/python3.8/site-packages/stack_data/utils.py", line 145, in cached_property_wrapper value = obj.dict[self.func.name] = self.func(obj) File "/home/gritsch/anaconda3/envs/seppoloc/lib/python3.8/site-packages/stack_data/core.py", line 645, in included_pieces scope_pieces = self.scope_pieces File "/home/gritsch/anaconda3/envs/seppoloc/lib/python3.8/site-packages/stack_data/utils.py", line 145, in cached_property_wrapper value = obj.dict[self.func.name] = self.func(obj) File "/home/gritsch/anaconda3/envs/seppoloc/lib/python3.8/site-packages/stack_data/core.py", line 585, in scope_pieces for piece in self.source.pieces File "/home/gritsch/anaconda3/envs/seppoloc/lib/python3.8/site-packages/stack_data/utils.py", line 145, in cached_property_wrapper value = obj.dict[self.func.name] = self.func(obj) File "/home/gritsch/anaconda3/envs/seppoloc/lib/python3.8/site-packages/stack_data/core.py", line 90, in pieces return list(self._clean_pieces()) File "/home/gritsch/anaconda3/envs/seppoloc/lib/python3.8/site-packages/stack_data/core.py", line 114, in _clean_pieces raise AssertionError("Pieces mismatches: %s" % mismatches) AssertionError: Pieces mismatches: [{681, 682}, {696, 697}, {709, 710}, {715, 716}]`

jkellndorfer commented 2 years ago

Thanks for raising this issue @martin-git. I just tested the notebook again on the seppoloc environment on a macos (Monterey 12.3.1) platform without issue. Maybe an issue with the OS Linux flavor. Also, have you ensured that seppoloc is installed only from the conda-forge channel? Possibly doublecheck your .condarc file to be something like

show_channel_urls: true
channel_priority: strict
channels:
  - conda-forge

ssl_verify: true
jkellndorfer commented 2 years ago

In case it helps, here is the output of my conda list -n seppoloc:

# packages in environment at /Users/josefk/miniconda3/envs/seppoloc:
#
# Name                    Version                   Build  Channel
_go_select                2.3.0                       cgo    conda-forge
abseil-cpp                20210324.0           he49afe7_0    conda-forge
adal                      1.2.7              pyhd8ed1ab_0    conda-forge
adlfs                     2021.9.1           pyhd8ed1ab_0    conda-forge
affine                    2.3.0                      py_0    conda-forge
aiobotocore               1.4.1              pyhd8ed1ab_0    conda-forge
aiohttp                   3.7.4.post0      py38h96a0964_0    conda-forge
aioitertools              0.8.0              pyhd8ed1ab_0    conda-forge
alembic                   1.7.1              pyhd8ed1ab_0    conda-forge
anyio                     3.3.0            py38h50d1736_0    conda-forge
appdirs                   1.4.4              pyh9f0ad1d_0    conda-forge
appnope                   0.1.2            py38h50d1736_1    conda-forge
argon2-cffi               20.1.0           py38h96a0964_2    conda-forge
arrow-cpp                 4.0.0           py38h3a85c06_1_cpu    conda-forge
asciitree                 0.3.3                      py_2    conda-forge
async-timeout             3.0.1                   py_1000    conda-forge
async_generator           1.10                       py_0    conda-forge
atk-1.0                   2.36.0               he69c4ee_4    conda-forge
attrs                     21.2.0             pyhd8ed1ab_0    conda-forge
aws-c-cal                 0.5.11               hd2e2f4b_0    conda-forge
aws-c-common              0.6.2                h0d85af4_0    conda-forge
aws-c-event-stream        0.2.7               hb9330a7_13    conda-forge
aws-c-io                  0.10.5               h35aa462_0    conda-forge
aws-checksums             0.1.11               h0010a65_7    conda-forge
aws-sdk-cpp               1.8.186              h766a74d_3    conda-forge
awscli                    1.19.106         py38h50d1736_0    conda-forge
azure-core                1.14.0             pyhd8ed1ab_0    conda-forge
azure-datalake-store      0.0.51             pyh9f0ad1d_0    conda-forge
azure-identity            1.6.0              pyhd8ed1ab_0    conda-forge
azure-storage-blob        12.8.1             pyhd8ed1ab_0    conda-forge
babel                     2.9.1              pyh44b312d_0    conda-forge
backcall                  0.2.0              pyh9f0ad1d_0    conda-forge
backports                 1.0                        py_2    conda-forge
backports.functools_lru_cache 1.6.4              pyhd8ed1ab_0    conda-forge
bleach                    4.1.0              pyhd8ed1ab_0    conda-forge
blinker                   1.4                        py_1    conda-forge
blosc                     1.21.0               he49afe7_0    conda-forge
bokeh                     2.2.3            py38h50d1736_0    conda-forge
bokeh-root-cmd            0.1.1              pyhd8ed1ab_0    conda-forge
boost-cpp                 1.74.0               hbdcdab7_3    conda-forge
boto3                     1.17.106           pyhd8ed1ab_0    conda-forge
botocore                  1.20.106           pyhd8ed1ab_0    conda-forge
branca                    0.4.2              pyhd8ed1ab_0    conda-forge
brotli                    1.0.9                h0d85af4_5    conda-forge
brotli-bin                1.0.9                h0d85af4_5    conda-forge
brotlipy                  0.7.0           py38h96a0964_1001    conda-forge
brunsli                   0.1                  h046ec9c_0    conda-forge
bzip2                     1.0.8                h0d85af4_4    conda-forge
c-ares                    1.17.2               h0d85af4_0    conda-forge
ca-certificates           2021.10.8            h033912b_0    conda-forge
cached-property           1.5.2                hd8ed1ab_1    conda-forge
cached_property           1.5.2              pyha770c72_1    conda-forge
cachetools                4.2.2              pyhd8ed1ab_0    conda-forge
cairo                     1.16.0            he43a7df_1008    conda-forge
cartopy                   0.19.0.post1     py38h4be4431_1    conda-forge
cdsdashboards             0.5.7              pyhd8ed1ab_0    conda-forge
cdsdashboards-singleuser  0.5.7                hd8ed1ab_0    conda-forge
certifi                   2021.10.8        py38h50d1736_1    conda-forge
certipy                   0.1.3                      py_0    conda-forge
cffi                      1.14.6           py38h9688ba1_0    conda-forge
cfitsio                   3.470                h01dc385_7    conda-forge
cftime                    1.5.0            py38h0793694_0    conda-forge
chardet                   4.0.0            py38h50d1736_1    conda-forge
charls                    2.2.0                h046ec9c_0    conda-forge
charset-normalizer        2.0.0              pyhd8ed1ab_0    conda-forge
click                     7.1.2              pyh9f0ad1d_0    conda-forge
click-plugins             1.1.1                      py_0    conda-forge
cligj                     0.7.2              pyhd8ed1ab_0    conda-forge
cloudpickle               2.0.0              pyhd8ed1ab_0    conda-forge
colorama                  0.4.3                      py_0    conda-forge
colorcet                  2.0.6              pyhd8ed1ab_0    conda-forge
colorlog                  6.4.1            py38h50d1736_0    conda-forge
configobj                 5.0.6                      py_0    conda-forge
configurable-http-proxy   1.3.0                         0    conda-forge
cryptography              3.4.7            py38h1fa4640_0    conda-forge
csa                       1.22.0            h1de35cc_2002    conda-forge
curl                      7.78.0               hb861fe1_0    conda-forge
cycler                    0.10.0                     py_2    conda-forge
cytoolz                   0.11.0           py38h96a0964_3    conda-forge
dask                      2.30.0                     py_0    conda-forge
dask-core                 2.30.0                     py_0    conda-forge
dask-gateway              0.9.0            py38h50d1736_2    conda-forge
dask-gateway-server       0.9.0            py38hd204072_2    conda-forge
dask-gateway-server-local 0.9.0            py38h50d1736_2    conda-forge
dask-labextension         5.1.0              pyhd8ed1ab_0    conda-forge
datashader                0.13.0             pyh6c4a22f_0    conda-forge
datashape                 0.5.4                      py_1    conda-forge
debugpy                   1.4.1            py38ha048514_0    conda-forge
decorator                 5.1.0              pyhd8ed1ab_0    conda-forge
defusedxml                0.7.1              pyhd8ed1ab_0    conda-forge
distributed               2.30.1           py38h50d1736_0    conda-forge
docutils                  0.15.2           py38h50d1736_2    conda-forge
donfig                    0.6.0              pyhd8ed1ab_0    conda-forge
entrypoints               0.3             py38h32f6830_1002    conda-forge
expat                     2.4.1                he49afe7_0    conda-forge
fasteners                 0.16               pyhd8ed1ab_0    conda-forge
ffmpeg                    4.3.2                h4dad6da_0    conda-forge
fiona                     1.8.18           py38hf4ff7c0_1    conda-forge
firefox                   92.0                 he49afe7_0    conda-forge
folium                    0.12.0             pyhd8ed1ab_1    conda-forge
font-ttf-dejavu-sans-mono 2.37                 hab24e00_0    conda-forge
font-ttf-inconsolata      3.000                h77eed37_0    conda-forge
font-ttf-source-code-pro  2.038                h77eed37_0    conda-forge
font-ttf-ubuntu           0.83                 hab24e00_0    conda-forge
fontconfig                2.13.1            h10f422b_1005    conda-forge
fonts-conda-ecosystem     1                             0    conda-forge
fonts-conda-forge         1                             0    conda-forge
freetype                  2.10.4               h4cff582_1    conda-forge
freexl                    1.0.6                h0d85af4_0    conda-forge
fribidi                   1.0.10               hbcb3906_0    conda-forge
fsspec                    2021.8.1           pyhd8ed1ab_0    conda-forge
gcsfs                     2021.8.1           pyhd8ed1ab_0    conda-forge
gdal                      3.2.1            py38hcd0f73a_7    conda-forge
gdk-pixbuf                2.42.6               h2e6141f_0    conda-forge
geckodriver               0.29.1               hb96195d_0    conda-forge
geopandas                 0.9.0              pyhd8ed1ab_1    conda-forge
geopandas-base            0.9.0              pyhd8ed1ab_1    conda-forge
geos                      3.9.1                he49afe7_2    conda-forge
geotiff                   1.6.0                h4fce3c3_4    conda-forge
geoviews                  1.8.2                      py_0    conda-forge
geoviews-core             1.8.2                      py_0    conda-forge
gettext                   0.19.8.1          h7937167_1005    conda-forge
gflags                    2.2.2             hb1e8313_1004    conda-forge
giflib                    5.2.1                hbcb3906_2    conda-forge
glog                      0.4.0                hb7f4fc5_3    conda-forge
gmp                       6.2.1                h2e338ed_0    conda-forge
gnutls                    3.6.13               h756fd2b_1    conda-forge
go                        1.16.8               hfc3b3bc_0    conda-forge
google-auth               2.0.2              pyh6c4a22f_0    conda-forge
google-auth-oauthlib      0.4.6              pyhd8ed1ab_0    conda-forge
graphite2                 1.3.13            h2e338ed_1001    conda-forge
graphviz                  2.49.0               h77de9ca_0    conda-forge
greenlet                  1.1.1            py38ha048514_0    conda-forge
gridgen                   1.51.5            h1de35cc_1000    conda-forge
gridutils                 1.0               h1de35cc_1003    conda-forge
grpc-cpp                  1.37.1               h541e7bd_0    conda-forge
gtk2                      2.24.33              h675d97a_1    conda-forge
gts                       0.7.6                hccb3bdf_2    conda-forge
h5netcdf                  0.11.0             pyhd8ed1ab_0    conda-forge
h5py                      3.3.0           nompi_py38h9a16e60_100    conda-forge
harfbuzz                  2.9.1                h159f659_0    conda-forge
hdf4                      4.2.15               hefd3b78_3    conda-forge
hdf5                      1.10.6          nompi_hc5d9132_1114    conda-forge
heapdict                  1.0.1                      py_0    conda-forge
hologridgen               1.0.2              pyhd8ed1ab_0    conda-forge
holoviews                 1.14.6             pyhd8ed1ab_0    conda-forge
hvplot                    0.7.3              pyh6c4a22f_0    conda-forge
icu                       68.1                 h74dc148_0    conda-forge
idna                      3.1                pyhd3deb0d_0    conda-forge
imagecodecs               2021.3.31        py38hc7b77fe_0    conda-forge
imageio                   2.9.0                      py_0    conda-forge
importlib-metadata        4.8.1            py38h50d1736_0    conda-forge
importlib_metadata        4.8.1                hd8ed1ab_0    conda-forge
importlib_resources       5.2.2              pyhd8ed1ab_0    conda-forge
intake                    0.6.4              pyhd8ed1ab_0    conda-forge
intake-geopandas          0.3.0              pyhd8ed1ab_0    conda-forge
intake-stac               0.3.0                      py_0    conda-forge
intake-xarray             0.5.0              pyhd8ed1ab_0    conda-forge
ipykernel                 6.4.1            py38h5fd9f69_0    conda-forge
ipyleaflet                0.14.0             pyhd8ed1ab_1    conda-forge
ipython                   7.27.0           py38h5fd9f69_0    conda-forge
ipython_genutils          0.2.0                      py_1    conda-forge
ipywidgets                7.6.4              pyhd8ed1ab_0    conda-forge
isodate                   0.6.0                      py_1    conda-forge
jasper                    1.900.1           h636a363_1006    conda-forge
jedi                      0.18.0           py38h50d1736_2    conda-forge
jhsingle-native-proxy     0.7.6              pyhd8ed1ab_0    conda-forge
jinja2                    3.0.1              pyhd8ed1ab_0    conda-forge
jmespath                  0.10.0             pyh9f0ad1d_0    conda-forge
joblib                    1.0.1              pyhd8ed1ab_0    conda-forge
jpeg                      9d                   hbcb3906_0    conda-forge
jq                        1.6               hc929b4f_1000    conda-forge
json-c                    0.15                 hcb556a6_0    conda-forge
json5                     0.9.5              pyh9f0ad1d_0    conda-forge
jsonschema                3.2.0            py38h32f6830_1    conda-forge
jupyter-server-proxy      3.1.0              pyhd8ed1ab_0    conda-forge
jupyter_client            7.0.2              pyhd8ed1ab_0    conda-forge
jupyter_core              4.7.1            py38h50d1736_0    conda-forge
jupyter_server            1.11.0             pyhd8ed1ab_0    conda-forge
jupyter_telemetry         0.1.0              pyhd8ed1ab_1    conda-forge
jupyterhub                1.3.0            py38h50d1736_0    conda-forge
jupyterhub-base           1.3.0            py38h50d1736_0    conda-forge
jupyterlab                3.1.11             pyhd8ed1ab_0    conda-forge
jupyterlab_pygments       0.1.2              pyh9f0ad1d_0    conda-forge
jupyterlab_server         2.8.1              pyhd8ed1ab_0    conda-forge
jupyterlab_widgets        1.0.1              pyhd8ed1ab_0    conda-forge
jxrlib                    1.1                  h35c211d_2    conda-forge
kealib                    1.4.14               h31dd65d_2    conda-forge
kiwisolver                1.3.2            py38h12bbefe_0    conda-forge
krb5                      1.19.2               hcfbf3a7_0    conda-forge
lame                      3.100             h35c211d_1001    conda-forge
lcms2                     2.12                 h577c468_0    conda-forge
lerc                      2.2.1                h046ec9c_0    conda-forge
libaec                    1.0.5                he49afe7_0    conda-forge
libblas                   3.9.0           11_osx64_openblas    conda-forge
libbrotlicommon           1.0.9                h0d85af4_5    conda-forge
libbrotlidec              1.0.9                h0d85af4_5    conda-forge
libbrotlienc              1.0.9                h0d85af4_5    conda-forge
libcblas                  3.9.0           11_osx64_openblas    conda-forge
libcurl                   7.78.0               hf45b732_0    conda-forge
libcxx                    12.0.1               habf9029_0    conda-forge
libdap4                   3.20.6               h3e144a0_2    conda-forge
libdeflate                1.7                  h35c211d_5    conda-forge
libedit                   3.1.20191231         h0678c8f_2    conda-forge
libev                     4.33                 haf1e3a3_1    conda-forge
libevent                  2.1.10               hddc9c9b_3    conda-forge
libffi                    3.3                  h046ec9c_2    conda-forge
libgd                     2.3.2                h4e7a7ea_0    conda-forge
libgdal                   3.2.1                h62a8350_7    conda-forge
libgfortran               5.0.0           9_3_0_h6c81a4c_23    conda-forge
libgfortran5              9.3.0               h6c81a4c_23    conda-forge
libglib                   2.68.4               hd556434_0    conda-forge
libiconv                  1.16                 haf1e3a3_0    conda-forge
libkml                    1.3.0             h8fd9edb_1014    conda-forge
liblapack                 3.9.0           11_osx64_openblas    conda-forge
liblapacke                3.9.0           11_osx64_openblas    conda-forge
libllvm11                 11.1.0               hd011deb_2    conda-forge
libnetcdf                 4.7.4           nompi_h9d8a93f_107    conda-forge
libnghttp2                1.43.0               h07e645a_0    conda-forge
libopenblas               0.3.17          openmp_h3351f45_1    conda-forge
libopencv                 4.5.1            py38h229d5d6_1    conda-forge
libpng                    1.6.37               h7cec526_2    conda-forge
libpq                     13.3                 hea3049e_0    conda-forge
libprotobuf               3.15.8               hcf210ce_1    conda-forge
librsvg                   2.50.7               hd2a7919_0    conda-forge
librttopo                 1.1.0                h5413771_6    conda-forge
libsodium                 1.0.18               hbcb3906_1    conda-forge
libspatialindex           1.9.3                he49afe7_4    conda-forge
libspatialite             5.0.1                h395434c_3    conda-forge
libssh2                   1.10.0               h52ee1ee_0    conda-forge
libthrift                 0.14.1               hab56fdc_2    conda-forge
libtiff                   4.2.0                h46d1c8c_2    conda-forge
libtool                   2.4.6             he49afe7_1008    conda-forge
libutf8proc               2.6.1                h35c211d_0    conda-forge
libuv                     1.42.0               h0d85af4_0    conda-forge
libwebp                   1.2.0                h1648767_0    conda-forge
libwebp-base              1.2.0                h0d85af4_2    conda-forge
libxml2                   2.9.12               h93ec3fd_0    conda-forge
libxslt                   1.1.33               h5739fc3_2    conda-forge
libzopfli                 1.0.3                h046ec9c_0    conda-forge
llvm-openmp               12.0.1               hda6cdc1_1    conda-forge
llvmlite                  0.37.0           py38h872f124_0    conda-forge
locket                    0.2.0                      py_2    conda-forge
lxml                      4.6.3            py38h6ea4786_0    conda-forge
lz4                       3.1.3            py38h5bcf07e_0    conda-forge
lz4-c                     1.9.3                he49afe7_1    conda-forge
mako                      1.1.5              pyhd8ed1ab_0    conda-forge
mapclassify               2.4.3              pyhd8ed1ab_0    conda-forge
markdown                  3.3.4              pyhd8ed1ab_0    conda-forge
markupsafe                2.0.1            py38h96a0964_0    conda-forge
matplotlib-base           3.4.3            py38hc7d2367_0    conda-forge
matplotlib-inline         0.1.3              pyhd8ed1ab_0    conda-forge
metpy                     1.1.0              pyhd8ed1ab_0    conda-forge
mistune                   0.8.4           py38h96a0964_1004    conda-forge
monotonic                 1.5                        py_0    conda-forge
msal                      1.14.0             pyh6c4a22f_0    conda-forge
msal_extensions           0.3.0              pyhd8ed1ab_1    conda-forge
msgpack-python            1.0.2            py38h12bbefe_1    conda-forge
msrest                    0.6.21             pyh44b312d_0    conda-forge
multidict                 5.1.0            py38h96a0964_1    conda-forge
multipledispatch          0.6.0                      py_0    conda-forge
munch                     2.5.0                      py_0    conda-forge
nbclassic                 0.3.1              pyhd8ed1ab_1    conda-forge
nbclient                  0.5.4              pyhd8ed1ab_0    conda-forge
nbconvert                 6.1.0            py38h50d1736_0    conda-forge
nbformat                  5.1.3              pyhd8ed1ab_0    conda-forge
nbgitpuller               1.0.2              pyhd8ed1ab_0    conda-forge
ncurses                   6.2                  h2e338ed_4    conda-forge
nest-asyncio              1.5.1              pyhd8ed1ab_0    conda-forge
netcdf4                   1.5.6           nompi_py38h2c97785_102    conda-forge
nettle                    3.6                  hedd7734_0    conda-forge
networkx                  2.5                        py_0    conda-forge
nn                        1.86.0            h1de35cc_2003    conda-forge
nodejs                    16.6.1               hfc3518d_0    conda-forge
nomkl                     1.0                  h5ca1d4c_0    conda-forge
notebook                  6.4.3              pyha770c72_0    conda-forge
numba                     0.54.0           py38h41dd760_0    conda-forge
numcodecs                 0.9.1            py38ha048514_0    conda-forge
numpy                     1.20.0           py38h64deac9_0    conda-forge
oauthlib                  3.1.1              pyhd8ed1ab_0    conda-forge
olefile                   0.46               pyh9f0ad1d_1    conda-forge
oniguruma                 6.9.7.1              h0d85af4_0    conda-forge
opencv                    4.5.1            py38h50d1736_1    conda-forge
openh264                  2.1.1                hfd3ada9_0    conda-forge
openjpeg                  2.4.0                h6e7aa92_1    conda-forge
openssl                   1.1.1l               h0d85af4_0    conda-forge
orc                       1.6.7                hb8e0f11_1    conda-forge
owslib                    0.25.0             pyhd8ed1ab_0    conda-forge
packaging                 21.0               pyhd8ed1ab_0    conda-forge
pamela                    1.0.0                      py_0    conda-forge
pandas                    1.2.5            py38h1f261ad_0    conda-forge
pandoc                    2.14.2               h0d85af4_0    conda-forge
pandocfilters             1.4.2                      py_1    conda-forge
panel                     0.10.3             pyhd8ed1ab_0    conda-forge
pango                     1.48.9               ha05cd14_0    conda-forge
param                     1.11.1             pyh6c4a22f_0    conda-forge
parquet-cpp               1.5.1                         1    conda-forge
parso                     0.8.2              pyhd8ed1ab_0    conda-forge
partd                     1.2.0              pyhd8ed1ab_0    conda-forge
pcre                      8.45                 he49afe7_0    conda-forge
pexpect                   4.8.0            py38h32f6830_1    conda-forge
phantomjs                 2.1.1                         1    conda-forge
pickleshare               0.7.5           py38h32f6830_1002    conda-forge
pillow                    8.2.0            py38h83525de_1    conda-forge
pint                      0.17               pyhd8ed1ab_1    conda-forge
pip                       21.2.4             pyhd8ed1ab_0    conda-forge
pixman                    0.40.0               hbcb3906_0    conda-forge
plotlydash-tornado-cmd    0.0.6              pyhd8ed1ab_0    conda-forge
pluggy                    1.0.0            py38h50d1736_1    conda-forge
pooch                     1.5.1              pyhd8ed1ab_0    conda-forge
poppler                   0.89.0               hd735947_5    conda-forge
poppler-data              0.4.11               hd8ed1ab_0    conda-forge
popt                      1.16              h7b079dc_2002    conda-forge
portalocker               1.7.0            py38h50d1736_1    conda-forge
postgresql                13.3                 he8fe76e_0    conda-forge
proj                      7.2.0                h78d1473_2    conda-forge
prometheus_client         0.11.0             pyhd8ed1ab_0    conda-forge
prompt-toolkit            3.0.20             pyha770c72_0    conda-forge
psutil                    5.8.0            py38h96a0964_1    conda-forge
psycopg2                  2.9.1            py38h05cbfbd_0    conda-forge
ptyprocess                0.7.0              pyhd3deb0d_0    conda-forge
py-opencv                 4.5.1            py38h6c79ece_1    conda-forge
pyarrow                   4.0.0           py38hf787c1d_1_cpu    conda-forge
pyasn1                    0.4.8                      py_0    conda-forge
pyasn1-modules            0.2.7                      py_0    conda-forge
pycparser                 2.20               pyh9f0ad1d_2    conda-forge
pyct                      0.4.6                      py_0    conda-forge
pyct-core                 0.4.6                      py_0    conda-forge
pycurl                    7.44.1           py38h51ed575_0    conda-forge
pyepsg                    0.4.0                      py_0    conda-forge
pygments                  2.10.0             pyhd8ed1ab_0    conda-forge
pygridgen                 0.2.1            py38hbe852b5_4    conda-forge
pyjwt                     2.1.0              pyhd8ed1ab_0    conda-forge
pykdtree                  1.3.4            py38hf3d72b9_0    conda-forge
pyopenssl                 20.0.1             pyhd8ed1ab_0    conda-forge
pyorbital                 1.6.1              pyhd8ed1ab_0    conda-forge
pyparsing                 2.4.7              pyh9f0ad1d_0    conda-forge
pyproj                    3.1.0            py38h5bbac10_3    conda-forge
pyresample                1.21.0           py38ha53d530_0    conda-forge
pyrsistent                0.17.3           py38h96a0964_2    conda-forge
pyshp                     2.1.3              pyh44b312d_0    conda-forge
pysocks                   1.7.1            py38h50d1736_3    conda-forge
pyspectral                0.10.5             pyhd8ed1ab_0    conda-forge
python                    3.8.10          h0e5c897_0_cpython    conda-forge
python-dateutil           2.7.5                      py_0    conda-forge
python-geotiepoints       1.3.0            py38hbe852b5_0    conda-forge
python-gist               0.10.6             pyhd8ed1ab_0    conda-forge
python-gnupg              0.4.7              pyhd8ed1ab_0    conda-forge
python-json-logger        2.0.1              pyh9f0ad1d_0    conda-forge
python-snappy             0.6.0            py38hb048d56_0    conda-forge
python_abi                3.8                      2_cp38    conda-forge
pytz                      2021.1             pyhd8ed1ab_0    conda-forge
pyu2f                     0.1.5              pyhd8ed1ab_0    conda-forge
pyviz_comms               2.1.0              pyhd8ed1ab_0    conda-forge
pywavelets                1.1.1            py38hbe852b5_3    conda-forge
pyyaml                    5.4.1            py38h96a0964_1    conda-forge
pyzmq                     22.2.1           py38hd3b92b6_0    conda-forge
rasterio                  1.2.6            py38h9a50708_0    conda-forge
re2                       2021.04.01           he49afe7_0    conda-forge
readline                  8.1                  h05e3726_0    conda-forge
rechunker                 0.4.2              pyhd8ed1ab_0    conda-forge
requests                  2.26.0             pyhd8ed1ab_0    conda-forge
requests-oauthlib         1.3.0              pyh9f0ad1d_0    conda-forge
requests-unixsocket       0.2.0                      py_0    conda-forge
retrying                  1.3.3                      py_2    conda-forge
rioxarray                 0.7.0              pyhd8ed1ab_0    conda-forge
rsa                       4.7.2              pyh44b312d_0    conda-forge
rshiny-server-cmd         0.0.2                      py_0    conda-forge
rsync                     3.2.3                h71e35cd_1    conda-forge
rtree                     0.9.7            py38hc59ffc2_2    conda-forge
ruamel.yaml               0.17.16          py38h96a0964_0    conda-forge
ruamel.yaml.clib          0.2.2            py38h5406a74_2    conda-forge
s3fs                      0.6.0              pyhd8ed1ab_0    conda-forge
s3transfer                0.4.2              pyhd8ed1ab_0    conda-forge
sat-search                0.3.0                      py_0    conda-forge
sat-stac                  0.4.1              pyh44b312d_0    conda-forge
satpy                     0.29.0             pyhd8ed1ab_0    conda-forge
scikit-image              0.18.3           py38ha53d530_0    conda-forge
scikit-learn              0.24.2           py38h1021539_1    conda-forge
scipy                     1.7.1            py38hd329d04_0    conda-forge
selenium                  3.141.0         py38h96a0964_1002    conda-forge
send2trash                1.8.0              pyhd8ed1ab_0    conda-forge
setuptools                58.0.4           py38h50d1736_0    conda-forge
shapely                   1.7.1            py38h1830c62_5    conda-forge
simpervisor               0.4                pyhd8ed1ab_0    conda-forge
six                       1.16.0             pyh6c4a22f_0    conda-forge
snappy                    1.1.8                hb1e8313_3    conda-forge
sniffio                   1.2.0            py38h50d1736_1    conda-forge
snuggs                    1.4.7                      py_0    conda-forge
sortedcontainers          2.4.0              pyhd8ed1ab_0    conda-forge
spatialpandas             0.4.3              pyhd8ed1ab_0    conda-forge
sqlalchemy                1.4.23           py38h96a0964_0    conda-forge
sqlite                    3.36.0               h23a322b_1    conda-forge
tblib                     1.7.0              pyhd8ed1ab_0    conda-forge
terminado                 0.12.1           py38h50d1736_0    conda-forge
testpath                  0.5.0              pyhd8ed1ab_0    conda-forge
threadpoolctl             2.2.0              pyh8a188c0_0    conda-forge
tifffile                  2021.4.8           pyhd8ed1ab_0    conda-forge
tiledb                    2.2.9                he9a4fb4_0    conda-forge
tk                        8.6.11               h5dbffcc_1    conda-forge
toolz                     0.11.1                     py_0    conda-forge
tornado                   6.1              py38h96a0964_1    conda-forge
tqdm                      4.62.2             pyhd8ed1ab_0    conda-forge
traitlets                 5.1.0              pyhd8ed1ab_0    conda-forge
traittypes                0.2.1              pyh9f0ad1d_2    conda-forge
trollimage                1.15.1             pyhd8ed1ab_0    conda-forge
trollsift                 0.3.5              pyh44b312d_0    conda-forge
typing-extensions         3.10.0.0             hd8ed1ab_0    conda-forge
typing_extensions         3.10.0.0           pyha770c72_0    conda-forge
tzcode                    2021a                h0d85af4_2    conda-forge
tzdata                    2021a                he74cb21_1    conda-forge
urllib3                   1.26.6             pyhd8ed1ab_0    conda-forge
utide                     0.2.6              pyhd8ed1ab_0    conda-forge
vim                       8.2.3423         py38hd4b178d_0    conda-forge
wcwidth                   0.2.5              pyh9f0ad1d_2    conda-forge
webencodings              0.5.1                      py_1    conda-forge
websocket-client          0.57.0           py38h50d1736_4    conda-forge
wheel                     0.37.0             pyhd8ed1ab_1    conda-forge
widgetsnbextension        3.5.1            py38h50d1736_4    conda-forge
wrapt                     1.12.1           py38h96a0964_3    conda-forge
x264                      1!161.3030           h0d85af4_1    conda-forge
xarray                    0.19.0             pyhd8ed1ab_1    conda-forge
xarray-spatial            0.2.9              pyhd8ed1ab_0    conda-forge
xerces-c                  3.2.3                h379762d_2    conda-forge
xxhash                    0.8.0                h35c211d_3    conda-forge
xz                        5.2.5                haf1e3a3_1    conda-forge
yaml                      0.2.5                haf1e3a3_0    conda-forge
yarl                      1.6.3            py38h96a0964_2    conda-forge
zarr                      2.9.5              pyhd8ed1ab_0    conda-forge
zeromq                    4.3.4                he49afe7_1    conda-forge
zfp                       0.5.5                h4a89273_6    conda-forge
zict                      2.0.0                      py_0    conda-forge
zipp                      3.5.0              pyhd8ed1ab_0    conda-forge
zlib                      1.2.11            h7795811_1010    conda-forge
zstd                      1.4.9                h582d3a0_0    conda-forge
martin-git commented 2 years ago

Thanks a lot for the quick reply! Yes, everything was from conda-forge but there were some version differences. I removed the environment, cleaned the package cache and fixed some version numbers in the yaml file. After reinstalling the environment it is working now!

One of the things that also needed fixing even before the error occured: There seems to be a problem with jinja2>3.0.1, because jinja2.Markup is deprecated in newer versions.

Here is my version of seppoloc.yaml which worked:

name: seppoloc
channels: [conda-forge]
dependencies: [adlfs, aiobotocore, awscli, bokeh=2.2.3, boto3, cartopy, dask-labextension,
  dask ==2.30.0, distributed ==2.30.1, dask-gateway ==0.9.0, ffmpeg, folium, fsspec,
  gcsfs, geoviews, go, graphviz, h5netcdf, h5py, hologridgen, holoviews=1.14.6, hvplot,
  intake, intake-geopandas, intake-stac, intake-xarray, ipykernel, ipyleaflet, ipywidgets,
  jinja2=3.0.1, jq, lxml, lz4, metpy, nbgitpuller, nodejs, nomkl, numba, opencv, owslib,
  pandas=1.2, panel, pip, psycopg2, pyepsg, python-gist, python=3.8.10, pyyaml, rasterio, rechunker,
  requests, rioxarray, rsync, s3fs, sat-search, sat-stac, satpy, scikit-image, scikit-learn,
  scipy, tornado, utide, vim, xarray=0.19.0, xarray-spatial, zarr, cdsdashboards-singleuser>=0.5.6, jupyterlab=3.1.11, zarr=2.9.5]
jkellndorfer commented 2 years ago

Thanks @martin-git ! I verified your changes to work on my system and changed the seppoloc.yaml to your version.