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 almost 2 years 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 Uwe Schulzweida almost 2 years ago
Use merge for this task:
cdo merge infile1.nc infile2.nc outfile.nc
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 almost 2 years 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 almost 2 years 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?