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 Don:
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?
I opened in 3.1 ("serialized data source"), no errors but no fields either.
john
> 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