#!/bin/csh

cd /Projects/NMME/MAPP/NP

set vars = (sic)
foreach var(${vars})
  set files = `ls ${var}*r9i*.nc4 `
  foreach file ($files)
    ncks -F -d lat,55,64 -d lon,77,84 ${file} /Projects/NMME/MAPP/OWC/${file}
  end #file
end #var
#
exit
