#!/bin/bash

# **************************** LICENSE START ***********************************
#
# Copyright 2018 ECMWF and INPE. This software is distributed under the terms
# of the Apache License version 2.0. In applying this license, ECMWF does not
# waive the privileges and immunities granted to it by virtue of its status as
# an Intergovernmental Organization or submit itself to any jurisdiction.
#
# ***************************** LICENSE END ************************************


# -----------------------------------------
# ECMWF extras for setting MARS environment
# -----------------------------------------

export MV_MARS_MODE=MIR
export MARS_LANGUAGE_FILE=$METVIEW_DIR_SHARE/etc/MarsMirDef
export MARS_TEST_FILE=$METVIEW_DIR_SHARE/etc/MarsMirRules
export MARS_PPROC_BACKEND=MIR

if [ x$1 != xenv_only ]
then
	$METVIEW_BIN/Mars
fi

