outputtab - values in columns?
Added by Natalia L about 5 years ago
Hello,
I have a netcdf file with several fields (field1, field2 etc.) I want to convert it to an ascii file but put the fields in separate columns.When I execute the following command
cdo outputtab,value field1, field2,field3 infile outfile
I get an ascii file where all fields are written in one column. Is it possible to get the ascii with the fields in separate columns (column1, column2, column 3) ?
Thank you
Nat
.
Replies (2)
RE: outputtab - values in columns? - Added by Natalia L about 5 years ago
Natalia L wrote:
Hello,
I have a netcdf file with several fields (field1, field2 etc.) I want to convert it to an ascii file but put the fields in separate columns.When I execute the following commandcdo outputtab,value -selname, field1, field2,field3 infile outfile
I get an ascii file where all fields are written in one column. Is it possible to get the ascii with the fields in separate columns (column1, column2, column 3) ?
Thank you
Nat
.
RE: outputtab - values in columns? - Added by Ralf Mueller about 5 years ago
hi!
this kind out output is now possible out-of-the-box with CDO. But you can merge the outputs of each variable with the unix command
paste
cheers
ralf