hexsha string | size int64 | ext string | lang string | max_stars_repo_path string | max_stars_repo_name string | max_stars_repo_head_hexsha string | max_stars_repo_licenses list | max_stars_count int64 | max_stars_repo_stars_event_min_datetime string | max_stars_repo_stars_event_max_datetime string | max_issues_repo_path string | max_issues_repo_name string | max_issues_repo_head_hexsha string | max_issues_repo_licenses list | max_issues_count int64 | max_issues_repo_issues_event_min_datetime string | max_issues_repo_issues_event_max_datetime string | max_forks_repo_path string | max_forks_repo_name string | max_forks_repo_head_hexsha string | max_forks_repo_licenses list | max_forks_count int64 | max_forks_repo_forks_event_min_datetime string | max_forks_repo_forks_event_max_datetime string | content string | avg_line_length float64 | max_line_length int64 | alphanum_fraction float64 | qsc_code_num_words_quality_signal int64 | qsc_code_num_chars_quality_signal float64 | qsc_code_mean_word_length_quality_signal float64 | qsc_code_frac_words_unique_quality_signal float64 | qsc_code_frac_chars_top_2grams_quality_signal float64 | qsc_code_frac_chars_top_3grams_quality_signal float64 | qsc_code_frac_chars_top_4grams_quality_signal float64 | qsc_code_frac_chars_dupe_5grams_quality_signal float64 | qsc_code_frac_chars_dupe_6grams_quality_signal float64 | qsc_code_frac_chars_dupe_7grams_quality_signal float64 | qsc_code_frac_chars_dupe_8grams_quality_signal float64 | qsc_code_frac_chars_dupe_9grams_quality_signal float64 | qsc_code_frac_chars_dupe_10grams_quality_signal float64 | qsc_code_frac_chars_replacement_symbols_quality_signal float64 | qsc_code_frac_chars_digital_quality_signal float64 | qsc_code_frac_chars_whitespace_quality_signal float64 | qsc_code_size_file_byte_quality_signal float64 | qsc_code_num_lines_quality_signal float64 | qsc_code_num_chars_line_max_quality_signal float64 | qsc_code_num_chars_line_mean_quality_signal float64 | qsc_code_frac_chars_alphabet_quality_signal float64 | qsc_code_frac_chars_comments_quality_signal float64 | qsc_code_cate_xml_start_quality_signal float64 | qsc_code_frac_lines_dupe_lines_quality_signal float64 | qsc_code_cate_autogen_quality_signal float64 | qsc_code_frac_lines_long_string_quality_signal float64 | qsc_code_frac_chars_string_length_quality_signal float64 | qsc_code_frac_chars_long_word_length_quality_signal float64 | qsc_code_frac_lines_string_concat_quality_signal float64 | qsc_code_cate_encoded_data_quality_signal float64 | qsc_code_frac_chars_hex_words_quality_signal float64 | qsc_code_frac_lines_prompt_comments_quality_signal float64 | qsc_code_frac_lines_assert_quality_signal float64 | qsc_codepython_cate_ast_quality_signal float64 | qsc_codepython_frac_lines_func_ratio_quality_signal float64 | qsc_codepython_cate_var_zero_quality_signal bool | qsc_codepython_frac_lines_pass_quality_signal float64 | qsc_codepython_frac_lines_import_quality_signal float64 | qsc_codepython_frac_lines_simplefunc_quality_signal float64 | qsc_codepython_score_lines_no_logic_quality_signal float64 | qsc_codepython_frac_lines_print_quality_signal float64 | qsc_code_num_words int64 | qsc_code_num_chars int64 | qsc_code_mean_word_length int64 | qsc_code_frac_words_unique null | qsc_code_frac_chars_top_2grams int64 | qsc_code_frac_chars_top_3grams int64 | qsc_code_frac_chars_top_4grams int64 | qsc_code_frac_chars_dupe_5grams int64 | qsc_code_frac_chars_dupe_6grams int64 | qsc_code_frac_chars_dupe_7grams int64 | qsc_code_frac_chars_dupe_8grams int64 | qsc_code_frac_chars_dupe_9grams int64 | qsc_code_frac_chars_dupe_10grams int64 | qsc_code_frac_chars_replacement_symbols int64 | qsc_code_frac_chars_digital int64 | qsc_code_frac_chars_whitespace int64 | qsc_code_size_file_byte int64 | qsc_code_num_lines int64 | qsc_code_num_chars_line_max int64 | qsc_code_num_chars_line_mean int64 | qsc_code_frac_chars_alphabet int64 | qsc_code_frac_chars_comments int64 | qsc_code_cate_xml_start int64 | qsc_code_frac_lines_dupe_lines int64 | qsc_code_cate_autogen int64 | qsc_code_frac_lines_long_string int64 | qsc_code_frac_chars_string_length int64 | qsc_code_frac_chars_long_word_length int64 | qsc_code_frac_lines_string_concat null | qsc_code_cate_encoded_data int64 | qsc_code_frac_chars_hex_words int64 | qsc_code_frac_lines_prompt_comments int64 | qsc_code_frac_lines_assert int64 | qsc_codepython_cate_ast int64 | qsc_codepython_frac_lines_func_ratio int64 | qsc_codepython_cate_var_zero int64 | qsc_codepython_frac_lines_pass int64 | qsc_codepython_frac_lines_import int64 | qsc_codepython_frac_lines_simplefunc int64 | qsc_codepython_score_lines_no_logic int64 | qsc_codepython_frac_lines_print int64 | effective string | hits int64 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
b3f0aa977e7b8fa2c8f4ab54246bbcda4472c696 | 71 | py | Python | src/podspy/structure/__init__.py | jwllee/podspy | a3ab176a83004069a27405acfc42838c135c555d | [
"MIT"
] | 1 | 2019-02-06T09:26:17.000Z | 2019-02-06T09:26:17.000Z | src/podspy/structure/__init__.py | wailamjonathanlee/podspy | a3ab176a83004069a27405acfc42838c135c555d | [
"MIT"
] | 12 | 2019-01-02T14:31:17.000Z | 2019-01-22T18:24:03.000Z | src/podspy/structure/__init__.py | wailamjonathanlee/podspy | a3ab176a83004069a27405acfc42838c135c555d | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
from .causal import *
from .footprint import * | 14.2 | 24 | 0.71831 | 10 | 71 | 5.1 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016667 | 0.15493 | 71 | 5 | 24 | 14.2 | 0.833333 | 0.295775 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.5 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 5 |
b61351c6c1b5992818bdcb831ab96a3b2c01fe34 | 67 | py | Python | hiive/examples/__init__.py | rmclimber/hiivemdptoolbox | 712ddc2e7f4d9e22018fe99eb6f372e2aca53265 | [
"Apache-2.0"
] | 14 | 2019-11-12T17:41:22.000Z | 2021-11-25T18:36:57.000Z | hiive/examples/__init__.py | rmclimber/hiivemdptoolbox | 712ddc2e7f4d9e22018fe99eb6f372e2aca53265 | [
"Apache-2.0"
] | null | null | null | hiive/examples/__init__.py | rmclimber/hiivemdptoolbox | 712ddc2e7f4d9e22018fe99eb6f372e2aca53265 | [
"Apache-2.0"
] | 35 | 2019-11-13T05:19:27.000Z | 2021-11-25T14:50:13.000Z | from . import firemdp
from . import tictactoe
from . import bigsql
| 16.75 | 23 | 0.776119 | 9 | 67 | 5.777778 | 0.555556 | 0.576923 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.179104 | 67 | 3 | 24 | 22.333333 | 0.945455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
37440950c91b49f4c5cc6fb56327bd242cf11497 | 30 | py | Python | gqn/animator/__init__.py | hhiruma/chainer-gqn | ea84acd9ad9b6a17454bcd89ff9d3e00e9ad574e | [
"MIT"
] | 6 | 2021-05-20T16:48:27.000Z | 2022-03-15T15:43:40.000Z | indico_toolkit/snapshots/__init__.py | IndicoDataSolutions/Indico-Solutions-Toolkit | c9a38681c84e86a48bcde0867359ddd2f52ce236 | [
"MIT"
] | 25 | 2021-06-25T13:37:21.000Z | 2022-01-03T15:54:26.000Z | indico_toolkit/snapshots/__init__.py | IndicoDataSolutions/Indico-Solutions-Toolkit | c9a38681c84e86a48bcde0867359ddd2f52ce236 | [
"MIT"
] | null | null | null | from .snapshot import Snapshot | 30 | 30 | 0.866667 | 4 | 30 | 6.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 30 | 1 | 30 | 30 | 0.962963 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
3764a9721d81a122868f8be00ab3e788cfe94cf8 | 170 | py | Python | sqlmodel/sql/base.py | spawn08/sqlmodel | 02697459b8ea25cee72e81239828139698a66ac2 | [
"MIT"
] | 5,490 | 2021-08-24T14:27:44.000Z | 2022-03-31T14:24:20.000Z | sqlmodel/sql/base.py | spawn08/sqlmodel | 02697459b8ea25cee72e81239828139698a66ac2 | [
"MIT"
] | 231 | 2021-08-24T15:22:14.000Z | 2022-03-30T14:39:44.000Z | sqlmodel/sql/base.py | spawn08/sqlmodel | 02697459b8ea25cee72e81239828139698a66ac2 | [
"MIT"
] | 245 | 2021-08-24T15:00:27.000Z | 2022-03-30T02:12:56.000Z | from typing import Generic, TypeVar
from sqlalchemy.sql.base import Executable as _Executable
_T = TypeVar("_T")
class Executable(_Executable, Generic[_T]):
pass
| 17 | 57 | 0.764706 | 22 | 170 | 5.681818 | 0.590909 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.152941 | 170 | 9 | 58 | 18.888889 | 0.868056 | 0 | 0 | 0 | 0 | 0 | 0.011765 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0.2 | 0.4 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 5 |
377bd478cb05f3fdf5fe1d215b8512770f727373 | 1,512 | py | Python | evidently/utils/test_utils.py | alex-zenml/evidently | e9b683056661fcab8dc3fd4c2d4576b082d80d20 | [
"Apache-2.0"
] | 1 | 2021-12-30T14:27:40.000Z | 2021-12-30T14:27:40.000Z | evidently/utils/test_utils.py | alex-zenml/evidently | e9b683056661fcab8dc3fd4c2d4576b082d80d20 | [
"Apache-2.0"
] | null | null | null | evidently/utils/test_utils.py | alex-zenml/evidently | e9b683056661fcab8dc3fd4c2d4576b082d80d20 | [
"Apache-2.0"
] | null | null | null | import pytest
import numpy as np
from evidently.utils import NumpyEncoder
@pytest.fixture
def numpy_encoder() -> NumpyEncoder:
return NumpyEncoder()
def test_int_convert(numpy_encoder: NumpyEncoder) -> None:
for _type in (np.int_, np.intc, np.intp, np.int8, np.int16, np.int32,
np.int64, np.uint8, np.uint16, np.uint32, np.uint64):
assert numpy_encoder.default(_type(55)) == 55
def test_float_convert(numpy_encoder: NumpyEncoder) -> None:
np.testing.assert_almost_equal(numpy_encoder.default(np.float16(1.5)), 1.5)
for _type in (np.float, np.float_, np.float32, np.float64):
np.testing.assert_almost_equal(numpy_encoder.default(_type(.2)), .2)
def test_bool_covert(numpy_encoder: NumpyEncoder) -> None:
assert numpy_encoder.default(np.bool(1)) is True
assert numpy_encoder.default(np.bool(0)) is False
assert numpy_encoder.default(np.bool_(1)) is True
assert numpy_encoder.default(np.bool_(0)) is False
def test_array_covert(numpy_encoder: NumpyEncoder) -> None:
assert numpy_encoder.default(np.array([0, 1, 2.1])) == [0, 1, 2.1]
assert numpy_encoder.default(np.empty((0, 0))) == []
assert numpy_encoder.default(
np.array([[0, 1, 2.1], [0, 1, 2.1], [0, 1, 2.1]])
) == [[0, 1, 2.1], [0, 1, 2.1], [0, 1, 2.1]]
assert numpy_encoder.default(np.ones((2, 3))) == [[1.0, 1.0, 1.0], [1.0, 1.0, 1.0]]
def test_none_covert(numpy_encoder: NumpyEncoder) -> None:
assert numpy_encoder.default(np.void(3)) is None
| 35.162791 | 87 | 0.676587 | 244 | 1,512 | 4.028689 | 0.221311 | 0.219736 | 0.231943 | 0.254324 | 0.615463 | 0.544252 | 0.544252 | 0.544252 | 0.452696 | 0.452696 | 0 | 0.065665 | 0.164021 | 1,512 | 42 | 88 | 36 | 0.712025 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.428571 | 1 | 0.214286 | false | 0 | 0.107143 | 0.035714 | 0.357143 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
37985a63f268217c37e9e26a52639d2fce152e0a | 184 | py | Python | bin/cubes/pentacubes-plus-diagonal-wall-6.py | tiwo/puzzler | 7ad3d9a792f0635f7ec59ffa85fb46b54fd77a7e | [
"Intel"
] | null | null | null | bin/cubes/pentacubes-plus-diagonal-wall-6.py | tiwo/puzzler | 7ad3d9a792f0635f7ec59ffa85fb46b54fd77a7e | [
"Intel"
] | null | null | null | bin/cubes/pentacubes-plus-diagonal-wall-6.py | tiwo/puzzler | 7ad3d9a792f0635f7ec59ffa85fb46b54fd77a7e | [
"Intel"
] | 1 | 2022-01-02T16:54:14.000Z | 2022-01-02T16:54:14.000Z | #!/usr/bin/env python
# $Id$
"""many solutions"""
import puzzler.puzzles
from puzzler.puzzles.pentacubes import PentacubesPlusDiagonalWall6
puzzler.run(PentacubesPlusDiagonalWall6)
| 18.4 | 66 | 0.804348 | 19 | 184 | 7.789474 | 0.736842 | 0.189189 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.011905 | 0.086957 | 184 | 9 | 67 | 20.444444 | 0.869048 | 0.217391 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
37a8777dbd2f90541b726b4850f6968d90ca06b1 | 5,248 | py | Python | pyhap/params.py | partylover/HAP-python | 7e630f60acfebb7f0f019267ca44b9579a93eb22 | [
"Apache-2.0"
] | null | null | null | pyhap/params.py | partylover/HAP-python | 7e630f60acfebb7f0f019267ca44b9579a93eb22 | [
"Apache-2.0"
] | null | null | null | pyhap/params.py | partylover/HAP-python | 7e630f60acfebb7f0f019267ca44b9579a93eb22 | [
"Apache-2.0"
] | null | null | null | # hsrp parameters
ng_order = (1024, 2048, 3072, 4096, 8192)
_ng_const = (
# 1024-bit
('''\
EEAF0AB9ADB38DD69C33F80AFA8FC5E86072618775FF3C0B9EA2314C9C256576D674DF7496\
EA81D3383B4813D692C6E0E0D5D8E250B98BE48E495C1D6089DAD15DC7D7B46154D6B6CE8E\
F4AD69B15D4982559B297BCF1885C529F566660E57EC68EDBC3C05726CC02FD4CBF4976EAA\
9AFD5138FE8376435B9FC61D2FC0EB06E3''',
"2"),
# 2048
('''\
AC6BDB41324A9A9BF166DE5E1389582FAF72B6651987EE07FC3192943DB56050A37329CBB4\
A099ED8193E0757767A13DD52312AB4B03310DCD7F48A9DA04FD50E8083969EDB767B0CF60\
95179A163AB3661A05FBD5FAAAE82918A9962F0B93B855F97993EC975EEAA80D740ADBF4FF\
747359D041D5C33EA71D281E446B14773BCA97B43A23FB801676BD207A436C6481F1D2B907\
8717461A5B9D32E688F87748544523B524B0D57D5EA77A2775D2ECFA032CFBDBF52FB37861\
60279004E57AE6AF874E7303CE53299CCC041C7BC308D82A5698F3A8D0C38271AE35F8E9DB\
FBB694B5C803D89F7AE435DE236D525F54759B65E372FCD68EF20FA7111F9E4AFF73''',
"2"),
# 3072
('''\
FFFFFFFFFFFFFFFFC90FDAA22168C234C4C6628B80DC1CD129024E08\
8A67CC74020BBEA63B139B22514A08798E3404DDEF9519B3CD3A431B\
302B0A6DF25F14374FE1356D6D51C245E485B576625E7EC6F44C42E9\
A637ED6B0BFF5CB6F406B7EDEE386BFB5A899FA5AE9F24117C4B1FE6\
49286651ECE45B3DC2007CB8A163BF0598DA48361C55D39A69163FA8\
FD24CF5F83655D23DCA3AD961C62F356208552BB9ED529077096966D\
670C354E4ABC9804F1746C08CA18217C32905E462E36CE3BE39E772C\
180E86039B2783A2EC07A28FB5C55DF06F4C52C9DE2BCBF695581718\
3995497CEA956AE515D2261898FA051015728E5A8AAAC42DAD33170D\
04507A33A85521ABDF1CBA64ECFB850458DBEF0A8AEA71575D060C7D\
B3970F85A6E1E4C7ABF5AE8CDB0933D71E8C94E04A25619DCEE3D226\
1AD2EE6BF12FFA06D98A0864D87602733EC86A64521F2B18177B200C\
BBE117577A615D6C770988C0BAD946E208E24FA074E5AB3143DB5BFC\
E0FD108E4B82D120A93AD2CAFFFFFFFFFFFFFFFF''',
"5"),
# 4096
('''\
FFFFFFFFFFFFFFFFC90FDAA22168C234C4C6628B80DC1CD129024E08\
8A67CC74020BBEA63B139B22514A08798E3404DDEF9519B3CD3A431B\
302B0A6DF25F14374FE1356D6D51C245E485B576625E7EC6F44C42E9\
A637ED6B0BFF5CB6F406B7EDEE386BFB5A899FA5AE9F24117C4B1FE6\
49286651ECE45B3DC2007CB8A163BF0598DA48361C55D39A69163FA8\
FD24CF5F83655D23DCA3AD961C62F356208552BB9ED529077096966D\
670C354E4ABC9804F1746C08CA18217C32905E462E36CE3BE39E772C\
180E86039B2783A2EC07A28FB5C55DF06F4C52C9DE2BCBF695581718\
3995497CEA956AE515D2261898FA051015728E5A8AAAC42DAD33170D\
04507A33A85521ABDF1CBA64ECFB850458DBEF0A8AEA71575D060C7D\
B3970F85A6E1E4C7ABF5AE8CDB0933D71E8C94E04A25619DCEE3D226\
1AD2EE6BF12FFA06D98A0864D87602733EC86A64521F2B18177B200C\
BBE117577A615D6C770988C0BAD946E208E24FA074E5AB3143DB5BFC\
E0FD108E4B82D120A92108011A723C12A787E6D788719A10BDBA5B26\
99C327186AF4E23C1A946834B6150BDA2583E9CA2AD44CE8DBBBC2DB\
04DE8EF92E8EFC141FBECAA6287C59474E6BC05D99B2964FA090C3A2\
233BA186515BE7ED1F612970CEE2D7AFB81BDD762170481CD0069127\
D5B05AA993B4EA988D8FDDC186FFB7DC90A6C08F4DF435C934063199\
FFFFFFFFFFFFFFFF''',
"5"),
# 8192
('''\
FFFFFFFFFFFFFFFFC90FDAA22168C234C4C6628B80DC1CD129024E08\
8A67CC74020BBEA63B139B22514A08798E3404DDEF9519B3CD3A431B\
302B0A6DF25F14374FE1356D6D51C245E485B576625E7EC6F44C42E9\
A637ED6B0BFF5CB6F406B7EDEE386BFB5A899FA5AE9F24117C4B1FE6\
49286651ECE45B3DC2007CB8A163BF0598DA48361C55D39A69163FA8\
FD24CF5F83655D23DCA3AD961C62F356208552BB9ED529077096966D\
670C354E4ABC9804F1746C08CA18217C32905E462E36CE3BE39E772C\
180E86039B2783A2EC07A28FB5C55DF06F4C52C9DE2BCBF695581718\
3995497CEA956AE515D2261898FA051015728E5A8AAAC42DAD33170D\
04507A33A85521ABDF1CBA64ECFB850458DBEF0A8AEA71575D060C7D\
B3970F85A6E1E4C7ABF5AE8CDB0933D71E8C94E04A25619DCEE3D226\
1AD2EE6BF12FFA06D98A0864D87602733EC86A64521F2B18177B200C\
BBE117577A615D6C770988C0BAD946E208E24FA074E5AB3143DB5BFC\
E0FD108E4B82D120A92108011A723C12A787E6D788719A10BDBA5B26\
99C327186AF4E23C1A946834B6150BDA2583E9CA2AD44CE8DBBBC2DB\
04DE8EF92E8EFC141FBECAA6287C59474E6BC05D99B2964FA090C3A2\
233BA186515BE7ED1F612970CEE2D7AFB81BDD762170481CD0069127\
D5B05AA993B4EA988D8FDDC186FFB7DC90A6C08F4DF435C934028492\
36C3FAB4D27C7026C1D4DCB2602646DEC9751E763DBA37BDF8FF9406\
AD9E530EE5DB382F413001AEB06A53ED9027D831179727B0865A8918\
DA3EDBEBCF9B14ED44CE6CBACED4BB1BDB7F1447E6CC254B33205151\
2BD7AF426FB8F401378CD2BF5983CA01C64B92ECF032EA15D1721D03\
F482D7CE6E74FEF6D55E702F46980C82B5A84031900B1C9E59E7C97F\
BEC7E8F323A97A7E36CC88BE0F1D45B7FF585AC54BD407B22B4154AA\
CC8F6D7EBF48E1D814CC5ED20F8037E0A79715EEF29BE32806A1D58B\
B7C5DA76F550AA3D8A1FBFF0EB19CCB1A313D55CDA56C9EC2EF29632\
387FE8D76E3C0468043E8F663F4860EE12BF2D5B0B7474D6E694F91E\
6DBE115974A3926F12FEE5E438777CB6A932DF8CD8BEC4D073B931BA\
3BC832B68D9DD300741FA7BF8AFC47ED2576F6936BA424663AAB639C\
5AE4F5683423B4742BF1C978238F16CBE39D652DE3FDB8BEFC848AD9\
22222E04A4037C0713EB57A81A23F0C73473FC646CEA306B4BCBC886\
2F8385DDFA9D4B7FA2C087E879683303ED5BDD3A062B3CF5B3A278A6\
6D2A13F83F44F82DDF310EE074AB6A364597E899A0255DC164F31CC5\
0846851DF9AB48195DED7EA1B1D510BD7EE74D73FAF36BC31ECFA268\
359046F4EB879F924009438B481C6CD7889A002ED5EE382BC9190DA6\
FC026E479558E4475677E9AA9E3050E2765694DFC81F56E880B96E71\
60C980DD98EDD3DFFFFFFFFFFFFFFFFF''',
'0x13')
)
def get_srp_context(ng_group_len, hashfunc, salt_len=16):
group = _ng_const[ng_order.index(ng_group_len)]
ctx = {
'hashfunc': hashfunc,
'N': int(group[0], 16),
'g': int(group[1], 16),
'N_len': ng_group_len,
'salt_len': salt_len
}
return ctx | 46.035088 | 75 | 0.926448 | 147 | 5,248 | 32.952381 | 0.557823 | 0.069364 | 0.104046 | 0.138728 | 0.543353 | 0.543353 | 0.543353 | 0.543353 | 0.543353 | 0.543353 | 0 | 0.56666 | 0.035252 | 5,248 | 114 | 76 | 46.035088 | 0.390085 | 0.008384 | 0 | 0.538462 | 0 | 0 | 0.923624 | 0.898038 | 0 | 0 | 0.00077 | 0 | 0 | 1 | 0.009615 | false | 0 | 0 | 0 | 0.019231 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
80b3fdcbbc0608ee173262492c49ab82691e17e6 | 75 | py | Python | cimod/utils/__init__.py | 29rou/cimod | 71954f3874c15025db088d66e8421425a5eddc44 | [
"Apache-2.0"
] | 8 | 2020-03-24T09:29:21.000Z | 2022-01-12T17:06:20.000Z | cimod/utils/__init__.py | OpenJij/cimod | 14728142d5fca3f1dac4d63a9c6fcd17e82bce9f | [
"Apache-2.0"
] | 18 | 2020-04-16T01:31:25.000Z | 2022-03-08T03:00:01.000Z | cimod/utils/__init__.py | 29rou/cimod | 71954f3874c15025db088d66e8421425a5eddc44 | [
"Apache-2.0"
] | 3 | 2020-05-23T16:53:08.000Z | 2021-07-01T08:51:28.000Z | from .decolator import disabled
from .response import get_state_and_energy
| 25 | 42 | 0.866667 | 11 | 75 | 5.636364 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106667 | 75 | 2 | 43 | 37.5 | 0.925373 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
80be0ffe8bcc45d659bfba707b143d4feeca2615 | 29,781 | py | Python | MantraNet/mantranet.py | gagan3012/IMD | c9943fcb01ea71490d3fca7941d35159117b82ff | [
"MIT"
] | 1 | 2022-02-25T18:38:39.000Z | 2022-02-25T18:38:39.000Z | MantraNet/mantranet.py | gagan3012/IMD | c9943fcb01ea71490d3fca7941d35159117b82ff | [
"MIT"
] | null | null | null | MantraNet/mantranet.py | gagan3012/IMD | c9943fcb01ea71490d3fca7941d35159117b82ff | [
"MIT"
] | null | null | null | import os
import numpy as np
import matplotlib.pyplot as plt
from PIL import Image
from collections import OrderedDict
# Pytorch
import torch
from torch import nn
import torch.nn.functional as F
# pytorch-lightning
import pytorch_lightning as pl
device = torch.device("cuda" if torch.cuda.is_available() else "cpu")
##reproduction of the hardsigmoid coded in tensorflow (which is not exactly the same one in Pytorch)
def hardsigmoid(T):
T_0 = T
T = 0.2 * T_0 + 0.5
T[T_0 < -2.5] = 0
T[T_0 > 2.5] = 1
return T
##ConvLSTM - Equivalent implementation of ConvLSTM2d in pytorch
##Source : https://github.com/ndrplz/ConvLSTM_pytorch
class ConvLSTMCell(nn.Module):
def __init__(self, input_dim, hidden_dim, kernel_size, bias):
"""
Initialize ConvLSTM cell.
Parameters
----------
input_dim: int
Number of channels of input tensor.
hidden_dim: int
Number of channels of hidden state.
kernel_size: (int, int)
Size of the convolutional kernel.
bias: bool
Whether or not to add the bias.
"""
super(ConvLSTMCell, self).__init__()
self.input_dim = input_dim
self.hidden_dim = hidden_dim
self.kernel_size = kernel_size
self.padding = kernel_size[0] // 2, kernel_size[1] // 2
self.bias = bias
self.conv = nn.Conv2d(
in_channels=self.input_dim + self.hidden_dim,
out_channels=4 * self.hidden_dim,
kernel_size=self.kernel_size,
padding=self.padding,
bias=self.bias,
)
self.sigmoid = hardsigmoid
def forward(self, input_tensor, cur_state):
h_cur, c_cur = cur_state
combined = torch.cat(
[input_tensor, h_cur], dim=1
) # concatenate along channel axis
combined_conv = self.conv(combined)
cc_i, cc_f, cc_c, cc_o = torch.split(combined_conv, self.hidden_dim, dim=1)
i = self.sigmoid(cc_i)
f = self.sigmoid(cc_f)
c_next = f * c_cur + i * torch.tanh(cc_c)
o = self.sigmoid(cc_o)
h_next = o * torch.tanh(c_next)
return h_next, c_next
def init_hidden(self, batch_size, image_size):
height, width = image_size
return (
torch.zeros(
batch_size,
self.hidden_dim,
height,
width,
device=self.conv.weight.device,
),
torch.zeros(
batch_size,
self.hidden_dim,
height,
width,
device=self.conv.weight.device,
),
)
class ConvLSTM(nn.Module):
"""
Parameters:
input_dim: Number of channels in input
hidden_dim: Number of hidden channels
kernel_size: Size of kernel in convolutions
num_layers: Number of LSTM layers stacked on each other
batch_first: Whether or not dimension 0 is the batch or not
bias: Bias or no bias in Convolution
return_all_layers: Return the list of computations for all layers
Note: Will do same padding.
Input:
A tensor of size B, T, C, H, W or T, B, C, H, W
Output:
A tuple of two lists of length num_layers (or length 1 if return_all_layers is False).
0 - layer_output_list is the list of lists of length T of each output
1 - last_state_list is the list of last states
each element of the list is a tuple (h, c) for hidden state and memory
Example:
>> x = torch.rand((32, 10, 64, 128, 128))
>> convlstm = ConvLSTM(64, 16, 3, 1, True, True, False)
>> _, last_states = convlstm(x)
>> h = last_states[0][0] # 0 for layer index, 0 for h index
"""
def __init__(
self,
input_dim,
hidden_dim,
kernel_size,
num_layers,
batch_first=False,
bias=True,
return_all_layers=False,
):
super(ConvLSTM, self).__init__()
self._check_kernel_size_consistency(kernel_size)
# Make sure that both `kernel_size` and `hidden_dim` are lists having len == num_layers
kernel_size = self._extend_for_multilayer(kernel_size, num_layers)
hidden_dim = self._extend_for_multilayer(hidden_dim, num_layers)
if not len(kernel_size) == len(hidden_dim) == num_layers:
raise ValueError("Inconsistent list length.")
self.input_dim = input_dim
self.hidden_dim = hidden_dim
self.kernel_size = kernel_size
self.num_layers = num_layers
self.batch_first = batch_first
self.bias = bias
self.return_all_layers = return_all_layers
cell_list = []
for i in range(0, self.num_layers):
cur_input_dim = self.input_dim if i == 0 else self.hidden_dim[i - 1]
cell_list.append(
ConvLSTMCell(
input_dim=cur_input_dim,
hidden_dim=self.hidden_dim[i],
kernel_size=self.kernel_size[i],
bias=self.bias,
)
)
self.cell_list = nn.ModuleList(cell_list)
def forward(self, input_tensor, hidden_state=None):
"""
Parameters
----------
input_tensor: todo
5-D Tensor either of shape (t, b, c, h, w) or (b, t, c, h, w)
hidden_state: todo
None. todo implement stateful
Returns
-------
last_state_list, layer_output
"""
if not self.batch_first:
# (t, b, c, h, w) -> (b, t, c, h, w)
input_tensor = input_tensor.transpose(0, 1)
b, _, _, h, w = input_tensor.size()
# Implement stateful ConvLSTM
if hidden_state is not None:
raise NotImplementedError()
else:
# Since the init is done in forward. Can send image size here
hidden_state = self._init_hidden(batch_size=b, image_size=(h, w))
layer_output_list = []
last_state_list = []
seq_len = input_tensor.size(1)
cur_layer_input = input_tensor
for layer_idx in range(self.num_layers):
h, c = hidden_state[layer_idx]
output_inner = []
for t in range(seq_len):
h, c = self.cell_list[layer_idx](
input_tensor=cur_layer_input[:, t, :, :, :], cur_state=[h, c]
)
output_inner.append(h)
layer_output = torch.stack(output_inner, dim=1)
cur_layer_input = layer_output
layer_output_list.append(layer_output)
last_state_list.append([h, c])
if not self.return_all_layers:
layer_output_list = layer_output_list[-1:]
last_state_list = last_state_list[-1:]
return layer_output_list, last_state_list
def _init_hidden(self, batch_size, image_size):
init_states = []
for i in range(self.num_layers):
init_states.append(self.cell_list[i].init_hidden(batch_size, image_size))
return init_states
@staticmethod
def _check_kernel_size_consistency(kernel_size):
if not (
isinstance(kernel_size, tuple)
or (
isinstance(kernel_size, list)
and all([isinstance(elem, tuple) for elem in kernel_size])
)
):
raise ValueError("`kernel_size` must be tuple or list of tuples")
@staticmethod
def _extend_for_multilayer(param, num_layers):
if not isinstance(param, list):
param = [param] * num_layers
return param
class ConvGruCell(nn.Module):
def __init__(self, input_dim, hidden_dim, kernel_size, bias):
"""
Initialize ConvGRU cell.
Parameters
----------
input_dim: int
Number of channels of input tensor.
hidden_dim: int
Number of channels of hidden state.
kernel_size: (int, int)
Size of the convolutional kernel.
bias: bool
Whether or not to add the bias.
"""
super(ConvGruCell, self).__init__()
self.input_dim = input_dim
self.hidden_dim = hidden_dim
self.kernel_size = kernel_size
self.padding = kernel_size[0] // 2, kernel_size[1] // 2
self.bias = bias
self.sigmoid = hardsigmoid
self.conv1 = nn.Conv2d(
in_channels=self.input_dim + self.hidden_dim,
out_channels=2 * self.hidden_dim,
kernel_size=self.kernel_size,
padding=self.padding,
bias=self.bias,
)
self.conv2 = nn.Conv2d(
in_channels=self.input_dim + self.hidden_dim,
out_channels=self.hidden_dim,
kernel_size=self.kernel_size,
padding=self.padding,
bias=self.bias,
)
def forward(self, input_tensor, cur_state):
h_cur = cur_state
# print(h_cur)
h_x = torch.cat([h_cur, input_tensor], dim=1) # concatenate along channel axis
# print('OK')
combined_conv = self.conv1(h_x)
cc_r, cc_u = torch.split(combined_conv, self.hidden_dim, dim=1)
r = self.sigmoid(cc_r)
u = self.sigmoid(cc_u)
x_r_o_h = torch.cat([input_tensor, r * h_cur], dim=1)
# print(x_r_o_h.size())
combined_conv = self.conv2(x_r_o_h)
c = nn.Tanh()(combined_conv)
h_next = (1 - u) * h_cur + u * c
return h_next
def init_hidden(self, batch_size, image_size):
height, width = image_size
return torch.zeros(
batch_size, self.hidden_dim, height, width, device=self.conv1.weight.device
)
class ConvGRU(nn.Module):
"""
Parameters:
input_dim: Number of channels in input
hidden_dim: Number of hidden channels
kernel_size: Size of kernel in convolutions
num_layers: Number of LSTM layers stacked on each other
batch_first: Whether or not dimension 0 is the batch or not
bias: Bias or no bias in Convolution
return_all_layers: Return the list of computations for all layers
Note: Will do same padding.
Input:
A tensor of size B, T, C, H, W or T, B, C, H, W
Output:
A tuple of two lists of length num_layers (or length 1 if return_all_layers is False).
0 - layer_output_list is the list of lists of length T of each output
1 - last_state_list is the list of last states
each element of the list is a tuple (h, c) for hidden state and memory
Example:
>> x = torch.rand((32, 10, 64, 128, 128))
>> convgru = ConvGRU(64, 16, 3, 1, True, True, False)
>> _, last_states = convgru(x)
>> h = last_states[0][0] # 0 for layer index, 0 for h index
"""
def __init__(
self,
input_dim,
hidden_dim,
kernel_size,
num_layers,
batch_first=False,
bias=True,
return_all_layers=False,
):
super(ConvGRU, self).__init__()
self._check_kernel_size_consistency(kernel_size)
# Make sure that both `kernel_size` and `hidden_dim` are lists having len == num_layers
kernel_size = self._extend_for_multilayer(kernel_size, num_layers)
hidden_dim = self._extend_for_multilayer(hidden_dim, num_layers)
if not len(kernel_size) == len(hidden_dim) == num_layers:
raise ValueError("Inconsistent list length.")
self.input_dim = input_dim
self.hidden_dim = hidden_dim
self.kernel_size = kernel_size
self.num_layers = num_layers
self.batch_first = batch_first
self.bias = bias
self.return_all_layers = return_all_layers
cell_list = []
for i in range(0, self.num_layers):
cur_input_dim = self.input_dim if i == 0 else self.hidden_dim[i - 1]
cell_list.append(
ConvGruCell(
input_dim=cur_input_dim,
hidden_dim=self.hidden_dim[i],
kernel_size=self.kernel_size[i],
bias=self.bias,
)
)
self.cell_list = nn.ModuleList(cell_list)
def forward(self, input_tensor, hidden_state=None):
"""
Parameters
----------
input_tensor: todo
5-D Tensor either of shape (t, b, c, h, w) or (b, t, c, h, w)
hidden_state: todo
None. todo implement stateful
Returns
-------
last_state_list, layer_output
"""
if not self.batch_first:
# (t, b, c, h, w) -> (b, t, c, h, w)
input_tensor = input_tensor.transpose(0, 1)
b, _, _, h, w = input_tensor.size()
# Implement stateful ConvGRU
if hidden_state is not None:
raise NotImplementedError()
else:
# Since the init is done in forward. Can send image size here
hidden_state = self._init_hidden(batch_size=b, image_size=(h, w))
layer_output_list = []
last_state_list = []
seq_len = input_tensor.size(1)
cur_layer_input = input_tensor
for layer_idx in range(self.num_layers):
h = hidden_state[layer_idx]
output_inner = []
for t in range(seq_len):
h = self.cell_list[layer_idx](
input_tensor=cur_layer_input[:, t, :, :, :], cur_state=h
)
output_inner.append(h)
layer_output = torch.stack(output_inner, dim=1)
cur_layer_input = layer_output
layer_output_list.append(layer_output)
last_state_list.append(h)
if not self.return_all_layers:
layer_output_list = layer_output_list[-1:]
last_state_list = last_state_list[-1:]
return layer_output_list, last_state_list
def _init_hidden(self, batch_size, image_size):
init_states = []
for i in range(self.num_layers):
init_states.append(self.cell_list[i].init_hidden(batch_size, image_size))
return init_states
@staticmethod
def _check_kernel_size_consistency(kernel_size):
if not (
isinstance(kernel_size, tuple)
or (
isinstance(kernel_size, list)
and all([isinstance(elem, tuple) for elem in kernel_size])
)
):
raise ValueError("`kernel_size` must be tuple or list of tuples")
@staticmethod
def _extend_for_multilayer(param, num_layers):
if not isinstance(param, list):
param = [param] * num_layers
return param
## Symmetric padding (not existing natively in Pytorch)
## Source : https://discuss.pytorch.org/t/symmetric-padding/19866/3
def reflect(x, minx, maxx):
"""Reflects an array around two points making a triangular waveform that ramps up
and down, allowing for pad lengths greater than the input length"""
rng = maxx - minx
double_rng = 2 * rng
mod = np.fmod(x - minx, double_rng)
normed_mod = np.where(mod < 0, mod + double_rng, mod)
out = np.where(normed_mod >= rng, double_rng - normed_mod, normed_mod) + minx
return np.array(out, dtype=x.dtype)
def symm_pad(im, padding):
h, w = im.shape[-2:]
left, right, top, bottom = padding
x_idx = np.arange(-left, w + right)
y_idx = np.arange(-top, h + bottom)
x_pad = reflect(x_idx, -0.5, w - 0.5)
y_pad = reflect(y_idx, -0.5, h - 0.5)
xx, yy = np.meshgrid(x_pad, y_pad)
return im[..., yy, xx]
# batch normalization equivalent to the one proposed in tensorflow
# Source : https://gluon.mxnet.io/chapter04_convolutional-neural-networks/cnn-batch-norm-scratch.html
def batch_norm(X, eps=0.001):
# extract the dimensions
N, C, H, W = X.shape
device = X.device
# mini-batch mean
mean = X.mean(axis=(0, 2, 3)).to(device)
# mini-batch variance
variance = ((X - mean.view((1, C, 1, 1))) ** 2).mean(axis=(0, 2, 3)).to(device)
# normalize
X = (
(X - mean.reshape((1, C, 1, 1)))
* 1.0
/ torch.pow((variance.view((1, C, 1, 1)) + eps), 0.5)
)
return X.to(device)
# MantraNet (equivalent from the one coded in tensorflow at https://github.com/ISICV/ManTraNet)
class MantraNet(nn.Module):
def __init__(self, in_channel=3, eps=10 ** (-6), device=device):
super(MantraNet, self).__init__()
self.eps = eps
self.relu = nn.ReLU()
self.device = device
# ********** IMAGE MANIPULATION TRACE FEATURE EXTRACTOR *********
## Initialisation
self.init_conv = nn.Conv2d(in_channel, 4, 5, 1, padding=0, bias=False)
self.BayarConv2D = nn.Conv2d(in_channel, 3, 5, 1, padding=0, bias=False)
self.bayar_mask = (torch.tensor(np.ones(shape=(5, 5)))).to(self.device)
self.bayar_mask[2, 2] = 0
self.bayar_final = (torch.tensor(np.zeros((5, 5)))).to(self.device)
self.bayar_final[2, 2] = -1
self.SRMConv2D = nn.Conv2d(in_channel, 9, 5, 1, padding=0, bias=False)
self.SRMConv2D.weight.data = torch.load("MantraNet/MantraNetv4.pt")[
"SRMConv2D.weight"
]
##SRM filters (fixed)
for param in self.SRMConv2D.parameters():
param.requires_grad = False
self.middle_and_last_block = nn.ModuleList(
[
nn.Conv2d(16, 32, 3, 1, padding=0),
nn.ReLU(),
nn.Conv2d(32, 64, 3, 1, padding=0),
nn.ReLU(),
nn.Conv2d(64, 64, 3, 1, padding=0),
nn.ReLU(),
nn.Conv2d(64, 128, 3, 1, padding=0),
nn.ReLU(),
nn.Conv2d(128, 128, 3, 1, padding=0),
nn.ReLU(),
nn.Conv2d(128, 128, 3, 1, padding=0),
nn.ReLU(),
nn.Conv2d(128, 256, 3, 1, padding=0),
nn.ReLU(),
nn.Conv2d(256, 256, 3, 1, padding=0),
nn.ReLU(),
nn.Conv2d(256, 256, 3, 1, padding=0),
nn.ReLU(),
nn.Conv2d(256, 256, 3, 1, padding=0),
nn.ReLU(),
nn.Conv2d(256, 256, 3, 1, padding=0),
nn.ReLU(),
nn.Conv2d(256, 256, 3, 1, padding=0),
]
)
# ********** LOCAL ANOMALY DETECTOR *********
self.adaptation = nn.Conv2d(256, 64, 1, 1, padding=0, bias=False)
self.sigma_F = nn.Parameter(torch.zeros((1, 64, 1, 1)), requires_grad=True)
self.pool31 = nn.AvgPool2d(31, stride=1, padding=15, count_include_pad=False)
self.pool15 = nn.AvgPool2d(15, stride=1, padding=7, count_include_pad=False)
self.pool7 = nn.AvgPool2d(7, stride=1, padding=3, count_include_pad=False)
self.convlstm = ConvLSTM(
input_dim=64,
hidden_dim=8,
kernel_size=(7, 7),
num_layers=1,
batch_first=False,
bias=True,
return_all_layers=False,
)
self.end = nn.Sequential(nn.Conv2d(8, 1, 7, 1, padding=3), nn.Sigmoid())
def forward(self, x):
B, nb_channel, H, W = x.shape
if not (self.training):
self.GlobalPool = nn.AvgPool2d((H, W), stride=1)
else:
if not hasattr(self, "GlobalPool"):
self.GlobalPool = nn.AvgPool2d((H, W), stride=1)
# Normalization
x = x / 255.0 * 2 - 1
## Image Manipulation Trace Feature Extractor
## **Bayar constraints**
self.BayarConv2D.weight.data *= self.bayar_mask
self.BayarConv2D.weight.data *= torch.pow(
self.BayarConv2D.weight.data.sum(axis=(2, 3)).view(3, 3, 1, 1), -1
)
self.BayarConv2D.weight.data += self.bayar_final
# Symmetric padding
x = symm_pad(x, (2, 2, 2, 2))
conv_init = self.init_conv(x)
conv_bayar = self.BayarConv2D(x)
conv_srm = self.SRMConv2D(x)
first_block = torch.cat([conv_init, conv_srm, conv_bayar], axis=1)
first_block = self.relu(first_block)
last_block = first_block
for layer in self.middle_and_last_block:
if isinstance(layer, nn.Conv2d):
last_block = symm_pad(last_block, (1, 1, 1, 1))
last_block = layer(last_block)
# L2 normalization
last_block = F.normalize(last_block, dim=1, p=2)
## Local Anomaly Feature Extraction
X_adapt = self.adaptation(last_block)
X_adapt = batch_norm(X_adapt)
# Z-pool concatenation
mu_T = self.GlobalPool(X_adapt)
sigma_T = torch.sqrt(self.GlobalPool(torch.square(X_adapt - mu_T)))
sigma_T = torch.max(sigma_T, self.sigma_F + self.eps)
inv_sigma_T = torch.pow(sigma_T, -1)
zpoolglobal = torch.abs((mu_T - X_adapt) * inv_sigma_T)
mu_31 = self.pool31(X_adapt)
zpool31 = torch.abs((mu_31 - X_adapt) * inv_sigma_T)
mu_15 = self.pool15(X_adapt)
zpool15 = torch.abs((mu_15 - X_adapt) * inv_sigma_T)
mu_7 = self.pool7(X_adapt)
zpool7 = torch.abs((mu_7 - X_adapt) * inv_sigma_T)
input_lstm = torch.cat(
[
zpool7.unsqueeze(0),
zpool15.unsqueeze(0),
zpool31.unsqueeze(0),
zpoolglobal.unsqueeze(0),
],
axis=0,
)
# Conv2DLSTM
_, output_lstm = self.convlstm(input_lstm)
output_lstm = output_lstm[0][0]
final_output = self.end(output_lstm)
return final_output
# Slight modification of the original MantraNet using a GRU instead of a LSTM
class MantraNet_GRU(nn.Module):
def __init__(self, device, in_channel=3, eps=10 ** (-4)):
super(MantraNet_GRU, self).__init__()
self.eps = eps
self.relu = nn.ReLU()
self.device = device
# ********** IMAGE MANIPULATION TRACE FEATURE EXTRACTOR *********
## Initialisation
self.init_conv = nn.Conv2d(in_channel, 4, 5, 1, padding=0, bias=False)
self.BayarConv2D = nn.Conv2d(in_channel, 3, 5, 1, padding=0, bias=False)
self.SRMConv2D = nn.Conv2d(in_channel, 9, 5, 1, padding=0, bias=False)
self.SRMConv2D.weight.data = torch.load("MantraNetv4.pt")["SRMConv2D.weight"]
##SRM filters (fixed)
for param in self.SRMConv2D.parameters():
param.requires_grad = False
self.middle_and_last_block = nn.ModuleList(
[
nn.Conv2d(16, 32, 3, 1, padding=0),
nn.ReLU(),
nn.Conv2d(32, 64, 3, 1, padding=0),
nn.ReLU(),
nn.Conv2d(64, 64, 3, 1, padding=0),
nn.ReLU(),
nn.Conv2d(64, 128, 3, 1, padding=0),
nn.ReLU(),
nn.Conv2d(128, 128, 3, 1, padding=0),
nn.ReLU(),
nn.Conv2d(128, 128, 3, 1, padding=0),
nn.ReLU(),
nn.Conv2d(128, 256, 3, 1, padding=0),
nn.ReLU(),
nn.Conv2d(256, 256, 3, 1, padding=0),
nn.ReLU(),
nn.Conv2d(256, 256, 3, 1, padding=0),
nn.ReLU(),
nn.Conv2d(256, 256, 3, 1, padding=0),
nn.ReLU(),
nn.Conv2d(256, 256, 3, 1, padding=0),
nn.ReLU(),
nn.Conv2d(256, 256, 3, 1, padding=0),
]
)
# ********** LOCAL ANOMALY DETECTOR *********
self.adaptation = nn.Conv2d(256, 64, 1, 1, padding=0, bias=False)
self.sigma_F = nn.Parameter(torch.zeros((1, 64, 1, 1)), requires_grad=True)
self.pool31 = nn.AvgPool2d(31, stride=1, padding=15, count_include_pad=False)
self.pool15 = nn.AvgPool2d(15, stride=1, padding=7, count_include_pad=False)
self.pool7 = nn.AvgPool2d(7, stride=1, padding=3, count_include_pad=False)
self.convgru = ConvGRU(
input_dim=64,
hidden_dim=8,
kernel_size=(7, 7),
num_layers=1,
batch_first=False,
bias=True,
return_all_layers=False,
)
self.end = nn.Sequential(nn.Conv2d(8, 1, 7, 1, padding=3), nn.Sigmoid())
self.bayar_mask = torch.ones((5, 5), device=self.device)
self.bayar_final = torch.zeros((5, 5), device=self.device)
def forward(self, x):
B, nb_channel, H, W = x.shape
if not (self.training):
self.GlobalPool = nn.AvgPool2d((H, W), stride=1)
else:
if not hasattr(self, "GlobalPool"):
self.GlobalPool = nn.AvgPool2d((H, W), stride=1)
# Normalization
x = x / 255.0 * 2 - 1
## Image Manipulation Trace Feature Extractor
## **Bayar constraints**
self.bayar_mask[2, 2] = 0
self.bayar_final[2, 2] = -1
self.BayarConv2D.weight.data *= self.bayar_mask
self.BayarConv2D.weight.data *= torch.pow(
self.BayarConv2D.weight.data.sum(axis=(2, 3)).view(3, 3, 1, 1), -1
)
self.BayarConv2D.weight.data += self.bayar_final
# Symmetric padding
X = symm_pad(x, (2, 2, 2, 2))
conv_init = self.init_conv(X)
conv_bayar = self.BayarConv2D(X)
conv_srm = self.SRMConv2D(X)
first_block = torch.cat([conv_init, conv_srm, conv_bayar], axis=1)
first_block = self.relu(first_block)
last_block = first_block
for layer in self.middle_and_last_block:
if isinstance(layer, nn.Conv2d):
last_block = symm_pad(last_block, (1, 1, 1, 1))
last_block = layer(last_block)
# L2 normalization
last_block = F.normalize(last_block, dim=1, p=2)
## Local Anomaly Feature Extraction
X_adapt = self.adaptation(last_block)
X_adapt = batch_norm(X_adapt)
# Z-pool concatenation
mu_T = self.GlobalPool(X_adapt)
sigma_T = torch.sqrt(self.GlobalPool(torch.square(X_adapt - mu_T)))
sigma_T = torch.max(sigma_T, self.sigma_F + self.eps)
inv_sigma_T = torch.pow(sigma_T, -1)
zpoolglobal = torch.abs((mu_T - X_adapt) * inv_sigma_T)
mu_31 = self.pool31(X_adapt)
zpool31 = torch.abs((mu_31 - X_adapt) * inv_sigma_T)
mu_15 = self.pool15(X_adapt)
zpool15 = torch.abs((mu_15 - X_adapt) * inv_sigma_T)
mu_7 = self.pool7(X_adapt)
zpool7 = torch.abs((mu_7 - X_adapt) * inv_sigma_T)
input_gru = torch.cat(
[
zpool7.unsqueeze(0),
zpool15.unsqueeze(0),
zpool31.unsqueeze(0),
zpoolglobal.unsqueeze(0),
],
axis=0,
)
# Conv2DLSTM
_, output_gru = self.convgru(input_gru)
output_gru = output_gru[0]
final_output = self.end(output_gru)
return final_output
##Use pre-trained weights :
def pre_trained_model(weight_path="MantraNet\MantraNetv4.pt", device=device):
model = MantraNet(device=device)
model.load_state_dict(torch.load(weight_path))
return model
# predict a forgery mask of an image
def check_forgery(model, img_path="./example.jpg", device=device):
model.to(device)
model.eval()
im = Image.open(img_path)
im = np.array(im)
original_image = im.copy()
im = torch.Tensor(im)
im = im.unsqueeze(0)
im = im.transpose(2, 3).transpose(1, 2)
im = im.to(device)
with torch.no_grad():
final_output = model(im)
fig = plt.figure(figsize=(20, 20))
plt.subplot(1, 3, 1)
plt.imshow(original_image)
plt.title("Original image")
plt.subplot(1, 3, 2)
plt.imshow((final_output[0][0]).cpu().detach(), cmap="gray")
plt.title("Predicted forgery mask")
plt.subplot(1, 3, 3)
plt.imshow(
(final_output[0][0].cpu().detach().unsqueeze(2) > 0.2)
* torch.tensor(original_image)
)
plt.title("Suspicious regions detected")
return fig
class ForgeryDetector(pl.LightningModule):
# Model Initialization/Creation
def __init__(self, train_loader, detector=MantraNet(), lr=0.001):
super(ForgeryDetector, self).__init__()
self.detector = detector
self.train_loader = train_loader
self.cpt = -1
self.lr = lr
# Forward Pass of Model
def forward(self, x):
return self.detector(x)
# Loss Function
def loss(self, y_hat, y):
return nn.BCELoss()(y_hat, y)
# Optimizers
def configure_optimizers(self):
optimizer = torch.optim.AdamW(self.detector.parameters(), lr=self.lr)
# scheduler = torch.optim.lr_scheduler.StepLR(optimizer, step_size=1, gamma=0.1)
# return the list of optimizers and second empty list is for schedulers (if any)
return [optimizer], []
# Calls after prepare_data for DataLoader
def train_dataloader(self):
return self.train_loader
# Training Loop
def training_step(self, batch, batch_idx):
# batch returns x and y tensors
real_images, mask = batch
B, _, _, _ = real_images.size()
self.cpt += 1
predicted = self.detector(real_images).view(B, -1)
mask = mask.view(B, -1)
loss = self.loss(predicted, mask)
self.log("BCELoss", loss, on_step=True, on_epoch=True, prog_bar=True)
output = OrderedDict(
{
"loss": loss,
}
)
return output
| 31.44773 | 101 | 0.574259 | 3,948 | 29,781 | 4.134498 | 0.105876 | 0.034307 | 0.017644 | 0.014703 | 0.755988 | 0.746799 | 0.739938 | 0.734669 | 0.730871 | 0.714575 | 0 | 0.035243 | 0.315906 | 29,781 | 946 | 102 | 31.480973 | 0.765965 | 0.181659 | 0 | 0.634948 | 0 | 0 | 0.014847 | 0.002025 | 0 | 0 | 0 | 0.006342 | 0 | 1 | 0.055363 | false | 0 | 0.015571 | 0.00519 | 0.122837 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
03946ed5a7029bcb9fbc16121af6b107c91e6ceb | 2,540 | py | Python | src/simmate/toolkit/base_data_types/species.py | sionab/simmate | 6dedea7310829aae425bf3393e7923e454a0129f | [
"BSD-3-Clause"
] | 9 | 2021-12-21T02:58:21.000Z | 2022-01-25T14:00:06.000Z | src/simmate/toolkit/base_data_types/species.py | sionab/simmate | 6dedea7310829aae425bf3393e7923e454a0129f | [
"BSD-3-Clause"
] | 51 | 2022-01-01T15:59:58.000Z | 2022-03-26T21:25:42.000Z | src/simmate/toolkit/base_data_types/species.py | sionab/simmate | 6dedea7310829aae425bf3393e7923e454a0129f | [
"BSD-3-Clause"
] | 7 | 2022-01-01T03:44:32.000Z | 2022-03-29T19:59:27.000Z | # -*- coding: utf-8 -*-
from simmate.materials_science.elements import Element
class Species:
"""
Species is an central class to using Simmate as there are many types that we
need to account for. We use https://en.wikipedia.org/wiki/Chemical_species as
a template for the type of species:
atomic/elemental species --> This is just an Element with extra data
ionic species --> an elemental species with an oxidation state
molecular species --> a moleucle object with extra data
radical species --> species with unpaired electron
compositional species --> similar to elemental species but with partial occupancy
or with multiple elements & stoichiometric ratios
Note all species can have extra data attached to it, but this *DOES NOT* include
coordinates. This is generic data such as an ideal oxidation state or spin data.
This class can be confusing when compared to Sites, which are Elements with
extra data attached to each and *DOES* include coordinates.
Deciding where to attach data (either Species or Site) can be tricky, but as
a general rule, you should always use Site when working with Molecules and
Structures -- and then use Species when you're working generically with a
Composition.
As an example, say I want to predict oxidation states. For the material Ca2NCl,
I would make a Composition object made of Species, and each Species would have
an oxidation state attached to it. For a crystal structure of Ca2NCl, I would
want to instead attach oxidation states to each Site.
As a bonus, if I wanted to switch from a Structure (made of Sites) to a generic
Composition (made of Species), I can use a Structure's composition attribute to
get a Composition object. This would group all of the Sites by their unique
properties (ignoring coordinates) and give you a list of the unique Species.
For extra help, use this tutorial or you can ask our team about your situation:
< TODO: ADD LINK >
"""
def __init__(self, symbol, oxidation_state=0.0, **kwargs):
# Because oxidation states are the most commonly used with Species objects,
# I set that keyword, but all others can be defined by the user. Here are
# some standard keywords worth considering:
# oxidation_state
# spin_up / spin_down / spin_total
# population
# for each additional keyword and value provided, link it to an attribute
pass
| 44.561404 | 89 | 0.714961 | 376 | 2,540 | 4.800532 | 0.462766 | 0.038781 | 0.021607 | 0.021053 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002599 | 0.24252 | 2,540 | 56 | 90 | 45.357143 | 0.935551 | 0.862598 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.017857 | 0 | 1 | 0.25 | false | 0.25 | 0.25 | 0 | 0.75 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 5 |
03a8c597d98576f4dd469c710bbc05d38cf8f059 | 4,832 | py | Python | LNP_helper_functions.py | mikailkhona/1DGCN | 615fe1e999c179f034e4f5d5dd2f5ec5789cdc82 | [
"MIT"
] | null | null | null | LNP_helper_functions.py | mikailkhona/1DGCN | 615fe1e999c179f034e4f5d5dd2f5ec5789cdc82 | [
"MIT"
] | null | null | null | LNP_helper_functions.py | mikailkhona/1DGCN | 615fe1e999c179f034e4f5d5dd2f5ec5789cdc82 | [
"MIT"
] | null | null | null | """
Original MATLAB code by Ila Fiete and John Widloski (2014)
Adapted into Python by Francisco Acosta in 2020
"""
import numpy as np
def compute_LNP_ionic_currents(g_L):
'''
This function computes the total ionic current (I_ion) based on:
- ionic conductance amplitudes of the leak current (g_L)
'''
I_ion = g_L
return I_ion
def compute_LNP_syn_currents_det(rate,s,dt,ind_EL,ind_ER,ind_I,G_I_EL,G_I_ER,G_EL_I,G_ER_I,G_I_I,tau_g):
'''
This function computes synaptic currents to all neurons (I_syn) and updates values of
synaptic activations (s), based on:
- current spike vector (spk)
- time step (dt)
- synaptic activations from previous time step (s)
- indices of neurons in each population (ind_EL, ind_ER, ind_I)
- synaptic conductance amplitudes (G_I_EL,G_I_ER,G_EL_I,G_ER_I,G_I_I)
- synaptic conductance time constants (tau_g)
'''
s_EL = s[ind_EL]
s_ER = s[ind_ER]
s_I = s[ind_I]
''' Update synaptic inputs into inhibitory pop. '''
I_I_syn = G_I_EL@s_EL + G_I_ER@s_ER - G_I_I@s_I
''' Update synaptic inputs into excitatory pops. '''
I_EL_syn = -G_EL_I@s_I
I_ER_syn = -G_ER_I@s_I
I_syn = np.concatenate((I_I_syn,I_EL_syn,I_ER_syn),axis = 0)
'''Update synaptic activations'''
s_EL = s_EL + dt/tau_g*(-s_EL + tau_g*rate[ind_EL])
s_ER = s_ER + dt/tau_g*(-s_ER + tau_g*rate[ind_ER])
s_I = s_I + dt/tau_g*(-s_I + tau_g*rate[ind_I])
s = np.concatenate((s_I,s_EL,s_ER),axis = 0)
return I_syn,s
def compute_LNP_output_det(dt,I_ion,I_syn,I_app,A_env,velocity,beta_vel):
'''
This function outputs the spike vector (spk), based on:
- time step (dt)
- ionic currents (I_ion)
- synaptic currents (I_syn)
- externally applied currents (I_app)
- envelope function for suppressing edge neurons in aperiodic nets (A_env)
'''
'''total input current into all neurons'''
modulation = (1 + beta_vel*velocity)
I_in = -I_ion + A_env*modulation*(I_syn + I_app)
'''apply threshold nonlinearity to input current'''
rate = I_in*(I_in>0)
'''draw spikes with rate = I_in*dt'''
#spk = np.random.poisson(I_in*dt)
return rate
def compute_LNP_syn_currents(spk,s,dt,ind_EL,ind_ER,ind_I,G_I_EL,G_I_ER,G_EL_I,G_ER_I,G_I_I,tau_g):
'''
This function computes synaptic currents to all neurons (I_syn) and updates values of
synaptic activations (s), based on:
- current spike vector (spk)
- time step (dt)
- synaptic activations from previous time step (s)
- indices of neurons in each population (ind_EL, ind_ER, ind_I)
- synaptic conductance amplitudes (G_I_EL,G_I_ER,G_EL_I,G_ER_I,G_I_I)
- synaptic conductance time constants (tau_g)
'''
s_EL = s[ind_EL]
s_ER = s[ind_ER]
s_I = s[ind_I]
''' Update synaptic inputs into inhibitory pop. '''
I_I_syn = G_I_EL@s_EL + G_I_ER@s_ER - G_I_I@s_I
''' Update synaptic inputs into excitatory pops. '''
I_EL_syn = -G_EL_I@s_I
I_ER_syn = -G_ER_I@s_I
I_syn = np.concatenate((I_I_syn,I_EL_syn,I_ER_syn),axis = 0)
'''Update synaptic activations'''
s_EL = s_EL + dt/tau_g*(-s_EL) + spk[ind_EL]
s_ER = s_ER + dt/tau_g*(-s_ER) + spk[ind_ER]
s_I = s_I + dt/tau_g*(-s_I) + spk[ind_I]
s = np.concatenate((s_I,s_EL,s_ER),axis = 0)
return I_syn,s
def compute_LNP_output(dt,I_ion,I_syn,I_app,A_env,velocity,beta_vel):
'''
This function outputs the spike vector (spk), based on:
- time step (dt)
- ionic currents (I_ion)
- synaptic currents (I_syn)
- externally applied currents (I_app)
- envelope function for suppressing edge neurons in aperiodic nets (A_env)
'''
'''total input current into all neurons'''
modulation = (1 + beta_vel*velocity)
I_in = -I_ion + A_env*modulation*(I_syn + I_app)
'''apply threshold nonlinearity to input current'''
I_in = I_in*(I_in>0)
'''draw spikes with rate = I_in*dt'''
spk = np.random.poisson(I_in*dt)
return spk
def create_envelope(periodic,N):
'''
This function returns an envelope for network of size N; The envelope can
either be suppressive (periodic = 0) or flat and equal to one (periodic = 1)
'''
kappa = 0.3 #controls width of main body of envelope
a0 = 30 #controls steepness of envelope
if not periodic:
A = np.zeros((N))
for m in range(1,N+1):
r = abs(m-N/2)
if r < kappa*N:
A[m-1] = 1
else:
A[m-1] = np.exp(-a0*((r-kappa*N)/((1-kappa)*N))**2)
else:
A = np.ones((N))
return A | 28.093023 | 104 | 0.623758 | 824 | 4,832 | 3.381068 | 0.171117 | 0.012922 | 0.014358 | 0.012922 | 0.778177 | 0.760948 | 0.760948 | 0.760948 | 0.760948 | 0.760948 | 0 | 0.008989 | 0.263245 | 4,832 | 172 | 105 | 28.093023 | 0.773596 | 0.36755 | 0 | 0.436364 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.109091 | false | 0 | 0.018182 | 0 | 0.236364 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
ff10b759a798d1a89ba60125e5bebbf14ce15da8 | 95 | py | Python | tinycord/models/user/__init__.py | HazemMeqdad/TinyCord | 1d85a9e3523c01af2f34303b6f49778d4347356e | [
"MIT"
] | null | null | null | tinycord/models/user/__init__.py | HazemMeqdad/TinyCord | 1d85a9e3523c01af2f34303b6f49778d4347356e | [
"MIT"
] | null | null | null | tinycord/models/user/__init__.py | HazemMeqdad/TinyCord | 1d85a9e3523c01af2f34303b6f49778d4347356e | [
"MIT"
] | null | null | null | from .user import User
from .voice_state import Voicestate
from .integration import Integration | 31.666667 | 36 | 0.852632 | 13 | 95 | 6.153846 | 0.538462 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115789 | 95 | 3 | 36 | 31.666667 | 0.952381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
207d42814e70be8cc86414518c17587b2cd73485 | 360 | py | Python | Redstone Structure Generator Tool/structures/properinglish19_decoder/connections/high_connection.py | n00b-asaurus/LUTBuilder | d5abb21bb1998ddf83feb80194ec1e7e3d73147d | [
"MIT"
] | 12 | 2021-01-21T19:45:24.000Z | 2022-02-28T03:03:17.000Z | Redstone Structure Generator Tool/structures/properinglish19_decoder/connections/high_connection.py | n00b-asaurus/LUTBuilder | d5abb21bb1998ddf83feb80194ec1e7e3d73147d | [
"MIT"
] | 20 | 2020-05-24T23:22:14.000Z | 2022-01-13T02:54:55.000Z | Redstone Structure Generator Tool/structures/properinglish19_decoder/connections/high_connection.py | n00b-asaurus/LUTBuilder | d5abb21bb1998ddf83feb80194ec1e7e3d73147d | [
"MIT"
] | 3 | 2021-03-07T23:38:02.000Z | 2021-03-08T13:22:54.000Z | from structures.properinglish19_decoder.connection import Connection
from structures.properinglish19_decoder.build_handlers.single_on import SingleOn
class HighConnection(Connection):
def __init__(self, x, z):
self.x = x
self.z = z
self.build_handler = SingleOn()
def type(self):
return "high connection with {}".format(self.build_handler.type()) | 32.727273 | 80 | 0.783333 | 47 | 360 | 5.787234 | 0.510638 | 0.102941 | 0.213235 | 0.264706 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.012618 | 0.119444 | 360 | 11 | 81 | 32.727273 | 0.845426 | 0 | 0 | 0 | 0 | 0 | 0.063712 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.222222 | false | 0 | 0.222222 | 0.111111 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
20d66bd169e6453cccdbfe162b9d5aac3101ff1d | 107 | py | Python | python-leetcode/it_16.07.py | MDGSF/interviews | 9faa9aacdb0cfbb777d4d3d4d1b14b55ca2c9f76 | [
"MIT"
] | 12 | 2020-01-16T08:55:27.000Z | 2021-12-02T14:52:39.000Z | python-leetcode/it_16.07.py | MDGSF/interviews | 9faa9aacdb0cfbb777d4d3d4d1b14b55ca2c9f76 | [
"MIT"
] | null | null | null | python-leetcode/it_16.07.py | MDGSF/interviews | 9faa9aacdb0cfbb777d4d3d4d1b14b55ca2c9f76 | [
"MIT"
] | 1 | 2019-12-11T12:00:38.000Z | 2019-12-11T12:00:38.000Z | class Solution:
def maximum(self, a: int, b: int) -> int:
return int((a + b) / 2 + abs((a - b)) / 2)
| 26.75 | 46 | 0.523364 | 19 | 107 | 2.947368 | 0.578947 | 0.071429 | 0.107143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.025316 | 0.261682 | 107 | 3 | 47 | 35.666667 | 0.683544 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
45ae155944a0e219b38842a37215912f7ca210ef | 123 | py | Python | accounts/admin.py | mzntaka0pdt/saasinit | ed18bc39e12140a94331df4602a9c9e7bc8bf0a8 | [
"Apache-2.0"
] | 6 | 2020-05-26T11:41:18.000Z | 2021-05-18T22:01:32.000Z | accounts/admin.py | mzntaka0pdt/saasinit | ed18bc39e12140a94331df4602a9c9e7bc8bf0a8 | [
"Apache-2.0"
] | 8 | 2020-06-06T02:05:10.000Z | 2022-02-10T11:18:23.000Z | accounts/admin.py | mzntaka0pdt/saasinit | ed18bc39e12140a94331df4602a9c9e7bc8bf0a8 | [
"Apache-2.0"
] | 6 | 2020-05-01T07:23:21.000Z | 2022-03-18T08:18:35.000Z | from django.contrib import admin
from .models import Tenant, User
admin.site.register(Tenant)
admin.site.register(User)
| 15.375 | 32 | 0.796748 | 18 | 123 | 5.444444 | 0.555556 | 0.183673 | 0.346939 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113821 | 123 | 7 | 33 | 17.571429 | 0.899083 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
aff3e41b15f474edf9907389721b5de71c1437e1 | 81 | py | Python | ds/beis_indicators/defra/__init__.py | nestauk/beis-indicators | d3133c2bd935a13ecfd6bc8f6e52c8d157477c7c | [
"MIT"
] | 4 | 2020-04-09T20:16:38.000Z | 2022-03-25T11:36:30.000Z | ds/beis_indicators/defra/__init__.py | nestauk/beis-indicators | d3133c2bd935a13ecfd6bc8f6e52c8d157477c7c | [
"MIT"
] | 353 | 2019-11-06T11:26:51.000Z | 2021-12-08T09:13:53.000Z | ds/beis_indicators/defra/__init__.py | nestauk/beis-indicators | d3133c2bd935a13ecfd6bc8f6e52c8d157477c7c | [
"MIT"
] | 1 | 2020-08-03T12:42:31.000Z | 2020-08-03T12:42:31.000Z | from beis_indicators.defra.make_defra_indicators import make_air_pollution_nuts
| 40.5 | 80 | 0.91358 | 12 | 81 | 5.666667 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.061728 | 81 | 1 | 81 | 81 | 0.894737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
b30d861745a218b9e31fc1753137e70362a613af | 74 | py | Python | individual 3(lab4).py | daniilstudent/working_1 | 0929e37dfc92510d15a8cb6bd814f78331332110 | [
"MIT"
] | null | null | null | individual 3(lab4).py | daniilstudent/working_1 | 0929e37dfc92510d15a8cb6bd814f78331332110 | [
"MIT"
] | null | null | null | individual 3(lab4).py | daniilstudent/working_1 | 0929e37dfc92510d15a8cb6bd814f78331332110 | [
"MIT"
] | null | null | null | a="анестезиолог"
print(a[0]+a[11]+a[1]+a[10]+a[4:7:1]+a[4]+a[7]+a[5]+a[6]) | 37 | 57 | 0.540541 | 23 | 74 | 1.73913 | 0.478261 | 0.1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.178082 | 0.013514 | 74 | 2 | 57 | 37 | 0.369863 | 0 | 0 | 0 | 0 | 0 | 0.16 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.5 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
b32c97d18f0e8382909dab555f831599e7c502f8 | 125 | py | Python | en/048/python/main.py | franciscogomes2020/exercises | 8b33c4b9349a9331e4002a8225adc2a482c70024 | [
"MIT"
] | null | null | null | en/048/python/main.py | franciscogomes2020/exercises | 8b33c4b9349a9331e4002a8225adc2a482c70024 | [
"MIT"
] | null | null | null | en/048/python/main.py | franciscogomes2020/exercises | 8b33c4b9349a9331e4002a8225adc2a482c70024 | [
"MIT"
] | null | null | null | # Write a program that calculates the sum of all numbers that are multiples of three and that fall in the range of 1 to 500.
| 62.5 | 124 | 0.776 | 25 | 125 | 3.88 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.040404 | 0.208 | 125 | 1 | 125 | 125 | 0.939394 | 0.976 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
b3392d25b62df1bb06888f83aff4f57bf5d22eee | 91 | py | Python | test/repos/chlorine/single/external_test_1/__init__.py | dentonmwood/codeDuplicationParser | 9f9a83ed850e1a33ee41848a97fd852fa1bfe3b0 | [
"MIT"
] | 1 | 2021-01-08T21:31:03.000Z | 2021-01-08T21:31:03.000Z | test/repos/chlorine/single/external_test_1/__init__.py | dentonmwood/codeDuplicationParser | 9f9a83ed850e1a33ee41848a97fd852fa1bfe3b0 | [
"MIT"
] | 51 | 2019-07-09T12:17:02.000Z | 2019-11-22T17:25:57.000Z | test/repos/chlorine/single/external_test_1/__init__.py | dentonmwood/codeDuplicationParser | 9f9a83ed850e1a33ee41848a97fd852fa1bfe3b0 | [
"MIT"
] | 6 | 2019-07-09T09:52:09.000Z | 2019-10-07T15:48:27.000Z | # Code from: https://github.com/fabric8-analytics/fabric8-analytics-notification-scheduler
| 45.5 | 90 | 0.824176 | 11 | 91 | 6.818182 | 0.818182 | 0.426667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.022989 | 0.043956 | 91 | 1 | 91 | 91 | 0.83908 | 0.967033 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
b3693aa968625ca40cb9db2706ad70a3a5e12338 | 307 | py | Python | kylinpy/job/__init__.py | liuyonghengheng/kylinpy | 61b92b96619f5c6d9f0f92ec08cb4d5cfa272d10 | [
"MIT"
] | 67 | 2017-12-25T05:07:51.000Z | 2021-12-14T14:29:34.000Z | kylinpy/job/__init__.py | liuyonghengheng/kylinpy | 61b92b96619f5c6d9f0f92ec08cb4d5cfa272d10 | [
"MIT"
] | 26 | 2018-01-09T10:17:27.000Z | 2022-02-15T03:49:07.000Z | kylinpy/job/__init__.py | liuyonghengheng/kylinpy | 61b92b96619f5c6d9f0f92ec08cb4d5cfa272d10 | [
"MIT"
] | 34 | 2017-12-29T07:00:34.000Z | 2020-07-07T05:57:04.000Z | # -*- coding: utf-8 -*-
from __future__ import absolute_import
from __future__ import division
from __future__ import print_function
from __future__ import unicode_literals
from .kylin_job_object import KylinJob # noqa
from .ke3_job_object import Ke3Job # noqa
from .ke4_job_object import Ke4Job # noqa
| 30.7 | 46 | 0.811075 | 43 | 307 | 5.209302 | 0.488372 | 0.178571 | 0.285714 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.018939 | 0.140065 | 307 | 9 | 47 | 34.111111 | 0.829545 | 0.117264 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0.142857 | 0 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
2fa914d61ba9a5be253f86fb66221549e375411f | 355 | py | Python | dvol/dvol_helpers/common.py | Flare576/dvol | 208e3ea3572415f0232c953d6c166a3aef915042 | [
"MIT"
] | null | null | null | dvol/dvol_helpers/common.py | Flare576/dvol | 208e3ea3572415f0232c953d6c166a3aef915042 | [
"MIT"
] | null | null | null | dvol/dvol_helpers/common.py | Flare576/dvol | 208e3ea3572415f0232c953d6c166a3aef915042 | [
"MIT"
] | null | null | null | def f_folder (content): return f'[32;47m{content}[0m'
def f_path (content): return f'[33;47m{content}[0m'
def f_argument (content): return f'[34;47m{content}[0m'
def f_command (content): return f'[35;47m{content}[0m'
def get_local_path (local_path, root, container, remote = ''):
return local_path or f'{root}/{container}_volumes{remote}'
| 32.272727 | 62 | 0.701408 | 66 | 355 | 3.757576 | 0.333333 | 0.064516 | 0.225806 | 0.241935 | 0.270161 | 0.205645 | 0 | 0 | 0 | 0 | 0 | 0.063492 | 0.112676 | 355 | 10 | 63 | 35.5 | 0.698413 | 0 | 0 | 0 | 0 | 0 | 0.332394 | 0.332394 | 0 | 0 | 0 | 0 | 0 | 1 | 0.833333 | false | 0 | 0 | 0.833333 | 1 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
2fbcf1fc636c0bdb8f764c22438464b3e3b7667b | 52 | py | Python | pycman/__main__.py | Singein/Pycman | 684f9900ed5657e36c6ab2893875b431b6d1e533 | [
"MIT"
] | 9 | 2019-11-27T11:35:57.000Z | 2021-11-02T05:05:13.000Z | pycman/__main__.py | Singein/Pycman | 684f9900ed5657e36c6ab2893875b431b6d1e533 | [
"MIT"
] | 3 | 2019-11-27T13:17:43.000Z | 2021-11-02T05:10:37.000Z | pycman/__main__.py | Singein/Pycman | 684f9900ed5657e36c6ab2893875b431b6d1e533 | [
"MIT"
] | 2 | 2019-11-27T11:42:28.000Z | 2019-11-28T01:50:47.000Z | from pycman.utils import entry_point
entry_point()
| 13 | 36 | 0.826923 | 8 | 52 | 5.125 | 0.75 | 0.487805 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.115385 | 52 | 3 | 37 | 17.333333 | 0.891304 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
2fe1573bdfa76bc1b408f34de3ca9cd15ad2268b | 48 | py | Python | domain-name-generator/__main__.py | jamesacampbell/domain-name-generator | 4da8e30641d140746c8b8fd67de3ba13310ad188 | [
"MIT"
] | null | null | null | domain-name-generator/__main__.py | jamesacampbell/domain-name-generator | 4da8e30641d140746c8b8fd67de3ba13310ad188 | [
"MIT"
] | null | null | null | domain-name-generator/__main__.py | jamesacampbell/domain-name-generator | 4da8e30641d140746c8b8fd67de3ba13310ad188 | [
"MIT"
] | null | null | null | from .domain-name-generator import main
main()
| 12 | 39 | 0.770833 | 7 | 48 | 5.285714 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 48 | 3 | 40 | 16 | 0.880952 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.5 | null | null | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
ff2d9bebe42a148299bb4c4759592579456e7493 | 149 | py | Python | models/__init__.py | ishine/StyleSpeech-1 | f939cf9cb981db7b738fa9c9c9a7fea2dfdd0766 | [
"MIT"
] | 106 | 2021-07-11T17:08:21.000Z | 2022-03-13T12:01:56.000Z | models/__init__.py | ishine/StyleSpeech-1 | f939cf9cb981db7b738fa9c9c9a7fea2dfdd0766 | [
"MIT"
] | 14 | 2021-07-22T10:24:32.000Z | 2022-03-28T14:46:36.000Z | models/__init__.py | ishine/StyleSpeech-1 | f939cf9cb981db7b738fa9c9c9a7fea2dfdd0766 | [
"MIT"
] | 25 | 2021-08-02T11:31:14.000Z | 2022-03-24T02:07:19.000Z | import models.Constants
import models.Modules
import models.StyleSpeech
import models.VarianceAdaptor
import models.Discriminators
import models.Loss | 24.833333 | 29 | 0.885906 | 18 | 149 | 7.333333 | 0.444444 | 0.545455 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.073826 | 149 | 6 | 30 | 24.833333 | 0.956522 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
ff47ffc6e2418b589a753b41d5c0c51b74ab4f9c | 32 | py | Python | src/my_package/module_2/__init__.py | HorusElohim/PyPkgTemplate | c0d46d6f85d096d1d4f32e432843eb730ed49eaa | [
"MIT"
] | null | null | null | src/my_package/module_2/__init__.py | HorusElohim/PyPkgTemplate | c0d46d6f85d096d1d4f32e432843eb730ed49eaa | [
"MIT"
] | null | null | null | src/my_package/module_2/__init__.py | HorusElohim/PyPkgTemplate | c0d46d6f85d096d1d4f32e432843eb730ed49eaa | [
"MIT"
] | null | null | null | from .data_lib import load_data
| 16 | 31 | 0.84375 | 6 | 32 | 4.166667 | 0.833333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.125 | 32 | 1 | 32 | 32 | 0.892857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
ffa6e6d146da216c719977c73d19bda8024adf82 | 478 | py | Python | tmpdir/dump_compare_sync.py | erhsh/erhsh-python | aeb04352948a2e1f8125a2681b80104b5146bff8 | [
"Apache-2.0"
] | 3 | 2021-04-20T11:23:58.000Z | 2022-01-17T02:57:33.000Z | tmpdir/dump_compare_sync.py | erhsh/erhsh-python | aeb04352948a2e1f8125a2681b80104b5146bff8 | [
"Apache-2.0"
] | null | null | null | tmpdir/dump_compare_sync.py | erhsh/erhsh-python | aeb04352948a2e1f8125a2681b80104b5146bff8 | [
"Apache-2.0"
] | null | null | null | npy = "/home/cj/dump_sync/rank_0/FCN8s/1/0/Conv2DBackpropInput.Conv2DTranspose-op251.0.0.1633702468784428.input.0.DefaultFormat.npy"
npy = "/home/cj/dump_sync/rank_0/FCN8s/1/0/Conv2DBackpropInput.Conv2DTranspose-op251.0.0.1633702468786013.input.1.DefaultFormat.npy"
npy = "/home/cj/dump_sync/rank_0/FCN8s/1/0/Conv2DBackpropInput.Conv2DTranspose-op251.0.0.1633703088299848.input.1.DefaultFormat.npy"
import numpy as np
np_data = np.load(npy)
print(np_data)
print(np_data.shape) | 53.111111 | 132 | 0.8159 | 76 | 478 | 5.013158 | 0.328947 | 0.055118 | 0.070866 | 0.102362 | 0.635171 | 0.635171 | 0.635171 | 0.635171 | 0.635171 | 0.635171 | 0 | 0.183007 | 0.039749 | 478 | 9 | 133 | 53.111111 | 0.647059 | 0 | 0 | 0 | 0 | 0.428571 | 0.776618 | 0.776618 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.142857 | 0 | 0.142857 | 0.285714 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
443ecb7509e196f30ebaae475ea792502cbb919d | 153 | py | Python | cookietemple/create/templates/web/website_python/flask/{{ cookiecutter.project_slug_no_hyphen }}/{{ cookiecutter.project_slug_no_hyphen }}/errors/__init__.py | e2jk/cookietemple | 86af5622cdabe9ae446048536571898716939f29 | [
"Apache-2.0"
] | 117 | 2020-11-23T02:07:23.000Z | 2022-03-21T16:14:53.000Z | cookietemple/create/templates/web/website_python/flask/{{ cookiecutter.project_slug_no_hyphen }}/{{ cookiecutter.project_slug_no_hyphen }}/errors/__init__.py | e2jk/cookietemple | 86af5622cdabe9ae446048536571898716939f29 | [
"Apache-2.0"
] | 226 | 2020-10-19T19:58:13.000Z | 2022-03-27T18:54:30.000Z | cookietemple/create/templates/web/website_python/flask/{{ cookiecutter.project_slug_no_hyphen }}/{{ cookiecutter.project_slug_no_hyphen }}/errors/__init__.py | e2jk/cookietemple | 86af5622cdabe9ae446048536571898716939f29 | [
"Apache-2.0"
] | 9 | 2020-11-24T12:45:10.000Z | 2022-03-13T15:58:23.000Z | from flask import Blueprint
bp = Blueprint('errors', __name__)
from {{cookiecutter.project_slug_no_hyphen}}.errors import handlers # noqa: E402, F401
| 25.5 | 87 | 0.777778 | 20 | 153 | 5.6 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.044776 | 0.124183 | 153 | 5 | 88 | 30.6 | 0.791045 | 0.104575 | 0 | 0 | 0 | 0 | 0.044444 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.666667 | null | null | 0.666667 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 5 |
44407b3309ff2a5aefae97939b97458a08485e9b | 159 | py | Python | efficient_net_v2/model/__init__.py | akashAD98/EfficientNetv2-with-Detectron2 | 1ba7f32cda31550ed4a040c15271612fa3f73d74 | [
"Apache-2.0"
] | null | null | null | efficient_net_v2/model/__init__.py | akashAD98/EfficientNetv2-with-Detectron2 | 1ba7f32cda31550ed4a040c15271612fa3f73d74 | [
"Apache-2.0"
] | null | null | null | efficient_net_v2/model/__init__.py | akashAD98/EfficientNetv2-with-Detectron2 | 1ba7f32cda31550ed4a040c15271612fa3f73d74 | [
"Apache-2.0"
] | null | null | null | #!/usr/bin/env python
from .efficient_net_v2 import EfficientNetV2 # NOQA
from .backbone import build_effnet_backbone, build_effnet_fpn_backbone # NOQA
| 31.8 | 79 | 0.798742 | 22 | 159 | 5.454545 | 0.681818 | 0.183333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.014599 | 0.138365 | 159 | 4 | 80 | 39.75 | 0.861314 | 0.188679 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
4452fc548535ecd8d29aa17152413002f6b9548a | 99 | py | Python | pitch/exceptions.py | georgepsarakis/pitch | bfc903d0be883ce1a989299a2b4835c02bdf00e1 | [
"MIT"
] | 6 | 2015-10-20T09:10:09.000Z | 2018-09-11T12:35:48.000Z | pitch/exceptions.py | georgepsarakis/pitch | bfc903d0be883ce1a989299a2b4835c02bdf00e1 | [
"MIT"
] | 12 | 2015-10-20T17:34:39.000Z | 2015-10-27T18:13:56.000Z | pitch/exceptions.py | georgepsarakis/pitch | bfc903d0be883ce1a989299a2b4835c02bdf00e1 | [
"MIT"
] | null | null | null | class InvalidPluginPhaseError(Exception):
pass
class UnknownPluginError(Exception):
pass
| 14.142857 | 41 | 0.777778 | 8 | 99 | 9.625 | 0.625 | 0.337662 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.161616 | 99 | 6 | 42 | 16.5 | 0.927711 | 0 | 0 | 0.5 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
44734130cd808e9eb55245bae7e6380adeb150d2 | 76 | py | Python | RunIt/app/models/token_models.py | antx-code/funcode | a8a9b99274e169562771b488a3a9551277ef4b99 | [
"MIT"
] | 3 | 2021-09-27T08:07:07.000Z | 2022-03-11T04:46:30.000Z | RunIt/app/models/token_models.py | antx-code/funcode | a8a9b99274e169562771b488a3a9551277ef4b99 | [
"MIT"
] | null | null | null | RunIt/app/models/token_models.py | antx-code/funcode | a8a9b99274e169562771b488a3a9551277ef4b99 | [
"MIT"
] | null | null | null | from pydantic import BaseModel
class GeToken(BaseModel):
identity: str
| 15.2 | 30 | 0.776316 | 9 | 76 | 6.555556 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.171053 | 76 | 4 | 31 | 19 | 0.936508 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
92a054df69575b664cf2bef21f397a6d4b5b2e12 | 112 | py | Python | jobs/job_1.py | estkungzc/cronjob-python | 386762220d7aa50e594f4866a45fb82c7855ab08 | [
"MIT"
] | null | null | null | jobs/job_1.py | estkungzc/cronjob-python | 386762220d7aa50e594f4866a45fb82c7855ab08 | [
"MIT"
] | null | null | null | jobs/job_1.py | estkungzc/cronjob-python | 386762220d7aa50e594f4866a45fb82c7855ab08 | [
"MIT"
] | null | null | null | import logging
import time
def job_1() -> None:
logging.info("I'm working on job 1...")
time.sleep(5)
| 14 | 43 | 0.633929 | 19 | 112 | 3.684211 | 0.736842 | 0.114286 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.034091 | 0.214286 | 112 | 7 | 44 | 16 | 0.761364 | 0 | 0 | 0 | 0 | 0 | 0.205357 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.4 | 0 | 0.6 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
92b9ef1e742e47eea92f03a8f3da399a782af079 | 239 | py | Python | src/test/java/at/spot/jython/Car.py | mojo2012/jython-binding | d9b59aa9f8de06d7cec53509f52bbe535ffb1246 | [
"Apache-2.0"
] | null | null | null | src/test/java/at/spot/jython/Car.py | mojo2012/jython-binding | d9b59aa9f8de06d7cec53509f52bbe535ffb1246 | [
"Apache-2.0"
] | null | null | null | src/test/java/at/spot/jython/Car.py | mojo2012/jython-binding | d9b59aa9f8de06d7cec53509f52bbe535ffb1246 | [
"Apache-2.0"
] | null | null | null | class Car():
numberPlate = None
def __init__(self, numberPlate = None):
self.numberPlate = numberPlate
def getNumberPlate(self):
return self.numberPlate
def setNumberPlate(self, numberPlate):
self.numberPlate = numberPlate
| 19.916667 | 40 | 0.748954 | 25 | 239 | 7 | 0.4 | 0.428571 | 0.297143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16318 | 239 | 12 | 41 | 19.916667 | 0.875 | 0 | 0 | 0.25 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.375 | false | 0 | 0 | 0.125 | 0.75 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 5 |
2b936fab3cc799a962b1616a4cb52f4d5bdc2ae5 | 79 | py | Python | bake/scripts/__init__.py | sthagen/bake | 1c2d5cc19eaab9c7e58b7f6565a184219c4724d9 | [
"ISC"
] | 582 | 2019-09-15T17:16:29.000Z | 2022-03-07T08:22:24.000Z | bake/scripts/__init__.py | kennethreitz/bashf | b71d74a8dc70056a11e07598e97979528f112fb7 | [
"ISC"
] | 28 | 2019-09-16T02:34:03.000Z | 2022-01-13T05:03:58.000Z | bake/scripts/__init__.py | kennethreitz/bashf | b71d74a8dc70056a11e07598e97979528f112fb7 | [
"ISC"
] | 27 | 2019-09-15T20:31:05.000Z | 2022-01-08T17:27:52.000Z | from . import red
from . import indent
from . import step
from . import notred
| 15.8 | 20 | 0.746835 | 12 | 79 | 4.916667 | 0.5 | 0.677966 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.202532 | 79 | 4 | 21 | 19.75 | 0.936508 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
2bbbe46c2790755cc04a1723d78557d97c8903d5 | 96 | py | Python | venv/lib/python3.8/site-packages/requests_toolbelt/threaded/__init__.py | Retraces/UkraineBot | 3d5d7f8aaa58fa0cb8b98733b8808e5dfbdb8b71 | [
"MIT"
] | 2 | 2022-03-13T01:58:52.000Z | 2022-03-31T06:07:54.000Z | venv/lib/python3.8/site-packages/requests_toolbelt/threaded/__init__.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | 19 | 2021-11-20T04:09:18.000Z | 2022-03-23T15:05:55.000Z | venv/lib/python3.8/site-packages/requests_toolbelt/threaded/__init__.py | DesmoSearch/Desmobot | b70b45df3485351f471080deb5c785c4bc5c4beb | [
"MIT"
] | null | null | null | /home/runner/.cache/pip/pool/65/4c/34/8743e42d7cfd1f4aac3ca8120f4fe45fc4a92c7f328dbdd1bc85a4b8e8 | 96 | 96 | 0.895833 | 9 | 96 | 9.555556 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.364583 | 0 | 96 | 1 | 96 | 96 | 0.53125 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
2bfd3a2064da537cdb5c76458ce1b97f25e18b08 | 50 | py | Python | jacobian/__init__.py | fkempf92/JacobianRegularisation | 939a641e64f023f608338fca1b0a29c93f580146 | [
"MIT"
] | null | null | null | jacobian/__init__.py | fkempf92/JacobianRegularisation | 939a641e64f023f608338fca1b0a29c93f580146 | [
"MIT"
] | null | null | null | jacobian/__init__.py | fkempf92/JacobianRegularisation | 939a641e64f023f608338fca1b0a29c93f580146 | [
"MIT"
] | null | null | null | from .jacobian import NeuralNetKK, RegularizedNet
| 25 | 49 | 0.86 | 5 | 50 | 8.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.1 | 50 | 1 | 50 | 50 | 0.955556 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
2bfd79d10ceb5847e3fff98257c5cab99fd19120 | 272 | py | Python | all_functions/uploading/PythonDropboxUploader-master/dbupload/upload.py | Heroku-elasa/-heroku-buildpack-python-ieee-new | 06ec2fda04d9e478ed2506400e460489b0ca91ab | [
"MIT"
] | null | null | null | all_functions/uploading/PythonDropboxUploader-master/dbupload/upload.py | Heroku-elasa/-heroku-buildpack-python-ieee-new | 06ec2fda04d9e478ed2506400e460489b0ca91ab | [
"MIT"
] | 15 | 2021-03-18T20:25:13.000Z | 2022-03-02T14:54:33.000Z | all_functions/uploading/PythonDropboxUploader-master/dbupload/upload.py | Heroku-elasa/heroku-buildpack-python-ieee-new | 06ec2fda04d9e478ed2506400e460489b0ca91ab | [
"MIT"
] | 1 | 2017-03-04T16:48:55.000Z | 2017-03-04T16:48:55.000Z | import mechanize
from dbconn import DropboxConnection
def upload_file(local_file,remote_dir,remote_file,email,password):
""" Upload a local file to Dropbox """
conn = DropboxConnection(email, password)
conn.upload_file(local_file,remote_dir,remote_file)
| 30.222222 | 66 | 0.775735 | 36 | 272 | 5.638889 | 0.472222 | 0.133005 | 0.147783 | 0.187192 | 0.374384 | 0.374384 | 0.374384 | 0.374384 | 0 | 0 | 0 | 0 | 0.143382 | 272 | 8 | 67 | 34 | 0.871245 | 0.110294 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | false | 0.4 | 0.4 | 0 | 0.6 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 1 | 0 | 0 | 5 |
920a0f3b61d879405d2c355acde66dd05d013deb | 54 | py | Python | anno/forms.py | voelkerb/annoticity | 8c99fcd5c42b8b170bf54eaf7474db661eb9b45d | [
"CC0-1.0"
] | 5 | 2021-03-08T16:54:19.000Z | 2021-10-02T08:14:38.000Z | anno/forms.py | voelkerb/annoticity | 8c99fcd5c42b8b170bf54eaf7474db661eb9b45d | [
"CC0-1.0"
] | null | null | null | anno/forms.py | voelkerb/annoticity | 8c99fcd5c42b8b170bf54eaf7474db661eb9b45d | [
"CC0-1.0"
] | null | null | null | from django import forms
# ... create your forms here | 18 | 28 | 0.740741 | 8 | 54 | 5 | 0.875 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.185185 | 54 | 3 | 28 | 18 | 0.909091 | 0.481481 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
a60e1421ecfa1a7401f09b0621bb80a74f18e3f1 | 154 | py | Python | oracle_test.py | lcgameszero/lcgames_blog | 43df3685f1c826f2a8f236a33e1f183bef5e4b70 | [
"MIT"
] | 1 | 2017-05-27T02:10:28.000Z | 2017-05-27T02:10:28.000Z | oracle_test.py | lcgameszero/lcgames_blog | 43df3685f1c826f2a8f236a33e1f183bef5e4b70 | [
"MIT"
] | null | null | null | oracle_test.py | lcgameszero/lcgames_blog | 43df3685f1c826f2a8f236a33e1f183bef5e4b70 | [
"MIT"
] | null | null | null | import cx_Oracle
# ORCL为远端oracle配置的listener的名称
dsn_tns = cx_Oracle.makedsn('192.168.14.203', 1521,'ORCL')
print cx_Oracle.connect('tax','tax',dsn_tns) | 38.5 | 61 | 0.766234 | 24 | 154 | 4.75 | 0.708333 | 0.210526 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105634 | 0.077922 | 154 | 4 | 62 | 38.5 | 0.690141 | 0.175325 | 0 | 0 | 0 | 0 | 0.192 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0.333333 | null | null | 0.333333 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
a61561b49f4f45bb179edf4ef9934b37580be230 | 32 | py | Python | main.py | ArjoNagelhout/PiZeroTextToSpeech | bf8cd1cdb8c3f499cea32c7e004d5ded767f1e57 | [
"MIT"
] | 1 | 2020-10-12T14:15:14.000Z | 2020-10-12T14:15:14.000Z | main.py | ArjoNagelhout/PiZeroTextToSpeech | bf8cd1cdb8c3f499cea32c7e004d5ded767f1e57 | [
"MIT"
] | null | null | null | main.py | ArjoNagelhout/PiZeroTextToSpeech | bf8cd1cdb8c3f499cea32c7e004d5ded767f1e57 | [
"MIT"
] | null | null | null | # This file is the main thread
| 10.666667 | 30 | 0.71875 | 6 | 32 | 3.833333 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.25 | 32 | 2 | 31 | 16 | 0.958333 | 0.875 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
a655755589ebe77ef2aa7b08cdabb00785dda143 | 212 | py | Python | dgp/__init__.py | ddimmery/softblock | 25f1ed61a0ab4c377e0b57546b57287bb90667bf | [
"MIT"
] | 1 | 2022-02-07T04:35:56.000Z | 2022-02-07T04:35:56.000Z | dgp/__init__.py | ddimmery/softblock | 25f1ed61a0ab4c377e0b57546b57287bb90667bf | [
"MIT"
] | null | null | null | dgp/__init__.py | ddimmery/softblock | 25f1ed61a0ab4c377e0b57546b57287bb90667bf | [
"MIT"
] | 2 | 2021-11-19T19:26:36.000Z | 2022-02-07T04:36:01.000Z | from .dgp import DGP
from .ihdp import IHDPFactory
from .linear import LinearFactory
from .quickblock import QuickBlockFactory
from .sinusoidal import SinusoidalFactory
from .two_circles import TwoCirclesFactory
| 30.285714 | 42 | 0.858491 | 25 | 212 | 7.24 | 0.56 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.113208 | 212 | 6 | 43 | 35.333333 | 0.962766 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
a66033ee7795fbec1f45ceeb91be7d18706d7966 | 126 | py | Python | savecode/threeyears/idownclient/spider/spidertaxi/__init__.py | Octoberr/swm0920 | 8f05a6b91fc205960edd57f9076facec04f49a1a | [
"Apache-2.0"
] | 2 | 2019-05-19T11:54:26.000Z | 2019-05-19T12:03:49.000Z | savecode/threeyears/idownclient/spider/spidertaxi/__init__.py | Octoberr/swm0920 | 8f05a6b91fc205960edd57f9076facec04f49a1a | [
"Apache-2.0"
] | 1 | 2020-11-27T07:55:15.000Z | 2020-11-27T07:55:15.000Z | savecode/threeyears/idownclient/spider/spidertaxi/__init__.py | Octoberr/swm0920 | 8f05a6b91fc205960edd57f9076facec04f49a1a | [
"Apache-2.0"
] | 2 | 2021-09-06T18:06:12.000Z | 2021-12-31T07:44:43.000Z | """taxi sites.
租车/网约车/打车/共享车"""
# -*- coding:utf-8 -*-
from .spiderofo import SpiderOfo
from .spideruber import SpiderUber
| 15.75 | 34 | 0.690476 | 17 | 126 | 5.117647 | 0.764706 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.009259 | 0.142857 | 126 | 7 | 35 | 18 | 0.796296 | 0.380952 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
a66ac101bd84227ffc681781332eb896af1ab824 | 135 | py | Python | layers/__init__.py | suoxinkey/PlenOctrees_NeRF-SH | bf66ecc93ee166a4dc1a208d063408b452484dde | [
"MIT"
] | 54 | 2021-04-13T14:51:40.000Z | 2022-03-09T12:49:46.000Z | layers/__init__.py | suoxinkey/PlenOctrees_NeRF-SH | bf66ecc93ee166a4dc1a208d063408b452484dde | [
"MIT"
] | 2 | 2021-04-17T02:05:41.000Z | 2021-12-06T12:09:38.000Z | layers/__init__.py | suoxinkey/PlenOctrees_NeRF-SH | bf66ecc93ee166a4dc1a208d063408b452484dde | [
"MIT"
] | 2 | 2021-04-17T16:22:20.000Z | 2021-08-23T05:17:04.000Z | from .RaySamplePoint import RaySamplePoint,RaySamplePoint_Near_Far
from .render_layer import VolumeRenderer
from .loss import make_loss | 45 | 66 | 0.888889 | 17 | 135 | 6.823529 | 0.588235 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.081481 | 135 | 3 | 67 | 45 | 0.935484 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
a6d91b8323dba6b9cc0df889e18fedd132a90a12 | 596 | py | Python | ilurl/interfaces/mas.py | CubeSkyy/ILU-RL | 676d88587e1d8638487de1b5a3f8785a7375ad1a | [
"MIT"
] | null | null | null | ilurl/interfaces/mas.py | CubeSkyy/ILU-RL | 676d88587e1d8638487de1b5a3f8785a7375ad1a | [
"MIT"
] | null | null | null | ilurl/interfaces/mas.py | CubeSkyy/ILU-RL | 676d88587e1d8638487de1b5a3f8785a7375ad1a | [
"MIT"
] | 2 | 2021-03-13T15:38:05.000Z | 2021-05-08T22:25:36.000Z | """
Defines ilurl.mas package interfaces.
"""
import abc
class MASInterface(abc.ABC):
"""
Multi-agent system interface.
"""
@abc.abstractmethod
def act(self, s):
""" Act. """
@abc.abstractmethod
def update(self, s, a, r, s1):
""" Update. """
@abc.abstractmethod
def save_checkpoint(self, path):
""" Save checkpoint. """
@abc.abstractmethod
def load_checkpoint(self, chkpts_dir_path, chkpt_num):
""" Load checkpoint. """
@abc.abstractmethod
def terminate(self):
""" Terminate processes. """ | 20.551724 | 58 | 0.580537 | 61 | 596 | 5.590164 | 0.52459 | 0.249267 | 0.293255 | 0.175953 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.002304 | 0.271812 | 596 | 29 | 59 | 20.551724 | 0.78341 | 0.234899 | 0 | 0.416667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.416667 | false | 0 | 0.083333 | 0 | 0.583333 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
a6e43cf5b7c632f11b0e29c2627f0628f0c408ce | 100 | py | Python | res/demo.py | Tooi6/dianping | 9b62eadec085f91e5617ec3a73bee65ca2cd981a | [
"Apache-2.0"
] | null | null | null | res/demo.py | Tooi6/dianping | 9b62eadec085f91e5617ec3a73bee65ca2cd981a | [
"Apache-2.0"
] | null | null | null | res/demo.py | Tooi6/dianping | 9b62eadec085f91e5617ec3a73bee65ca2cd981a | [
"Apache-2.0"
] | null | null | null | from fontTools.ttLib import TTFont
# font = TTFont('02b49d17.woff')
# font.saveXML('02b49d17.xml')
| 20 | 34 | 0.74 | 13 | 100 | 5.692308 | 0.769231 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.134831 | 0.11 | 100 | 4 | 35 | 25 | 0.696629 | 0.59 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
471b90a8c84cb2321cb66058bef7ac70a1742513 | 107 | py | Python | examples/compare.py | pierreluctg/canmatrix | 1d7e4e4d4d22cc66f135e09e0020a70880b57855 | [
"BSD-2-Clause"
] | 2 | 2020-12-04T23:26:29.000Z | 2021-08-07T13:41:39.000Z | examples/compare.py | pierreluctg/canmatrix | 1d7e4e4d4d22cc66f135e09e0020a70880b57855 | [
"BSD-2-Clause"
] | null | null | null | examples/compare.py | pierreluctg/canmatrix | 1d7e4e4d4d22cc66f135e09e0020a70880b57855 | [
"BSD-2-Clause"
] | null | null | null | #!/usr/bin/env python3
import sys
sys.path.append('..')
import canmatrix.compare
canmatrix.compare.main()
| 15.285714 | 24 | 0.747664 | 15 | 107 | 5.333333 | 0.733333 | 0.4 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010204 | 0.084112 | 107 | 6 | 25 | 17.833333 | 0.806122 | 0.196262 | 0 | 0 | 0 | 0 | 0.023529 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
47250331abd045039e3ee84c703d4ce99c15a329 | 147 | py | Python | ex111/teste.py | LeoWshington/Exercicios_CursoEmVideo_Python | 294d14d9aaab5e32aaf39d70b0cd1266f0b55a02 | [
"MIT"
] | null | null | null | ex111/teste.py | LeoWshington/Exercicios_CursoEmVideo_Python | 294d14d9aaab5e32aaf39d70b0cd1266f0b55a02 | [
"MIT"
] | null | null | null | ex111/teste.py | LeoWshington/Exercicios_CursoEmVideo_Python | 294d14d9aaab5e32aaf39d70b0cd1266f0b55a02 | [
"MIT"
] | null | null | null | from ex111.utilidadescev import moeda
# from ex111.utilidadescev import dados
preco = float(input('Digite o preço: '))
moeda.resumo(preco, 90, 35)
| 29.4 | 40 | 0.768707 | 21 | 147 | 5.380952 | 0.714286 | 0.159292 | 0.389381 | 0.495575 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.077519 | 0.122449 | 147 | 4 | 41 | 36.75 | 0.79845 | 0.251701 | 0 | 0 | 0 | 0 | 0.148148 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
473119c8926521c438d926315630b9897beb10dc | 55 | py | Python | enthought/pyface/ui/wx/about_dialog.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | 3 | 2016-12-09T06:05:18.000Z | 2018-03-01T13:00:29.000Z | enthought/pyface/ui/wx/about_dialog.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | 1 | 2020-12-02T00:51:32.000Z | 2020-12-02T08:48:55.000Z | enthought/pyface/ui/wx/about_dialog.py | enthought/etsproxy | 4aafd628611ebf7fe8311c9d1a0abcf7f7bb5347 | [
"BSD-3-Clause"
] | null | null | null | # proxy module
from pyface.ui.wx.about_dialog import *
| 18.333333 | 39 | 0.781818 | 9 | 55 | 4.666667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.127273 | 55 | 2 | 40 | 27.5 | 0.875 | 0.218182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
5b50c609d1f1dd7f2f9088a9f8cac649b96f4ed0 | 7,605 | py | Python | radiomicsfeatureextractionpipeline/backend/test/mock_ups/logic/entities/patient.py | Maastro-CDS-Imaging-Group/SQLite4Radiomics | e3a7afc181eec0fe04c18da00edc3772064e6758 | [
"Apache-2.0"
] | null | null | null | radiomicsfeatureextractionpipeline/backend/test/mock_ups/logic/entities/patient.py | Maastro-CDS-Imaging-Group/SQLite4Radiomics | e3a7afc181eec0fe04c18da00edc3772064e6758 | [
"Apache-2.0"
] | 6 | 2021-06-09T19:39:27.000Z | 2021-09-30T16:41:40.000Z | radiomicsfeatureextractionpipeline/backend/test/mock_ups/logic/entities/patient.py | Maastro-CDS-Imaging-Group/SQLite4Radiomics | e3a7afc181eec0fe04c18da00edc3772064e6758 | [
"Apache-2.0"
] | null | null | null | from typing import List, Optional, Any, Dict
from logic.entities.patient import Patient
from logic.entities.study import Study
class PatientMockUp(Patient):
def __init__(self, identity: str, name: str, sex: str, access_time: str, studies: List[Study] = None):
super().__init__(identity, name, sex, access_time, studies)
self.get_identity_called_with_parameters: List[Dict[Optional[str], Any]] = []
self.get_identity_return_value: Any = None
self.set_identity_called_with_parameters: List[Dict[Optional[str],Any]] = []
self.set_identity_return_value: Any = None
self.get_name_called_with_parameters: List[Dict[Optional[str], Any]] = []
self.get_name_return_value: Any = None
self.set_name_called_with_parameters: List[Dict[Optional[str], Any]] = []
self.set_name_return_value: Any = None
self.get_sex_called_with_parameters: List[Dict[Optional[str], Any]] = []
self.get_sex_return_value: Any = None
self.set_sex_called_with_parameters: List[Dict[Optional[str], Any]] = []
self.set_sex_return_value: Any = None
self.get_access_time_called_with_parameters: List[Dict[Optional[str], Any]] = []
self.get_access_time_return_value: Any = None
self.set_access_time_called_with_parameters: List[Dict[Optional[str], Any]] = []
self.set_access_time_return_value: Any = None
self.get_studies_called_with_parameters: List[Dict[Optional[str], Any]] = []
self.get_studies_return_value: Any = None
self.set_studies_called_with_parameters: List[Dict[Optional[str], Any]] = []
self.set_studies_return_value: Any = None
self.add_study_called_with_parameters: List[Dict[Optional[str], Any]] = []
self.add_study_return_value: Any = None
self.remove_study_called_with_parameters: List[Dict[Optional[str], Any]] = []
self.remove_study_return_value: Any = None
@property
def identity(self) -> str:
self.get_identity_called_with_parameters.append(
{
None: None
}
)
return self.get_identity_return_value
@identity.setter
def identity(self, value: str) -> None:
self.get_identity_called_with_parameters.append(
{
'value': value
}
)
@property
def name(self) -> str:
self.get_name_called_with_parameters.append(
{
None: None
}
)
return self.get_name_return_value
@name.setter
def name(self, value: str) -> None:
self.set_name_called_with_parameters.append(
{
'value': value
}
)
@property
def sex(self) -> str:
self.get_sex_called_with_parameters.append(
{
None: None
}
)
return self.get_sex_return_value
@sex.setter
def sex(self, value: str) -> None:
self.set_sex_called_with_parameters.append(
{
'value': value
}
)
@property
def access_time(self) -> str:
self.get_access_time_called_with_parameters.append(
{
None: None
}
)
return self.get_access_time_return_value
@access_time.setter
def access_time(self, value: str) -> None:
self.set_access_time_called_with_parameters.append(
{
'value': value
}
)
@property
def studies(self) -> List[Study]:
self.get_studies_called_with_parameters.append(
{
None: None
}
)
return self.get_studies_return_value
@studies.setter
def studies(self, value: List[Study]) -> None:
self.set_studies_called_with_parameters.append(
{
'value': value
}
)
def add_study(self, study: Study) -> None:
self.add_study_called_with_parameters.append(
{
'study': study
}
)
return self.add_study_return_value
def remove_study(self, study: Study) -> None:
self.remove_study_called_with_parameters.append(
{
'study': study
}
)
return self.remove_study_return_value
def get_get_identity_called_with_parameters(self) -> List[Dict[Optional[str], Any]]:
return self.get_identity_called_with_parameters
def set_get_identity_return_value(self, return_value: Any) -> None:
self.get_identity_return_value = return_value
def get_set_identity_called_with_parameters(self) -> List[Dict[Optional[str], Any]]:
return self.set_identity_called_with_parameters
def set_set_identity_return_value(self, return_value: Any) -> None:
self.set_identity_return_value = return_value
def get_get_name_called_with_parameters(self) -> List[Dict[Optional[str], Any]]:
return self.get_name_called_with_parameters
def set_get_name_return_value(self, return_value: Any) -> None:
self.get_name_return_value = return_value
def get_set_name_called_with_parameters(self) -> List[Dict[Optional[str], Any]]:
return self.set_name_called_with_parameters
def set_set_name_return_value(self, return_value: Any) -> None:
self.set_name_return_value = return_value
def get_get_sex_called_with_parameters(self) -> List[Dict[Optional[str], Any]]:
return self.get_sex_called_with_parameters
def set_get_sex_return_value(self, return_value: Any) -> None:
self.get_sex_return_value = return_value
def get_set_sex_called_with_parameters(self) -> List[Dict[Optional[str], Any]]:
return self.set_sex_called_with_parameters
def set_set_sex_return_value(self, return_value: Any) -> None:
self.set_sex_return_value = return_value
def get_get_access_time_called_with_parameters(self) -> List[Dict[Optional[str], Any]]:
return self.get_access_time_called_with_parameters
def set_get_access_time_return_value(self, return_value: Any) -> None:
self.get_access_time_return_value = return_value
def get_set_access_time_called_with_parameters(self) -> List[Dict[Optional[str], Any]]:
return self.set_access_time_called_with_parameters
def set_set_access_time_return_value(self, return_value: Any) -> None:
self.set_access_time_return_value = return_value
def get_get_studies_called_with_parameters(self) -> List[Dict[Optional[str], Any]]:
return self.get_studies_called_with_parameters
def set_get_studies_return_value(self, return_value: Any) -> None:
self.get_studies_return_value = return_value
def get_set_studies_called_with_parameters(self) -> List[Dict[Optional[str], Any]]:
return self.set_studies_called_with_parameters
def set_set_studies_return_value(self, return_value: Any) -> None:
self.set_studies_return_value = return_value
def get_add_study_called_with_parameters(self) -> List[Dict[Optional[str], Any]]:
return self.add_study_called_with_parameters
def set_add_study_return_value(self, return_value: Any) -> None:
self.add_study_return_value = return_value
def get_remove_study_called_with_parameters(self) -> List[Dict[Optional[str], Any]]:
return self.remove_study_called_with_parameters
def set_remove_study_return_value(self, return_value: Any) -> None:
self.remove_study_return_value = return_value | 34.726027 | 106 | 0.667456 | 967 | 7,605 | 4.836608 | 0.038263 | 0.15758 | 0.20526 | 0.097498 | 0.898653 | 0.855891 | 0.732307 | 0.56703 | 0.495403 | 0.326278 | 0 | 0 | 0.243524 | 7,605 | 219 | 107 | 34.726027 | 0.812967 | 0 | 0 | 0.113772 | 0 | 0 | 0.004602 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.221557 | false | 0 | 0.017964 | 0.071856 | 0.359281 | 0 | 0 | 0 | 0 | null | 0 | 1 | 0 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
5b60aaa213d086cef2e102842911a7e1af364de0 | 99 | py | Python | tests/conftest.py | asaf-kali/generic-iterative-stemmer | 2d2e031ecab71cf04e6756e8062cb1c72feb6d14 | [
"MIT"
] | null | null | null | tests/conftest.py | asaf-kali/generic-iterative-stemmer | 2d2e031ecab71cf04e6756e8062cb1c72feb6d14 | [
"MIT"
] | 13 | 2021-12-22T06:56:30.000Z | 2022-01-30T20:39:40.000Z | tests/conftest.py | asaf-kali/generic-iterative-stemmer | 2d2e031ecab71cf04e6756e8062cb1c72feb6d14 | [
"MIT"
] | null | null | null | from generic_iterative_stemmer.utils import configure_logging
configure_logging(formatter="test")
| 24.75 | 61 | 0.878788 | 12 | 99 | 6.916667 | 0.833333 | 0.385542 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.060606 | 99 | 3 | 62 | 33 | 0.892473 | 0 | 0 | 0 | 0 | 0 | 0.040404 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
5b76b37b98daafa841937b64ced716187b2a1670 | 90 | py | Python | imserver/__main__.py | ddn5/imserver | f66e27fbabf671b9341f5644fdce9640d8c362ea | [
"Unlicense"
] | 1 | 2017-06-11T05:30:41.000Z | 2017-06-11T05:30:41.000Z | imserver/__main__.py | ddn5/imserver | f66e27fbabf671b9341f5644fdce9640d8c362ea | [
"Unlicense"
] | null | null | null | imserver/__main__.py | ddn5/imserver | f66e27fbabf671b9341f5644fdce9640d8c362ea | [
"Unlicense"
] | null | null | null | from .imserver import main, bottle
if __name__ == '__main__':
main(*bottle.sys.argv)
| 18 | 34 | 0.7 | 12 | 90 | 4.583333 | 0.75 | 0.363636 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 90 | 4 | 35 | 22.5 | 0.733333 | 0 | 0 | 0 | 0 | 0 | 0.088889 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
5b8ed59368c0f666ccd32341648bcbfd28f48865 | 166 | py | Python | features/implementation/timeout.py | ZenDevelopmentEcosystem/FileSet | 8ff2e64356e4e3731d66ea74402a3522464fb7ee | [
"Apache-2.0"
] | null | null | null | features/implementation/timeout.py | ZenDevelopmentEcosystem/FileSet | 8ff2e64356e4e3731d66ea74402a3522464fb7ee | [
"Apache-2.0"
] | null | null | null | features/implementation/timeout.py | ZenDevelopmentEcosystem/FileSet | 8ff2e64356e4e3731d66ea74402a3522464fb7ee | [
"Apache-2.0"
] | null | null | null | from pytest_bdd import given, parsers
@given(parsers.parse('timeout {timeout:d} seconds'), target_fixture='timeout')
def setup_timeout(timeout):
return timeout
| 23.714286 | 78 | 0.771084 | 22 | 166 | 5.681818 | 0.681818 | 0.192 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.114458 | 166 | 6 | 79 | 27.666667 | 0.85034 | 0 | 0 | 0 | 0 | 0 | 0.204819 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0.25 | 0.75 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
5b91c332c234aa5281d2956c4c8a727bcd02932e | 107 | py | Python | videoanalyst/data/target/target_impl/utils/__init__.py | Jee-King/STNet | 221ab60c4fccfce5a03e8878fb168e0baa7152f4 | [
"MIT"
] | 7 | 2022-03-28T15:08:21.000Z | 2022-03-31T02:59:39.000Z | videoanalyst/data/target/target_impl/utils/__init__.py | Jee-King/STNet | 221ab60c4fccfce5a03e8878fb168e0baa7152f4 | [
"MIT"
] | null | null | null | videoanalyst/data/target/target_impl/utils/__init__.py | Jee-King/STNet | 221ab60c4fccfce5a03e8878fb168e0baa7152f4 | [
"MIT"
] | null | null | null | # encoding: utf-8
from .make_densebox_target import make_densebox_target
__all__ = [make_densebox_target]
| 21.4 | 54 | 0.831776 | 15 | 107 | 5.266667 | 0.6 | 0.455696 | 0.683544 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.010417 | 0.102804 | 107 | 4 | 55 | 26.75 | 0.8125 | 0.140187 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
5bbddf65197710b33e1195ac891f9fd0f31ca04f | 44 | py | Python | CorePythonProg/ch02/0214.py | mallius/CppPrimer | 0285fabe5934492dfed0a9cf67ba5650982a5f76 | [
"MIT"
] | null | null | null | CorePythonProg/ch02/0214.py | mallius/CppPrimer | 0285fabe5934492dfed0a9cf67ba5650982a5f76 | [
"MIT"
] | null | null | null | CorePythonProg/ch02/0214.py | mallius/CppPrimer | 0285fabe5934492dfed0a9cf67ba5650982a5f76 | [
"MIT"
] | 1 | 2022-01-25T15:51:34.000Z | 2022-01-25T15:51:34.000Z | #!/usr/bin/env python
print (-2*4) + (3**2)
| 14.666667 | 21 | 0.545455 | 9 | 44 | 2.666667 | 0.888889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 0.136364 | 44 | 2 | 22 | 22 | 0.526316 | 0.454545 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
5bc5dfc6c9666da13fdac816b27dcc77ae5cdae2 | 7,964 | py | Python | mocat/src/tests/test_ssm.py | SamDuffield/mocat | 60d38ed8a6f01a4f23cd1c0ebe21905442e0af8f | [
"MIT"
] | 13 | 2020-06-16T19:18:12.000Z | 2022-03-01T15:53:26.000Z | mocat/src/tests/test_ssm.py | SamDuffield/mocat | 60d38ed8a6f01a4f23cd1c0ebe21905442e0af8f | [
"MIT"
] | null | null | null | mocat/src/tests/test_ssm.py | SamDuffield/mocat | 60d38ed8a6f01a4f23cd1c0ebe21905442e0af8f | [
"MIT"
] | null | null | null | ########################################################################################################################
# Module: ssm/tests/test_ssm_linear_gaussian.py
# Description: Tests for linear TemporalGaussian state space models (and Kalman filtering/smoothing).
#
# Web: https://github.com/SamDuffield/mocat
########################################################################################################################
import unittest
import jax.numpy as jnp
from jax import random
import numpy.testing as npt
from mocat.src.ssm.ssm import StateSpaceModel
from mocat.src.ssm.filtering import BootstrapFilter, run_particle_filter_for_marginals, initiate_particles
from mocat.src.ssm.backward import backward_simulation
from mocat.src.ssm.online_smoothing import propagate_particle_smoother
class TestSSM(unittest.TestCase):
ssm_scenario: StateSpaceModel
len_t: int = 20
t: jnp.ndarray = jnp.arange(len_t, dtype='float32')
max_rejections: int = 2
n: int = int(2e3)
def _test_simulate(self):
self.sim_samps = self.ssm_scenario.simulate(self.t, random.PRNGKey(0))
npt.assert_array_equal(self.sim_samps.t, self.t)
self.assertEqual(self.len_t, self.sim_samps.x.shape[0])
self.assertEqual(self.len_t, self.sim_samps.y.shape[0])
def _test_bootstrap(self):
if not hasattr(self, 'sim_samps'):
self.sim_samps = self.ssm_scenario.simulate(self.t, random.PRNGKey(0))
self.pf_samps = run_particle_filter_for_marginals(self.ssm_scenario,
BootstrapFilter(),
self.sim_samps.y,
self.t,
random.PRNGKey(0),
n=self.n)
npt.assert_array_less(self.sim_samps.x[:, 0], jnp.max(self.pf_samps.value, axis=1)[:, 0])
npt.assert_array_less(jnp.min(self.pf_samps.value, axis=1)[:, 0], self.sim_samps.x[:, 0])
def backward_preprocess(self):
if not hasattr(self, 'sim_samps'):
self.sim_samps = self.ssm_scenario.simulate(self.t, random.PRNGKey(0))
if not hasattr(self, 'pf_samps'):
self.pf_samps = run_particle_filter_for_marginals(self.ssm_scenario,
BootstrapFilter(),
self.sim_samps.y,
self.t,
random.PRNGKey(0),
n=int(1e4))
def backward_postprocess(self):
npt.assert_array_less(self.sim_samps.x[:, 0], jnp.max(self.backward_samps.value, axis=1)[:, 0])
npt.assert_array_less(jnp.min(self.backward_samps.value, axis=1)[:, 0], self.sim_samps.x[:, 0])
self.assertFalse(hasattr(self.backward_samps, 'log_weight'))
def _test_ffbsi_full(self):
self.backward_preprocess()
self.backward_samps = backward_simulation(self.ssm_scenario,
self.pf_samps,
random.PRNGKey(0),
self.n,
maximum_rejections=0)
self.backward_postprocess()
def _test_ffbsi_rejection(self):
self.backward_preprocess()
self.backward_samps = backward_simulation(self.ssm_scenario,
self.pf_samps,
random.PRNGKey(0),
self.n,
maximum_rejections=self.max_rejections)
self.backward_postprocess()
def _test_backward(self):
self._test_ffbsi_full()
self._test_ffbsi_rejection()
def _test_online_smoothing_pf_full(self):
if not hasattr(self, 'sim_samps'):
self.sim_samps = self.ssm_scenario.simulate(self.t, random.PRNGKey(0))
pf = BootstrapFilter()
len_t = len(self.t)
rkeys = random.split(random.PRNGKey(0), len_t)
particles = initiate_particles(self.ssm_scenario, pf, self.n,
rkeys[0], self.sim_samps.y[0], self.t[0])
for i in range(1, len_t):
particles = propagate_particle_smoother(self.ssm_scenario, pf, particles,
self.sim_samps.y[i], self.t[i], rkeys[i], 3,
False)
npt.assert_array_less(((self.sim_samps.x[:, 0] - jnp.max(particles.value, axis=1)[:, 0]) > 0).mean(), 0.1)
npt.assert_array_less(((self.sim_samps.x[:, 0] - jnp.min(particles.value, axis=1)[:, 0]) < 0).mean(), 0.1)
def _test_online_smoothing_pf_rejection(self):
if not hasattr(self, 'sim_samps'):
self.sim_samps = self.ssm_scenario.simulate(self.t, random.PRNGKey(0))
pf = BootstrapFilter()
len_t = len(self.t)
rkeys = random.split(random.PRNGKey(0), len_t)
particles = initiate_particles(self.ssm_scenario, pf, self.n,
rkeys[0], self.sim_samps.y[0], self.t[0])
for i in range(1, len_t):
particles = propagate_particle_smoother(self.ssm_scenario, pf, particles,
self.sim_samps.y[i], self.t[i], rkeys[i], 3,
False, maximum_rejections=10)
npt.assert_array_less(((self.sim_samps.x[:, 0] - jnp.max(particles.value, axis=1)[:, 0]) > 0).mean(), 0.1)
npt.assert_array_less(((self.sim_samps.x[:, 0] - jnp.min(particles.value, axis=1)[:, 0]) < 0).mean(), 0.1)
def _test_online_smoothing_bs_full(self):
if not hasattr(self, 'sim_samps'):
self.sim_samps = self.ssm_scenario.simulate(self.t, random.PRNGKey(0))
pf = BootstrapFilter()
len_t = len(self.t)
rkeys = random.split(random.PRNGKey(0), len_t)
particles = initiate_particles(self.ssm_scenario, pf, self.n,
rkeys[0], self.sim_samps.y[0], self.t[0])
for i in range(1, len_t):
particles = propagate_particle_smoother(self.ssm_scenario, pf, particles,
self.sim_samps.y[i], self.t[i], rkeys[i], 3,
True)
npt.assert_array_less(((self.sim_samps.x[:, 0] - jnp.max(particles.value, axis=1)[:, 0]) > 0).mean(), 0.1)
npt.assert_array_less(((self.sim_samps.x[:, 0] - jnp.min(particles.value, axis=1)[:, 0]) < 0).mean(), 0.1)
def _test_online_smoothing_bs_rejection(self):
if not hasattr(self, 'sim_samps'):
self.sim_samps = self.ssm_scenario.simulate(self.t, random.PRNGKey(0))
pf = BootstrapFilter()
len_t = len(self.t)
rkeys = random.split(random.PRNGKey(0), len_t)
particles = initiate_particles(self.ssm_scenario, pf, self.n,
rkeys[0], self.sim_samps.y[0], self.t[0])
for i in range(1, len_t):
particles = propagate_particle_smoother(self.ssm_scenario, pf, particles,
self.sim_samps.y[i], self.t[i], rkeys[i], 3,
True, maximum_rejections=10)
npt.assert_array_less(((self.sim_samps.x[:, 0] - jnp.max(particles.value, axis=1)[:, 0]) > 0).mean(), 0.1)
npt.assert_array_less(((self.sim_samps.x[:, 0] - jnp.min(particles.value, axis=1)[:, 0]) < 0).mean(), 0.1)
if __name__ == '__main__':
unittest.main()
| 52.394737 | 120 | 0.523857 | 932 | 7,964 | 4.256438 | 0.119099 | 0.067053 | 0.114948 | 0.052433 | 0.773128 | 0.744139 | 0.744139 | 0.739098 | 0.721452 | 0.721452 | 0 | 0.020876 | 0.332371 | 7,964 | 151 | 121 | 52.741722 | 0.725221 | 0.023481 | 0 | 0.619835 | 0 | 0 | 0.011551 | 0 | 0 | 0 | 0 | 0 | 0.132231 | 1 | 0.090909 | false | 0 | 0.066116 | 0 | 0.206612 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
753e3f14ccd6f59f3a619575792e58a6e24023a8 | 25 | py | Python | salon/models/__init__.py | amirRamirfatahi/beautstertest | 53f6e515903fd11992fd1eb70760318b17896437 | [
"MIT"
] | null | null | null | salon/models/__init__.py | amirRamirfatahi/beautstertest | 53f6e515903fd11992fd1eb70760318b17896437 | [
"MIT"
] | 5 | 2021-03-30T13:08:19.000Z | 2021-09-22T18:54:13.000Z | salon/models/__init__.py | amirRamirfatahi/beautstertest | 53f6e515903fd11992fd1eb70760318b17896437 | [
"MIT"
] | null | null | null | from .salon import Salon
| 12.5 | 24 | 0.8 | 4 | 25 | 5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.16 | 25 | 1 | 25 | 25 | 0.952381 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
754f789d32dc6082baf0fe248d7ee6c147072d3d | 136 | py | Python | comic_dl/manga_eden/__init__.py | StefanUlbrich/comic-dl | 84a38c9f5706fa40be8ff149ea31865c61de3a38 | [
"MIT"
] | 478 | 2016-11-13T15:11:10.000Z | 2022-03-30T22:22:22.000Z | comic_dl/manga_eden/__init__.py | darodi/comic-dl | 1e752321b79ee1fd599e22b31328248e6ee9c41c | [
"MIT"
] | 270 | 2017-02-01T03:21:45.000Z | 2022-03-28T04:16:27.000Z | comic_dl/manga_eden/__init__.py | darodi/comic-dl | 1e752321b79ee1fd599e22b31328248e6ee9c41c | [
"MIT"
] | 101 | 2016-11-14T20:31:55.000Z | 2022-03-11T06:33:15.000Z | #!/usr/bin/env python
# -*- coding: utf-8 -*-
from . import mangaChapterDownload
from . import mangaChapters
from . import mangaSearch
| 19.428571 | 34 | 0.727941 | 16 | 136 | 6.1875 | 0.75 | 0.30303 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.008621 | 0.147059 | 136 | 6 | 35 | 22.666667 | 0.844828 | 0.308824 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
755e6c20e45911812b4c2125b736449894e7309b | 443 | py | Python | ex34.py | AisakaTiger/Learn-Python-The-Hard-Way | b7fa0d7abd21d0061957f0c5a6f666f54ef4ec53 | [
"MIT"
] | null | null | null | ex34.py | AisakaTiger/Learn-Python-The-Hard-Way | b7fa0d7abd21d0061957f0c5a6f666f54ef4ec53 | [
"MIT"
] | null | null | null | ex34.py | AisakaTiger/Learn-Python-The-Hard-Way | b7fa0d7abd21d0061957f0c5a6f666f54ef4ec53 | [
"MIT"
] | null | null | null | animals = ['bear', 'python', 'peacock', 'kangraoo', 'whale', 'platypus']
print "The animal at 1 is :", animals[1]
print "The 3rd animal is at index 2 :",animals[2]
print "The 1st animal is at index 0 :",animals[0]
print "The animal at 3 is :",animals[3]
print "The 5th animal is at index 4 :",animals[4]
print "The animal at 2 is :",animals[2]
print "The 6th animal is at index 5 :",animals[5]
print "The animal at 4 is :", animals[4]
| 24.611111 | 72 | 0.6614 | 79 | 443 | 3.708861 | 0.291139 | 0.21843 | 0.191126 | 0.21843 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.055402 | 0.185102 | 443 | 17 | 73 | 26.058824 | 0.756233 | 0 | 0 | 0 | 0 | 0 | 0.537246 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | null | 0 | 0 | null | null | 0.888889 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
f32d1651eb0efd3ddd0348f39f2658686006ac75 | 635 | py | Python | app/src/training/epoch.py | fernando-freitas-alves/distml | 7c464b45a075452f805aa4b75745e609e02da5d3 | [
"MIT"
] | null | null | null | app/src/training/epoch.py | fernando-freitas-alves/distml | 7c464b45a075452f805aa4b75745e609e02da5d3 | [
"MIT"
] | null | null | null | app/src/training/epoch.py | fernando-freitas-alves/distml | 7c464b45a075452f805aa4b75745e609e02da5d3 | [
"MIT"
] | null | null | null | from typing import List
class Epoch(object):
num: int
rank: int
num_batches: int
losses: List[float]
def __init__(self, num: int, *, rank: int, num_batches: int) -> None:
self.num = num
self.rank = rank
self.num_batches = num_batches
self.losses = []
@property
def cost(self) -> float:
return sum(self.losses) / self.num_batches
def __str__(self) -> str:
return f"Epoch {self.num}, Rank {self.rank}: cost = {self.cost}"
def save_csv(file):
pass # TODO: #6 (requires #4) save epoch if sharing issue between nodes is solved # noqa: E501
| 25.4 | 104 | 0.604724 | 88 | 635 | 4.204545 | 0.454545 | 0.135135 | 0.054054 | 0.07027 | 0.140541 | 0.140541 | 0.140541 | 0 | 0 | 0 | 0 | 0.010941 | 0.280315 | 635 | 24 | 105 | 26.458333 | 0.798687 | 0.133858 | 0 | 0 | 0 | 0 | 0.099083 | 0 | 0 | 0 | 0 | 0.041667 | 0 | 1 | 0.222222 | false | 0.055556 | 0.055556 | 0.111111 | 0.666667 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | 0 | 5 |
f3300dd41432fe296af3b713e970b45c636684b3 | 110 | py | Python | tests/missing_data/test_missing_data_ozone_None_Median.py | shaido987/pyaf | b9afd089557bed6b90b246d3712c481ae26a1957 | [
"BSD-3-Clause"
] | 377 | 2016-10-13T20:52:44.000Z | 2022-03-29T18:04:14.000Z | tests/missing_data/test_missing_data_ozone_None_Median.py | ysdede/pyaf | b5541b8249d5a1cfdc01f27fdfd99b6580ed680b | [
"BSD-3-Clause"
] | 160 | 2016-10-13T16:11:53.000Z | 2022-03-28T04:21:34.000Z | tests/missing_data/test_missing_data_ozone_None_Median.py | ysdede/pyaf | b5541b8249d5a1cfdc01f27fdfd99b6580ed680b | [
"BSD-3-Clause"
] | 63 | 2017-03-09T14:51:18.000Z | 2022-03-27T20:52:57.000Z | import tests.missing_data.test_missing_data_ozone_generic as gen
gen.test_ozone_missing_data(None, 'Median')
| 27.5 | 64 | 0.863636 | 18 | 110 | 4.833333 | 0.611111 | 0.37931 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.063636 | 110 | 3 | 65 | 36.666667 | 0.84466 | 0 | 0 | 0 | 0 | 0 | 0.054545 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
f3957e3fc9f363a530cbabb8590b0ed63cdc8bea | 78 | py | Python | cmbpix/__init__.py | victorcchan/cmbpix | 386280fd0e32d948be0ba2d77a66bbe215362016 | [
"MIT"
] | null | null | null | cmbpix/__init__.py | victorcchan/cmbpix | 386280fd0e32d948be0ba2d77a66bbe215362016 | [
"MIT"
] | 2 | 2020-03-03T06:36:19.000Z | 2020-03-03T07:01:45.000Z | cmbpix/__init__.py | victorcchan/cmbpix | 386280fd0e32d948be0ba2d77a66bbe215362016 | [
"MIT"
] | null | null | null | "cmbpix 0.1.0.dev0: Tools for pixel-space CMB analysis."
from .utils import *
| 26 | 56 | 0.730769 | 14 | 78 | 4.071429 | 0.928571 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.059701 | 0.141026 | 78 | 2 | 57 | 39 | 0.791045 | 0.692308 | 0 | 0 | 0 | 0 | 0.692308 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
3436aaf5b470b5c3cb7f3cfb2da448a5f8a9c1b8 | 114 | py | Python | src/PlantStation/core/__init__.py | j-kk/PlantStation | d0bfb68b2fd79d66f626c6d0a9ba25c4db53905c | [
"MIT"
] | null | null | null | src/PlantStation/core/__init__.py | j-kk/PlantStation | d0bfb68b2fd79d66f626c6d0a9ba25c4db53905c | [
"MIT"
] | 2 | 2020-03-05T13:39:47.000Z | 2020-04-12T21:53:48.000Z | src/PlantStation/core/__init__.py | j-kk/PlantStation | d0bfb68b2fd79d66f626c6d0a9ba25c4db53905c | [
"MIT"
] | null | null | null | from .helpers import *
from .environment import Environment, Plant
from .config import EnvironmentConfig, Config
| 22.8 | 45 | 0.815789 | 13 | 114 | 7.153846 | 0.538462 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.131579 | 114 | 4 | 46 | 28.5 | 0.939394 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
343d2faff63029760a7d083dd142f66528e97c7d | 39 | py | Python | utils/decorators/__init__.py | DonHammerstrom/volttron-pnnl-applications | 042c7b2776cc662d2d2622319ad3aec7bc53541b | [
"BSD-3-Clause"
] | 8 | 2016-11-03T05:00:58.000Z | 2020-10-18T14:49:36.000Z | utils/decorators/__init__.py | DonHammerstrom/volttron-pnnl-applications | 042c7b2776cc662d2d2622319ad3aec7bc53541b | [
"BSD-3-Clause"
] | 29 | 2016-06-15T17:45:48.000Z | 2020-08-01T02:41:32.000Z | utils/decorators/__init__.py | DonHammerstrom/volttron-pnnl-applications | 042c7b2776cc662d2d2622319ad3aec7bc53541b | [
"BSD-3-Clause"
] | 39 | 2016-06-08T01:57:49.000Z | 2020-05-27T14:33:44.000Z |
from .cls_dec import time_cls_methods
| 13 | 37 | 0.846154 | 7 | 39 | 4.285714 | 0.857143 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.128205 | 39 | 2 | 38 | 19.5 | 0.882353 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
346dc52a09d15ec9ec57ce6e505f2d35f6a7e84c | 1,519 | py | Python | tfvan/tests/test_attn.py | shkarupa-alex/tfvan | 3e8d18458d3e8929fca25df255c86fb1db9f46ef | [
"MIT"
] | 5 | 2022-02-28T07:48:25.000Z | 2022-03-10T07:31:24.000Z | tfvan/tests/test_attn.py | shkarupa-alex/tfvan | 3e8d18458d3e8929fca25df255c86fb1db9f46ef | [
"MIT"
] | 1 | 2022-03-21T03:06:45.000Z | 2022-03-21T05:45:43.000Z | tfvan/tests/test_attn.py | shkarupa-alex/tfvan | 3e8d18458d3e8929fca25df255c86fb1db9f46ef | [
"MIT"
] | null | null | null | import tensorflow as tf
from keras import keras_parameterized, testing_utils
from tfvan.attn import Attention, SpatialAttention
@keras_parameterized.run_all_keras_modes
class TestAttention(keras_parameterized.TestCase):
def test_layer(self):
testing_utils.layer_test(
Attention,
kwargs={'kernel_size': 13},
input_shape=[2, 32, 32, 3],
input_dtype='float32',
expected_output_shape=[None, 32, 32, 3],
expected_output_dtype='float32'
)
testing_utils.layer_test(
Attention,
kwargs={'kernel_size': 21},
input_shape=[2, 32, 32, 3],
input_dtype='float32',
expected_output_shape=[None, 32, 32, 3],
expected_output_dtype='float32'
)
@keras_parameterized.run_all_keras_modes
class TestSpatialAttention(keras_parameterized.TestCase):
def test_layer(self):
testing_utils.layer_test(
SpatialAttention,
kwargs={},
input_shape=[2, 32, 32, 3],
input_dtype='float32',
expected_output_shape=[None, 32, 32, 3],
expected_output_dtype='float32'
)
testing_utils.layer_test(
SpatialAttention,
kwargs={},
input_shape=[2, 32, 32, 3],
input_dtype='float32',
expected_output_shape=[None, 32, 32, 3],
expected_output_dtype='float32'
)
if __name__ == '__main__':
tf.test.main()
| 30.38 | 57 | 0.599078 | 163 | 1,519 | 5.239264 | 0.257669 | 0.037471 | 0.046838 | 0.098361 | 0.805621 | 0.805621 | 0.805621 | 0.714286 | 0.655738 | 0.655738 | 0 | 0.060264 | 0.300856 | 1,519 | 49 | 58 | 31 | 0.743879 | 0 | 0 | 0.697674 | 0 | 0 | 0.056616 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.046512 | false | 0 | 0.069767 | 0 | 0.162791 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
346e6685582dbaab8a5f23a3a07ecaee9f578d74 | 170 | py | Python | Arrays/360. Sort Transformed Array.py | thewires2/Leetcode | a37ff81d60dd9195ba637b970b40aabbea5f4680 | [
"Unlicense"
] | 1 | 2021-06-30T17:51:56.000Z | 2021-06-30T17:51:56.000Z | Arrays/360. Sort Transformed Array.py | thewires2/Leetcode | a37ff81d60dd9195ba637b970b40aabbea5f4680 | [
"Unlicense"
] | null | null | null | Arrays/360. Sort Transformed Array.py | thewires2/Leetcode | a37ff81d60dd9195ba637b970b40aabbea5f4680 | [
"Unlicense"
] | null | null | null | class Solution:
def sortTransformedArray(self, nums: List[int], a: int, b: int, c: int) -> List[int]:
return sorted([(a*(i*i)+b*i+c) for i in nums])
| 34 | 89 | 0.576471 | 28 | 170 | 3.5 | 0.571429 | 0.142857 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.241176 | 170 | 4 | 90 | 42.5 | 0.75969 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0 | 0 | 0.333333 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | 5 |
1b1aabf85edf3d007d12d376ddba1fcdad4c7124 | 24 | py | Python | catalyst/__version__.py | elephantmipt/catalyst | 6c706e4859ed7c58e5e6a5b7634176bffd0e2465 | [
"Apache-2.0"
] | 2 | 2019-04-19T21:34:31.000Z | 2019-05-02T22:50:25.000Z | catalyst/__version__.py | elephantmipt/catalyst | 6c706e4859ed7c58e5e6a5b7634176bffd0e2465 | [
"Apache-2.0"
] | null | null | null | catalyst/__version__.py | elephantmipt/catalyst | 6c706e4859ed7c58e5e6a5b7634176bffd0e2465 | [
"Apache-2.0"
] | null | null | null | __version__ = "20.10.1"
| 12 | 23 | 0.666667 | 4 | 24 | 3 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.238095 | 0.125 | 24 | 1 | 24 | 24 | 0.333333 | 0 | 0 | 0 | 0 | 0 | 0.291667 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
1b46986c713576f17836baed146d17f314bab7c4 | 205 | py | Python | tests/test_am_compare.py | Envinorma/back-office | 2d2c082d40b8c3cb58d2bc0295801baf16cb983d | [
"MIT"
] | null | null | null | tests/test_am_compare.py | Envinorma/back-office | 2d2c082d40b8c3cb58d2bc0295801baf16cb983d | [
"MIT"
] | 25 | 2021-05-17T15:33:34.000Z | 2021-09-28T16:43:12.000Z | tests/test_am_compare.py | Envinorma/back-office | 2d2c082d40b8c3cb58d2bc0295801baf16cb983d | [
"MIT"
] | null | null | null | from back_office.pages.envinorma_compare import CompareWith, _component_builder
def test_component_builder():
for comp in CompareWith:
_component_builder(comp) # Ensuring always implemented
| 29.285714 | 79 | 0.8 | 24 | 205 | 6.5 | 0.75 | 0.307692 | 0.346154 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.15122 | 205 | 6 | 80 | 34.166667 | 0.896552 | 0.131707 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.25 | false | 0 | 0.25 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
1b52c5a97248fd256be1c59c1f4c1562e5446587 | 203 | py | Python | desafio 006.py | KelvinAraujo/Python | 8bf05153838b603bcc51d363ad17aecb8ea8bdd2 | [
"MIT"
] | null | null | null | desafio 006.py | KelvinAraujo/Python | 8bf05153838b603bcc51d363ad17aecb8ea8bdd2 | [
"MIT"
] | null | null | null | desafio 006.py | KelvinAraujo/Python | 8bf05153838b603bcc51d363ad17aecb8ea8bdd2 | [
"MIT"
] | null | null | null | print('\033[31m-='*20)
n = int(input('Digite um valor:'))
print('\033[31m-='*20)
d = n * 2
t = n * 3
r = n / n**(1/2)
print('\033[34m O dobro é {}, o triplo é {} e a raiz quadrada é {}'.format (d,t,r))
| 22.555556 | 83 | 0.536946 | 43 | 203 | 2.534884 | 0.604651 | 0.220183 | 0.201835 | 0.238532 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.140244 | 0.192118 | 203 | 8 | 84 | 25.375 | 0.52439 | 0 | 0 | 0.285714 | 0 | 0 | 0.46798 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0.428571 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
1b70e7270d3a59919b1a71aad6c6dafd83985f1e | 8,168 | py | Python | src/abaqus/Part/Part.py | Haiiliin/PyAbaqus | f20db6ebea19b73059fe875a53be370253381078 | [
"MIT"
] | 7 | 2022-01-21T09:15:45.000Z | 2022-02-15T09:31:58.000Z | src/abaqus/Part/Part.py | Haiiliin/PyAbaqus | f20db6ebea19b73059fe875a53be370253381078 | [
"MIT"
] | null | null | null | src/abaqus/Part/Part.py | Haiiliin/PyAbaqus | f20db6ebea19b73059fe875a53be370253381078 | [
"MIT"
] | null | null | null | from ..EditMesh.MeshEditPart import MeshEditPart
from ..Mesh.MeshPart import MeshPart
from ..Property.PropertyPart import PropertyPart
from ..Region.RegionPart import RegionPart
class Part(MeshEditPart, MeshPart, PropertyPart, RegionPart):
"""The Part object defines the physical attributes of a structure. Parts are instanced into
the assembly and positioned before an analysis.
Attributes
----------
geometryValidity: Boolean
A Boolean specifying the validity of the geometry of the part. The value is computed,
but it can be set to ON to perform feature and mesh operations on an invalid part. There
is no guarantee that such operations will work if the part was originally invalid.
isOutOfDate: int
An Int specifying that feature parameters have been modified but that the part has not
been regenerated. Possible values are 0 and 1.
timeStamp: float
A Float specifying when the part was last modified.
vertices: VertexArray
A :py:class:`~abaqus.BasicGeometry.VertexArray.VertexArray` object specifying all the vertices in the part.
ignoredVertices: IgnoredVertexArray
An :py:class:`~abaqus.BasicGeometry.IgnoredVertexArray.IgnoredVertexArray` object specifying all the ignored vertices in the part.
edges: EdgeArray
An :py:class:`~abaqus.BasicGeometry.EdgeArray.EdgeArray` object specifying all the edges in the part.
ignoredEdges: IgnoredEdgeArray
An :py:class:`~abaqus.BasicGeometry.IgnoredEdgeArray.IgnoredEdgeArray` object specifying all the ignored edges in the part.
faces: FaceArray
A :py:class:`~abaqus.BasicGeometry.FaceArray.FaceArray` object specifying all the faces in the part.
cells: CellArray
A :py:class:`~abaqus.BasicGeometry.CellArray.CellArray` object specifying all the cells in the part.
features: dict[str, Feature]
A repository of :py:class:`~abaqus.Assembly.Feature.Feature` objects specifying all the features in the part.
featuresById: dict[str, Feature]
A repository of :py:class:`~abaqus.Assembly.:py:class:`~abaqus.Assembly.:py:class:`~abaqus.Assembly.Feature.Feature`.:py:class:`~abaqus.Assembly.Feature.Feature``.:py:class:`~abaqus.Assembly.:py:class:`~abaqus.Assembly.Feature.Feature`.:py:class:`~abaqus.Assembly.Feature.Feature``` objects specifying all :py:class:`~abaqus.Assembly.:py:class:`~abaqus.Assembly.:py:class:`~abaqus.Assembly.Feature.Feature`.:py:class:`~abaqus.Assembly.Feature.Feature``.:py:class:`~abaqus.Assembly.:py:class:`~abaqus.Assembly.Feature.Feature`.:py:class:`~abaqus.Assembly.Feature.Feature``` objects in :py:class:`~.:py:class:`~.the`` part. The :py:class:`~abaqus.Assembly.:py:class:`~abaqus.Assembly.:py:class:`~abaqus.Assembly.Feature.Feature`.:py:class:`~abaqus.Assembly.Feature.Feature``.:py:class:`~abaqus.Assembly.:py:class:`~abaqus.Assembly.Feature.Feature`.:py:class:`~abaqus.Assembly.Feature.Feature```
objects in :py:class:`~.:py:class:`~.the`` featuresById repository are :py:class:`~.:py:class:`~.the`` same as :py:class:`~.:py:class:`~.the`` :py:class:`~abaqus.Assembly.:py:class:`~abaqus.Assembly.:py:class:`~abaqus.Assembly.Feature.Feature`.:py:class:`~abaqus.Assembly.Feature.Feature``.:py:class:`~abaqus.Assembly.:py:class:`~abaqus.Assembly.Feature.Feature`.:py:class:`~abaqus.Assembly.Feature.Feature``` objects in :py:class:`~.:py:class:`~.the``
features repository. However, :py:class:`~.:py:class:`~.the`` key to :py:class:`~.:py:class:`~.the`` objects in :py:class:`~.:py:class:`~.the`` featuresById repository is
an integer specifying :py:class:`~.:py:class:`~.the`` **ID**, whereas :py:class:`~.:py:class:`~.the`` key to :py:class:`~.:py:class:`~.the`` objects in :py:class:`~.:py:class:`~.the`` features
repository is a string specifying :py:class:`~.:py:class:`~.the`` **name**.
datums: list[Datum]
A repository of :py:class:`~abaqus.Datum.Datum.Datum` objects specifying all the datums in the part.
elements: MeshElementArray
A :py:class:`~abaqus.Mesh.MeshElementArray.MeshElementArray` object specifying all the elements in the part.
elemFaces: dict[str, MeshFace]
A repository of :py:class:`~abaqus.Mesh.MeshFace.MeshFace` objects specifying all the element faces in the part. For a
given element and a given face index within that element, the corresponding :py:class:`~abaqus.Mesh.MeshFace.MeshFace`
object can be retrieved from the repository by using the key calculated as (i*8 + j),
where i and j are zero-based element and face indices, respectively.
elementFaces: MeshFaceArray
A :py:class:`~abaqus.Mesh.MeshFaceArray.MeshFaceArray` object specifying all the unique element faces in the part.
nodes: MeshNodeArray
A :py:class:`~abaqus.Mesh.MeshNodeArray.MeshNodeArray` object specifying all the nodes in the part.
retainedNodes: MeshNodeArray
A :py:class:`~abaqus.Mesh.MeshNodeArray.MeshNodeArray` object specifying all the retained nodes in the substructure part.
sets: dict[str, Set]
A repository of :py:class:`~abaqus.Region.Set.Set` objects specifying for more information, see :py:class:`~abaqus.Region.Set.Set`.
allSets: dict[str, Set]
A repository of :py:class:`~abaqus.Region.Set.Set` objects specifying the contents of the **all:py:class:`~abaqus.Region.Set.Set`s** repository is the
same as the contents of the **sets** repository.
allInternalSets: dict[str, Set]
A repository of :py:class:`~abaqus.Region.Set.Set` objects specifying picked regions.
surfaces: dict[str, Surface]
A repository of :py:class:`~abaqus.Region.Surface.Surface` objects specifying for more information, see :py:class:`~abaqus.Region.Surface.Surface`.
allSurfaces: dict[str, Surface]
A repository of :py:class:`~abaqus.Region.Surface.Surface` objects specifying the contents of the **all:py:class:`~abaqus.Region.Surface.Surface`s** repository
is the same as the contents of the **surfaces** repository.
allInternalSurfaces: dict[str, Surface]
A repository of :py:class:`~abaqus.Region.Surface.Surface` objects specifying picked regions.
skins: dict[str, Skin]
A repository of :py:class:`~abaqus.Region.Skin.Skin` objects specifying the skins created on the part.
stringers: dict[str, Stringer]
A repository of :py:class:`~abaqus.Region.Stringer.Stringer` objects specifying the stringers created on the part.
referencePoints: ReferencePoints
A repository of :py:class:`~abaqus.BasicGeometry.ReferencePoint.ReferencePoint` objects.
engineeringFeatures: EngineeringFeature
An :py:class:`~abaqus.EngineeringFeature.EngineeringFeature.EngineeringFeature` object.
sectionAssignments: SectionAssignmentArray
A :py:class:`~abaqus.Property.SectionAssignmentArray.SectionAssignmentArray` object.
materialOrientations: MaterialOrientationArray
A :py:class:`~abaqus.Property.MaterialOrientationArray.MaterialOrientationArray` object.
compositeLayups: dict[str, CompositeLayup]
A repository of :py:class:`~abaqus.Property.CompositeLayup.CompositeLayup` objects.
elemEdges: dict[str, MeshEdge]
A repository of :py:class:`~abaqus.Mesh.:py:class:`~abaqus.Mesh.MeshEdge.MeshEdge`.:py:class:`~abaqus.Mesh.MeshEdge.MeshEdge`` objects specifying all the element edges in the part. For a
given element and a given edge index on a given face within that element, the
corresponding :py:class:`~abaqus.Mesh.:py:class:`~abaqus.Mesh.MeshEdge.MeshEdge`.:py:class:`~abaqus.Mesh.MeshEdge.MeshEdge`` object can be retrieved from the repository by using the key
calculated as (i*32 + j*4 + k), where i, j, and k are zero-based element, face, and edge
indices, respectively.
elementEdges: MeshEdgeArray
A :py:class:`~abaqus.Mesh.MeshEdgeArray.MeshEdgeArray` object specifying all the unique element edges in the part.
Notes
-----
This object can be accessed by:
.. code-block:: python
import part
mdb.models[name].parts[name]
"""
pass
| 77.790476 | 900 | 0.726861 | 1,071 | 8,168 | 5.543417 | 0.176471 | 0.108472 | 0.144517 | 0.102577 | 0.560047 | 0.484251 | 0.4381 | 0.420077 | 0.420077 | 0.384706 | 0 | 0.000866 | 0.15169 | 8,168 | 104 | 901 | 78.538462 | 0.855968 | 0.923604 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0.166667 | 0.666667 | 0 | 0.833333 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 5 |
1b765448f98190130e180b3f8f12de28fc87d9f6 | 1,267 | py | Python | app/organisation/permissions.py | DOSSIER-dev/DOSSIER-Sources | a89d3626ddf1bfcd021f2f7b4e927182aa5b3d8e | [
"MIT"
] | 7 | 2019-04-05T11:28:50.000Z | 2021-04-14T10:05:46.000Z | app/organisation/permissions.py | DOSSIER-dev/DOSSIER-Sources | a89d3626ddf1bfcd021f2f7b4e927182aa5b3d8e | [
"MIT"
] | 1 | 2022-03-02T03:41:28.000Z | 2022-03-02T03:41:28.000Z | app/organisation/permissions.py | DOSSIER-dev/DOSSIER-Sources | a89d3626ddf1bfcd021f2f7b4e927182aa5b3d8e | [
"MIT"
] | 1 | 2019-04-15T10:41:08.000Z | 2019-04-15T10:41:08.000Z | from rest_framework.permissions import SAFE_METHODS, BasePermission
class IsManagerOrReadOnly(BasePermission):
"""
The request is authenticated as a sources manager,
or is a read-only request.
"""
def has_permission(self, request, view):
return (
(request.user and request.user.is_authenticated) and
request.method in SAFE_METHODS or
(hasattr(request.user, 'staffprofile') and request.user.staffprofile.isManager)
)
class IsManager(BasePermission):
"""
The request is authenticated as a sources manager.
"""
def has_permission(self, request, view):
return (
request.user and
request.user.is_authenticated and
(hasattr(request.user, 'staffprofile') and request.user.staffprofile.isManager)
)
class IsManagerOrNoDelete(BasePermission):
"""
Sources managers can do everything. For non-managers, DELETE
action is not permitted.
"""
def has_permission(self, request, view):
return (
(request.user and request.user.is_authenticated) and
request.method not in ['DELETE'] or
(hasattr(request.user, 'staffprofile') and request.user.staffprofile.isManager)
)
| 31.675 | 91 | 0.659037 | 136 | 1,267 | 6.073529 | 0.330882 | 0.159806 | 0.101695 | 0.072639 | 0.710654 | 0.710654 | 0.710654 | 0.710654 | 0.710654 | 0.575061 | 0 | 0 | 0.254144 | 1,267 | 39 | 92 | 32.487179 | 0.874074 | 0.168903 | 0 | 0.5 | 0 | 0 | 0.042042 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.136364 | false | 0 | 0.045455 | 0.136364 | 0.454545 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 5 |
1b7b751756247ac9820746f4f6574cffc4aa120d | 610 | py | Python | temboo/core/Library/Google/DistanceMatrix/__init__.py | jordanemedlock/psychtruths | 52e09033ade9608bd5143129f8a1bfac22d634dd | [
"Apache-2.0"
] | 7 | 2016-03-07T02:07:21.000Z | 2022-01-21T02:22:41.000Z | temboo/core/Library/Google/DistanceMatrix/__init__.py | jordanemedlock/psychtruths | 52e09033ade9608bd5143129f8a1bfac22d634dd | [
"Apache-2.0"
] | null | null | null | temboo/core/Library/Google/DistanceMatrix/__init__.py | jordanemedlock/psychtruths | 52e09033ade9608bd5143129f8a1bfac22d634dd | [
"Apache-2.0"
] | 8 | 2016-06-14T06:01:11.000Z | 2020-04-22T09:21:44.000Z | from temboo.Library.Google.DistanceMatrix.BicyclingDistanceMatrix import BicyclingDistanceMatrix, BicyclingDistanceMatrixInputSet, BicyclingDistanceMatrixResultSet, BicyclingDistanceMatrixChoreographyExecution
from temboo.Library.Google.DistanceMatrix.DrivingDistanceMatrix import DrivingDistanceMatrix, DrivingDistanceMatrixInputSet, DrivingDistanceMatrixResultSet, DrivingDistanceMatrixChoreographyExecution
from temboo.Library.Google.DistanceMatrix.WalkingDistanceMatrix import WalkingDistanceMatrix, WalkingDistanceMatrixInputSet, WalkingDistanceMatrixResultSet, WalkingDistanceMatrixChoreographyExecution
| 152.5 | 209 | 0.931148 | 33 | 610 | 17.212121 | 0.545455 | 0.052817 | 0.089789 | 0.121479 | 0.195423 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.034426 | 610 | 3 | 210 | 203.333333 | 0.964346 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
1b818182af722b841e36e810f99303cb3032231a | 50 | py | Python | exclusivebooleanfield/__init__.py | anentropic/django-exclusivebooleanfield | e94cdc0312ee9e41758126e440fee8df7ab50049 | [
"MIT"
] | 21 | 2015-01-04T22:41:51.000Z | 2021-04-24T11:02:59.000Z | exclusivebooleanfield/__init__.py | anentropic/django-exclusivebooleanfield | e94cdc0312ee9e41758126e440fee8df7ab50049 | [
"MIT"
] | 7 | 2015-01-16T20:47:36.000Z | 2020-09-11T22:55:58.000Z | exclusivebooleanfield/__init__.py | anentropic/django-exclusivebooleanfield | e94cdc0312ee9e41758126e440fee8df7ab50049 | [
"MIT"
] | 2 | 2015-09-28T12:54:51.000Z | 2016-01-12T20:58:52.000Z | from .fields import ExclusiveBooleanField # NOQA
| 25 | 49 | 0.82 | 5 | 50 | 8.2 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.14 | 50 | 1 | 50 | 50 | 0.953488 | 0.08 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
941970921bee043c9bfe93c0acbb949f7e394133 | 689 | py | Python | reversi/strategies/common/abstract.py | y-tetsu/othello | 73eabfe22d6b44bbfa0b436e6287e3e7356620f4 | [
"MIT"
] | 10 | 2020-07-24T22:04:51.000Z | 2022-03-25T06:09:48.000Z | reversi/strategies/common/abstract.py | y-tetsu/othello | 73eabfe22d6b44bbfa0b436e6287e3e7356620f4 | [
"MIT"
] | 12 | 2021-04-30T09:53:18.000Z | 2022-02-25T04:16:02.000Z | reversi/strategies/common/abstract.py | y-tetsu/othello | 73eabfe22d6b44bbfa0b436e6287e3e7356620f4 | [
"MIT"
] | 1 | 2021-11-25T13:12:32.000Z | 2021-11-25T13:12:32.000Z | #!/usr/bin/env python
"""
基底クラス
"""
import abc
class AbstractStrategy(metaclass=abc.ABCMeta):
@abc.abstractmethod
def next_move(self, color, board):
pass
class AbstractScorer(metaclass=abc.ABCMeta):
@abc.abstractmethod
def get_score(self, *args, **kwargs):
pass
class AbstractEvaluator(metaclass=abc.ABCMeta):
@abc.abstractmethod
def evaluate(self, *args, **kwargs):
pass
class AbstractOrderer(metaclass=abc.ABCMeta):
@abc.abstractmethod
def move_ordering(self, *args, **kwargs):
pass
class AbstractSelector(metaclass=abc.ABCMeta):
@abc.abstractmethod
def select_moves(self, *args, **kwargs):
pass
| 18.621622 | 47 | 0.679245 | 76 | 689 | 6.105263 | 0.407895 | 0.12931 | 0.204741 | 0.237069 | 0.568966 | 0.420259 | 0 | 0 | 0 | 0 | 0 | 0 | 0.20029 | 689 | 36 | 48 | 19.138889 | 0.842105 | 0.037736 | 0 | 0.47619 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.238095 | false | 0.238095 | 0.047619 | 0 | 0.52381 | 0 | 0 | 0 | 0 | null | 0 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 5 |
9437bf7882772976478aec4ef9bd027e149e9272 | 422,731 | py | Python | pyeccodes/defs/grib1/localConcepts/ecmf/name_def.py | ecmwf/pyeccodes | dce2c72d3adcc0cb801731366be53327ce13a00b | [
"Apache-2.0"
] | 7 | 2020-04-14T09:41:17.000Z | 2021-08-06T09:38:19.000Z | pyeccodes/defs/grib1/localConcepts/ecmf/name_def.py | ecmwf/pyeccodes | dce2c72d3adcc0cb801731366be53327ce13a00b | [
"Apache-2.0"
] | null | null | null | pyeccodes/defs/grib1/localConcepts/ecmf/name_def.py | ecmwf/pyeccodes | dce2c72d3adcc0cb801731366be53327ce13a00b | [
"Apache-2.0"
] | 3 | 2020-04-30T12:44:48.000Z | 2020-12-15T08:40:26.000Z | import pyeccodes.accessors as _
def load(h):
def wrapped(h):
table2Version = h.get_l('table2Version')
indicatorOfParameter = h.get_l('indicatorOfParameter')
if table2Version == 228 and indicatorOfParameter == 254:
return 'ASCAT second soil moisture CDF matching parameter'
if table2Version == 228 and indicatorOfParameter == 253:
return 'ASCAT first soil moisture CDF matching parameter'
if table2Version == 228 and indicatorOfParameter == 247:
return '100 metre V wind component'
if table2Version == 228 and indicatorOfParameter == 246:
return '100 metre U wind component'
if table2Version == 228 and indicatorOfParameter == 136:
return 'U-tendency from non-orographic wave drag'
if table2Version == 228 and indicatorOfParameter == 134:
return 'V-tendency from non-orographic wave drag'
if table2Version == 211 and indicatorOfParameter == 117:
return 'Wildfire Flux of Dimethyl Sulfide (DMS) (C2H6S)'
if table2Version == 211 and indicatorOfParameter == 116:
return 'Wildfire Flux of Ammonia (NH3)'
if table2Version == 211 and indicatorOfParameter == 115:
return 'Wildfire Flux of Acetone (C3H6O)'
if table2Version == 211 and indicatorOfParameter == 114:
return 'Wildfire Flux of Acetaldehyde (C2H4O)'
if table2Version == 211 and indicatorOfParameter == 113:
return 'Wildfire Flux of Formaldehyde (CH2O)'
if table2Version == 211 and indicatorOfParameter == 112:
return 'Wildfire Flux of Higher Alkanes (CnH2n+2, C>=4)'
if table2Version == 211 and indicatorOfParameter == 111:
return 'Wildfire Flux of Higher Alkenes (CnH2n, C>=4)'
if table2Version == 211 and indicatorOfParameter == 110:
return 'Wildfire Flux of Toluene_lump (C7H8+ C6H6 + C8H10)'
if table2Version == 211 and indicatorOfParameter == 109:
return 'Wildfire Flux of Terpenes (C5H8)n'
if table2Version == 211 and indicatorOfParameter == 108:
return 'Wildfire Flux of Isoprene (C5H8)'
if table2Version == 211 and indicatorOfParameter == 107:
return 'Wildfire Flux of Propene (C3H6)'
if table2Version == 211 and indicatorOfParameter == 106:
return 'Wildfire Flux of Ethene (C2H4)'
if table2Version == 211 and indicatorOfParameter == 105:
return 'Wildfire Flux of Propane (C3H8)'
if table2Version == 211 and indicatorOfParameter == 104:
return 'Wildfire Flux of Ethanol (C2H5OH)'
if table2Version == 211 and indicatorOfParameter == 103:
return 'Wildfire Flux of Methanol (CH3OH)'
if table2Version == 211 and indicatorOfParameter == 102:
return 'Wildfire flux of Sulfur Dioxide'
if table2Version == 211 and indicatorOfParameter == 101:
return 'Wildfire radiative power maximum'
if table2Version == 210 and indicatorOfParameter == 117:
return 'Wildfire Flux of Dimethyl Sulfide (DMS) (C2H6S)'
if table2Version == 210 and indicatorOfParameter == 116:
return 'Wildfire Flux of Ammonia (NH3)'
if table2Version == 210 and indicatorOfParameter == 115:
return 'Wildfire Flux of Acetone (C3H6O)'
if table2Version == 210 and indicatorOfParameter == 114:
return 'Wildfire Flux of Acetaldehyde (C2H4O)'
if table2Version == 210 and indicatorOfParameter == 113:
return 'Wildfire Flux of Formaldehyde (CH2O)'
if table2Version == 210 and indicatorOfParameter == 112:
return 'Wildfire Flux of Higher Alkanes (CnH2n+2, C>=4)'
if table2Version == 210 and indicatorOfParameter == 111:
return 'Wildfire Flux of Higher Alkenes (CnH2n, C>=4)'
if table2Version == 210 and indicatorOfParameter == 110:
return 'Wildfire Flux of Toluene_lump (C7H8+ C6H6 + C8H10)'
if table2Version == 210 and indicatorOfParameter == 109:
return 'Wildfire Flux of Terpenes (C5H8)n'
if table2Version == 210 and indicatorOfParameter == 108:
return 'Wildfire Flux of Isoprene (C5H8)'
if table2Version == 210 and indicatorOfParameter == 107:
return 'Wildfire Flux of Propene (C3H6)'
if table2Version == 210 and indicatorOfParameter == 106:
return 'Wildfire Flux of Ethene (C2H4)'
if table2Version == 210 and indicatorOfParameter == 105:
return 'Wildfire Flux of Propane (C3H8)'
if table2Version == 210 and indicatorOfParameter == 104:
return 'Wildfire Flux of Ethanol (C2H5OH)'
if table2Version == 210 and indicatorOfParameter == 103:
return 'Wildfire Flux of Methanol (CH3OH)'
if table2Version == 210 and indicatorOfParameter == 102:
return 'Wildfire flux of Sulfur Dioxide'
if table2Version == 210 and indicatorOfParameter == 101:
return 'Wildfire radiative power maximum'
if table2Version == 140 and indicatorOfParameter == 216:
return 'V-component stokes drift'
if table2Version == 140 and indicatorOfParameter == 215:
return 'U-component stokes drift'
if table2Version == 234 and indicatorOfParameter == 228:
return 'Total precipitation significance'
if table2Version == 234 and indicatorOfParameter == 167:
return '2 metre temperature significance'
if table2Version == 234 and indicatorOfParameter == 151:
return 'Mean sea level pressure significance'
if table2Version == 234 and indicatorOfParameter == 139:
return 'Surface temperature significance'
if table2Version == 230 and indicatorOfParameter == 212:
return 'TOA incident solar radiation (variable resolution)'
if table2Version == 230 and indicatorOfParameter == 211:
return 'Surface net thermal radiation, clear sky (variable resolution)'
if table2Version == 230 and indicatorOfParameter == 210:
return 'Surface net solar radiation, clear sky (variable resolution)'
if table2Version == 230 and indicatorOfParameter == 209:
return 'Top net thermal radiation, clear sky (variable resolution)'
if table2Version == 230 and indicatorOfParameter == 208:
return 'Top net solar radiation, clear sky (variable resolution)'
if table2Version == 230 and indicatorOfParameter == 205:
return 'Runoff (variable resolution)'
if table2Version == 230 and indicatorOfParameter == 198:
return 'Skin reservoir content (variable resolution)'
if table2Version == 230 and indicatorOfParameter == 197:
return 'Gravity wave dissipation (variable resolution)'
if table2Version == 230 and indicatorOfParameter == 196:
return 'Meridional component of gravity wave stress (variable resolution)'
if table2Version == 230 and indicatorOfParameter == 195:
return 'Longitudinal component of gravity wave stress (variable resolution)'
if table2Version == 230 and indicatorOfParameter == 189:
return 'Sunshine duration (variable resolution)'
if table2Version == 230 and indicatorOfParameter == 182:
return 'Evaporation (variable resolution)'
if table2Version == 230 and indicatorOfParameter == 181:
return 'North-South surface stress (variable resolution)'
if table2Version == 230 and indicatorOfParameter == 180:
return 'East-West surface stress (variable resolution)'
if table2Version == 230 and indicatorOfParameter == 179:
return 'Top net thermal radiation (variable resolution)'
if table2Version == 230 and indicatorOfParameter == 178:
return 'Top net solar radiation (variable resolution)'
if table2Version == 230 and indicatorOfParameter == 177:
return 'Surface net thermal radiation (variable resolution)'
if table2Version == 230 and indicatorOfParameter == 176:
return 'Surface net solar radiation (variable resolution)'
if table2Version == 230 and indicatorOfParameter == 175:
return 'Surface thermal radiation downwards (variable resolution)'
if table2Version == 230 and indicatorOfParameter == 169:
return 'Surface solar radiation downwards (variable resolution)'
if table2Version == 230 and indicatorOfParameter == 147:
return 'Surface latent heat flux (variable resolution)'
if table2Version == 230 and indicatorOfParameter == 146:
return 'Surface sensible heat flux (variable resolution)'
if table2Version == 230 and indicatorOfParameter == 145:
return 'Boundary layer dissipation (variable resolution)'
if table2Version == 230 and indicatorOfParameter == 144:
return 'Snowfall (convective + stratiform) (variable resolution)'
if table2Version == 230 and indicatorOfParameter == 143:
return 'Convective precipitation (variable resolution)'
if table2Version == 230 and indicatorOfParameter == 142:
return 'Stratiform precipitation (Large-scale precipitation) (variable resolution)'
if table2Version == 230 and indicatorOfParameter == 58:
return 'Photosynthetically active radiation at the surface (variable resolution)'
if table2Version == 230 and indicatorOfParameter == 57:
return 'Downward UV radiation at the surface (variable resolution)'
if table2Version == 230 and indicatorOfParameter == 46:
return 'Solar duration (variable resolution)'
if table2Version == 230 and indicatorOfParameter == 45:
return 'Snowmelt (variable resolution)'
if table2Version == 230 and indicatorOfParameter == 44:
return 'Snow evaporation (variable resolution)'
if table2Version == 228 and indicatorOfParameter == 228:
return 'Total Precipitation'
if table2Version == 228 and indicatorOfParameter == 171:
return 'Wilting point'
if table2Version == 228 and indicatorOfParameter == 170:
return 'Field capacity'
if table2Version == 228 and indicatorOfParameter == 164:
return 'Total Cloud Cover'
if table2Version == 228 and indicatorOfParameter == 144:
return 'Snow Fall water equivalent'
if table2Version == 228 and indicatorOfParameter == 141:
return 'Snow depth water equivalent'
if table2Version == 228 and indicatorOfParameter == 139:
return 'Soil Temperature'
if table2Version == 228 and indicatorOfParameter == 132:
return 'Neutral wind at 10 m v-component'
if table2Version == 228 and indicatorOfParameter == 131:
return 'Neutral wind at 10 m u-component'
if table2Version == 228 and indicatorOfParameter == 39:
return 'Soil Moisture'
if table2Version == 228 and indicatorOfParameter == 19:
return 'Trapping layer top height'
if table2Version == 228 and indicatorOfParameter == 18:
return 'Trapping layer base height'
if table2Version == 228 and indicatorOfParameter == 17:
return 'Duct base height'
if table2Version == 228 and indicatorOfParameter == 16:
return 'Mean vertical gradient of refractivity inside trapping layer'
if table2Version == 228 and indicatorOfParameter == 15:
return 'Minimum vertical gradient of refractivity inside trapping layer'
if table2Version == 228 and indicatorOfParameter == 14:
return 'Lake ice depth'
if table2Version == 228 and indicatorOfParameter == 13:
return 'Lake ice temperature'
if table2Version == 228 and indicatorOfParameter == 12:
return 'Lake shape factor'
if table2Version == 228 and indicatorOfParameter == 11:
return 'Lake total layer temperature'
if table2Version == 228 and indicatorOfParameter == 10:
return 'Lake bottom temperature'
if table2Version == 228 and indicatorOfParameter == 9:
return 'Lake mix-layer depth'
if table2Version == 228 and indicatorOfParameter == 8:
return 'Lake mix-layer temperature'
if table2Version == 228 and indicatorOfParameter == 7:
return 'Lake depth'
if table2Version == 228 and indicatorOfParameter == 6:
return 'Mean total cloud cover'
if table2Version == 228 and indicatorOfParameter == 5:
return 'Mean of 10 metre wind speed'
if table2Version == 228 and indicatorOfParameter == 4:
return 'Mean temperature at 2 metres'
if table2Version == 228 and indicatorOfParameter == 3:
return 'Friction velocity'
if table2Version == 228 and indicatorOfParameter == 2:
return 'Orography'
if table2Version == 228 and indicatorOfParameter == 1:
return 'Convective inhibition'
if table2Version == 220 and indicatorOfParameter == 228:
return 'Total precipitation observation count'
if table2Version == 211 and indicatorOfParameter == 216:
return 'Total Aerosol Optical Depth at 1240nm'
if table2Version == 211 and indicatorOfParameter == 215:
return 'Total Aerosol Optical Depth at 865nm'
if table2Version == 211 and indicatorOfParameter == 214:
return 'Total Aerosol Optical Depth at 670nm'
if table2Version == 211 and indicatorOfParameter == 213:
return 'Total Aerosol Optical Depth at 469nm'
if table2Version == 211 and indicatorOfParameter == 212:
return 'Sulphate Aerosol Optical Depth at 550nm'
if table2Version == 211 and indicatorOfParameter == 211:
return 'Black Carbon Aerosol Optical Depth at 550nm'
if table2Version == 211 and indicatorOfParameter == 210:
return 'Organic Matter Aerosol Optical Depth at 550nm'
if table2Version == 211 and indicatorOfParameter == 209:
return 'Dust Aerosol Optical Depth at 550nm'
if table2Version == 211 and indicatorOfParameter == 208:
return 'Sea Salt Aerosol Optical Depth at 550nm'
if table2Version == 211 and indicatorOfParameter == 207:
return 'Total Aerosol Optical Depth at 550nm'
if table2Version == 211 and indicatorOfParameter == 206:
return 'GEMS Total column ozone'
if table2Version == 211 and indicatorOfParameter == 203:
return 'GEMS Ozone'
if table2Version == 211 and indicatorOfParameter == 185:
return 'Anthropogenic Emissions of Sulphur Hexafluoride'
if table2Version == 211 and indicatorOfParameter == 184:
return 'Total column Sulphur Hexafluoride'
if table2Version == 211 and indicatorOfParameter == 183:
return 'Total column Radon'
if table2Version == 211 and indicatorOfParameter == 182:
return 'Sulphur Hexafluoride'
if table2Version == 211 and indicatorOfParameter == 181:
return 'Radon'
if table2Version == 211 and indicatorOfParameter == 166:
return 'Surface flux reactive tracer 10'
if table2Version == 211 and indicatorOfParameter == 165:
return 'Surface flux reactive tracer 9'
if table2Version == 211 and indicatorOfParameter == 164:
return 'Surface flux reactive tracer 8'
if table2Version == 211 and indicatorOfParameter == 163:
return 'Surface flux reactive tracer 7'
if table2Version == 211 and indicatorOfParameter == 162:
return 'Surface flux reactive tracer 6'
if table2Version == 211 and indicatorOfParameter == 161:
return 'Surface flux reactive tracer 5'
if table2Version == 211 and indicatorOfParameter == 160:
return 'Surface flux reactive tracer 4'
if table2Version == 211 and indicatorOfParameter == 159:
return 'Surface flux reactive tracer 3'
if table2Version == 211 and indicatorOfParameter == 158:
return 'Surface flux reactive tracer 2'
if table2Version == 211 and indicatorOfParameter == 157:
return 'Surface flux reactive tracer 1'
if table2Version == 211 and indicatorOfParameter == 156:
return 'Surface flux GEMS Ozone'
if table2Version == 211 and indicatorOfParameter == 155:
return 'Surface flux Formaldehyde'
if table2Version == 211 and indicatorOfParameter == 154:
return 'Surface flux Carbon monoxide'
if table2Version == 211 and indicatorOfParameter == 153:
return 'Surface flux Sulphur dioxide'
if table2Version == 211 and indicatorOfParameter == 152:
return 'Surface flux Nitrogen dioxide'
if table2Version == 211 and indicatorOfParameter == 151:
return 'Surface flux Nitrogen oxides'
if table2Version == 211 and indicatorOfParameter == 150:
return 'Total column GRG tracer 10'
if table2Version == 211 and indicatorOfParameter == 149:
return 'Reactive tracer 10 mass mixing ratio'
if table2Version == 211 and indicatorOfParameter == 148:
return 'Total column GRG tracer 9'
if table2Version == 211 and indicatorOfParameter == 147:
return 'Reactive tracer 9 mass mixing ratio'
if table2Version == 211 and indicatorOfParameter == 146:
return 'Total column GRG tracer 8'
if table2Version == 211 and indicatorOfParameter == 145:
return 'Reactive tracer 8 mass mixing ratio'
if table2Version == 211 and indicatorOfParameter == 144:
return 'Total column GRG tracer 7'
if table2Version == 211 and indicatorOfParameter == 143:
return 'Reactive tracer 7 mass mixing ratio'
if table2Version == 211 and indicatorOfParameter == 142:
return 'Total column GRG tracer 6'
if table2Version == 211 and indicatorOfParameter == 141:
return 'Reactive tracer 6 mass mixing ratio'
if table2Version == 211 and indicatorOfParameter == 140:
return 'Total column GRG tracer 5'
if table2Version == 211 and indicatorOfParameter == 139:
return 'Reactive tracer 5 mass mixing ratio'
if table2Version == 211 and indicatorOfParameter == 138:
return 'Total column GRG tracer 4'
if table2Version == 211 and indicatorOfParameter == 137:
return 'Reactive tracer 4 mass mixing ratio'
if table2Version == 211 and indicatorOfParameter == 136:
return 'Total column GRG tracer 3'
if table2Version == 211 and indicatorOfParameter == 135:
return 'Reactive tracer 3 mass mixing ratio'
if table2Version == 211 and indicatorOfParameter == 134:
return 'Total column GRG tracer 2'
if table2Version == 211 and indicatorOfParameter == 133:
return 'Reactive tracer 2 mass mixing ratio'
if table2Version == 211 and indicatorOfParameter == 132:
return 'Total column GRG tracer 1'
if table2Version == 211 and indicatorOfParameter == 131:
return 'Reactive tracer 1 mass mixing ratio'
if table2Version == 211 and indicatorOfParameter == 130:
return 'Total Column Nitrogen Oxides'
if table2Version == 211 and indicatorOfParameter == 129:
return 'Nitrogen Oxides'
if table2Version == 211 and indicatorOfParameter == 128:
return 'Total column Formaldehyde'
if table2Version == 211 and indicatorOfParameter == 127:
return 'Total column Carbon monoxide'
if table2Version == 211 and indicatorOfParameter == 126:
return 'Total column Sulphur dioxide'
if table2Version == 211 and indicatorOfParameter == 125:
return 'Total column Nitrogen dioxide'
if table2Version == 211 and indicatorOfParameter == 124:
return 'Formaldehyde'
if table2Version == 211 and indicatorOfParameter == 123:
return 'Carbon monoxide'
if table2Version == 211 and indicatorOfParameter == 122:
return 'Sulphur dioxide'
if table2Version == 211 and indicatorOfParameter == 121:
return 'Nitrogen dioxide'
if table2Version == 211 and indicatorOfParameter == 100:
return 'Wildfire combustion rate'
if table2Version == 211 and indicatorOfParameter == 99:
return 'Wildfire radiative power'
if table2Version == 211 and indicatorOfParameter == 98:
return 'Wildfire observed area'
if table2Version == 211 and indicatorOfParameter == 97:
return 'Wildfire fraction of area observed'
if table2Version == 211 and indicatorOfParameter == 96:
return 'Wildfire Fuel Load: Carbon per unit area'
if table2Version == 211 and indicatorOfParameter == 95:
return 'Wildfire Combustion Completeness'
if table2Version == 211 and indicatorOfParameter == 94:
return 'Wildfire vegetation map index'
if table2Version == 211 and indicatorOfParameter == 93:
return 'Wildfire fraction of C4 plants'
if table2Version == 211 and indicatorOfParameter == 92:
return 'Wildfire overall flux of burnt Carbon'
if table2Version == 211 and indicatorOfParameter == 91:
return 'Wildfire flux of Black Carbon'
if table2Version == 211 and indicatorOfParameter == 90:
return 'Wildfire flux of Organic Carbon'
if table2Version == 211 and indicatorOfParameter == 89:
return 'Wildfire flux of Total Carbon in Aerosols'
if table2Version == 211 and indicatorOfParameter == 88:
return 'Wildfire flux of Total Particulate Matter'
if table2Version == 211 and indicatorOfParameter == 87:
return 'Wildfire flux of Particulate Matter PM2.5'
if table2Version == 211 and indicatorOfParameter == 86:
return 'Wildfire flux of Nitrous Oxide'
if table2Version == 211 and indicatorOfParameter == 85:
return 'Wildfire flux of Nitrogen Oxides NOx'
if table2Version == 211 and indicatorOfParameter == 84:
return 'Wildfire flux of Hydrogen'
if table2Version == 211 and indicatorOfParameter == 83:
return 'Wildfire flux of Non-Methane Hydro-Carbons'
if table2Version == 211 and indicatorOfParameter == 82:
return 'Wildfire flux of Methane'
if table2Version == 211 and indicatorOfParameter == 81:
return 'Wildfire flux of Carbon Monoxide'
if table2Version == 211 and indicatorOfParameter == 80:
return 'Wildfire flux of Carbon Dioxide'
if table2Version == 211 and indicatorOfParameter == 71:
return 'Methane loss rate due to radical hydroxyl (OH)'
if table2Version == 211 and indicatorOfParameter == 70:
return 'Methane Surface Fluxes'
if table2Version == 211 and indicatorOfParameter == 69:
return 'Anthropogenic emissions of Carbon Dioxide'
if table2Version == 211 and indicatorOfParameter == 68:
return 'Natural biosphere flux of Carbon Dioxide'
if table2Version == 211 and indicatorOfParameter == 67:
return 'Ocean flux of Carbon Dioxide'
if table2Version == 211 and indicatorOfParameter == 66:
return 'Total column Nitrous oxide'
if table2Version == 211 and indicatorOfParameter == 65:
return 'Total column Methane'
if table2Version == 211 and indicatorOfParameter == 64:
return 'Total column Carbon Dioxide'
if table2Version == 211 and indicatorOfParameter == 63:
return 'Nitrous oxide'
if table2Version == 211 and indicatorOfParameter == 62:
return 'Methane'
if table2Version == 211 and indicatorOfParameter == 61:
return 'Carbon Dioxide'
if table2Version == 211 and indicatorOfParameter == 54:
return 'Soil clay content'
if table2Version == 211 and indicatorOfParameter == 53:
return 'Lifting threshold speed'
if table2Version == 211 and indicatorOfParameter == 52:
return 'Dust emission potential'
if table2Version == 211 and indicatorOfParameter == 51:
return 'Aerosol large mode optical depth'
if table2Version == 211 and indicatorOfParameter == 50:
return 'Aerosol small mode optical depth'
if table2Version == 211 and indicatorOfParameter == 49:
return 'Aerosol precursor optical depth'
if table2Version == 211 and indicatorOfParameter == 48:
return 'Aerosol large mode mixing ratio'
if table2Version == 211 and indicatorOfParameter == 47:
return 'Aerosol small mode mixing ratio'
if table2Version == 211 and indicatorOfParameter == 46:
return 'Aerosol precursor mixing ratio'
if table2Version == 211 and indicatorOfParameter == 42:
return 'Aerosol type 12 sink/loss accumulated'
if table2Version == 211 and indicatorOfParameter == 41:
return 'Aerosol type 11 sink/loss accumulated'
if table2Version == 211 and indicatorOfParameter == 40:
return 'Aerosol type 10 sink/loss accumulated'
if table2Version == 211 and indicatorOfParameter == 39:
return 'Aerosol type 9 sink/loss accumulated'
if table2Version == 211 and indicatorOfParameter == 38:
return 'Aerosol type 8 sink/loss accumulated'
if table2Version == 211 and indicatorOfParameter == 37:
return 'Aerosol type 7 sink/loss accumulated'
if table2Version == 211 and indicatorOfParameter == 36:
return 'Aerosol type 6 sink/loss accumulated'
if table2Version == 211 and indicatorOfParameter == 35:
return 'Aerosol type 5 sink/loss accumulated'
if table2Version == 211 and indicatorOfParameter == 34:
return 'Aerosol type 4 sink/loss accumulated'
if table2Version == 211 and indicatorOfParameter == 33:
return 'Aerosol type 3 sink/loss accumulated'
if table2Version == 211 and indicatorOfParameter == 32:
return 'Aerosol type 2 sink/loss accumulated'
if table2Version == 211 and indicatorOfParameter == 31:
return 'Aerosol type 1 sink/loss accumulated'
if table2Version == 211 and indicatorOfParameter == 27:
return 'Aerosol type 12 source/gain accumulated'
if table2Version == 211 and indicatorOfParameter == 26:
return 'Aerosol type 11 source/gain accumulated'
if table2Version == 211 and indicatorOfParameter == 25:
return 'Aerosol type 10 source/gain accumulated'
if table2Version == 211 and indicatorOfParameter == 24:
return 'Aerosol type 9 source/gain accumulated'
if table2Version == 211 and indicatorOfParameter == 23:
return 'Aerosol type 8 source/gain accumulated'
if table2Version == 211 and indicatorOfParameter == 22:
return 'Aerosol type 7 source/gain accumulated'
if table2Version == 211 and indicatorOfParameter == 21:
return 'Aerosol type 6 source/gain accumulated'
if table2Version == 211 and indicatorOfParameter == 20:
return 'Aerosol type 5 source/gain accumulated'
if table2Version == 211 and indicatorOfParameter == 19:
return 'Aerosol type 4 source/gain accumulated'
if table2Version == 211 and indicatorOfParameter == 18:
return 'Aerosol type 3 source/gain accumulated'
if table2Version == 211 and indicatorOfParameter == 17:
return 'Aerosol type 2 source/gain accumulated'
if table2Version == 211 and indicatorOfParameter == 16:
return 'Aerosol type 1 source/gain accumulated'
if table2Version == 211 and indicatorOfParameter == 12:
return 'Aerosol type 12 mixing ratio'
if table2Version == 211 and indicatorOfParameter == 11:
return 'Sulphate Aerosol Mixing Ratio'
if table2Version == 211 and indicatorOfParameter == 10:
return 'Hydrophobic Black Carbon Aerosol Mixing Ratio'
if table2Version == 211 and indicatorOfParameter == 9:
return 'Hydrophilic Black Carbon Aerosol Mixing Ratio'
if table2Version == 211 and indicatorOfParameter == 8:
return 'Hydrophobic Organic Matter Aerosol Mixing Ratio'
if table2Version == 211 and indicatorOfParameter == 7:
return 'Hydrophilic Organic Matter Aerosol Mixing Ratio'
if table2Version == 211 and indicatorOfParameter == 6:
return 'Dust Aerosol (0.9 - 20 um) Mixing Ratio'
if table2Version == 211 and indicatorOfParameter == 5:
return 'Dust Aerosol (0.55 - 0.9 um) Mixing Ratio'
if table2Version == 211 and indicatorOfParameter == 4:
return 'Dust Aerosol (0.03 - 0.55 um) Mixing Ratio'
if table2Version == 211 and indicatorOfParameter == 3:
return 'Sea Salt Aerosol (5 - 20 um) Mixing Ratio'
if table2Version == 211 and indicatorOfParameter == 2:
return 'Sea Salt Aerosol (0.5 - 5 um) Mixing Ratio'
if table2Version == 211 and indicatorOfParameter == 1:
return 'Sea Salt Aerosol (0.03 - 0.5 um) Mixing Ratio'
if table2Version == 210 and indicatorOfParameter == 216:
return 'Total Aerosol Optical Depth at 1240nm'
if table2Version == 210 and indicatorOfParameter == 215:
return 'Total Aerosol Optical Depth at 865nm'
if table2Version == 210 and indicatorOfParameter == 214:
return 'Total Aerosol Optical Depth at 670nm'
if table2Version == 210 and indicatorOfParameter == 213:
return 'Total Aerosol Optical Depth at 469nm'
if table2Version == 210 and indicatorOfParameter == 212:
return 'Sulphate Aerosol Optical Depth at 550nm'
if table2Version == 210 and indicatorOfParameter == 211:
return 'Black Carbon Aerosol Optical Depth at 550nm'
if table2Version == 210 and indicatorOfParameter == 210:
return 'Organic Matter Aerosol Optical Depth at 550nm'
if table2Version == 210 and indicatorOfParameter == 209:
return 'Dust Aerosol Optical Depth at 550nm'
if table2Version == 210 and indicatorOfParameter == 208:
return 'Sea Salt Aerosol Optical Depth at 550nm'
if table2Version == 210 and indicatorOfParameter == 207:
return 'Total Aerosol Optical Depth at 550nm'
if table2Version == 210 and indicatorOfParameter == 206:
return 'GEMS Total column ozone'
if table2Version == 210 and indicatorOfParameter == 203:
return 'GEMS Ozone'
if table2Version == 210 and indicatorOfParameter == 185:
return 'Anthropogenic Emissions of Sulphur Hexafluoride'
if table2Version == 210 and indicatorOfParameter == 184:
return 'Total column Sulphur Hexafluoride'
if table2Version == 210 and indicatorOfParameter == 183:
return 'Total column Radon'
if table2Version == 210 and indicatorOfParameter == 182:
return 'Sulphur Hexafluoride'
if table2Version == 210 and indicatorOfParameter == 181:
return 'Radon'
if table2Version == 210 and indicatorOfParameter == 166:
return 'Surface flux reactive tracer 10'
if table2Version == 210 and indicatorOfParameter == 165:
return 'Surface flux reactive tracer 9'
if table2Version == 210 and indicatorOfParameter == 164:
return 'Surface flux reactive tracer 8'
if table2Version == 210 and indicatorOfParameter == 163:
return 'Surface flux reactive tracer 7'
if table2Version == 210 and indicatorOfParameter == 162:
return 'Surface flux reactive tracer 6'
if table2Version == 210 and indicatorOfParameter == 161:
return 'Surface flux reactive tracer 5'
if table2Version == 210 and indicatorOfParameter == 160:
return 'Surface flux reactive tracer 4'
if table2Version == 210 and indicatorOfParameter == 159:
return 'Surface flux reactive tracer 3'
if table2Version == 210 and indicatorOfParameter == 158:
return 'Surface flux reactive tracer 2'
if table2Version == 210 and indicatorOfParameter == 157:
return 'Surface flux reactive tracer 1'
if table2Version == 210 and indicatorOfParameter == 156:
return 'Surface flux GEMS Ozone'
if table2Version == 210 and indicatorOfParameter == 155:
return 'Surface flux Formaldehyde'
if table2Version == 210 and indicatorOfParameter == 154:
return 'Surface flux Carbon monoxide'
if table2Version == 210 and indicatorOfParameter == 153:
return 'Surface flux Sulphur dioxide'
if table2Version == 210 and indicatorOfParameter == 152:
return 'Surface flux Nitrogen dioxide'
if table2Version == 210 and indicatorOfParameter == 151:
return 'Surface flux Nitrogen oxides'
if table2Version == 210 and indicatorOfParameter == 150:
return 'Total column GRG tracer 10'
if table2Version == 210 and indicatorOfParameter == 149:
return 'Reactive tracer 10 mass mixing ratio'
if table2Version == 210 and indicatorOfParameter == 148:
return 'Total column GRG tracer 9'
if table2Version == 210 and indicatorOfParameter == 147:
return 'Reactive tracer 9 mass mixing ratio'
if table2Version == 210 and indicatorOfParameter == 146:
return 'Total column GRG tracer 8'
if table2Version == 210 and indicatorOfParameter == 145:
return 'Reactive tracer 8 mass mixing ratio'
if table2Version == 210 and indicatorOfParameter == 144:
return 'Total column GRG tracer 7'
if table2Version == 210 and indicatorOfParameter == 143:
return 'Reactive tracer 7 mass mixing ratio'
if table2Version == 210 and indicatorOfParameter == 142:
return 'Total column GRG tracer 6'
if table2Version == 210 and indicatorOfParameter == 141:
return 'Reactive tracer 6 mass mixing ratio'
if table2Version == 210 and indicatorOfParameter == 140:
return 'Total column GRG tracer 5'
if table2Version == 210 and indicatorOfParameter == 139:
return 'Reactive tracer 5 mass mixing ratio'
if table2Version == 210 and indicatorOfParameter == 138:
return 'Total column GRG tracer 4'
if table2Version == 210 and indicatorOfParameter == 137:
return 'Reactive tracer 4 mass mixing ratio'
if table2Version == 210 and indicatorOfParameter == 136:
return 'Total column GRG tracer 3'
if table2Version == 210 and indicatorOfParameter == 135:
return 'Reactive tracer 3 mass mixing ratio'
if table2Version == 210 and indicatorOfParameter == 134:
return 'Total column GRG tracer 2'
if table2Version == 210 and indicatorOfParameter == 133:
return 'Reactive tracer 2 mass mixing ratio'
if table2Version == 210 and indicatorOfParameter == 132:
return 'Total column GRG tracer 1'
if table2Version == 210 and indicatorOfParameter == 131:
return 'Reactive tracer 1 mass mixing ratio'
if table2Version == 210 and indicatorOfParameter == 130:
return 'Total Column Nitrogen Oxides'
if table2Version == 210 and indicatorOfParameter == 129:
return 'Nitrogen Oxides'
if table2Version == 210 and indicatorOfParameter == 128:
return 'Total column Formaldehyde'
if table2Version == 210 and indicatorOfParameter == 127:
return 'Total column Carbon monoxide'
if table2Version == 210 and indicatorOfParameter == 126:
return 'Total column Sulphur dioxide'
if table2Version == 210 and indicatorOfParameter == 125:
return 'Total column Nitrogen dioxide'
if table2Version == 210 and indicatorOfParameter == 124:
return 'Formaldehyde'
if table2Version == 210 and indicatorOfParameter == 123:
return 'Carbon monoxide'
if table2Version == 210 and indicatorOfParameter == 122:
return 'Sulphur dioxide'
if table2Version == 210 and indicatorOfParameter == 121:
return 'Nitrogen dioxide'
if table2Version == 210 and indicatorOfParameter == 100:
return 'Wildfire combustion rate'
if table2Version == 210 and indicatorOfParameter == 99:
return 'Wildfire radiative power'
if table2Version == 210 and indicatorOfParameter == 98:
return 'Number of positive FRP pixels per grid cell'
if table2Version == 210 and indicatorOfParameter == 97:
return 'Wildfire fraction of area observed'
if table2Version == 210 and indicatorOfParameter == 96:
return 'Wildfire Fuel Load: Carbon per unit area'
if table2Version == 210 and indicatorOfParameter == 95:
return 'Wildfire Combustion Completeness'
if table2Version == 210 and indicatorOfParameter == 94:
return 'Wildfire vegetation map index'
if table2Version == 210 and indicatorOfParameter == 93:
return 'Wildfire fraction of C4 plants'
if table2Version == 210 and indicatorOfParameter == 92:
return 'Wildfire overall flux of burnt Carbon'
if table2Version == 210 and indicatorOfParameter == 91:
return 'Wildfire flux of Black Carbon'
if table2Version == 210 and indicatorOfParameter == 90:
return 'Wildfire flux of Organic Carbon'
if table2Version == 210 and indicatorOfParameter == 89:
return 'Wildfire flux of Total Carbon in Aerosols'
if table2Version == 210 and indicatorOfParameter == 88:
return 'Wildfire flux of Total Particulate Matter'
if table2Version == 210 and indicatorOfParameter == 87:
return 'Wildfire flux of Particulate Matter PM2.5'
if table2Version == 210 and indicatorOfParameter == 86:
return 'Wildfire flux of Nitrous Oxide'
if table2Version == 210 and indicatorOfParameter == 85:
return 'Wildfire flux of Nitrogen Oxides NOx'
if table2Version == 210 and indicatorOfParameter == 84:
return 'Wildfire flux of Hydrogen'
if table2Version == 210 and indicatorOfParameter == 83:
return 'Wildfire flux of Non-Methane Hydro-Carbons'
if table2Version == 210 and indicatorOfParameter == 82:
return 'Wildfire flux of Methane'
if table2Version == 210 and indicatorOfParameter == 81:
return 'Wildfire flux of Carbon Monoxide'
if table2Version == 210 and indicatorOfParameter == 80:
return 'Wildfire flux of Carbon Dioxide'
if table2Version == 210 and indicatorOfParameter == 71:
return 'Methane loss rate due to radical hydroxyl (OH)'
if table2Version == 210 and indicatorOfParameter == 70:
return 'Methane Surface Fluxes'
if table2Version == 210 and indicatorOfParameter == 69:
return 'Anthropogenic emissions of Carbon Dioxide'
if table2Version == 210 and indicatorOfParameter == 68:
return 'Natural biosphere flux of Carbon Dioxide'
if table2Version == 210 and indicatorOfParameter == 67:
return 'Ocean flux of Carbon Dioxide'
if table2Version == 210 and indicatorOfParameter == 66:
return 'Total column Nitrous oxide'
if table2Version == 210 and indicatorOfParameter == 65:
return 'CH4 column-mean molar fraction'
if table2Version == 210 and indicatorOfParameter == 64:
return 'CO2 column-mean molar fraction'
if table2Version == 210 and indicatorOfParameter == 63:
return 'Nitrous oxide'
if table2Version == 210 and indicatorOfParameter == 62:
return 'Methane'
if table2Version == 210 and indicatorOfParameter == 61:
return 'Carbon Dioxide'
if table2Version == 210 and indicatorOfParameter == 54:
return 'Soil clay content'
if table2Version == 210 and indicatorOfParameter == 53:
return 'Lifting threshold speed'
if table2Version == 210 and indicatorOfParameter == 52:
return 'Dust emission potential'
if table2Version == 210 and indicatorOfParameter == 51:
return 'Aerosol large mode optical depth'
if table2Version == 210 and indicatorOfParameter == 50:
return 'Aerosol small mode optical depth'
if table2Version == 210 and indicatorOfParameter == 49:
return 'Aerosol precursor optical depth'
if table2Version == 210 and indicatorOfParameter == 48:
return 'Aerosol large mode mixing ratio'
if table2Version == 210 and indicatorOfParameter == 47:
return 'Aerosol small mode mixing ratio'
if table2Version == 210 and indicatorOfParameter == 46:
return 'Aerosol precursor mixing ratio'
if table2Version == 210 and indicatorOfParameter == 42:
return 'Aerosol type 12 sink/loss accumulated'
if table2Version == 210 and indicatorOfParameter == 41:
return 'Aerosol type 11 sink/loss accumulated'
if table2Version == 210 and indicatorOfParameter == 40:
return 'Aerosol type 10 sink/loss accumulated'
if table2Version == 210 and indicatorOfParameter == 39:
return 'Aerosol type 9 sink/loss accumulated'
if table2Version == 210 and indicatorOfParameter == 38:
return 'Aerosol type 8 sink/loss accumulated'
if table2Version == 210 and indicatorOfParameter == 37:
return 'Aerosol type 7 sink/loss accumulated'
if table2Version == 210 and indicatorOfParameter == 36:
return 'Aerosol type 6 sink/loss accumulated'
if table2Version == 210 and indicatorOfParameter == 35:
return 'Aerosol type 5 sink/loss accumulated'
if table2Version == 210 and indicatorOfParameter == 34:
return 'Aerosol type 4 sink/loss accumulated'
if table2Version == 210 and indicatorOfParameter == 33:
return 'Aerosol type 3 sink/loss accumulated'
if table2Version == 210 and indicatorOfParameter == 32:
return 'Aerosol type 2 sink/loss accumulated'
if table2Version == 210 and indicatorOfParameter == 31:
return 'Aerosol type 1 sink/loss accumulated'
if table2Version == 210 and indicatorOfParameter == 27:
return 'Aerosol type 12 source/gain accumulated'
if table2Version == 210 and indicatorOfParameter == 26:
return 'Aerosol type 11 source/gain accumulated'
if table2Version == 210 and indicatorOfParameter == 25:
return 'Aerosol type 10 source/gain accumulated'
if table2Version == 210 and indicatorOfParameter == 24:
return 'Aerosol type 9 source/gain accumulated'
if table2Version == 210 and indicatorOfParameter == 23:
return 'Aerosol type 8 source/gain accumulated'
if table2Version == 210 and indicatorOfParameter == 22:
return 'Aerosol type 7 source/gain accumulated'
if table2Version == 210 and indicatorOfParameter == 21:
return 'Aerosol type 6 source/gain accumulated'
if table2Version == 210 and indicatorOfParameter == 20:
return 'Aerosol type 5 source/gain accumulated'
if table2Version == 210 and indicatorOfParameter == 19:
return 'Aerosol type 4 source/gain accumulated'
if table2Version == 210 and indicatorOfParameter == 18:
return 'Aerosol type 3 source/gain accumulated'
if table2Version == 210 and indicatorOfParameter == 17:
return 'Aerosol type 2 source/gain accumulated'
if table2Version == 210 and indicatorOfParameter == 16:
return 'Aerosol type 1 source/gain accumulated'
if table2Version == 210 and indicatorOfParameter == 12:
return 'SO2 precursor mixing ratio'
if table2Version == 210 and indicatorOfParameter == 11:
return 'Sulphate Aerosol Mixing Ratio'
if table2Version == 210 and indicatorOfParameter == 10:
return 'Hydrophobic Black Carbon Aerosol Mixing Ratio'
if table2Version == 210 and indicatorOfParameter == 9:
return 'Hydrophilic Black Carbon Aerosol Mixing Ratio'
if table2Version == 210 and indicatorOfParameter == 8:
return 'Hydrophobic Organic Matter Aerosol Mixing Ratio'
if table2Version == 210 and indicatorOfParameter == 7:
return 'Hydrophilic Organic Matter Aerosol Mixing Ratio'
if table2Version == 210 and indicatorOfParameter == 6:
return 'Dust Aerosol (0.9 - 20 um) Mixing Ratio'
if table2Version == 210 and indicatorOfParameter == 5:
return 'Dust Aerosol (0.55 - 0.9 um) Mixing Ratio'
if table2Version == 210 and indicatorOfParameter == 4:
return 'Dust Aerosol (0.03 - 0.55 um) Mixing Ratio'
if table2Version == 210 and indicatorOfParameter == 3:
return 'Sea Salt Aerosol (5 - 20 um) Mixing Ratio'
if table2Version == 210 and indicatorOfParameter == 2:
return 'Sea Salt Aerosol (0.5 - 5 um) Mixing Ratio'
if table2Version == 210 and indicatorOfParameter == 1:
return 'Sea Salt Aerosol (0.03 - 0.5 um) Mixing Ratio'
if table2Version == 201 and indicatorOfParameter == 255:
return 'Indicates a missing value'
if table2Version == 201 and indicatorOfParameter == 241:
return 'convective available potential energy'
if table2Version == 201 and indicatorOfParameter == 215:
return 'ice surface temperature'
if table2Version == 201 and indicatorOfParameter == 203:
return 'snow temperature'
if table2Version == 201 and indicatorOfParameter == 200:
return 'water content of interception store'
if table2Version == 201 and indicatorOfParameter == 187:
return 'Maximum wind velocity'
if table2Version == 201 and indicatorOfParameter == 150:
return 'coefficient of horizontal diffusion'
if table2Version == 201 and indicatorOfParameter == 139:
return 'deviation of pressure from reference value'
if table2Version == 201 and indicatorOfParameter == 113:
return 'surface precipitation amount, rain, convective'
if table2Version == 201 and indicatorOfParameter == 112:
return 'surface precipitation rate, snow, convective'
if table2Version == 201 and indicatorOfParameter == 111:
return 'surface precipitation rate, rain, convective'
if table2Version == 201 and indicatorOfParameter == 102:
return 'surface precipitation amount, rain, grid scale'
if table2Version == 201 and indicatorOfParameter == 101:
return 'surface precipitation rate, snow, grid scale'
if table2Version == 201 and indicatorOfParameter == 100:
return 'surface precipitation rate, rain, grid scale'
if table2Version == 201 and indicatorOfParameter == 99:
return 'spec. content of precip. particles'
if table2Version == 201 and indicatorOfParameter == 85:
return 'height of snow-fall limit'
if table2Version == 201 and indicatorOfParameter == 84:
return 'height of 0 degree Celsius isotherm above msl'
if table2Version == 201 and indicatorOfParameter == 83:
return 'dry convection top index'
if table2Version == 201 and indicatorOfParameter == 82:
return 'top of dry convection (above msl)'
if table2Version == 201 and indicatorOfParameter == 81:
return 'convective divergence tendency'
if table2Version == 201 and indicatorOfParameter == 80:
return 'convective vorticity tendency'
if table2Version == 201 and indicatorOfParameter == 79:
return 'convective momentum tendency (Y-component)'
if table2Version == 201 and indicatorOfParameter == 78:
return 'convective momentum tendency (X-component)'
if table2Version == 201 and indicatorOfParameter == 77:
return 'convective tendency of total water'
if table2Version == 201 and indicatorOfParameter == 76:
return 'convective tendency of total heat'
if table2Version == 201 and indicatorOfParameter == 75:
return 'convective tendency of specific humidity'
if table2Version == 201 and indicatorOfParameter == 74:
return 'convective temperature tendency'
if table2Version == 201 and indicatorOfParameter == 73:
return 'convection top index'
if table2Version == 201 and indicatorOfParameter == 72:
return 'convection base index'
if table2Version == 201 and indicatorOfParameter == 71:
return 'KO-index'
if table2Version == 201 and indicatorOfParameter == 70:
return 'convective layers (00...77) (BKE)'
if table2Version == 201 and indicatorOfParameter == 69:
return 'cloud top, convective clouds (above msl)'
if table2Version == 201 and indicatorOfParameter == 68:
return 'cloud base, convective clouds (above msl)'
if table2Version == 201 and indicatorOfParameter == 67:
return 'entrainment parameter, convection'
if table2Version == 201 and indicatorOfParameter == 66:
return 'Updraft velocity, convection'
if table2Version == 201 and indicatorOfParameter == 65:
return 'convective mass flux'
if table2Version == 201 and indicatorOfParameter == 64:
return 'cloud ice content, conv clouds, vert integrated'
if table2Version == 201 and indicatorOfParameter == 63:
return 'specific cloud ice content, convective clouds'
if table2Version == 201 and indicatorOfParameter == 62:
return 'cloud water content, conv clouds, vert integrated'
if table2Version == 201 and indicatorOfParameter == 61:
return 'specific cloud water content, convective clouds'
if table2Version == 201 and indicatorOfParameter == 60:
return 'cloud cover, convective cirrus'
if table2Version == 201 and indicatorOfParameter == 56:
return 'fog'
if table2Version == 201 and indicatorOfParameter == 55:
return 'fog (0..8)'
if table2Version == 201 and indicatorOfParameter == 54:
return 'total cloud cover (0..8)'
if table2Version == 201 and indicatorOfParameter == 53:
return 'cloud cover CL (0..8)'
if table2Version == 201 and indicatorOfParameter == 52:
return 'cloud cover CM (0..8)'
if table2Version == 201 and indicatorOfParameter == 51:
return 'cloud cover CH (0..8)'
if table2Version == 201 and indicatorOfParameter == 50:
return 'cloud covers CH_CM_CL (000...888)'
if table2Version == 201 and indicatorOfParameter == 42:
return 'vert. integral of divergence of tot. water content'
if table2Version == 201 and indicatorOfParameter == 41:
return 'total column water'
if table2Version == 201 and indicatorOfParameter == 38:
return 'specific snow content, gs, vert. integrated'
if table2Version == 201 and indicatorOfParameter == 37:
return 'specific rainwater content, gs, vert. integrated'
if table2Version == 201 and indicatorOfParameter == 36:
return 'specific snow content, grid scale'
if table2Version == 201 and indicatorOfParameter == 35:
return 'specific rainwater content, grid scale'
if table2Version == 201 and indicatorOfParameter == 34:
return 'cloud ice content, grid scale, vert integrated'
if table2Version == 201 and indicatorOfParameter == 33:
return 'specific cloud ice content, grid scale'
if table2Version == 201 and indicatorOfParameter == 32:
return 'cloud water content, grid scale, vert integrated'
if table2Version == 201 and indicatorOfParameter == 31:
return 'specific cloud water content'
if table2Version == 201 and indicatorOfParameter == 30:
return 'cloud cover, grid scale'
if table2Version == 201 and indicatorOfParameter == 29:
return 'fractional cloud cover'
if table2Version == 201 and indicatorOfParameter == 17:
return 'soil heat flux, bottom of layer'
if table2Version == 201 and indicatorOfParameter == 16:
return 'soil heat flux, surface'
if table2Version == 201 and indicatorOfParameter == 15:
return 'total radiative heating rate'
if table2Version == 201 and indicatorOfParameter == 14:
return 'longwave radiative heating rate'
if table2Version == 201 and indicatorOfParameter == 13:
return 'shortwave radiative heating rate'
if table2Version == 201 and indicatorOfParameter == 12:
return 'upw longw radiant flux density, cloudy part'
if table2Version == 201 and indicatorOfParameter == 11:
return 'downw longw radiant flux density, cloudfree part'
if table2Version == 201 and indicatorOfParameter == 10:
return 'upw shortw radiant flux density, cloudy part'
if table2Version == 201 and indicatorOfParameter == 9:
return 'downw shortw radiant flux density, cloudfree part'
if table2Version == 201 and indicatorOfParameter == 8:
return 'total net radiative flux density'
if table2Version == 201 and indicatorOfParameter == 7:
return 'net longwave flux'
if table2Version == 201 and indicatorOfParameter == 6:
return 'net shortwave flux'
if table2Version == 201 and indicatorOfParameter == 5:
return 'downwd photosynthetic active radiant flux density'
if table2Version == 201 and indicatorOfParameter == 4:
return 'upward longwave radiant flux density'
if table2Version == 201 and indicatorOfParameter == 3:
return 'downward longwave radiant flux density'
if table2Version == 201 and indicatorOfParameter == 2:
return 'upward shortwave radiant flux density'
if table2Version == 201 and indicatorOfParameter == 1:
return 'downward shortwave radiant flux density'
if table2Version == 200 and indicatorOfParameter == 168:
return '2 metre dewpoint temperature difference'
if table2Version == 190 and indicatorOfParameter == 229:
return 'Total soil moisture'
if table2Version == 190 and indicatorOfParameter == 173:
return 'Roughness length'
if table2Version == 190 and indicatorOfParameter == 171:
return 'Wilting point'
if table2Version == 190 and indicatorOfParameter == 170:
return 'Field capacity'
if table2Version == 190 and indicatorOfParameter == 141:
return 'Snow depth'
if table2Version == 180 and indicatorOfParameter == 179:
return 'Top net thermal radiation'
if table2Version == 180 and indicatorOfParameter == 178:
return 'Top net solar radiation'
if table2Version == 180 and indicatorOfParameter == 177:
return 'Surface net thermal radiation'
if table2Version == 180 and indicatorOfParameter == 176:
return 'Surface net solar radiation'
if table2Version == 180 and indicatorOfParameter == 149:
return 'Total soil wetness'
if table2Version == 175 and indicatorOfParameter == 255:
return 'Indicates a missing value'
if table2Version == 175 and indicatorOfParameter == 236:
return 'Soil temperature layer 4'
if table2Version == 175 and indicatorOfParameter == 202:
return '1.5m temperature - minimum in the last 24 hours'
if table2Version == 175 and indicatorOfParameter == 201:
return '1.5m temperature - maximum in the last 24 hours'
if table2Version == 175 and indicatorOfParameter == 183:
return 'Soil temperature layer 3'
if table2Version == 175 and indicatorOfParameter == 175:
return 'Average salinity in upper 293.4m'
if table2Version == 175 and indicatorOfParameter == 170:
return 'Soil temperature layer 2'
if table2Version == 175 and indicatorOfParameter == 168:
return '1.5m dewpoint temperature'
if table2Version == 175 and indicatorOfParameter == 167:
return '1.5m temperature'
if table2Version == 175 and indicatorOfParameter == 164:
return 'Average potential temperature in upper 293.4m'
if table2Version == 175 and indicatorOfParameter == 139:
return 'Soil temperature layer 1'
if table2Version == 175 and indicatorOfParameter == 111:
return 'Ocean mean ice depth'
if table2Version == 175 and indicatorOfParameter == 110:
return 'Ocean ice concentration'
if table2Version == 175 and indicatorOfParameter == 90:
return 'Top outgoing solar radiation'
if table2Version == 175 and indicatorOfParameter == 89:
return 'Top incoming solar radiation'
if table2Version == 175 and indicatorOfParameter == 88:
return '1.5m dewpoint temperature over land'
if table2Version == 175 and indicatorOfParameter == 87:
return '1.5m temperature over land'
if table2Version == 175 and indicatorOfParameter == 86:
return '10m V wind over land'
if table2Version == 175 and indicatorOfParameter == 85:
return '10m U wind over land'
if table2Version == 175 and indicatorOfParameter == 83:
return 'Net primary productivity'
if table2Version == 175 and indicatorOfParameter == 55:
return '1.5m temperature - mean in the last 24 hours'
if table2Version == 175 and indicatorOfParameter == 49:
return '10m wind gust in the last 24 hours'
if table2Version == 175 and indicatorOfParameter == 42:
return 'Volumetric soil water layer 4'
if table2Version == 175 and indicatorOfParameter == 41:
return 'Volumetric soil water layer 3'
if table2Version == 175 and indicatorOfParameter == 40:
return 'Volumetric soil water layer 2'
if table2Version == 175 and indicatorOfParameter == 39:
return 'Volumetric soil water layer 1'
if table2Version == 175 and indicatorOfParameter == 34:
return 'Open-sea surface temperature'
if table2Version == 175 and indicatorOfParameter == 31:
return 'Fraction of sea-ice in sea'
if table2Version == 175 and indicatorOfParameter == 6:
return 'Total soil moisture'
if table2Version == 174 and indicatorOfParameter == 255:
return 'Indicates a missing value'
if table2Version == 174 and indicatorOfParameter == 236:
return 'Soil temperature layer 4'
if table2Version == 174 and indicatorOfParameter == 202:
return '1.5m temperature - minimum in the last 24 hours'
if table2Version == 174 and indicatorOfParameter == 201:
return '1.5m temperature - maximum in the last 24 hours'
if table2Version == 174 and indicatorOfParameter == 183:
return 'Soil temperature layer 3'
if table2Version == 174 and indicatorOfParameter == 175:
return 'Average salinity in upper 293.4m'
if table2Version == 174 and indicatorOfParameter == 170:
return 'Soil temperature layer 2'
if table2Version == 174 and indicatorOfParameter == 168:
return '1.5m dewpoint temperature'
if table2Version == 174 and indicatorOfParameter == 167:
return '1.5m temperature'
if table2Version == 174 and indicatorOfParameter == 164:
return 'Average potential temperature in upper 293.4m'
if table2Version == 174 and indicatorOfParameter == 139:
return 'Soil temperature layer 1'
if table2Version == 174 and indicatorOfParameter == 111:
return 'Ocean mean ice depth'
if table2Version == 174 and indicatorOfParameter == 110:
return 'Ocean ice concentration'
if table2Version == 174 and indicatorOfParameter == 99:
return 'Liquid water potential temperature'
if table2Version == 174 and indicatorOfParameter == 98:
return 'Sea-ice thickness'
if table2Version == 174 and indicatorOfParameter == 95:
return '1.5m specific humidity'
if table2Version == 174 and indicatorOfParameter == 94:
return 'Mean sea surface temperature'
if table2Version == 174 and indicatorOfParameter == 90:
return 'Top outgoing solar radiation'
if table2Version == 174 and indicatorOfParameter == 89:
return 'Top incoming solar radiation'
if table2Version == 174 and indicatorOfParameter == 88:
return '1.5m dewpoint temperature over land'
if table2Version == 174 and indicatorOfParameter == 87:
return '1.5m temperature over land'
if table2Version == 174 and indicatorOfParameter == 86:
return '10m V wind over land'
if table2Version == 174 and indicatorOfParameter == 85:
return '10m U wind over land'
if table2Version == 174 and indicatorOfParameter == 83:
return 'Net primary productivity'
if table2Version == 174 and indicatorOfParameter == 55:
return '1.5m temperature - mean in the last 24 hours'
if table2Version == 174 and indicatorOfParameter == 49:
return '10 metre wind gust in the last 24 hours'
if table2Version == 174 and indicatorOfParameter == 42:
return 'Volumetric soil water layer 4'
if table2Version == 174 and indicatorOfParameter == 41:
return 'Volumetric soil water layer 3'
if table2Version == 174 and indicatorOfParameter == 40:
return 'Volumetric soil water layer 2'
if table2Version == 174 and indicatorOfParameter == 39:
return 'Volumetric soil water layer 1'
if table2Version == 174 and indicatorOfParameter == 34:
return 'Open-sea surface temperature'
if table2Version == 174 and indicatorOfParameter == 31:
return 'Fraction of sea-ice in sea'
if table2Version == 174 and indicatorOfParameter == 9:
return 'Sub-surface runoff'
if table2Version == 174 and indicatorOfParameter == 8:
return 'Surface runoff'
if table2Version == 174 and indicatorOfParameter == 6:
return 'Total soil moisture'
if table2Version == 173 and indicatorOfParameter == 255:
return 'Indicates a missing value'
if table2Version == 173 and indicatorOfParameter == 240:
return 'Large scale snowfall anomaly'
if table2Version == 173 and indicatorOfParameter == 239:
return 'Convective snowfall anomaly'
if table2Version == 173 and indicatorOfParameter == 228:
return 'Total precipitation anomalous rate of accumulation'
if table2Version == 173 and indicatorOfParameter == 212:
return 'Solar insolation anomalous rate of accumulation'
if table2Version == 173 and indicatorOfParameter == 211:
return 'Surface net thermal radiation, clear sky anomaly'
if table2Version == 173 and indicatorOfParameter == 210:
return 'Surface net solar radiation, clear sky anomaly'
if table2Version == 173 and indicatorOfParameter == 209:
return 'Top net thermal radiation, clear sky anomaly'
if table2Version == 173 and indicatorOfParameter == 208:
return 'Top net solar radiation, clear sky anomaly'
if table2Version == 173 and indicatorOfParameter == 205:
return 'Runoff anomalous rate of accumulation'
if table2Version == 173 and indicatorOfParameter == 197:
return 'Gravity wave dissipation anomaly'
if table2Version == 173 and indicatorOfParameter == 196:
return 'Meridional component of gravity wave stress anomaly'
if table2Version == 173 and indicatorOfParameter == 195:
return 'Longitudinal component of gravity wave stress anomaly'
if table2Version == 173 and indicatorOfParameter == 189:
return 'Sunshine duration anomalous rate of accumulation'
if table2Version == 173 and indicatorOfParameter == 182:
return 'Evaporation anomalous rate of accumulation'
if table2Version == 173 and indicatorOfParameter == 181:
return 'North-South surface stress anomalous rate of accumulation'
if table2Version == 173 and indicatorOfParameter == 180:
return 'East-West surface stress anomalous rate of accumulation'
if table2Version == 173 and indicatorOfParameter == 179:
return 'Top thermal radiation anomalous rate of accumulation'
if table2Version == 173 and indicatorOfParameter == 178:
return 'Top solar radiation anomalous rate of accumulation'
if table2Version == 173 and indicatorOfParameter == 177:
return 'Surface thermal radiation anomalous rate of accumulation'
if table2Version == 173 and indicatorOfParameter == 176:
return 'Surface solar radiation anomalous rate of accumulation'
if table2Version == 173 and indicatorOfParameter == 175:
return 'Surface thermal radiation downwards anomalous rate of accumulation'
if table2Version == 173 and indicatorOfParameter == 169:
return 'Surface solar radiation downwards anomalous rate of accumulation'
if table2Version == 173 and indicatorOfParameter == 154:
return 'Long-wave heating rate anomaly'
if table2Version == 173 and indicatorOfParameter == 153:
return 'Short-wave heating rate anomaly'
if table2Version == 173 and indicatorOfParameter == 149:
return 'Surface net radiation anomaly'
if table2Version == 173 and indicatorOfParameter == 147:
return 'Surface latent heat flux anomalous rate of accumulation'
if table2Version == 173 and indicatorOfParameter == 146:
return 'Surface sensible heat flux anomalous rate of accumulation'
if table2Version == 173 and indicatorOfParameter == 145:
return 'Boundary layer dissipation anomaly'
if table2Version == 173 and indicatorOfParameter == 144:
return 'Snowfall (convective + stratiform) anomalous rate of accumulation'
if table2Version == 173 and indicatorOfParameter == 143:
return 'Mean convective precipitation rate anomaly'
if table2Version == 173 and indicatorOfParameter == 142:
return 'Stratiform precipitation (Large-scale precipitation) anomalous rate of accumulation'
if table2Version == 173 and indicatorOfParameter == 50:
return 'Large-scale precipitation fraction anomaly'
if table2Version == 173 and indicatorOfParameter == 48:
return 'Magnitude of turbulent surface stress anomaly'
if table2Version == 173 and indicatorOfParameter == 45:
return 'Snowmelt anomaly'
if table2Version == 173 and indicatorOfParameter == 44:
return 'Snow evaporation anomaly'
if table2Version == 172 and indicatorOfParameter == 255:
return 'Indicates a missing value'
if table2Version == 172 and indicatorOfParameter == 240:
return 'Large scale snowfall'
if table2Version == 172 and indicatorOfParameter == 239:
return 'Convective snowfall'
if table2Version == 172 and indicatorOfParameter == 228:
return 'Mean total precipitation rate'
if table2Version == 172 and indicatorOfParameter == 212:
return 'Solar insolation rate of accumulation'
if table2Version == 172 and indicatorOfParameter == 211:
return 'Surface net thermal radiation, clear sky'
if table2Version == 172 and indicatorOfParameter == 210:
return 'Surface net solar radiation, clear sky'
if table2Version == 172 and indicatorOfParameter == 209:
return 'Top net thermal radiation, clear sky'
if table2Version == 172 and indicatorOfParameter == 208:
return 'Top net solar radiation, clear sky'
if table2Version == 172 and indicatorOfParameter == 205:
return 'Mean runoff rate'
if table2Version == 172 and indicatorOfParameter == 197:
return 'Gravity wave dissipation'
if table2Version == 172 and indicatorOfParameter == 196:
return 'Meridional component of gravity wave stress'
if table2Version == 172 and indicatorOfParameter == 195:
return 'Longitudinal component of gravity wave stress'
if table2Version == 172 and indicatorOfParameter == 189:
return 'Mean sunshine duration rate'
if table2Version == 172 and indicatorOfParameter == 182:
return 'Evaporation'
if table2Version == 172 and indicatorOfParameter == 181:
return 'North-South surface stress rate of accumulation'
if table2Version == 172 and indicatorOfParameter == 180:
return 'East-West surface stress rate of accumulation'
if table2Version == 172 and indicatorOfParameter == 179:
return 'Mean top net thermal radiation flux'
if table2Version == 172 and indicatorOfParameter == 178:
return 'Mean top net solar radiation flux'
if table2Version == 172 and indicatorOfParameter == 177:
return 'Mean surface net thermal radiation flux'
if table2Version == 172 and indicatorOfParameter == 176:
return 'Mean surface net solar radiation flux'
if table2Version == 172 and indicatorOfParameter == 175:
return 'Mean surface downward thermal radiation flux'
if table2Version == 172 and indicatorOfParameter == 169:
return 'Mean surface downward solar radiation flux'
if table2Version == 172 and indicatorOfParameter == 154:
return 'Mean long-wave heating rate'
if table2Version == 172 and indicatorOfParameter == 153:
return 'Mean short-wave heating rate'
if table2Version == 172 and indicatorOfParameter == 149:
return 'Mean surface net radiation flux'
if table2Version == 172 and indicatorOfParameter == 147:
return 'Mean surface latent heat flux'
if table2Version == 172 and indicatorOfParameter == 146:
return 'Mean surface sensible heat flux'
if table2Version == 172 and indicatorOfParameter == 145:
return 'Boundary layer dissipation'
if table2Version == 172 and indicatorOfParameter == 144:
return 'Mean total snowfall rate'
if table2Version == 172 and indicatorOfParameter == 143:
return 'Mean convective precipitation rate'
if table2Version == 172 and indicatorOfParameter == 142:
return 'Mean large-scale precipitation rate'
if table2Version == 172 and indicatorOfParameter == 50:
return 'Mean large-scale precipitation fraction'
if table2Version == 172 and indicatorOfParameter == 48:
return 'Magnitude of turbulent surface stress'
if table2Version == 172 and indicatorOfParameter == 45:
return 'Snowmelt'
if table2Version == 172 and indicatorOfParameter == 44:
return 'Snow evaporation'
if table2Version == 171 and indicatorOfParameter == 255:
return 'Indicates a missing value'
if table2Version == 171 and indicatorOfParameter == 254:
return 'Adiabatic tendency of meridional wind anomaly'
if table2Version == 171 and indicatorOfParameter == 253:
return 'Adiabatic tendency of zonal wind anomaly'
if table2Version == 171 and indicatorOfParameter == 252:
return 'Adiabatic tendency of humidity anomaly'
if table2Version == 171 and indicatorOfParameter == 251:
return 'Adiabatic tendency of temperature anomaly'
if table2Version == 171 and indicatorOfParameter == 250:
return 'Ice age anomaly'
if table2Version == 171 and indicatorOfParameter == 249:
return 'Accumulated ice water tendency anomaly'
if table2Version == 171 and indicatorOfParameter == 248:
return 'Cloud cover anomaly'
if table2Version == 171 and indicatorOfParameter == 247:
return 'Cloud ice water content anomaly'
if table2Version == 171 and indicatorOfParameter == 246:
return 'Cloud liquid water content anomaly'
if table2Version == 171 and indicatorOfParameter == 245:
return 'Forecast logarithm of surface roughness for heat anomaly'
if table2Version == 171 and indicatorOfParameter == 244:
return 'Forecast surface roughness anomaly'
if table2Version == 171 and indicatorOfParameter == 243:
return 'Forecast albedo anomaly'
if table2Version == 171 and indicatorOfParameter == 242:
return 'Accumulated liquid water tendency anomaly'
if table2Version == 171 and indicatorOfParameter == 241:
return 'Accumulated cloud fraction tendency anomaly'
if table2Version == 171 and indicatorOfParameter == 240:
return 'Large scale snowfall anomaly'
if table2Version == 171 and indicatorOfParameter == 239:
return 'Convective snowfall anomaly'
if table2Version == 171 and indicatorOfParameter == 238:
return 'Temperature of snow layer anomaly'
if table2Version == 171 and indicatorOfParameter == 237:
return 'Soil wetness level 4 anomaly'
if table2Version == 171 and indicatorOfParameter == 236:
return 'Soil temperature level 4 anomaly'
if table2Version == 171 and indicatorOfParameter == 235:
return 'Skin temperature anomaly'
if table2Version == 171 and indicatorOfParameter == 234:
return 'Logarithm of surface roughness length for heat anomaly'
if table2Version == 171 and indicatorOfParameter == 233:
return 'Apparent surface humidity anomaly'
if table2Version == 171 and indicatorOfParameter == 232:
return 'Instantaneous moisture flux anomaly'
if table2Version == 171 and indicatorOfParameter == 231:
return 'Instantaneous surface heat flux anomaly'
if table2Version == 171 and indicatorOfParameter == 230:
return 'Instantaneous Y surface stress anomaly'
if table2Version == 171 and indicatorOfParameter == 229:
return 'Instantaneous X surface stress anomaly'
if table2Version == 171 and indicatorOfParameter == 228:
return 'Total precipitation anomaly'
if table2Version == 171 and indicatorOfParameter == 227:
return 'Change from removal of negative humidity anomaly'
if table2Version == 171 and indicatorOfParameter == 226:
return 'Humidity tendency by large-scale condensation anomaly'
if table2Version == 171 and indicatorOfParameter == 225:
return 'Humidity tendency by cumulus convection anomaly'
if table2Version == 171 and indicatorOfParameter == 224:
return 'Vertical diffusion of humidity anomaly'
if table2Version == 171 and indicatorOfParameter == 223:
return 'Convective tendency of meridional wind anomaly'
if table2Version == 171 and indicatorOfParameter == 222:
return 'Convective tendency of zonal wind anomaly'
if table2Version == 171 and indicatorOfParameter == 221:
return 'North-South gravity wave drag tendency anomaly'
if table2Version == 171 and indicatorOfParameter == 220:
return 'East-West gravity wave drag tendency anomaly'
if table2Version == 171 and indicatorOfParameter == 219:
return 'Vertical diffusion of meridional wind anomaly'
if table2Version == 171 and indicatorOfParameter == 218:
return 'Vertical diffusion of zonal wind anomaly'
if table2Version == 171 and indicatorOfParameter == 217:
return 'Diabatic heating by large-scale condensation anomaly'
if table2Version == 171 and indicatorOfParameter == 216:
return 'Diabatic heating by cumulus convection anomaly'
if table2Version == 171 and indicatorOfParameter == 215:
return 'Diabatic heating by vertical diffusion anomaly'
if table2Version == 171 and indicatorOfParameter == 214:
return 'Diabatic heating by radiation anomaly'
if table2Version == 171 and indicatorOfParameter == 212:
return 'Solar insolation anomaly'
if table2Version == 171 and indicatorOfParameter == 211:
return 'Surface net thermal radiation, clear sky anomaly'
if table2Version == 171 and indicatorOfParameter == 210:
return 'Surface net solar radiation clear sky anomaly'
if table2Version == 171 and indicatorOfParameter == 209:
return 'Top net thermal radiation clear sky anomaly'
if table2Version == 171 and indicatorOfParameter == 208:
return 'Top net solar radiation clear sky anomaly'
if table2Version == 171 and indicatorOfParameter == 207:
return '10 metre wind speed anomaly'
if table2Version == 171 and indicatorOfParameter == 206:
return 'Total column ozone anomaly'
if table2Version == 171 and indicatorOfParameter == 205:
return 'Runoff anomaly'
if table2Version == 171 and indicatorOfParameter == 204:
return 'Precipitation analysis weights anomaly'
if table2Version == 171 and indicatorOfParameter == 203:
return 'Ozone mass mixing ratio anomaly'
if table2Version == 171 and indicatorOfParameter == 202:
return 'Minimum temperature at 2 metres anomaly'
if table2Version == 171 and indicatorOfParameter == 201:
return 'Maximum temperature at 2 metres anomaly'
if table2Version == 171 and indicatorOfParameter == 200:
return 'Variance of sub-gridscale orography anomaly'
if table2Version == 171 and indicatorOfParameter == 199:
return 'Vegetation fraction anomaly'
if table2Version == 171 and indicatorOfParameter == 198:
return 'Skin reservoir content anomaly'
if table2Version == 171 and indicatorOfParameter == 197:
return 'Gravity wave dissipation anomaly'
if table2Version == 171 and indicatorOfParameter == 196:
return 'Meridional component of gravity wave stress anomaly'
if table2Version == 171 and indicatorOfParameter == 195:
return 'Longitudinal component of gravity wave stress anomaly'
if table2Version == 171 and indicatorOfParameter == 194:
return 'Brightness temperature anomaly'
if table2Version == 171 and indicatorOfParameter == 193:
return 'North-East/South-West component of sub-gridscale orographic variance anomaly'
if table2Version == 171 and indicatorOfParameter == 192:
return 'North-West/South-East component of sub-gridscale orographic variance anomaly'
if table2Version == 171 and indicatorOfParameter == 191:
return 'North-South component of sub-gridscale orographic variance anomaly'
if table2Version == 171 and indicatorOfParameter == 190:
return 'East-West component of sub-gridscale orographic variance anomaly'
if table2Version == 171 and indicatorOfParameter == 189:
return 'Sunshine duration anomaly'
if table2Version == 171 and indicatorOfParameter == 188:
return 'High cloud cover anomaly'
if table2Version == 171 and indicatorOfParameter == 187:
return 'Medium cloud cover anomaly'
if table2Version == 171 and indicatorOfParameter == 186:
return 'Low cloud cover anomaly'
if table2Version == 171 and indicatorOfParameter == 185:
return 'Convective cloud cover anomaly'
if table2Version == 171 and indicatorOfParameter == 184:
return 'Soil wetness anomaly level 3'
if table2Version == 171 and indicatorOfParameter == 183:
return 'Soil temperature anomaly level 3'
if table2Version == 171 and indicatorOfParameter == 182:
return 'Evaporation anomaly'
if table2Version == 171 and indicatorOfParameter == 181:
return 'North-South surface stress anomaly'
if table2Version == 171 and indicatorOfParameter == 180:
return 'East-West surface stress anomaly'
if table2Version == 171 and indicatorOfParameter == 179:
return 'Top net thermal radiation anomaly'
if table2Version == 171 and indicatorOfParameter == 178:
return 'Top net solar radiation anomaly'
if table2Version == 171 and indicatorOfParameter == 177:
return 'Surface net thermal radiation anomaly'
if table2Version == 171 and indicatorOfParameter == 176:
return 'Surface net solar radiation anomaly'
if table2Version == 171 and indicatorOfParameter == 175:
return 'Surface thermal radiation downwards anomaly'
if table2Version == 171 and indicatorOfParameter == 174:
return 'Albedo anomaly'
if table2Version == 171 and indicatorOfParameter == 173:
return 'Surface roughness anomaly'
if table2Version == 171 and indicatorOfParameter == 171:
return 'Soil wetness anomaly level 2'
if table2Version == 171 and indicatorOfParameter == 170:
return 'Soil temperature anomaly level 2'
if table2Version == 171 and indicatorOfParameter == 169:
return 'Surface solar radiation downwards anomaly'
if table2Version == 171 and indicatorOfParameter == 168:
return '2 metre dewpoint temperature anomaly'
if table2Version == 171 and indicatorOfParameter == 167:
return '2 metre temperature anomaly'
if table2Version == 171 and indicatorOfParameter == 166:
return '10 metre V wind component anomaly'
if table2Version == 171 and indicatorOfParameter == 165:
return '10 metre U wind component anomaly'
if table2Version == 171 and indicatorOfParameter == 164:
return 'Total cloud cover anomaly'
if table2Version == 171 and indicatorOfParameter == 163:
return 'Slope of sub-gridscale orography anomaly'
if table2Version == 171 and indicatorOfParameter == 162:
return 'Angle of sub-gridscale orography anomaly'
if table2Version == 171 and indicatorOfParameter == 161:
return 'Anisotropy of sub-gridscale orography anomaly'
if table2Version == 171 and indicatorOfParameter == 160:
return 'Standard deviation of orography anomaly'
if table2Version == 171 and indicatorOfParameter == 159:
return 'Boundary layer height anomaly'
if table2Version == 171 and indicatorOfParameter == 158:
return 'Tendency of surface pressure anomaly'
if table2Version == 171 and indicatorOfParameter == 157:
return 'Relative humidity anomaly'
if table2Version == 171 and indicatorOfParameter == 156:
return 'Height anomaly'
if table2Version == 171 and indicatorOfParameter == 155:
return 'Relative divergence anomaly'
if table2Version == 171 and indicatorOfParameter == 154:
return 'Long-wave heating rate anomaly'
if table2Version == 171 and indicatorOfParameter == 153:
return 'Short-wave heating rate anomaly'
if table2Version == 171 and indicatorOfParameter == 152:
return 'Logarithm of surface pressure anomaly'
if table2Version == 171 and indicatorOfParameter == 151:
return 'Mean sea level pressure anomaly'
if table2Version == 171 and indicatorOfParameter == 150:
return 'Top net radiation anomaly'
if table2Version == 171 and indicatorOfParameter == 149:
return 'Surface net radiation anomaly'
if table2Version == 171 and indicatorOfParameter == 148:
return 'Charnock anomaly'
if table2Version == 171 and indicatorOfParameter == 147:
return 'Surface latent heat flux anomaly'
if table2Version == 171 and indicatorOfParameter == 146:
return 'Surface sensible heat flux anomaly'
if table2Version == 171 and indicatorOfParameter == 145:
return 'Boundary layer dissipation anomaly'
if table2Version == 171 and indicatorOfParameter == 144:
return 'Snowfall (convective + stratiform) anomaly'
if table2Version == 171 and indicatorOfParameter == 143:
return 'Convective precipitation anomaly'
if table2Version == 171 and indicatorOfParameter == 142:
return 'Stratiform precipitation (Large-scale precipitation) anomaly'
if table2Version == 171 and indicatorOfParameter == 141:
return 'Snow depth anomaly'
if table2Version == 171 and indicatorOfParameter == 140:
return 'Soil wetness anomaly level 1'
if table2Version == 171 and indicatorOfParameter == 139:
return 'Soil temperature anomaly level 1'
if table2Version == 171 and indicatorOfParameter == 138:
return 'Relative vorticity anomaly'
if table2Version == 171 and indicatorOfParameter == 137:
return 'Total column water vapour anomaly'
if table2Version == 171 and indicatorOfParameter == 136:
return 'Total column water anomaly'
if table2Version == 171 and indicatorOfParameter == 135:
return 'Vertical velocity (pressure) anomaly'
if table2Version == 171 and indicatorOfParameter == 134:
return 'Surface pressure anomaly'
if table2Version == 171 and indicatorOfParameter == 133:
return 'Specific humidity anomaly'
if table2Version == 171 and indicatorOfParameter == 132:
return 'V component of wind anomaly'
if table2Version == 171 and indicatorOfParameter == 131:
return 'U component of wind anomaly'
if table2Version == 171 and indicatorOfParameter == 130:
return 'Temperature anomaly'
if table2Version == 171 and indicatorOfParameter == 129:
return 'Geopotential anomaly'
if table2Version == 171 and indicatorOfParameter == 128:
return 'Budget values anomaly'
if table2Version == 171 and indicatorOfParameter == 127:
return 'Atmospheric tide anomaly'
if table2Version == 171 and indicatorOfParameter == 126:
return 'Generic parameter for sensitive area prediction'
if table2Version == 171 and indicatorOfParameter == 125:
return 'Vertically integrated total energy anomaly'
if table2Version == 171 and indicatorOfParameter == 79:
return 'Total column ice water anomaly'
if table2Version == 171 and indicatorOfParameter == 78:
return 'Total column liquid water anomaly'
if table2Version == 171 and indicatorOfParameter == 65:
return 'Skin temperature difference anomaly'
if table2Version == 171 and indicatorOfParameter == 64:
return 'Finish time for skin temperature difference anomaly'
if table2Version == 171 and indicatorOfParameter == 63:
return 'Start time for skin temperature difference anomaly'
if table2Version == 171 and indicatorOfParameter == 62:
return 'Observation count anomaly'
if table2Version == 171 and indicatorOfParameter == 61:
return 'Total precipitation from observations anomaly'
if table2Version == 171 and indicatorOfParameter == 60:
return 'Potential vorticity anomaly'
if table2Version == 171 and indicatorOfParameter == 59:
return 'Convective available potential energy anomaly'
if table2Version == 171 and indicatorOfParameter == 58:
return 'Photosynthetically active radiation at the surface anomaly'
if table2Version == 171 and indicatorOfParameter == 57:
return 'Downward UV radiation at the surface anomaly'
if table2Version == 171 and indicatorOfParameter == 56:
return 'Mean 2 metre dewpoint temperature in the last 24 hours anomaly'
if table2Version == 171 and indicatorOfParameter == 55:
return 'Mean 2 metre temperature in the last 24 hours anomaly'
if table2Version == 171 and indicatorOfParameter == 54:
return 'Pressure anomaly'
if table2Version == 171 and indicatorOfParameter == 53:
return 'Montgomery potential anomaly'
if table2Version == 171 and indicatorOfParameter == 52:
return 'Minimum 2 metre temperature in the last 24 hours anomaly'
if table2Version == 171 and indicatorOfParameter == 51:
return 'Maximum 2 metre temperature in the last 24 hours anomaly'
if table2Version == 171 and indicatorOfParameter == 50:
return 'Large-scale precipitation fraction anomaly'
if table2Version == 171 and indicatorOfParameter == 49:
return '10 metre wind gust anomaly'
if table2Version == 171 and indicatorOfParameter == 48:
return 'Magnitude of turbulent surface stress anomaly'
if table2Version == 171 and indicatorOfParameter == 47:
return 'Direct solar radiation anomaly'
if table2Version == 171 and indicatorOfParameter == 46:
return 'Solar duration anomaly'
if table2Version == 171 and indicatorOfParameter == 45:
return 'Snowmelt anomaly'
if table2Version == 171 and indicatorOfParameter == 44:
return 'Snow evaporation anomaly'
if table2Version == 171 and indicatorOfParameter == 43:
return 'Soil type anomaly'
if table2Version == 171 and indicatorOfParameter == 42:
return 'Volumetric soil water anomaly layer 4'
if table2Version == 171 and indicatorOfParameter == 41:
return 'Volumetric soil water anomaly layer 3'
if table2Version == 171 and indicatorOfParameter == 40:
return 'Volumetric soil water anomaly layer 2'
if table2Version == 171 and indicatorOfParameter == 39:
return 'Volumetric soil water anomaly layer 1'
if table2Version == 171 and indicatorOfParameter == 38:
return 'Ice surface temperature anomaly layer 4'
if table2Version == 171 and indicatorOfParameter == 37:
return 'Ice surface temperature anomaly layer 3'
if table2Version == 171 and indicatorOfParameter == 36:
return 'Ice surface temperature anomaly layer 2'
if table2Version == 171 and indicatorOfParameter == 35:
return 'Ice surface temperature anomaly layer 1'
if table2Version == 171 and indicatorOfParameter == 34:
return 'Sea surface temperature anomaly'
if table2Version == 171 and indicatorOfParameter == 33:
return 'Snow density anomaly'
if table2Version == 171 and indicatorOfParameter == 32:
return 'Snow albedo anomaly'
if table2Version == 171 and indicatorOfParameter == 31:
return 'Sea-ice cover anomaly'
if table2Version == 171 and indicatorOfParameter == 30:
return 'Type of high vegetation anomaly'
if table2Version == 171 and indicatorOfParameter == 29:
return 'Type of low vegetation anomaly'
if table2Version == 171 and indicatorOfParameter == 28:
return 'High vegetation cover anomaly'
if table2Version == 171 and indicatorOfParameter == 27:
return 'Low vegetation cover anomaly'
if table2Version == 171 and indicatorOfParameter == 26:
return 'Lake cover anomaly'
if table2Version == 171 and indicatorOfParameter == 23:
return 'Unbalanced component of divergence anomaly'
if table2Version == 171 and indicatorOfParameter == 22:
return 'Unbalanced component of logarithm of surface pressure anomaly'
if table2Version == 171 and indicatorOfParameter == 21:
return 'Unbalanced component of temperature anomaly'
if table2Version == 171 and indicatorOfParameter == 14:
return 'V component of rotational wind anomaly'
if table2Version == 171 and indicatorOfParameter == 13:
return 'U component of rotational wind anomaly'
if table2Version == 171 and indicatorOfParameter == 12:
return 'V component of divergent wind anomaly'
if table2Version == 171 and indicatorOfParameter == 11:
return 'U component of divergent wind anomaly'
if table2Version == 171 and indicatorOfParameter == 5:
return 'Saturated equivalent potential temperature anomaly'
if table2Version == 171 and indicatorOfParameter == 4:
return 'Equivalent potential temperature anomaly'
if table2Version == 171 and indicatorOfParameter == 3:
return 'Potential temperature anomaly'
if table2Version == 171 and indicatorOfParameter == 2:
return 'Velocity potential anomaly'
if table2Version == 171 and indicatorOfParameter == 1:
return 'Stream function anomaly'
if table2Version == 170 and indicatorOfParameter == 179:
return 'Top net thermal radiation'
if table2Version == 170 and indicatorOfParameter == 171:
return 'Soil wetness level 2'
if table2Version == 170 and indicatorOfParameter == 149:
return 'Total soil moisture'
if table2Version == 162 and indicatorOfParameter == 255:
return 'Indicates a missing value'
if table2Version == 162 and indicatorOfParameter == 233:
return 'Variance of ozone'
if table2Version == 162 and indicatorOfParameter == 232:
return 'Covariance of omega/ozone'
if table2Version == 162 and indicatorOfParameter == 231:
return 'Covariance of v component/ozone'
if table2Version == 162 and indicatorOfParameter == 230:
return 'Covariance of u component/ozone'
if table2Version == 162 and indicatorOfParameter == 229:
return 'Variance of relative humidity'
if table2Version == 162 and indicatorOfParameter == 227:
return 'Variance of surface pressure'
if table2Version == 162 and indicatorOfParameter == 226:
return 'Variance of omega'
if table2Version == 162 and indicatorOfParameter == 225:
return 'Covariance of omega/v component'
if table2Version == 162 and indicatorOfParameter == 224:
return 'Covariance of omega/u component'
if table2Version == 162 and indicatorOfParameter == 223:
return 'Covariance of omega/specific humidity'
if table2Version == 162 and indicatorOfParameter == 222:
return 'Covariance of omega/temperature'
if table2Version == 162 and indicatorOfParameter == 221:
return 'Covariance of omega/geopotential'
if table2Version == 162 and indicatorOfParameter == 220:
return 'Variance of v component'
if table2Version == 162 and indicatorOfParameter == 219:
return 'Covariance of v component/u component'
if table2Version == 162 and indicatorOfParameter == 218:
return 'Covariance of v component/specific humidity'
if table2Version == 162 and indicatorOfParameter == 217:
return 'Covariance of v component/temperature'
if table2Version == 162 and indicatorOfParameter == 216:
return 'Covariance of v component/geopotential'
if table2Version == 162 and indicatorOfParameter == 215:
return 'Variance of u component'
if table2Version == 162 and indicatorOfParameter == 214:
return 'Covariance of u component/specific humidity'
if table2Version == 162 and indicatorOfParameter == 213:
return 'Covariance of u component/temperature'
if table2Version == 162 and indicatorOfParameter == 212:
return 'Covariance of u component/geopotential'
if table2Version == 162 and indicatorOfParameter == 211:
return 'Variance of specific humidity'
if table2Version == 162 and indicatorOfParameter == 210:
return 'Covariance of temperature/specific humidity'
if table2Version == 162 and indicatorOfParameter == 209:
return 'Covariance of geopotential/specific humidity'
if table2Version == 162 and indicatorOfParameter == 208:
return 'Variance of temperature'
if table2Version == 162 and indicatorOfParameter == 207:
return 'Covariance of geopotential/temperature'
if table2Version == 162 and indicatorOfParameter == 206:
return 'Variance of geopotential'
if table2Version == 162 and indicatorOfParameter == 113:
return 'Tendency of v component due to physics'
if table2Version == 162 and indicatorOfParameter == 112:
return 'Tendency of u component due to physics'
if table2Version == 162 and indicatorOfParameter == 111:
return 'Tendency of specific humidity due to physics'
if table2Version == 162 and indicatorOfParameter == 110:
return 'Tendency of temperature due to physics'
if table2Version == 162 and indicatorOfParameter == 109:
return 'Turbulent diffusion coefficient for heat'
if table2Version == 162 and indicatorOfParameter == 108:
return 'Total precipitation flux'
if table2Version == 162 and indicatorOfParameter == 107:
return 'Downdraught detrainment rate'
if table2Version == 162 and indicatorOfParameter == 106:
return 'Updraught detrainment rate'
if table2Version == 162 and indicatorOfParameter == 105:
return 'Downdraught mass flux'
if table2Version == 162 and indicatorOfParameter == 104:
return 'Updraught mass flux'
if table2Version == 162 and indicatorOfParameter == 103:
return 'Tendency of clear sky long wave radiation'
if table2Version == 162 and indicatorOfParameter == 102:
return 'Tendency of clear sky short wave radiation'
if table2Version == 162 and indicatorOfParameter == 101:
return 'Tendency of long wave radiation'
if table2Version == 162 and indicatorOfParameter == 100:
return 'Tendency of short wave radiation'
if table2Version == 162 and indicatorOfParameter == 87:
return 'Vertical integral of divergence of ozone flux'
if table2Version == 162 and indicatorOfParameter == 86:
return 'Vertical integral of divergence of total energy flux'
if table2Version == 162 and indicatorOfParameter == 85:
return 'Vertical integral of divergence of geopotential flux'
if table2Version == 162 and indicatorOfParameter == 84:
return 'Vertical integral of divergence of moisture flux'
if table2Version == 162 and indicatorOfParameter == 83:
return 'Vertical integral of divergence of thermal energy flux'
if table2Version == 162 and indicatorOfParameter == 82:
return 'Vertical integral of divergence of kinetic energy flux'
if table2Version == 162 and indicatorOfParameter == 81:
return 'Vertical integral of divergence of mass flux'
if table2Version == 162 and indicatorOfParameter == 78:
return 'Vertical integral of northward ozone flux'
if table2Version == 162 and indicatorOfParameter == 77:
return 'Vertical integral of eastward ozone flux'
if table2Version == 162 and indicatorOfParameter == 76:
return 'Vertical integral of northward total energy flux'
if table2Version == 162 and indicatorOfParameter == 75:
return 'Vertical integral of eastward total energy flux'
if table2Version == 162 and indicatorOfParameter == 74:
return 'Vertical integral of northward geopotential flux'
if table2Version == 162 and indicatorOfParameter == 73:
return 'Vertical integral of eastward geopotential flux'
if table2Version == 162 and indicatorOfParameter == 72:
return 'Vertical integral of northward water vapour flux'
if table2Version == 162 and indicatorOfParameter == 71:
return 'Vertical integral of eastward water vapour flux'
if table2Version == 162 and indicatorOfParameter == 70:
return 'Vertical integral of northward heat flux'
if table2Version == 162 and indicatorOfParameter == 69:
return 'Vertical integral of eastward heat flux'
if table2Version == 162 and indicatorOfParameter == 68:
return 'Vertical integral of northward kinetic energy flux'
if table2Version == 162 and indicatorOfParameter == 67:
return 'Vertical integral of eastward kinetic energy flux'
if table2Version == 162 and indicatorOfParameter == 66:
return 'Vertical integral of northward mass flux'
if table2Version == 162 and indicatorOfParameter == 65:
return 'Vertical integral of eastward mass flux'
if table2Version == 162 and indicatorOfParameter == 64:
return 'Vertical integral of energy conversion'
if table2Version == 162 and indicatorOfParameter == 63:
return 'Vertical integral of total energy'
if table2Version == 162 and indicatorOfParameter == 62:
return 'Vertical integral of potential+internal+latent energy'
if table2Version == 162 and indicatorOfParameter == 61:
return 'Vertical integral of potential+internal energy'
if table2Version == 162 and indicatorOfParameter == 60:
return 'Vertical integral of thermal energy'
if table2Version == 162 and indicatorOfParameter == 59:
return 'Vertical integral of kinetic energy'
if table2Version == 162 and indicatorOfParameter == 58:
return 'Vertical integral of ozone'
if table2Version == 162 and indicatorOfParameter == 57:
return 'Vertical integral of cloud frozen water'
if table2Version == 162 and indicatorOfParameter == 56:
return 'Vertical integral of cloud liquid water'
if table2Version == 162 and indicatorOfParameter == 55:
return 'Vertical integral of water vapour'
if table2Version == 162 and indicatorOfParameter == 54:
return 'Vertical integral of temperature'
if table2Version == 162 and indicatorOfParameter == 53:
return 'Vertical integral of mass of atmosphere'
if table2Version == 162 and indicatorOfParameter == 51:
return 'Surface geopotential'
if table2Version == 160 and indicatorOfParameter == 254:
return 'Heaviside beta function'
if table2Version == 160 and indicatorOfParameter == 249:
return 'Gravity wave dissipation flux'
if table2Version == 160 and indicatorOfParameter == 247:
return 'Momentum flux'
if table2Version == 160 and indicatorOfParameter == 246:
return '10 metre wind speed'
if table2Version == 160 and indicatorOfParameter == 243:
return 'Forecast albedo'
if table2Version == 160 and indicatorOfParameter == 242:
return 'Cloud cover'
if table2Version == 160 and indicatorOfParameter == 241:
return 'Cloud liquid water content'
if table2Version == 160 and indicatorOfParameter == 240:
return 'Large scale snowfall'
if table2Version == 160 and indicatorOfParameter == 239:
return 'Convective snowfall'
if table2Version == 160 and indicatorOfParameter == 231:
return 'Instantaneous surface heat flux'
if table2Version == 160 and indicatorOfParameter == 226:
return 'Standard deviation of vertical velocity'
if table2Version == 160 and indicatorOfParameter == 225:
return 'Covariance of W component and V component'
if table2Version == 160 and indicatorOfParameter == 224:
return 'Covariance of W component and U component'
if table2Version == 160 and indicatorOfParameter == 223:
return 'Covariance of W component and specific humidity'
if table2Version == 160 and indicatorOfParameter == 222:
return 'Covariance of W component and temperature'
if table2Version == 160 and indicatorOfParameter == 221:
return 'Covariance of W component and geopotential'
if table2Version == 160 and indicatorOfParameter == 220:
return 'Standard deviation of V component'
if table2Version == 160 and indicatorOfParameter == 219:
return 'Covariance of V component and U component'
if table2Version == 160 and indicatorOfParameter == 218:
return 'Covariance of V component and specific humidity'
if table2Version == 160 and indicatorOfParameter == 217:
return 'Covariance of V component and temperature'
if table2Version == 160 and indicatorOfParameter == 216:
return 'Covariance of V component and geopotential'
if table2Version == 160 and indicatorOfParameter == 215:
return 'Standard deviation of U velocity'
if table2Version == 160 and indicatorOfParameter == 214:
return 'Covariance of U component and specific humidity'
if table2Version == 160 and indicatorOfParameter == 213:
return 'Covariance of U component and temperature'
if table2Version == 160 and indicatorOfParameter == 212:
return 'Covariance of U component and geopotential'
if table2Version == 160 and indicatorOfParameter == 211:
return 'Standard deviation of specific humidity'
if table2Version == 160 and indicatorOfParameter == 210:
return 'Covariance of specific humidity and temperature'
if table2Version == 160 and indicatorOfParameter == 209:
return 'Covariance of specific humidity and geopotential'
if table2Version == 160 and indicatorOfParameter == 208:
return 'Standard deviation of temperature'
if table2Version == 160 and indicatorOfParameter == 207:
return 'Covariance of temperature and geopotential'
if table2Version == 160 and indicatorOfParameter == 206:
return 'Standard deviation of geopotential'
if table2Version == 160 and indicatorOfParameter == 205:
return 'Runoff'
if table2Version == 160 and indicatorOfParameter == 202:
return 'Minimum temperature at 2 metres during averaging time'
if table2Version == 160 and indicatorOfParameter == 201:
return 'Maximum temperature at 2 metres during averaging time'
if table2Version == 160 and indicatorOfParameter == 199:
return 'Percentage of vegetation'
if table2Version == 160 and indicatorOfParameter == 198:
return 'Skin reservoir content'
if table2Version == 160 and indicatorOfParameter == 184:
return 'Soil wetness level 3'
if table2Version == 160 and indicatorOfParameter == 182:
return 'Evaporation'
if table2Version == 160 and indicatorOfParameter == 181:
return 'North-South surface stress'
if table2Version == 160 and indicatorOfParameter == 180:
return 'East-West surface stress'
if table2Version == 160 and indicatorOfParameter == 171:
return 'Soil wetness level 2'
if table2Version == 160 and indicatorOfParameter == 157:
return 'Relative humidity'
if table2Version == 160 and indicatorOfParameter == 156:
return 'Height'
if table2Version == 160 and indicatorOfParameter == 144:
return 'Snowfall'
if table2Version == 160 and indicatorOfParameter == 143:
return 'Convective precipitation'
if table2Version == 160 and indicatorOfParameter == 142:
return 'Large-scale precipitation'
if table2Version == 160 and indicatorOfParameter == 141:
return 'Snow depth'
if table2Version == 160 and indicatorOfParameter == 140:
return 'Soil wetness level 1'
if table2Version == 160 and indicatorOfParameter == 137:
return 'Precipitable water content'
if table2Version == 160 and indicatorOfParameter == 135:
return 'vertical velocity (pressure)'
if table2Version == 160 and indicatorOfParameter == 49:
return '10 metre wind gust during averaging time'
if table2Version == 151 and indicatorOfParameter == 255:
return 'Indicates a missing value'
if table2Version == 151 and indicatorOfParameter == 212:
return 'Bias in salinity (applied)'
if table2Version == 151 and indicatorOfParameter == 211:
return 'Bias in temperature(applied)'
if table2Version == 151 and indicatorOfParameter == 210:
return 'FG bias in pressure'
if table2Version == 151 and indicatorOfParameter == 209:
return 'Applied bias in pressure'
if table2Version == 151 and indicatorOfParameter == 208:
return 'First guess bias in salinity'
if table2Version == 151 and indicatorOfParameter == 207:
return 'First guess bias in temperature'
if table2Version == 151 and indicatorOfParameter == 206:
return 'Estimated salinity bias from relaxation'
if table2Version == 151 and indicatorOfParameter == 205:
return 'Estimated temperature bias from relaxation'
if table2Version == 151 and indicatorOfParameter == 204:
return 'Bias in the meridional pressure gradient (applied)'
if table2Version == 151 and indicatorOfParameter == 203:
return 'Bias in the zonal pressure gradient (applied)'
if table2Version == 151 and indicatorOfParameter == 202:
return 'Salinity increment from relaxation term'
if table2Version == 151 and indicatorOfParameter == 201:
return 'Temperature increment from relaxation term'
if table2Version == 151 and indicatorOfParameter == 200:
return 'Estimated salinity bias from assimilation'
if table2Version == 151 and indicatorOfParameter == 199:
return 'Estimated temperature bias from assimilation'
if table2Version == 151 and indicatorOfParameter == 194:
return 'Salinity background error'
if table2Version == 151 and indicatorOfParameter == 192:
return 'Background Salinity'
if table2Version == 151 and indicatorOfParameter == 191:
return 'Salinity analysis error'
if table2Version == 151 and indicatorOfParameter == 190:
return 'Salinity increment (from salinity data)'
if table2Version == 151 and indicatorOfParameter == 188:
return 'Meridional Velocity increment (from balance operator)'
if table2Version == 151 and indicatorOfParameter == 187:
return 'Zonal Velocity increment (from balance operator)'
if table2Version == 151 and indicatorOfParameter == 186:
return 'Estimated Bias in Salinity'
if table2Version == 151 and indicatorOfParameter == 185:
return 'Estimated Bias in Temperature'
if table2Version == 151 and indicatorOfParameter == 184:
return 'Salinity increment'
if table2Version == 151 and indicatorOfParameter == 183:
return 'Analysed salinity'
if table2Version == 151 and indicatorOfParameter == 182:
return 'Potential temperature background error'
if table2Version == 151 and indicatorOfParameter == 181:
return 'Analysed potential temperature'
if table2Version == 151 and indicatorOfParameter == 180:
return 'Background potential temperature'
if table2Version == 151 and indicatorOfParameter == 179:
return 'Potential temperature analysis error'
if table2Version == 151 and indicatorOfParameter == 178:
return 'Potential temperature increment'
if table2Version == 151 and indicatorOfParameter == 177:
return 'Layer Thickness at vector points'
if table2Version == 151 and indicatorOfParameter == 176:
return 'Layer Thickness at scalar points'
if table2Version == 151 and indicatorOfParameter == 175:
return 'Average salinity in the upper 300m'
if table2Version == 151 and indicatorOfParameter == 174:
return 'Depth of salinity maximum'
if table2Version == 151 and indicatorOfParameter == 173:
return 'Salinity maximum'
if table2Version == 151 and indicatorOfParameter == 172:
return 'Depth of the velocity maximum'
if table2Version == 151 and indicatorOfParameter == 171:
return 'U velocity maximum'
if table2Version == 151 and indicatorOfParameter == 170:
return 'Vertically integrated meridional heat transport'
if table2Version == 151 and indicatorOfParameter == 169:
return 'Vertically integrated zonal heat transport'
if table2Version == 151 and indicatorOfParameter == 168:
return 'Vertically integrated meridional volume transport'
if table2Version == 151 and indicatorOfParameter == 167:
return 'Vertically integrated zonal volume transport'
if table2Version == 151 and indicatorOfParameter == 166:
return 'Vertically Integrated meridional velocity (previous time step)'
if table2Version == 151 and indicatorOfParameter == 165:
return 'Vertically integrated zonal velocity (previous time step)'
if table2Version == 151 and indicatorOfParameter == 164:
return 'Average potential temperature in the upper 300m'
if table2Version == 151 and indicatorOfParameter == 163:
return 'Depth of 20C isotherm'
if table2Version == 151 and indicatorOfParameter == 162:
return 'Heat flux correction'
if table2Version == 151 and indicatorOfParameter == 161:
return 'Diagnosed sea surface temperature error'
if table2Version == 151 and indicatorOfParameter == 160:
return 'Specified surface heat flux'
if table2Version == 151 and indicatorOfParameter == 159:
return 'Specified sea surface temperature'
if table2Version == 151 and indicatorOfParameter == 158:
return 'Precipitation - evaporation'
if table2Version == 151 and indicatorOfParameter == 157:
return 'Absorbed solar radiation'
if table2Version == 151 and indicatorOfParameter == 156:
return 'Net surface heat flux'
if table2Version == 151 and indicatorOfParameter == 155:
return 'Turbulent kinetic energy input'
if table2Version == 151 and indicatorOfParameter == 154:
return 'Surface downward northward stress'
if table2Version == 151 and indicatorOfParameter == 153:
return 'Surface downward eastward stress'
if table2Version == 151 and indicatorOfParameter == 152:
return 'Divergence of wind stress'
if table2Version == 151 and indicatorOfParameter == 151:
return 'Curl of Wind Stress'
if table2Version == 151 and indicatorOfParameter == 150:
return 'Steric height'
if table2Version == 151 and indicatorOfParameter == 149:
return 'Bottom Pressure (equivalent height)'
if table2Version == 151 and indicatorOfParameter == 148:
return 'Mixed layer depth'
if table2Version == 151 and indicatorOfParameter == 147:
return 'Ocean barotropic stream function'
if table2Version == 151 and indicatorOfParameter == 146:
return 'Sea level previous timestep'
if table2Version == 151 and indicatorOfParameter == 145:
return 'Sea surface height'
if table2Version == 151 and indicatorOfParameter == 144:
return 'VV product'
if table2Version == 151 and indicatorOfParameter == 143:
return 'UU product'
if table2Version == 151 and indicatorOfParameter == 142:
return 'VT product'
if table2Version == 151 and indicatorOfParameter == 141:
return 'UT product'
if table2Version == 151 and indicatorOfParameter == 140:
return 'UV product'
if table2Version == 151 and indicatorOfParameter == 139:
return 'Richardson number'
if table2Version == 151 and indicatorOfParameter == 138:
return 'Sea water sigma theta'
if table2Version == 151 and indicatorOfParameter == 137:
return 'Bottom level Depth'
if table2Version == 151 and indicatorOfParameter == 136:
return 'Vertical diffusivity'
if table2Version == 151 and indicatorOfParameter == 135:
return 'Vertical viscosity'
if table2Version == 151 and indicatorOfParameter == 134:
return 'Modulus of strain rate tensor'
if table2Version == 151 and indicatorOfParameter == 133:
return 'Upward sea water velocity'
if table2Version == 151 and indicatorOfParameter == 132:
return 'Northward sea water velocity'
if table2Version == 151 and indicatorOfParameter == 131:
return 'Eastward sea water velocity'
if table2Version == 151 and indicatorOfParameter == 130:
return 'Sea water practical salinity'
if table2Version == 151 and indicatorOfParameter == 129:
return 'Sea water potential temperature'
if table2Version == 151 and indicatorOfParameter == 128:
return 'In situ Temperature'
if table2Version == 150 and indicatorOfParameter == 255:
return 'Indicates a missing value'
if table2Version == 150 and indicatorOfParameter == 183:
return 'Observed heat flux'
if table2Version == 150 and indicatorOfParameter == 182:
return 'Observed sea surface temperature'
if table2Version == 150 and indicatorOfParameter == 181:
return 'Heat flux correction'
if table2Version == 150 and indicatorOfParameter == 180:
return 'Diagnosed sea surface temperature error'
if table2Version == 150 and indicatorOfParameter == 173:
return 'P-E'
if table2Version == 150 and indicatorOfParameter == 172:
return 'Surface solar radiation'
if table2Version == 150 and indicatorOfParameter == 171:
return 'Net surface heat flux'
if table2Version == 150 and indicatorOfParameter == 170:
return 'Turbulent kinetic energy input'
if table2Version == 150 and indicatorOfParameter == 169:
return 'V stress'
if table2Version == 150 and indicatorOfParameter == 168:
return 'U stress'
if table2Version == 150 and indicatorOfParameter == 155:
return 'Depth'
if table2Version == 150 and indicatorOfParameter == 154:
return 'Mixed layer depth'
if table2Version == 150 and indicatorOfParameter == 153:
return 'Barotropic stream function'
if table2Version == 150 and indicatorOfParameter == 152:
return 'Sea level'
if table2Version == 150 and indicatorOfParameter == 148:
return 'VV - V~V~'
if table2Version == 150 and indicatorOfParameter == 147:
return 'UU - U~U~'
if table2Version == 150 and indicatorOfParameter == 146:
return 'VT - V~T~'
if table2Version == 150 and indicatorOfParameter == 145:
return 'UT - U~T~'
if table2Version == 150 and indicatorOfParameter == 144:
return 'UV - U~V~'
if table2Version == 150 and indicatorOfParameter == 143:
return 'V*V product'
if table2Version == 150 and indicatorOfParameter == 142:
return 'U*U product'
if table2Version == 150 and indicatorOfParameter == 141:
return 'V*T product'
if table2Version == 150 and indicatorOfParameter == 140:
return 'U*T product'
if table2Version == 150 and indicatorOfParameter == 139:
return 'U*V product'
if table2Version == 150 and indicatorOfParameter == 137:
return 'Richardson number'
if table2Version == 150 and indicatorOfParameter == 135:
return 'Ocean W wind component'
if table2Version == 150 and indicatorOfParameter == 134:
return 'Ocean V wind component'
if table2Version == 150 and indicatorOfParameter == 133:
return 'Ocean U wind component'
if table2Version == 150 and indicatorOfParameter == 131:
return 'Ocean potential density'
if table2Version == 150 and indicatorOfParameter == 130:
return 'Ocean salinity'
if table2Version == 150 and indicatorOfParameter == 129:
return 'Ocean potential temperature'
if table2Version == 140 and indicatorOfParameter == 255:
return 'Indicates a missing value'
if table2Version == 140 and indicatorOfParameter == 254:
return 'Wave spectral peakedness'
if table2Version == 140 and indicatorOfParameter == 253:
return 'Benjamin-Feir index'
if table2Version == 140 and indicatorOfParameter == 252:
return 'Wave spectral kurtosis'
if table2Version == 140 and indicatorOfParameter == 251:
return '2D wave spectra (single)'
if table2Version == 140 and indicatorOfParameter == 250:
return '2D wave spectra (multiple)'
if table2Version == 140 and indicatorOfParameter == 249:
return '10 metre wind direction'
if table2Version == 140 and indicatorOfParameter == 248:
return 'Altimeter range relative correction'
if table2Version == 140 and indicatorOfParameter == 247:
return 'Altimeter corrected wave height'
if table2Version == 140 and indicatorOfParameter == 246:
return 'Altimeter wave height'
if table2Version == 140 and indicatorOfParameter == 245:
return '10 metre wind speed'
if table2Version == 140 and indicatorOfParameter == 244:
return 'Mean square slope of waves'
if table2Version == 140 and indicatorOfParameter == 243:
return 'Standard deviation of 10 metre wind speed'
if table2Version == 140 and indicatorOfParameter == 242:
return 'Mean wind direction'
if table2Version == 140 and indicatorOfParameter == 241:
return 'Mean of 10 metre wind speed'
if table2Version == 140 and indicatorOfParameter == 240:
return 'Standard deviation wave height'
if table2Version == 140 and indicatorOfParameter == 239:
return 'Mean period of total swell'
if table2Version == 140 and indicatorOfParameter == 238:
return 'Mean direction of total swell'
if table2Version == 140 and indicatorOfParameter == 237:
return 'Significant height of total swell'
if table2Version == 140 and indicatorOfParameter == 236:
return 'Mean period of wind waves'
if table2Version == 140 and indicatorOfParameter == 235:
return 'Mean direction of wind waves'
if table2Version == 140 and indicatorOfParameter == 234:
return 'Significant height of wind waves'
if table2Version == 140 and indicatorOfParameter == 233:
return 'Coefficient of drag with waves'
if table2Version == 140 and indicatorOfParameter == 232:
return 'Mean wave period'
if table2Version == 140 and indicatorOfParameter == 231:
return 'Peak wave period'
if table2Version == 140 and indicatorOfParameter == 230:
return 'Mean wave direction'
if table2Version == 140 and indicatorOfParameter == 229:
return 'Significant height of combined wind waves and swell'
if table2Version == 140 and indicatorOfParameter == 228:
return 'Wave spectral directional width for swell'
if table2Version == 140 and indicatorOfParameter == 227:
return 'Mean wave period based on second moment for swell'
if table2Version == 140 and indicatorOfParameter == 226:
return 'Mean wave period based on first moment for swell'
if table2Version == 140 and indicatorOfParameter == 225:
return 'Wave spectral directional width for wind waves'
if table2Version == 140 and indicatorOfParameter == 224:
return 'Mean wave period based on second moment for wind waves'
if table2Version == 140 and indicatorOfParameter == 223:
return 'Mean wave period based on first moment for wind waves'
if table2Version == 140 and indicatorOfParameter == 222:
return 'Wave spectral directional width'
if table2Version == 140 and indicatorOfParameter == 221:
return 'Mean zero-crossing wave period'
if table2Version == 140 and indicatorOfParameter == 220:
return 'Mean wave period based on first moment'
if table2Version == 140 and indicatorOfParameter == 219:
return 'Model bathymetry'
if table2Version == 140 and indicatorOfParameter == 218:
return 'Maximum individual wave height'
if table2Version == 140 and indicatorOfParameter == 217:
return 'Period corresponding to maximum individual wave height'
if table2Version == 140 and indicatorOfParameter == 200:
return 'Maximum of significant wave height'
if table2Version == 133 and indicatorOfParameter == 92:
return 'Low Cloud Cover probability greater than 99%'
if table2Version == 133 and indicatorOfParameter == 91:
return 'Low Cloud Cover probability greater than 90%'
if table2Version == 133 and indicatorOfParameter == 90:
return 'Low Cloud Cover probability greater than 80%'
if table2Version == 133 and indicatorOfParameter == 89:
return 'Low Cloud Cover probability greater than 70%'
if table2Version == 133 and indicatorOfParameter == 88:
return 'Low Cloud Cover probability greater than 60%'
if table2Version == 133 and indicatorOfParameter == 87:
return 'Low Cloud Cover probability greater than 50%'
if table2Version == 133 and indicatorOfParameter == 86:
return 'Low Cloud Cover probability greater than 40%'
if table2Version == 133 and indicatorOfParameter == 85:
return 'Low Cloud Cover probability greater than 30%'
if table2Version == 133 and indicatorOfParameter == 84:
return 'Low Cloud Cover probability greater than 20%'
if table2Version == 133 and indicatorOfParameter == 83:
return 'Low Cloud Cover probability greater than 10%'
if table2Version == 133 and indicatorOfParameter == 82:
return 'Medium Cloud Cover probability greater than 99%'
if table2Version == 133 and indicatorOfParameter == 81:
return 'Medium Cloud Cover probability greater than 90%'
if table2Version == 133 and indicatorOfParameter == 80:
return 'Medium Cloud Cover probability greater than 80%'
if table2Version == 133 and indicatorOfParameter == 79:
return 'Medium Cloud Cover probability greater than 70%'
if table2Version == 133 and indicatorOfParameter == 78:
return 'Medium Cloud Cover probability greater than 60%'
if table2Version == 133 and indicatorOfParameter == 77:
return 'Medium Cloud Cover probability greater than 50%'
if table2Version == 133 and indicatorOfParameter == 76:
return 'Medium Cloud Cover probability greater than 40%'
if table2Version == 133 and indicatorOfParameter == 75:
return 'Medium Cloud Cover probability greater than 30%'
if table2Version == 133 and indicatorOfParameter == 74:
return 'Medium Cloud Cover probability greater than 20%'
if table2Version == 133 and indicatorOfParameter == 73:
return 'Medium Cloud Cover probability greater than 10%'
if table2Version == 133 and indicatorOfParameter == 72:
return 'High Cloud Cover probability greater than 99%'
if table2Version == 133 and indicatorOfParameter == 71:
return 'High Cloud Cover probability greater than 90%'
if table2Version == 133 and indicatorOfParameter == 70:
return 'High Cloud Cover probability greater than 80%'
if table2Version == 133 and indicatorOfParameter == 69:
return 'High Cloud Cover probability greater than 70%'
if table2Version == 133 and indicatorOfParameter == 68:
return 'High Cloud Cover probability greater than 60%'
if table2Version == 133 and indicatorOfParameter == 67:
return 'High Cloud Cover probability greater than 50%'
if table2Version == 133 and indicatorOfParameter == 66:
return 'High Cloud Cover probability greater than 40%'
if table2Version == 133 and indicatorOfParameter == 65:
return 'High Cloud Cover probability greater than 30%'
if table2Version == 133 and indicatorOfParameter == 64:
return 'High Cloud Cover probability greater than 20%'
if table2Version == 133 and indicatorOfParameter == 63:
return 'High Cloud Cover probability greater than 10%'
if table2Version == 133 and indicatorOfParameter == 62:
return 'Total Cloud Cover probability greater than 99%'
if table2Version == 133 and indicatorOfParameter == 61:
return 'Total Cloud Cover probability greater than 90%'
if table2Version == 133 and indicatorOfParameter == 60:
return 'Total Cloud Cover probability greater than 80%'
if table2Version == 133 and indicatorOfParameter == 59:
return 'Total Cloud Cover probability greater than 70%'
if table2Version == 133 and indicatorOfParameter == 58:
return 'Total Cloud Cover probability greater than 60%'
if table2Version == 133 and indicatorOfParameter == 57:
return 'Total Cloud Cover probability greater than 50%'
if table2Version == 133 and indicatorOfParameter == 56:
return 'Total Cloud Cover probability greater than 40%'
if table2Version == 133 and indicatorOfParameter == 55:
return 'Total Cloud Cover probability greater than 30%'
if table2Version == 133 and indicatorOfParameter == 54:
return 'Total Cloud Cover probability greater than 20%'
if table2Version == 133 and indicatorOfParameter == 53:
return 'Total Cloud Cover probability greater than 10%'
if table2Version == 133 and indicatorOfParameter == 52:
return 'Snowfall probability of at least 300 mm'
if table2Version == 133 and indicatorOfParameter == 51:
return 'Snowfall probability of at least 200 mm'
if table2Version == 133 and indicatorOfParameter == 50:
return 'Snowfall probability of at least 150 mm'
if table2Version == 133 and indicatorOfParameter == 49:
return 'Snowfall probability of at least 100 mm'
if table2Version == 133 and indicatorOfParameter == 48:
return 'Snowfall probability of at least 80 mm'
if table2Version == 133 and indicatorOfParameter == 47:
return 'Snowfall probability of at least 60 mm'
if table2Version == 133 and indicatorOfParameter == 46:
return 'Snowfall probability of at least 40 mm'
if table2Version == 133 and indicatorOfParameter == 45:
return 'Snowfall probability of at least 20 mm'
if table2Version == 133 and indicatorOfParameter == 44:
return 'Snowfall probability of at least 10 mm'
if table2Version == 133 and indicatorOfParameter == 43:
return 'Snowfall probability of at least 5 mm'
if table2Version == 133 and indicatorOfParameter == 42:
return 'Snowfall probability of at least 1 mm'
if table2Version == 133 and indicatorOfParameter == 41:
return 'Total precipitation probability of at least 300 mm'
if table2Version == 133 and indicatorOfParameter == 40:
return 'Total precipitation probability of at least 200 mm'
if table2Version == 133 and indicatorOfParameter == 39:
return 'Total precipitation probability of at least 150 mm'
if table2Version == 133 and indicatorOfParameter == 38:
return 'Total precipitation probability of at least 100 mm'
if table2Version == 133 and indicatorOfParameter == 37:
return 'Total precipitation probability of at least 80 mm'
if table2Version == 133 and indicatorOfParameter == 36:
return 'Total precipitation probability of at least 60 mm'
if table2Version == 133 and indicatorOfParameter == 35:
return 'Total precipitation probability of at least 40 mm'
if table2Version == 133 and indicatorOfParameter == 34:
return 'Total precipitation probability of at least 20 mm'
if table2Version == 133 and indicatorOfParameter == 33:
return 'Total precipitation probability of at least 10 mm'
if table2Version == 133 and indicatorOfParameter == 32:
return 'Total precipitation probability of at least 5 mm'
if table2Version == 133 and indicatorOfParameter == 31:
return 'Total precipitation probability of at least 1 mm'
if table2Version == 133 and indicatorOfParameter == 30:
return '10 metre wind gust probability of at least 100 m/s'
if table2Version == 133 and indicatorOfParameter == 29:
return '10 metre wind gust probability of at least 75 m/s'
if table2Version == 133 and indicatorOfParameter == 28:
return '10 metre wind gust probability of at least 50 m/s'
if table2Version == 133 and indicatorOfParameter == 27:
return '10 metre wind gust probability of at least 35 m/s'
if table2Version == 133 and indicatorOfParameter == 26:
return '10 metre wind gust probability of at least 20 m/s'
if table2Version == 133 and indicatorOfParameter == 25:
return '10 metre wind speed probability of at least 50 m/s'
if table2Version == 133 and indicatorOfParameter == 24:
return '10 metre wind speed probability of at least 35 m/s'
if table2Version == 133 and indicatorOfParameter == 23:
return '10 metre wind speed probability of at least 20 m/s'
if table2Version == 133 and indicatorOfParameter == 22:
return '10 metre wind speed probability of at least 15 m/s'
if table2Version == 133 and indicatorOfParameter == 21:
return '10 metre wind speed probability of at least 10 m/s'
if table2Version == 133 and indicatorOfParameter == 20:
return 'Maximum 2 metre temperature probability greater than 45 C'
if table2Version == 133 and indicatorOfParameter == 19:
return 'Maximum 2 metre temperature probability greater than 40 C'
if table2Version == 133 and indicatorOfParameter == 18:
return 'Maximum 2 metre temperature probability greater than 35 C'
if table2Version == 133 and indicatorOfParameter == 17:
return 'Maximum 2 metre temperature probability greater than 30 C'
if table2Version == 133 and indicatorOfParameter == 16:
return 'Maximum 2 metre temperature probability greater than 25 C'
if table2Version == 133 and indicatorOfParameter == 15:
return 'Minimum 2 metre temperature probability less than 10 C'
if table2Version == 133 and indicatorOfParameter == 14:
return 'Minimum 2 metre temperature probability less than 5 C'
if table2Version == 133 and indicatorOfParameter == 13:
return 'Minimum 2 metre temperature probability less than 0 C'
if table2Version == 133 and indicatorOfParameter == 12:
return 'Minimum 2 metre temperature probability less than -5 C'
if table2Version == 133 and indicatorOfParameter == 11:
return 'Minimum 2 metre temperature probability less than -10 C'
if table2Version == 133 and indicatorOfParameter == 10:
return '2m temperature probability greater than 45 C'
if table2Version == 133 and indicatorOfParameter == 9:
return '2m temperature probability greater than 40 C'
if table2Version == 133 and indicatorOfParameter == 8:
return '2m temperature probability greater than 35 C'
if table2Version == 133 and indicatorOfParameter == 7:
return '2m temperature probability greater than 30 C'
if table2Version == 133 and indicatorOfParameter == 6:
return '2m temperature probability greater than 25 C'
if table2Version == 133 and indicatorOfParameter == 5:
return '2m temperature probability less than 10 C'
if table2Version == 133 and indicatorOfParameter == 4:
return '2m temperature probability less than 5 C'
if table2Version == 133 and indicatorOfParameter == 3:
return '2m temperature probability less than 0 C'
if table2Version == 133 and indicatorOfParameter == 2:
return '2m temperature probability less than -5 C'
if table2Version == 133 and indicatorOfParameter == 1:
return '2m temperature probability less than -10 C'
if table2Version == 132 and indicatorOfParameter == 228:
return 'Total precipitation index'
if table2Version == 132 and indicatorOfParameter == 202:
return 'Minimum temperature at 2 metres index'
if table2Version == 132 and indicatorOfParameter == 201:
return 'Maximum temperature at 2 metres index'
if table2Version == 132 and indicatorOfParameter == 167:
return '2 metre temperature index'
if table2Version == 132 and indicatorOfParameter == 165:
return '10 metre speed index'
if table2Version == 132 and indicatorOfParameter == 144:
return 'Snowfall index'
if table2Version == 132 and indicatorOfParameter == 49:
return '10 metre wind gust index'
if table2Version == 131 and indicatorOfParameter == 255:
return 'Indicates a missing value'
if table2Version == 131 and indicatorOfParameter == 232:
return 'Mean wave period probability'
if table2Version == 131 and indicatorOfParameter == 229:
return 'Significant wave height probability'
if table2Version == 131 and indicatorOfParameter == 228:
return 'Total precipitation probability'
if table2Version == 131 and indicatorOfParameter == 202:
return 'Minimum 2 metre temperature probability'
if table2Version == 131 and indicatorOfParameter == 201:
return 'Maximum 2 metre temperature probability'
if table2Version == 131 and indicatorOfParameter == 167:
return '2 metre temperature probability'
if table2Version == 131 and indicatorOfParameter == 165:
return '10 metre speed probability'
if table2Version == 131 and indicatorOfParameter == 164:
return 'Total cloud cover probability'
if table2Version == 131 and indicatorOfParameter == 151:
return 'Mean sea level pressure probability'
if table2Version == 131 and indicatorOfParameter == 144:
return 'Snowfall (convective + stratiform) probability'
if table2Version == 131 and indicatorOfParameter == 139:
return 'Soil temperature level 1 probability'
if table2Version == 131 and indicatorOfParameter == 130:
return 'Temperature anomaly probability'
if table2Version == 131 and indicatorOfParameter == 129:
return 'Geopotential probability'
if table2Version == 131 and indicatorOfParameter == 81:
return 'Mean wave period of at least 15 s'
if table2Version == 131 and indicatorOfParameter == 80:
return 'Mean wave period of at least 12 s'
if table2Version == 131 and indicatorOfParameter == 79:
return 'Mean wave period of at least 10 s'
if table2Version == 131 and indicatorOfParameter == 78:
return 'Mean wave period of at least 8 s'
if table2Version == 131 and indicatorOfParameter == 77:
return 'Significant wave height of at least 8 m'
if table2Version == 131 and indicatorOfParameter == 76:
return 'Significant wave height of at least 6 m'
if table2Version == 131 and indicatorOfParameter == 75:
return 'Significant wave height of at least 4 m'
if table2Version == 131 and indicatorOfParameter == 74:
return 'Significant wave height of at least 2 m'
if table2Version == 131 and indicatorOfParameter == 73:
return '2 metre temperature less than 273.15 K'
if table2Version == 131 and indicatorOfParameter == 72:
return '10 metre wind gust of at least 25 m/s'
if table2Version == 131 and indicatorOfParameter == 71:
return '10 metre wind gust of at least 20 m/s'
if table2Version == 131 and indicatorOfParameter == 70:
return '10 metre wind gust of at least 15 m/s'
if table2Version == 131 and indicatorOfParameter == 69:
return '10 metre Wind speed of at least 15 m/s'
if table2Version == 131 and indicatorOfParameter == 68:
return '10 metre Wind speed of at least 10 m/s'
if table2Version == 131 and indicatorOfParameter == 67:
return 'Total precipitation rate of at least 5 mm/day'
if table2Version == 131 and indicatorOfParameter == 66:
return 'Total precipitation rate of at least 3 mm/day'
if table2Version == 131 and indicatorOfParameter == 65:
return 'Total precipitation rate less than 1 mm/day'
if table2Version == 131 and indicatorOfParameter == 64:
return 'Total precipitation less than 0.1 mm'
if table2Version == 131 and indicatorOfParameter == 59:
return 'Convective available potential energy probability'
if table2Version == 131 and indicatorOfParameter == 49:
return '10 metre wind gust probability'
if table2Version == 131 and indicatorOfParameter == 25:
return 'Temperature anomaly greater than +8 K'
if table2Version == 131 and indicatorOfParameter == 24:
return 'Temperature anomaly greater than +4 K'
if table2Version == 131 and indicatorOfParameter == 23:
return 'Temperature anomaly less than -4 K'
if table2Version == 131 and indicatorOfParameter == 22:
return 'Temperature anomaly less than -8 K'
if table2Version == 131 and indicatorOfParameter == 21:
return 'Temperature anomaly of at least +2 K'
if table2Version == 131 and indicatorOfParameter == 20:
return 'Temperature anomaly less than -2 K'
if table2Version == 131 and indicatorOfParameter == 18:
return 'Whiting index probability'
if table2Version == 131 and indicatorOfParameter == 17:
return 'Showalter index probability'
if table2Version == 131 and indicatorOfParameter == 16:
return 'Height of snowfall limit probability'
if table2Version == 131 and indicatorOfParameter == 15:
return 'Height of 0 degree isotherm probability'
if table2Version == 131 and indicatorOfParameter == 10:
return 'Mean sea level pressure anomaly of at least 0 Pa'
if table2Version == 131 and indicatorOfParameter == 9:
return 'Surface temperature anomaly of at least 0K'
if table2Version == 131 and indicatorOfParameter == 8:
return 'Total precipitation anomaly of at least 0 mm'
if table2Version == 131 and indicatorOfParameter == 7:
return 'Total precipitation anomaly of at least 10 mm'
if table2Version == 131 and indicatorOfParameter == 6:
return 'Total precipitation anomaly of at least 20 mm'
if table2Version == 131 and indicatorOfParameter == 5:
return '2m temperature anomaly of at most -2K'
if table2Version == 131 and indicatorOfParameter == 4:
return '2m temperature anomaly of at most -1K'
if table2Version == 131 and indicatorOfParameter == 3:
return '2m temperature anomaly of at least 0K'
if table2Version == 131 and indicatorOfParameter == 2:
return '2m temperature anomaly of at least +1K'
if table2Version == 131 and indicatorOfParameter == 1:
return '2m temperature anomaly of at least +2K'
if table2Version == 130 and indicatorOfParameter == 232:
return 'Mean vertical velocity'
if table2Version == 130 and indicatorOfParameter == 231:
return 'Adiabatic tendency of meridional wind'
if table2Version == 130 and indicatorOfParameter == 230:
return 'Adiabatic tendency of zonal wind'
if table2Version == 130 and indicatorOfParameter == 229:
return 'Adiabatic tendency of humidity'
if table2Version == 130 and indicatorOfParameter == 228:
return 'Adiabatic tendency of temperature'
if table2Version == 130 and indicatorOfParameter == 226:
return 'Humidity tendency by large-scale condensation'
if table2Version == 130 and indicatorOfParameter == 225:
return 'Humidity tendency by cumulus convection'
if table2Version == 130 and indicatorOfParameter == 224:
return 'Vertical diffusion of humidity'
if table2Version == 130 and indicatorOfParameter == 221:
return 'North-South gravity wave drag'
if table2Version == 130 and indicatorOfParameter == 220:
return 'East-West gravity wave drag'
if table2Version == 130 and indicatorOfParameter == 219:
return 'Vertical diffusion of meridional wind'
if table2Version == 130 and indicatorOfParameter == 218:
return 'Vertical diffusion of zonal wind'
if table2Version == 130 and indicatorOfParameter == 217:
return 'Diabatic heating by large-scale condensation'
if table2Version == 130 and indicatorOfParameter == 216:
return 'Diabatic heating by cumulus convection'
if table2Version == 130 and indicatorOfParameter == 215:
return 'Diabatic heating by vertical diffusion'
if table2Version == 130 and indicatorOfParameter == 214:
return 'Diabatic heating by radiation'
if table2Version == 130 and indicatorOfParameter == 213:
return 'Cloud fraction'
if table2Version == 130 and indicatorOfParameter == 212:
return 'Cloud liquid water'
if table2Version == 130 and indicatorOfParameter == 211:
return 'Top thermal radiation upward, clear sky'
if table2Version == 130 and indicatorOfParameter == 210:
return 'Top solar radiation upward, clear sky'
if table2Version == 130 and indicatorOfParameter == 209:
return 'Top thermal radiation upward'
if table2Version == 130 and indicatorOfParameter == 208:
return 'Top solar radiation upward'
if table2Version == 129 and indicatorOfParameter == 255:
return 'Indicates a missing value'
if table2Version == 129 and indicatorOfParameter == 254:
return 'Adiabatic tendency of meridional wind gradient'
if table2Version == 129 and indicatorOfParameter == 253:
return 'Adiabatic tendency of zonal wind gradient'
if table2Version == 129 and indicatorOfParameter == 252:
return 'Adiabatic tendency of humidity gradient'
if table2Version == 129 and indicatorOfParameter == 251:
return 'Adiabatic tendency of temperature gradient'
if table2Version == 129 and indicatorOfParameter == 250:
return 'Ice age gradient'
if table2Version == 129 and indicatorOfParameter == 249:
return 'Accumulated ice water tendency gradient'
if table2Version == 129 and indicatorOfParameter == 248:
return 'Cloud cover gradient'
if table2Version == 129 and indicatorOfParameter == 247:
return 'Specific cloud ice water content gradient'
if table2Version == 129 and indicatorOfParameter == 246:
return 'Specific cloud liquid water content gradient'
if table2Version == 129 and indicatorOfParameter == 245:
return 'Forecast logarithm of surface roughness for heat gradient'
if table2Version == 129 and indicatorOfParameter == 244:
return 'Forecast surface roughness gradient'
if table2Version == 129 and indicatorOfParameter == 243:
return 'Forecast albedo gradient'
if table2Version == 129 and indicatorOfParameter == 242:
return 'Accumulated liquid water tendency gradient'
if table2Version == 129 and indicatorOfParameter == 241:
return 'Accumulated cloud fraction tendency gradient'
if table2Version == 129 and indicatorOfParameter == 240:
return 'Large scale snowfall gradient'
if table2Version == 129 and indicatorOfParameter == 239:
return 'Convective snowfall gradient'
if table2Version == 129 and indicatorOfParameter == 238:
return 'Temperature of snow layer gradient'
if table2Version == 129 and indicatorOfParameter == 237:
return 'Soil wetness level 4 gradient'
if table2Version == 129 and indicatorOfParameter == 236:
return 'Soil temperature level 4 gradient'
if table2Version == 129 and indicatorOfParameter == 235:
return 'Skin temperature gradient'
if table2Version == 129 and indicatorOfParameter == 234:
return 'Logarithm of surface roughness length for heat gradient'
if table2Version == 129 and indicatorOfParameter == 233:
return 'Apparent surface humidity gradient'
if table2Version == 129 and indicatorOfParameter == 232:
return 'Instantaneous moisture flux gradient'
if table2Version == 129 and indicatorOfParameter == 231:
return 'Instantaneous surface heat flux gradient'
if table2Version == 129 and indicatorOfParameter == 230:
return 'Instantaneous Y surface stress gradient'
if table2Version == 129 and indicatorOfParameter == 229:
return 'Instantaneous X surface stress gradient'
if table2Version == 129 and indicatorOfParameter == 228:
return 'Total precipitation gradient'
if table2Version == 129 and indicatorOfParameter == 227:
return 'Change from removal of negative humidity gradient'
if table2Version == 129 and indicatorOfParameter == 226:
return 'Humidity tendency by large-scale condensation gradient'
if table2Version == 129 and indicatorOfParameter == 225:
return 'Humidity tendency by cumulus convection gradient'
if table2Version == 129 and indicatorOfParameter == 224:
return 'Vertical diffusion of humidity gradient'
if table2Version == 129 and indicatorOfParameter == 223:
return 'Convective tendency of meridional wind gradient'
if table2Version == 129 and indicatorOfParameter == 222:
return 'Convective tendency of zonal wind gradient'
if table2Version == 129 and indicatorOfParameter == 221:
return 'North-South gravity wave drag tendency gradient'
if table2Version == 129 and indicatorOfParameter == 220:
return 'East-West gravity wave drag tendency gradient'
if table2Version == 129 and indicatorOfParameter == 219:
return 'Vertical diffusion of meridional wind gradient'
if table2Version == 129 and indicatorOfParameter == 218:
return 'Vertical diffusion of zonal wind gradient'
if table2Version == 129 and indicatorOfParameter == 217:
return 'Diabatic heating large-scale condensation gradient'
if table2Version == 129 and indicatorOfParameter == 216:
return 'Diabatic heating by cumulus convection gradient'
if table2Version == 129 and indicatorOfParameter == 215:
return 'Diabatic heating by vertical diffusion gradient'
if table2Version == 129 and indicatorOfParameter == 214:
return 'Diabatic heating by radiation gradient'
if table2Version == 129 and indicatorOfParameter == 212:
return 'TOA incident solar radiation gradient'
if table2Version == 129 and indicatorOfParameter == 211:
return 'Surface net thermal radiation, clear sky gradient'
if table2Version == 129 and indicatorOfParameter == 210:
return 'Surface net solar radiation, clear sky gradient'
if table2Version == 129 and indicatorOfParameter == 209:
return 'Top net thermal radiation, clear sky gradient'
if table2Version == 129 and indicatorOfParameter == 208:
return 'Top net solar radiation, clear sky gradient'
if table2Version == 129 and indicatorOfParameter == 207:
return '10 metre wind speed gradient'
if table2Version == 129 and indicatorOfParameter == 206:
return 'Total column ozone gradient'
if table2Version == 129 and indicatorOfParameter == 205:
return 'Runoff gradient'
if table2Version == 129 and indicatorOfParameter == 204:
return 'Precipitation analysis weights gradient'
if table2Version == 129 and indicatorOfParameter == 203:
return 'Ozone mass mixing ratio gradient'
if table2Version == 129 and indicatorOfParameter == 202:
return 'Minimum temperature at 2 metres since previous post-processing gradient'
if table2Version == 129 and indicatorOfParameter == 201:
return 'Maximum temperature at 2 metres since previous post-processing gradient'
if table2Version == 129 and indicatorOfParameter == 200:
return 'Variance of sub-gridscale orography gradient'
if table2Version == 129 and indicatorOfParameter == 199:
return 'Vegetation fraction gradient'
if table2Version == 129 and indicatorOfParameter == 198:
return 'Skin reservoir content gradient'
if table2Version == 129 and indicatorOfParameter == 197:
return 'Gravity wave dissipation gradient'
if table2Version == 129 and indicatorOfParameter == 196:
return 'Meridional component of gravity wave stress gradient'
if table2Version == 129 and indicatorOfParameter == 195:
return 'Longitudinal component of gravity wave stress gradient'
if table2Version == 129 and indicatorOfParameter == 194:
return 'Brightness temperature gradient'
if table2Version == 129 and indicatorOfParameter == 193:
return 'North-East/South-West component of sub-gridscale orographic variance gradient'
if table2Version == 129 and indicatorOfParameter == 192:
return 'North-West/South-East component of sub-gridscale orographic variance gradient'
if table2Version == 129 and indicatorOfParameter == 191:
return 'North-South component of sub-gridscale orographic variance gradient'
if table2Version == 129 and indicatorOfParameter == 190:
return 'East-West component of sub-gridscale orographic variance gradient'
if table2Version == 129 and indicatorOfParameter == 189:
return 'Sunshine duration gradient'
if table2Version == 129 and indicatorOfParameter == 188:
return 'High cloud cover gradient'
if table2Version == 129 and indicatorOfParameter == 187:
return 'Medium cloud cover gradient'
if table2Version == 129 and indicatorOfParameter == 186:
return 'Low cloud cover gradient'
if table2Version == 129 and indicatorOfParameter == 185:
return 'Convective cloud cover gradient'
if table2Version == 129 and indicatorOfParameter == 184:
return 'Soil wetness level 3 gradient'
if table2Version == 129 and indicatorOfParameter == 183:
return 'Soil temperature level 3 gradient'
if table2Version == 129 and indicatorOfParameter == 182:
return 'Evaporation gradient'
if table2Version == 129 and indicatorOfParameter == 181:
return 'North-South surface stress gradient'
if table2Version == 129 and indicatorOfParameter == 180:
return 'East-West surface stress gradient'
if table2Version == 129 and indicatorOfParameter == 179:
return 'Top net thermal radiation gradient'
if table2Version == 129 and indicatorOfParameter == 178:
return 'Top net solar radiation gradient'
if table2Version == 129 and indicatorOfParameter == 177:
return 'Surface net thermal radiation gradient'
if table2Version == 129 and indicatorOfParameter == 176:
return 'Surface net solar radiation gradient'
if table2Version == 129 and indicatorOfParameter == 175:
return 'Surface thermal radiation downwards gradient'
if table2Version == 129 and indicatorOfParameter == 174:
return 'Albedo gradient'
if table2Version == 129 and indicatorOfParameter == 173:
return 'Surface roughness gradient'
if table2Version == 129 and indicatorOfParameter == 172:
return 'Land-sea mask gradient'
if table2Version == 129 and indicatorOfParameter == 171:
return 'Soil wetness level 2 gradient'
if table2Version == 129 and indicatorOfParameter == 170:
return 'Soil temperature level 2 gradient'
if table2Version == 129 and indicatorOfParameter == 169:
return 'Surface solar radiation downwards gradient'
if table2Version == 129 and indicatorOfParameter == 168:
return '2 metre dewpoint temperature gradient'
if table2Version == 129 and indicatorOfParameter == 167:
return '2 metre temperature gradient'
if table2Version == 129 and indicatorOfParameter == 166:
return '10 metre V wind component gradient'
if table2Version == 129 and indicatorOfParameter == 165:
return '10 metre U wind component gradient'
if table2Version == 129 and indicatorOfParameter == 164:
return 'Total cloud cover gradient'
if table2Version == 129 and indicatorOfParameter == 163:
return 'Slope of sub-gridscale orography gradient'
if table2Version == 129 and indicatorOfParameter == 162:
return 'Angle of sub-gridscale orography gradient'
if table2Version == 129 and indicatorOfParameter == 161:
return 'Anisotropy of sub-gridscale orography gradient'
if table2Version == 129 and indicatorOfParameter == 160:
return 'Standard deviation of orography gradient'
if table2Version == 129 and indicatorOfParameter == 159:
return 'Boundary layer height gradient'
if table2Version == 129 and indicatorOfParameter == 158:
return 'Tendency of surface pressure gradient'
if table2Version == 129 and indicatorOfParameter == 157:
return 'Relative humidity gradient'
if table2Version == 129 and indicatorOfParameter == 156:
return 'Height gradient'
if table2Version == 129 and indicatorOfParameter == 155:
return 'Divergence gradient'
if table2Version == 129 and indicatorOfParameter == 154:
return 'Long-wave heating rate gradient'
if table2Version == 129 and indicatorOfParameter == 153:
return 'Short-wave heating rate gradient'
if table2Version == 129 and indicatorOfParameter == 152:
return 'Logarithm of surface pressure gradient'
if table2Version == 129 and indicatorOfParameter == 151:
return 'Mean sea level pressure gradient'
if table2Version == 129 and indicatorOfParameter == 150:
return 'Top net radiation gradient'
if table2Version == 129 and indicatorOfParameter == 149:
return 'Surface net radiation gradient'
if table2Version == 129 and indicatorOfParameter == 148:
return 'Charnock gradient'
if table2Version == 129 and indicatorOfParameter == 147:
return 'Surface latent heat flux gradient'
if table2Version == 129 and indicatorOfParameter == 146:
return 'Surface sensible heat flux gradient'
if table2Version == 129 and indicatorOfParameter == 145:
return 'Boundary layer dissipation gradient'
if table2Version == 129 and indicatorOfParameter == 144:
return 'Snowfall (convective + stratiform) gradient'
if table2Version == 129 and indicatorOfParameter == 143:
return 'Convective precipitation gradient'
if table2Version == 129 and indicatorOfParameter == 142:
return 'Stratiform precipitation (Large-scale precipitation) gradient'
if table2Version == 129 and indicatorOfParameter == 141:
return 'Snow depth gradient'
if table2Version == 129 and indicatorOfParameter == 140:
return 'Soil wetness level 1 gradient'
if table2Version == 129 and indicatorOfParameter == 139:
return 'Soil temperature level 1 gradient'
if table2Version == 129 and indicatorOfParameter == 138:
return 'Vorticity (relative) gradient'
if table2Version == 129 and indicatorOfParameter == 137:
return 'Total column water vapour gradient'
if table2Version == 129 and indicatorOfParameter == 136:
return 'Total column water gradient'
if table2Version == 129 and indicatorOfParameter == 135:
return 'vertical velocity (pressure) gradient'
if table2Version == 129 and indicatorOfParameter == 134:
return 'Surface pressure gradient'
if table2Version == 129 and indicatorOfParameter == 133:
return 'Specific humidity gradient'
if table2Version == 129 and indicatorOfParameter == 132:
return 'V component of wind gradient'
if table2Version == 129 and indicatorOfParameter == 131:
return 'U component of wind gradient'
if table2Version == 129 and indicatorOfParameter == 130:
return 'Temperature gradient'
if table2Version == 129 and indicatorOfParameter == 129:
return 'Geopotential gradient'
if table2Version == 129 and indicatorOfParameter == 128:
return 'Budget values gradient'
if table2Version == 129 and indicatorOfParameter == 127:
return 'Atmospheric tide gradient'
if table2Version == 129 and indicatorOfParameter == 126:
return 'Generic parameter for sensitive area prediction'
if table2Version == 129 and indicatorOfParameter == 125:
return 'Vertically integrated total energy'
if table2Version == 129 and indicatorOfParameter == 123:
return '10 metre wind gust in the last 6 hours gradient'
if table2Version == 129 and indicatorOfParameter == 122:
return 'Minimum temperature at 2 metres gradient'
if table2Version == 129 and indicatorOfParameter == 121:
return 'Maximum temperature at 2 metres gradient'
if table2Version == 129 and indicatorOfParameter == 120:
return 'Experimental product'
if table2Version == 129 and indicatorOfParameter == 119:
return 'Experimental product'
if table2Version == 129 and indicatorOfParameter == 118:
return 'Experimental product'
if table2Version == 129 and indicatorOfParameter == 117:
return 'Experimental product'
if table2Version == 129 and indicatorOfParameter == 116:
return 'Experimental product'
if table2Version == 129 and indicatorOfParameter == 115:
return 'Experimental product'
if table2Version == 129 and indicatorOfParameter == 114:
return 'Experimental product'
if table2Version == 129 and indicatorOfParameter == 113:
return 'Experimental product'
if table2Version == 129 and indicatorOfParameter == 112:
return 'Experimental product'
if table2Version == 129 and indicatorOfParameter == 111:
return 'Experimental product'
if table2Version == 129 and indicatorOfParameter == 110:
return 'Experimental product'
if table2Version == 129 and indicatorOfParameter == 109:
return 'Experimental product'
if table2Version == 129 and indicatorOfParameter == 108:
return 'Experimental product'
if table2Version == 129 and indicatorOfParameter == 107:
return 'Experimental product'
if table2Version == 129 and indicatorOfParameter == 106:
return 'Experimental product'
if table2Version == 129 and indicatorOfParameter == 105:
return 'Experimental product'
if table2Version == 129 and indicatorOfParameter == 104:
return 'Experimental product'
if table2Version == 129 and indicatorOfParameter == 103:
return 'Experimental product'
if table2Version == 129 and indicatorOfParameter == 102:
return 'Experimental product'
if table2Version == 129 and indicatorOfParameter == 101:
return 'Experimental product'
if table2Version == 129 and indicatorOfParameter == 100:
return 'Experimental product'
if table2Version == 129 and indicatorOfParameter == 99:
return 'Experimental product'
if table2Version == 129 and indicatorOfParameter == 98:
return 'Experimental product'
if table2Version == 129 and indicatorOfParameter == 97:
return 'Experimental product'
if table2Version == 129 and indicatorOfParameter == 96:
return 'Experimental product'
if table2Version == 129 and indicatorOfParameter == 95:
return 'Experimental product'
if table2Version == 129 and indicatorOfParameter == 94:
return 'Experimental product'
if table2Version == 129 and indicatorOfParameter == 93:
return 'Experimental product'
if table2Version == 129 and indicatorOfParameter == 92:
return 'Experimental product'
if table2Version == 129 and indicatorOfParameter == 91:
return 'Experimental product'
if table2Version == 129 and indicatorOfParameter == 90:
return 'Experimental product'
if table2Version == 129 and indicatorOfParameter == 89:
return 'Experimental product'
if table2Version == 129 and indicatorOfParameter == 88:
return 'Experimental product'
if table2Version == 129 and indicatorOfParameter == 87:
return 'Experimental product'
if table2Version == 129 and indicatorOfParameter == 86:
return 'Experimental product'
if table2Version == 129 and indicatorOfParameter == 85:
return 'Experimental product'
if table2Version == 129 and indicatorOfParameter == 84:
return 'Experimental product'
if table2Version == 129 and indicatorOfParameter == 83:
return 'Experimental product'
if table2Version == 129 and indicatorOfParameter == 82:
return 'Experimental product'
if table2Version == 129 and indicatorOfParameter == 81:
return 'Experimental product'
if table2Version == 129 and indicatorOfParameter == 80:
return 'Experimental product'
if table2Version == 129 and indicatorOfParameter == 79:
return 'Total column ice water'
if table2Version == 129 and indicatorOfParameter == 78:
return 'Total column liquid water'
if table2Version == 129 and indicatorOfParameter == 71:
return 'Biome cover, high vegetation'
if table2Version == 129 and indicatorOfParameter == 70:
return 'Biome cover, low vegetation'
if table2Version == 129 and indicatorOfParameter == 69:
return 'Minimum stomatal resistance, high vegetation'
if table2Version == 129 and indicatorOfParameter == 68:
return 'Minimum stomatal resistance, low vegetation'
if table2Version == 129 and indicatorOfParameter == 67:
return 'Leaf area index, high vegetation'
if table2Version == 129 and indicatorOfParameter == 66:
return 'Leaf area index, low vegetation'
if table2Version == 129 and indicatorOfParameter == 65:
return 'Skin temperature difference'
if table2Version == 129 and indicatorOfParameter == 64:
return 'Finish time for skin temperature difference'
if table2Version == 129 and indicatorOfParameter == 63:
return 'Start time for skin temperature difference'
if table2Version == 129 and indicatorOfParameter == 62:
return 'Observation count gradient'
if table2Version == 129 and indicatorOfParameter == 61:
return 'Total precipitation from observations gradient'
if table2Version == 129 and indicatorOfParameter == 60:
return 'Potential vorticity gradient'
if table2Version == 129 and indicatorOfParameter == 59:
return 'Convective available potential energy gradient'
if table2Version == 129 and indicatorOfParameter == 58:
return 'Photosynthetically active radiation at the surface gradient'
if table2Version == 129 and indicatorOfParameter == 57:
return 'Downward UV radiation at the surface gradient'
if table2Version == 129 and indicatorOfParameter == 56:
return 'Mean 2 metre dewpoint temperature in the last 24 hours gradient'
if table2Version == 129 and indicatorOfParameter == 55:
return 'Mean 2 metre temperature in the last 24 hours gradient'
if table2Version == 129 and indicatorOfParameter == 54:
return 'Pressure gradient'
if table2Version == 129 and indicatorOfParameter == 53:
return 'Montgomery potential gradient'
if table2Version == 129 and indicatorOfParameter == 52:
return 'Minimum 2 metre temperature gradient'
if table2Version == 129 and indicatorOfParameter == 51:
return 'Maximum 2 metre temperature gradient'
if table2Version == 129 and indicatorOfParameter == 50:
return 'Large-scale precipitation fraction gradient'
if table2Version == 129 and indicatorOfParameter == 49:
return '10 metre wind gust gradient'
if table2Version == 129 and indicatorOfParameter == 48:
return 'Magnitude of turbulent surface stress gradient'
if table2Version == 129 and indicatorOfParameter == 47:
return 'Direct solar radiation gradient'
if table2Version == 129 and indicatorOfParameter == 46:
return 'Solar duration gradient'
if table2Version == 129 and indicatorOfParameter == 45:
return 'Snowmelt gradient'
if table2Version == 129 and indicatorOfParameter == 44:
return 'Snow evaporation gradient'
if table2Version == 129 and indicatorOfParameter == 43:
return 'Soil type gradient'
if table2Version == 129 and indicatorOfParameter == 42:
return 'Volumetric soil water layer 4 gradient'
if table2Version == 129 and indicatorOfParameter == 41:
return 'Volumetric soil water layer 3 gradient'
if table2Version == 129 and indicatorOfParameter == 40:
return 'Volumetric soil water layer 2 gradient'
if table2Version == 129 and indicatorOfParameter == 39:
return 'Volumetric soil water layer 1 gradient'
if table2Version == 129 and indicatorOfParameter == 38:
return 'Ice surface temperature layer 4 gradient'
if table2Version == 129 and indicatorOfParameter == 37:
return 'Ice surface temperature layer 3 gradient'
if table2Version == 129 and indicatorOfParameter == 36:
return 'Ice surface temperature layer 2 gradient'
if table2Version == 129 and indicatorOfParameter == 35:
return 'Ice surface temperature layer 1 gradient'
if table2Version == 129 and indicatorOfParameter == 34:
return 'Sea surface temperature gradient'
if table2Version == 129 and indicatorOfParameter == 33:
return 'Snow density gradient'
if table2Version == 129 and indicatorOfParameter == 32:
return 'Snow albedo gradient'
if table2Version == 129 and indicatorOfParameter == 31:
return 'Sea-ice cover gradient'
if table2Version == 129 and indicatorOfParameter == 30:
return 'Type of high vegetation gradient'
if table2Version == 129 and indicatorOfParameter == 29:
return 'Type of low vegetation gradient'
if table2Version == 129 and indicatorOfParameter == 28:
return 'High vegetation cover gradient'
if table2Version == 129 and indicatorOfParameter == 27:
return 'Low vegetation cover gradient'
if table2Version == 129 and indicatorOfParameter == 26:
return 'Lake cover gradient'
if table2Version == 129 and indicatorOfParameter == 25:
return 'Reserved for future unbalanced components'
if table2Version == 129 and indicatorOfParameter == 24:
return 'Reserved for future unbalanced components'
if table2Version == 129 and indicatorOfParameter == 23:
return 'Unbalanced component of divergence gradient'
if table2Version == 129 and indicatorOfParameter == 22:
return 'Unbalanced component of logarithm of surface pressure gradient'
if table2Version == 129 and indicatorOfParameter == 21:
return 'Unbalanced component of temperature gradient'
if table2Version == 129 and indicatorOfParameter == 14:
return 'V component of rotational wind gradient'
if table2Version == 129 and indicatorOfParameter == 13:
return 'U component of rotational wind gradient'
if table2Version == 129 and indicatorOfParameter == 12:
return 'V component of divergent wind gradient'
if table2Version == 129 and indicatorOfParameter == 11:
return 'U component of divergent wind gradient'
if table2Version == 129 and indicatorOfParameter == 5:
return 'Saturated equivalent potential temperature gradient'
if table2Version == 129 and indicatorOfParameter == 4:
return 'Equivalent potential temperature gradient'
if table2Version == 129 and indicatorOfParameter == 3:
return 'Potential temperature gradient'
if table2Version == 129 and indicatorOfParameter == 2:
return 'Velocity potential gradient'
if table2Version == 129 and indicatorOfParameter == 1:
return 'Stream function gradient'
if table2Version == 228 and indicatorOfParameter == 123:
return 'Total totals index'
if table2Version == 228 and indicatorOfParameter == 121:
return 'K index'
if table2Version == 228 and indicatorOfParameter == 109:
return 'Ceiling'
if table2Version == 254 and indicatorOfParameter == 48:
return 'Total precipitation rate'
if table2Version == 235 and indicatorOfParameter == 70:
return 'Mean potential evaporation rate'
if table2Version == 235 and indicatorOfParameter == 69:
return 'Mean surface downward long-wave radiation flux, clear sky'
if table2Version == 235 and indicatorOfParameter == 68:
return 'Mean surface downward short-wave radiation flux, clear sky'
if table2Version == 235 and indicatorOfParameter == 67:
return 'Mean large-scale rain rate'
if table2Version == 235 and indicatorOfParameter == 66:
return 'Mean convective rain rate'
if table2Version == 235 and indicatorOfParameter == 65:
return 'Mean rain rate'
if table2Version == 235 and indicatorOfParameter == 64:
return 'Mean carbon dioxide ecosystem respiration flux'
if table2Version == 235 and indicatorOfParameter == 63:
return 'Mean carbon dioxide gross primary production flux'
if table2Version == 235 and indicatorOfParameter == 62:
return 'Mean carbon dioxide net ecosystem exchange flux'
if table2Version == 235 and indicatorOfParameter == 61:
return 'Mean surface diffuse short-wave radiation flux, clear sky'
if table2Version == 235 and indicatorOfParameter == 60:
return 'Mean surface diffuse short-wave radiation flux'
if table2Version == 235 and indicatorOfParameter == 59:
return 'Mean surface direct short-wave radiation flux, clear sky'
if table2Version == 235 and indicatorOfParameter == 58:
return 'Mean surface direct short-wave radiation flux'
if table2Version == 235 and indicatorOfParameter == 57:
return 'Mean large-scale snowfall rate'
if table2Version == 235 and indicatorOfParameter == 56:
return 'Mean convective snowfall rate'
if table2Version == 235 and indicatorOfParameter == 55:
return 'Mean total precipitation rate'
if table2Version == 235 and indicatorOfParameter == 54:
return 'Mean vertically integrated moisture divergence'
if table2Version == 235 and indicatorOfParameter == 53:
return 'Mean top downward short-wave radiation flux'
if table2Version == 235 and indicatorOfParameter == 52:
return 'Mean surface net long-wave radiation flux, clear sky'
if table2Version == 235 and indicatorOfParameter == 51:
return 'Mean surface net short-wave radiation flux, clear sky'
if table2Version == 235 and indicatorOfParameter == 50:
return 'Mean top net long-wave radiation flux, clear sky'
if table2Version == 235 and indicatorOfParameter == 49:
return 'Mean top net short-wave radiation flux, clear sky'
if table2Version == 235 and indicatorOfParameter == 48:
return 'Mean runoff rate'
if table2Version == 235 and indicatorOfParameter == 47:
return 'Mean gravity wave dissipation'
if table2Version == 235 and indicatorOfParameter == 46:
return 'Mean northward gravity wave surface stress'
if table2Version == 235 and indicatorOfParameter == 45:
return 'Mean eastward gravity wave surface stress'
if table2Version == 235 and indicatorOfParameter == 44:
return 'Sunshine duration fraction'
if table2Version == 235 and indicatorOfParameter == 43:
return 'Mean evaporation rate'
if table2Version == 235 and indicatorOfParameter == 42:
return 'Mean northward turbulent surface stress'
if table2Version == 235 and indicatorOfParameter == 41:
return 'Mean eastward turbulent surface stress'
if table2Version == 235 and indicatorOfParameter == 40:
return 'Mean top net long-wave radiation flux'
if table2Version == 235 and indicatorOfParameter == 39:
return 'Mean top net short-wave radiation flux'
if table2Version == 235 and indicatorOfParameter == 38:
return 'Mean surface net long-wave radiation flux'
if table2Version == 235 and indicatorOfParameter == 37:
return 'Mean surface net short-wave radiation flux'
if table2Version == 235 and indicatorOfParameter == 36:
return 'Mean surface downward long-wave radiation flux'
if table2Version == 235 and indicatorOfParameter == 35:
return 'Mean surface downward short-wave radiation flux'
if table2Version == 235 and indicatorOfParameter == 34:
return 'Mean surface latent heat flux'
if table2Version == 235 and indicatorOfParameter == 33:
return 'Mean surface sensible heat flux'
if table2Version == 235 and indicatorOfParameter == 32:
return 'Mean boundary layer dissipation'
if table2Version == 235 and indicatorOfParameter == 31:
return 'Mean snowfall rate'
if table2Version == 235 and indicatorOfParameter == 30:
return 'Mean convective precipitation rate'
if table2Version == 235 and indicatorOfParameter == 29:
return 'Mean large-scale precipitation rate'
if table2Version == 235 and indicatorOfParameter == 28:
return 'Mean surface photosynthetically active radiation flux'
if table2Version == 235 and indicatorOfParameter == 27:
return 'Mean surface downward UV radiation flux'
if table2Version == 235 and indicatorOfParameter == 26:
return 'Mean large-scale precipitation fraction'
if table2Version == 235 and indicatorOfParameter == 25:
return 'Mean magnitude of turbulent surface stress'
if table2Version == 235 and indicatorOfParameter == 24:
return 'Mean snowmelt rate'
if table2Version == 235 and indicatorOfParameter == 23:
return 'Mean snow evaporation rate'
if table2Version == 235 and indicatorOfParameter == 22:
return 'Mean surface photosynthetically active radiation flux, clear sky'
if table2Version == 235 and indicatorOfParameter == 21:
return 'Mean sub-surface runoff rate'
if table2Version == 235 and indicatorOfParameter == 20:
return 'Mean surface runoff rate'
if table2Version == 230 and indicatorOfParameter == 251:
return 'Potential evaporation (variable resolution)'
if table2Version == 230 and indicatorOfParameter == 240:
return 'Large-scale snowfall (variable resolution)'
if table2Version == 230 and indicatorOfParameter == 239:
return 'Convective snowfall (variable resolution)'
if table2Version == 230 and indicatorOfParameter == 228:
return 'Total precipitation (variable resolution)'
if table2Version == 230 and indicatorOfParameter == 216:
return 'Accumulated freezing rain (variable resolution)'
if table2Version == 230 and indicatorOfParameter == 213:
return 'Vertically integrated moisture divergence (variable resolution)'
if table2Version == 230 and indicatorOfParameter == 174:
return 'Albedo (variable resolution)'
if table2Version == 230 and indicatorOfParameter == 130:
return 'Surface thermal radiation downward clear-sky (variable resolution)'
if table2Version == 230 and indicatorOfParameter == 129:
return 'Surface solar radiation downward clear-sky (variable resolution)'
if table2Version == 230 and indicatorOfParameter == 82:
return 'Accumulated Carbon Dioxide Ecosystem Respiration (variable resolution)'
if table2Version == 230 and indicatorOfParameter == 81:
return 'Accumulated Carbon Dioxide Gross Primary Production (variable resolution)'
if table2Version == 230 and indicatorOfParameter == 80:
return 'Accumulated Carbon Dioxide Net Ecosystem Exchange (variable resolution)'
if table2Version == 230 and indicatorOfParameter == 50:
return 'Large-scale precipitation fraction (variable resolution)'
if table2Version == 230 and indicatorOfParameter == 47:
return 'Direct solar radiation (variable resolution)'
if table2Version == 230 and indicatorOfParameter == 22:
return 'Clear-sky direct solar radiation at surface (variable resolution)'
if table2Version == 230 and indicatorOfParameter == 21:
return 'Total sky direct solar radiation at surface (variable resolution)'
if table2Version == 230 and indicatorOfParameter == 20:
return 'Clear sky surface photosynthetically active radiation (variable resolution)'
if table2Version == 230 and indicatorOfParameter == 9:
return 'Sub-surface runoff (variable resolution)'
if table2Version == 230 and indicatorOfParameter == 8:
return 'Surface runoff (variable resolution)'
if table2Version == 228 and indicatorOfParameter == 252:
return 'Irrigation'
if table2Version == 228 and indicatorOfParameter == 251:
return 'Potential evaporation'
if table2Version == 228 and indicatorOfParameter == 250:
return 'Irrigation fraction'
if table2Version == 228 and indicatorOfParameter == 249:
return '100 metre wind speed'
if table2Version == 228 and indicatorOfParameter == 245:
return 'Surface albedo of diffuse radiation'
if table2Version == 228 and indicatorOfParameter == 244:
return 'Surface albedo of direct radiation'
if table2Version == 228 and indicatorOfParameter == 243:
return 'Surface solar radiation diffuse clear-sky'
if table2Version == 228 and indicatorOfParameter == 242:
return 'Surface solar radiation diffuse total sky'
if table2Version == 228 and indicatorOfParameter == 241:
return '200 metre wind speed'
if table2Version == 228 and indicatorOfParameter == 240:
return '200 metre V wind component'
if table2Version == 228 and indicatorOfParameter == 239:
return '200 metre U wind component'
if table2Version == 228 and indicatorOfParameter == 230:
return 'SMOS second Brightness Temperature Bias Correction parameter'
if table2Version == 228 and indicatorOfParameter == 229:
return 'SMOS first Brightness Temperature Bias Correction parameter'
if table2Version == 228 and indicatorOfParameter == 227:
return 'Minimum total precipitation rate since previous post-processing'
if table2Version == 228 and indicatorOfParameter == 226:
return 'Maximum total precipitation rate since previous post-processing'
if table2Version == 228 and indicatorOfParameter == 225:
return 'Minimum total precipitation rate in the last 6 hours'
if table2Version == 228 and indicatorOfParameter == 224:
return 'Maximum total precipitation rate in the last 6 hours'
if table2Version == 228 and indicatorOfParameter == 223:
return 'Minimum total precipitation rate in the last 3 hours'
if table2Version == 228 and indicatorOfParameter == 222:
return 'Maximum total precipitation rate in the last 3 hours'
if table2Version == 228 and indicatorOfParameter == 221:
return 'Large scale snowfall rate water equivalent'
if table2Version == 228 and indicatorOfParameter == 220:
return 'Convective snowfall rate water equivalent'
if table2Version == 228 and indicatorOfParameter == 219:
return 'Large scale rain rate'
if table2Version == 228 and indicatorOfParameter == 218:
return 'Convective rain rate'
if table2Version == 228 and indicatorOfParameter == 217:
return 'Instantaneous large-scale surface precipitation fraction'
if table2Version == 228 and indicatorOfParameter == 216:
return 'Accumulated freezing rain'
if table2Version == 228 and indicatorOfParameter == 130:
return 'Surface thermal radiation downward clear-sky'
if table2Version == 228 and indicatorOfParameter == 129:
return 'Surface solar radiation downward clear-sky'
if table2Version == 228 and indicatorOfParameter == 94:
return 'Ice temperature'
if table2Version == 228 and indicatorOfParameter == 93:
return 'Volumetric soil moisture'
if table2Version == 228 and indicatorOfParameter == 92:
return 'Soil texture fraction'
if table2Version == 228 and indicatorOfParameter == 91:
return 'Canopy cover fraction'
if table2Version == 228 and indicatorOfParameter == 90:
return 'Total column snow water'
if table2Version == 228 and indicatorOfParameter == 89:
return 'Total column rain water'
if table2Version == 228 and indicatorOfParameter == 88:
return 'Total column supercooled liquid water'
if table2Version == 228 and indicatorOfParameter == 85:
return 'Flux of Carbon Dioxide Ecosystem Respiration'
if table2Version == 228 and indicatorOfParameter == 84:
return 'Flux of Carbon Dioxide Gross Primary Production'
if table2Version == 228 and indicatorOfParameter == 83:
return 'Flux of Carbon Dioxide Net Ecosystem Exchange'
if table2Version == 228 and indicatorOfParameter == 82:
return 'Accumulated Carbon Dioxide Ecosystem Respiration'
if table2Version == 228 and indicatorOfParameter == 81:
return 'Accumulated Carbon Dioxide Gross Primary Production'
if table2Version == 228 and indicatorOfParameter == 80:
return 'Accumulated Carbon Dioxide Net Ecosystem Exchange'
if table2Version == 228 and indicatorOfParameter == 79:
return 'Rec coefficient from Biogenic Flux Adjustment System'
if table2Version == 228 and indicatorOfParameter == 78:
return 'GPP coefficient from Biogenic Flux Adjustment System'
if table2Version == 228 and indicatorOfParameter == 74:
return 'SMOS observation time for the satellite soil moisture data'
if table2Version == 228 and indicatorOfParameter == 73:
return 'SMOS number of observations per grid point'
if table2Version == 228 and indicatorOfParameter == 72:
return 'SMOS radio frequency interference probability'
if table2Version == 228 and indicatorOfParameter == 71:
return 'SMOS observed soil moisture uncertainty retrieved using neural network'
if table2Version == 228 and indicatorOfParameter == 70:
return 'SMOS observed soil moisture retrieved using neural network'
if table2Version == 228 and indicatorOfParameter == 53:
return 'Averaged cloud-to-ground lightning flash density in the last hour'
if table2Version == 228 and indicatorOfParameter == 52:
return 'Instantaneous cloud-to-ground lightning flash density'
if table2Version == 228 and indicatorOfParameter == 51:
return 'Averaged total lightning flash density in the last hour'
if table2Version == 228 and indicatorOfParameter == 50:
return 'Instantaneous total lightning flash density'
if table2Version == 228 and indicatorOfParameter == 48:
return 'Height of one-degree wet-bulb temperature'
if table2Version == 228 and indicatorOfParameter == 47:
return 'Height of zero-degree wet-bulb temperature'
if table2Version == 228 and indicatorOfParameter == 46:
return 'Height of convective cloud top'
if table2Version == 228 and indicatorOfParameter == 44:
return 'Convective available potential energy shear'
if table2Version == 228 and indicatorOfParameter == 43:
return 'Soil wetness index in layer 4'
if table2Version == 228 and indicatorOfParameter == 42:
return 'Soil wetness index in layer 3'
if table2Version == 228 and indicatorOfParameter == 41:
return 'Soil wetness index in layer 2'
if table2Version == 228 and indicatorOfParameter == 40:
return 'Soil wetness index in layer 1'
if table2Version == 228 and indicatorOfParameter == 37:
return '2 metre relative humidity with respect to water'
if table2Version == 228 and indicatorOfParameter == 29:
return 'Instantaneous 10 metre wind gust'
if table2Version == 228 and indicatorOfParameter == 28:
return '10 metre wind gust in the last 3 hours'
if table2Version == 228 and indicatorOfParameter == 27:
return 'Minimum temperature at 2 metres in the last 3 hours'
if table2Version == 228 and indicatorOfParameter == 26:
return 'Maximum temperature at 2 metres in the last 3 hours'
if table2Version == 228 and indicatorOfParameter == 25:
return 'Horizontal visibility'
if table2Version == 228 and indicatorOfParameter == 24:
return '0 degrees C isothermal level (atm)'
if table2Version == 228 and indicatorOfParameter == 23:
return 'Cloud base height'
if table2Version == 228 and indicatorOfParameter == 22:
return 'Clear-sky direct solar radiation at surface'
if table2Version == 228 and indicatorOfParameter == 21:
return 'Total sky direct solar radiation at surface'
if table2Version == 228 and indicatorOfParameter == 20:
return '-10 degrees C isothermal level (atm)'
if table2Version == 221 and indicatorOfParameter == 56:
return 'Nitrogen oxides Transp deposition velocity'
if table2Version == 221 and indicatorOfParameter == 55:
return 'HYPROPO2 deposition velocity'
if table2Version == 221 and indicatorOfParameter == 54:
return 'IC3H7O2 deposition velocity'
if table2Version == 221 and indicatorOfParameter == 53:
return 'Acetone product deposition velocity'
if table2Version == 221 and indicatorOfParameter == 52:
return 'Acetone deposition velocity'
if table2Version == 221 and indicatorOfParameter == 51:
return 'Nitrate deposition velocity'
if table2Version == 221 and indicatorOfParameter == 50:
return 'Methacrolein MVK deposition velocity'
if table2Version == 221 and indicatorOfParameter == 49:
return 'Terpenes deposition velocity'
if table2Version == 221 and indicatorOfParameter == 48:
return 'Propene deposition velocity'
if table2Version == 221 and indicatorOfParameter == 47:
return 'Propane deposition velocity'
if table2Version == 221 and indicatorOfParameter == 46:
return 'Ethanol deposition velocity'
if table2Version == 221 and indicatorOfParameter == 45:
return 'Ethane deposition velocity'
if table2Version == 221 and indicatorOfParameter == 44:
return 'Methacrylic acid deposition velocity'
if table2Version == 221 and indicatorOfParameter == 43:
return 'Formic acid deposition velocity'
if table2Version == 221 and indicatorOfParameter == 42:
return 'Methanol deposition velocity'
if table2Version == 221 and indicatorOfParameter == 41:
return 'Polar stratospheric cloud deposition velocity'
if table2Version == 221 and indicatorOfParameter == 40:
return 'Amine deposition velocity'
if table2Version == 221 and indicatorOfParameter == 39:
return 'NO to alkyl nitrate operator deposition velocity'
if table2Version == 221 and indicatorOfParameter == 38:
return 'NO to NO2 operator deposition velocity'
if table2Version == 221 and indicatorOfParameter == 37:
return 'PAR budget corrector deposition velocity'
if table2Version == 221 and indicatorOfParameter == 36:
return 'Organic ethers deposition velocity'
if table2Version == 221 and indicatorOfParameter == 35:
return 'Peroxy acetyl radical deposition velocity'
if table2Version == 221 and indicatorOfParameter == 34:
return 'Pernitric acid deposition velocity'
if table2Version == 221 and indicatorOfParameter == 33:
return 'Dinitrogen pentoxide deposition velocity'
if table2Version == 221 and indicatorOfParameter == 32:
return 'Nitrate radical deposition velocity'
if table2Version == 221 and indicatorOfParameter == 31:
return 'Nitrogen dioxide deposition velocity'
if table2Version == 221 and indicatorOfParameter == 30:
return 'Hydroxyl radical deposition velocity'
if table2Version == 221 and indicatorOfParameter == 29:
return 'Methylperoxy radical deposition velocity'
if table2Version == 221 and indicatorOfParameter == 28:
return 'Hydroperoxy radical deposition velocity'
if table2Version == 221 and indicatorOfParameter == 27:
return 'Nitrogen monoxide deposition velocity'
if table2Version == 221 and indicatorOfParameter == 26:
return 'Lead deposition velocity'
if table2Version == 221 and indicatorOfParameter == 25:
return 'Radon deposition velocity'
if table2Version == 221 and indicatorOfParameter == 24:
return 'Stratospheric ozone deposition velocity'
if table2Version == 221 and indicatorOfParameter == 23:
return 'Methyl glyoxal deposition velocity'
if table2Version == 221 and indicatorOfParameter == 22:
return 'Methane sulfonic acid deposition velocity'
if table2Version == 221 and indicatorOfParameter == 21:
return 'Ammonium deposition velocity'
if table2Version == 221 and indicatorOfParameter == 20:
return 'Sulfate deposition velocity'
if table2Version == 221 and indicatorOfParameter == 19:
return 'Ammonia deposition velocity'
if table2Version == 221 and indicatorOfParameter == 18:
return 'Dimethyl sulfide deposition velocity'
if table2Version == 221 and indicatorOfParameter == 17:
return 'Sulfur dioxide deposition velocity'
if table2Version == 221 and indicatorOfParameter == 16:
return 'Isoprene deposition velocity'
if table2Version == 221 and indicatorOfParameter == 15:
return 'Organic nitrates deposition velocity'
if table2Version == 221 and indicatorOfParameter == 14:
return 'Peroxides deposition velocity'
if table2Version == 221 and indicatorOfParameter == 13:
return 'Peroxyacetyl nitrate deposition velocity'
if table2Version == 221 and indicatorOfParameter == 12:
return 'Aldehydes deposition velocity'
if table2Version == 221 and indicatorOfParameter == 11:
return 'Olefins deposition velocity'
if table2Version == 221 and indicatorOfParameter == 10:
return 'Ethene deposition velocity'
if table2Version == 221 and indicatorOfParameter == 9:
return 'Paraffins deposition velocity'
if table2Version == 221 and indicatorOfParameter == 8:
return 'Formaldehyde deposition velocity'
if table2Version == 221 and indicatorOfParameter == 7:
return 'Methyl peroxide deposition velocity'
if table2Version == 221 and indicatorOfParameter == 6:
return 'Nitric acid deposition velocity'
if table2Version == 221 and indicatorOfParameter == 5:
return 'Carbon monoxide deposition velocity'
if table2Version == 221 and indicatorOfParameter == 4:
return 'Methane deposition velocity'
if table2Version == 221 and indicatorOfParameter == 3:
return 'Hydrogen peroxide deposition velocity'
if table2Version == 221 and indicatorOfParameter == 2:
return 'Nitrogen oxides deposition velocity'
if table2Version == 221 and indicatorOfParameter == 1:
return 'Ozone deposition velocity'
if table2Version == 219 and indicatorOfParameter == 56:
return 'Nitrogen oxides Transp emissions'
if table2Version == 219 and indicatorOfParameter == 55:
return 'HYPROPO2 emissions'
if table2Version == 219 and indicatorOfParameter == 54:
return 'IC3H7O2 emissions'
if table2Version == 219 and indicatorOfParameter == 53:
return 'Acetone product emissions'
if table2Version == 219 and indicatorOfParameter == 52:
return 'Acetone emissions'
if table2Version == 219 and indicatorOfParameter == 51:
return 'Nitrate emissions'
if table2Version == 219 and indicatorOfParameter == 50:
return 'Methacrolein MVK emissions'
if table2Version == 219 and indicatorOfParameter == 49:
return 'Terpenes emissions'
if table2Version == 219 and indicatorOfParameter == 48:
return 'Propene emissions'
if table2Version == 219 and indicatorOfParameter == 47:
return 'Propane emissions'
if table2Version == 219 and indicatorOfParameter == 46:
return 'Ethanol emissions'
if table2Version == 219 and indicatorOfParameter == 45:
return 'Ethane emissions'
if table2Version == 219 and indicatorOfParameter == 44:
return 'Methacrylic acid emissions'
if table2Version == 219 and indicatorOfParameter == 43:
return 'Formic acid emissions'
if table2Version == 219 and indicatorOfParameter == 42:
return 'Methanol emissions'
if table2Version == 219 and indicatorOfParameter == 41:
return 'Polar stratospheric cloud emissions'
if table2Version == 219 and indicatorOfParameter == 40:
return 'Amine emissions'
if table2Version == 219 and indicatorOfParameter == 39:
return 'NO to alkyl nitrate operator emissions'
if table2Version == 219 and indicatorOfParameter == 38:
return 'NO to NO2 operator emissions'
if table2Version == 219 and indicatorOfParameter == 37:
return 'PAR budget corrector emissions'
if table2Version == 219 and indicatorOfParameter == 36:
return 'Organic ethers emissions'
if table2Version == 219 and indicatorOfParameter == 35:
return 'Peroxy acetyl radical emissions'
if table2Version == 219 and indicatorOfParameter == 34:
return 'Pernitric acid emissions'
if table2Version == 219 and indicatorOfParameter == 33:
return 'Dinitrogen pentoxide emissions'
if table2Version == 219 and indicatorOfParameter == 32:
return 'Nitrate radical emissions'
if table2Version == 219 and indicatorOfParameter == 31:
return 'Nitrogen dioxide emissions'
if table2Version == 219 and indicatorOfParameter == 30:
return 'Hydroxyl radical emissions'
if table2Version == 219 and indicatorOfParameter == 29:
return 'Methylperoxy radical emissions'
if table2Version == 219 and indicatorOfParameter == 28:
return 'Hydroperoxy radical emissions'
if table2Version == 219 and indicatorOfParameter == 27:
return 'Nitrogen monoxide emissions'
if table2Version == 219 and indicatorOfParameter == 26:
return 'Lead emissions'
if table2Version == 219 and indicatorOfParameter == 25:
return 'Radon emissions'
if table2Version == 219 and indicatorOfParameter == 24:
return 'Stratospheric ozone emissions'
if table2Version == 219 and indicatorOfParameter == 23:
return 'Methyl glyoxal emissions'
if table2Version == 219 and indicatorOfParameter == 22:
return 'Methane sulfonic acid emissions'
if table2Version == 219 and indicatorOfParameter == 21:
return 'Ammonium emissions'
if table2Version == 219 and indicatorOfParameter == 20:
return 'Sulfate emissions'
if table2Version == 219 and indicatorOfParameter == 19:
return 'Ammonia emissions'
if table2Version == 219 and indicatorOfParameter == 18:
return 'Dimethyl sulfide emissions'
if table2Version == 219 and indicatorOfParameter == 17:
return 'Sulfur dioxide emissions'
if table2Version == 219 and indicatorOfParameter == 16:
return 'Isoprene emissions'
if table2Version == 219 and indicatorOfParameter == 15:
return 'Organic nitrates emissions'
if table2Version == 219 and indicatorOfParameter == 14:
return 'Peroxides emissions'
if table2Version == 219 and indicatorOfParameter == 13:
return 'Peroxyacetyl nitrate emissions'
if table2Version == 219 and indicatorOfParameter == 12:
return 'Aldehydes emissions'
if table2Version == 219 and indicatorOfParameter == 11:
return 'Olefins emissions'
if table2Version == 219 and indicatorOfParameter == 10:
return 'Ethene emissions'
if table2Version == 219 and indicatorOfParameter == 9:
return 'Paraffins emissions'
if table2Version == 219 and indicatorOfParameter == 8:
return 'Formaldehyde emissions'
if table2Version == 219 and indicatorOfParameter == 7:
return 'Methyl peroxide emissions'
if table2Version == 219 and indicatorOfParameter == 6:
return 'Nitric acid emissions'
if table2Version == 219 and indicatorOfParameter == 5:
return 'Carbon monoxide emissions'
if table2Version == 219 and indicatorOfParameter == 4:
return 'Methane emissions'
if table2Version == 219 and indicatorOfParameter == 3:
return 'Hydrogen peroxide emissions'
if table2Version == 219 and indicatorOfParameter == 2:
return 'Nitrogen oxides emissions'
if table2Version == 219 and indicatorOfParameter == 1:
return 'Ozone emissions'
if table2Version == 218 and indicatorOfParameter == 56:
return 'Total column nitrogen oxides Transp'
if table2Version == 218 and indicatorOfParameter == 55:
return 'Total column HYPROPO2'
if table2Version == 218 and indicatorOfParameter == 54:
return 'Total column IC3H7O2'
if table2Version == 218 and indicatorOfParameter == 53:
return 'Total column acetone product'
if table2Version == 218 and indicatorOfParameter == 52:
return 'Total column acetone'
if table2Version == 218 and indicatorOfParameter == 51:
return 'Total column nitrate'
if table2Version == 218 and indicatorOfParameter == 50:
return 'Total column methacrolein MVK'
if table2Version == 218 and indicatorOfParameter == 49:
return 'Total column terpenes'
if table2Version == 218 and indicatorOfParameter == 48:
return 'Total column propene'
if table2Version == 218 and indicatorOfParameter == 47:
return 'Total column propane'
if table2Version == 218 and indicatorOfParameter == 46:
return 'Total column ethanol'
if table2Version == 218 and indicatorOfParameter == 45:
return 'Total column ethane'
if table2Version == 218 and indicatorOfParameter == 44:
return 'Total column methacrylic acid'
if table2Version == 218 and indicatorOfParameter == 43:
return 'Total column formic acid'
if table2Version == 218 and indicatorOfParameter == 42:
return 'Total column methanol'
if table2Version == 218 and indicatorOfParameter == 41:
return 'Total column polar stratospheric cloud'
if table2Version == 218 and indicatorOfParameter == 40:
return 'Total column amine'
if table2Version == 218 and indicatorOfParameter == 39:
return 'Total column NO to alkyl nitrate operator'
if table2Version == 218 and indicatorOfParameter == 38:
return 'Total column NO to NO2 operator'
if table2Version == 218 and indicatorOfParameter == 37:
return 'Total column PAR budget corrector'
if table2Version == 218 and indicatorOfParameter == 36:
return 'Total column organic ethers'
if table2Version == 218 and indicatorOfParameter == 35:
return 'Total column peroxy acetyl radical'
if table2Version == 218 and indicatorOfParameter == 34:
return 'Total column pernitric acid'
if table2Version == 218 and indicatorOfParameter == 33:
return 'Total column dinitrogen pentoxide'
if table2Version == 218 and indicatorOfParameter == 32:
return 'Total column nitrate radical'
if table2Version == 218 and indicatorOfParameter == 30:
return 'Total column hydroxyl radical'
if table2Version == 218 and indicatorOfParameter == 29:
return 'Total column methylperoxy radical'
if table2Version == 218 and indicatorOfParameter == 28:
return 'Total column hydroperoxy radical'
if table2Version == 218 and indicatorOfParameter == 27:
return 'Total column nitrogen monoxide'
if table2Version == 218 and indicatorOfParameter == 26:
return 'Total column lead'
if table2Version == 218 and indicatorOfParameter == 24:
return 'Total column stratospheric ozone'
if table2Version == 218 and indicatorOfParameter == 23:
return 'Total column methyl glyoxal'
if table2Version == 218 and indicatorOfParameter == 22:
return 'Total column methane sulfonic acid'
if table2Version == 218 and indicatorOfParameter == 21:
return 'Total column ammonium'
if table2Version == 218 and indicatorOfParameter == 20:
return 'Total column sulfate'
if table2Version == 218 and indicatorOfParameter == 19:
return 'Total column ammonia'
if table2Version == 218 and indicatorOfParameter == 18:
return 'Total column dimethyl sulfide'
if table2Version == 218 and indicatorOfParameter == 16:
return 'Total column isoprene'
if table2Version == 218 and indicatorOfParameter == 15:
return 'Total column organic nitrates'
if table2Version == 218 and indicatorOfParameter == 14:
return 'Total column peroxides'
if table2Version == 218 and indicatorOfParameter == 13:
return 'Total column peroxyacetyl nitrate'
if table2Version == 218 and indicatorOfParameter == 12:
return 'Total column aldehydes'
if table2Version == 218 and indicatorOfParameter == 11:
return 'Total column olefins'
if table2Version == 218 and indicatorOfParameter == 10:
return 'Total column ethene'
if table2Version == 218 and indicatorOfParameter == 9:
return 'Total column paraffins'
if table2Version == 218 and indicatorOfParameter == 7:
return 'Total column methyl peroxide'
if table2Version == 218 and indicatorOfParameter == 6:
return 'Total column nitric acid'
if table2Version == 218 and indicatorOfParameter == 4:
return 'Total column methane'
if table2Version == 218 and indicatorOfParameter == 3:
return 'Total column hydrogen peroxide'
if table2Version == 217 and indicatorOfParameter == 56:
return 'Nitrogen oxides Transp'
if table2Version == 217 and indicatorOfParameter == 55:
return 'HYPROPO2'
if table2Version == 217 and indicatorOfParameter == 54:
return 'IC3H7O2'
if table2Version == 217 and indicatorOfParameter == 53:
return 'Acetone product'
if table2Version == 217 and indicatorOfParameter == 52:
return 'Acetone'
if table2Version == 217 and indicatorOfParameter == 51:
return 'Nitrate'
if table2Version == 217 and indicatorOfParameter == 50:
return 'Methacrolein MVK'
if table2Version == 217 and indicatorOfParameter == 49:
return 'Terpenes'
if table2Version == 217 and indicatorOfParameter == 48:
return 'Propene'
if table2Version == 217 and indicatorOfParameter == 47:
return 'Propane'
if table2Version == 217 and indicatorOfParameter == 46:
return 'Ethanol'
if table2Version == 217 and indicatorOfParameter == 45:
return 'Ethane'
if table2Version == 217 and indicatorOfParameter == 44:
return 'Methacrylic acid'
if table2Version == 217 and indicatorOfParameter == 43:
return 'Formic acid'
if table2Version == 217 and indicatorOfParameter == 42:
return 'Methanol'
if table2Version == 217 and indicatorOfParameter == 41:
return 'Polar stratospheric cloud'
if table2Version == 217 and indicatorOfParameter == 40:
return 'Amine'
if table2Version == 217 and indicatorOfParameter == 39:
return 'NO to alkyl nitrate operator'
if table2Version == 217 and indicatorOfParameter == 38:
return 'NO to NO2 operator'
if table2Version == 217 and indicatorOfParameter == 37:
return 'PAR budget corrector'
if table2Version == 217 and indicatorOfParameter == 36:
return 'Organic ethers'
if table2Version == 217 and indicatorOfParameter == 35:
return 'Peroxy acetyl radical'
if table2Version == 217 and indicatorOfParameter == 34:
return 'Pernitric acid'
if table2Version == 217 and indicatorOfParameter == 33:
return 'Dinitrogen pentoxide'
if table2Version == 217 and indicatorOfParameter == 32:
return 'Nitrate radical'
if table2Version == 217 and indicatorOfParameter == 30:
return 'Hydroxyl radical'
if table2Version == 217 and indicatorOfParameter == 29:
return 'Methylperoxy radical'
if table2Version == 217 and indicatorOfParameter == 28:
return 'Hydroperoxy radical'
if table2Version == 217 and indicatorOfParameter == 27:
return 'Nitrogen monoxide'
if table2Version == 217 and indicatorOfParameter == 26:
return 'Lead'
if table2Version == 217 and indicatorOfParameter == 24:
return 'Stratospheric ozone'
if table2Version == 217 and indicatorOfParameter == 23:
return 'Methyl glyoxal'
if table2Version == 217 and indicatorOfParameter == 22:
return 'Methane sulfonic acid'
if table2Version == 217 and indicatorOfParameter == 21:
return 'Ammonium'
if table2Version == 217 and indicatorOfParameter == 20:
return 'Sulfate'
if table2Version == 217 and indicatorOfParameter == 19:
return 'Ammonia'
if table2Version == 217 and indicatorOfParameter == 18:
return 'Dimethyl sulfide'
if table2Version == 217 and indicatorOfParameter == 16:
return 'Isoprene'
if table2Version == 217 and indicatorOfParameter == 15:
return 'Organic nitrates'
if table2Version == 217 and indicatorOfParameter == 14:
return 'Peroxides'
if table2Version == 217 and indicatorOfParameter == 13:
return 'Peroxyacetyl nitrate'
if table2Version == 217 and indicatorOfParameter == 12:
return 'Aldehydes'
if table2Version == 217 and indicatorOfParameter == 11:
return 'Olefins'
if table2Version == 217 and indicatorOfParameter == 10:
return 'Ethene'
if table2Version == 217 and indicatorOfParameter == 9:
return 'Paraffins'
if table2Version == 217 and indicatorOfParameter == 7:
return 'Methyl peroxide'
if table2Version == 217 and indicatorOfParameter == 6:
return 'Nitric acid'
if table2Version == 217 and indicatorOfParameter == 4:
return 'Methane (chemistry)'
if table2Version == 217 and indicatorOfParameter == 3:
return 'Hydrogen peroxide'
if table2Version == 216 and indicatorOfParameter == 255:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 254:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 253:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 252:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 251:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 250:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 249:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 248:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 247:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 246:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 245:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 244:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 243:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 242:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 241:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 240:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 239:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 238:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 237:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 236:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 235:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 234:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 233:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 232:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 231:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 230:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 229:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 228:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 227:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 226:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 225:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 224:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 223:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 222:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 221:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 220:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 219:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 218:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 217:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 216:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 215:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 214:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 213:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 212:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 211:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 210:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 209:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 208:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 207:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 206:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 205:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 204:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 203:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 202:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 201:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 200:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 199:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 198:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 197:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 196:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 195:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 194:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 193:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 192:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 191:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 190:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 189:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 188:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 187:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 186:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 185:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 184:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 183:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 182:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 181:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 180:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 179:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 178:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 177:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 176:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 175:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 174:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 173:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 172:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 171:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 170:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 169:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 168:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 167:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 166:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 165:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 164:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 163:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 162:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 161:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 160:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 159:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 158:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 157:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 156:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 155:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 154:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 153:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 152:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 151:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 150:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 149:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 148:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 147:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 146:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 145:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 144:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 143:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 142:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 141:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 140:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 139:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 138:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 137:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 136:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 135:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 134:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 133:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 132:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 131:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 130:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 129:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 128:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 127:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 126:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 125:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 124:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 123:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 122:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 121:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 120:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 119:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 118:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 117:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 116:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 115:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 114:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 113:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 112:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 111:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 110:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 109:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 108:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 107:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 106:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 105:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 104:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 103:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 102:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 101:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 100:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 99:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 98:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 97:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 96:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 95:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 94:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 93:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 92:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 91:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 90:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 89:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 88:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 87:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 86:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 85:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 84:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 83:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 82:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 81:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 80:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 79:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 78:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 77:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 76:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 75:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 74:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 73:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 72:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 71:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 70:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 69:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 68:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 67:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 66:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 65:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 64:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 63:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 62:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 61:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 60:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 59:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 58:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 57:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 56:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 55:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 54:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 53:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 52:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 51:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 50:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 49:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 48:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 47:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 46:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 45:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 44:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 43:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 42:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 41:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 40:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 39:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 38:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 37:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 36:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 35:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 34:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 33:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 32:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 31:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 30:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 29:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 28:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 27:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 26:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 25:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 24:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 23:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 22:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 21:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 20:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 19:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 18:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 17:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 16:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 15:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 14:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 13:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 12:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 11:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 10:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 9:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 8:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 7:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 6:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 5:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 4:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 3:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 2:
return 'Experimental product'
if table2Version == 216 and indicatorOfParameter == 1:
return 'Experimental product'
if table2Version == 215 and indicatorOfParameter == 211:
return 'Vertically integrated mass of ammonium aerosol'
if table2Version == 215 and indicatorOfParameter == 210:
return 'Negative fixer of ammonium aerosol'
if table2Version == 215 and indicatorOfParameter == 209:
return 'Wet deposition of ammonium aerosol by convective precipitation'
if table2Version == 215 and indicatorOfParameter == 208:
return 'Wet deposition of ammonium aerosol by large-scale precipitation'
if table2Version == 215 and indicatorOfParameter == 207:
return 'Sedimentation of ammonium aerosol'
if table2Version == 215 and indicatorOfParameter == 206:
return 'Dry deposition of ammonium aerosol'
if table2Version == 215 and indicatorOfParameter == 205:
return 'Source/gain of ammonium aerosol'
if table2Version == 215 and indicatorOfParameter == 204:
return 'Coarse-mode nitrate aerosol optical depth at 550 nm'
if table2Version == 215 and indicatorOfParameter == 203:
return 'Fine-mode nitrate aerosol optical depth at 550 nm'
if table2Version == 215 and indicatorOfParameter == 202:
return 'Vertically integrated mass of coarse-mode nitrate aerosol'
if table2Version == 215 and indicatorOfParameter == 201:
return 'Vertically integrated mass of fine-mode nitrate aerosol'
if table2Version == 215 and indicatorOfParameter == 200:
return 'Negative fixer of coarse-mode nitrate aerosol'
if table2Version == 215 and indicatorOfParameter == 199:
return 'Negative fixer of fine-mode nitrate aerosol'
if table2Version == 215 and indicatorOfParameter == 198:
return 'Wet deposition of coarse-mode nitrate aerosol by convective precipitation'
if table2Version == 215 and indicatorOfParameter == 197:
return 'Wet deposition of fine-mode nitrate aerosol by convective precipitation'
if table2Version == 215 and indicatorOfParameter == 196:
return 'Wet deposition of coarse-mode nitrate aerosol by large-scale precipitation'
if table2Version == 215 and indicatorOfParameter == 195:
return 'Wet deposition of fine-mode nitrate aerosol by large-scale precipitation'
if table2Version == 215 and indicatorOfParameter == 194:
return 'Sedimentation of coarse-mode nitrate aerosol'
if table2Version == 215 and indicatorOfParameter == 193:
return 'Sedimentation of fine-mode nitrate aerosol'
if table2Version == 215 and indicatorOfParameter == 192:
return 'Dry deposition of coarse-mode nitrate aerosol'
if table2Version == 215 and indicatorOfParameter == 191:
return 'Dry deposition of fine-mode nitrate aerosol'
if table2Version == 215 and indicatorOfParameter == 190:
return 'Source/gain of coarse-mode nitrate aerosol'
if table2Version == 215 and indicatorOfParameter == 189:
return 'Source/gain of fine-mode nitrate aerosol'
if table2Version == 215 and indicatorOfParameter == 188:
return 'Aerosol backscatter coefficient at 1064 nm (from ground)'
if table2Version == 215 and indicatorOfParameter == 187:
return 'Aerosol backscatter coefficient at 532 nm (from ground)'
if table2Version == 215 and indicatorOfParameter == 186:
return 'Aerosol backscatter coefficient at 355 nm (from ground)'
if table2Version == 215 and indicatorOfParameter == 185:
return 'Aerosol backscatter coefficient at 1064 nm (from top of atmosphere)'
if table2Version == 215 and indicatorOfParameter == 184:
return 'Aerosol backscatter coefficient at 532 nm (from top of atmosphere)'
if table2Version == 215 and indicatorOfParameter == 183:
return 'Aerosol backscatter coefficient at 355 nm (from top of atmosphere)'
if table2Version == 215 and indicatorOfParameter == 182:
return 'Aerosol extinction coefficient at 1064 nm'
if table2Version == 215 and indicatorOfParameter == 181:
return 'Aerosol extinction coefficient at 532 nm'
if table2Version == 215 and indicatorOfParameter == 180:
return 'Aerosol extinction coefficient at 355 nm'
if table2Version == 215 and indicatorOfParameter == 179:
return 'Asymmetry factor at 2130 nm'
if table2Version == 215 and indicatorOfParameter == 178:
return 'Single scattering albedo at 2130 nm'
if table2Version == 215 and indicatorOfParameter == 177:
return 'Total fine mode (r < 0.5 um) aerosol optical depth at 2130 nm'
if table2Version == 215 and indicatorOfParameter == 176:
return 'Total absorption aerosol optical depth at 2130 nm'
if table2Version == 215 and indicatorOfParameter == 175:
return 'Sulphur dioxide optical depth'
if table2Version == 215 and indicatorOfParameter == 174:
return 'Vertically integrated mass of sulphur dioxide'
if table2Version == 215 and indicatorOfParameter == 173:
return 'Negative fixer of sulphur dioxide'
if table2Version == 215 and indicatorOfParameter == 172:
return 'Wet deposition of sulphur dioxide by convective precipitation'
if table2Version == 215 and indicatorOfParameter == 171:
return 'Wet deposition of sulphur dioxide by large-scale precipitation'
if table2Version == 215 and indicatorOfParameter == 170:
return 'Sedimentation of sulphur dioxide'
if table2Version == 215 and indicatorOfParameter == 169:
return 'Dry deposition of sulphur dioxide'
if table2Version == 215 and indicatorOfParameter == 168:
return 'Source/gain of sulphur dioxide'
if table2Version == 215 and indicatorOfParameter == 167:
return 'Asymmetry factor at 1640 nm'
if table2Version == 215 and indicatorOfParameter == 166:
return 'Asymmetry factor at 1240 nm'
if table2Version == 215 and indicatorOfParameter == 165:
return 'Asymmetry factor at 1064 nm'
if table2Version == 215 and indicatorOfParameter == 164:
return 'Asymmetry factor at 1020 nm'
if table2Version == 215 and indicatorOfParameter == 163:
return 'Asymmetry factor at 865 nm'
if table2Version == 215 and indicatorOfParameter == 162:
return 'Asymmetry factor at 858 nm'
if table2Version == 215 and indicatorOfParameter == 161:
return 'Asymmetry factor at 800 nm'
if table2Version == 215 and indicatorOfParameter == 160:
return 'Asymmetry factor at 670 nm'
if table2Version == 215 and indicatorOfParameter == 159:
return 'Asymmetry factor at 645 nm'
if table2Version == 215 and indicatorOfParameter == 158:
return 'Asymmetry factor at 550 nm'
if table2Version == 215 and indicatorOfParameter == 157:
return 'Asymmetry factor at 532 nm'
if table2Version == 215 and indicatorOfParameter == 156:
return 'Asymmetry factor at 500 nm'
if table2Version == 215 and indicatorOfParameter == 155:
return 'Asymmetry factor at 469 nm'
if table2Version == 215 and indicatorOfParameter == 154:
return 'Asymmetry factor at 440 nm'
if table2Version == 215 and indicatorOfParameter == 153:
return 'Asymmetry factor at 400 nm'
if table2Version == 215 and indicatorOfParameter == 152:
return 'Asymmetry factor at 380 nm'
if table2Version == 215 and indicatorOfParameter == 151:
return 'Asymmetry factor at 355 nm'
if table2Version == 215 and indicatorOfParameter == 150:
return 'Asymmetry factor at 340 nm'
if table2Version == 215 and indicatorOfParameter == 149:
return 'Single scattering albedo at 1640 nm'
if table2Version == 215 and indicatorOfParameter == 148:
return 'Single scattering albedo at 1240 nm'
if table2Version == 215 and indicatorOfParameter == 147:
return 'Single scattering albedo at 1064 nm'
if table2Version == 215 and indicatorOfParameter == 146:
return 'Single scattering albedo at 1020 nm'
if table2Version == 215 and indicatorOfParameter == 145:
return 'Single scattering albedo at 865 nm'
if table2Version == 215 and indicatorOfParameter == 144:
return 'Single scattering albedo at 858 nm'
if table2Version == 215 and indicatorOfParameter == 143:
return 'Single scattering albedo at 800 nm'
if table2Version == 215 and indicatorOfParameter == 142:
return 'Single scattering albedo at 670 nm'
if table2Version == 215 and indicatorOfParameter == 141:
return 'Single scattering albedo at 645 nm'
if table2Version == 215 and indicatorOfParameter == 140:
return 'Single scattering albedo at 550 nm'
if table2Version == 215 and indicatorOfParameter == 139:
return 'Single scattering albedo at 532 nm'
if table2Version == 215 and indicatorOfParameter == 138:
return 'Single scattering albedo at 500 nm'
if table2Version == 215 and indicatorOfParameter == 137:
return 'Single scattering albedo at 469 nm'
if table2Version == 215 and indicatorOfParameter == 136:
return 'Single scattering albedo at 440 nm'
if table2Version == 215 and indicatorOfParameter == 135:
return 'Single scattering albedo at 400 nm'
if table2Version == 215 and indicatorOfParameter == 134:
return 'Single scattering albedo at 380 nm'
if table2Version == 215 and indicatorOfParameter == 133:
return 'Single scattering albedo at 355 nm'
if table2Version == 215 and indicatorOfParameter == 132:
return 'Single scattering albedo at 340 nm'
if table2Version == 215 and indicatorOfParameter == 131:
return 'Total fine mode (r < 0.5 um) aerosol optical depth at 1640 nm'
if table2Version == 215 and indicatorOfParameter == 130:
return 'Total fine mode (r < 0.5 um) aerosol optical depth at 1240 nm'
if table2Version == 215 and indicatorOfParameter == 129:
return 'Total fine mode (r < 0.5 um) aerosol optical depth at 1064 nm'
if table2Version == 215 and indicatorOfParameter == 128:
return 'Total fine mode (r < 0.5 um) aerosol optical depth at 1020 nm'
if table2Version == 215 and indicatorOfParameter == 127:
return 'Total fine mode (r < 0.5 um) aerosol optical depth at 865 nm'
if table2Version == 215 and indicatorOfParameter == 126:
return 'Total fine mode (r < 0.5 um) aerosol optical depth at 858 nm'
if table2Version == 215 and indicatorOfParameter == 125:
return 'Total fine mode (r < 0.5 um) aerosol optical depth at 800 nm'
if table2Version == 215 and indicatorOfParameter == 124:
return 'Total fine mode (r < 0.5 um) aerosol optical depth at 670 nm'
if table2Version == 215 and indicatorOfParameter == 123:
return 'Total fine mode (r < 0.5 um) aerosol optical depth at 645 nm'
if table2Version == 215 and indicatorOfParameter == 122:
return 'Total fine mode (r < 0.5 um) aerosol optical depth at 550 nm'
if table2Version == 215 and indicatorOfParameter == 121:
return 'Total fine mode (r < 0.5 um) aerosol optical depth at 532 nm'
if table2Version == 215 and indicatorOfParameter == 120:
return 'Total fine mode (r < 0.5 um) aerosol optical depth at 500 nm'
if table2Version == 215 and indicatorOfParameter == 119:
return 'Total fine mode (r < 0.5 um) aerosol optical depth at 469 nm'
if table2Version == 215 and indicatorOfParameter == 118:
return 'Total fine mode (r < 0.5 um) aerosol optical depth at 440 nm'
if table2Version == 215 and indicatorOfParameter == 117:
return 'Total fine mode (r < 0.5 um) aerosol optical depth at 400 nm'
if table2Version == 215 and indicatorOfParameter == 116:
return 'Total fine mode (r < 0.5 um) aerosol optical depth at 380 nm'
if table2Version == 215 and indicatorOfParameter == 115:
return 'Total fine mode (r < 0.5 um) aerosol optical depth at 355 nm'
if table2Version == 215 and indicatorOfParameter == 114:
return 'Total fine mode (r < 0.5 um) aerosol optical depth at 340 nm'
if table2Version == 215 and indicatorOfParameter == 113:
return 'Total absorption aerosol optical depth at 1640 nm'
if table2Version == 215 and indicatorOfParameter == 112:
return 'Total absorption aerosol optical depth at 1240 nm'
if table2Version == 215 and indicatorOfParameter == 111:
return 'Total absorption aerosol optical depth at 1064 nm'
if table2Version == 215 and indicatorOfParameter == 110:
return 'Total absorption aerosol optical depth at 1020 nm'
if table2Version == 215 and indicatorOfParameter == 109:
return 'Total absorption aerosol optical depth at 865 nm'
if table2Version == 215 and indicatorOfParameter == 108:
return 'Total absorption aerosol optical depth at 858 nm'
if table2Version == 215 and indicatorOfParameter == 107:
return 'Total absorption aerosol optical depth at 800 nm'
if table2Version == 215 and indicatorOfParameter == 106:
return 'Total absorption aerosol optical depth at 670 nm'
if table2Version == 215 and indicatorOfParameter == 105:
return 'Total absorption aerosol optical depth at 645 nm'
if table2Version == 215 and indicatorOfParameter == 104:
return 'Total absorption aerosol optical depth at 550 nm'
if table2Version == 215 and indicatorOfParameter == 103:
return 'Total absorption aerosol optical depth at 532 nm'
if table2Version == 215 and indicatorOfParameter == 102:
return 'Total absorption aerosol optical depth at 500 nm'
if table2Version == 215 and indicatorOfParameter == 101:
return 'Total absorption aerosol optical depth at 469 nm'
if table2Version == 215 and indicatorOfParameter == 100:
return 'Total absorption aerosol optical depth at 440 nm'
if table2Version == 215 and indicatorOfParameter == 99:
return 'Total absorption aerosol optical depth at 400 nm'
if table2Version == 215 and indicatorOfParameter == 98:
return 'Total absorption aerosol optical depth at 380 nm'
if table2Version == 215 and indicatorOfParameter == 97:
return 'Total absorption aerosol optical depth at 355 nm'
if table2Version == 215 and indicatorOfParameter == 96:
return 'Total absorption aerosol optical depth at 340 nm'
if table2Version == 215 and indicatorOfParameter == 95:
return 'Antropogenic (black carbon, organic matter, sulphate) aerosol optical thickness at 532 nm'
if table2Version == 215 and indicatorOfParameter == 94:
return 'Natural (sea-salt and dust) aerosol optical thickness at 532 nm'
if table2Version == 215 and indicatorOfParameter == 93:
return 'Total aerosol optical thickness at 532 nm'
if table2Version == 215 and indicatorOfParameter == 92:
return '10 metre wind gustiness dust emission potential'
if table2Version == 215 and indicatorOfParameter == 91:
return '10 metre wind speed dust emission potential'
if table2Version == 215 and indicatorOfParameter == 90:
return 'Effective (snow effect included) UV visible albedo for direct radiation'
if table2Version == 215 and indicatorOfParameter == 89:
return 'Accumulated total aerosol optical depth at 550 nm'
if table2Version == 215 and indicatorOfParameter == 88:
return 'Sulphate aerosol optical depth'
if table2Version == 215 and indicatorOfParameter == 87:
return 'Vertically integrated mass of sulphate aerosol'
if table2Version == 215 and indicatorOfParameter == 86:
return 'Negative fixer of sulphate aerosol'
if table2Version == 215 and indicatorOfParameter == 85:
return 'Wet deposition of sulphate aerosol by convective precipitation'
if table2Version == 215 and indicatorOfParameter == 84:
return 'Wet deposition of sulphate aerosol by large-scale precipitation'
if table2Version == 215 and indicatorOfParameter == 83:
return 'Sedimentation of sulphate aerosol'
if table2Version == 215 and indicatorOfParameter == 82:
return 'Dry deposition of sulphate aerosol'
if table2Version == 215 and indicatorOfParameter == 81:
return 'Source/gain of sulphate aerosol'
if table2Version == 215 and indicatorOfParameter == 80:
return 'Hydrophilic black carbon aerosol optical depth'
if table2Version == 215 and indicatorOfParameter == 79:
return 'Hydrophobic black carbon aerosol optical depth'
if table2Version == 215 and indicatorOfParameter == 78:
return 'Vertically integrated mass of hydrophilic black carbon aerosol'
if table2Version == 215 and indicatorOfParameter == 77:
return 'Vertically integrated mass of hydrophobic black carbon aerosol'
if table2Version == 215 and indicatorOfParameter == 76:
return 'Negative fixer of hydrophilic black carbon aerosol'
if table2Version == 215 and indicatorOfParameter == 75:
return 'Negative fixer of hydrophobic black carbon aerosol'
if table2Version == 215 and indicatorOfParameter == 74:
return 'Wet deposition of hydrophilic black carbon aerosol by convective precipitation'
if table2Version == 215 and indicatorOfParameter == 73:
return 'Wet deposition of hydrophobic black carbon aerosol by convective precipitation'
if table2Version == 215 and indicatorOfParameter == 72:
return 'Wet deposition of hydrophilic black carbon aerosol by large-scale precipitation'
if table2Version == 215 and indicatorOfParameter == 71:
return 'Wet deposition of hydrophobic black carbon aerosol by large-scale precipitation'
if table2Version == 215 and indicatorOfParameter == 70:
return 'Sedimentation of hydrophilic black carbon aerosol'
if table2Version == 215 and indicatorOfParameter == 69:
return 'Sedimentation of hydrophobic black carbon aerosol'
if table2Version == 215 and indicatorOfParameter == 68:
return 'Dry deposition of hydrophilic black carbon aerosol'
if table2Version == 215 and indicatorOfParameter == 67:
return 'Dry deposition of hydrophobic black carbon aerosol'
if table2Version == 215 and indicatorOfParameter == 66:
return 'Source/gain of hydrophilic black carbon aerosol'
if table2Version == 215 and indicatorOfParameter == 65:
return 'Source/gain of hydrophobic black carbon aerosol'
if table2Version == 215 and indicatorOfParameter == 64:
return 'Hydrophilic organic matter aerosol optical depth'
if table2Version == 215 and indicatorOfParameter == 63:
return 'Hydrophobic organic matter aerosol optical depth'
if table2Version == 215 and indicatorOfParameter == 62:
return 'Vertically integrated mass of hydrophilic organic matter aerosol'
if table2Version == 215 and indicatorOfParameter == 61:
return 'Vertically integrated mass of hydrophobic organic matter aerosol'
if table2Version == 215 and indicatorOfParameter == 60:
return 'Negative fixer of hydrophilic organic matter aerosol'
if table2Version == 215 and indicatorOfParameter == 59:
return 'Negative fixer of hydrophobic organic matter aerosol'
if table2Version == 215 and indicatorOfParameter == 58:
return 'Wet deposition of hydrophilic organic matter aerosol by convective precipitation'
if table2Version == 215 and indicatorOfParameter == 57:
return 'Wet deposition of hydrophobic organic matter aerosol by convective precipitation'
if table2Version == 215 and indicatorOfParameter == 56:
return 'Wet deposition of hydrophilic organic matter aerosol by large-scale precipitation'
if table2Version == 215 and indicatorOfParameter == 55:
return 'Wet deposition of hydrophobic organic matter aerosol by large-scale precipitation'
if table2Version == 215 and indicatorOfParameter == 54:
return 'Sedimentation of hydrophilic organic matter aerosol'
if table2Version == 215 and indicatorOfParameter == 53:
return 'Sedimentation of hydrophobic organic matter aerosol'
if table2Version == 215 and indicatorOfParameter == 52:
return 'Dry deposition of hydrophilic organic matter aerosol'
if table2Version == 215 and indicatorOfParameter == 51:
return 'Dry deposition of hydrophobic organic matter aerosol'
if table2Version == 215 and indicatorOfParameter == 50:
return 'Source/gain of hydrophilic organic matter aerosol'
if table2Version == 215 and indicatorOfParameter == 49:
return 'Source/gain of hydrophobic organic matter aerosol'
if table2Version == 215 and indicatorOfParameter == 48:
return 'Dust aerosol (9 - 20 um) optical depth'
if table2Version == 215 and indicatorOfParameter == 47:
return 'Dust aerosol (0.55 - 9 um) optical depth'
if table2Version == 215 and indicatorOfParameter == 46:
return 'Dust aerosol (0.03 - 0.55 um) optical depth'
if table2Version == 215 and indicatorOfParameter == 45:
return 'Vertically integrated mass of dust aerosol (9 - 20 um)'
if table2Version == 215 and indicatorOfParameter == 44:
return 'Vertically integrated mass of dust aerosol (0.55 - 9 um)'
if table2Version == 215 and indicatorOfParameter == 43:
return 'Vertically integrated mass of dust aerosol (0.03 - 0.55 um)'
if table2Version == 215 and indicatorOfParameter == 42:
return 'Negative fixer of dust aerosol (9 - 20 um)'
if table2Version == 215 and indicatorOfParameter == 41:
return 'Negative fixer of dust aerosol (0.55 - 9 um)'
if table2Version == 215 and indicatorOfParameter == 40:
return 'Negative fixer of dust aerosol (0.03 - 0.55 um)'
if table2Version == 215 and indicatorOfParameter == 39:
return 'Wet deposition of dust aerosol (9 - 20 um) by convective precipitation'
if table2Version == 215 and indicatorOfParameter == 38:
return 'Wet deposition of dust aerosol (0.55 - 9 um) by convective precipitation'
if table2Version == 215 and indicatorOfParameter == 37:
return 'Wet deposition of dust aerosol (0.03 - 0.55 um) by convective precipitation'
if table2Version == 215 and indicatorOfParameter == 36:
return 'Wet deposition of dust aerosol (9 - 20 um) by large-scale precipitation'
if table2Version == 215 and indicatorOfParameter == 35:
return 'Wet deposition of dust aerosol (0.55 - 9 um) by large-scale precipitation'
if table2Version == 215 and indicatorOfParameter == 34:
return 'Wet deposition of dust aerosol (0.03 - 0.55 um) by large-scale precipitation'
if table2Version == 215 and indicatorOfParameter == 33:
return 'Sedimentation of dust aerosol (9 - 20 um)'
if table2Version == 215 and indicatorOfParameter == 32:
return 'Sedimentation of dust aerosol (0.55 - 9 um)'
if table2Version == 215 and indicatorOfParameter == 31:
return 'Sedimentation of dust aerosol (0.03 - 0.55 um)'
if table2Version == 215 and indicatorOfParameter == 30:
return 'Dry deposition of dust aerosol (9 - 20 um)'
if table2Version == 215 and indicatorOfParameter == 29:
return 'Dry deposition of dust aerosol (0.55 - 9 um)'
if table2Version == 215 and indicatorOfParameter == 28:
return 'Dry deposition of dust aerosol (0.03 - 0.55 um)'
if table2Version == 215 and indicatorOfParameter == 27:
return 'Source/gain of dust aerosol (9 - 20 um)'
if table2Version == 215 and indicatorOfParameter == 26:
return 'Source/gain of dust aerosol (0.55 - 9 um)'
if table2Version == 215 and indicatorOfParameter == 25:
return 'Source/gain of dust aerosol (0.03 - 0.55 um)'
if table2Version == 215 and indicatorOfParameter == 24:
return 'Sea salt aerosol (5 - 20 um) optical depth'
if table2Version == 215 and indicatorOfParameter == 23:
return 'Sea salt aerosol (0.5 - 5 um) optical depth'
if table2Version == 215 and indicatorOfParameter == 22:
return 'Sea salt aerosol (0.03 - 0.5 um) optical depth'
if table2Version == 215 and indicatorOfParameter == 21:
return 'Vertically integrated mass of sea salt aerosol (5 - 20 um)'
if table2Version == 215 and indicatorOfParameter == 20:
return 'Vertically integrated mass of sea salt aerosol (0.5 - 5 um)'
if table2Version == 215 and indicatorOfParameter == 19:
return 'Vertically integrated mass of sea salt aerosol (0.03 - 0.5 um)'
if table2Version == 215 and indicatorOfParameter == 18:
return 'Negative fixer of sea salt aerosol (5 - 20 um)'
if table2Version == 215 and indicatorOfParameter == 17:
return 'Negative fixer of sea salt aerosol (0.5 - 5 um)'
if table2Version == 215 and indicatorOfParameter == 16:
return 'Negative fixer of sea salt aerosol (0.03 - 0.5 um)'
if table2Version == 215 and indicatorOfParameter == 15:
return 'Wet deposition of sea salt aerosol (5 - 20 um) by convective precipitation'
if table2Version == 215 and indicatorOfParameter == 14:
return 'Wet deposition of sea salt aerosol (0.5 - 5 um) by convective precipitation'
if table2Version == 215 and indicatorOfParameter == 13:
return 'Wet deposition of sea salt aerosol (0.03 - 0.5 um) by convective precipitation'
if table2Version == 215 and indicatorOfParameter == 12:
return 'Wet deposition of sea salt aerosol (5 - 20 um) by large-scale precipitation'
if table2Version == 215 and indicatorOfParameter == 11:
return 'Wet deposition of sea salt aerosol (0.5 - 5 um) by large-scale precipitation'
if table2Version == 215 and indicatorOfParameter == 10:
return 'Wet deposition of sea salt aerosol (0.03 - 0.5 um) by large-scale precipitation'
if table2Version == 215 and indicatorOfParameter == 9:
return 'Sedimentation of sea salt aerosol (5 - 20 um)'
if table2Version == 215 and indicatorOfParameter == 8:
return 'Sedimentation of sea salt aerosol (0.5 - 5 um)'
if table2Version == 215 and indicatorOfParameter == 7:
return 'Sedimentation of sea salt aerosol (0.03 - 0.5 um)'
if table2Version == 215 and indicatorOfParameter == 6:
return 'Dry deposition of sea salt aerosol (5 - 20 um)'
if table2Version == 215 and indicatorOfParameter == 5:
return 'Dry deposition of sea salt aerosol (0.5 - 5 um)'
if table2Version == 215 and indicatorOfParameter == 4:
return 'Dry deposition of sea salt aerosol (0.03 - 0.5 um)'
if table2Version == 215 and indicatorOfParameter == 3:
return 'Source/gain of sea salt aerosol (5 - 20 um)'
if table2Version == 215 and indicatorOfParameter == 2:
return 'Source/gain of sea salt aerosol (0.5 - 5 um)'
if table2Version == 215 and indicatorOfParameter == 1:
return 'Source/gain of sea salt aerosol (0.03 - 0.5 um)'
if table2Version == 214 and indicatorOfParameter == 52:
return 'Profile of optical thickness at 340 nm'
if table2Version == 214 and indicatorOfParameter == 51:
return 'Clear-sky surface UV spectral flux (395-400 nm)'
if table2Version == 214 and indicatorOfParameter == 50:
return 'Clear-sky surface UV spectral flux (390-395 nm)'
if table2Version == 214 and indicatorOfParameter == 49:
return 'Clear-sky surface UV spectral flux (385-390 nm)'
if table2Version == 214 and indicatorOfParameter == 48:
return 'Clear-sky surface UV spectral flux (380-385 nm)'
if table2Version == 214 and indicatorOfParameter == 47:
return 'Clear-sky surface UV spectral flux (375-380 nm)'
if table2Version == 214 and indicatorOfParameter == 46:
return 'Clear-sky surface UV spectral flux (370-375 nm)'
if table2Version == 214 and indicatorOfParameter == 45:
return 'Clear-sky surface UV spectral flux (365-370 nm)'
if table2Version == 214 and indicatorOfParameter == 44:
return 'Clear-sky surface UV spectral flux (360-365 nm)'
if table2Version == 214 and indicatorOfParameter == 43:
return 'Clear-sky surface UV spectral flux (355-360 nm)'
if table2Version == 214 and indicatorOfParameter == 42:
return 'Clear-sky surface UV spectral flux (350-355 nm)'
if table2Version == 214 and indicatorOfParameter == 41:
return 'Clear-sky surface UV spectral flux (345-350 nm)'
if table2Version == 214 and indicatorOfParameter == 40:
return 'Clear-sky surface UV spectral flux (340-345 nm)'
if table2Version == 214 and indicatorOfParameter == 39:
return 'Clear-sky surface UV spectral flux (335-340 nm)'
if table2Version == 214 and indicatorOfParameter == 38:
return 'Clear-sky surface UV spectral flux (330-335 nm)'
if table2Version == 214 and indicatorOfParameter == 37:
return 'Clear-sky surface UV spectral flux (325-330 nm)'
if table2Version == 214 and indicatorOfParameter == 36:
return 'Clear-sky surface UV spectral flux (320-325 nm)'
if table2Version == 214 and indicatorOfParameter == 35:
return 'Clear-sky surface UV spectral flux (315-320 nm)'
if table2Version == 214 and indicatorOfParameter == 34:
return 'Clear-sky surface UV spectral flux (310-315 nm)'
if table2Version == 214 and indicatorOfParameter == 33:
return 'Clear-sky surface UV spectral flux (305-310 nm)'
if table2Version == 214 and indicatorOfParameter == 32:
return 'Clear-sky surface UV spectral flux (300-305 nm)'
if table2Version == 214 and indicatorOfParameter == 31:
return 'Clear-sky surface UV spectral flux (295-300 nm)'
if table2Version == 214 and indicatorOfParameter == 30:
return 'Clear-sky surface UV spectral flux (290-295 nm)'
if table2Version == 214 and indicatorOfParameter == 29:
return 'Clear-sky surface UV spectral flux (285-290 nm)'
if table2Version == 214 and indicatorOfParameter == 28:
return 'Clear-sky surface UV spectral flux (280-285 nm)'
if table2Version == 214 and indicatorOfParameter == 27:
return 'Total surface UV spectral flux (395-400 nm)'
if table2Version == 214 and indicatorOfParameter == 26:
return 'Total surface UV spectral flux (390-395 nm)'
if table2Version == 214 and indicatorOfParameter == 25:
return 'Total surface UV spectral flux (385-390 nm)'
if table2Version == 214 and indicatorOfParameter == 24:
return 'Total surface UV spectral flux (380-385 nm)'
if table2Version == 214 and indicatorOfParameter == 23:
return 'Total surface UV spectral flux (375-380 nm)'
if table2Version == 214 and indicatorOfParameter == 22:
return 'Total surface UV spectral flux (370-375 nm)'
if table2Version == 214 and indicatorOfParameter == 21:
return 'Total surface UV spectral flux (365-370 nm)'
if table2Version == 214 and indicatorOfParameter == 20:
return 'Total surface UV spectral flux (360-365 nm)'
if table2Version == 214 and indicatorOfParameter == 19:
return 'Total surface UV spectral flux (355-360 nm)'
if table2Version == 214 and indicatorOfParameter == 18:
return 'Total surface UV spectral flux (350-355 nm)'
if table2Version == 214 and indicatorOfParameter == 17:
return 'Total surface UV spectral flux (345-350 nm)'
if table2Version == 214 and indicatorOfParameter == 16:
return 'Total surface UV spectral flux (340-345 nm)'
if table2Version == 214 and indicatorOfParameter == 15:
return 'Total surface UV spectral flux (335-340 nm)'
if table2Version == 214 and indicatorOfParameter == 14:
return 'Total surface UV spectral flux (330-335 nm)'
if table2Version == 214 and indicatorOfParameter == 13:
return 'Total surface UV spectral flux (325-330 nm)'
if table2Version == 214 and indicatorOfParameter == 12:
return 'Total surface UV spectral flux (320-325 nm)'
if table2Version == 214 and indicatorOfParameter == 11:
return 'Total surface UV spectral flux (315-320 nm)'
if table2Version == 214 and indicatorOfParameter == 10:
return 'Total surface UV spectral flux (310-315 nm)'
if table2Version == 214 and indicatorOfParameter == 9:
return 'Total surface UV spectral flux (305-310 nm)'
if table2Version == 214 and indicatorOfParameter == 8:
return 'Total surface UV spectral flux (300-305 nm)'
if table2Version == 214 and indicatorOfParameter == 7:
return 'Total surface UV spectral flux (295-300 nm)'
if table2Version == 214 and indicatorOfParameter == 6:
return 'Total surface UV spectral flux (290-295 nm)'
if table2Version == 214 and indicatorOfParameter == 5:
return 'Total surface UV spectral flux (285-290 nm)'
if table2Version == 214 and indicatorOfParameter == 4:
return 'Total surface UV spectral flux (280-285 nm)'
if table2Version == 214 and indicatorOfParameter == 3:
return 'UV biologically effective dose clear-sky'
if table2Version == 214 and indicatorOfParameter == 2:
return 'UV biologically effective dose'
if table2Version == 214 and indicatorOfParameter == 1:
return 'Cosine of solar zenith angle'
if table2Version == 213 and indicatorOfParameter == 150:
return 'Random pattern 50 for SPP scheme'
if table2Version == 213 and indicatorOfParameter == 149:
return 'Random pattern 49 for SPP scheme'
if table2Version == 213 and indicatorOfParameter == 148:
return 'Random pattern 48 for SPP scheme'
if table2Version == 213 and indicatorOfParameter == 147:
return 'Random pattern 47 for SPP scheme'
if table2Version == 213 and indicatorOfParameter == 146:
return 'Random pattern 46 for SPP scheme'
if table2Version == 213 and indicatorOfParameter == 145:
return 'Random pattern 45 for SPP scheme'
if table2Version == 213 and indicatorOfParameter == 144:
return 'Random pattern 44 for SPP scheme'
if table2Version == 213 and indicatorOfParameter == 143:
return 'Random pattern 43 for SPP scheme'
if table2Version == 213 and indicatorOfParameter == 142:
return 'Random pattern 42 for SPP scheme'
if table2Version == 213 and indicatorOfParameter == 141:
return 'Random pattern 41 for SPP scheme'
if table2Version == 213 and indicatorOfParameter == 140:
return 'Random pattern 40 for SPP scheme'
if table2Version == 213 and indicatorOfParameter == 139:
return 'Random pattern 39 for SPP scheme'
if table2Version == 213 and indicatorOfParameter == 138:
return 'Random pattern 38 for SPP scheme'
if table2Version == 213 and indicatorOfParameter == 137:
return 'Random pattern 37 for SPP scheme'
if table2Version == 213 and indicatorOfParameter == 136:
return 'Random pattern 36 for SPP scheme'
if table2Version == 213 and indicatorOfParameter == 135:
return 'Random pattern 35 for SPP scheme'
if table2Version == 213 and indicatorOfParameter == 134:
return 'Random pattern 34 for SPP scheme'
if table2Version == 213 and indicatorOfParameter == 133:
return 'Random pattern 33 for SPP scheme'
if table2Version == 213 and indicatorOfParameter == 132:
return 'Random pattern 32 for SPP scheme'
if table2Version == 213 and indicatorOfParameter == 131:
return 'Random pattern 31 for SPP scheme'
if table2Version == 213 and indicatorOfParameter == 130:
return 'Random pattern 30 for SPP scheme'
if table2Version == 213 and indicatorOfParameter == 129:
return 'Random pattern 29 for SPP scheme'
if table2Version == 213 and indicatorOfParameter == 128:
return 'Random pattern 28 for SPP scheme'
if table2Version == 213 and indicatorOfParameter == 127:
return 'Random pattern 27 for SPP scheme'
if table2Version == 213 and indicatorOfParameter == 126:
return 'Random pattern 26 for SPP scheme'
if table2Version == 213 and indicatorOfParameter == 125:
return 'Random pattern 25 for SPP scheme'
if table2Version == 213 and indicatorOfParameter == 124:
return 'Random pattern 24 for SPP scheme'
if table2Version == 213 and indicatorOfParameter == 123:
return 'Random pattern 23 for SPP scheme'
if table2Version == 213 and indicatorOfParameter == 122:
return 'Random pattern 22 for SPP scheme'
if table2Version == 213 and indicatorOfParameter == 121:
return 'Random pattern 21 for SPP scheme'
if table2Version == 213 and indicatorOfParameter == 120:
return 'Random pattern 20 for SPP scheme'
if table2Version == 213 and indicatorOfParameter == 119:
return 'Random pattern 19 for SPP scheme'
if table2Version == 213 and indicatorOfParameter == 118:
return 'Random pattern 18 for SPP scheme'
if table2Version == 213 and indicatorOfParameter == 117:
return 'Random pattern 17 for SPP scheme'
if table2Version == 213 and indicatorOfParameter == 116:
return 'Random pattern 16 for SPP scheme'
if table2Version == 213 and indicatorOfParameter == 115:
return 'Random pattern 15 for SPP scheme'
if table2Version == 213 and indicatorOfParameter == 114:
return 'Random pattern 14 for SPP scheme'
if table2Version == 213 and indicatorOfParameter == 113:
return 'Random pattern 13 for SPP scheme'
if table2Version == 213 and indicatorOfParameter == 112:
return 'Random pattern 12 for SPP scheme'
if table2Version == 213 and indicatorOfParameter == 111:
return 'Random pattern 11 for SPP scheme'
if table2Version == 213 and indicatorOfParameter == 110:
return 'Random pattern 10 for SPP scheme'
if table2Version == 213 and indicatorOfParameter == 109:
return 'Random pattern 9 for SPP scheme'
if table2Version == 213 and indicatorOfParameter == 108:
return 'Random pattern 8 for SPP scheme'
if table2Version == 213 and indicatorOfParameter == 107:
return 'Random pattern 7 for SPP scheme'
if table2Version == 213 and indicatorOfParameter == 106:
return 'Random pattern 6 for SPP scheme'
if table2Version == 213 and indicatorOfParameter == 105:
return 'Random pattern 5 for SPP scheme'
if table2Version == 213 and indicatorOfParameter == 104:
return 'Random pattern 4 for SPP scheme'
if table2Version == 213 and indicatorOfParameter == 103:
return 'Random pattern 3 for SPP scheme'
if table2Version == 213 and indicatorOfParameter == 102:
return 'Random pattern 2 for SPP scheme'
if table2Version == 213 and indicatorOfParameter == 101:
return 'Random pattern 1 for SPP scheme'
if table2Version == 213 and indicatorOfParameter == 5:
return 'Random pattern 5 for sppt'
if table2Version == 213 and indicatorOfParameter == 4:
return 'Random pattern 4 for sppt'
if table2Version == 213 and indicatorOfParameter == 3:
return 'Random pattern 3 for sppt'
if table2Version == 213 and indicatorOfParameter == 2:
return 'Random pattern 2 for sppt'
if table2Version == 213 and indicatorOfParameter == 1:
return 'Random pattern 1 for sppt'
if table2Version == 212 and indicatorOfParameter == 255:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 254:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 253:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 252:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 251:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 250:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 249:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 248:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 247:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 246:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 245:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 244:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 243:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 242:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 241:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 240:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 239:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 238:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 237:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 236:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 235:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 234:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 233:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 232:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 231:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 230:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 229:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 228:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 227:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 226:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 225:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 224:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 223:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 222:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 221:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 220:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 219:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 218:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 217:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 216:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 215:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 214:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 213:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 212:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 211:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 210:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 209:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 208:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 207:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 206:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 205:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 204:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 203:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 202:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 201:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 200:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 199:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 198:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 197:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 196:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 195:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 194:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 193:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 192:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 191:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 190:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 189:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 188:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 187:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 186:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 185:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 184:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 183:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 182:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 181:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 180:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 179:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 178:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 177:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 176:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 175:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 174:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 173:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 172:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 171:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 170:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 169:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 168:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 167:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 166:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 165:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 164:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 163:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 162:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 161:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 160:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 159:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 158:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 157:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 156:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 155:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 154:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 153:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 152:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 151:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 150:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 149:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 148:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 147:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 146:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 145:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 144:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 143:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 142:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 141:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 140:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 139:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 138:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 137:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 136:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 135:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 134:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 133:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 132:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 131:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 130:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 129:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 128:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 127:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 126:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 125:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 124:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 123:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 122:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 121:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 120:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 119:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 118:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 117:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 116:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 115:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 114:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 113:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 112:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 111:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 110:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 109:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 108:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 107:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 106:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 105:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 104:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 103:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 102:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 101:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 100:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 99:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 98:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 97:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 96:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 95:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 94:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 93:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 92:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 91:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 90:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 89:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 88:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 87:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 86:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 85:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 84:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 83:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 82:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 81:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 80:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 79:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 78:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 77:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 76:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 75:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 74:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 73:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 72:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 71:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 70:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 69:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 68:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 67:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 66:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 65:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 64:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 63:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 62:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 61:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 60:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 59:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 58:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 57:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 56:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 55:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 54:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 53:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 52:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 51:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 50:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 49:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 48:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 47:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 46:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 45:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 44:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 43:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 42:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 41:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 40:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 39:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 38:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 37:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 36:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 35:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 34:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 33:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 32:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 31:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 30:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 29:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 28:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 27:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 26:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 25:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 24:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 23:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 22:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 21:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 20:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 19:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 18:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 17:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 16:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 15:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 14:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 13:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 12:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 11:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 10:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 9:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 8:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 7:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 6:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 5:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 4:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 3:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 2:
return 'Experimental product'
if table2Version == 212 and indicatorOfParameter == 1:
return 'Experimental product'
if table2Version == 211 and indicatorOfParameter == 120:
return 'Altitude of plume top'
if table2Version == 211 and indicatorOfParameter == 119:
return 'Altitude of emitter'
if table2Version == 211 and indicatorOfParameter == 118:
return 'Wildfire Flux of Ethane (C2H6)'
if table2Version == 211 and indicatorOfParameter == 56:
return 'Experimental product'
if table2Version == 211 and indicatorOfParameter == 55:
return 'Experimental product'
if table2Version == 211 and indicatorOfParameter == 45:
return 'Water vapour mixing ratio for hydrophilic aerosols in mode 4'
if table2Version == 211 and indicatorOfParameter == 44:
return 'Water vapour mixing ratio for hydrophilic aerosols in mode 3'
if table2Version == 211 and indicatorOfParameter == 43:
return 'DMS surface emission'
if table2Version == 211 and indicatorOfParameter == 30:
return 'Water vapour mixing ratio for hydrophilic aerosols in mode 2'
if table2Version == 211 and indicatorOfParameter == 29:
return 'Water vapour mixing ratio for hydrophilic aerosols in mode 1'
if table2Version == 211 and indicatorOfParameter == 28:
return 'SO4 aerosol precursor mass mixing ratio'
if table2Version == 211 and indicatorOfParameter == 15:
return 'Aerosol type 15 mass mixing ratio'
if table2Version == 211 and indicatorOfParameter == 14:
return 'Aerosol type 14 mass mixing ratio'
if table2Version == 211 and indicatorOfParameter == 13:
return 'Aerosol type 13 mass mixing ratio'
if table2Version == 210 and indicatorOfParameter == 251:
return 'Ammonium aerosol optical depth at 550 nm'
if table2Version == 210 and indicatorOfParameter == 250:
return 'Nitrate aerosol optical depth at 550 nm'
if table2Version == 210 and indicatorOfParameter == 249:
return 'Ammonium aerosol mass mixing ratio'
if table2Version == 210 and indicatorOfParameter == 248:
return 'Nitrate coarse mode aerosol mass mixing ratio'
if table2Version == 210 and indicatorOfParameter == 247:
return 'Nitrate fine mode aerosol mass mixing ratio'
if table2Version == 210 and indicatorOfParameter == 246:
return 'Profile of total aerosol dry absorption coefficient'
if table2Version == 210 and indicatorOfParameter == 245:
return 'Profile of total aerosol dry extinction coefficient'
if table2Version == 210 and indicatorOfParameter == 244:
return 'Volcanic ash optical depth at 550 nm'
if table2Version == 210 and indicatorOfParameter == 243:
return 'Volcanic sulphate aerosol optical depth at 550 nm'
if table2Version == 210 and indicatorOfParameter == 242:
return 'Altitude of plume bottom'
if table2Version == 210 and indicatorOfParameter == 241:
return 'Wildfire Flux of Heptane (C7H16)'
if table2Version == 210 and indicatorOfParameter == 240:
return 'Wildfire Flux of Hexanes (C6H14)'
if table2Version == 210 and indicatorOfParameter == 239:
return 'Wildfire Flux of Pentanes (C5H12)'
if table2Version == 210 and indicatorOfParameter == 238:
return 'Wildfire Flux of Butanes (C4H10)'
if table2Version == 210 and indicatorOfParameter == 237:
return 'Wildfire Flux of Octene (C8H16)'
if table2Version == 210 and indicatorOfParameter == 236:
return 'Wildfire Flux of Hexene (C6H12)'
if table2Version == 210 and indicatorOfParameter == 235:
return 'Wildfire Flux of Pentenes (C5H10)'
if table2Version == 210 and indicatorOfParameter == 234:
return 'Wildfire Flux of Butenes (C4H8)'
if table2Version == 210 and indicatorOfParameter == 233:
return 'Wildfire Flux of Xylene (C8H10)'
if table2Version == 210 and indicatorOfParameter == 232:
return 'Wildfire Flux of Benzene (C6H6)'
if table2Version == 210 and indicatorOfParameter == 231:
return 'Wildfire Flux of Toluene (C7H8)'
if table2Version == 210 and indicatorOfParameter == 230:
return 'Total aerosol optical depth at 2130 nm'
if table2Version == 210 and indicatorOfParameter == 229:
return 'Total aerosol optical depth at 1640 nm'
if table2Version == 210 and indicatorOfParameter == 228:
return 'Total aerosol optical depth at 1064 nm'
if table2Version == 210 and indicatorOfParameter == 227:
return 'Total aerosol optical depth at 1020 nm'
if table2Version == 210 and indicatorOfParameter == 226:
return 'Total aerosol optical depth at 858 nm'
if table2Version == 210 and indicatorOfParameter == 225:
return 'Total aerosol optical depth at 800 nm'
if table2Version == 210 and indicatorOfParameter == 224:
return 'Total aerosol optical depth at 645 nm'
if table2Version == 210 and indicatorOfParameter == 223:
return 'Total aerosol optical depth at 532 nm'
if table2Version == 210 and indicatorOfParameter == 222:
return 'Total aerosol optical depth at 500 nm'
if table2Version == 210 and indicatorOfParameter == 221:
return 'Total aerosol optical depth at 440 nm'
if table2Version == 210 and indicatorOfParameter == 220:
return 'Total aerosol optical depth at 400 nm'
if table2Version == 210 and indicatorOfParameter == 219:
return 'Total aerosol optical depth at 380 nm'
if table2Version == 210 and indicatorOfParameter == 218:
return 'Total aerosol optical depth at 355 nm'
if table2Version == 210 and indicatorOfParameter == 217:
return 'Total aerosol optical depth at 340 nm'
if table2Version == 210 and indicatorOfParameter == 197:
return 'Near IR albedo for diffuse radiation, geometric component '
if table2Version == 210 and indicatorOfParameter == 196:
return 'Near IR albedo for diffuse radiation, volumetric component '
if table2Version == 210 and indicatorOfParameter == 195:
return 'Near IR albedo for diffuse radiation, isotropic component '
if table2Version == 210 and indicatorOfParameter == 194:
return 'UV visible albedo for diffuse radiation, geometric component '
if table2Version == 210 and indicatorOfParameter == 193:
return 'UV visible albedo for diffuse radiation, volumetric component '
if table2Version == 210 and indicatorOfParameter == 192:
return 'UV visible albedo for diffuse radiation, isotropic component '
if table2Version == 210 and indicatorOfParameter == 191:
return 'Near IR albedo for direct radiation, geometric component '
if table2Version == 210 and indicatorOfParameter == 190:
return 'Near IR albedo for direct radiation, volumetric component'
if table2Version == 210 and indicatorOfParameter == 189:
return 'Near IR albedo for direct radiation, isotropic component '
if table2Version == 210 and indicatorOfParameter == 188:
return 'UV visible albedo for direct radiation, geometric component '
if table2Version == 210 and indicatorOfParameter == 187:
return 'UV visible albedo for direct radiation, volumetric component '
if table2Version == 210 and indicatorOfParameter == 186:
return 'UV visible albedo for direct radiation, isotropic component '
if table2Version == 210 and indicatorOfParameter == 120:
return 'Altitude of plume top'
if table2Version == 210 and indicatorOfParameter == 119:
return 'Mean altitude of maximum injection'
if table2Version == 210 and indicatorOfParameter == 118:
return 'Wildfire Flux of Ethane (C2H6)'
if table2Version == 210 and indicatorOfParameter == 79:
return 'Wildfire viewing angle of observation'
if table2Version == 210 and indicatorOfParameter == 74:
return 'Particulate matter d < 10 um'
if table2Version == 210 and indicatorOfParameter == 73:
return 'Particulate matter d < 2.5 um'
if table2Version == 210 and indicatorOfParameter == 72:
return 'Particulate matter d < 1 um'
if table2Version == 210 and indicatorOfParameter == 60:
return 'Injection height (from IS4FIRES)'
if table2Version == 210 and indicatorOfParameter == 59:
return 'Secondary organic precursor mixing ratio'
if table2Version == 210 and indicatorOfParameter == 58:
return 'Monoterpene precursor mixing ratio'
if table2Version == 210 and indicatorOfParameter == 57:
return 'Mixing ration of organic carbon aerosol, nucleation mode'
if table2Version == 210 and indicatorOfParameter == 56:
return 'Experimental product'
if table2Version == 210 and indicatorOfParameter == 55:
return 'Experimental product'
if table2Version == 210 and indicatorOfParameter == 45:
return 'Water vapour mixing ratio for hydrophilic aerosols in mode 4'
if table2Version == 210 and indicatorOfParameter == 44:
return 'Water vapour mixing ratio for hydrophilic aerosols in mode 3'
if table2Version == 210 and indicatorOfParameter == 43:
return 'DMS surface emission'
if table2Version == 210 and indicatorOfParameter == 30:
return 'Water vapour mixing ratio for hydrophilic aerosols in mode 2'
if table2Version == 210 and indicatorOfParameter == 29:
return 'Water vapour mixing ratio for hydrophilic aerosols in mode 1'
if table2Version == 210 and indicatorOfParameter == 28:
return 'SO4 aerosol precursor mass mixing ratio'
if table2Version == 210 and indicatorOfParameter == 15:
return 'Volcanic SO2 precursor mixing ratio'
if table2Version == 210 and indicatorOfParameter == 14:
return 'Volcanic sulphate aerosol mixing ratio'
if table2Version == 210 and indicatorOfParameter == 13:
return 'Volcanic ash aerosol mixing ratio'
if table2Version == 174 and indicatorOfParameter == 249:
return 'Total cloud amount in lw radiation'
if table2Version == 174 and indicatorOfParameter == 248:
return 'Total cloud amount - random overlap'
if table2Version == 174 and indicatorOfParameter == 240:
return 'Large scale snowfall rate'
if table2Version == 174 and indicatorOfParameter == 239:
return 'Convective snowfall rate'
if table2Version == 174 and indicatorOfParameter == 186:
return 'Very low cloud amount'
if table2Version == 174 and indicatorOfParameter == 143:
return 'Convective rainfall rate'
if table2Version == 174 and indicatorOfParameter == 142:
return 'Large scale rainfall rate'
if table2Version == 174 and indicatorOfParameter == 137:
return 'Total column water vapour'
if table2Version == 174 and indicatorOfParameter == 117:
return 'Short wave radiation flux at top of atmosphere'
if table2Version == 174 and indicatorOfParameter == 116:
return 'Short wave radiation flux at surface'
if table2Version == 174 and indicatorOfParameter == 97:
return 'Sea ice snow thickness'
if table2Version == 174 and indicatorOfParameter == 96:
return '2 metre specific humidity'
if table2Version == 174 and indicatorOfParameter == 52:
return 'Relative humidity at 1.5m'
if table2Version == 174 and indicatorOfParameter == 51:
return 'Maximum temperature at 1.5m since previous post-processing'
if table2Version == 174 and indicatorOfParameter == 50:
return 'Minimum temperature at 1.5m since previous post-processing'
if table2Version == 174 and indicatorOfParameter == 25:
return 'Visibility at 1.5m'
if table2Version == 174 and indicatorOfParameter == 13:
return 'Clear-sky (II) up surface sw flux'
if table2Version == 174 and indicatorOfParameter == 10:
return 'Clear-sky (II) down surface sw flux'
if table2Version == 173 and indicatorOfParameter == 9:
return 'Mean sub-surface runoff rate anomaly'
if table2Version == 173 and indicatorOfParameter == 8:
return 'Mean surface runoff rate anomaly'
if table2Version == 172 and indicatorOfParameter == 9:
return 'Mean sub-surface runoff rate'
if table2Version == 172 and indicatorOfParameter == 8:
return 'Mean surface runoff rate'
if table2Version == 171 and indicatorOfParameter == 122:
return 'Minimum temperature at 2 metres in the last 6 hours anomaly'
if table2Version == 171 and indicatorOfParameter == 121:
return 'Maximum temperature at 2 metres in the last 6 hours anomaly'
if table2Version == 171 and indicatorOfParameter == 25:
return 'Lake ice depth anomaly'
if table2Version == 171 and indicatorOfParameter == 24:
return 'Lake mix-layer temperature anomaly'
if table2Version == 171 and indicatorOfParameter == 7:
return '100 metre V wind component anomaly'
if table2Version == 171 and indicatorOfParameter == 6:
return '100 metre U wind component anomaly'
if table2Version == 170 and indicatorOfParameter == 3:
return 'Standardised precipitation index valid in the last 12 months'
if table2Version == 170 and indicatorOfParameter == 2:
return 'Standardised precipitation index valid in the last 6 months'
if table2Version == 170 and indicatorOfParameter == 1:
return 'Standardised precipitation index valid in the last 3 months'
if table2Version == 162 and indicatorOfParameter == 141:
return 'q-tendency from shallow convection'
if table2Version == 162 and indicatorOfParameter == 140:
return 'T-tendency from shallow convection'
if table2Version == 162 and indicatorOfParameter == 139:
return 'V-tendency from shallow convection'
if table2Version == 162 and indicatorOfParameter == 138:
return 'U-tendency from shallow convection'
if table2Version == 162 and indicatorOfParameter == 137:
return 'Ice Precip flux from cloud scheme (stratiform)'
if table2Version == 162 and indicatorOfParameter == 136:
return 'Liquid Precip flux from cloud scheme (stratiform)'
if table2Version == 162 and indicatorOfParameter == 135:
return 'qi-tendency from cloud scheme'
if table2Version == 162 and indicatorOfParameter == 134:
return 'ql-tendency from cloud scheme'
if table2Version == 162 and indicatorOfParameter == 133:
return 'q-tendency from cloud scheme'
if table2Version == 162 and indicatorOfParameter == 132:
return 'T-tendency from cloud scheme'
if table2Version == 162 and indicatorOfParameter == 131:
return 'Ice Precipitation flux from convection'
if table2Version == 162 and indicatorOfParameter == 130:
return 'Liquid Precipitation flux from convection'
if table2Version == 162 and indicatorOfParameter == 129:
return 'q-tendency from convection (deep+shallow)'
if table2Version == 162 and indicatorOfParameter == 128:
return 'T-tendency from convection (deep+shallow)'
if table2Version == 162 and indicatorOfParameter == 127:
return 'V-tendency from convection (deep+shallow)'
if table2Version == 162 and indicatorOfParameter == 126:
return 'U-tendency from convection (deep+shallow)'
if table2Version == 162 and indicatorOfParameter == 125:
return 'T-tendency from subgrid orography'
if table2Version == 162 and indicatorOfParameter == 124:
return 'V-tendency from subgrid orography'
if table2Version == 162 and indicatorOfParameter == 123:
return 'U-tendency from subgrid orography'
if table2Version == 162 and indicatorOfParameter == 122:
return 'q-tendency from turbulent diffusion'
if table2Version == 162 and indicatorOfParameter == 121:
return 'T-tendency from turbulent diffusion + subgrid orography'
if table2Version == 162 and indicatorOfParameter == 120:
return 'V-tendency from turbulent diffusion + subgrid orography'
if table2Version == 162 and indicatorOfParameter == 119:
return 'U-tendency from turbulent diffusion + subgrid orography'
if table2Version == 162 and indicatorOfParameter == 118:
return 'T-tendency from radiation'
if table2Version == 162 and indicatorOfParameter == 117:
return 'q-tendency from dynamics'
if table2Version == 162 and indicatorOfParameter == 116:
return 'T-tendency from dynamics'
if table2Version == 162 and indicatorOfParameter == 115:
return 'V-tendency from dynamics'
if table2Version == 162 and indicatorOfParameter == 114:
return 'U-tendency from dynamics'
if table2Version == 162 and indicatorOfParameter == 92:
return 'Vertical integral of mass tendency'
if table2Version == 162 and indicatorOfParameter == 91:
return 'Vertical integral of northward cloud frozen water flux '
if table2Version == 162 and indicatorOfParameter == 90:
return 'Vertical integral of eastward cloud frozen water flux'
if table2Version == 162 and indicatorOfParameter == 89:
return 'Vertical integral of northward cloud liquid water flux'
if table2Version == 162 and indicatorOfParameter == 88:
return 'Vertical integral of eastward cloud liquid water flux'
if table2Version == 162 and indicatorOfParameter == 80:
return 'Vertical integral of divergence of cloud frozen water flux'
if table2Version == 162 and indicatorOfParameter == 79:
return 'Vertical integral of divergence of cloud liquid water flux'
if table2Version == 162 and indicatorOfParameter == 45:
return 'Water vapour flux'
if table2Version == 151 and indicatorOfParameter == 193:
return 'Reserved'
if table2Version == 140 and indicatorOfParameter == 214:
return 'Normalized stress into ocean'
if table2Version == 140 and indicatorOfParameter == 213:
return 'Turbulent Langmuir number'
if table2Version == 140 and indicatorOfParameter == 212:
return 'Normalized energy flux into ocean'
if table2Version == 140 and indicatorOfParameter == 211:
return 'Normalized energy flux into waves'
if table2Version == 140 and indicatorOfParameter == 210:
return 'Mean square wave strain in sea ice'
if table2Version == 140 and indicatorOfParameter == 209:
return 'Air density over the oceans'
if table2Version == 140 and indicatorOfParameter == 208:
return 'Free convective velocity over the oceans'
if table2Version == 140 and indicatorOfParameter == 207:
return 'Wave Spectral Skewness'
if table2Version == 140 and indicatorOfParameter == 129:
return 'Mean wave period of third swell partition'
if table2Version == 140 and indicatorOfParameter == 128:
return 'Mean wave direction of third swell partition'
if table2Version == 140 and indicatorOfParameter == 127:
return 'Significant wave height of third swell partition'
if table2Version == 140 and indicatorOfParameter == 126:
return 'Mean wave period of second swell partition'
if table2Version == 140 and indicatorOfParameter == 125:
return 'Mean wave direction of second swell partition'
if table2Version == 140 and indicatorOfParameter == 124:
return 'Significant wave height of second swell partition'
if table2Version == 140 and indicatorOfParameter == 123:
return 'Mean wave period of first swell partition'
if table2Version == 140 and indicatorOfParameter == 122:
return 'Mean wave direction of first swell partition'
if table2Version == 140 and indicatorOfParameter == 121:
return 'Significant wave height of first swell partition'
if table2Version == 140 and indicatorOfParameter == 120:
return 'Significant wave height of all waves with period larger than 10s'
if table2Version == 140 and indicatorOfParameter == 119:
return 'Significant wave height of all waves with periods within the inclusive range from 25 to 30 seconds'
if table2Version == 140 and indicatorOfParameter == 118:
return 'Significant wave height of all waves with periods within the inclusive range from 21 to 25 seconds'
if table2Version == 140 and indicatorOfParameter == 117:
return 'Significant wave height of all waves with periods within the inclusive range from 17 to 21 seconds'
if table2Version == 140 and indicatorOfParameter == 116:
return 'Significant wave height of all waves with periods within the inclusive range from 14 to 17 seconds'
if table2Version == 140 and indicatorOfParameter == 115:
return 'Significant wave height of all waves with periods within the inclusive range from 12 to 14 seconds'
if table2Version == 140 and indicatorOfParameter == 114:
return 'Significant wave height of all waves with periods within the inclusive range from 10 to 12 seconds'
if table2Version == 140 and indicatorOfParameter == 113:
return 'Wave energy flux mean direction'
if table2Version == 140 and indicatorOfParameter == 112:
return 'Wave energy flux magnitude'
if table2Version == 140 and indicatorOfParameter == 111:
return 'Wave frequency width of third swell partition'
if table2Version == 140 and indicatorOfParameter == 110:
return 'Wave directional width of third swell partition'
if table2Version == 140 and indicatorOfParameter == 109:
return 'Wave frequency width of second swell partition'
if table2Version == 140 and indicatorOfParameter == 108:
return 'Wave directional width of second swell partition'
if table2Version == 140 and indicatorOfParameter == 107:
return 'Wave frequency width of first swell partition'
if table2Version == 140 and indicatorOfParameter == 106:
return 'Wave directional width of first swell partition'
if table2Version == 140 and indicatorOfParameter == 105:
return 'Wave turbulent energy flux into ocean'
if table2Version == 140 and indicatorOfParameter == 104:
return 'V-component of surface momentum flux into ocean'
if table2Version == 140 and indicatorOfParameter == 103:
return 'U-component of surface momentum flux into ocean'
if table2Version == 140 and indicatorOfParameter == 102:
return 'V-component of atmospheric surface momentum flux'
if table2Version == 140 and indicatorOfParameter == 101:
return 'U-component of atmospheric surface momentum flux'
if table2Version == 140 and indicatorOfParameter == 100:
return 'Number of events in freak waves statistics'
if table2Version == 140 and indicatorOfParameter == 99:
return 'Ratio of wave angular and frequency width'
if table2Version == 140 and indicatorOfParameter == 98:
return 'Wave induced mean sea level correction'
if table2Version == 140 and indicatorOfParameter == 84:
return 'Wave experimental parameter 5'
if table2Version == 140 and indicatorOfParameter == 83:
return 'Wave experimental parameter 4'
if table2Version == 140 and indicatorOfParameter == 82:
return 'Wave experimental parameter 3'
if table2Version == 140 and indicatorOfParameter == 81:
return 'Wave experimental parameter 2'
if table2Version == 140 and indicatorOfParameter == 80:
return 'Wave experimental parameter 1'
if table2Version == 132 and indicatorOfParameter == 216:
return 'Maximum of significant wave height index'
if table2Version == 132 and indicatorOfParameter == 59:
return 'Convective available potential energy index'
if table2Version == 132 and indicatorOfParameter == 45:
return 'Water vapour flux index'
if table2Version == 132 and indicatorOfParameter == 44:
return 'Convective available potential energy shear index'
if table2Version == 131 and indicatorOfParameter == 100:
return '10 metre wind gust of at least 10 m/s'
if table2Version == 131 and indicatorOfParameter == 99:
return 'Total precipitation of at least 50 mm'
if table2Version == 131 and indicatorOfParameter == 98:
return 'Total precipitation of at least 25 mm'
if table2Version == 131 and indicatorOfParameter == 97:
return 'Probability anomaly of a tropical depression'
if table2Version == 131 and indicatorOfParameter == 96:
return 'Probability anomaly of a hurricane'
if table2Version == 131 and indicatorOfParameter == 95:
return 'Probability anomaly of a tropical storm'
if table2Version == 131 and indicatorOfParameter == 94:
return 'Climatological probability of a tropical depression'
if table2Version == 131 and indicatorOfParameter == 93:
return 'Climatological probability of a hurricane'
if table2Version == 131 and indicatorOfParameter == 92:
return 'Climatological probability of a tropical storm'
if table2Version == 131 and indicatorOfParameter == 91:
return 'Probability of a tropical depression'
if table2Version == 131 and indicatorOfParameter == 90:
return 'Probability of a hurricane'
if table2Version == 131 and indicatorOfParameter == 89:
return 'Probability of a tropical storm'
if table2Version == 200 and indicatorOfParameter == 255:
return 'Indicates a missing value'
if table2Version == 200 and indicatorOfParameter == 254:
return 'Adiabatic tendency of meridional wind difference'
if table2Version == 200 and indicatorOfParameter == 253:
return 'Adiabatic tendency of zonal wind difference'
if table2Version == 200 and indicatorOfParameter == 252:
return 'Adiabatic tendency of humidity difference'
if table2Version == 200 and indicatorOfParameter == 251:
return 'Adiabatic tendency of temperature difference'
if table2Version == 200 and indicatorOfParameter == 250:
return 'Ice age difference'
if table2Version == 200 and indicatorOfParameter == 249:
return 'Accumulated ice water tendency difference'
if table2Version == 200 and indicatorOfParameter == 248:
return 'Cloud cover difference'
if table2Version == 200 and indicatorOfParameter == 247:
return 'Specific cloud ice water content difference'
if table2Version == 200 and indicatorOfParameter == 246:
return 'Specific cloud liquid water content difference'
if table2Version == 200 and indicatorOfParameter == 245:
return 'Forecast logarithm of surface roughness for heat difference'
if table2Version == 200 and indicatorOfParameter == 244:
return 'Forecast surface roughness difference'
if table2Version == 200 and indicatorOfParameter == 243:
return 'Forecast albedo difference'
if table2Version == 200 and indicatorOfParameter == 242:
return 'Accumulated liquid water tendency difference'
if table2Version == 200 and indicatorOfParameter == 241:
return 'Accumulated cloud fraction tendency difference'
if table2Version == 200 and indicatorOfParameter == 240:
return 'Large scale snowfall difference'
if table2Version == 200 and indicatorOfParameter == 239:
return 'Convective snowfall difference'
if table2Version == 200 and indicatorOfParameter == 238:
return 'Temperature of snow layer difference'
if table2Version == 200 and indicatorOfParameter == 237:
return 'Soil wetness level 4 difference'
if table2Version == 200 and indicatorOfParameter == 236:
return 'Soil temperature level 4 difference'
if table2Version == 200 and indicatorOfParameter == 235:
return 'Skin temperature difference'
if table2Version == 200 and indicatorOfParameter == 234:
return 'Logarithm of surface roughness length for heat difference'
if table2Version == 200 and indicatorOfParameter == 233:
return 'Apparent surface humidity difference'
if table2Version == 200 and indicatorOfParameter == 232:
return 'Instantaneous moisture flux difference'
if table2Version == 200 and indicatorOfParameter == 231:
return 'Instantaneous surface heat flux difference'
if table2Version == 200 and indicatorOfParameter == 230:
return 'Instantaneous Y surface stress difference'
if table2Version == 200 and indicatorOfParameter == 229:
return 'Instantaneous X surface stress difference'
if table2Version == 200 and indicatorOfParameter == 228:
return 'Total precipitation difference'
if table2Version == 200 and indicatorOfParameter == 227:
return 'Change from removal of negative humidity difference'
if table2Version == 200 and indicatorOfParameter == 226:
return 'Humidity tendency by large-scale condensation difference'
if table2Version == 200 and indicatorOfParameter == 225:
return 'Humidity tendency by cumulus convection difference'
if table2Version == 200 and indicatorOfParameter == 224:
return 'Vertical diffusion of humidity difference'
if table2Version == 200 and indicatorOfParameter == 223:
return 'Convective tendency of meridional wind difference'
if table2Version == 200 and indicatorOfParameter == 222:
return 'Convective tendency of zonal wind difference'
if table2Version == 200 and indicatorOfParameter == 221:
return 'North-South gravity wave drag tendency difference'
if table2Version == 200 and indicatorOfParameter == 220:
return 'East-West gravity wave drag tendency difference'
if table2Version == 200 and indicatorOfParameter == 219:
return 'Vertical diffusion of meridional wind difference'
if table2Version == 200 and indicatorOfParameter == 218:
return 'Vertical diffusion of zonal wind difference'
if table2Version == 200 and indicatorOfParameter == 217:
return 'Diabatic heating large-scale condensation difference'
if table2Version == 200 and indicatorOfParameter == 216:
return 'Diabatic heating by cumulus convection difference'
if table2Version == 200 and indicatorOfParameter == 215:
return 'Diabatic heating by vertical diffusion difference'
if table2Version == 200 and indicatorOfParameter == 214:
return 'Diabatic heating by radiation difference'
if table2Version == 200 and indicatorOfParameter == 212:
return 'TOA incident solar radiation difference'
if table2Version == 200 and indicatorOfParameter == 211:
return 'Surface net thermal radiation, clear sky difference'
if table2Version == 200 and indicatorOfParameter == 210:
return 'Surface net solar radiation, clear sky difference'
if table2Version == 200 and indicatorOfParameter == 209:
return 'Top net thermal radiation, clear sky difference'
if table2Version == 200 and indicatorOfParameter == 208:
return 'Top net solar radiation, clear sky difference'
if table2Version == 200 and indicatorOfParameter == 207:
return '10 metre wind speed difference'
if table2Version == 200 and indicatorOfParameter == 206:
return 'Total column ozone difference'
if table2Version == 200 and indicatorOfParameter == 205:
return 'Runoff difference'
if table2Version == 200 and indicatorOfParameter == 204:
return 'Precipitation analysis weights difference'
if table2Version == 200 and indicatorOfParameter == 203:
return 'Ozone mass mixing ratio difference'
if table2Version == 200 and indicatorOfParameter == 202:
return 'Minimum temperature at 2 metres since previous post-processing difference'
if table2Version == 200 and indicatorOfParameter == 201:
return 'Maximum temperature at 2 metres since previous post-processing difference'
if table2Version == 200 and indicatorOfParameter == 200:
return 'Variance of sub-gridscale orography difference'
if table2Version == 200 and indicatorOfParameter == 199:
return 'Vegetation fraction difference'
if table2Version == 200 and indicatorOfParameter == 198:
return 'Skin reservoir content difference'
if table2Version == 200 and indicatorOfParameter == 197:
return 'Gravity wave dissipation difference'
if table2Version == 200 and indicatorOfParameter == 196:
return 'Meridional component of gravity wave stress difference'
if table2Version == 200 and indicatorOfParameter == 195:
return 'Longitudinal component of gravity wave stress difference'
if table2Version == 200 and indicatorOfParameter == 194:
return 'Brightness temperature difference'
if table2Version == 200 and indicatorOfParameter == 193:
return 'North-East/South-West component of sub-gridscale orographic variance difference'
if table2Version == 200 and indicatorOfParameter == 192:
return 'North-West/South-East component of sub-gridscale orographic variance difference'
if table2Version == 200 and indicatorOfParameter == 191:
return 'North-South component of sub-gridscale orographic variance difference'
if table2Version == 200 and indicatorOfParameter == 190:
return 'East-West component of sub-gridscale orographic variance difference'
if table2Version == 200 and indicatorOfParameter == 189:
return 'Sunshine duration difference'
if table2Version == 200 and indicatorOfParameter == 188:
return 'High cloud cover difference'
if table2Version == 200 and indicatorOfParameter == 187:
return 'Medium cloud cover difference'
if table2Version == 200 and indicatorOfParameter == 186:
return 'Low cloud cover difference'
if table2Version == 200 and indicatorOfParameter == 185:
return 'Convective cloud cover difference'
if table2Version == 200 and indicatorOfParameter == 184:
return 'Soil wetness level 3 difference'
if table2Version == 200 and indicatorOfParameter == 183:
return 'Soil temperature level 3 difference'
if table2Version == 200 and indicatorOfParameter == 182:
return 'Evaporation difference'
if table2Version == 200 and indicatorOfParameter == 181:
return 'North-South surface stress difference'
if table2Version == 200 and indicatorOfParameter == 180:
return 'East-West surface stress difference'
if table2Version == 200 and indicatorOfParameter == 179:
return 'Top net thermal radiation difference'
if table2Version == 200 and indicatorOfParameter == 178:
return 'Top net solar radiation difference'
if table2Version == 200 and indicatorOfParameter == 177:
return 'Surface net thermal radiation difference'
if table2Version == 200 and indicatorOfParameter == 176:
return 'Surface net solar radiation difference'
if table2Version == 200 and indicatorOfParameter == 175:
return 'Surface thermal radiation downwards difference'
if table2Version == 200 and indicatorOfParameter == 174:
return 'Albedo difference'
if table2Version == 200 and indicatorOfParameter == 173:
return 'Surface roughness difference'
if table2Version == 200 and indicatorOfParameter == 172:
return 'Land-sea mask difference'
if table2Version == 200 and indicatorOfParameter == 171:
return 'Soil wetness level 2 difference'
if table2Version == 200 and indicatorOfParameter == 170:
return 'Soil temperature level 2 difference'
if table2Version == 200 and indicatorOfParameter == 169:
return 'Surface solar radiation downwards difference'
if table2Version == 200 and indicatorOfParameter == 167:
return '2 metre temperature difference'
if table2Version == 200 and indicatorOfParameter == 166:
return '10 metre V wind component difference'
if table2Version == 200 and indicatorOfParameter == 165:
return '10 metre U wind component difference'
if table2Version == 200 and indicatorOfParameter == 164:
return 'Total cloud cover difference'
if table2Version == 200 and indicatorOfParameter == 163:
return 'Slope of sub-gridscale orography difference'
if table2Version == 200 and indicatorOfParameter == 162:
return 'Angle of sub-gridscale orography difference'
if table2Version == 200 and indicatorOfParameter == 161:
return 'Anisotropy of sub-gridscale orography difference'
if table2Version == 200 and indicatorOfParameter == 160:
return 'Standard deviation of orography difference'
if table2Version == 200 and indicatorOfParameter == 159:
return 'Boundary layer height difference'
if table2Version == 200 and indicatorOfParameter == 158:
return 'Tendency of surface pressure difference'
if table2Version == 200 and indicatorOfParameter == 157:
return 'Relative humidity difference'
if table2Version == 200 and indicatorOfParameter == 156:
return 'Height difference'
if table2Version == 200 and indicatorOfParameter == 155:
return 'Divergence difference'
if table2Version == 200 and indicatorOfParameter == 154:
return 'Long-wave heating rate difference'
if table2Version == 200 and indicatorOfParameter == 153:
return 'Short-wave heating rate difference'
if table2Version == 200 and indicatorOfParameter == 152:
return 'Logarithm of surface pressure difference'
if table2Version == 200 and indicatorOfParameter == 151:
return 'Mean sea level pressure difference'
if table2Version == 200 and indicatorOfParameter == 150:
return 'Top net radiation difference'
if table2Version == 200 and indicatorOfParameter == 149:
return 'Surface net radiation difference'
if table2Version == 200 and indicatorOfParameter == 148:
return 'Charnock difference'
if table2Version == 200 and indicatorOfParameter == 147:
return 'Surface latent heat flux difference'
if table2Version == 200 and indicatorOfParameter == 146:
return 'Surface sensible heat flux difference'
if table2Version == 200 and indicatorOfParameter == 145:
return 'Boundary layer dissipation difference'
if table2Version == 200 and indicatorOfParameter == 144:
return 'Snowfall (convective + stratiform) difference'
if table2Version == 200 and indicatorOfParameter == 143:
return 'Convective precipitation difference'
if table2Version == 200 and indicatorOfParameter == 142:
return 'Stratiform precipitation (Large-scale precipitation) difference'
if table2Version == 200 and indicatorOfParameter == 141:
return 'Snow depth difference'
if table2Version == 200 and indicatorOfParameter == 140:
return 'Soil wetness level 1 difference'
if table2Version == 200 and indicatorOfParameter == 139:
return 'Soil temperature level 1 difference'
if table2Version == 200 and indicatorOfParameter == 138:
return 'Vorticity (relative) difference'
if table2Version == 200 and indicatorOfParameter == 137:
return 'Total column water vapour difference'
if table2Version == 200 and indicatorOfParameter == 136:
return 'Total column water difference'
if table2Version == 200 and indicatorOfParameter == 135:
return 'Vertical velocity (pressure) difference'
if table2Version == 200 and indicatorOfParameter == 134:
return 'Surface pressure difference'
if table2Version == 200 and indicatorOfParameter == 133:
return 'Specific humidity difference'
if table2Version == 200 and indicatorOfParameter == 132:
return 'V component of wind difference'
if table2Version == 200 and indicatorOfParameter == 131:
return 'U component of wind difference'
if table2Version == 200 and indicatorOfParameter == 130:
return 'Temperature difference'
if table2Version == 200 and indicatorOfParameter == 129:
return 'Geopotential difference'
if table2Version == 200 and indicatorOfParameter == 128:
return 'Budget values difference'
if table2Version == 200 and indicatorOfParameter == 127:
return 'Atmospheric tide difference'
if table2Version == 200 and indicatorOfParameter == 126:
return 'Generic parameter for sensitive area prediction'
if table2Version == 200 and indicatorOfParameter == 125:
return 'Vertically integrated total energy'
if table2Version == 200 and indicatorOfParameter == 123:
return '10 metre wind gust in the last 6 hours difference'
if table2Version == 200 and indicatorOfParameter == 122:
return 'Minimum temperature at 2 metres difference'
if table2Version == 200 and indicatorOfParameter == 121:
return 'Maximum temperature at 2 metres difference'
if table2Version == 200 and indicatorOfParameter == 120:
return 'Experimental product'
if table2Version == 200 and indicatorOfParameter == 119:
return 'Experimental product'
if table2Version == 200 and indicatorOfParameter == 118:
return 'Experimental product'
if table2Version == 200 and indicatorOfParameter == 117:
return 'Experimental product'
if table2Version == 200 and indicatorOfParameter == 116:
return 'Experimental product'
if table2Version == 200 and indicatorOfParameter == 115:
return 'Experimental product'
if table2Version == 200 and indicatorOfParameter == 114:
return 'Experimental product'
if table2Version == 200 and indicatorOfParameter == 113:
return 'Experimental product'
if table2Version == 200 and indicatorOfParameter == 112:
return 'Experimental product'
if table2Version == 200 and indicatorOfParameter == 111:
return 'Experimental product'
if table2Version == 200 and indicatorOfParameter == 110:
return 'Experimental product'
if table2Version == 200 and indicatorOfParameter == 109:
return 'Experimental product'
if table2Version == 200 and indicatorOfParameter == 108:
return 'Experimental product'
if table2Version == 200 and indicatorOfParameter == 107:
return 'Experimental product'
if table2Version == 200 and indicatorOfParameter == 106:
return 'Experimental product'
if table2Version == 200 and indicatorOfParameter == 105:
return 'Experimental product'
if table2Version == 200 and indicatorOfParameter == 104:
return 'Experimental product'
if table2Version == 200 and indicatorOfParameter == 103:
return 'Experimental product'
if table2Version == 200 and indicatorOfParameter == 102:
return 'Experimental product'
if table2Version == 200 and indicatorOfParameter == 101:
return 'Experimental product'
if table2Version == 200 and indicatorOfParameter == 100:
return 'Experimental product'
if table2Version == 200 and indicatorOfParameter == 99:
return 'Experimental product'
if table2Version == 200 and indicatorOfParameter == 98:
return 'Experimental product'
if table2Version == 200 and indicatorOfParameter == 97:
return 'Experimental product'
if table2Version == 200 and indicatorOfParameter == 96:
return 'Experimental product'
if table2Version == 200 and indicatorOfParameter == 95:
return 'Experimental product'
if table2Version == 200 and indicatorOfParameter == 94:
return 'Experimental product'
if table2Version == 200 and indicatorOfParameter == 93:
return 'Experimental product'
if table2Version == 200 and indicatorOfParameter == 92:
return 'Experimental product'
if table2Version == 200 and indicatorOfParameter == 91:
return 'Experimental product'
if table2Version == 200 and indicatorOfParameter == 90:
return 'Experimental product'
if table2Version == 200 and indicatorOfParameter == 89:
return 'Experimental product'
if table2Version == 200 and indicatorOfParameter == 88:
return 'Experimental product'
if table2Version == 200 and indicatorOfParameter == 87:
return 'Experimental product'
if table2Version == 200 and indicatorOfParameter == 86:
return 'Experimental product'
if table2Version == 200 and indicatorOfParameter == 85:
return 'Experimental product'
if table2Version == 200 and indicatorOfParameter == 84:
return 'Experimental product'
if table2Version == 200 and indicatorOfParameter == 83:
return 'Experimental product'
if table2Version == 200 and indicatorOfParameter == 82:
return 'Experimental product'
if table2Version == 200 and indicatorOfParameter == 81:
return 'Experimental product'
if table2Version == 200 and indicatorOfParameter == 80:
return 'Experimental product'
if table2Version == 200 and indicatorOfParameter == 79:
return 'Total column ice water'
if table2Version == 200 and indicatorOfParameter == 78:
return 'Total column liquid water'
if table2Version == 200 and indicatorOfParameter == 71:
return 'Biome cover, high vegetation'
if table2Version == 200 and indicatorOfParameter == 70:
return 'Biome cover, low vegetation'
if table2Version == 200 and indicatorOfParameter == 69:
return 'Minimum stomatal resistance, high vegetation'
if table2Version == 200 and indicatorOfParameter == 68:
return 'Minimum stomatal resistance, low vegetation'
if table2Version == 200 and indicatorOfParameter == 67:
return 'Leaf area index, high vegetation'
if table2Version == 200 and indicatorOfParameter == 66:
return 'Leaf area index, low vegetation'
if table2Version == 200 and indicatorOfParameter == 65:
return 'Skin temperature difference'
if table2Version == 200 and indicatorOfParameter == 64:
return 'Finish time for skin temperature difference'
if table2Version == 200 and indicatorOfParameter == 63:
return 'Start time for skin temperature difference'
if table2Version == 200 and indicatorOfParameter == 62:
return 'Observation count difference'
if table2Version == 200 and indicatorOfParameter == 61:
return 'Total precipitation from observations difference'
if table2Version == 200 and indicatorOfParameter == 60:
return 'Potential vorticity difference'
if table2Version == 200 and indicatorOfParameter == 59:
return 'Convective available potential energy difference'
if table2Version == 200 and indicatorOfParameter == 58:
return 'Photosynthetically active radiation at the surface difference'
if table2Version == 200 and indicatorOfParameter == 57:
return 'Downward UV radiation at the surface difference'
if table2Version == 200 and indicatorOfParameter == 56:
return 'Mean 2 metre dewpoint temperature in the last 24 hours difference'
if table2Version == 200 and indicatorOfParameter == 55:
return 'Mean 2 metre temperature in the last 24 hours difference'
if table2Version == 200 and indicatorOfParameter == 54:
return 'Pressure difference'
if table2Version == 200 and indicatorOfParameter == 53:
return 'Montgomery potential difference'
if table2Version == 200 and indicatorOfParameter == 52:
return 'Minimum 2 metre temperature difference'
if table2Version == 200 and indicatorOfParameter == 51:
return 'Maximum 2 metre temperature difference'
if table2Version == 200 and indicatorOfParameter == 50:
return 'Large-scale precipitation fraction difference'
if table2Version == 200 and indicatorOfParameter == 49:
return '10 metre wind gust difference'
if table2Version == 200 and indicatorOfParameter == 48:
return 'Magnitude of turbulent surface stress difference'
if table2Version == 200 and indicatorOfParameter == 47:
return 'Direct solar radiation difference'
if table2Version == 200 and indicatorOfParameter == 46:
return 'Solar duration difference'
if table2Version == 200 and indicatorOfParameter == 45:
return 'Snowmelt difference'
if table2Version == 200 and indicatorOfParameter == 44:
return 'Snow evaporation difference'
if table2Version == 200 and indicatorOfParameter == 43:
return 'Soil type difference'
if table2Version == 200 and indicatorOfParameter == 42:
return 'Volumetric soil water layer 4 difference'
if table2Version == 200 and indicatorOfParameter == 41:
return 'Volumetric soil water layer 3 difference'
if table2Version == 200 and indicatorOfParameter == 40:
return 'Volumetric soil water layer 2 difference'
if table2Version == 200 and indicatorOfParameter == 39:
return 'Volumetric soil water layer 1 difference'
if table2Version == 200 and indicatorOfParameter == 38:
return 'Ice surface temperature layer 4 difference'
if table2Version == 200 and indicatorOfParameter == 37:
return 'Ice surface temperature layer 3 difference'
if table2Version == 200 and indicatorOfParameter == 36:
return 'Ice surface temperature layer 2 difference'
if table2Version == 200 and indicatorOfParameter == 35:
return 'Ice surface temperature layer 1 difference'
if table2Version == 200 and indicatorOfParameter == 34:
return 'Sea surface temperature difference'
if table2Version == 200 and indicatorOfParameter == 33:
return 'Snow density difference'
if table2Version == 200 and indicatorOfParameter == 32:
return 'Snow albedo difference'
if table2Version == 200 and indicatorOfParameter == 31:
return 'Sea-ice cover difference'
if table2Version == 200 and indicatorOfParameter == 30:
return 'Type of high vegetation difference'
if table2Version == 200 and indicatorOfParameter == 29:
return 'Type of low vegetation difference'
if table2Version == 200 and indicatorOfParameter == 28:
return 'High vegetation cover difference'
if table2Version == 200 and indicatorOfParameter == 27:
return 'Low vegetation cover difference'
if table2Version == 200 and indicatorOfParameter == 26:
return 'Lake cover difference'
if table2Version == 200 and indicatorOfParameter == 25:
return 'Reserved for future unbalanced components'
if table2Version == 200 and indicatorOfParameter == 24:
return 'Reserved for future unbalanced components'
if table2Version == 200 and indicatorOfParameter == 23:
return 'Unbalanced component of divergence difference'
if table2Version == 200 and indicatorOfParameter == 22:
return 'Unbalanced component of logarithm of surface pressure difference'
if table2Version == 200 and indicatorOfParameter == 21:
return 'Unbalanced component of temperature difference'
if table2Version == 200 and indicatorOfParameter == 14:
return 'V component of rotational wind difference'
if table2Version == 200 and indicatorOfParameter == 13:
return 'U component of rotational wind difference'
if table2Version == 200 and indicatorOfParameter == 12:
return 'V component of divergent wind difference'
if table2Version == 200 and indicatorOfParameter == 11:
return 'U component of divergent wind difference'
if table2Version == 200 and indicatorOfParameter == 5:
return 'Saturated equivalent potential temperature difference'
if table2Version == 200 and indicatorOfParameter == 4:
return 'Equivalent potential temperature difference'
if table2Version == 200 and indicatorOfParameter == 3:
return 'Potential temperature difference'
if table2Version == 200 and indicatorOfParameter == 2:
return 'Velocity potential difference'
if table2Version == 200 and indicatorOfParameter == 1:
return 'Stream function difference'
if table2Version == 190 and indicatorOfParameter == 255:
return 'Indicates a missing value'
if table2Version == 180 and indicatorOfParameter == 255:
return 'Indicates a missing value'
if table2Version == 170 and indicatorOfParameter == 255:
return 'Indicates a missing value'
if table2Version == 160 and indicatorOfParameter == 255:
return 'Indicates a missing value'
if table2Version == 132 and indicatorOfParameter == 255:
return 'Indicates a missing value'
if table2Version == 130 and indicatorOfParameter == 255:
return 'Indicates a missing value'
if table2Version == 128 and indicatorOfParameter == 255:
return 'Indicates a missing value'
if table2Version == 128 and indicatorOfParameter == 254:
return 'Adiabatic tendency of meridional wind'
if table2Version == 128 and indicatorOfParameter == 253:
return 'Adiabatic tendency of zonal wind'
if table2Version == 128 and indicatorOfParameter == 252:
return 'Adiabatic tendency of humidity'
if table2Version == 128 and indicatorOfParameter == 251:
return 'Adiabatic tendency of temperature'
if table2Version == 128 and indicatorOfParameter == 250:
return 'Ice age'
if table2Version == 128 and indicatorOfParameter == 249:
return 'Accumulated ice water tendency'
if table2Version == 128 and indicatorOfParameter == 248:
return 'Fraction of cloud cover'
if table2Version == 128 and indicatorOfParameter == 247:
return 'Specific cloud ice water content'
if table2Version == 128 and indicatorOfParameter == 246:
return 'Specific cloud liquid water content'
if table2Version == 160 and indicatorOfParameter == 245:
return 'Forecast logarithm of surface roughness for heat'
if table2Version == 128 and indicatorOfParameter == 245:
return 'Forecast logarithm of surface roughness for heat'
if table2Version == 160 and indicatorOfParameter == 244:
return 'Forecast surface roughness'
if table2Version == 128 and indicatorOfParameter == 244:
return 'Forecast surface roughness'
if table2Version == 128 and indicatorOfParameter == 243:
return 'Forecast albedo'
if table2Version == 128 and indicatorOfParameter == 242:
return 'Accumulated liquid water tendency'
if table2Version == 128 and indicatorOfParameter == 241:
return 'Accumulated cloud fraction tendency'
if table2Version == 128 and indicatorOfParameter == 240:
return 'Large-scale snowfall'
if table2Version == 128 and indicatorOfParameter == 239:
return 'Convective snowfall'
if table2Version == 160 and indicatorOfParameter == 238:
return 'Temperature of snow layer'
if table2Version == 128 and indicatorOfParameter == 238:
return 'Temperature of snow layer'
if table2Version == 160 and indicatorOfParameter == 237:
return 'Soil wetness level 4'
if table2Version == 128 and indicatorOfParameter == 237:
return 'Soil wetness level 4'
if table2Version == 160 and indicatorOfParameter == 236:
return 'Soil temperature level 4'
if table2Version == 128 and indicatorOfParameter == 236:
return 'Soil temperature level 4'
if table2Version == 160 and indicatorOfParameter == 235:
return 'Skin temperature'
if table2Version == 128 and indicatorOfParameter == 235:
return 'Skin temperature'
if table2Version == 160 and indicatorOfParameter == 234:
return 'Logarithm of surface roughness length for heat'
if table2Version == 128 and indicatorOfParameter == 234:
return 'Logarithm of surface roughness length for heat'
if table2Version == 160 and indicatorOfParameter == 233:
return 'Apparent surface humidity'
if table2Version == 128 and indicatorOfParameter == 233:
return 'Apparent surface humidity'
if table2Version == 160 and indicatorOfParameter == 232:
return 'Instantaneous moisture flux'
if table2Version == 128 and indicatorOfParameter == 232:
return 'Instantaneous moisture flux'
if table2Version == 128 and indicatorOfParameter == 231:
return 'Instantaneous surface sensible heat flux'
if table2Version == 160 and indicatorOfParameter == 230:
return 'Instantaneous northward turbulent surface stress'
if table2Version == 128 and indicatorOfParameter == 230:
return 'Instantaneous northward turbulent surface stress'
if table2Version == 160 and indicatorOfParameter == 229:
return 'Instantaneous eastward turbulent surface stress'
if table2Version == 128 and indicatorOfParameter == 229:
return 'Instantaneous eastward turbulent surface stress'
if table2Version == 190 and indicatorOfParameter == 228:
return 'Total precipitation'
if table2Version == 170 and indicatorOfParameter == 228:
return 'Total precipitation'
if table2Version == 160 and indicatorOfParameter == 228:
return 'Total precipitation'
if table2Version == 128 and indicatorOfParameter == 228:
return 'Total precipitation'
if table2Version == 130 and indicatorOfParameter == 227:
return 'Tendency due to removal of negative humidity'
if table2Version == 128 and indicatorOfParameter == 227:
return 'Tendency due to removal of negative humidity'
if table2Version == 128 and indicatorOfParameter == 226:
return 'Humidity tendency by large-scale condensation'
if table2Version == 128 and indicatorOfParameter == 225:
return 'Humidity tendency by cumulus convection'
if table2Version == 128 and indicatorOfParameter == 224:
return 'Vertical diffusion of humidity'
if table2Version == 130 and indicatorOfParameter == 223:
return 'Convective tendency of meridional wind'
if table2Version == 128 and indicatorOfParameter == 223:
return 'Convective tendency of meridional wind'
if table2Version == 130 and indicatorOfParameter == 222:
return 'Convective tendency of zonal wind'
if table2Version == 128 and indicatorOfParameter == 222:
return 'Convective tendency of zonal wind'
if table2Version == 128 and indicatorOfParameter == 221:
return 'North-South gravity wave drag tendency'
if table2Version == 128 and indicatorOfParameter == 220:
return 'East-West gravity wave drag tendency'
if table2Version == 128 and indicatorOfParameter == 219:
return 'Vertical diffusion of meridional wind'
if table2Version == 128 and indicatorOfParameter == 218:
return 'Vertical diffusion of zonal wind'
if table2Version == 128 and indicatorOfParameter == 217:
return 'Diabatic heating large-scale condensation'
if table2Version == 128 and indicatorOfParameter == 216:
return 'Diabatic heating by cumulus convection'
if table2Version == 128 and indicatorOfParameter == 215:
return 'Diabatic heating by vertical diffusion'
if table2Version == 128 and indicatorOfParameter == 214:
return 'Diabatic heating by radiation'
if table2Version == 128 and indicatorOfParameter == 213:
return 'Vertically integrated moisture divergence'
if table2Version == 128 and indicatorOfParameter == 212:
return 'TOA incident solar radiation'
if table2Version == 128 and indicatorOfParameter == 211:
return 'Surface net thermal radiation, clear sky'
if table2Version == 128 and indicatorOfParameter == 210:
return 'Surface net solar radiation, clear sky'
if table2Version == 128 and indicatorOfParameter == 209:
return 'Top net thermal radiation, clear sky'
if table2Version == 128 and indicatorOfParameter == 208:
return 'Top net solar radiation, clear sky'
if table2Version == 128 and indicatorOfParameter == 207:
return '10 metre wind speed'
if table2Version == 128 and indicatorOfParameter == 206:
return 'Total column ozone'
if table2Version == 180 and indicatorOfParameter == 205:
return 'Runoff'
if table2Version == 128 and indicatorOfParameter == 205:
return 'Runoff'
if table2Version == 160 and indicatorOfParameter == 204:
return 'Precipitation analysis weights'
if table2Version == 128 and indicatorOfParameter == 204:
return 'Precipitation analysis weights'
if table2Version == 128 and indicatorOfParameter == 203:
return 'Ozone mass mixing ratio'
if table2Version == 190 and indicatorOfParameter == 202:
return 'Minimum temperature at 2 metres since previous post-processing'
if table2Version == 170 and indicatorOfParameter == 202:
return 'Minimum temperature at 2 metres since previous post-processing'
if table2Version == 128 and indicatorOfParameter == 202:
return 'Minimum temperature at 2 metres since previous post-processing'
if table2Version == 190 and indicatorOfParameter == 201:
return 'Maximum temperature at 2 metres since previous post-processing'
if table2Version == 170 and indicatorOfParameter == 201:
return 'Maximum temperature at 2 metres since previous post-processing'
if table2Version == 128 and indicatorOfParameter == 201:
return 'Maximum temperature at 2 metres since previous post-processing'
if table2Version == 160 and indicatorOfParameter == 200:
return 'Variance of sub-gridscale orography'
if table2Version == 128 and indicatorOfParameter == 200:
return 'Variance of sub-gridscale orography'
if table2Version == 128 and indicatorOfParameter == 199:
return 'Vegetation fraction'
if table2Version == 128 and indicatorOfParameter == 198:
return 'Skin reservoir content'
if table2Version == 160 and indicatorOfParameter == 197:
return 'Gravity wave dissipation'
if table2Version == 128 and indicatorOfParameter == 197:
return 'Gravity wave dissipation'
if table2Version == 160 and indicatorOfParameter == 196:
return 'Northward gravity wave surface stress'
if table2Version == 128 and indicatorOfParameter == 196:
return 'Northward gravity wave surface stress'
if table2Version == 160 and indicatorOfParameter == 195:
return 'Eastward gravity wave surface stress'
if table2Version == 128 and indicatorOfParameter == 195:
return 'Eastward gravity wave surface stress'
if table2Version == 128 and indicatorOfParameter == 194:
return 'Brightness temperature'
if table2Version == 160 and indicatorOfParameter == 193:
return 'North-East/South-West component of sub-gridscale orographic variance'
if table2Version == 128 and indicatorOfParameter == 193:
return 'North-East/South-West component of sub-gridscale orographic variance'
if table2Version == 160 and indicatorOfParameter == 192:
return 'North-West/South-East component of sub-gridscale orographic variance'
if table2Version == 128 and indicatorOfParameter == 192:
return 'North-West/South-East component of sub-gridscale orographic variance'
if table2Version == 160 and indicatorOfParameter == 191:
return 'North-South component of sub-gridscale orographic variance'
if table2Version == 128 and indicatorOfParameter == 191:
return 'North-South component of sub-gridscale orographic variance'
if table2Version == 160 and indicatorOfParameter == 190:
return 'East-West component of sub-gridscale orographic variance'
if table2Version == 128 and indicatorOfParameter == 190:
return 'East-West component of sub-gridscale orographic variance'
if table2Version == 128 and indicatorOfParameter == 189:
return 'Sunshine duration'
if table2Version == 160 and indicatorOfParameter == 188:
return 'High cloud cover'
if table2Version == 128 and indicatorOfParameter == 188:
return 'High cloud cover'
if table2Version == 160 and indicatorOfParameter == 187:
return 'Medium cloud cover'
if table2Version == 128 and indicatorOfParameter == 187:
return 'Medium cloud cover'
if table2Version == 160 and indicatorOfParameter == 186:
return 'Low cloud cover'
if table2Version == 128 and indicatorOfParameter == 186:
return 'Low cloud cover'
if table2Version == 170 and indicatorOfParameter == 185:
return 'Convective cloud cover'
if table2Version == 160 and indicatorOfParameter == 185:
return 'Convective cloud cover'
if table2Version == 128 and indicatorOfParameter == 185:
return 'Convective cloud cover'
if table2Version == 170 and indicatorOfParameter == 184:
return 'Soil wetness level 3'
if table2Version == 128 and indicatorOfParameter == 184:
return 'Soil wetness level 3'
if table2Version == 160 and indicatorOfParameter == 183:
return 'Soil temperature level 3'
if table2Version == 128 and indicatorOfParameter == 183:
return 'Soil temperature level 3'
if table2Version == 190 and indicatorOfParameter == 182:
return 'Evaporation'
if table2Version == 180 and indicatorOfParameter == 182:
return 'Evaporation'
if table2Version == 170 and indicatorOfParameter == 182:
return 'Evaporation'
if table2Version == 128 and indicatorOfParameter == 182:
return 'Evaporation'
if table2Version == 180 and indicatorOfParameter == 181:
return 'Northward turbulent surface stress'
if table2Version == 170 and indicatorOfParameter == 181:
return 'Northward turbulent surface stress'
if table2Version == 128 and indicatorOfParameter == 181:
return 'Northward turbulent surface stress'
if table2Version == 180 and indicatorOfParameter == 180:
return 'Eastward turbulent surface stress'
if table2Version == 170 and indicatorOfParameter == 180:
return 'Eastward turbulent surface stress'
if table2Version == 128 and indicatorOfParameter == 180:
return 'Eastward turbulent surface stress'
if table2Version == 190 and indicatorOfParameter == 179:
return 'Top net thermal radiation'
if table2Version == 160 and indicatorOfParameter == 179:
return 'Top net thermal radiation'
if table2Version == 128 and indicatorOfParameter == 179:
return 'Top net thermal radiation'
if table2Version == 190 and indicatorOfParameter == 178:
return 'Top net solar radiation'
if table2Version == 160 and indicatorOfParameter == 178:
return 'Top net solar radiation'
if table2Version == 128 and indicatorOfParameter == 178:
return 'Top net solar radiation'
if table2Version == 190 and indicatorOfParameter == 177:
return 'Surface net thermal radiation'
if table2Version == 170 and indicatorOfParameter == 177:
return 'Surface net thermal radiation'
if table2Version == 160 and indicatorOfParameter == 177:
return 'Surface net thermal radiation'
if table2Version == 128 and indicatorOfParameter == 177:
return 'Surface net thermal radiation'
if table2Version == 190 and indicatorOfParameter == 176:
return 'Surface net solar radiation'
if table2Version == 170 and indicatorOfParameter == 176:
return 'Surface net solar radiation'
if table2Version == 160 and indicatorOfParameter == 176:
return 'Surface net solar radiation'
if table2Version == 128 and indicatorOfParameter == 176:
return 'Surface net solar radiation'
if table2Version == 190 and indicatorOfParameter == 175:
return 'Surface thermal radiation downwards'
if table2Version == 128 and indicatorOfParameter == 175:
return 'Surface thermal radiation downwards'
if table2Version == 190 and indicatorOfParameter == 174:
return 'Albedo'
if table2Version == 160 and indicatorOfParameter == 174:
return 'Albedo'
if table2Version == 128 and indicatorOfParameter == 174:
return 'Albedo'
if table2Version == 160 and indicatorOfParameter == 173:
return 'Surface roughness'
if table2Version == 128 and indicatorOfParameter == 173:
return 'Surface roughness'
if table2Version == 190 and indicatorOfParameter == 172:
return 'Land-sea mask'
if table2Version == 180 and indicatorOfParameter == 172:
return 'Land-sea mask'
if table2Version == 175 and indicatorOfParameter == 172:
return 'Land-sea mask'
if table2Version == 174 and indicatorOfParameter == 172:
return 'Land-sea mask'
if table2Version == 171 and indicatorOfParameter == 172:
return 'Land-sea mask'
if table2Version == 160 and indicatorOfParameter == 172:
return 'Land-sea mask'
if table2Version == 128 and indicatorOfParameter == 172:
return 'Land-sea mask'
if table2Version == 128 and indicatorOfParameter == 171:
return 'Soil wetness level 2'
if table2Version == 160 and indicatorOfParameter == 170:
return 'Soil temperature level 2'
if table2Version == 128 and indicatorOfParameter == 170:
return 'Soil temperature level 2'
if table2Version == 190 and indicatorOfParameter == 169:
return 'Surface solar radiation downwards'
if table2Version == 128 and indicatorOfParameter == 169:
return 'Surface solar radiation downwards'
if table2Version == 190 and indicatorOfParameter == 168:
return '2 metre dewpoint temperature'
if table2Version == 180 and indicatorOfParameter == 168:
return '2 metre dewpoint temperature'
if table2Version == 160 and indicatorOfParameter == 168:
return '2 metre dewpoint temperature'
if table2Version == 128 and indicatorOfParameter == 168:
return '2 metre dewpoint temperature'
if table2Version == 190 and indicatorOfParameter == 167:
return '2 metre temperature'
if table2Version == 180 and indicatorOfParameter == 167:
return '2 metre temperature'
if table2Version == 160 and indicatorOfParameter == 167:
return '2 metre temperature'
if table2Version == 128 and indicatorOfParameter == 167:
return '2 metre temperature'
if table2Version == 190 and indicatorOfParameter == 166:
return '10 metre V wind component'
if table2Version == 180 and indicatorOfParameter == 166:
return '10 metre V wind component'
if table2Version == 160 and indicatorOfParameter == 166:
return '10 metre V wind component'
if table2Version == 128 and indicatorOfParameter == 166:
return '10 metre V wind component'
if table2Version == 190 and indicatorOfParameter == 165:
return '10 metre U wind component'
if table2Version == 180 and indicatorOfParameter == 165:
return '10 metre U wind component'
if table2Version == 160 and indicatorOfParameter == 165:
return '10 metre U wind component'
if table2Version == 128 and indicatorOfParameter == 165:
return '10 metre U wind component'
if table2Version == 190 and indicatorOfParameter == 164:
return 'Total cloud cover'
if table2Version == 180 and indicatorOfParameter == 164:
return 'Total cloud cover'
if table2Version == 170 and indicatorOfParameter == 164:
return 'Total cloud cover'
if table2Version == 160 and indicatorOfParameter == 164:
return 'Total cloud cover'
if table2Version == 128 and indicatorOfParameter == 164:
return 'Total cloud cover'
if table2Version == 128 and indicatorOfParameter == 163:
return 'Slope of sub-gridscale orography'
if table2Version == 128 and indicatorOfParameter == 162:
return 'Angle of sub-gridscale orography'
if table2Version == 128 and indicatorOfParameter == 161:
return 'Anisotropy of sub-gridscale orography'
if table2Version == 128 and indicatorOfParameter == 160:
return 'Standard deviation of orography'
if table2Version == 128 and indicatorOfParameter == 159:
return 'Boundary layer height'
if table2Version == 160 and indicatorOfParameter == 158:
return 'Tendency of surface pressure'
if table2Version == 128 and indicatorOfParameter == 158:
return 'Tendency of surface pressure'
if table2Version == 190 and indicatorOfParameter == 157:
return 'Relative humidity'
if table2Version == 170 and indicatorOfParameter == 157:
return 'Relative humidity'
if table2Version == 128 and indicatorOfParameter == 157:
return 'Relative humidity'
if table2Version == 128 and indicatorOfParameter == 156:
return 'Geopotential Height'
if table2Version == 190 and indicatorOfParameter == 155:
return 'Divergence'
if table2Version == 180 and indicatorOfParameter == 155:
return 'Divergence'
if table2Version == 170 and indicatorOfParameter == 155:
return 'Divergence'
if table2Version == 160 and indicatorOfParameter == 155:
return 'Divergence'
if table2Version == 128 and indicatorOfParameter == 155:
return 'Divergence'
if table2Version == 128 and indicatorOfParameter == 154:
return 'Long-wave heating rate'
if table2Version == 128 and indicatorOfParameter == 153:
return 'Short-wave heating rate'
if table2Version == 160 and indicatorOfParameter == 152:
return 'Logarithm of surface pressure'
if table2Version == 128 and indicatorOfParameter == 152:
return 'Logarithm of surface pressure'
if table2Version == 190 and indicatorOfParameter == 151:
return 'Mean sea level pressure'
if table2Version == 180 and indicatorOfParameter == 151:
return 'Mean sea level pressure'
if table2Version == 170 and indicatorOfParameter == 151:
return 'Mean sea level pressure'
if table2Version == 160 and indicatorOfParameter == 151:
return 'Mean sea level pressure'
if table2Version == 128 and indicatorOfParameter == 151:
return 'Mean sea level pressure'
if table2Version == 128 and indicatorOfParameter == 150:
return 'Top net radiation'
if table2Version == 128 and indicatorOfParameter == 149:
return 'Surface net radiation'
if table2Version == 128 and indicatorOfParameter == 148:
return 'Charnock'
if table2Version == 190 and indicatorOfParameter == 147:
return 'Surface latent heat flux'
if table2Version == 180 and indicatorOfParameter == 147:
return 'Surface latent heat flux'
if table2Version == 170 and indicatorOfParameter == 147:
return 'Surface latent heat flux'
if table2Version == 160 and indicatorOfParameter == 147:
return 'Surface latent heat flux'
if table2Version == 128 and indicatorOfParameter == 147:
return 'Surface latent heat flux'
if table2Version == 190 and indicatorOfParameter == 146:
return 'Surface sensible heat flux'
if table2Version == 180 and indicatorOfParameter == 146:
return 'Surface sensible heat flux'
if table2Version == 170 and indicatorOfParameter == 146:
return 'Surface sensible heat flux'
if table2Version == 160 and indicatorOfParameter == 146:
return 'Surface sensible heat flux'
if table2Version == 128 and indicatorOfParameter == 146:
return 'Surface sensible heat flux'
if table2Version == 160 and indicatorOfParameter == 145:
return 'Boundary layer dissipation'
if table2Version == 128 and indicatorOfParameter == 145:
return 'Boundary layer dissipation'
if table2Version == 180 and indicatorOfParameter == 144:
return 'Snowfall'
if table2Version == 128 and indicatorOfParameter == 144:
return 'Snowfall'
if table2Version == 180 and indicatorOfParameter == 143:
return 'Convective precipitation'
if table2Version == 170 and indicatorOfParameter == 143:
return 'Convective precipitation'
if table2Version == 128 and indicatorOfParameter == 143:
return 'Convective precipitation'
if table2Version == 180 and indicatorOfParameter == 142:
return 'Large-scale precipitation'
if table2Version == 170 and indicatorOfParameter == 142:
return 'Large-scale precipitation'
if table2Version == 128 and indicatorOfParameter == 142:
return 'Large-scale precipitation'
if table2Version == 180 and indicatorOfParameter == 141:
return 'Snow depth'
if table2Version == 170 and indicatorOfParameter == 141:
return 'Snow depth'
if table2Version == 128 and indicatorOfParameter == 141:
return 'Snow depth'
if table2Version == 170 and indicatorOfParameter == 140:
return 'Soil wetness level 1'
if table2Version == 128 and indicatorOfParameter == 140:
return 'Soil wetness level 1'
if table2Version == 190 and indicatorOfParameter == 139:
return 'Soil temperature level 1'
if table2Version == 170 and indicatorOfParameter == 139:
return 'Soil temperature level 1'
if table2Version == 160 and indicatorOfParameter == 139:
return 'Soil temperature level 1'
if table2Version == 128 and indicatorOfParameter == 139:
return 'Soil temperature level 1'
if table2Version == 190 and indicatorOfParameter == 138:
return 'Vorticity (relative)'
if table2Version == 180 and indicatorOfParameter == 138:
return 'Vorticity (relative)'
if table2Version == 170 and indicatorOfParameter == 138:
return 'Vorticity (relative)'
if table2Version == 160 and indicatorOfParameter == 138:
return 'Vorticity (relative)'
if table2Version == 128 and indicatorOfParameter == 138:
return 'Vorticity (relative)'
if table2Version == 180 and indicatorOfParameter == 137:
return 'Total column water vapour'
if table2Version == 128 and indicatorOfParameter == 137:
return 'Total column water vapour'
if table2Version == 160 and indicatorOfParameter == 136:
return 'Total column water'
if table2Version == 128 and indicatorOfParameter == 136:
return 'Total column water'
if table2Version == 170 and indicatorOfParameter == 135:
return 'Vertical velocity'
if table2Version == 128 and indicatorOfParameter == 135:
return 'Vertical velocity'
if table2Version == 190 and indicatorOfParameter == 134:
return 'Surface pressure'
if table2Version == 180 and indicatorOfParameter == 134:
return 'Surface pressure'
if table2Version == 162 and indicatorOfParameter == 52:
return 'Surface pressure'
if table2Version == 160 and indicatorOfParameter == 134:
return 'Surface pressure'
if table2Version == 128 and indicatorOfParameter == 134:
return 'Surface pressure'
if table2Version == 190 and indicatorOfParameter == 133:
return 'Specific humidity'
if table2Version == 180 and indicatorOfParameter == 133:
return 'Specific humidity'
if table2Version == 170 and indicatorOfParameter == 133:
return 'Specific humidity'
if table2Version == 160 and indicatorOfParameter == 133:
return 'Specific humidity'
if table2Version == 128 and indicatorOfParameter == 133:
return 'Specific humidity'
if table2Version == 190 and indicatorOfParameter == 132:
return 'V component of wind'
if table2Version == 180 and indicatorOfParameter == 132:
return 'V component of wind'
if table2Version == 170 and indicatorOfParameter == 132:
return 'V component of wind'
if table2Version == 160 and indicatorOfParameter == 132:
return 'V component of wind'
if table2Version == 128 and indicatorOfParameter == 132:
return 'V component of wind'
if table2Version == 190 and indicatorOfParameter == 131:
return 'U component of wind'
if table2Version == 180 and indicatorOfParameter == 131:
return 'U component of wind'
if table2Version == 170 and indicatorOfParameter == 131:
return 'U component of wind'
if table2Version == 160 and indicatorOfParameter == 131:
return 'U component of wind'
if table2Version == 128 and indicatorOfParameter == 131:
return 'U component of wind'
if table2Version == 190 and indicatorOfParameter == 130:
return 'Temperature'
if table2Version == 180 and indicatorOfParameter == 130:
return 'Temperature'
if table2Version == 170 and indicatorOfParameter == 130:
return 'Temperature'
if table2Version == 160 and indicatorOfParameter == 130:
return 'Temperature'
if table2Version == 128 and indicatorOfParameter == 130:
return 'Temperature'
if table2Version == 190 and indicatorOfParameter == 129:
return 'Geopotential'
if table2Version == 180 and indicatorOfParameter == 129:
return 'Geopotential'
if table2Version == 170 and indicatorOfParameter == 129:
return 'Geopotential'
if table2Version == 160 and indicatorOfParameter == 129:
return 'Geopotential'
if table2Version == 128 and indicatorOfParameter == 129:
return 'Geopotential'
if table2Version == 160 and indicatorOfParameter == 128:
return 'Budget values'
if table2Version == 128 and indicatorOfParameter == 128:
return 'Budget values'
if table2Version == 160 and indicatorOfParameter == 127:
return 'Atmospheric tide'
if table2Version == 128 and indicatorOfParameter == 127:
return 'Atmospheric tide'
if table2Version == 128 and indicatorOfParameter == 126:
return 'Generic parameter for sensitive area prediction'
if table2Version == 128 and indicatorOfParameter == 125:
return 'Vertically integrated total energy'
if table2Version == 128 and indicatorOfParameter == 124:
return 'Surface emissivity'
if table2Version == 128 and indicatorOfParameter == 123:
return '10 metre wind gust in the last 6 hours'
if table2Version == 128 and indicatorOfParameter == 122:
return 'Minimum temperature at 2 metres in the last 6 hours'
if table2Version == 128 and indicatorOfParameter == 121:
return 'Maximum temperature at 2 metres in the last 6 hours'
if table2Version == 128 and indicatorOfParameter == 120:
return 'Experimental product'
if table2Version == 128 and indicatorOfParameter == 119:
return 'Experimental product'
if table2Version == 128 and indicatorOfParameter == 118:
return 'Experimental product'
if table2Version == 128 and indicatorOfParameter == 117:
return 'Experimental product'
if table2Version == 128 and indicatorOfParameter == 116:
return 'Experimental product'
if table2Version == 128 and indicatorOfParameter == 115:
return 'Experimental product'
if table2Version == 128 and indicatorOfParameter == 114:
return 'Experimental product'
if table2Version == 128 and indicatorOfParameter == 113:
return 'Experimental product'
if table2Version == 128 and indicatorOfParameter == 112:
return 'Experimental product'
if table2Version == 128 and indicatorOfParameter == 111:
return 'Experimental product'
if table2Version == 128 and indicatorOfParameter == 110:
return 'Experimental product'
if table2Version == 128 and indicatorOfParameter == 109:
return 'Experimental product'
if table2Version == 128 and indicatorOfParameter == 108:
return 'Experimental product'
if table2Version == 128 and indicatorOfParameter == 107:
return 'Experimental product'
if table2Version == 128 and indicatorOfParameter == 106:
return 'Experimental product'
if table2Version == 128 and indicatorOfParameter == 105:
return 'Experimental product'
if table2Version == 128 and indicatorOfParameter == 104:
return 'Experimental product'
if table2Version == 128 and indicatorOfParameter == 103:
return 'Experimental product'
if table2Version == 128 and indicatorOfParameter == 102:
return 'Experimental product'
if table2Version == 128 and indicatorOfParameter == 101:
return 'Experimental product'
if table2Version == 128 and indicatorOfParameter == 100:
return 'Experimental product'
if table2Version == 128 and indicatorOfParameter == 99:
return 'Experimental product'
if table2Version == 128 and indicatorOfParameter == 98:
return 'Experimental product'
if table2Version == 128 and indicatorOfParameter == 97:
return 'Experimental product'
if table2Version == 128 and indicatorOfParameter == 96:
return 'Experimental product'
if table2Version == 128 and indicatorOfParameter == 95:
return 'Experimental product'
if table2Version == 128 and indicatorOfParameter == 94:
return 'Experimental product'
if table2Version == 128 and indicatorOfParameter == 93:
return 'Experimental product'
if table2Version == 128 and indicatorOfParameter == 92:
return 'Experimental product'
if table2Version == 128 and indicatorOfParameter == 91:
return 'Experimental product'
if table2Version == 128 and indicatorOfParameter == 90:
return 'Experimental product'
if table2Version == 128 and indicatorOfParameter == 89:
return 'Experimental product'
if table2Version == 128 and indicatorOfParameter == 88:
return 'Experimental product'
if table2Version == 128 and indicatorOfParameter == 87:
return 'Experimental product'
if table2Version == 128 and indicatorOfParameter == 86:
return 'Experimental product'
if table2Version == 128 and indicatorOfParameter == 85:
return 'Experimental product'
if table2Version == 128 and indicatorOfParameter == 84:
return 'Experimental product'
if table2Version == 128 and indicatorOfParameter == 83:
return 'Experimental product'
if table2Version == 128 and indicatorOfParameter == 82:
return 'Experimental product'
if table2Version == 128 and indicatorOfParameter == 81:
return 'Experimental product'
if table2Version == 128 and indicatorOfParameter == 80:
return 'Experimental product'
if table2Version == 128 and indicatorOfParameter == 79:
return 'Total column cloud ice water'
if table2Version == 128 and indicatorOfParameter == 78:
return 'Total column cloud liquid water'
if table2Version == 128 and indicatorOfParameter == 77:
return 'Eta-coordinate vertical velocity'
if table2Version == 128 and indicatorOfParameter == 76:
return 'Specific snow water content'
if table2Version == 128 and indicatorOfParameter == 75:
return 'Specific rain water content'
if table2Version == 128 and indicatorOfParameter == 74:
return 'Standard deviation of filtered subgrid orography'
if table2Version == 128 and indicatorOfParameter == 73:
return 'Instantaneous surface thermal radiation downwards'
if table2Version == 128 and indicatorOfParameter == 72:
return 'Instantaneous surface solar radiation downwards'
if table2Version == 128 and indicatorOfParameter == 71:
return 'Biome cover, high vegetation'
if table2Version == 128 and indicatorOfParameter == 70:
return 'Biome cover, low vegetation'
if table2Version == 128 and indicatorOfParameter == 69:
return 'Minimum stomatal resistance, high vegetation'
if table2Version == 128 and indicatorOfParameter == 68:
return 'Minimum stomatal resistance, low vegetation'
if table2Version == 128 and indicatorOfParameter == 67:
return 'Leaf area index, high vegetation'
if table2Version == 128 and indicatorOfParameter == 66:
return 'Leaf area index, low vegetation'
if table2Version == 128 and indicatorOfParameter == 65:
return 'Skin temperature difference'
if table2Version == 128 and indicatorOfParameter == 64:
return 'Finish time for skin temperature difference'
if table2Version == 128 and indicatorOfParameter == 63:
return 'Start time for skin temperature difference'
if table2Version == 128 and indicatorOfParameter == 62:
return 'Observation count'
if table2Version == 128 and indicatorOfParameter == 60:
return 'Potential vorticity'
if table2Version == 128 and indicatorOfParameter == 59:
return 'Convective available potential energy'
if table2Version == 128 and indicatorOfParameter == 58:
return 'Photosynthetically active radiation at the surface'
if table2Version == 128 and indicatorOfParameter == 57:
return 'Downward UV radiation at the surface'
if table2Version == 128 and indicatorOfParameter == 56:
return 'Mean 2 metre dewpoint temperature in the last 24 hours'
if table2Version == 128 and indicatorOfParameter == 55:
return 'Mean temperature at 2 metres in the last 24 hours'
if table2Version == 128 and indicatorOfParameter == 54:
return 'Pressure'
if table2Version == 128 and indicatorOfParameter == 53:
return 'Montgomery potential'
if table2Version == 128 and indicatorOfParameter == 52:
return 'Minimum temperature at 2 metres in the last 24 hours'
if table2Version == 128 and indicatorOfParameter == 51:
return 'Maximum temperature at 2 metres in the last 24 hours'
if table2Version == 128 and indicatorOfParameter == 50:
return 'Large-scale precipitation fraction'
if table2Version == 128 and indicatorOfParameter == 49:
return '10 metre wind gust since previous post-processing'
if table2Version == 128 and indicatorOfParameter == 48:
return 'Magnitude of turbulent surface stress'
if table2Version == 128 and indicatorOfParameter == 47:
return 'Direct solar radiation'
if table2Version == 128 and indicatorOfParameter == 46:
return 'Solar duration'
if table2Version == 128 and indicatorOfParameter == 45:
return 'Snowmelt'
if table2Version == 128 and indicatorOfParameter == 44:
return 'Snow evaporation'
if table2Version == 128 and indicatorOfParameter == 43:
return 'Soil type'
if table2Version == 128 and indicatorOfParameter == 42:
return 'Volumetric soil water layer 4'
if table2Version == 128 and indicatorOfParameter == 41:
return 'Volumetric soil water layer 3'
if table2Version == 128 and indicatorOfParameter == 40:
return 'Volumetric soil water layer 2'
if table2Version == 128 and indicatorOfParameter == 39:
return 'Volumetric soil water layer 1'
if table2Version == 128 and indicatorOfParameter == 38:
return 'Ice temperature layer 4'
if table2Version == 128 and indicatorOfParameter == 37:
return 'Ice temperature layer 3'
if table2Version == 128 and indicatorOfParameter == 36:
return 'Ice temperature layer 2'
if table2Version == 128 and indicatorOfParameter == 35:
return 'Ice temperature layer 1'
if table2Version == 128 and indicatorOfParameter == 34:
return 'Sea surface temperature'
if table2Version == 128 and indicatorOfParameter == 33:
return 'Snow density'
if table2Version == 128 and indicatorOfParameter == 32:
return 'Snow albedo'
if table2Version == 128 and indicatorOfParameter == 31:
return 'Sea ice area fraction'
if table2Version == 128 and indicatorOfParameter == 30:
return 'Type of high vegetation'
if table2Version == 128 and indicatorOfParameter == 29:
return 'Type of low vegetation'
if table2Version == 128 and indicatorOfParameter == 28:
return 'High vegetation cover'
if table2Version == 128 and indicatorOfParameter == 27:
return 'Low vegetation cover'
if table2Version == 128 and indicatorOfParameter == 26:
return 'Lake cover'
if table2Version == 128 and indicatorOfParameter == 25:
return 'Reserved for future unbalanced components'
if table2Version == 128 and indicatorOfParameter == 24:
return 'Reserved for future unbalanced components'
if table2Version == 128 and indicatorOfParameter == 23:
return 'Unbalanced component of divergence'
if table2Version == 128 and indicatorOfParameter == 22:
return 'Unbalanced component of logarithm of surface pressure'
if table2Version == 128 and indicatorOfParameter == 21:
return 'Unbalanced component of temperature'
if table2Version == 128 and indicatorOfParameter == 20:
return 'Clear sky surface photosynthetically active radiation'
if table2Version == 128 and indicatorOfParameter == 19:
return 'Clear sky surface UV'
if table2Version == 128 and indicatorOfParameter == 18:
return 'Near IR albedo for diffuse radiation'
if table2Version == 128 and indicatorOfParameter == 17:
return 'Near IR albedo for direct radiation'
if table2Version == 128 and indicatorOfParameter == 16:
return 'UV visible albedo for diffuse radiation'
if table2Version == 128 and indicatorOfParameter == 15:
return 'UV visible albedo for direct radiation'
if table2Version == 128 and indicatorOfParameter == 14:
return 'V component of rotational wind'
if table2Version == 128 and indicatorOfParameter == 13:
return 'U component of rotational wind'
if table2Version == 128 and indicatorOfParameter == 12:
return 'V component of divergent wind'
if table2Version == 128 and indicatorOfParameter == 11:
return 'U component of divergent wind'
if table2Version == 128 and indicatorOfParameter == 10:
return 'Wind speed'
if table2Version == 128 and indicatorOfParameter == 9:
return 'Sub-surface runoff'
if table2Version == 128 and indicatorOfParameter == 8:
return 'Surface runoff'
if table2Version == 128 and indicatorOfParameter == 7:
return 'Soil clay fraction'
if table2Version == 128 and indicatorOfParameter == 6:
return 'Soil sand fraction'
if table2Version == 128 and indicatorOfParameter == 5:
return 'Saturated equivalent potential temperature'
if table2Version == 128 and indicatorOfParameter == 4:
return 'Equivalent potential temperature'
if table2Version == 128 and indicatorOfParameter == 3:
return 'Potential temperature'
if table2Version == 128 and indicatorOfParameter == 2:
return 'Velocity potential'
if table2Version == 128 and indicatorOfParameter == 1:
return 'Stream function'
if table2Version == 131 and indicatorOfParameter == 88:
return 'Total precipitation of at least 300 mm'
if table2Version == 131 and indicatorOfParameter == 87:
return 'Total precipitation of at least 200 mm'
if table2Version == 131 and indicatorOfParameter == 86:
return 'Total precipitation of at least 150 mm'
if table2Version == 131 and indicatorOfParameter == 85:
return 'Total precipitation of at least 100 mm'
if table2Version == 131 and indicatorOfParameter == 84:
return 'Total precipitation of at least 80 mm'
if table2Version == 131 and indicatorOfParameter == 83:
return 'Total precipitation of at least 60 mm'
if table2Version == 131 and indicatorOfParameter == 82:
return 'Total precipitation of at least 40 mm'
if table2Version == 131 and indicatorOfParameter == 63:
return 'Total precipitation of at least 20 mm'
if table2Version == 131 and indicatorOfParameter == 62:
return 'Total precipitation of at least 10 mm'
if table2Version == 131 and indicatorOfParameter == 61:
return 'Total precipitation of at least 5 mm'
if table2Version == 131 and indicatorOfParameter == 60:
return 'Total precipitation of at least 1 mm'
return wrapped
| 39.816426 | 119 | 0.649113 | 41,229 | 422,731 | 6.65534 | 0.025468 | 0.193245 | 0.052035 | 0.06268 | 0.947641 | 0.891845 | 0.809062 | 0.706935 | 0.410481 | 0.32721 | 0 | 0.083816 | 0.288746 | 422,731 | 10,616 | 120 | 39.820177 | 0.828792 | 0 | 0 | 0.204777 | 0 | 0.000141 | 0.267721 | 0.000866 | 0 | 0 | 0 | 0 | 0 | 1 | 0.000283 | false | 0 | 0.000141 | 0 | 0.500141 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 5 |
944ea876f13dd868c55d35f90212fcb3ba2773cf | 277 | py | Python | ramda/lesser_test.py | Rafi993/pyramda | 4fa7fe28d5eaa798b702d28bdd3948515cb88f48 | [
"MIT"
] | 56 | 2018-08-06T08:44:58.000Z | 2022-03-17T09:49:03.000Z | ramda/lesser_test.py | Rafi993/pyramda | 4fa7fe28d5eaa798b702d28bdd3948515cb88f48 | [
"MIT"
] | 28 | 2019-06-17T11:09:52.000Z | 2022-02-18T16:59:21.000Z | ramda/lesser_test.py | slavaGanzin/pyramda | 4fa7fe28d5eaa798b702d28bdd3948515cb88f48 | [
"MIT"
] | 5 | 2019-09-18T09:24:38.000Z | 2021-07-21T08:40:23.000Z | from .lesser import lesser
from ramda.private.asserts import assert_equal
def lesser_nocurry_test():
assert_equal(lesser(5, 3), 3)
assert_equal(lesser(5, 7), 5)
def lesser_curry_test():
max5 = lesser(5)
assert_equal(max5(3), 3)
assert_equal(max5(7), 5)
| 19.785714 | 46 | 0.700361 | 44 | 277 | 4.204545 | 0.363636 | 0.297297 | 0.183784 | 0.194595 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.061404 | 0.176895 | 277 | 13 | 47 | 21.307692 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.555556 | 1 | 0.222222 | false | 0 | 0.222222 | 0 | 0.444444 | 0 | 0 | 0 | 0 | null | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
94511bee94835b8d8cbfebedc17cfbb9bf60bb7c | 75 | py | Python | pygsa/sampling/__init__.py | a-pau/pygsa | 465cd103466139506d81cf91bf08ef80e123d449 | [
"BSD-3-Clause"
] | null | null | null | pygsa/sampling/__init__.py | a-pau/pygsa | 465cd103466139506d81cf91bf08ef80e123d449 | [
"BSD-3-Clause"
] | 3 | 2019-06-27T17:04:16.000Z | 2019-07-05T14:30:31.000Z | pygsa/sampling/__init__.py | a-pau/pygsa | 465cd103466139506d81cf91bf08ef80e123d449 | [
"BSD-3-Clause"
] | 3 | 2019-06-18T11:17:34.000Z | 2019-11-15T20:00:12.000Z | from .directions import directions
from .sobol_sequence import SobolSample
| 25 | 39 | 0.866667 | 9 | 75 | 7.111111 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.106667 | 75 | 2 | 40 | 37.5 | 0.955224 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
9453874a633263ce073275e552b66b77fccfb94f | 1,408 | py | Python | umlayer/gui/__init__.py | selforthis/umlayer | 8679af2ec46d346bc1b4adbcb70e3ebc6a52604a | [
"MIT"
] | null | null | null | umlayer/gui/__init__.py | selforthis/umlayer | 8679af2ec46d346bc1b4adbcb70e3ebc6a52604a | [
"MIT"
] | null | null | null | umlayer/gui/__init__.py | selforthis/umlayer | 8679af2ec46d346bc1b4adbcb70e3ebc6a52604a | [
"MIT"
] | 1 | 2021-11-28T17:26:00.000Z | 2021-11-28T17:26:00.000Z | # the order is important
from umlayer.gui import constants
from umlayer.gui.settings import Settings
from umlayer.gui.gui_utils import snap, snap_up, snap_round
from umlayer.gui.base_element import BaseElement, Abilities
from umlayer.gui.line_handle_item import LineHandleItem
from umlayer.gui.resize_handle_item import ResizeHandleItem
from umlayer.gui.handler import Handler
from umlayer.gui.resizable_element import ResizableElement
from umlayer.gui.tips import (
Tip,
NoTip,
ArrowTip,
TriangleTip,
HalfTriangleTip,
DiamondTip,
)
from umlayer.gui.text_item import TextItem
from umlayer.gui.text_element import TextElement
from umlayer.gui.actor_element import ActorElement
from umlayer.gui.package_element import PackageElement
from umlayer.gui.ellipse_element import EllipseElement
from umlayer.gui.note_element import NoteElement
from umlayer.gui.class_element import ClassElement
from umlayer.gui.line_element import LineElement
from umlayer.gui.line_icons_proxy_stype import LineIconsProxyStyle
from umlayer.gui.scene_logic import SceneLogic
from umlayer.gui.graphics_scene import GraphicsScene
from umlayer.gui.export_scene import ExportScene
from umlayer.gui.graphics_view import GraphicsView
from umlayer.gui.tree_view import TreeView
from umlayer.gui.actions import Actions
from umlayer.gui.mainwindow import MainWindow
from umlayer.gui.app import UMLayerApplication
| 34.341463 | 66 | 0.849432 | 192 | 1,408 | 6.098958 | 0.348958 | 0.244236 | 0.310845 | 0.046114 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105824 | 1,408 | 40 | 67 | 35.2 | 0.930103 | 0.015625 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.787879 | 0 | 0.787879 | 0 | 0 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
9458bb3c2afec5dd2e91a05593b27de19227629c | 48 | py | Python | exercises/knapsack/knapsack.py | delta48/python | 89bb17a15563b1bfb47e6f7659c5c82d8d20021f | [
"MIT"
] | null | null | null | exercises/knapsack/knapsack.py | delta48/python | 89bb17a15563b1bfb47e6f7659c5c82d8d20021f | [
"MIT"
] | null | null | null | exercises/knapsack/knapsack.py | delta48/python | 89bb17a15563b1bfb47e6f7659c5c82d8d20021f | [
"MIT"
] | null | null | null | def solve_knapsack(max_weight, items):
pass
| 16 | 38 | 0.75 | 7 | 48 | 4.857143 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.166667 | 48 | 2 | 39 | 24 | 0.85 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.5 | false | 0.5 | 0 | 0 | 0.5 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 5 |
94737587b6e538a4003937e9a3889b7f35730739 | 27,284 | py | Python | nephele/forms/forms.py | philipmac/nephele2 | 50acba6b7bb00da6209c75e26c8c040ffacbaa1e | [
"CC0-1.0"
] | 1 | 2021-02-26T23:00:10.000Z | 2021-02-26T23:00:10.000Z | nephele/forms/forms.py | philipmac/nephele2 | 50acba6b7bb00da6209c75e26c8c040ffacbaa1e | [
"CC0-1.0"
] | 1 | 2020-11-16T01:55:06.000Z | 2020-11-16T01:55:06.000Z | nephele/forms/forms.py | philipmac/nephele2 | 50acba6b7bb00da6209c75e26c8c040ffacbaa1e | [
"CC0-1.0"
] | 2 | 2021-08-12T13:59:49.000Z | 2022-01-19T17:16:26.000Z | """
WTForms definitions of the forms used in the site.
"""
import re
from flask_wtf import FlaskForm
from flask_wtf.file import FileField, FileRequired, FileAllowed
from wtforms import StringField, BooleanField, RadioField, IntegerField,\
SelectField, SelectMultipleField, FloatField, widgets
from wtforms.validators import DataRequired, InputRequired, \
NumberRange, Optional, Length, Regexp
from nephele2.nephele.forms import validators as neph_validators
from nephele2.nephele.forms import base_job_forms_help as base_help
from nephele2.nephele.forms import dada_forms_help as dada_help
from nephele2.nephele.forms import wgs_forms_help as wgs_help
from nephele2.nephele.forms import qc_forms_help as qc_help
# ############# custom fields ################
class MultiCheckboxField(SelectMultipleField):
"""
Field that renders a SelectMultipleField as a set
of checkboxes.
"""
widget = widgets.ListWidget(prefix_label=False)
option_widget = widgets.CheckboxInput()
class MultiDashedCheckboxField(MultiCheckboxField):
"""
A special variant of a MultiCheckboxField that returns
a string of values concatenated with a dash (-) instead of
an array.
"""
def _value(self):
if self.data:
return [x.strip() for x in self.data.split('-')]
return []
def post_validate(self, form, validation_stopped):
if self.data:
self.data = "-".join(self.data)
else:
self.data = ""
# ############# forms ################
class JobDetailsForm(FlaskForm):
"""
Defines the options that need to be displayed in all 16S pipeline options
forms, but not passed to the pipeline when it's run. These options are
stored in the database for other reasons.
"""
job_desc = StringField("Description of the job",
default=None,
description=base_help.job_name_desc)
class DSAnalysisForm(JobDetailsForm):
gt_five = "Input is required, must an integer greater than 5."
desc = "The total frequency that each sample should be rarefied to prior "\
"to computing diversity metrics. Samples with counts below this "\
"value will be removed from the analysis."
sampling_depth = IntegerField(
"Sampling depth for downstream analysis",
description=desc,
validators=[InputRequired(),
neph_validators.greater_than(
message=gt_five, minimum=4)])
red_warn = '<span style="color: red;">Requires Treatment Group column in \
mapping file, after filtering by sampling depth, to contain at least \
2 groups, and each group to contain at least 2 samples.</span>'
link = '<a class="" href="da_details/#input-files-and-parameters" \
target="_blank" rel="noopener noreferrer">More information.</a>'
alpha_desc = "Run alpha diversity statistical comparisons between groups, \
and produce alpha diversity plots. {} {}".format(red_warn, link)
alpha_group_sig = BooleanField("Run Alpha group significance",
default=False,
description=alpha_desc)
class DadaPEForm(JobDetailsForm):
"""
Defines the form for the DADA2 paired-end pipeline.
"""
zero_or_g = 'Must be 0 or greater.'
gt_zero = "Must be greater than 0."
ion_torrent = BooleanField("Check if Ion Torrent sequence",
default=False,
description=dada_help.ion_torrent_seq)
trimleft_fwd = IntegerField(
"Trim left forward",
default=20,
description=dada_help.trim_left_fwd_desc,
validators=[
neph_validators.greater_than(
message=zero_or_g,
minimum=-1)])
trimleft_rev = IntegerField(
"Trim left reverse",
default=20,
description=dada_help.trim_left_rev_desc,
validators=[
neph_validators.greater_than(
message=zero_or_g,
minimum=-1)])
truncQ = IntegerField(
"Truncation quality score",
default=4,
description=dada_help.tuncq_desc,
validators=[
neph_validators.greater_than(
message=gt_zero,
minimum=-1)])
truncLen_fwd = IntegerField(
"Truncation length forward", default=0,
description=dada_help.truncLen_fwd_desc,
validators=[neph_validators.greater_than(message=gt_zero, minimum=-1)])
truncLen_rev = IntegerField(
"Truncation length reverse", default=0,
description=dada_help.truncLen_rev_desc,
validators=[neph_validators.greater_than(message=gt_zero, minimum=-1)])
maxEE = IntegerField(
"Maximum expected errors",
default=5,
description=dada_help.maxee_desc,
validators=[
neph_validators.greater_than(
message=gt_zero,
minimum=-1)])
just_concatenate = BooleanField("Just concatenate",
default=False,
description=dada_help.just_concatenate)
maxMismatch = IntegerField(
"Maximum mismatches",
default=0,
description=dada_help.max_mismatches_desc,
validators=[
neph_validators.greater_than(
message=gt_zero,
minimum=-1)])
trim_overhang = BooleanField("Trim overhanging sequence",
default=False,
description=dada_help.trim_overhang_desc)
chimera = BooleanField("Run chimera removal",
default=True,
description=dada_help.remove_chimera_desc)
taxmethod = SelectField("Taxonomic assigment",
default="rdp",
description=dada_help.tax_method,
choices=[("rdp", "rdp"), ("idtaxa", "IDTAXA")])
sampling_depth = IntegerField("Sampling depth for downstream analysis",
description=dada_help.sampling_depth_desc,
validators=[Optional(),
neph_validators.greater_than(
message=zero_or_g,
minimum=0)])
ref_db = SelectField("Reference Database",
default="SILVA v132",
description=dada_help.ref_db_desc,
choices=[("sv99", "SILVA v132"),
("gg97", "Greengenes v13.8"),
("homd", "HOMD")])
class DadaSEForm(JobDetailsForm):
"""
Defines the form for the DADA2 single-end pipeline.
"""
ion_torrent = BooleanField("Check if Ion Torrent sequence",
default=False,
description=dada_help.ion_torrent_seq)
zero_or_g = 'Must be 0 or greater.'
trimleft_fwd = IntegerField(
"Trim left",
default=20,
description=dada_help.trim_left_fwd_desc,
validators=[
neph_validators.greater_than(
message=zero_or_g,
minimum=-1)])
truncQ = IntegerField(
"Truncation quality score",
default=4,
description=dada_help.tuncq_desc,
validators=[
neph_validators.greater_than(
message="Must be greater than 0.",
minimum=-1)])
truncLen_fwd = IntegerField(
"Truncation length",
default=0,
description=dada_help.truncLen_fwd_desc,
validators=[
neph_validators.greater_than(
message="Must be greater than 0.",
minimum=-1)])
maxEE = IntegerField(
"Maximum expected errors",
default=5,
description=dada_help.maxee_desc,
validators=[
neph_validators.greater_than(message="Must be greater than 0.",
minimum=-1)])
chimera = BooleanField("Run chimera removal",
default=True,
description=dada_help.remove_chimera_desc)
taxmethod = SelectField("Taxonomic assigment",
default="rdp",
description=dada_help.tax_method,
choices=[("rdp", "rdp"), ("idtaxa", "IDTAXA")])
sampling_depth = IntegerField(
"Sampling depth for downstream analysis",
description=dada_help.sampling_depth_desc,
validators=[
Optional(),
neph_validators.greater_than(
message="Must be greater than or equal to 0.",
minimum=0)])
ref_db = SelectField(
"Reference Database", default="SILVA v132",
description=dada_help.ref_db_desc,
choices=[("sv99", "SILVA v132"),
("gg97", "Greengenes v13.8"),
("homd", "HOMD")])
class WGSbioBakeryForm(JobDetailsForm):
"""
Defines the form for the WGS pipeline.
"""
strainphlan = BooleanField("Run strainphlan",
default=False,
description=wgs_help.run_strainphlan_desc)
project_name = StringField("Project name for visualization pipeline.",
description=wgs_help.project_name_desc)
class QCPairedEndForm(JobDetailsForm):
"""
Defines the form for the paired end QC form.
NOTE: The QC forms UIs are different enough from the other forms in the
system that they do not inherit the options_base template.
"""
run_cutadapt = BooleanField("Run adapter trimming",
default=False,
description=qc_help.run_cutadapt_desc)
run_qual_trimming = BooleanField(
"Run quality trimming", default=False,
description=qc_help.run_qual_trimming_desc)
run_flash2_merge = BooleanField("Merge read pairs",
default=False,
description=qc_help.run_flash2_merge_desc)
error_rate = FloatField(
"Error rate",
default=0.1,
description=qc_help.error_rate_desc,
validators=[
NumberRange(
min=0,
message="Must be greater than or equal to %(min)s."),
neph_validators.RequiredIf('run_cutadapt')])
indels = BooleanField("Indels",
default=True,
description=qc_help.indel_desc)
overlap = IntegerField(
"Adapter overlap",
default=3,
description=qc_help.overlap_desc,
validators=[
NumberRange(
min=0,
message="Must be greater than or equal to %(min)s."),
neph_validators.RequiredIf('run_cutadapt')])
match_read_wildcards = BooleanField("Match read wildcards",
default=True,
description=qc_help.wildcard_read_desc)
match_adapter_wildcards = BooleanField(
"Match adapter wildcards", default=True,
description=qc_help.wildcard_adapter_desc)
adapter_f = StringField(
"Forward 3' adapter",
description=qc_help.adapter_desc,
validators=[
Length(
max=250,
message="Length must be less than %(max)d"),
Regexp(
regex=r'(?i)^[acgturyswkmbdhvn\.\-\$\^]+$',
flags=re.IGNORECASE,
message="Must be a valid IUPAC sequence."),
Optional()])
adapter_r = StringField(
"Reverse 3' adapter",
description=qc_help.adapter_desc,
validators=[
Length(
max=250,
message="Length must be less than %(max)d"),
Regexp(
regex=r'(?i)^[acgturyswkmbdhvn\.\-\$\^]+$',
flags=re.IGNORECASE,
message="Must be a valid IUPAC sequence."),
Optional()])
front_f = StringField(
"Forward front 5' adapter",
description=qc_help.front_desc,
validators=[
Length(
max=250,
message="Length must be less than %(max)d"),
Regexp(
regex=r'(?i)^[acgturyswkmbdhvn\.\-\$\^]+$',
flags=re.IGNORECASE,
message="Must be a valid IUPAC sequence."),
Optional()])
front_r = StringField(
"Reverse front 5' adapter",
description=qc_help.front_desc,
validators=[
Length(
max=250,
message="Length must be less than %(max)d"),
Regexp(
regex=r'(?i)^[acgturyswkmbdhvn\.\-\$\^]+$',
flags=re.IGNORECASE,
message="Must be a valid IUPAC sequence."),
Optional()])
anywhere_f = StringField(
"Forward anywhere adapter",
description=qc_help.anywhere_desc,
validators=[
Length(
max=250,
message="Length must be less than %(max)d"),
Regexp(
regex=r'(?i)^[acgturyswkmbdhvn\.\-\$\^]+$',
flags=re.IGNORECASE,
message="Must be a valid IUPAC sequence."),
Optional()])
anywhere_r = StringField(
"Reverse anywhere adapter",
description=qc_help.anywhere_desc,
validators=[
Length(
max=250,
message="Length must be less than %(max)d"),
Regexp(
regex=r'(?i)^[acgturyswkmbdhvn\.\-\$\^]+$',
flags=re.IGNORECASE,
message="Must be a valid IUPAC sequence."),
Optional()])
window_size = IntegerField(
"Sliding window size",
default=4,
description=qc_help.window_size_desc,
validators=[
NumberRange(
min=0,
message="Must be greater than or equal to %(min)s."),
neph_validators.RequiredIf('run_qual_trimming')])
req_qual = IntegerField(
"Required quality for sliding window",
default=12,
description=qc_help.req_qual_desc,
validators=[
NumberRange(
min=0,
message="Must be greater than or equal to %(min)s."),
neph_validators.RequiredIf('run_qual_trimming')])
lead_qual = IntegerField(
"Leading quality",
default=3,
description=qc_help.lead_qual_desc,
validators=[
NumberRange(
min=0,
message="Must be greater than or equal to %(min)s."),
neph_validators.RequiredIf('run_qual_trimming')])
trail_qual = IntegerField(
"Trailing quality",
default=3,
description=qc_help.trail_qual_desc,
validators=[
NumberRange(
min=0,
message="Must be greater than or equal to %(min)s."),
neph_validators.RequiredIf('run_qual_trimming')])
minlen = IntegerField(
"Minimum length",
default=30,
description=qc_help.minlen_desc,
validators=[
NumberRange(
min=0,
message="Must be greater than or equal to %(min)s."),
neph_validators.RequiredIf('run_qual_trimming')])
avg_qual = IntegerField(
"Average quality",
default=0,
description=qc_help.avg_qual_desc,
validators=[
NumberRange(
min=0,
message="Must be greater than or equal to %(min)s."),
neph_validators.RequiredIf('run_qual_trimming')])
f2_min_overlap = IntegerField(
"Minimum overlap",
default=10,
description=qc_help.min_overlap_desc,
validators=[
NumberRange(
min=0,
message="Must be greater than or equal to %(min)s."),
neph_validators.RequiredIf('run_flash2_merge')])
f2_max_overlap = IntegerField(
"Maximum overlap",
default=315,
description=qc_help.max_overlap_desc,
validators=[
NumberRange(
min=0,
message="Must be greater than or equal to %(min)s."),
neph_validators.RequiredIf('run_flash2_merge')])
f2_min_overlap_outie = IntegerField(
"outie overlap",
default=35,
description=qc_help.min_outie_overlap_desc,
validators=[
NumberRange(
min=0,
message="Must be greater than or equal to %(min)s."),
neph_validators.RequiredIf('run_flash2_merge')])
f2_max_mismatch_density = FloatField(
"Maximum mismatch density", default=0.25,
description=qc_help.max_mismatch_density_desc,
validators=[
NumberRange(
min=0,
message="Must be greater than or equal to %(min)s."),
neph_validators.RequiredIf('run_flash2_merge')])
def validate(self):
if not super(QCPairedEndForm, self).validate():
return False
if self.run_cutadapt.data and not self.adapter_f.data and not\
self.adapter_r.data and not self.front_f.data and not\
self.front_r.data and not self.anywhere_f.data and not\
self.anywhere_r.data:
msg = "A valid IUPAC sequence must be provided for at least one of\
these fields."
self.adapter_f.errors.append(msg)
self.adapter_r.errors.append(msg)
self.front_f.errors.append(msg)
self.front_r.errors.append(msg)
self.anywhere_f.errors.append(msg)
self.anywhere_r.errors.append(msg)
return False
return True
class QCSingleEndForm(JobDetailsForm):
"""
Defines the form for the single end QC form.
NOTE: The QC forms UIs are different enough from the other forms in the
system that they do not inherit the options_base template.
"""
run_cutadapt = BooleanField("Run adapter trimming",
default=False,
description=qc_help.run_cutadapt_desc)
run_qual_trimming = BooleanField(
"Run quality trimming", default=False,
description=qc_help.run_qual_trimming_desc)
error_rate = FloatField(
"Error rate",
default=0.1,
description=qc_help.error_rate_desc,
validators=[
NumberRange(
min=0,
message="Must be greater than or equal to %(min)s."),
neph_validators.RequiredIf('run_cutadapt')])
indels = BooleanField("Allow indels",
default=True,
description=qc_help.indel_desc)
overlap = IntegerField(
"Adapter overlap",
default=3,
description=qc_help.overlap_desc,
validators=[
NumberRange(
min=0,
message="Must be greater than or equal to %(min)s."),
neph_validators.RequiredIf('run_cutadapt')])
match_read_wildcards = BooleanField("Match read wildcards",
default=True,
description=qc_help.wildcard_read_desc)
match_adapter_wildcards = BooleanField(
"Match adapter wildcards", default=True,
description=qc_help.wildcard_adapter_desc)
adapter_f = StringField(
"3' Adapter",
description=qc_help.adapter_desc,
validators=[
Length(
max=250,
message="Length must be less than %(max)d"),
Regexp(
regex=r'(?i)^[acgturyswkmbdhvn\.\-\$\^]+$',
flags=re.IGNORECASE,
message="Must be a valid IUPAC sequence."),
Optional()])
front_f = StringField(
"Front 5' adapter",
description=qc_help.front_desc,
validators=[
Length(
max=250,
message="Length must be less than %(max)d"),
Regexp(
regex=r'(?i)^[acgturyswkmbdhvn\.\-\$\^]+$',
flags=re.IGNORECASE,
message="Must be a valid IUPAC sequence."),
Optional()])
anywhere_f = StringField(
"Anywhere adapter",
description=qc_help.anywhere_desc,
validators=[
Length(
max=250,
message="Length must be less than %(max)d"),
Regexp(
regex=r'(?i)^[acgturyswkmbdhvn\.\-\$\^]+$',
flags=re.IGNORECASE,
message="Must be a valid IUPAC sequence."),
Optional()])
window_size = IntegerField(
"Sliding window size",
default=4,
description=qc_help.window_size_desc,
validators=[
NumberRange(
min=0,
message="Must be greater than or equal to %(min)s."),
neph_validators.RequiredIf('run_qual_trimming')])
req_qual = IntegerField(
"Required quality for sliding window",
default=12,
description=qc_help.req_qual_desc,
validators=[
NumberRange(
min=0,
message="Must be greater than or equal to %(min)s."),
neph_validators.RequiredIf('run_qual_trimming')])
lead_qual = IntegerField(
"Leading quality",
default=3,
description=qc_help.lead_qual_desc,
validators=[
NumberRange(
min=0,
message="Must be greater than or equal to %(min)s."),
neph_validators.RequiredIf('run_qual_trimming')])
trail_qual = IntegerField(
"Trailing quality",
default=3,
description=qc_help.trail_qual_desc,
validators=[
NumberRange(
min=0,
message="Must be greater than or equal to %(min)s."),
neph_validators.RequiredIf('run_qual_trimming')])
minlen = IntegerField(
"Minimum length",
default=30,
description=qc_help.minlen_desc,
validators=[
NumberRange(
min=0,
message="Must be greater than or equal to %(min)s."),
neph_validators.RequiredIf('run_qual_trimming')])
avg_qual = IntegerField(
"Average quality",
default=0,
description=qc_help.avg_qual_desc,
validators=[
NumberRange(
min=0,
message="Must be greater than or equal to %(min)s."),
neph_validators.RequiredIf('run_qual_trimming')])
def validate(self):
if not super(QCSingleEndForm, self).validate():
return False
if self.run_cutadapt.data and not self.adapter_f.data and not\
self.front_f.data and not self.anywhere_f.data:
msg = "A valid IUPAC sequence must be provided for at least one of\
these fields."
self.adapter_f.errors.append(msg)
self.front_f.errors.append(msg)
self.anywhere_f.errors.append(msg)
return False
return True
class UploadSeqUrlForm(FlaskForm):
"""
Defines the form rendered with the upload.html template.
"""
ALLOWED_PREFIXES = ['ftp']
# TODO: validate that if the file is an archive it contains files with
# valid extensions.
data_file = StringField(
'Please provide the URL for your file: ',
[InputRequired("You must provide a valid URL"),
neph_validators.url_valid,
neph_validators.url_file_allowed(
ALLOWED_PREFIXES,
'Invalid file type. You may only upload files with extensions in '
+ ', '.join(ALLOWED_PREFIXES))])
class UploadBiomForm(FlaskForm):
"""
Defines the form rendered with the upload.html template.
"""
ALLOWED_EXTS = ['biom']
EXT_ERR_MSG = 'Invalid file type. You may only upload %s files.' + \
', '.join(ALLOWED_EXTS)
data_file = FileField(
'Please select file: ', [
FileRequired(), FileAllowed(
ALLOWED_EXTS, EXT_ERR_MSG)])
class UploadMapForm(FlaskForm):
"""
Defines the form rendered with the upload.html template.
"""
ALLOWED_EXTENSIONS = ['txt', 'csv', 'xlsx']
ERR_MSG = 'Invalid file type. You may only upload files '\
'with extensions: {}'.format(', '.join(ALLOWED_EXTENSIONS))
data_file = FileField('Please select file: ',
[FileRequired(),
FileAllowed(ALLOWED_EXTENSIONS, ERR_MSG)])
class UploadQualFileForm(FlaskForm):
"""
Defines the form rendered with the upload.html template for uploading the
qual file.
"""
ALLOWED_EXTENSIONS = ['qual']
data_file = FileField(
'Please select file: ',
[FileRequired(),
FileAllowed(
ALLOWED_EXTENSIONS,
'Invalid file type. You may only upload files with extensions in '
+ ', '.join(ALLOWED_EXTENSIONS))])
class UploadBarcodeFileForm(FlaskForm):
"""
Defines the form rendered with the upload.html template for uploading a
barcode file.
"""
ERR_MSG = 'Invalid file type. You may only upload fastq files'
data_file = FileField('Please select file: ',
[FileRequired(),
FileAllowed(['fastq'], ERR_MSG)])
class DataTypeSelectionForm(FlaskForm):
"""
Defines the form rendered with the datatype_selection.html template for
16S.
"""
data_type = RadioField('filetype',
choices=[("PE", "Paired End FASTQ"),
("SE", "Single End FASTQ"),
],
validators=[DataRequired("Please select the type \
of data you will be using.")])
class DataTypeQCSelectionForm(FlaskForm):
"""
Defines the form rendered with the datatype_selection.html template for
16S.
"""
data_type = RadioField('filetype',
choices=[("QC_PE", "Paired End FASTQ"),
("QC_SE", "Single End FASTQ"),
],
validators=[DataRequired("Please select the type \
of data you will be using.")])
class DataTypeWGSSelectionForm(FlaskForm):
"""
Defines the form rendered with the datatype_selection.html template for
ITS.
"""
data_type = RadioField('filetype',
choices=[("WGS_PE", "WGS Paired End FASTQ"),
("WGS_SE", "WGS Single End FASTQ")],
validators=[DataRequired("Please select the type \
of data you will be using.")])
| 38.052999 | 79 | 0.561721 | 2,746 | 27,284 | 5.419883 | 0.137291 | 0.018948 | 0.04569 | 0.028556 | 0.763421 | 0.744877 | 0.715716 | 0.700934 | 0.688571 | 0.668145 | 0 | 0.00961 | 0.344011 | 27,284 | 716 | 80 | 38.106145 | 0.821935 | 0.058936 | 0 | 0.73588 | 0 | 0 | 0.181897 | 0.013235 | 0 | 0 | 0 | 0.001397 | 0 | 1 | 0.006645 | false | 0 | 0.016611 | 0 | 0.219269 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
8493604b3ea373f11143c528e7d3932a8c3c9aba | 60 | py | Python | aoc2020/d07_handy_haversacks/__init__.py | watsonjj/aoc2020 | 9dfd08f68b5ef5640c658cd19573ab73e1341b54 | [
"MIT"
] | null | null | null | aoc2020/d07_handy_haversacks/__init__.py | watsonjj/aoc2020 | 9dfd08f68b5ef5640c658cd19573ab73e1341b54 | [
"MIT"
] | null | null | null | aoc2020/d07_handy_haversacks/__init__.py | watsonjj/aoc2020 | 9dfd08f68b5ef5640c658cd19573ab73e1341b54 | [
"MIT"
] | null | null | null | from .methods import BagRules
from .answer import AnswerD07
| 20 | 29 | 0.833333 | 8 | 60 | 6.25 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.038462 | 0.133333 | 60 | 2 | 30 | 30 | 0.923077 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
84943c37b13f089ed9ce0e658c70e5b8fdaa5b6f | 56 | py | Python | mol/wrappers/__init__.py | cgrambow/mol | 47f28a3bfacefe3efb7f9dc8766841980bfc95ac | [
"MIT"
] | null | null | null | mol/wrappers/__init__.py | cgrambow/mol | 47f28a3bfacefe3efb7f9dc8766841980bfc95ac | [
"MIT"
] | null | null | null | mol/wrappers/__init__.py | cgrambow/mol | 47f28a3bfacefe3efb7f9dc8766841980bfc95ac | [
"MIT"
] | null | null | null | from .pybel import PybelMol
from .rdkit import RDKitMol
| 18.666667 | 27 | 0.821429 | 8 | 56 | 5.75 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.142857 | 56 | 2 | 28 | 28 | 0.958333 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
84b03b91c03f3bd99a16be034ba1ac4cb6b96d26 | 23,245 | py | Python | azkaban_cli/api.py | andressamagblr/azkaban-cli | 416ab5e378da85d2bbd441cf0936167f35813ca1 | [
"MIT"
] | null | null | null | azkaban_cli/api.py | andressamagblr/azkaban-cli | 416ab5e378da85d2bbd441cf0936167f35813ca1 | [
"MIT"
] | null | null | null | azkaban_cli/api.py | andressamagblr/azkaban-cli | 416ab5e378da85d2bbd441cf0936167f35813ca1 | [
"MIT"
] | null | null | null | # -*- coding: utf-8 -*-
"""
azkaban_cli.api
This module provides a set of requests for the Azkaban API
"""
import logging
import os
def upload_request(session: requests.Session, host: str, session_id: str, project: str, zip_path: str) -> requests.Response:
"""
Upload request for the Azkaban API
Args:
session: A session for creating the request
host: Hostname where the request should go
session_id: An id that the user should have when is logged in
project: Project name on Azkaban
zip_path: Local path from zip that will be uploaded
Raise:
requests.exceptions.ConnectionError: if cannot connect to host
Returns:
The response from the request made
"""
zip_file = open(zip_path, 'rb')
zip_name = os.path.basename(zip_path)
response = session.post(
host + '/manager',
data={
u'session.id': session_id,
u'ajax': u'upload',
u'project': project
},
files={
u'file': (zip_name, zip_file, 'application/zip'),
}
)
logging.debug("Response: \n%s", response.text)
return response
def login_request(session: requests.Session, host: str, user: str, password: str) -> requests.Response:
"""
Login request for the Azkaban API
Args:
session: A session for creating the request
host: Hostname where the request should go
user: The user name
password: The user password
Raises:
requests.exceptions.ConnectionError: if cannot connect to host
Retunrs:
The response from the request made
"""
response = session.post(
host,
data={
u'action': u'login',
u'username': user,
u'password': password
}
)
logging.debug("Response: \n%s", response.text)
return response
def schedule_request(
session: requests.Session, host: str, session_id: str, project: str, flow: str, cron: str, **execution_options) -> requests.Response:
"""
Schedule request for the Azkaban API
Args:
session: A session for creating the request
session: requests.Session
host: Hostname where the request should go
session_id: An id that the user should have when is logged in
project: Project name that contains the flow that will be scheduled on Azkaban
flow: Flow name to be scheduled on Azkaban
cron: Cron expression in quartz format used to schedule
\*\*execution_options: Optional parameters to execution
Raises:
requests.exceptions.ConnectionError: if cannot connect to host
Returns:
The response from the request made
"""
data = {
u'session.id': session_id,
u'ajax': u'scheduleCronFlow',
u'projectName': project,
u'flow': flow,
u'cronExpression': cron
}
data.update(execution_options)
logging.debug("Request data: \n%s", data)
response = session.post(
host + '/schedule',
data=data
)
logging.debug("Response: \n%s", response.text)
return response
def fetch_flows_request(session: requests.Session, host: str, session_id: str, project: str) -> requests.Response:
"""
Fetch flows of a project request for the Azkaban API
Args:
session: A session for creating the request
host: Hostname where the request should go
session_id: An id that the user should have when is logged in
project: Project name whose flows will be fetched on Azkaban
Raises:
raises requests.exceptions.ConnectionError: if cannot connect to host
Returns:
The response from the request made
"""
response = session.get(
host + '/manager',
params={
u'session.id': session_id,
u'ajax': 'fetchprojectflows',
u'project': project
}
)
logging.debug("Response: \n%s", response.text)
return response
def fetch_executions_of_a_flow_request(session: requests.Session, session_id: str, project: str, flow: str, start: int, length:int) -> requests.Response:
"""
fetch executions of a flow on a given project
Args:
session: A session for creating the request
session: requests.Session
session_id: An id that the user should have when is logged in
project: Project name whose flows will be fetched on Azkaban
flow: Flow name whose schedule will be fetched on Azkaban
start: The start index of the returned list (inclusive)
length: The length of the returned list
Raises:
requests.exceptions.ConnectionError: if cannot connect to host
Returns:
The response from the request made
"""
response = session.get(
host + '/manager',
params={
u'session.id': session_id,
u'ajax':'fetchFlowExecutions',
u'project': project,
u'flow': flow,
u'start': start,
u'length': length,
}
)
logging.debug("Response: \n%s", response.text)
return response
def fetch_jobs_from_flow_request(session: requests.Session, host: str, session_id: str, project: str, flow: str) -> requests.Response:
"""
Fetch jobs of a flow of a project request for the Azkaban API
Args:
session: A session for creating the request
host: Hostname where the request should go
session_id: An id that the user should have when is logged in
project: Project name whose flow's jobs will be fetched on Azkaban
flow: Flow id whose jobs will be fetched on Azkaban
Raises:
requests.exceptions.ConnectionError: if cannot connect to host
Returns:
The response from the request made
"""
response = session.get(
host + '/manager',
params={
u'session.id': session_id,
u'ajax': 'fetchflowgraph',
u'project': project,
u'flow': flow
}
)
logging.debug("Response: \n%s", response.text)
return response
def fetch_schedule_request(session: requests.Session, host: str, session_id: str, project_id: str, flow: str) -> requests.Response:
"""Fetch flow of a project request for the Azkaban API
Args:
session: A session for creating the request
host: Hostname where the request should go
session_id: An id that the user should have when is logged in
project: Project name whose flow's jobs will be fetched on Azkaban
project: Flow id whose jobs will be fetched on Azkaban
Raises:
requests.exceptions.ConnectionError: if cannot connect to host
Returns:
The response from the request made
"""
response = session.get(
host + '/schedule',
params={
u'session.id': session_id,
u'ajax': 'fetchSchedule',
u'projectId': project_id,
u'flowId': flow
}
)
logging.debug("Response: \n%s", response.text)
return response
def unschedule_request(session: requests.Session, host: str, session_id: str, schedule_id: str) -> requests.Response:
"""
Unschedule request for the Azkaban API
Args:
session: A session for creating the request
host: Hostname where the request should go
session_id: An id that the user should have when is logged in
schedule_id: Schedule id of the flow that will be unscheduled on Azkaban
Raises:
requests.exceptions.ConnectionError: if cannot connect to host
Returns:
The response from the request made
"""
data = {
u'session.id': session_id,
u'action': u'removeSched',
u'scheduleId': schedule_id
}
logging.debug("Request data: \n%s", data)
response = session.post(
host + '/schedule',
data=data
)
logging.debug("Response: \n%s", response.text)
return response
def execute_request(session: requests.Session, host: str, session_id: str, project: str, flow: str, **execution_options) -> requests.Response:
"""
Execute request for the Azkaban API
Args:
session: A session for creating the request
host: Hostname where the request should go
session_id: An id that the user should have when is logged in
project: Project name that contains the flow that will be executed on Azkaban
flow: Flow name to be executed on Azkaban
\*\*execution_options: Optional parameters to execution
Raises:
requests.exceptions.ConnectionError: if cannot connect to host
Returns:
The response from the request made
"""
params = {
u'session.id': session_id,
u'ajax': 'executeFlow',
u'project': project,
u'flow': flow
}
params.update(execution_options)
response = session.get(
host + '/executor',
params=params
)
logging.debug("Response: \n%s", response.text)
return response
def cancel_request(session: requests.Session, host: str, session_id: str, exec_id: str) -> requests.Response:
"""
Cancel an running flow for the Azkaban API
Args:
session: A session for creating the request
host: Hostname where the request should go
session_id: An id that the user should have when is logged in
exec_id: Execution id to be canceled
Raises:
requests.exceptions.ConnectionError: if cannot connect to host
Returns:
The response from the request made
"""
response = session.get(
host + '/executor',
params={
u'session.id': session_id,
u'ajax': 'cancelFlow',
u'execid': exec_id
}
)
logging.debug("Response: \n%s", response.text)
return response
def create_request(session: requests.Session, host: str, session_id: str, project: str, description: str) -> requests.Response:
"""
Create a Project request for the Azkaban API
Args:
session: A session for creating the request
host: Hostname where the request should go
session_id: An id that the user should have when is logged in
project: Project name to be created on Azkaban
description: The description for the project
Raises:
requests.exceptions.ConnectionError: if cannot connect to host
Returns:
The response from the request made
"""
response = session.post(
host + '/manager',
data={
u'session.id': session_id,
u'action': u'create',
u'name': project,
u'description': description
}
)
logging.debug("Response: \n%s", response.text)
return response
def delete_request(session: requests.Session, host: str, session_id: str, project: str) -> requests.Response:
"""
Delete a Project request for the Azkaban API
Args:
session: A session for creating the request
host: Hostname where the request should go
session_id: An id that the user should have when is logged in
project: Project name to be deleted on Azkaban
Raises:
requests.exceptions.ConnectionError: if cannot connect to host
Returns:
The response from the request made
"""
response = session.get(
host + '/manager',
params={
u'session.id': session_id,
u'delete': 'true',
u'project': project
}
)
logging.debug("Response: \n%s", response.text)
return response
def fetch_projects_request(session: requests.Session, host: str, session_id: str) -> requests.Response:
"""
Fetch all projects request for the Azkaban API
Args:
session: A session for creating the request
host: Hostname where the request should go
session_id: An id that the user should have when is logged in
Raises:
requests.exceptions.ConnectionError: if cannot connect to host
Returns:
The response from the request made
"""
response = session.get(
host + '/index?all',
params={
u'session.id': session_id
}
)
logging.debug("Response: \n%s", response.text)
return response
def add_permission_request(session: requests.Session, host: str, session_id: str, project: str, group: str, permission_options: dict) -> requests.Response:
"""
Add permission request for the Azkaban API
Fetch all projects request for the Azkaban API
Args:
session: A session for creating the request
host: Hostname where the request should go
session_id: An id that the user should have when is logged in
project: Project name that will receive group permissions on Azkaban
group: Group name on Azkaban
permission_options: The permissions options added to group in the project on Azkaban
Raises:
requests.exceptions.ConnectionError: if cannot connect to host
Returns:
The response from the request made
"""
response = __call_permission_api(session, host, session_id, 'addPermission', project, group, permission_options)
logging.debug("Response: \n%s", response.text)
return response
def remove_permission_request(session: requests.Session, host: str, session_id: str, project: str, group: str) -> requests.Response:
"""
Remove permission request for the Azkaban API
Args:
session: A session for creating the request
host: Hostname where the request should go
session_id: An id that the user should have when is logged in
project: Project name that will lose group permissions on Azkaban
group: Group name on Azkaban
Raises:
requests.exceptions.ConnectionError: if cannot connect to host
Returns:
The response from the request made
"""
#to remove a group permission, we have to pass all permissions as False
permission_options = {'admin': False, 'read': False, 'write': False, 'execute': False, 'schedule': False}
response = __call_permission_api(session, host, session_id, 'changePermission', project, group, permission_options)
logging.debug("Response: \n%s", response.text)
return response
def change_permission_request(session: requests.Session, host: str, session_id: str, project: str, group: str, permission_options: dict) -> requests.Response:
"""
Change permission request for the Azkaban API
Args:
session: A session for creating the request
host: Hostname where the request should go
session_id: An id that the user should have when is logged in
project: Project name that will receive the newly updated group permissions on Azkaban
group: Group name on Azkaban
permission_options: The permissions options to replace old permission for the group in the project on Azkaban
Raises:
requests.exceptions.ConnectionError: if cannot connect to host
Returns:
The response from the request made
"""
response = __call_permission_api(session, host, session_id, 'changePermission', project, group, permission_options)
logging.debug("Response: \n%s", response.text)
return response
def fetch_sla_request(session: requests.Session, host: str, session_id: str, schedule_id: str) -> requests.Response:
"""
Fetch flow of a SLA request for the Azkaban API
Args:
session: A session for creating the request
host: Hostname where the request should go
session_id: An id that the user should have when is logged in
schedule_id: The id of the shchedule
Raises:
requests.exceptions.ConnectionError: if cannot connect to host
Returns:
The response from the request made
"""
response = session.get(
host + '/schedule',
params={
u'session.id': session_id,
u'ajax': 'slaInfo',
u'scheduleId': schedule_id,
}
)
logging.debug("Response: \n%s", response.text)
return response
def __call_permission_api(
session: requests.Response, host: str, session_id: str, operation: str, project: str, group: str, permission_options: str
) -> requests.Response:
"""
This function is a utility to call permission API in Azkaban.
Args:
session: A session for creating the request
host: Hostname where the request should go
session_id: An id that the user should have when is logged in
operation: The action to be executed in Azkaban, can be with values [addPermission OU changePermission]
project: Project name that will receive the newly updated group permissions on Azkaban
group: Group name on Azkaban
permission_options: The permissions options to replace old permission for the group in the project on Azkaban
Raises:
requests.exceptions.ConnectionError: if cannot connect to host
Returns:
The response from the request made
Sample request to Azkaban
#https://azkaban.qa.globoi.com/manager?project=teste-permission-api-20190806&name=time-dmp&ajax=addPermission&permissions%5Badmin%5D=false&permissions%5Bread%5D=true&permissions%5Bwrite%5D=false&permissions%5Bexecute%5D=true&permissions%5Bschedule%5D=false&group=true
"""
return session.get(
host + '/manager',
params = {
u'session.id': session_id,
u'ajax': operation,
u'project': project,
u'name': group,
u'permissions[admin]': permission_options['admin'],
u'permissions[write]': permission_options['write'],
u'permissions[read]': permission_options['read'],
u'permissions[execute]': permission_options['execute'],
u'permissions[schedule]': permission_options['schedule'],
u'group': True
}
)
def fetch_flow_execution_request(session: requests.Session, host: str, session_id: str, exec_id: str) -> requests.Response:
"""
Fetch a flow execution request for the Azkaban API
Args:
session: A session for creating the request
host: Hostname where the request should go
session_id: An id that the user should have when is logged in
exec_id: Execution id to be fetched
Raises:
requests.exceptions.ConnectionError: if cannot connect to host
Returns:
The response from the request made
"""
response = session.get(
host + '/executor',
params={
u'session.id': session_id,
u'ajax': 'fetchexecflow',
u'execid': exec_id
}
)
logging.debug("Response: \n%s", response.text)
return response
def fetch_flow_execution_updates_request(
session: requests.Session, host: str, session_id: str, exec_id: str, last_update_time: str = None
) -> requests.Response:
"""
Fetch a flow execution updates request for the Azkaban API
Args:
session: A session for creating the request
host: Hostname where the request should go
session_id: An id that the user should have when is logged in
exec_id: Execution id to be fetched
last_update_time: The criteria to filter by last update time. Set the value to be -1 if all
job information are needed. Use -lt="value" to subscribe the default value, defaults to -1
Raises:
requests.exceptions.ConnectionError: if cannot connect to host
Returns:
The response from the request made
"""
response = session.get(
host + '/executor',
params={
u'session.id': session_id,
u'ajax': 'fetchexecflowupdate',
u'execid': exec_id,
u'lastUpdateTime': last_update_time
}
)
logging.debug("Response: \n%s", response.text)
return response
def fetch_execution_job_log_request(
session: requests.Response, host: str, session_id: str, exec_id: str, jobid: str, offset: str, length: str
) -> requests.Response:
"""
Fetches the correponding job logs.
This method receives the execution id, jobid, offset and lenght, makes a fetch
request to get the correponding job logs and evaluates the response.
Args:
session: A session for creating the request
host: Hostname where the request should go
session_id: An id that the user should have when is logged in
exec_id: Execution id to be fetched
jobid: The unique id for the job to be fetched
offset: The offset for the log data
length: The length of the log data. For example, if the offset set is 10 and the length is 1000,
the returned log will starts from the 10th character and has a length of 1000
(less if the remaining log is less than 1000 long)
Raises:
FetchExecutionJobsLogError: when Azkaban api returns error in response
Returns:
The json response from the request
"""
response = session.get(
host + '/executor',
params={
u'session.id': session_id,
u'ajax': 'fetchExecJobLogs',
u'execid': exec_id,
u'jobId': jobid,
u'offset': offset,
u'length': length
}
)
logging.debug("Response: \n%s", response.text)
return response
def resume_flow_execution(session: requests.Session, host: str, session_id: str , exec_id: str) -> requests.Response:
"""
Resume a flow execution request for the Azkaban API
Args:
session: A session for creating the request
host: Hostname where the request should go
session_id: An id that the user should have when is logged in
exec_id: Execution id to be fetched
Raises:
requests.exceptions.ConnectionError: if cannot connect to host
Returns:
The response from the request made
"""
response = session.get(
host + '/executor',
params={
u'session.id': session_id,
u'ajax': 'resumeFlow',
u'execid': exec_id
}
)
logging.debug("Response: \n%s", response.text)
return response
def fetch_running_executions_of_a_flow_request(session: requests.Session, host: str, session_id: str, project: str, flow: str) -> requests.Response:
"""
Fetch running executions of a flow
Args:
session: A session for creating the request
host: Hostname where the request should go
session_id: An id that the user should have when is logged in
project: Project name that will receive the newly updated group permissions on Azkaban
Flow: Flow id whose executions will be fetched on Azkaban
Raises:
requests.exceptions.ConnectionError: if cannot connect to host
Returns:
The response from the request made
"""
response = session.get(
host + '/executor',
params={
u'session.id': session_id,
u'ajax': 'getRunning',
u'project': project,
u'flow': flow
}
)
logging.debug("Response: \n%s", response.text)
return response
| 33.688406 | 271 | 0.647752 | 2,950 | 23,245 | 5.039322 | 0.082034 | 0.05146 | 0.034037 | 0.029396 | 0.797054 | 0.781313 | 0.760124 | 0.749025 | 0.736782 | 0.725279 | 0 | 0.002194 | 0.27464 | 23,245 | 689 | 272 | 33.7373 | 0.879485 | 0.496064 | 0 | 0.538745 | 0 | 0 | 0.139987 | 0.002019 | 0 | 0 | 0 | 0 | 0 | 1 | 0.084871 | false | 0.00738 | 0.00738 | 0 | 0.177122 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
84cd08485238e25562f56aa67bf0ff055ef4343e | 87 | py | Python | 4. Estrutura de Repeticao While/Lista 01/programa 01.py | enosteteo/Introducao-a-Programacao-P1 | bd8f90c96fd16c88e7dc7136942fe29a828f86fa | [
"MIT"
] | null | null | null | 4. Estrutura de Repeticao While/Lista 01/programa 01.py | enosteteo/Introducao-a-Programacao-P1 | bd8f90c96fd16c88e7dc7136942fe29a828f86fa | [
"MIT"
] | null | null | null | 4. Estrutura de Repeticao While/Lista 01/programa 01.py | enosteteo/Introducao-a-Programacao-P1 | bd8f90c96fd16c88e7dc7136942fe29a828f86fa | [
"MIT"
] | null | null | null | a = 2
b = 9
while(b - a > 1):
c = 2 * b
b = b - 1
a = a + 2
c = (c / 2) + a | 12.428571 | 17 | 0.287356 | 21 | 87 | 1.190476 | 0.333333 | 0.16 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.162791 | 0.505747 | 87 | 7 | 18 | 12.428571 | 0.418605 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
ca0a80b4a5aa091888712e0761162f31cc13c142 | 3,343 | py | Python | tests/runner/test_bootstrap.py | a-musing-moose/cel | 11d89c90dce62f67f351723b96a48a768621fbfb | [
"MIT"
] | 2 | 2017-09-17T06:59:20.000Z | 2017-09-17T07:47:50.000Z | tests/runner/test_bootstrap.py | a-musing-moose/cel | 11d89c90dce62f67f351723b96a48a768621fbfb | [
"MIT"
] | null | null | null | tests/runner/test_bootstrap.py | a-musing-moose/cel | 11d89c90dce62f67f351723b96a48a768621fbfb | [
"MIT"
] | null | null | null | import json
from io import StringIO
import pytest
from cel.runner import bootstrap
def test_timeout_exits_with_none_zero_code():
with pytest.raises(SystemExit) as e:
bootstrap.timeout(None, None)
assert e.value.code != 0
def test_timeout_outputs_an_json_error_message(capsys):
capsys.readouterr()
with pytest.raises(SystemExit):
bootstrap.timeout(None, None)
out, err = capsys.readouterr()
assert 'error' in out
assert 'error' in json.loads(out)
def test_missing_module_exits_with_none_zero_code():
with pytest.raises(SystemExit) as e:
bootstrap.get_entry_point()
assert e.value.code != 0
def test_missing_module_outputs_an_json_error_message(capsys):
capsys.readouterr()
with pytest.raises(SystemExit):
bootstrap.get_entry_point()
out, err = capsys.readouterr()
assert 'error' in out
assert 'error' in json.loads(out)
def test_missing_entry_point_exits_with_none_zero_code(tmpdir, monkeypatch):
app = tmpdir.join('app.py')
app.write('pass')
init = tmpdir.join('__init__.py')
init.write('')
monkeypatch.syspath_prepend(tmpdir)
with pytest.raises(SystemExit) as e:
bootstrap.get_entry_point()
tmpdir.remove(rec=1)
assert e.value.code != 0
def test_missing_entry_point_returns_error_json(tmpdir, monkeypatch, capsys):
app = tmpdir.join('app.py')
app.write('pass')
init = tmpdir.join('__init__.py')
init.write('')
monkeypatch.syspath_prepend(tmpdir)
capsys.readouterr()
with pytest.raises(SystemExit):
bootstrap.get_entry_point()
tmpdir.remove(rec=1)
out, err = capsys.readouterr()
assert 'error' in out
assert 'error' in json.loads(out)
def test_run_exits_if_stdin_not_json(monkeypatch, capsys):
monkeypatch.setattr('cel.runner.bootstrap.get_entry_point', lambda: None)
monkeypatch.setattr('cel.runner.bootstrap.sys.stdin', StringIO('{'))
capsys.readouterr()
with pytest.raises(SystemExit) as e:
bootstrap.run()
out, err = capsys.readouterr()
assert e.value.code != 0
assert 'error' in out
assert 'error' in json.loads(out)
def test_entry_point_exception_causes_exit(monkeypatch, capsys):
expected_message = 'test exception'
def mock_entry(payload):
raise Exception(expected_message)
monkeypatch.setattr('cel.runner.bootstrap.get_entry_point', lambda: mock_entry)
monkeypatch.setattr('cel.runner.bootstrap.sys.stdin', StringIO('{}'))
capsys.readouterr()
with pytest.raises(SystemExit) as e:
bootstrap.run()
out, err = capsys.readouterr()
assert e.value.code != 0
assert 'error' in out
data = json.loads(out)
assert 'error' in data
assert data['error'] == expected_message
def test_successful_run_exits_with_a_zero(monkeypatch, capsys):
expected_response = {
'success': True
}
def mock_entry(payload):
return expected_response
monkeypatch.setattr('cel.runner.bootstrap.get_entry_point', lambda: mock_entry)
monkeypatch.setattr('cel.runner.bootstrap.sys.stdin', StringIO('{}'))
capsys.readouterr()
with pytest.raises(SystemExit) as e:
bootstrap.run()
out, err = capsys.readouterr()
assert e.value.code == 0
data = json.loads(out)
assert data == expected_response
| 27.401639 | 83 | 0.701765 | 435 | 3,343 | 5.183908 | 0.170115 | 0.085144 | 0.05765 | 0.103769 | 0.763193 | 0.725499 | 0.725499 | 0.714856 | 0.673171 | 0.64878 | 0 | 0.00294 | 0.18606 | 3,343 | 121 | 84 | 27.628099 | 0.825799 | 0 | 0 | 0.719101 | 0 | 0 | 0.096022 | 0.059228 | 0 | 0 | 0 | 0 | 0.202247 | 1 | 0.123596 | false | 0.022472 | 0.044944 | 0.011236 | 0.179775 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
ca1aa0058651b0d67acab8ae60cac627d00cc348 | 13,282 | py | Python | AppServer/google/appengine/tools/devappserver2/url_handler_test.py | loftwah/appscale | 586fc1347ebc743d7a632de698f4dbfb09ae38d6 | [
"Apache-2.0"
] | 790 | 2015-01-03T02:13:39.000Z | 2020-05-10T19:53:57.000Z | AppServer/google/appengine/tools/devappserver2/url_handler_test.py | nlake44/appscale | 6944af660ca4cb772c9b6c2332ab28e5ef4d849f | [
"Apache-2.0"
] | 1,361 | 2015-01-08T23:09:40.000Z | 2020-04-14T00:03:04.000Z | AppServer/google/appengine/tools/devappserver2/url_handler_test.py | nlake44/appscale | 6944af660ca4cb772c9b6c2332ab28e5ef4d849f | [
"Apache-2.0"
] | 155 | 2015-01-08T22:59:31.000Z | 2020-04-08T08:01:53.000Z | #!/usr/bin/env python
#
# Copyright 2007 Google Inc.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
"""Tests for google.appengine.tools.devappserver2.url_handler."""
import re
import unittest
import wsgiref.util
from google.appengine.api import appinfo
from google.appengine.tools.devappserver2 import constants
from google.appengine.tools.devappserver2 import url_handler
from google.appengine.tools.devappserver2 import wsgi_test_utils
HASHED_COOKIE = 'ebb296832f1243863c7a9357e0fbd2e007ab2f4c'
HASHED_ADMIN_COOKIE = '85a635ab115ed55bfb56c3f7883fb989a7c0be02'
COOKIE = 'dev_appserver_login=johnny@example.com:johnny:badapp:{0}'.format(
HASHED_COOKIE)
COOKIE_ADMIN = ('dev_appserver_login=johnny@example.com:johnny:goodapp:' + \
HASHED_ADMIN_COOKIE)
class TestURLHandler(unittest.TestCase):
"""Tests URLHandler base class functionality."""
def test_match(self):
handler = url_handler.URLHandler(re.compile('/(foo|bar).*'))
self.assertTrue(handler.match('/foo'))
self.assertTrue(handler.match('/bar'))
self.assertTrue(handler.match('/foo/baz'))
self.assertTrue(handler.match('/bar/baz'))
self.assertFalse(handler.match('/baz'))
self.assertFalse(handler.match('/baz/baz'))
class TestAuthorization(wsgi_test_utils.WSGITestCase):
"""Tests authorization functionality in UserConfiguredURLHandler."""
def setUp(self):
self.environ = {}
wsgiref.util.setup_testing_defaults(self.environ)
# Have a different SERVER_NAME to HTTP_HOST to we can test that the server
# is using the right one.
self.environ['SERVER_NAME'] = '127.0.0.1'
self.environ['HTTP_HOST'] = 'localhost:8080'
self.environ['PATH_INFO'] = '/my/album/of/pictures'
self.environ['QUERY_STRING'] = 'with=some&query=parameters'
def test_optional(self):
"""Test page with no login requirement, and no cookie."""
url_map = appinfo.URLMap(url='/')
h = url_handler.UserConfiguredURLHandler(url_map, '/$')
def start_response(unused_status, unused_response_headers,
unused_exc_info=None):
# Successful authorization should not call start_response
self.fail('start_response was called')
r = h.handle_authorization(self.environ, start_response)
self.assertEqual(None, r)
def test_required_redirect_no_login(self):
"""Test page with login: required; redirect, and no cookie."""
url_map = appinfo.URLMap(url='/',
login='required')
h = url_handler.UserConfiguredURLHandler(url_map, '/$')
expected_status = '302 Requires login'
expected_location = (
'https://localhost:1443/login?continue=http%3A//localhost%3A8080'
'/my/album/of/pictures%3Fwith%3Dsome%26query%3Dparameters')
expected_headers = {'Location': expected_location}
self.assertResponse(expected_status, expected_headers, '',
h.handle_authorization, self.environ)
def test_required_unauthorized_no_login(self):
"""Test page with login: required; unauthorized, and no cookie."""
url_map = appinfo.URLMap(url='/',
login='required',
auth_fail_action='unauthorized')
h = url_handler.UserConfiguredURLHandler(url_map, '/$')
expected_status = '401 Not authorized'
expected_headers = {'Content-Type': 'text/html',
'Cache-Control': 'no-cache'}
expected_content = 'Login required to view page.'
self.assertResponse(expected_status, expected_headers, expected_content,
h.handle_authorization, self.environ)
def test_required_succeed(self):
"""Test page with login: required, and a valid cookie."""
url_map = appinfo.URLMap(url='/',
login='required')
h = url_handler.UserConfiguredURLHandler(url_map, '/$')
self.environ['HTTP_COOKIE'] = COOKIE
def start_response(unused_status, unused_response_headers,
unused_exc_info=None):
# Successful authorization should not call start_response
self.fail('start_response was called')
r = h.handle_authorization(self.environ, start_response)
self.assertEqual(None, r)
def test_required_no_login_fake_is_admin(self):
"""Test page with login: required, no cookie, with fake-is-admin header."""
# This should FAIL, because fake-is-admin only applies to login: admin, not
# login: required.
url_map = appinfo.URLMap(url='/',
login='required')
h = url_handler.UserConfiguredURLHandler(url_map, '/$')
self.environ[constants.FAKE_IS_ADMIN_HEADER] = '1'
expected_status = '302 Requires login'
expected_location = (
'https://localhost:1443/login?continue=http%3A//localhost%3A8080'
'/my/album/of/pictures%3Fwith%3Dsome%26query%3Dparameters')
expected_headers = {'Location': expected_location}
self.assertResponse(expected_status, expected_headers, '',
h.handle_authorization, self.environ)
def test_admin_no_login_fake_logged_in(self):
"""Tests page with login: admin, no cookie with fake login header."""
# This should FAIL, because a fake login does not imply admin privileges.
url_map = appinfo.URLMap(url='/',
login='admin')
h = url_handler.UserConfiguredURLHandler(url_map, '/$')
self.environ[constants.FAKE_LOGGED_IN_HEADER] = '1'
expected_status = '401 Not authorized'
expected_headers = {'Content-Type': 'text/html',
'Cache-Control': 'no-cache'}
expected_content = ('Current logged in user Fake User is not authorized '
'to view this page.')
self.assertResponse(expected_status, expected_headers, expected_content,
h.handle_authorization, self.environ)
# NOTE: In the SDK, the FAKE_IS_ADMIN header can be set to bypass
# authentication. In AppScale, we don't want to obey that, so this test is
# invalid for us. It is commented out (as opposed to removed) to remind us of
# this as we advance to new versions of the Python AppServer.
#def test_required_succeed_fake_is_admin(self):
# """Test with login: required, and a valid cookie, with fake-is-admin."""
# url_map = appinfo.URLMap(url='/',
# login='required')
#
# h = url_handler.UserConfiguredURLHandler(url_map, '/$')
#
# self.environ['HTTP_COOKIE'] = COOKIE
# self.environ[constants.FAKE_IS_ADMIN_HEADER] = '1'
#
# def start_response(unused_status, unused_response_headers,
# unused_exc_info=None):
# # Successful authorization should not call start_response
# self.fail('start_response was called')
#
# r = h.handle_authorization(self.environ, start_response)
# self.assertEqual(None, r)
def test_admin_redirect_no_login(self):
"""Test page with login: admin; redirect, and no cookie."""
url_map = appinfo.URLMap(url='/',
login='admin')
h = url_handler.UserConfiguredURLHandler(url_map, '/$')
expected_status = '302 Requires login'
expected_location = (
'https://localhost:1443/login?continue=http%3A//localhost%3A8080'
'/my/album/of/pictures%3Fwith%3Dsome%26query%3Dparameters')
expected_headers = {'Location': expected_location}
self.assertResponse(expected_status, expected_headers, '',
h.handle_authorization, self.environ)
def test_admin_unauthorized_no_login(self):
"""Test page with login: admin; unauthorized, and no cookie."""
url_map = appinfo.URLMap(url='/',
login='admin',
auth_fail_action='unauthorized')
h = url_handler.UserConfiguredURLHandler(url_map, '/$')
expected_status = '401 Not authorized'
expected_headers = {'Content-Type': 'text/html',
'Cache-Control': 'no-cache'}
expected_content = 'Login required to view page.'
self.assertResponse(expected_status, expected_headers, expected_content,
h.handle_authorization, self.environ)
def test_admin_no_admin(self):
"""Test page with login: admin, and a non-admin cookie."""
url_map = appinfo.URLMap(url='/',
login='admin')
h = url_handler.UserConfiguredURLHandler(url_map, '/$')
self.environ['HTTP_COOKIE'] = COOKIE
expected_status = '401 Not authorized'
expected_headers = {'Content-Type': 'text/html',
'Cache-Control': 'no-cache'}
expected_content = ('Current logged in user johnny@example.com is not '
'authorized to view this page.')
self.assertResponse(expected_status, expected_headers, expected_content,
h.handle_authorization, self.environ)
def test_admin_succeed(self):
"""Test page with login: admin, and a valid admin cookie."""
url_map = appinfo.URLMap(url='/',
login='admin')
h = url_handler.UserConfiguredURLHandler(url_map, '/$')
self.environ['HTTP_COOKIE'] = COOKIE_ADMIN
def start_response(unused_status, unused_response_headers,
unused_exc_info=None):
# Successful authorization should not call start_response
self.fail('start_response was called')
r = h.handle_authorization(self.environ, start_response)
self.assertEqual(None, r)
def test_admin_no_login_fake_is_admin(self):
"""Test page with login: admin, and no cookie, with fake-is-admin."""
url_map = appinfo.URLMap(url='/',
login='admin')
h = url_handler.UserConfiguredURLHandler(url_map, '/$')
self.environ[constants.FAKE_IS_ADMIN_HEADER] = '1'
def start_response(unused_status, unused_response_headers,
unused_exc_info=None):
# Successful authorization should not call start_response
self.fail('start_response was called')
r = h.handle_authorization(self.environ, start_response)
self.assertEqual(None, r)
def test_admin_no_admin_fake_is_admin(self):
"""Test with login: admin, and a non-admin cookie, with fake-is-admin."""
url_map = appinfo.URLMap(url='/',
login='admin')
h = url_handler.UserConfiguredURLHandler(url_map, '/$')
self.environ['HTTP_COOKIE'] = COOKIE
self.environ[constants.FAKE_IS_ADMIN_HEADER] = '1'
def start_response(unused_status, unused_response_headers,
unused_exc_info=None):
# Successful authorization should not call start_response
self.fail('start_response was called')
r = h.handle_authorization(self.environ, start_response)
self.assertEqual(None, r)
def test_admin_succeed_fake_is_admin(self):
"""Test with login: admin, and valid admin cookie, with fake-is-admin."""
url_map = appinfo.URLMap(url='/',
login='admin')
h = url_handler.UserConfiguredURLHandler(url_map, '/$')
self.environ['HTTP_COOKIE'] = COOKIE_ADMIN
self.environ[constants.FAKE_IS_ADMIN_HEADER] = '1'
def start_response(unused_status, unused_response_headers,
unused_exc_info=None):
# Successful authorization should not call start_response
self.fail('start_response was called')
r = h.handle_authorization(self.environ, start_response)
self.assertEqual(None, r)
def test_admin_no_login_fake_is_admin_header(self):
"""Test page with login: admin, and no cookie, with fake-is-admin header."""
url_map = appinfo.URLMap(url='/',
login='admin')
h = url_handler.UserConfiguredURLHandler(url_map, '/$')
self.environ[constants.FAKE_IS_ADMIN_HEADER] = '1'
def start_response(unused_status, unused_response_headers,
unused_exc_info=None):
# Successful authorization should not call start_response
self.fail('start_response was called')
r = h.handle_authorization(self.environ, start_response)
self.assertEqual(None, r)
def test_login_required_no_login_fake_logged_in_header(self):
"""Test page with login: required with fake-login-required."""
url_map = appinfo.URLMap(url='/',
login='required')
h = url_handler.UserConfiguredURLHandler(url_map, '/$')
self.environ[constants.FAKE_LOGGED_IN_HEADER] = '1'
def start_response(unused_status, unused_response_headers,
unused_exc_info=None):
# Successful authorization should not call start_response
self.fail('start_response was called')
r = h.handle_authorization(self.environ, start_response)
self.assertEqual(None, r)
if __name__ == '__main__':
unittest.main()
| 38.610465 | 80 | 0.675877 | 1,594 | 13,282 | 5.422836 | 0.147428 | 0.045812 | 0.025451 | 0.035169 | 0.79454 | 0.778922 | 0.734845 | 0.716798 | 0.677348 | 0.668556 | 0 | 0.01402 | 0.215931 | 13,282 | 343 | 81 | 38.723032 | 0.816017 | 0.245219 | 0 | 0.71875 | 0 | 0 | 0.167038 | 0.040975 | 0 | 0 | 0 | 0 | 0.109375 | 1 | 0.130208 | false | 0 | 0.036458 | 0 | 0.177083 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
ca1bd14061f923aafef83124beeaaa186bcc7046 | 44 | py | Python | tests/src/year2016/__init__.py | lancelote/advent_of_code | 06dda6ca034bc1e86addee7798bb9b2a34ff565b | [
"Unlicense"
] | 10 | 2017-12-11T17:54:52.000Z | 2021-12-09T20:16:30.000Z | tests/src/year2016/__init__.py | lancelote/advent_of_code | 06dda6ca034bc1e86addee7798bb9b2a34ff565b | [
"Unlicense"
] | 260 | 2015-12-09T11:03:03.000Z | 2021-12-12T14:32:23.000Z | tests/src/year2016/__init__.py | lancelote/advent_of_code | 06dda6ca034bc1e86addee7798bb9b2a34ff565b | [
"Unlicense"
] | null | null | null | """Tests for 2016 year puzzle solutions."""
| 22 | 43 | 0.704545 | 6 | 44 | 5.166667 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.105263 | 0.136364 | 44 | 1 | 44 | 44 | 0.710526 | 0.840909 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
ca3df191ff910d6fdf6c354aad8c7141e399f3e9 | 43 | py | Python | app/system/models/__init__.py | TennaGraph/TennaGraph | 002998d94300ee67168f1a8164c0e6bc86836e1f | [
"Apache-2.0"
] | 7 | 2018-11-13T17:39:15.000Z | 2019-03-27T04:55:24.000Z | app/system/models/__init__.py | TennaGraph/TennaGraph | 002998d94300ee67168f1a8164c0e6bc86836e1f | [
"Apache-2.0"
] | 72 | 2018-11-09T14:20:25.000Z | 2020-06-05T19:28:19.000Z | app/system/models/__init__.py | TennaGraph/TennaGraph | 002998d94300ee67168f1a8164c0e6bc86836e1f | [
"Apache-2.0"
] | 3 | 2018-11-19T19:10:39.000Z | 2019-08-23T20:52:23.000Z | from .system_settings import SystemSettings | 43 | 43 | 0.906977 | 5 | 43 | 7.6 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.069767 | 43 | 1 | 43 | 43 | 0.95 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
046100c648eb8552a6ba16ac25d56925bd0eae6c | 169 | py | Python | src/spoofbot/adapter/__init__.py | raember/spoofbot | 64575eb515ae9eb293efa7380830e38ead602efa | [
"MIT"
] | null | null | null | src/spoofbot/adapter/__init__.py | raember/spoofbot | 64575eb515ae9eb293efa7380830e38ead602efa | [
"MIT"
] | null | null | null | src/spoofbot/adapter/__init__.py | raember/spoofbot | 64575eb515ae9eb293efa7380830e38ead602efa | [
"MIT"
] | null | null | null | """Adapters to mount on sessions"""
from .cache import CacheAdapter
from .file import FileCache, Backup
from .har import HarCache
from .mitmproxy import MitmProxyCache
| 24.142857 | 37 | 0.798817 | 22 | 169 | 6.136364 | 0.727273 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.136095 | 169 | 6 | 38 | 28.166667 | 0.924658 | 0.171598 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
0475ad26c6a89ef48168c6b03be16c9ccb311509 | 154 | py | Python | user/urls.py | arabindamahato/CanteenMS | 3e7b592798f62fba2c12405ab0d9b4f2fe89a248 | [
"MIT"
] | null | null | null | user/urls.py | arabindamahato/CanteenMS | 3e7b592798f62fba2c12405ab0d9b4f2fe89a248 | [
"MIT"
] | 6 | 2021-03-19T03:34:04.000Z | 2021-09-22T19:03:24.000Z | user/urls.py | arabindamahato/CanteenMS | 3e7b592798f62fba2c12405ab0d9b4f2fe89a248 | [
"MIT"
] | null | null | null | from django.urls import path
from rest_framework_jwt.views import obtain_jwt_token
urlpatterns = [
path('generate-token/', obtain_jwt_token),
] | 19.25 | 53 | 0.75974 | 21 | 154 | 5.285714 | 0.619048 | 0.162162 | 0.252252 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.155844 | 154 | 8 | 54 | 19.25 | 0.853846 | 0 | 0 | 0 | 1 | 0 | 0.096774 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.4 | 0 | 0.4 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
04aca31a51a8f1c0f7577b132ff085667ca8434b | 82 | py | Python | aoc_helper/__init__.py | Starwort/aoc_helper | 7ad39770e91d0f537b90baa4e3d65fa0e152e0f7 | [
"MIT"
] | 5 | 2020-12-06T17:14:17.000Z | 2021-12-09T19:54:44.000Z | aoc_helper/__init__.py | Starwort/aoc_helper | 7ad39770e91d0f537b90baa4e3d65fa0e152e0f7 | [
"MIT"
] | 8 | 2020-12-06T08:39:44.000Z | 2021-12-10T04:27:10.000Z | aoc_helper/__init__.py | Starwort/aoc_helper | 7ad39770e91d0f537b90baa4e3d65fa0e152e0f7 | [
"MIT"
] | 8 | 2021-12-02T04:00:50.000Z | 2022-01-26T20:07:55.000Z | from .interface import fetch, lazy_submit, submit
from .utils import extract_ints
| 27.333333 | 49 | 0.829268 | 12 | 82 | 5.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.121951 | 82 | 2 | 50 | 41 | 0.916667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
04d4f3b9c1b4d92b9f614b8448d205400d548904 | 45 | py | Python | {{cookiecutter.project_dirname}}/{{cookiecutter.project_slug}}/__init__.py | niccolomineo/django-continuous-delivery | 9853a274ad841b2809530e4e847d142ba12f74ef | [
"MIT"
] | 10 | 2020-03-20T23:19:58.000Z | 2022-02-27T09:27:56.000Z | {{cookiecutter.project_dirname}}/{{cookiecutter.project_slug}}/__init__.py | niccolomineo/django-continuous-delivery | 9853a274ad841b2809530e4e847d142ba12f74ef | [
"MIT"
] | 118 | 2020-02-14T11:55:31.000Z | 2022-03-31T12:57:20.000Z | {{cookiecutter.project_dirname}}/{{cookiecutter.project_slug}}/__init__.py | niccolomineo/django-continuous-delivery | 9853a274ad841b2809530e4e847d142ba12f74ef | [
"MIT"
] | 7 | 2020-10-20T08:01:36.000Z | 2021-12-23T15:20:56.000Z | """{{cookiecutter.project_name}} project."""
| 22.5 | 44 | 0.688889 | 4 | 45 | 7.5 | 0.75 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.044444 | 45 | 1 | 45 | 45 | 0.697674 | 0.844444 | 0 | null | 0 | null | 0 | 0 | null | 0 | 0 | 0 | null | 1 | null | true | 0 | 0 | null | null | null | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
04dd6f2066459339e7844e2aaa12d9b98d348c0d | 7,284 | py | Python | psydac/api/essential_bc.py | GabrielJie/psydac | 51814f04501fa14bc100f0ab224f50a2bbe86612 | [
"MIT"
] | 1 | 2022-01-19T02:26:49.000Z | 2022-01-19T02:26:49.000Z | psydac/api/essential_bc.py | GabrielJie/psydac | 51814f04501fa14bc100f0ab224f50a2bbe86612 | [
"MIT"
] | null | null | null | psydac/api/essential_bc.py | GabrielJie/psydac | 51814f04501fa14bc100f0ab224f50a2bbe86612 | [
"MIT"
] | null | null | null | # coding: utf-8
from sympde.topology import Boundary as sym_Boundary
from psydac.linalg.stencil import StencilVector, StencilMatrix
from psydac.linalg.block import BlockVector, BlockMatrix
#==============================================================================
def apply_essential_bc_1d_StencilVector(V, bc, a):
""" Apply homogeneous dirichlet boundary conditions in 1D """
# assumes a 1D spline space
# add asserts on the space if it is periodic
# get order
order = bc.order
if bc.boundary.ext == -1:
a[0+order] = 0.
if bc.boundary.ext == 1:
a[V.nbasis-1-order] = 0.
#==============================================================================
def apply_essential_bc_1d_StencilMatrix(V, bc, a):
""" Apply homogeneous dirichlet boundary conditions in 1D """
# assumes a 1D spline space
# add asserts on the space if it is periodic
# get order
order = bc.order
if bc.boundary.ext == -1:
a[ 0+order,:] = 0.
if bc.boundary.ext == 1:
a[-1-order,:] = 0.
#==============================================================================
def apply_essential_bc_2d_StencilVector(V, bc, a):
""" Apply homogeneous dirichlet boundary conditions in 2D """
# assumes a 2D Tensor space
# add asserts on the space if it is periodic
V1,V2 = V.spaces
s1, s2 = a.space.starts
e1, e2 = a.space.ends
# get order
order = bc.order
if bc.boundary.axis == 0:
# left bc.boundary.at x=0.
if s1 == 0 and bc.boundary.ext == -1:
a[0+order,:] = 0.
# right bc.boundary.at x=1.
if e1 == V1.nbasis-1 and bc.boundary.ext == 1:
a [e1-order,:] = 0.
if bc.boundary.axis == 1:
# lower bc.boundary.at y=0.
if s2 == 0 and bc.boundary.ext == -1:
a [:,0+order] = 0.
# upper bc.boundary.at y=1.
if e2 == V2.nbasis-1 and bc.boundary.ext == 1:
a [:,e2-order] = 0.
#==============================================================================
def apply_essential_bc_2d_StencilMatrix(V, bc, a):
""" Apply homogeneous dirichlet boundary conditions in 2D """
# assumes a 2D Tensor space
# add asserts on the space if it is periodic
V1,V2 = V.spaces
s1, s2 = a.domain.starts
e1, e2 = a.domain.ends
# get order
order = bc.order
if bc.boundary.axis == 0:
# left bc.boundary.at x=0.
if s1 == 0 and bc.boundary.ext == -1:
a[0+order,:,:,:] = 0.
# right bc.boundary.at x=1.
if e1 == V1.nbasis-1 and bc.boundary.ext == 1:
a[e1-order,:,:,:] = 0.
if bc.boundary.axis == 1:
# lower bc.boundary.at y=0.
if s2 == 0 and bc.boundary.ext == -1:
a[:,0+order,:,:] = 0.
# upper bc.boundary.at y=1.
if e2 == V2.nbasis-1 and bc.boundary.ext == 1:
a[:,e2-order,:,:] = 0.
#==============================================================================
def apply_essential_bc_3d_StencilVector(V, bc, a):
""" Apply homogeneous dirichlet boundary conditions in 3D """
# assumes a 3D Tensor space
# add asserts on the space if it is periodic
V1,V2,V3 = V.spaces
s1, s2, s3 = a.space.starts
e1, e2, e3 = a.space.ends
# get order
order = bc.order
if bc.boundary.axis == 0:
# left bc at x=0.
if s1 == 0 and bc.boundary.ext == -1:
a[0+order,:,:] = 0.
# right bc at x=1.
if e1 == V1.nbasis-1 and bc.boundary.ext == 1:
a [e1-order,:,:] = 0.
if bc.boundary.axis == 1:
# lower bc at y=0.
if s2 == 0 and bc.boundary.ext == -1:
a [:,0+order,:] = 0.
# upper bc at y=1.
if e2 == V2.nbasis-1 and bc.boundary.ext == 1:
a [:,e2-order,:] = 0.
if bc.boundary.axis == 2:
# lower bc at z=0.
if s3 == 0 and bc.boundary.ext == -1:
a [:,:,0+order] = 0.
# upper bc at z=1.
if e3 == V3.nbasis-1 and bc.boundary.ext == 1:
a [:,:,e3-order] = 0.
#==============================================================================
def apply_essential_bc_3d_StencilMatrix(V, bc, a):
""" Apply homogeneous dirichlet boundary conditions in 3D """
# assumes a 3D Tensor space
# add asserts on the space if it is periodic
V1,V2,V3 = V.spaces
s1, s2, s3 = a.domain.starts
e1, e2, e3 = a.domain.ends
# get order
order = bc.order
if bc.boundary.axis == 0:
# left bc at x=0.
if s1 == 0 and bc.boundary.ext == -1:
a[0+order,:,:,:,:,:] = 0.
# right bc at x=1.
if e1 == V1.nbasis-1 and bc.boundary.ext == 1:
a[e1-order,:,:,:,:,:] = 0.
if bc.boundary.axis == 1:
# lower bc at y=0.
if s2 == 0 and bc.boundary.ext == -1:
a[:,0+order,:,:,:,:] = 0.
# upper bc at y=1.
if e2 == V2.nbasis-1 and bc.boundary.ext == 1:
a[:,e2-order,:,:,:,:] = 0.
if bc.boundary.axis == 2:
# lower bc at z=0.
if s3 == 0 and bc.boundary.ext == -1:
a[:,:,0+order,:,:,:] = 0.
# upper bc at z=1.
if e3 == V3.nbasis-1 and bc.boundary.ext == 1:
a[:,:,e3-order,:,:,:] = 0.
#==============================================================================
# V is a ProductFemSpace here
def apply_essential_bc_BlockMatrix(V, bc, a):
""" Apply homogeneous dirichlet boundary conditions in nD """
if bc.index_component:
keys = list(a._blocks.keys())
for i_loc in bc.index_component:
i = bc.position + i_loc
js = [ij[1] for ij in keys if ij[0] == i]
for j in js:
M = a[i,j]
W = V.spaces[i]
apply_essential_bc(W, bc, M)
#==============================================================================
# V is a ProductFemSpace here
def apply_essential_bc_BlockVector(V, bc, a):
""" Apply homogeneous dirichlet boundary conditions in nD """
if bc.index_component:
for i_loc in bc.index_component:
i = bc.position + i_loc
M = a[i]
W = V.spaces[i]
apply_essential_bc(W, bc, M)
#==============================================================================
# TODO must pass two spaces for a matrix
def apply_essential_bc(V, bc, *args, **kwargs):
if not isinstance(bc, (tuple, list)):
bc = [bc]
_avail_classes = [StencilVector, StencilMatrix,
BlockVector, BlockMatrix]
for a in args:
classes = type(a).__mro__
classes = set(classes) & set(_avail_classes)
classes = list(classes)
if not classes:
raise TypeError('> wrong argument type {}'.format(type(a)))
cls = classes[0]
if not isinstance(a, (BlockMatrix, BlockVector)):
pattern = 'apply_essential_bc_{dim}d_{name}'
apply_bc = pattern.format( dim = V.ldim, name = cls.__name__ )
else:
pattern = 'apply_essential_bc_{name}'
apply_bc = pattern.format( name = cls.__name__ )
apply_bc = eval(apply_bc)
for b in bc:
apply_bc(V, b, a, **kwargs)
| 28.677165 | 79 | 0.488605 | 984 | 7,284 | 3.541667 | 0.120935 | 0.120517 | 0.089527 | 0.096413 | 0.798852 | 0.759541 | 0.759541 | 0.736872 | 0.736872 | 0.712769 | 0 | 0.039481 | 0.290637 | 7,284 | 253 | 80 | 28.790514 | 0.634991 | 0.293383 | 0 | 0.455285 | 0 | 0 | 0.016046 | 0.011292 | 0 | 0 | 0 | 0.003953 | 0 | 1 | 0.073171 | false | 0 | 0.02439 | 0 | 0.097561 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 5 |
8e4bb28498d745d5e88d3c513c749ccea1ee95d3 | 140 | py | Python | game/__init__.py | Liz0001/game | 22b33f27acd26a31f9fe96147649a892de6bfb53 | [
"MIT"
] | null | null | null | game/__init__.py | Liz0001/game | 22b33f27acd26a31f9fe96147649a892de6bfb53 | [
"MIT"
] | null | null | null | game/__init__.py | Liz0001/game | 22b33f27acd26a31f9fe96147649a892de6bfb53 | [
"MIT"
] | null | null | null | #!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""The PIG... A dice game."""
import os
import sys
sys.path.append(os.path.abspath("../"))
| 15.555556 | 39 | 0.6 | 22 | 140 | 3.818182 | 0.818182 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.016529 | 0.135714 | 140 | 8 | 40 | 17.5 | 0.677686 | 0.478571 | 0 | 0 | 0 | 0 | 0.045455 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.666667 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
6d40cff49eef0de4b06ec2dad6cdd8331464958e | 103 | py | Python | app_loader/__init__.py | jayvdb/python-app-loader | e81c4ad62d4f25ea15ff94fdac88ff3aa776dc2c | [
"BSD-3-Clause"
] | null | null | null | app_loader/__init__.py | jayvdb/python-app-loader | e81c4ad62d4f25ea15ff94fdac88ff3aa776dc2c | [
"BSD-3-Clause"
] | 5 | 2016-01-07T14:57:39.000Z | 2016-09-14T22:17:41.000Z | app_loader/__init__.py | jayvdb/python-app-loader | e81c4ad62d4f25ea15ff94fdac88ff3aa776dc2c | [
"BSD-3-Clause"
] | 1 | 2020-01-15T12:28:37.000Z | 2020-01-15T12:28:37.000Z |
from .base import AppLoader
default_app_config = 'app_loader.apps.Config'
app_loader = AppLoader()
| 12.875 | 45 | 0.776699 | 14 | 103 | 5.428571 | 0.642857 | 0.236842 | 0.394737 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.135922 | 103 | 7 | 46 | 14.714286 | 0.853933 | 0 | 0 | 0 | 0 | 0 | 0.215686 | 0.215686 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | false | 0 | 0.333333 | 0 | 0.333333 | 0 | 1 | 0 | 0 | null | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
edcc023c5da50dbd5c13cb74098bd0913ed4cdfa | 65 | py | Python | src/api.py | 2e0byo/OfficiumDivinum | 911f00b5def117d4e2730ee9af85125d61fa91fa | [
"MIT"
] | null | null | null | src/api.py | 2e0byo/OfficiumDivinum | 911f00b5def117d4e2730ee9af85125d61fa91fa | [
"MIT"
] | null | null | null | src/api.py | 2e0byo/OfficiumDivinum | 911f00b5def117d4e2730ee9af85125d61fa91fa | [
"MIT"
] | 1 | 2021-02-06T16:38:35.000Z | 2021-02-06T16:38:35.000Z | from officiumdivinum.api import create_app # noqa
create_app()
| 16.25 | 50 | 0.8 | 9 | 65 | 5.555556 | 0.777778 | 0.36 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.138462 | 65 | 3 | 51 | 21.666667 | 0.892857 | 0.061538 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.5 | 0 | 0.5 | 0 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
edcfd17e0cb960fcd034186b5dbcde4b75a4171b | 25 | py | Python | code/abc108_a_02.py | KoyanagiHitoshi/AtCoder | 731892543769b5df15254e1f32b756190378d292 | [
"MIT"
] | 3 | 2019-08-16T16:55:48.000Z | 2021-04-11T10:21:40.000Z | code/abc108_a_02.py | KoyanagiHitoshi/AtCoder | 731892543769b5df15254e1f32b756190378d292 | [
"MIT"
] | null | null | null | code/abc108_a_02.py | KoyanagiHitoshi/AtCoder | 731892543769b5df15254e1f32b756190378d292 | [
"MIT"
] | null | null | null | print(int(input())**2>>2) | 25 | 25 | 0.6 | 5 | 25 | 3 | 0.8 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.08 | 0 | 25 | 1 | 25 | 25 | 0.52 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 1 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
ede911ada36845c49a351bfec2133d08668c3e03 | 180 | py | Python | tests/conftest.py | jwdunne/enguard | 840e878b797f87ce370ca27b4059ad49ef3db5c1 | [
"MIT"
] | 2 | 2020-11-20T10:28:09.000Z | 2021-11-10T10:21:03.000Z | tests/conftest.py | jwdunne/enguard | 840e878b797f87ce370ca27b4059ad49ef3db5c1 | [
"MIT"
] | 17 | 2020-02-01T20:20:35.000Z | 2020-05-30T12:26:16.000Z | tests/conftest.py | jwdunne/enguard | 840e878b797f87ce370ca27b4059ad49ef3db5c1 | [
"MIT"
] | null | null | null | """Shared test fixtures."""
import pytest
from tests.util import init_temp_repo
@pytest.fixture
def repo():
"""Set up a new git repo fixture."""
return init_temp_repo()
| 16.363636 | 40 | 0.7 | 27 | 180 | 4.518519 | 0.703704 | 0.131148 | 0.196721 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.177778 | 180 | 10 | 41 | 18 | 0.824324 | 0.288889 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.2 | true | 0 | 0.4 | 0 | 0.8 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
edf8b2d0d969549f8a8864a233a6f74ecb5497b1 | 86 | py | Python | heronpy/api/bolt/__init__.py | ajorgensen/heron | 6430c51a4a6030e93018e0ed40e5936a64317636 | [
"Apache-2.0"
] | 2 | 2016-07-04T07:10:31.000Z | 2018-03-28T16:59:02.000Z | heronpy/api/bolt/__init__.py | ajorgensen/heron | 6430c51a4a6030e93018e0ed40e5936a64317636 | [
"Apache-2.0"
] | null | null | null | heronpy/api/bolt/__init__.py | ajorgensen/heron | 6430c51a4a6030e93018e0ed40e5936a64317636 | [
"Apache-2.0"
] | 1 | 2017-06-05T17:55:45.000Z | 2017-06-05T17:55:45.000Z | '''module for heronpy bolt'''
__import__('pkg_resources').declare_namespace(__name__)
| 28.666667 | 55 | 0.790698 | 10 | 86 | 5.8 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.05814 | 86 | 2 | 56 | 43 | 0.716049 | 0.267442 | 0 | 0 | 0 | 0 | 0.22807 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 1 | 0 | 0 | 5 |
b6216b6aff1d658a47d746ed862c54102c96dd5c | 312 | py | Python | airbus_pyqt_extend/src/airbus_pyqt_extend/QtAgiCore/__init__.py | ipa320/airbus_coop | 974564807ba5d24096e237a9991311608a390da1 | [
"Apache-2.0"
] | 4 | 2017-10-15T23:32:24.000Z | 2019-12-26T12:31:53.000Z | airbus_pyqt_extend/src/airbus_pyqt_extend/QtAgiCore/__init__.py | ipa320/airbus_coop | 974564807ba5d24096e237a9991311608a390da1 | [
"Apache-2.0"
] | 6 | 2017-09-05T13:52:00.000Z | 2017-12-01T14:18:27.000Z | airbus_pyqt_extend/src/airbus_pyqt_extend/QtAgiCore/__init__.py | ipa320/airbus_coop | 974564807ba5d24096e237a9991311608a390da1 | [
"Apache-2.0"
] | 4 | 2017-09-04T08:14:36.000Z | 2017-09-18T07:22:21.000Z | from topics import QAgiSubscriber
from packages import get_pkg_dir_from_prefix, \
get_ros_workspace_dir, \
get_ros_workspace_src_dir, \
QAgiPackages
from resources import QAgiResources, \
loadRsc, loadRes
| 34.666667 | 49 | 0.560897 | 28 | 312 | 5.857143 | 0.607143 | 0.073171 | 0.182927 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.410256 | 312 | 8 | 50 | 39 | 0.891304 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0.428571 | 0 | 0.428571 | 0 | 1 | 0 | 0 | null | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 0 | 0 | 5 |
b638b9696ec010057b0710eb99016bd242625197 | 134 | py | Python | MachineLearning/hw3/optim/SGD.py | ChoKyuWon/SchoolProjects | 71a5decefc85ae941ba2d537c4507ba8e615cc34 | [
"MIT"
] | null | null | null | MachineLearning/hw3/optim/SGD.py | ChoKyuWon/SchoolProjects | 71a5decefc85ae941ba2d537c4507ba8e615cc34 | [
"MIT"
] | null | null | null | MachineLearning/hw3/optim/SGD.py | ChoKyuWon/SchoolProjects | 71a5decefc85ae941ba2d537c4507ba8e615cc34 | [
"MIT"
] | null | null | null | class SGD:
def __init__(self):
pass
def update(self, w, grad, lr):
ww = w - lr * grad
return ww | 19.142857 | 35 | 0.477612 | 18 | 134 | 3.333333 | 0.666667 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.425373 | 134 | 7 | 36 | 19.142857 | 0.779221 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0.333333 | false | 0.166667 | 0 | 0 | 0.666667 | 0 | 1 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 1 | 0 | 0 | 1 | 0 | 0 | 5 |
b63a5e6cef061b68734f19ce0e61b62fc6a3895e | 57 | py | Python | ProjectEuler/0001/solution.py | hvaara/CompetitiveProgramming | 4be81eb1b2ab41ed35dfea5a6907f152e0071c08 | [
"MIT"
] | null | null | null | ProjectEuler/0001/solution.py | hvaara/CompetitiveProgramming | 4be81eb1b2ab41ed35dfea5a6907f152e0071c08 | [
"MIT"
] | null | null | null | ProjectEuler/0001/solution.py | hvaara/CompetitiveProgramming | 4be81eb1b2ab41ed35dfea5a6907f152e0071c08 | [
"MIT"
] | null | null | null | print(sum(x for x in range(1000) if not x%3 or not x%5))
| 28.5 | 56 | 0.666667 | 16 | 57 | 2.375 | 0.75 | 0.210526 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0.130435 | 0.192982 | 57 | 1 | 57 | 57 | 0.695652 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | true | 0 | 0 | 0 | 0 | 1 | 1 | 0 | 0 | null | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | 0 | null | 0 | 0 | 0 | 0 | 0 | 0 | 1 | 0 | 0 | 0 | 0 | 1 | 0 | 5 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.