Skip to content
Snippets Groups Projects
Commit a3c1abcc authored by Frisinghelli Daniel's avatar Frisinghelli Daniel
Browse files

Check sequential implementation.

parent 40ac1e6d
No related branches found
No related tags found
No related merge requests found
......@@ -56,11 +56,11 @@ if __name__ == '__main__':
# download data for the different variables
for var in variables:
c.retrieve(product, CONFIG.update({'variable': var}), str(
c.retrieve(product, {**CONFIG, **{'variable': var}}, str(
target.joinpath('_'.join(['ERA5', var, years[0], years[-1]])
+ '.nc')))
# Parallel(n_jobs=min(len(variables), os.cpu_count()), verbose=51)(
# delayed(c.retrieve)(product, CONFIG.update({'variable': var}), str(
# delayed(c.retrieve)(product, {**CONFIG, **{'variable': var}}, str(
# target.joinpath('_'.join(['ERA5', var, years[0], years[-1]])
# + '.nc'))) for var in variables)
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment