Graph Machine Learning
AnemoI
English

Obtaining all 50 Input Conditions at Once

#9
by shroffr-pw - opened

Has there been a script developed that pulls all 50 ensemble member input states at once by any chance? While the script I generated is able to get all 50 members in about 4-5 minutes by using concurrency, I frequently run into excessive request errors/general bugginess.

When requesting data from opendata you can specify number as a list, and will pull all members at once.
i.e.

import earthkit.data as ekd

ds = ekd.from_source("ecmwf-open-data", 
    dict(
        number = list(range(1, 51)),
        param = '2t',
        date='-1',
        levtype='sfc',
        step=0,
        stream='enfo',
    )
)
hcookie129 changed discussion status to closed

Sign up or log in to comment