Closed rbeucher closed 1 year ago
Is there a way to concatenate those files? Should we download averages from CDS?
Those are the recipes affected:
Data can be concatenated offline with little effort.
#!/bin/python
import iris
from iris.util import equalise_attributes
var = "2t"
for year in range(1959, 2023):
print(f"Doing year {year} for variable {var}")
cubes = iris.load(f"*_{year}*")
equalise_attributes(cubes)
cube = cubes.concatenate()
iris.save(cube, f"{var}_era5_moda_sfc_{year}_monthly.nc")
Now I don't know if it is viable long term
On Gadi, ERA5 monthly data are stored as one file / month
While ESMValTool recipe usually expect one file / one year (with the 12 months averages)