<div dir="ltr"><div><div>I have copied all the variables in the available nc file obtained from CESM and then created another nc file with some modifications.<br><br></div>When i apply ncdump -h command over the original and modified nc files, i made sure all the variables were copied. But the global attributes of the original nc file were not copied to the modified nc file. May i know how to transfer them?<br><br><br></div><div>The following is the global attribute section of the original nc file upon ncdump -h command (NetCDF)<br></div><div><br>// global attributes:<br>        :Conventions = &quot;CF-1.0&quot; ;<br>        :source = &quot;CAM&quot; ;<br>        :case = &quot;ar5_cam_1850-2000_03&quot; ;<br>        :title = &quot;&quot; ;<br>        :logname = &quot;lamar&quot; ;<br>        :host = &quot;be0207en.ucar.ed&quot; ;<br>        :Version = &quot;$Name$&quot; ;<br>        :revision_Id = &quot;$Id$&quot; ;<br>        :initial_file = &quot;/ptmp/lamar/cam-inputs/<a href="http://ar5_cam_1850_06.cam2.i.1860-01-01-00000.nc">ar5_cam_1850_06.cam2.i.1860-01-01-00000.nc</a>&quot; ;<br>        :topography_file = &quot;/fs/cgd/csm/inputdata/atm/cam/topo/<a href="http://USGS-gtopo30_1.9x2.5_remap_c050602.nc">USGS-gtopo30_1.9x2.5_remap_c050602.nc</a>&quot; ;<br>        :history = &quot;Tue Nov 17 10:49:34 2009: ncks --append -v date,time <a href="http://date_time_1850clim.nc">date_time_1850clim.nc</a> <a href="http://aero_1.9x2.5_L26_1850clim_c091112.nc">aero_1.9x2.5_L26_1850clim_c091112.nc</a>\n&quot;,<br>            &quot;\n&quot;,<br>            &quot;11/17/09 10:28:32 eaton:be1105en.ucar.ed:interpic -e T -p 4 -t /fis/cgd/cseg/csm/inputdata/atm/cam/inic/fv/<a href="http://camchemi_0012-01-01_1.9x2.5_L26_c081104.nc">camchemi_0012-01-01_1.9x2.5_L26_c081104.nc</a> /ptmp/lamar/IPCC_AR5/Climatologies_20091110/<a href="http://aero_1.9x2.5_L26_1850-1859.nc">aero_1.9x2.5_L26_1850-1859.nc</a> <a href="http://aero_1.9x2.5_L26_1850-1859.r4.nc">aero_1.9x2.5_L26_1850-1859.r4.nc</a>&quot; ;<br>}<br><br><br><br><br></div>Thank you very much<br clear="all"><div><div><div><br>-- <br><div class="gmail_signature">Regards<br>Adithya Nalam<br></div>
</div></div></div></div>