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.
> Institution: UNC Charlotte > Package Version: 3.6.2 > Operating System: RedHat Linux > Hardware Information: Dell Optiplex > Inquiry: Hello! > > I am an undergrad working on a research project here and part of my project > requires me to make a conversion program to extract certain parts of our > netCDF format air quality data and so we can run them through our volume > renderer. > > I have written a program to test some netCDF functions on my machine but run > into problems during linking. I am not able to install to /usr/local. > > My attachments include: > 1) My simple test program. > 2) The netCDF directory. > 3) The current error I have during compile. > > I'm thankful for any help you can give! > -Lane Harrison > > > Howdy Lane! As you can see from your output: ncvalues.h:16:20: netcdf.h: No such file or directory It is not finding the netcdf.h file. You need to include it on your command line, with the -I option, like this: -I/home/ltharri1/Desktop/netcdf-3.6.2/libsrc Good luck! Ed Ticket Details =================== Ticket ID: BBC-202504 Department: Support netCDF Priority: Normal Status: Closed