Primary competition visual

AgriFieldNet India Challenge

Helping India
$10 000 USD
Completed (over 3 years ago)
Classification
Earth Observation
773 joined
179 active
Starti
Sep 05, 22
Closei
Oct 31, 22
Reveali
Oct 31, 22
User avatar
okonp07
Error connecting to the database using Google colab
Connect · 2 Oct 2022, 05:12 · 2

I am working on the project using google colab. When I append my Ml_hub API keys to access the data set, I get an error instead of the data. Please has anyone succeeded to access the data from google colab? Note that the code cell I ran is the code contained in the starter notebook and it runs fine in jupyter on my local machine. I'm having trouble getting rasterio to import on my machine though and colab provides better computational resources and runs/imports all dependencies without issues, hence my preference for it. Kindly assit. Here is the encountered error, for context.

MLHub API Key: ··········
---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)
<ipython-input-7-154485b99479> in <module>
     13 )
     14 
---> 15 dataset.download(collection_filter=my_filter)
TypeError: download() got an unexpected keyword argument 'collection_filter'
Discussion 2 answers
User avatar
MICADEE
LAHASCOM
2 Oct 2022, 06:13
Upvotes 0
User avatar
okonp07

Thanks @MICADEE. Works perfectly.

2 Oct 2022, 15:03
Upvotes 1