<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 = "CF-1.0" ;<br> :source = "CAM" ;<br> :case = "ar5_cam_1850-2000_03" ;<br> :title = "" ;<br> :logname = "lamar" ;<br> :host = "be0207en.ucar.ed" ;<br> :Version = "$Name$" ;<br> :revision_Id = "$Id$" ;<br> :initial_file = "/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>" ;<br> :topography_file = "/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>" ;<br> :history = "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",<br> "\n",<br> "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>" ;<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>