http://git-wip-us.apache.org/repos/asf/incubator-sdap-nexus/blob/cf125f7f/nexus-ingest/nexus-xd-python-modules/nexusxd/callncra.py ---------------------------------------------------------------------- diff --git a/nexus-ingest/nexus-xd-python-modules/nexusxd/callncra.py b/nexus-ingest/nexus-xd-python-modules/nexusxd/callncra.py index 252525b..2206ccf 100644 --- a/nexus-ingest/nexus-xd-python-modules/nexusxd/callncra.py +++ b/nexus-ingest/nexus-xd-python-modules/nexusxd/callncra.py @@ -1,3 +1,17 @@ +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You 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. from subprocess import call
http://git-wip-us.apache.org/repos/asf/incubator-sdap-nexus/blob/cf125f7f/nexus-ingest/nexus-xd-python-modules/nexusxd/computespeeddirfromuv.py ---------------------------------------------------------------------- diff --git a/nexus-ingest/nexus-xd-python-modules/nexusxd/computespeeddirfromuv.py b/nexus-ingest/nexus-xd-python-modules/nexusxd/computespeeddirfromuv.py index 279e20b..b9abff7 100644 --- a/nexus-ingest/nexus-xd-python-modules/nexusxd/computespeeddirfromuv.py +++ b/nexus-ingest/nexus-xd-python-modules/nexusxd/computespeeddirfromuv.py @@ -1,3 +1,17 @@ +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You 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. from math import atan2, degrees, sqrt http://git-wip-us.apache.org/repos/asf/incubator-sdap-nexus/blob/cf125f7f/nexus-ingest/nexus-xd-python-modules/nexusxd/emptytilefilter.py ---------------------------------------------------------------------- diff --git a/nexus-ingest/nexus-xd-python-modules/nexusxd/emptytilefilter.py b/nexus-ingest/nexus-xd-python-modules/nexusxd/emptytilefilter.py index e595a8c..90858b8 100644 --- a/nexus-ingest/nexus-xd-python-modules/nexusxd/emptytilefilter.py +++ b/nexus-ingest/nexus-xd-python-modules/nexusxd/emptytilefilter.py @@ -1,3 +1,17 @@ +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You 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. from springxd.tcpstream import start_server, LengthHeaderTcpProcessor http://git-wip-us.apache.org/repos/asf/incubator-sdap-nexus/blob/cf125f7f/nexus-ingest/nexus-xd-python-modules/nexusxd/kelvintocelsius.py ---------------------------------------------------------------------- diff --git a/nexus-ingest/nexus-xd-python-modules/nexusxd/kelvintocelsius.py b/nexus-ingest/nexus-xd-python-modules/nexusxd/kelvintocelsius.py index 3ac21df..2f4f20f 100644 --- a/nexus-ingest/nexus-xd-python-modules/nexusxd/kelvintocelsius.py +++ b/nexus-ingest/nexus-xd-python-modules/nexusxd/kelvintocelsius.py @@ -1,3 +1,17 @@ +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You 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. from springxd.tcpstream import start_server, LengthHeaderTcpProcessor http://git-wip-us.apache.org/repos/asf/incubator-sdap-nexus/blob/cf125f7f/nexus-ingest/nexus-xd-python-modules/nexusxd/normalizetimebeginningofmonth.py ---------------------------------------------------------------------- diff --git a/nexus-ingest/nexus-xd-python-modules/nexusxd/normalizetimebeginningofmonth.py b/nexus-ingest/nexus-xd-python-modules/nexusxd/normalizetimebeginningofmonth.py index 32d50e3..53aaeac 100644 --- a/nexus-ingest/nexus-xd-python-modules/nexusxd/normalizetimebeginningofmonth.py +++ b/nexus-ingest/nexus-xd-python-modules/nexusxd/normalizetimebeginningofmonth.py @@ -1,3 +1,17 @@ +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You 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. import datetime from pytz import timezone http://git-wip-us.apache.org/repos/asf/incubator-sdap-nexus/blob/cf125f7f/nexus-ingest/nexus-xd-python-modules/nexusxd/processorchain.py ---------------------------------------------------------------------- diff --git a/nexus-ingest/nexus-xd-python-modules/nexusxd/processorchain.py b/nexus-ingest/nexus-xd-python-modules/nexusxd/processorchain.py index fa216ea..96a3ccf 100644 --- a/nexus-ingest/nexus-xd-python-modules/nexusxd/processorchain.py +++ b/nexus-ingest/nexus-xd-python-modules/nexusxd/processorchain.py @@ -1,3 +1,17 @@ +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You 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. import importlib from os import environ http://git-wip-us.apache.org/repos/asf/incubator-sdap-nexus/blob/cf125f7f/nexus-ingest/nexus-xd-python-modules/nexusxd/regrid1x1.py ---------------------------------------------------------------------- diff --git a/nexus-ingest/nexus-xd-python-modules/nexusxd/regrid1x1.py b/nexus-ingest/nexus-xd-python-modules/nexusxd/regrid1x1.py index 0d1c16a..dea54e5 100644 --- a/nexus-ingest/nexus-xd-python-modules/nexusxd/regrid1x1.py +++ b/nexus-ingest/nexus-xd-python-modules/nexusxd/regrid1x1.py @@ -1,3 +1,17 @@ +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You 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. import os http://git-wip-us.apache.org/repos/asf/incubator-sdap-nexus/blob/cf125f7f/nexus-ingest/nexus-xd-python-modules/nexusxd/subtract180longitude.py ---------------------------------------------------------------------- diff --git a/nexus-ingest/nexus-xd-python-modules/nexusxd/subtract180longitude.py b/nexus-ingest/nexus-xd-python-modules/nexusxd/subtract180longitude.py index 619238e..f3e3ff7 100644 --- a/nexus-ingest/nexus-xd-python-modules/nexusxd/subtract180longitude.py +++ b/nexus-ingest/nexus-xd-python-modules/nexusxd/subtract180longitude.py @@ -1,3 +1,17 @@ +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You 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. import nexusproto.NexusContent_pb2 as nexusproto from nexusproto.serialization import from_shaped_array, to_shaped_array http://git-wip-us.apache.org/repos/asf/incubator-sdap-nexus/blob/cf125f7f/nexus-ingest/nexus-xd-python-modules/nexusxd/tilereadingprocessor.py ---------------------------------------------------------------------- diff --git a/nexus-ingest/nexus-xd-python-modules/nexusxd/tilereadingprocessor.py b/nexus-ingest/nexus-xd-python-modules/nexusxd/tilereadingprocessor.py index 3d996f0..ba3437f 100644 --- a/nexus-ingest/nexus-xd-python-modules/nexusxd/tilereadingprocessor.py +++ b/nexus-ingest/nexus-xd-python-modules/nexusxd/tilereadingprocessor.py @@ -1,3 +1,17 @@ +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You 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. import datetime import urllib2 http://git-wip-us.apache.org/repos/asf/incubator-sdap-nexus/blob/cf125f7f/nexus-ingest/nexus-xd-python-modules/nexusxd/tilesumarizingprocessor.py ---------------------------------------------------------------------- diff --git a/nexus-ingest/nexus-xd-python-modules/nexusxd/tilesumarizingprocessor.py b/nexus-ingest/nexus-xd-python-modules/nexusxd/tilesumarizingprocessor.py index 02eefde..e31310f 100644 --- a/nexus-ingest/nexus-xd-python-modules/nexusxd/tilesumarizingprocessor.py +++ b/nexus-ingest/nexus-xd-python-modules/nexusxd/tilesumarizingprocessor.py @@ -1,3 +1,17 @@ +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You 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. import os from springxd.tcpstream import start_server, LengthHeaderTcpProcessor http://git-wip-us.apache.org/repos/asf/incubator-sdap-nexus/blob/cf125f7f/nexus-ingest/nexus-xd-python-modules/nexusxd/winddirspeedtouv.py ---------------------------------------------------------------------- diff --git a/nexus-ingest/nexus-xd-python-modules/nexusxd/winddirspeedtouv.py b/nexus-ingest/nexus-xd-python-modules/nexusxd/winddirspeedtouv.py index 604ab7f..0e41840 100644 --- a/nexus-ingest/nexus-xd-python-modules/nexusxd/winddirspeedtouv.py +++ b/nexus-ingest/nexus-xd-python-modules/nexusxd/winddirspeedtouv.py @@ -1,3 +1,17 @@ +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You 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. import os from math import cos http://git-wip-us.apache.org/repos/asf/incubator-sdap-nexus/blob/cf125f7f/nexus-ingest/nexus-xd-python-modules/setup.py ---------------------------------------------------------------------- diff --git a/nexus-ingest/nexus-xd-python-modules/setup.py b/nexus-ingest/nexus-xd-python-modules/setup.py index a84e485..59d0d6e 100644 --- a/nexus-ingest/nexus-xd-python-modules/setup.py +++ b/nexus-ingest/nexus-xd-python-modules/setup.py @@ -1,3 +1,17 @@ +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You 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. import setuptools http://git-wip-us.apache.org/repos/asf/incubator-sdap-nexus/blob/cf125f7f/nexus-ingest/nexus-xd-python-modules/tests/__init__.py ---------------------------------------------------------------------- diff --git a/nexus-ingest/nexus-xd-python-modules/tests/__init__.py b/nexus-ingest/nexus-xd-python-modules/tests/__init__.py index e69de29..6acb5d1 100644 --- a/nexus-ingest/nexus-xd-python-modules/tests/__init__.py +++ b/nexus-ingest/nexus-xd-python-modules/tests/__init__.py @@ -0,0 +1,14 @@ +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You 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. http://git-wip-us.apache.org/repos/asf/incubator-sdap-nexus/blob/cf125f7f/nexus-ingest/nexus-xd-python-modules/tests/callncpdq_test.py ---------------------------------------------------------------------- diff --git a/nexus-ingest/nexus-xd-python-modules/tests/callncpdq_test.py b/nexus-ingest/nexus-xd-python-modules/tests/callncpdq_test.py index 36bc21c..0771f8d 100644 --- a/nexus-ingest/nexus-xd-python-modules/tests/callncpdq_test.py +++ b/nexus-ingest/nexus-xd-python-modules/tests/callncpdq_test.py @@ -1,3 +1,17 @@ +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You 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. import importlib import subprocess http://git-wip-us.apache.org/repos/asf/incubator-sdap-nexus/blob/cf125f7f/nexus-ingest/nexus-xd-python-modules/tests/checker.py ---------------------------------------------------------------------- diff --git a/nexus-ingest/nexus-xd-python-modules/tests/checker.py b/nexus-ingest/nexus-xd-python-modules/tests/checker.py index 08cd445..f5f35c4 100644 --- a/nexus-ingest/nexus-xd-python-modules/tests/checker.py +++ b/nexus-ingest/nexus-xd-python-modules/tests/checker.py @@ -1,3 +1,17 @@ +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You 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. import sys, re import numpy as np from netCDF4 import Dataset http://git-wip-us.apache.org/repos/asf/incubator-sdap-nexus/blob/cf125f7f/nexus-ingest/nexus-xd-python-modules/tests/computespeeddirfromuv_test.py ---------------------------------------------------------------------- diff --git a/nexus-ingest/nexus-xd-python-modules/tests/computespeeddirfromuv_test.py b/nexus-ingest/nexus-xd-python-modules/tests/computespeeddirfromuv_test.py index 47c7952..569144d 100644 --- a/nexus-ingest/nexus-xd-python-modules/tests/computespeeddirfromuv_test.py +++ b/nexus-ingest/nexus-xd-python-modules/tests/computespeeddirfromuv_test.py @@ -1,3 +1,17 @@ +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You 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. import importlib import unittest http://git-wip-us.apache.org/repos/asf/incubator-sdap-nexus/blob/cf125f7f/nexus-ingest/nexus-xd-python-modules/tests/convert_iceshelf.py ---------------------------------------------------------------------- diff --git a/nexus-ingest/nexus-xd-python-modules/tests/convert_iceshelf.py b/nexus-ingest/nexus-xd-python-modules/tests/convert_iceshelf.py index 0af75ec..897c5b8 100644 --- a/nexus-ingest/nexus-xd-python-modules/tests/convert_iceshelf.py +++ b/nexus-ingest/nexus-xd-python-modules/tests/convert_iceshelf.py @@ -1,3 +1,17 @@ +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You 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. import netCDF4 http://git-wip-us.apache.org/repos/asf/incubator-sdap-nexus/blob/cf125f7f/nexus-ingest/nexus-xd-python-modules/tests/hd5splitter.py ---------------------------------------------------------------------- diff --git a/nexus-ingest/nexus-xd-python-modules/tests/hd5splitter.py b/nexus-ingest/nexus-xd-python-modules/tests/hd5splitter.py index 5d10d31..aced24f 100644 --- a/nexus-ingest/nexus-xd-python-modules/tests/hd5splitter.py +++ b/nexus-ingest/nexus-xd-python-modules/tests/hd5splitter.py @@ -1,3 +1,17 @@ +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You 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. http://git-wip-us.apache.org/repos/asf/incubator-sdap-nexus/blob/cf125f7f/nexus-ingest/nexus-xd-python-modules/tests/kelvintocelsius_test.py ---------------------------------------------------------------------- diff --git a/nexus-ingest/nexus-xd-python-modules/tests/kelvintocelsius_test.py b/nexus-ingest/nexus-xd-python-modules/tests/kelvintocelsius_test.py index 4342629..7bfc30a 100644 --- a/nexus-ingest/nexus-xd-python-modules/tests/kelvintocelsius_test.py +++ b/nexus-ingest/nexus-xd-python-modules/tests/kelvintocelsius_test.py @@ -1,3 +1,17 @@ +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You 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. import importlib import unittest http://git-wip-us.apache.org/repos/asf/incubator-sdap-nexus/blob/cf125f7f/nexus-ingest/nexus-xd-python-modules/tests/processorchain_test.py ---------------------------------------------------------------------- diff --git a/nexus-ingest/nexus-xd-python-modules/tests/processorchain_test.py b/nexus-ingest/nexus-xd-python-modules/tests/processorchain_test.py index 6841776..ad2ad15 100644 --- a/nexus-ingest/nexus-xd-python-modules/tests/processorchain_test.py +++ b/nexus-ingest/nexus-xd-python-modules/tests/processorchain_test.py @@ -1,3 +1,17 @@ +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You 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. import unittest from os import environ, path http://git-wip-us.apache.org/repos/asf/incubator-sdap-nexus/blob/cf125f7f/nexus-ingest/nexus-xd-python-modules/tests/regrid1x1_test.py ---------------------------------------------------------------------- diff --git a/nexus-ingest/nexus-xd-python-modules/tests/regrid1x1_test.py b/nexus-ingest/nexus-xd-python-modules/tests/regrid1x1_test.py index efd078b..3f7c478 100644 --- a/nexus-ingest/nexus-xd-python-modules/tests/regrid1x1_test.py +++ b/nexus-ingest/nexus-xd-python-modules/tests/regrid1x1_test.py @@ -1,3 +1,17 @@ +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You 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. import importlib import unittest http://git-wip-us.apache.org/repos/asf/incubator-sdap-nexus/blob/cf125f7f/nexus-ingest/nexus-xd-python-modules/tests/subtract180longitude_test.py ---------------------------------------------------------------------- diff --git a/nexus-ingest/nexus-xd-python-modules/tests/subtract180longitude_test.py b/nexus-ingest/nexus-xd-python-modules/tests/subtract180longitude_test.py index b1e6cef..eabbfe0 100644 --- a/nexus-ingest/nexus-xd-python-modules/tests/subtract180longitude_test.py +++ b/nexus-ingest/nexus-xd-python-modules/tests/subtract180longitude_test.py @@ -1,3 +1,17 @@ +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You 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. import importlib import unittest http://git-wip-us.apache.org/repos/asf/incubator-sdap-nexus/blob/cf125f7f/nexus-ingest/nexus-xd-python-modules/tests/tilereadingprocessor_test.py ---------------------------------------------------------------------- diff --git a/nexus-ingest/nexus-xd-python-modules/tests/tilereadingprocessor_test.py b/nexus-ingest/nexus-xd-python-modules/tests/tilereadingprocessor_test.py index 1f2faf5..9fb59eb 100644 --- a/nexus-ingest/nexus-xd-python-modules/tests/tilereadingprocessor_test.py +++ b/nexus-ingest/nexus-xd-python-modules/tests/tilereadingprocessor_test.py @@ -1,3 +1,17 @@ +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You 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. import unittest import importlib http://git-wip-us.apache.org/repos/asf/incubator-sdap-nexus/blob/cf125f7f/nexus-ingest/nexus-xd-python-modules/tests/tilesumarizingprocessor_test.py ---------------------------------------------------------------------- diff --git a/nexus-ingest/nexus-xd-python-modules/tests/tilesumarizingprocessor_test.py b/nexus-ingest/nexus-xd-python-modules/tests/tilesumarizingprocessor_test.py index f0d1740..8f801ff 100644 --- a/nexus-ingest/nexus-xd-python-modules/tests/tilesumarizingprocessor_test.py +++ b/nexus-ingest/nexus-xd-python-modules/tests/tilesumarizingprocessor_test.py @@ -1,3 +1,17 @@ +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You 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. import importlib import unittest http://git-wip-us.apache.org/repos/asf/incubator-sdap-nexus/blob/cf125f7f/nexus-ingest/nexus-xd-python-modules/tests/winddirspeedtouv_test.py ---------------------------------------------------------------------- diff --git a/nexus-ingest/nexus-xd-python-modules/tests/winddirspeedtouv_test.py b/nexus-ingest/nexus-xd-python-modules/tests/winddirspeedtouv_test.py index 931bfc9..288a5e5 100644 --- a/nexus-ingest/nexus-xd-python-modules/tests/winddirspeedtouv_test.py +++ b/nexus-ingest/nexus-xd-python-modules/tests/winddirspeedtouv_test.py @@ -1,3 +1,17 @@ +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You 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. import importlib import unittest http://git-wip-us.apache.org/repos/asf/incubator-sdap-nexus/blob/cf125f7f/nexus-ingest/spring-xd-python/setup.py ---------------------------------------------------------------------- diff --git a/nexus-ingest/spring-xd-python/setup.py b/nexus-ingest/spring-xd-python/setup.py index a5796cc..36152c3 100644 --- a/nexus-ingest/spring-xd-python/setup.py +++ b/nexus-ingest/spring-xd-python/setup.py @@ -1,3 +1,17 @@ +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You 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. import setuptools http://git-wip-us.apache.org/repos/asf/incubator-sdap-nexus/blob/cf125f7f/nexus-ingest/spring-xd-python/springxd/__init__.py ---------------------------------------------------------------------- diff --git a/nexus-ingest/spring-xd-python/springxd/__init__.py b/nexus-ingest/spring-xd-python/springxd/__init__.py index e69de29..6acb5d1 100644 --- a/nexus-ingest/spring-xd-python/springxd/__init__.py +++ b/nexus-ingest/spring-xd-python/springxd/__init__.py @@ -0,0 +1,14 @@ +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You 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. http://git-wip-us.apache.org/repos/asf/incubator-sdap-nexus/blob/cf125f7f/nexus-ingest/spring-xd-python/springxd/tcpstream.py ---------------------------------------------------------------------- diff --git a/nexus-ingest/spring-xd-python/springxd/tcpstream.py b/nexus-ingest/spring-xd-python/springxd/tcpstream.py index 195d4a8..c2b12e8 100644 --- a/nexus-ingest/spring-xd-python/springxd/tcpstream.py +++ b/nexus-ingest/spring-xd-python/springxd/tcpstream.py @@ -1,3 +1,17 @@ +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You 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. import socket from os import environ http://git-wip-us.apache.org/repos/asf/incubator-sdap-nexus/blob/cf125f7f/nexus-ingest/tcp-shell/src/test/resources/echo.py ---------------------------------------------------------------------- diff --git a/nexus-ingest/tcp-shell/src/test/resources/echo.py b/nexus-ingest/tcp-shell/src/test/resources/echo.py index 311014e..131bad2 100644 --- a/nexus-ingest/tcp-shell/src/test/resources/echo.py +++ b/nexus-ingest/tcp-shell/src/test/resources/echo.py @@ -1,3 +1,17 @@ +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You 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. from tcpstream import LengthHeaderTcpProcessor, start_server http://git-wip-us.apache.org/repos/asf/incubator-sdap-nexus/blob/cf125f7f/nexus-ingest/tcp-shell/src/test/resources/echoenv.py ---------------------------------------------------------------------- diff --git a/nexus-ingest/tcp-shell/src/test/resources/echoenv.py b/nexus-ingest/tcp-shell/src/test/resources/echoenv.py index 43442d8..faa71cc 100644 --- a/nexus-ingest/tcp-shell/src/test/resources/echoenv.py +++ b/nexus-ingest/tcp-shell/src/test/resources/echoenv.py @@ -1,3 +1,17 @@ +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You 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. from tcpstream import LengthHeaderTcpProcessor, start_server from os import environ http://git-wip-us.apache.org/repos/asf/incubator-sdap-nexus/blob/cf125f7f/nexus-ingest/tcp-shell/src/test/resources/onetomany.py ---------------------------------------------------------------------- diff --git a/nexus-ingest/tcp-shell/src/test/resources/onetomany.py b/nexus-ingest/tcp-shell/src/test/resources/onetomany.py index 934ba30..cbf21ab 100644 --- a/nexus-ingest/tcp-shell/src/test/resources/onetomany.py +++ b/nexus-ingest/tcp-shell/src/test/resources/onetomany.py @@ -1,3 +1,17 @@ +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You 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. from tcpstream import LengthHeaderTcpProcessor, start_server http://git-wip-us.apache.org/repos/asf/incubator-sdap-nexus/blob/cf125f7f/nexus-ingest/tcp-shell/src/test/resources/tcpstream.py ---------------------------------------------------------------------- diff --git a/nexus-ingest/tcp-shell/src/test/resources/tcpstream.py b/nexus-ingest/tcp-shell/src/test/resources/tcpstream.py index c5013b4..8ecefab 100644 --- a/nexus-ingest/tcp-shell/src/test/resources/tcpstream.py +++ b/nexus-ingest/tcp-shell/src/test/resources/tcpstream.py @@ -1,3 +1,17 @@ +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You 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. import socket from os import environ http://git-wip-us.apache.org/repos/asf/incubator-sdap-nexus/blob/cf125f7f/nexus-ingest/tcp-shell/src/test/resources/tilereadingprocessor.py ---------------------------------------------------------------------- diff --git a/nexus-ingest/tcp-shell/src/test/resources/tilereadingprocessor.py b/nexus-ingest/tcp-shell/src/test/resources/tilereadingprocessor.py index cbba793..f728834 100644 --- a/nexus-ingest/tcp-shell/src/test/resources/tilereadingprocessor.py +++ b/nexus-ingest/tcp-shell/src/test/resources/tilereadingprocessor.py @@ -1,3 +1,17 @@ +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You 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. import datetime import urllib2 http://git-wip-us.apache.org/repos/asf/incubator-sdap-nexus/blob/cf125f7f/tools/deletebyquery/deletebyquery.py ---------------------------------------------------------------------- diff --git a/tools/deletebyquery/deletebyquery.py b/tools/deletebyquery/deletebyquery.py index 99ecb84..6732e1a 100644 --- a/tools/deletebyquery/deletebyquery.py +++ b/tools/deletebyquery/deletebyquery.py @@ -1,3 +1,17 @@ +# Licensed to the Apache Software Foundation (ASF) under one or more +# contributor license agreements. See the NOTICE file distributed with +# this work for additional information regarding copyright ownership. +# The ASF licenses this file to You 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. import argparse
