<div dir="ltr"><span style="color:rgb(0,0,0);font-family:&#39;Segoe UI&#39;,Helvetica,Arial,sans-serif;font-size:13px">I am trying to overwrite a netcdf4 file analogous to what is shown at </span><a href="https://exchange.ou.edu/owa/redir.aspx?C=owjNhXjJeU2q3l_CtHOdFTi5otfobdIIrQJSmDqpIJwEqeu5PSxBrYF-uWWKJzwXX3oP_TJTgXA.&amp;URL=http%3a%2f%2fwww.ncl.ucar.edu%2fApplications%2fchange_netCDF.shtml" target="_blank" style="font-family:&#39;Segoe UI&#39;,Helvetica,Arial,sans-serif;font-size:13px">http://www.ncl.ucar.edu/Applications/change_netCDF.shtml</a><span style="color:rgb(0,0,0);font-family:&#39;Segoe UI&#39;,Helvetica,Arial,sans-serif;font-size:13px">.  In the attached ncl script, I open the file to be modified at line 35 and attempt the modification at line 73 (with a lot of calculations in between).  While I have double-checked that the modified field (var_mod) has the same dimensionality as the original variable (QRAIN), I am still get a segmentation fault/core dump.  Never had this problem when I tried to manipulate netcdf3 files.  Could it possibly be related to the netcdf4 compression?  It’s possible I may be trying to do something that’s no longer possible.</span><br style="color:rgb(0,0,0);font-family:&#39;Segoe UI&#39;,Helvetica,Arial,sans-serif;font-size:13px"><br style="color:rgb(0,0,0);font-family:&#39;Segoe UI&#39;,Helvetica,Arial,sans-serif;font-size:13px"><span style="color:rgb(0,0,0);font-family:&#39;Segoe UI&#39;,Helvetica,Arial,sans-serif;font-size:13px">Thanks in advance for any suggestions.</span><br style="color:rgb(0,0,0);font-family:&#39;Segoe UI&#39;,Helvetica,Arial,sans-serif;font-size:13px"><br style="color:rgb(0,0,0);font-family:&#39;Segoe UI&#39;,Helvetica,Arial,sans-serif;font-size:13px"><span style="color:rgb(0,0,0);font-family:&#39;Segoe UI&#39;,Helvetica,Arial,sans-serif;font-size:13px">-Dusty Wheatley</span><br></div>