plesager / ece3-postproc

Suite of processing tools for EC-Earth3 output
5 stars 8 forks source link

broken hiresclim2 with CMIP6 piControl output #42

Closed plesager closed 5 years ago

plesager commented 5 years ago

Code crashes because it cannot find the lsp variable:

cdo setparam: Started child process "expr,totp=1000*(lsp+cp)/21600 icmgg_1990.grb (pipe1.1)". cdo(2) expr (Abort): Variable >lsp< not found!

Instead totp (total precipitation name from using hiresclim2/script/ecearth.tab table) is already available in the IFS output. The code need to check which of the 3 precipitation variables are available and adapt accordingly.

plesager commented 5 years ago

Fixed the IFS part in 3b740ca0b05fbfdc185f. Now problems with the NEMO output: its file names are not those expected.

plesager commented 5 years ago

Fixed NEMO part in 8d9515b. Currently only in the cmip6-output branch.

plesager commented 5 years ago

An additional fix has been committed (29c84b0) to account for a mix of 3 and 6 hourly output. It is basically a grib filter that has been tested on the piControl output.

plesager commented 5 years ago

The cmip6-output branch has been merged in the master. Output from the default ctrl and the crtl/cmip6-output-control-files/ are handled correctly and conveniently with a CMIP6 switch.