#--------------------------------------------------------- MARS_remote
#
# Database definitions for the remote access to ECMWF MARS.
# Use installed MARS Client Software configuration file
#

#---------------------------------------------------
#-
#- If the path given as the default is not valid then
#- you have to edit correct path into $MARS_CFG_FILE
#-

MARS_CFG_FILE=$METVIEW_DIR_SHARE/etc/ms_mars.cfg
export MARS_CFG_FILE

#---------------------------------------------------

if [ -f $MARS_CFG_FILE ]
then
  cat $MARS_CFG_FILE
else
  echo "+---------+  Remote ECMWF MARS access configured but" 3>&2 2>&1 1>&3
  echo "| CFG ERR |  remote MARS configuration file $MARS_CFG_FILE not found!" 3>&2 2>&1 1>&3
  echo "+---------+  Check configuration file ./etc/MARS_remote!" 3>&2 2>&1 1>&3
fi
#---------------------------------------------------------------------
