<html>
<head>
<meta content="text/html; charset=windows-1252"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi Aditya,<br>
<br>
you may have a look at the examples 'output netcdf' method 2:<br>
<br>
<a class="moz-txt-link-freetext" href="http://ncl.ucar.edu/Applications/method_2.shtml">http://ncl.ucar.edu/Applications/method_2.shtml</a><br>
<br>
Bye,<br>
Karin<br>
<br>
<div class="moz-cite-prefix">Am 02.11.15 um 14:45 schrieb Aditya
Nalam:<br>
</div>
<blockquote
cite="mid:CAFHcRzqvQVcAiZ2WW4SmreGHv+q7HNxdXd3GwVueQ=g3r0jQbg@mail.gmail.com"
type="cite">
<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
moz-do-not-send="true"
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 moz-do-not-send="true"
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 moz-do-not-send="true"
href="http://date_time_1850clim.nc">date_time_1850clim.nc</a>
<a moz-do-not-send="true"
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
moz-do-not-send="true"
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
moz-do-not-send="true"
href="http://aero_1.9x2.5_L26_1850-1859.nc">aero_1.9x2.5_L26_1850-1859.nc</a>
<a moz-do-not-send="true"
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>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
ncl-talk mailing list
<a class="moz-txt-link-abbreviated" href="mailto:ncl-talk@ucar.edu">ncl-talk@ucar.edu</a>
List instructions, subscriber options, unsubscribe:
<a class="moz-txt-link-freetext" href="http://mailman.ucar.edu/mailman/listinfo/ncl-talk">http://mailman.ucar.edu/mailman/listinfo/ncl-talk</a>
</pre>
</blockquote>
<br>
</body>
</html>