Hi Jie, > I tried to link netcdf to GrADS when I was configuring the latter. But > it said: > > > checking for udunits.h... (cached) no > - netcdf-4 disabled > > - netcdf disabled > > What is udunits.h? Why am I missing it? It's the C include file for an optional Unidata software package that handles units of measurement. Apparently it's not optional for GrADS, which requires udunits be installed first. You can install udunits when you build and install netCDF by using the "--with-udunits" option to the netCDF configure script, then "make check" and "make install". This will install udunits.h in /usr/local/include by default, or wherever you specify if you use the "--prefix=..." option to the configure script. Alternatively, you can get just the udunits2 source from Unidata and install it independently of netCDF, allowing you to use the existing netCDF installation. --Russ Russ Rew UCAR Unidata Program address@hidden http://www.unidata.ucar.edu Ticket Details =================== Ticket ID: EXA-981548 Department: Support netCDF Priority: Normal Status: Closed
NOTE: All email exchanges with Unidata User Support are recorded in the Unidata inquiry tracking system and then made publicly available through the web. If you do not want to have your interactions made available in this way, you must let us know in each email you send to us.