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

[netCDFJava #SWV-988022]: nc4.3: Missing methods in Stereographic.java



Hi Don,

This should be fixed in the IDV nc4.3 branch.

Sean

> John-
> 
> On 9/21/12 11:04 AM, Unidata netCDF Java Support wrote:
> 
> > I dont see any method of that method in Stereographic projection as far 
> > back as 2007. Are you sure it works in current version of IDV?
> 
> It's in the unidatacommon version (svn version 14186), last updated by
> you on 8/22/11.  It's also in the thredds RB-TDS-4.2 branch under
> common/src/main/java/ucar/unidata/geoloc/projection from svn (svn
> version 13677, 5/20/11.  Not sure what you are looking at then.
> 
> > I opened in 3.1 ("serialized data source"), no errors but no fields either.
> 
> It should work in 3.1, it's the 4.3 branch that doesn't work.
> 
> Don
> 
> >> John-
> >>
> >> The set/getCentralMeridian methods are missing from Stereographic.java
> >> in 4.3.  I see that this value is not used in the new version, but since
> >> it was there before, the IDV XML object creation expect it.  You can get
> >> away with just the setCentralMeridian method so future encodings will
> >> not use save off the value.
> >>
> >> java.lang.IllegalArgumentException: Unable to find method:
> >> ucar.unidata.geoloc.projection.Stereographic.setCentralMeridian
> >> at ucar.unidata.xml.XmlEncoder.invokeMethod(XmlEncoder.java:2246)
> >> at ucar.unidata.xml.XmlEncoder.createObjectInner(XmlEncoder.java:2159)
> >> at ucar.unidata.xml.XmlEncoder.createObjectInner(XmlEncoder.java:1984)
> >> at ucar.unidata.xml.XmlEncoder.invokeMethod(XmlEncoder.java:2218)
> >> at ucar.unidata.xml.XmlEncoder.createObjectInner(XmlEncoder.java:2155)
> >> at ucar.unidata.xml.XmlEncoder.createObjectInner(XmlEncoder.java:1984)
> >> at ucar.unidata.xml.XmlEncoder.createObject(XmlEncoder.java:1672)
> >> at ucar.unidata.xml.XmlEncoder.toObjectInner(XmlEncoder.java:655)
> >> at ucar.unidata.xml.XmlEncoder.toObject(XmlEncoder.java:630)
> >> at
> >> ucar.unidata.idv.IdvProjectionManager.initProjections(IdvProjectionManager.java:162)
> >> at ucar.unidata.idv.StateManager.initState(StateManager.java:465)
> >> at
> >> ucar.unidata.idv.IntegratedDataViewer.<init>(IntegratedDataViewer.java:306)
> >> at
> >> ucar.unidata.idv.IntegratedDataViewer.<init>(IntegratedDataViewer.java:225)
> >> at ucar.unidata.idv.DefaultIdv.<init>(DefaultIdv.java:84)
> >> at ucar.unidata.idv.DefaultIdv.main(DefaultIdv.java:165)
> >>
> >> I've attached the projections.xml that has the stereographic projection.
> >>
> >> Don
> >> --
> >> Don Murray
> >> NOAA/ESRL/PSD and CIRES
> >> 303-497-3596
> >> http://www.esrl.noaa.gov/psd/people/don.murray/
> >>
> >>
> >
> >
> > Ticket Details
> > ===================
> > Ticket ID: SWV-988022
> > Department: Support netCDF Java
> > Priority: Normal
> > Status: Open
> >
> 
> --
> Don Murray
> NOAA/ESRL/PSD and CIRES
> 303-497-3596
> http://www.esrl.noaa.gov/psd/people/don.murray/
> 
> 


Ticket Details
===================
Ticket ID: SWV-988022
Department: Support netCDF Java
Priority: Critical
Status: Open