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 Bill- > Thanks Don I'll give it a shot. > > Also is the utilitiy to convert GRIB to netcdf available separately from > IDV? It's much nicer w/ better output and in my experience more reliable > than NCL's (despite the current misadventure). Using the ncIdv.jar in the 2.6u2 or 2.7a1 distribution, you should be able to run: java -Xmx256m -classpath ncIdv.jar ucar.nc2.iosp.grib.Grib2Netcdf <GribFileToRead> <NetCDF output file> That avoids the error in NetcdfCFWriter that you were encountering. Don Don Murray > On 4/16/09 15:26 , "Unidata IDV Support" <address@hidden> > wrote: > > > Hi Bill- > > > > Thanks for the sample file. I can reproduce the error you are seeing with > > IDV > > 2.6u2. > > The latest nightly build (2.7a1) contains a version of the netCDF library > > that > > fixes > > this bug. You can get the nightly build at: > > > > http://www.unidata.ucar.edu/downloads/idv/nightly > > > > It's pretty stable at this point. > > > > Don Murray > > > >> Full Name: Bill Capehart > >> Email Address: address@hidden > >> Organization: SDSMT-IAS > >> Package Version: 2.6u2 build date:2009-02-13 19:03 UTC > >> Operating System: Linux > >> Hardware: Java: home: /usr/local/IDV_2.6u2/jre version: 1.6.0_07 j3d:1.5.2 > >> fcs (build4) > >> Description of problem: On multiple platforms (Mac and Linux) we cannot > >> convert the GFS hi-rez (0.5 degree global product) from GRIB1 to NETCDF. > >> > >> Error is below. > >> > >> Error writing local netcdf file. > >> Data:/data/NCAR/GFS-HIREZ/ci_gribdata/2008/11/05/gfs_hirez_2008-11-05_12_f012 > >> .grib > >> Variables:[Absolute_vorticity, Clear_Sky_UV-B_Downward_Solar_Flux, > >> Cloud_water, Cloud_water_entire_atmosphere, Convective_precip_rate, > >> Geopotential_height, Geopotential_height_tropopause, Ground_heat_flux, > >> Ice_concentration_ice=1;no_ice=0, Ice_thickness, Land_cover_land=1;sea=0, > >> Liquid_volumetric_soil_moisture_non-frozen, Ozone_mixing_ratio, > >> Planetary_boundary_layer_height, Precipitable_water, > >> Pressure_reduced_to_MSL, > >> Pressure_surface, Pressure_tropopause, Relative_humidity, > >> Relative_humidity_entire_atmosphere, Relative_humidity_height_above_ground, > >> Specific_humidity, Temperature, Temperature_height_above_ground, > >> Temperature_surface, Total_cloud_cover, > >> Total_cloud_cover_convective_cloud_layer, > >> Total_cloud_cover_entire_atmosphere, Total_cloud_cover_high_cloud_layer, > >> Total_cloud_cover_low_cloud_layer, Total_cloud_cover_middle_cloud_layer, > >> Total_ozone, Total_precipitation, u_wind, u_wind_height_above_ground, > >> Upward_long_wave_flux, Upward_long_wave_flux_surface, Upward_short_wa > > ve_flux, Upward_short_wave_flux_surface, UV-B_Downward_Solar_Flux, v_wind, > > v_wind_height_above_ground, Volumetric_soil_moisture, Water_runoff] > >> java.lang.NullPointerException > >> > >> ****************** > >> Stack trace: > >> java.lang.NullPointerException > >> at ucar.nc2.dt.grid.NetcdfCFWriter.makeFile(NetcdfCFWriter.java:170) > >> at ucar.nc2.dt.grid.NetcdfCFWriter.makeFile(NetcdfCFWriter.java:74) > >> at > >> ucar.unidata.data.grid.GeoGridDataSource.saveDataToLocalDisk(GeoGridDataSourc > >> e.java:802) > >> at > >> > ucar.unidata.data.DataSourceImpl.saveDataToLocalDisk(DataSourceImpl.java:2495>> > ) > >> at > >> > ucar.unidata.data.DataSourceImpl.saveDataToLocalDisk(DataSourceImpl.java:2462>> > ) > >> at > >> ucar.unidata.data.grid.GeoGridDataSource$1$1.run(GeoGridDataSource.java:609) > >> at ucar.unidata.util.Misc$3.run(Misc.java:1038) > >> > >> > >> > > > > > > Ticket Details > > =================== > > Ticket ID: RJX-162617 > > Department: Support IDV > > Priority: Normal > > Status: Open > > > > > ================================================================ > Bill Capehart <address@hidden> Associate Professor > Institute of Atmospheric Sciences Land Surface Processes > 213 Mineral Industries Building Hydrometeorology > South Dakota School of Mines and Technology Ph: +1-605-394-1994 > 501 East Saint Joseph Street Fax: +1-605-394-6061 > Rapid City, SD 57701-3995 Mobile: +1-605-484-5692 > =================== http://capehart.sdsmt.edu ================== > > > > Ticket Details =================== Ticket ID: RJX-162617 Department: Support IDV Priority: Normal Status: Open