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.
Hyun-Min, We are glad you were able to view your data in the IDV albeit with some difficulties. As for a better conversion options I would consider asking your question on http://gis.stackexchange.com/ Best Wishes, Unidata IDV Support > Thank you for your kind and quick advice. I succeeded in correcting the > netCDF file and creating an animation of gridded precipitation after some > struggles in converting easting and northing into longitude and latitude. I > used equations in the page 77 and 78 of a web document at > 'http://www.epsg.org/guides/docs/g7-2.pdf'. Although the results seemed close > to actual, but the equations are not very rigorous mostly due to > non-matching/balancing parentheses. I am not sure if it is something I can > ask you to give a better reference or corrections on the formula. Please let > me know. I will look forward to hearing from you. Thanks again. > > Hyun-Min Shin, PE > > Hydrology Branch - River Forecasting Section > > Division of Flood Management > > California Department of Water Resources > > (916) 574-2786 > > http://cdec.water.ca.gov > > > > -----Original Message----- > From: Unidata IDV Support [mailto:address@hidden] > Sent: Thursday, October 24, 2013 9:34 AM > To: Shin, Hyun-Min@DWR > Cc: address@hidden > Subject: [IDV #FSM-250923]: IDV couldn't bring in the netCDF file. > > Hyun-Min, > > The lat/lon data in cdlFTHonAlbersSnapshot.nc is empty. I would probably try > to fix that problem first in order to display these data in the IDV. > > Please keep us up-to-date on your progress. > > Best Wishes, > > Unidata IDV Support > > > Full Name: Hyun-Min Shin > > Email Address: address@hidden > > Organization: California Department of Water Resources - Division of > > Flood Management Package Version: 3.1 build date:2012-08-31 20:26 UTC > > Operating System: Windows 7 > > Hardware: Java: home: C:\Program Files (x86)\IDV_3.1\jre version: > > 1.6.0_31 j3d:1.5.2 fcs (build4) Description of problem: I created a CDL > > file (cdlFTHonAlbersSnapshot.out) and used ncgen to convert it into a > > netCDF file. Then I tried to bring the netCDF file into IDV and faced an > > error indicating the following problems. > > > > setProjection > > Infinite or NaN > > > > Using ArcGIS - ArcToolbox and netCDF file I created, I could make a raster > > layer and display the raster in ArcMap. Could you give any solution for the > > errors in my CDL or netCDF file? Any response would be greatly appreciated. > > > > FYI: I am kind of new to netCDF or Climate and Forecast convention, but > > scanned the netCDF User's Guide and NetCDF CF metata conventions. > > > > ****************** > > Stack trace: > > java.lang.NumberFormatException: Infinite or NaN at > > java.math.BigDecimal.<init>(Unknown Source) at > > ucar.unidata.view.geoloc.MapProjectionDisplay.round(MapProjectionDispl > > ay.java:1357) at > > ucar.unidata.view.geoloc.MapProjectionDisplay.getLonScaleInfo(MapProje > > ctionDisplay.java:1327) at > > ucar.unidata.view.geoloc.MapProjectionDisplay.makeLonScales(MapProject > > ionDisplay.java:589) at > > ucar.unidata.view.geoloc.MapProjectionDisplay.resetMapParameters(MapPr > > ojectionDisplay.java:2173) at > > ucar.unidata.view.geoloc.MapProjectionDisplay.setMapProjection(MapProj > > ectionDisplay.java:1540) at > > ucar.unidata.idv.MapViewManager.setMapProjection(MapViewManager.java:2 > > 267) at > > ucar.unidata.idv.MapViewManager.displayDataChanged(MapViewManager.java > > :2591) at > > ucar.unidata.idv.MapViewManager.addDisplayInfos(MapViewManager.java:26 > > 42) at > > ucar.unidata.idv.control.DisplayControlImpl.insertDisplayables(Display > > ControlImpl.java:6713) at > > ucar.unidata.idv.control.DisplayControlImpl.init(DisplayControlImpl.ja > > va:1203) 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:1250) > > > > > > > > > Ticket Details > =================== > Ticket ID: FSM-250923 > Department: Support IDV > Priority: Normal > Status: Closed > > > Ticket Details =================== Ticket ID: FSM-250923 Department: Support IDV Priority: Normal Status: Closed