First close-to-working version that reads netCDF files