id,summary,reporter,owner,description,type,status,priority,milestone,component,version,severity,resolution,keywords,cc 1708,bug in icb_combrest.py,davestorkey,davestorkey," The python script to complete the rebuilding of iceberg restarts (after rebuild_nemo has rebuilt the 2D fields) doesn't work if there are icebergs on the zeroth processor. In this case rebuild_nemo adds the zeroth-processor icebergs to the partially-rebuilt file and icb_combrest.py fails because it can't overwrite the icebergs dimension ""n"". There is no way to delete variables or dimensions in netcdf files using the netcdf APIs so the solution is to copy the 2D variables from the partially rebuilt file to a new file and then write the iceberg information to that file. I have modified the routine (modified routine attached to this ticket). This gives the same answer as the original routine for a nonproblematic restart (with no icebergs on the zeroth processor) and also works for a problematic restart (with icebergs on the zeroth processor). Will commit to the trunk and 3.6_stable branch after review.",Bug,closed,low,Unscheduled,OCE,v3.6,,fixed,,