Project

General

Profile

When i merge Tmax and Tmin files the value is average to the merged file and i want to have both values how to merge

Added by Slavko Georgievski over 1 year ago

Hi guys,

i need help really, when i merge 2 files one for Tmax and the other for Tmin i get one merged file with the average temperature. But i need a file with both values tmax and tmin. the merging files are same grids with same timestamps.
Please help.

i use command

cdo mergetime infile.nc infile.nc outfile.nc


Replies (3)

RE: When i merge Tmax and Tmin files the value is average to the merged file and i want to have both values how to merge - Added by Slavko Georgievski over 1 year ago

okay i will try, so when i convert the outfile to csv should i command it like this:

cdo outputtab,date,lon,lat,value,value outfile.nc outfile.csv?

RE: When i merge Tmax and Tmin files the value is average to the merged file and i want to have both values how to merge - Added by Uwe Schulzweida over 1 year ago

The CDO operator outputtab writes to standard output. You have to redirected the standard output with > to write to a file:

cdo outputtab,date,lon,lat,value,value outfile.nc > outfile.csv?

    (1-3/3)