#!/bin/csh

set id = $1

echo $id | grep "^poci" >> /dev/null
if ($status == 0) then
  echo 'OCI'
  exit 0
endif
echo $id | grep "^s3a" >> /dev/null
if ($status == 0) then
  echo 'OLCI-S3A'
  exit 0
endif
echo $id | grep "^s3b" >> /dev/null
if ($status == 0) then
  echo 'OLCI-S3B'
  exit 0
endif
echo $id | grep "^a" >> /dev/null
if ($status == 0) then
  echo 'MODISA'
  exit 0
endif
echo $id | grep "^t" >> /dev/null
if ($status == 0) then
  echo 'MODIST'
  exit 0
endif
echo $id | grep "^s" >> /dev/null
if ($status == 0) then
  echo 'SeaWiFS'
  exit 0
endif
echo $id | grep "^o" >> /dev/null
if ($status == 0) then
  echo 'OCTS'
  exit 0
endif
echo $id | grep "^c" >> /dev/null
if ($status == 0) then
  echo 'CZCS'
  exit 0
endif
echo $id | grep "^m" >> /dev/null
if ($status == 0) then
  echo 'MERIS'
  exit 0
endif
echo $id | grep "^v" >> /dev/null
if ($status == 0) then
  echo 'VIIRSN'
  exit 0
endif
echo $id | grep "^j" >> /dev/null
if ($status == 0) then
  echo 'VIIRS1'
  exit 0
endif
echo $id | grep "^g" >> /dev/null
if ($status == 0) then
  echo 'GOCI'
  exit 0
endif

exit 1
