I have tried several Colab notebook examples (for instance, the chart notebooks), but I get an error when the .grib file is to be loaded using client.retrieve(). For example in notebook medium-mslp-wind850.ipynb
client.retrieve(
date=0,
time=0,
step=12,
stream=“oper”,
type=“fc”,
levtype=“sfc”,
param=sfc_parameters,
target=sfc_filename
)
Trace:
TypeError Traceback (most recent call last)
in <cell line: 1>()
----> 1 client.retrieve(
2 date=0,
3 time=0,
4 step=72,
5 stream=“enfo”,
3 frames
/usr/local/lib/python3.10/dist-packages/multiurl/http.py in title(self)
124 value, params = parse_separated_header(headers[“content-disposition”])
125 if “filename” in params:
→ 126 return params[“filename”]
127 return super().title()
128
TypeError: string indices must be integers