Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

sample notebook failure #131

Open
jmontrose opened this issue Jul 16, 2024 · 1 comment
Open

sample notebook failure #131

jmontrose opened this issue Jul 16, 2024 · 1 comment

Comments

@jmontrose
Copy link

Not a blocker, just looking around.

Tried out the notebook instructions from the docs:

udf = fused.load("https://github.com/fusedio/udfs/tree/main/public/LULC_Tile_Example")
arr = fused.run(udf=udf, x=5241, y=12667, z=15)

And got this failure:

---------------------------------------------------------------------------
ValueError                                Traceback (most recent call last)
[<ipython-input-2-e0f60be8a49e>](https://dnyjr4pdoe-496ff2e9c6d22116-0-colab.googleusercontent.com/outputframe.html?vrz=colab_20240711-060152_RC00_651359636#) in <cell line: 4>()
      2 
      3 udf = fused.load("https://github.com/fusedio/udfs/tree/main/public/LULC_Tile_Example")
----> 4 arr = fused.run(udf=udf, x=5241, y=12667, z=15)
      5 arr

5 frames
<string> in udf(bbox, context, year)

<string> in bbox_stac_items(bbox, table)

[/usr/local/lib/python3.10/dist-packages/fused/core/_impl/_table_ops_impl.py](https://dnyjr4pdoe-496ff2e9c6d22116-0-colab.googleusercontent.com/outputframe.html?vrz=colab_20240711-060152_RC00_651359636#) in get_chunks_metadata(url)
     32         or sample_metadata.metadata[b"fused:format_version"] != b"5"
     33     ):
---> 34         raise ValueError(
     35             "Dataset does not have Fused metadata or it is an incompatible version."
     36         )

ValueError: Dataset does not have Fused metadata or it is an incompatible version.

Here is the notebook:

https://colab.research.google.com/drive/1H6hZJSJ-P7k1ABbcXcb39l_Vg959WVzQ?usp=sharing

@pgzmnk
Copy link
Contributor

pgzmnk commented Jul 23, 2024

Thank you for reporting this @jmontrose. We will take a look and respond here.

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

No branches or pull requests

2 participants