This is another way and these commands seems to be right for writing variables into netcdf files. You can verify whether it is right or not by comparing the output data with the original input netcdf file.  Good Luck.<br><br>

<br clear="all"><div><br></div>-- <br>Sincerely<br>***********************************************<br>Jayakrishnan.P.R<br>CSIR-Senior Research Fellow<br>Department of Atmospheric Sciences<br>Cochin University of Science and Technology (CUSAT), Cochin-682 016<br>

Kerala, India.<br>Mob: 09895417565<br><br>***********************************************<br>