ctbtodev
Last change
on this file since 308e144 was
dda0e9d,
checked in by Anne Philipp <anne.philipp@…>, 6 years 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 | # ------------------------------------------------------------------------------ |
---|
24 | import os |
---|
25 | import sys |
---|
26 | import inspect |
---|
27 | |
---|
28 | _VERSION_STR = '7.1' |
---|
29 | |
---|
30 | # add path to pythonpath |
---|
31 | LOCAL_PYTHON_PATH = os.path.dirname(os.path.abspath( |
---|
32 | inspect.getfile(inspect.currentframe()))) |
---|
33 | if LOCAL_PYTHON_PATH not in sys.path: |
---|
34 | sys.path.append(LOCAL_PYTHON_PATH) |
---|
35 | |
---|
36 | # path to gribtable |
---|
37 | PATH_GRIBTABLE = LOCAL_PYTHON_PATH + '/templates/ecmwf_grib1_table_128' |
---|
38 | |
---|
Note: See
TracBrowser
for help on using the repository browser.