To read a netCDF file of known structure, you need to:
Use ncdump to learn the structure of a file (use the -h option).