Due to the current gap in continued funding from the U.S. National Science Foundation (NSF), the NSF Unidata Program Center has temporarily paused most operations. See NSF Unidata Pause in Most Operations for details.
Hi Don --I was latLonWidget.setLat(0.00904604), but 9.0 was showing up in the lat text field of the widget. It was being formatted to 9E-3 in LatLonWidget.setLat(), I believe.
Thanks for the fix! -- G On Jul 15, 2010, at 5:36 PM, Don Murray wrote:
Hi Gail- On 7/15/10 9:15 AM, Gail Dengel wrote:Hi Guys --I've noticed a bug setting latitude and longitude in LatLonWidget. UsingMSG as an example, setting the center lat = 0.00904604 lon = -0.00898543 results in lat = 9.0 lon = -8.0 I think the error lies in decoding using Misc.decodeLatLon(9E-3).I'm not sure how the 9E-3 is getting in there, but the E was being decoded as East so the -3 was being lost. I checked in a fix (which will be in the nightly build), so you could now have 9E-3E if you want. ;-)Don -- NOAA/ESRL/PSD and CIRES 303-497-3596 http://www.esrl.noaa.gov/psd/people/don.murray/ _______________________________________________ idvdevelopers mailing list idvdevelopers@xxxxxxxxxxxxxxxxFor list information, to unsubscribe, visit: http:// www.unidata.ucar.edu/mailing_lists/
idvdevelopers
archives: