#! /bin/bash

 input="./output.scream.Cess.monthly_ne1024.AVERAGE.nmonths_x1.2019-09-01-00000.nc"
output="./output.scream.Cess.monthly_ne1024.AVERAGE.small.nc"

 ncks -v lat,lon,area,landfrac,U,V,SeaLevelPressure $input $output
