diff --git a/ece2cmor3/lpjg2cmor.py b/ece2cmor3/lpjg2cmor.py index c0085748..bf509ba8 100644 --- a/ece2cmor3/lpjg2cmor.py +++ b/ece2cmor3/lpjg2cmor.py @@ -637,7 +637,7 @@ def add_nemo_variable(task, ncfile, nemo_var_name, nemo_var_freq): # add the nemo output to the lpjg output if os.path.exists(interm_file): os.remove(interm_file) - os.system("cdo -L add -selvar,"+task.target.variable+" "+ncfile+" "+nemo_ofile+" "+interm_file) + os.system("cdo -L add -selvar,"+task.target.variable+" "+ncfile+" -mulc,-1. "+nemo_ofile+" "+interm_file) if not os.path.exists(interm_file): log.error("There was a problem adding remapped %s variable from nemo output file %s to %s in table %s... " % (nemo_var_name, nemo_ifile, task.target.variable, task.target.table))