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

[IDV #IOZ-125063]: Sounding display fails on dataset it used to work on



> This fails, for reasons I can’t guess.
> Syntax looks OK, but the last 4 attributes all fail to show up when the 
> datafile is opened in IDV.
> 
> 
> <variable name="rh" shape="time lev lat lon" type="float">
> <attribute name="units" value="%" />
> <attribute name="scale_factor" type="float" value="100.0" />
> <attribute name="add_offset" type="float" value="0.0" />
> <attribute name="missing_value" type="float" value="1E15" />
> <attribute name="valid_range" type="float" value="-1E7 1E7" />
> </variable>
> 
> 

I think you did the right thing here, and these attributes not supposed to show 
up in the data property window of the IDV. I checked the value of RH and it 
looked corrected to me.


Yuan
> 
> On Sep 10, 2015, at 5:47 PM, Brian Mapes 
> <address@hidden<mailto:address@hidden>> wrote:
> 
> But RH units are not %, values are 0-1.
> 
> What’s the easiest fix? A scale factor or something?
> 
> 
> <PastedGraphic-5.png>
> 
> 
> On Sep 10, 2015, at 3:37 PM, Unidata IDV Support 
> <address@hidden<mailto:address@hidden>> wrote:
> 
> 
> 
> On Sep 10, 2015, at 1:39 PM, Unidata IDV Support 
> <address@hidden<mailto:address@hidden><mailto:address@hidden>> wrote:
> 
> This finds some
> 
> http://weather.rsmas.miami.edu/repository/search/do?search.type=search.type.text&search.submit.x=0&search.submit.y=0&search.submit=search.submit&text=sounding&provider=this
> 
> 
> 
> 
> I don't think there is anything changed in the IDV caused this error, I 
> simply copy the merra_ai3cpasm.ncml url and see the same error in the earlier 
> version of the IDV.
> 
> Could you send me a copy of this file merra_ai3cpasm.ncml?  I need to look 
> into it.
> 
> 
> Yuan
> 
> 
> Brian,
> Replace the ncml file in your server and your bundle will work. The change I 
> made to the ncml is adding one line of unit attribute for the RH field. The 
> answer to
> your first question: " What has changed? " is that the unit checking is 
> getting more serious in the later version and it likely happened in the 
> netCDF java library.
> 
> 
> Yuan
> 
> 
> On Sep 10, 2015, at 12:28 PM, Unidata IDV Support 
> <address@hidden<mailto:address@hidden><mailto:address@hidden><mailto:address@hidden>>
>  wrote:
> 
> Full Name: brian mapes
> Email Address: 
> address@hidden<mailto:address@hidden><mailto:address@hidden><mailto:address@hidden>
> Organization: UM
> 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: MERRA with my units fixer used to work for sounging 
> displays. In fact, Don making me this .ncml was an early success that got me 
> hooked on the IDV.
> 
> Now all my old MERRA bundles with soundings fail, and creating a new sounding 
> display fails.
> 
> What has changed?
> 
> Brian
> 
> 
> Brian,
> Where are those bundles located? I would like to try it here to understand 
> the problem.
> 
> 
> Yuan
> ----------
> Creating display: Grid Skew-T
> visad.TypeException: visad.TypeException: MathType of data object 
> (((lon[unit:degrees_east], lat[unit:degrees_north], lev[unit:millibar]) -> 
> Generic_1_nullUnit)) is incompatible with required MathType 
> (SaturationVaporPressure)
> MathType of data object (((lon[unit:degrees_east], lat[unit:degrees_north], 
> lev[unit:millibar]) -> Generic_1_nullUnit)) is incompatible with required 
> MathType (SaturationVaporPressure)
> 
> ******************
> Stack trace:
> visad.TypeException: MathType of data object (((lon[unit:degrees_east], 
> lat[unit:degrees_north], lev[unit:millibar]) -> Generic_1_nullUnit)) is 
> incompatible with required MathType (SaturationVaporPressure)
> at ucar.visad.Util.vetType(Util.java:287)
> at 
> ucar.visad.quantities.SaturationVaporPressure.createTemperature(SaturationVaporPressure.java:418)
> at 
> ucar.unidata.data.grid.DerivedGridFactory.makeDewpointFromTAndRH(DerivedGridFactory.java:2220)
> at 
> ucar.unidata.data.grid.DerivedGridFactory.createDewpoint(DerivedGridFactory.java:2165)
> 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:478)
> at org.python.core.PyObject.__call__(PyObject.java:482)
> at org.python.pycode._pyx83.f$0(<string>:1)
> at org.python.pycode._pyx83.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.DerivedDataChoice.setData(DerivedDataChoice.java:643)
> at 
> ucar.unidata.data.DerivedDataChoice.collectOperands(DerivedDataChoice.java:547)
> at ucar.unidata.data.DerivedDataChoice.getData(DerivedDataChoice.java:746)
> 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.DataInstance.dataOk(DataInstance.java:295)
> at 
> ucar.unidata.idv.control.DisplayControlImpl.checkIfDataOk(DisplayControlImpl.java:3169)
> at 
> ucar.unidata.idv.control.DisplayControlImpl.initializeDataInstance(DisplayControlImpl.java:3312)
> at 
> ucar.unidata.idv.control.DisplayControlImpl.setData(DisplayControlImpl.java:3234)
> at 
> ucar.unidata.idv.control.GriddedSoundingControl.init(GriddedSoundingControl.java:162)
> 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: IOZ-125063
> Department: Support IDV
> Priority: Normal
> Status: Open
> 
> 
> *********************************************
> Brian Mapes, Professor
> Department of Atmospheric Sciences
> Meteorology and Physical Oceanography Program
> RSMAS, University of Miami
> 4600 Rickenbacker Causeway
> Miami, FL 33149-1098
> 
> phone: (305) 421-4275
> fax: (305) 421-4696
> email: 
> address@hidden<mailto:address@hidden><mailto:address@hidden><mailto:address@hidden>
> Web: http://www.rsmas.miami.edu/users/bmapes/
> **********************************************
> 
> 
> 
> 
> 
> 
> 
> Ticket Details
> ===================
> Ticket ID: IOZ-125063
> Department: Support IDV
> Priority: Normal
> Status: Open
> 
> 
> *********************************************
> Brian Mapes, Professor
> Department of Atmospheric Sciences
> Meteorology and Physical Oceanography Program
> RSMAS, University of Miami
> 4600 Rickenbacker Causeway
> Miami, FL 33149-1098
> 
> phone: (305) 421-4275
> fax: (305) 421-4696
> email: address@hidden<mailto:address@hidden><mailto:address@hidden>
> Web: http://www.rsmas.miami.edu/users/bmapes/
> **********************************************
> 
> 
> 
> 
> 
> 
> 
> Ticket Details
> ===================
> Ticket ID: IOZ-125063
> Department: Support IDV
> Priority: Normal
> Status: Closed<merra_ai3cpasm_NEW.ncml>
> 
> *********************************************
> Brian Mapes, Professor
> Department of Atmospheric Sciences
> Meteorology and Physical Oceanography Program
> RSMAS, University of Miami
> 4600 Rickenbacker Causeway
> Miami, FL 33149-1098
> 
> phone: (305) 421-4275
> fax: (305) 421-4696
> email: address@hidden<mailto:address@hidden>
> Web: http://www.rsmas.miami.edu/users/bmapes/
> **********************************************
> 
> 
> 
> 
> 
> *********************************************
> Brian Mapes, Professor
> Department of Atmospheric Sciences
> Meteorology and Physical Oceanography Program
> RSMAS, University of Miami
> 4600 Rickenbacker Causeway
> Miami, FL 33149-1098
> 
> phone: (305) 421-4275
> fax: (305) 421-4696
> email: address@hidden<mailto:address@hidden>
> Web: http://www.rsmas.miami.edu/users/bmapes/
> **********************************************
> 
> 
> 
> 
> 


Ticket Details
===================
Ticket ID: IOZ-125063
Department: Support IDV
Priority: Normal
Status: Closed