#! /bin/csh 


set LAT = "64 00.00 N"
set LON = "25 00.00 W"
set VARNAME = 'interp_mcsst'

  rm -f test.dat

  echo 'extracting data for '${LAT} 'and ' ${LON}

  foreach file (*fr)

	varvalue \
		varname="${VARNAME}" \
		latitude="${LAT}" \
		longitude="${LON}" \
	$file >>! test.dat

  end


  fgrep .fr test.dat > output.dat64-25
  
