fusedio / udfs

Public Fused UDFs. Build any scale workflows with the Fused Python SDK and Workbench webapp, and integrate them into your stack with the Fused Hosted API.
https://www.fused.io
MIT License
173 stars 33 forks source link

sample notebook failure #131

Open jmontrose opened 1 month ago

jmontrose commented 1 month ago

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 commented 1 month ago

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