<div dir="ltr"><div dir="ltr"><div dir="ltr"><div>Here is the simplest possible Netcdf file writer in NCL.  Put this after the line that computes prcClim:</div><div><br></div><div>    f = addfile ("<a href="http://climo.nc">climo.nc</a>", "c")</div><div>    f->prcClim = prcClim</div><div><br></div><div>This is the essence of Method 1 on the documentation page for writing Netcdf:</div><div><br></div><div>    <a href="http://www.ncl.ucar.edu/Applications/write_netcdf.shtml">http://www.ncl.ucar.edu/Applications/write_netcdf.shtml</a><br></div><div><br></div><div>Please study that page and its several examples for more details.  You may want to add things to make or copy dimension names, coordinates, and attributes.  It is often convenient to copy coordinates from the input variable to the new output variable.</div><div dir="ltr"><br></div><div dir="ltr"><br></div><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, Feb 28, 2020 at 2:39 PM zoe jacobs via ncl-talk <<a href="mailto:ncl-talk@ucar.edu">ncl-talk@ucar.edu</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div dir="ltr">Dear all,<div>considering the past conversation, I need to convert monthly climatology (<span style="background-color:rgb(159,197,232)">prcClm   = clmMonTLL(prcMonth) </span>) to a nc file ( instead of plotting ). How can I do this, please? </div><div>KInd regards,</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Nov 4, 2019 at 6:28 PM Dennis Shea <<a href="mailto:shea@ucar.edu" target="_blank">shea@ucar.edu</a>> wrote: </div></div></blockquote><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-style:solid;border-left-color:rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div><snip></div></div></blockquote></div></blockquote></div></div></div></div>