source: flex_extract.git/python/_config.py @ dda0e9d

dev
Last change on this file since dda0e9d was dda0e9d, checked in by Anne Philipp <anne.philipp@…>, 17 months ago

set path to grib1 table as global variable; test path

  • Property mode set to 100644
File size: 1.1 KB
Line 
1#!/usr/bin/env python
2# -*- coding: utf-8 -*-
3#*******************************************************************************
4# @Author: Anne Philipp (University of Vienna)
5#
6# @Date: August 2018
7#
8# @Change History:
9#
10# @License:
11#    (C) Copyright 2014-2018.
12#
13#    This software is licensed under the terms of the Apache Licence Version 2.0
14#    which can be obtained at http://www.apache.org/licenses/LICENSE-2.0.
15#
16# @Description:
17#    Contains constant value parameter for flex_extract.
18#
19#*******************************************************************************
20
21# ------------------------------------------------------------------------------
22# MODULES
23# ------------------------------------------------------------------------------
24import os
25import sys
26import inspect
27
28_VERSION_STR = '7.1'
29
30# add path to pythonpath
31LOCAL_PYTHON_PATH = os.path.dirname(os.path.abspath(
32    inspect.getfile(inspect.currentframe())))
33if LOCAL_PYTHON_PATH not in sys.path:
34    sys.path.append(LOCAL_PYTHON_PATH)
35
36# path to gribtable
37PATH_GRIBTABLE = LOCAL_PYTHON_PATH + '/templates/ecmwf_grib1_table_128'
38
Note: See TracBrowser for help on using the repository browser.
hosted by ZAMG