Background
You need to download the appropriate software from
https://pypi.org/project/ecmwf-api-client/
in order to use these scripts.
We need to retrieve three types of files efficiently for the two reanalyses with experiment id = 21 and experiment id = 22. These are all class=ea. The three "streams" are oper, moda and mfb:
...