[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[IDV #RPG-847631]: Error calculating flux divergence of rainwater mixing ratio (WRF model output)



Hi Dave,

A couple of follow up questions:

1. Are you have trouble calculating or displaying? In other words, the QRAIN
calculation is being done before the IDV in your workflow. Correct? Just making
sure that it is not the IDV that is doing the calculation (via a formula, etc.).

2. The standard piece of advice we tell our users for WRF data is to
post-process the output. Has the WRF data been post-processed?

With the information I have so far, it could be bad data, or bad code (on our
end) so we'll have to dig into it further.

Also if you could upload the data here:
http://motherlode.ucar.edu/repository/alias/idvupload

that would be helpful.

Best,

Unidata IDV Support


PS I am on TG break this week so response times may vary.


> Full Name: Dave Dempsey
> Email Address: address@hidden
> Organization: San Francisco State University
> Package Version: 5.2 build date:2015-08-26 18:19 UTC
> Operating System: Mac OS X
> Hardware: Java: home: /Applications/IDV_5.2/jre.bundle/Contents/Home/jre 
> version: 1.8.0_45 j3d:1.6.0-pre9-daily-experimental daily
> Description of problem: Creating display: Color-Filled Contour Plan View
> java.lang.RuntimeException: java.lang.RuntimeException: java.io.IOException: 
> java.io.IOException: org.apache.http.MalformedChunkCodingException: 
> Unexpected content at the end of chunk; QRAIN -- 35:35,0:38,0:56,0:53
> org.apache.http.MalformedChunkCodingException: Unexpected content at the end 
> of chunk; QRAIN -- 35:35,0:38,0:56,0:53
> -------------------
> 
> I'm trying to calculate the flux divergence of rainwater mixing ratio (QRAIN) 
> from WRF model output (in NetCDF format). It throws the error above.
> 
> ******************
> Stack trace:
> java.io.IOException: org.apache.http.MalformedChunkCodingException: 
> Unexpected content at the end of chunk; QRAIN -- 35:35,0:38,0:56,0:53
> at ucar.nc2.dods.DODSNetcdfFile.readData(DODSNetcdfFile.java:1665)
> at ucar.nc2.Variable.reallyRead(Variable.java:907)
> at ucar.nc2.Variable._read(Variable.java:892)
> at ucar.nc2.Variable.read(Variable.java:703)
> at ucar.nc2.dataset.VariableDS.reallyRead(VariableDS.java:557)
> at ucar.nc2.dataset.VariableDS._read(VariableDS.java:537)
> at ucar.nc2.Variable.read(Variable.java:703)
> at ucar.nc2.Variable.read(Variable.java:649)
> at ucar.nc2.dt.grid.GeoGrid.readDataSlice(GeoGrid.java:606)
> at ucar.visad.data.GeoGridFlatField.readData(GeoGridFlatField.java:244)
> at visad.data.CachedFlatField.getMyValues(CachedFlatField.java:463)
> at visad.data.CachedFlatField.unpackFloats(CachedFlatField.java:602)
> at visad.data.CachedFlatField.unpackValues(CachedFlatField.java:573)
> at visad.FlatField.unpackValues(FlatField.java:1084)
> at visad.FlatField.cloneDouble(FlatField.java:5556)
> at visad.FlatField.cloneDouble(FlatField.java:5509)
> at visad.FlatField.derivative(FlatField.java:4139)
> at visad.FlatField.derivative(FlatField.java:4483)
> at ucar.unidata.data.grid.GridMath.partial(GridMath.java:2539)
> at ucar.unidata.data.grid.GridMath.partial(GridMath.java:2508)
> at ucar.unidata.data.grid.GridMath.partial(GridMath.java:2436)
> at ucar.unidata.data.grid.GridMath.ddx(GridMath.java:2381)
> at 
> ucar.unidata.data.grid.DerivedGridFactory.makeHorizontalAdvection(DerivedGridFactory.java:2076)
> at 
> ucar.unidata.data.grid.DerivedGridFactory.createHorizontalAdvection(DerivedGridFactory.java:2031)
> at 
> ucar.unidata.data.grid.DerivedGridFactory.createHorizontalFluxDivergence(DerivedGridFactory.java:1918)
> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> at 
> sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
> at 
> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
> at java.lang.reflect.Method.invoke(Method.java:497)
> at org.python.core.PyReflectedFunction.__call__(PyReflectedFunction.java:186)
> at org.python.core.PyReflectedFunction.__call__(PyReflectedFunction.java:204)
> at org.python.core.PyObject.__call__(PyObject.java:496)
> at org.python.core.PyObject.__call__(PyObject.java:500)
> at org.python.pycode._pyx114.f$0(<string>:1)
> at org.python.pycode._pyx114.call_function(<string>)
> at org.python.core.PyTableCode.call(PyTableCode.java:167)
> at org.python.core.PyCode.call(PyCode.java:18)
> at org.python.core.Py.runCode(Py.java:1386)
> at org.python.core.__builtin__.eval(__builtin__.java:497)
> at org.python.core.__builtin__.eval(__builtin__.java:501)
> at org.python.util.PythonInterpreter.eval(PythonInterpreter.java:251)
> at ucar.unidata.data.DerivedDataChoice.getData(DerivedDataChoice.java:795)
> at ucar.unidata.data.DataChoice.getData(DataChoice.java:637)
> at ucar.unidata.data.DataInstance.getData(DataInstance.java:243)
> at ucar.unidata.data.DataInstance.getData(DataInstance.java:207)
> at ucar.unidata.data.grid.GridDataInstance.init(GridDataInstance.java:206)
> at ucar.unidata.data.grid.GridDataInstance.<init>(GridDataInstance.java:163)
> at ucar.unidata.data.grid.GridDataInstance.<init>(GridDataInstance.java:144)
> at 
> ucar.unidata.idv.control.GridDisplayControl.doMakeDataInstance(GridDisplayControl.java:293)
> at 
> ucar.unidata.idv.control.DisplayControlImpl.initializeDataInstance(DisplayControlImpl.java:3278)
> at 
> ucar.unidata.idv.control.DisplayControlImpl.setData(DisplayControlImpl.java:3234)
> at ucar.unidata.idv.control.PlanViewControl.setData(PlanViewControl.java:664)
> at 
> ucar.unidata.idv.control.ContourPlanViewControl.setData(ContourPlanViewControl.java:195)
> at ucar.unidata.idv.control.PlanViewControl.init(PlanViewControl.java:489)
> at 
> ucar.unidata.idv.control.DisplayControlImpl.init(DisplayControlImpl.java:1402)
> at 
> ucar.unidata.idv.control.DisplayControlImpl.init(DisplayControlImpl.java:1085)
> at ucar.unidata.idv.ControlDescriptor.initControl(ControlDescriptor.java:986)
> at ucar.unidata.idv.ControlDescriptor$1.run(ControlDescriptor.java:911)
> at ucar.unidata.util.Misc$3.run(Misc.java:1243)
> 
> 
> 


Ticket Details
===================
Ticket ID: RPG-847631
Department: Support IDV
Priority: Normal
Status: Open