#!/bin/csh

cd /Projects/NMME/MAPP/NP

set vars = (rss)
foreach var(${vars})
  set files = `ls ${var}_*.nc4 `
  foreach file ($files)
    ncks -O -F -d lat,41,63 -d lon,68,91 ${file} /Projects/NMME/MAPP/CCS/${file}
  end #file
end #var
#
exit
