adding NetCDF function and corresponding notebook