This archive contains answers to questions sent to Unidata support through mid-2025. Note that the archive is no longer being updated. We provide the archive for reference; many of the answers presented here remain technically correct, even if somewhat outdated. For the most up-to-date information on the use of NSF Unidata software and data services, please consult the Software Documentation first.
Hi Tim, > Description of problem: Initializing after unpersistence > org.python.core.PyException > > ****************** > Stack trace: > Traceback (innermost last): > File "<string>", line 1, in ? > TypeError: createLayerDifference(): expected 3 args; got 4 > > With the current development version I am not getting this error. You could try running with the nightly build (which is pretty solid and close to being released): http://www.unidata.ucar.edu/downloads/idv/nightly/index.jsp Or you could try adding this jython to your local library: def layerDiff(grid, top, bottom): return DerivedGridFactory.createLayerDifference(grid, top, bottom, None) Go to Edit->Formulas->Jython Library and past the above code into your local library and hit Save. -Jeff Ticket Details =================== Ticket ID: CYG-830753 Department: Support IDV Priority: Normal Status: Closed