getting ready for Apache commit
Project: http://git-wip-us.apache.org/repos/asf/incubator-sdap-ningesterpy/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-sdap-ningesterpy/commit/bdd94285 Tree: http://git-wip-us.apache.org/repos/asf/incubator-sdap-ningesterpy/tree/bdd94285 Diff: http://git-wip-us.apache.org/repos/asf/incubator-sdap-ningesterpy/diff/bdd94285 Branch: refs/heads/master Commit: bdd94285ea754671bdbc751bc8955ca4e61fa74d Parents: 5291ed9 Author: Frank Greguska <[email protected]> Authored: Mon Jan 22 17:12:47 2018 -0800 Committer: Frank Greguska <[email protected]> Committed: Mon Jan 22 17:12:47 2018 -0800 ---------------------------------------------------------------------- .gitignore | 219 ++++++++++++++++++- README.md | 3 + ningesterpy/__init__.py | 19 +- ningesterpy/ningesterpy.py | 14 ++ ningesterpy/processors/__init__.py | 19 +- ningesterpy/processors/callncpdq.py | 19 +- ningesterpy/processors/callncra.py | 19 +- ningesterpy/processors/computespeeddirfromuv.py | 19 +- ningesterpy/processors/emptytilefilter.py | 19 +- ningesterpy/processors/kelvintocelsius.py | 19 +- .../processors/normalizetimebeginningofmonth.py | 19 +- ningesterpy/processors/processorchain.py | 19 +- ningesterpy/processors/regrid1x1.py | 19 +- ningesterpy/processors/subtract180longitude.py | 19 +- ningesterpy/processors/tilereadingprocessor.py | 19 +- .../processors/tilesummarizingprocessor.py | 19 +- ningesterpy/processors/winddirspeedtouv.py | 19 +- setup.py | 19 +- tests/__init__.py | 18 +- tests/callncpdq_test.py | 19 +- tests/computespeeddirfromuv_test.py | 19 +- tests/convert_iceshelf.py | 19 +- tests/hd5splitter.py | 19 +- tests/kelvintocelsius_test.py | 19 +- tests/processorchain_test.py | 19 +- tests/regrid1x1_test.py | 19 +- tests/subtract180longitude_test.py | 19 +- tests/tilereadingprocessor_test.py | 19 +- tests/tilesumarizingprocessor_test.py | 19 +- tests/winddirspeedtouv_test.py | 19 +- 30 files changed, 635 insertions(+), 113 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-sdap-ningesterpy/blob/bdd94285/.gitignore ---------------------------------------------------------------------- diff --git a/.gitignore b/.gitignore index ba846b9..788c98f 100644 --- a/.gitignore +++ b/.gitignore @@ -1,9 +1,218 @@ -*.pyc -.idea +### Python template +# Byte-compiled / optimized / DLL files +__pycache__/ +*.py[cod] +*$py.class +# C extensions +*.so + +# Distribution / packaging +.Python +build/ +develop-eggs/ +dist/ +downloads/ +eggs/ +.eggs/ +lib/ +lib64/ +parts/ +sdist/ +var/ +wheels/ +*.egg-info/ +.installed.cfg +*.egg +MANIFEST + +# PyInstaller +# Usually these files are written by a python script from a template +# before PyInstaller builds the exe, so as to inject date/other infos into it. +*.manifest +*.spec + +# Installer logs +pip-log.txt +pip-delete-this-directory.txt + +# Unit test / coverage reports +htmlcov/ +.tox/ +.coverage +.coverage.* +.cache +nosetests.xml +coverage.xml +*.cover +.hypothesis/ + +# Translations +*.mo +*.pot + +# Django stuff: +*.log +.static_storage/ +.media/ +local_settings.py + +# Flask stuff: +instance/ +.webassets-cache + +# Scrapy stuff: +.scrapy + +# Sphinx documentation +docs/_build/ + +# PyBuilder +target/ + +# Jupyter Notebook +.ipynb_checkpoints + +# pyenv +.python-version + +# celery beat schedule file +celerybeat-schedule + +# SageMath parsed files +*.sage.py + +# Environments +.env +.venv +env/ +venv/ +ENV/ +env.bak/ +venv.bak/ + +# Spyder project settings +.spyderproject +.spyproject + +# Rope project settings +.ropeproject + +# mkdocs documentation +/site + +# mypy +.mypy_cache/ +### VirtualEnv template +# Virtualenv +# http://iamzed.com/2009/05/07/a-primer-on-virtualenv/ +[Bb]in +[Ii]nclude +[Ll]ib +[Ll]ib64 +[Ll]ocal +[Ss]cripts +pyvenv.cfg +pip-selfcheck.json +### JetBrains template +# Covers JetBrains IDEs: IntelliJ, RubyMine, PhpStorm, AppCode, PyCharm, CLion, Android Studio and Webstorm +# Reference: https://intellij-support.jetbrains.com/hc/en-us/articles/206544839 + +# User-specific stuff: +.idea/**/workspace.xml +.idea/**/tasks.xml +.idea/dictionaries + +# Sensitive or high-churn files: +.idea/**/dataSources/ +.idea/**/dataSources.ids +.idea/**/dataSources.xml +.idea/**/dataSources.local.xml +.idea/**/sqlDataSources.xml +.idea/**/dynamic.xml +.idea/**/uiDesigner.xml + +# Gradle: +.idea/**/gradle.xml +.idea/**/libraries + +# CMake +cmake-build-debug/ +cmake-build-release/ + +# Mongo Explorer plugin: +.idea/**/mongoSettings.xml + +## File-based project format: +*.iws + +## Plugin-specific files: + +# IntelliJ +out/ + +# mpeltonen/sbt-idea plugin +.idea_modules/ + +# JIRA plugin +atlassian-ide-plugin.xml + +# Cursive Clojure plugin +.idea/replstate.xml + +# Crashlytics plugin (for Android Studio and IntelliJ) +com_crashlytics_export_strings.xml +crashlytics.properties +crashlytics-build.properties +fabric.properties +### macOS template +# General .DS_Store +.AppleDouble +.LSOverride + +# Icon must end with two \r +Icon + +# Thumbnails +._* + +# Files that might appear in the root of a volume +.DocumentRevisions-V100 +.fseventsd +.Spotlight-V100 +.TemporaryItems +.Trashes +.VolumeIcon.icns +.com.apple.timemachine.donotpresent + +# Directories potentially created on remote AFP share +.AppleDB +.AppleDesktop +Network Trash Folder +Temporary Items +.apdisk +### Windows template +# Windows thumbnail cache files +Thumbs.db +ehthumbs.db +ehthumbs_vista.db + +# Dump file +*.stackdump + +# Folder config file +[Dd]esktop.ini + +# Recycle Bin used on file shares +$RECYCLE.BIN/ + +# Windows Installer files +*.cab +*.msi +*.msm +*.msp -*.egg-info -build -dist +# Windows shortcuts +*.lnk http://git-wip-us.apache.org/repos/asf/incubator-sdap-ningesterpy/blob/bdd94285/README.md ---------------------------------------------------------------------- diff --git a/README.md b/README.md new file mode 100644 index 0000000..6089814 --- /dev/null +++ b/README.md @@ -0,0 +1,3 @@ +# ningesterpy + +Python modules for processing of NEXUS tiles. \ No newline at end of file http://git-wip-us.apache.org/repos/asf/incubator-sdap-ningesterpy/blob/bdd94285/ningesterpy/__init__.py ---------------------------------------------------------------------- diff --git a/ningesterpy/__init__.py b/ningesterpy/__init__.py index 86f81aa..50167e0 100644 --- a/ningesterpy/__init__.py +++ b/ningesterpy/__init__.py @@ -1,5 +1,16 @@ -""" -Copyright (c) 2017 Jet Propulsion Laboratory, -California Institute of Technology. All rights reserved -""" +# 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 ningesterpy import ningesterpy \ No newline at end of file http://git-wip-us.apache.org/repos/asf/incubator-sdap-ningesterpy/blob/bdd94285/ningesterpy/ningesterpy.py ---------------------------------------------------------------------- diff --git a/ningesterpy/ningesterpy.py b/ningesterpy/ningesterpy.py index 2782c40..e3f1d02 100644 --- a/ningesterpy/ningesterpy.py +++ b/ningesterpy/ningesterpy.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 logging import uuid http://git-wip-us.apache.org/repos/asf/incubator-sdap-ningesterpy/blob/bdd94285/ningesterpy/processors/__init__.py ---------------------------------------------------------------------- diff --git a/ningesterpy/processors/__init__.py b/ningesterpy/processors/__init__.py index 7444828..e837ce5 100644 --- a/ningesterpy/processors/__init__.py +++ b/ningesterpy/processors/__init__.py @@ -1,7 +1,18 @@ -""" -Copyright (c) 2017 Jet Propulsion Laboratory, -California Institute of Technology. All rights reserved -""" +# 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 collections import defaultdict from nexusproto import DataTile_pb2 as nexusproto http://git-wip-us.apache.org/repos/asf/incubator-sdap-ningesterpy/blob/bdd94285/ningesterpy/processors/callncpdq.py ---------------------------------------------------------------------- diff --git a/ningesterpy/processors/callncpdq.py b/ningesterpy/processors/callncpdq.py index 3fee959..315a9c8 100644 --- a/ningesterpy/processors/callncpdq.py +++ b/ningesterpy/processors/callncpdq.py @@ -1,7 +1,18 @@ -""" -Copyright (c) 2017 Jet Propulsion Laboratory, -California Institute of Technology. All rights reserved -""" +# 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 logging import os http://git-wip-us.apache.org/repos/asf/incubator-sdap-ningesterpy/blob/bdd94285/ningesterpy/processors/callncra.py ---------------------------------------------------------------------- diff --git a/ningesterpy/processors/callncra.py b/ningesterpy/processors/callncra.py index d00e75b..4276995 100644 --- a/ningesterpy/processors/callncra.py +++ b/ningesterpy/processors/callncra.py @@ -1,7 +1,18 @@ -""" -Copyright (c) 2017 Jet Propulsion Laboratory, -California Institute of Technology. All rights reserved -""" +# 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 glob import os http://git-wip-us.apache.org/repos/asf/incubator-sdap-ningesterpy/blob/bdd94285/ningesterpy/processors/computespeeddirfromuv.py ---------------------------------------------------------------------- diff --git a/ningesterpy/processors/computespeeddirfromuv.py b/ningesterpy/processors/computespeeddirfromuv.py index 284a668..57a3b78 100644 --- a/ningesterpy/processors/computespeeddirfromuv.py +++ b/ningesterpy/processors/computespeeddirfromuv.py @@ -1,7 +1,18 @@ -""" -Copyright (c) 2017 Jet Propulsion Laboratory, -California Institute of Technology. All rights reserved -""" +# 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 numpy from nexusproto.serialization import from_shaped_array, to_shaped_array http://git-wip-us.apache.org/repos/asf/incubator-sdap-ningesterpy/blob/bdd94285/ningesterpy/processors/emptytilefilter.py ---------------------------------------------------------------------- diff --git a/ningesterpy/processors/emptytilefilter.py b/ningesterpy/processors/emptytilefilter.py index fed030a..976b8c3 100644 --- a/ningesterpy/processors/emptytilefilter.py +++ b/ningesterpy/processors/emptytilefilter.py @@ -1,7 +1,18 @@ -""" -Copyright (c) 2017 Jet Propulsion Laboratory, -California Institute of Technology. All rights reserved -""" +# 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 logging from nexusproto import DataTile_pb2 as nexusproto http://git-wip-us.apache.org/repos/asf/incubator-sdap-ningesterpy/blob/bdd94285/ningesterpy/processors/kelvintocelsius.py ---------------------------------------------------------------------- diff --git a/ningesterpy/processors/kelvintocelsius.py b/ningesterpy/processors/kelvintocelsius.py index 361a50d..5209798 100644 --- a/ningesterpy/processors/kelvintocelsius.py +++ b/ningesterpy/processors/kelvintocelsius.py @@ -1,7 +1,18 @@ -""" -Copyright (c) 2016 Jet Propulsion Laboratory, -California Institute of Technology. All rights reserved -""" +# 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 nexusproto.serialization import from_shaped_array, to_shaped_array http://git-wip-us.apache.org/repos/asf/incubator-sdap-ningesterpy/blob/bdd94285/ningesterpy/processors/normalizetimebeginningofmonth.py ---------------------------------------------------------------------- diff --git a/ningesterpy/processors/normalizetimebeginningofmonth.py b/ningesterpy/processors/normalizetimebeginningofmonth.py index 2be593c..ef452ea 100644 --- a/ningesterpy/processors/normalizetimebeginningofmonth.py +++ b/ningesterpy/processors/normalizetimebeginningofmonth.py @@ -1,7 +1,18 @@ -""" -Copyright (c) 2016 Jet Propulsion Laboratory, -California Institute of Technology. All rights reserved -""" +# 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-ningesterpy/blob/bdd94285/ningesterpy/processors/processorchain.py ---------------------------------------------------------------------- diff --git a/ningesterpy/processors/processorchain.py b/ningesterpy/processors/processorchain.py index aea605e..55a3e19 100644 --- a/ningesterpy/processors/processorchain.py +++ b/ningesterpy/processors/processorchain.py @@ -1,7 +1,18 @@ -""" -Copyright (c) 2016 Jet Propulsion Laboratory, -California Institute of Technology. All rights reserved -""" +# 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 inspect import processors http://git-wip-us.apache.org/repos/asf/incubator-sdap-ningesterpy/blob/bdd94285/ningesterpy/processors/regrid1x1.py ---------------------------------------------------------------------- diff --git a/ningesterpy/processors/regrid1x1.py b/ningesterpy/processors/regrid1x1.py index 0248f1e..896f9f6 100644 --- a/ningesterpy/processors/regrid1x1.py +++ b/ningesterpy/processors/regrid1x1.py @@ -1,7 +1,18 @@ -""" -Copyright (c) 2017 Jet Propulsion Laboratory, -California Institute of Technology. All rights reserved -""" +# 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 datetime import datetime http://git-wip-us.apache.org/repos/asf/incubator-sdap-ningesterpy/blob/bdd94285/ningesterpy/processors/subtract180longitude.py ---------------------------------------------------------------------- diff --git a/ningesterpy/processors/subtract180longitude.py b/ningesterpy/processors/subtract180longitude.py index b6ed693..74ad846 100644 --- a/ningesterpy/processors/subtract180longitude.py +++ b/ningesterpy/processors/subtract180longitude.py @@ -1,7 +1,18 @@ -""" -Copyright (c) 2017 Jet Propulsion Laboratory, -California Institute of Technology. All rights reserved -""" +# 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 nexusproto.serialization import from_shaped_array, to_shaped_array from processors import NexusTileProcessor http://git-wip-us.apache.org/repos/asf/incubator-sdap-ningesterpy/blob/bdd94285/ningesterpy/processors/tilereadingprocessor.py ---------------------------------------------------------------------- diff --git a/ningesterpy/processors/tilereadingprocessor.py b/ningesterpy/processors/tilereadingprocessor.py index 755a1ee..7b26c14 100644 --- a/ningesterpy/processors/tilereadingprocessor.py +++ b/ningesterpy/processors/tilereadingprocessor.py @@ -1,7 +1,18 @@ -""" -Copyright (c) 2017 Jet Propulsion Laboratory, -California Institute of Technology. All rights reserved -""" +# 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 collections import OrderedDict from contextlib import contextmanager http://git-wip-us.apache.org/repos/asf/incubator-sdap-ningesterpy/blob/bdd94285/ningesterpy/processors/tilesummarizingprocessor.py ---------------------------------------------------------------------- diff --git a/ningesterpy/processors/tilesummarizingprocessor.py b/ningesterpy/processors/tilesummarizingprocessor.py index b65757f..b0a9028 100644 --- a/ningesterpy/processors/tilesummarizingprocessor.py +++ b/ningesterpy/processors/tilesummarizingprocessor.py @@ -1,7 +1,18 @@ -""" -Copyright (c) 2016 Jet Propulsion Laboratory, -California Institute of Technology. All rights reserved -""" +# 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 nexusproto import DataTile_pb2 as nexusproto import numpy from nexusproto.serialization import from_shaped_array http://git-wip-us.apache.org/repos/asf/incubator-sdap-ningesterpy/blob/bdd94285/ningesterpy/processors/winddirspeedtouv.py ---------------------------------------------------------------------- diff --git a/ningesterpy/processors/winddirspeedtouv.py b/ningesterpy/processors/winddirspeedtouv.py index 9a4445d..f5d3a82 100644 --- a/ningesterpy/processors/winddirspeedtouv.py +++ b/ningesterpy/processors/winddirspeedtouv.py @@ -1,7 +1,18 @@ -""" -Copyright (c) 2016 Jet Propulsion Laboratory, -California Institute of Technology. All rights reserved -""" +# 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 cos from math import radians from math import sin http://git-wip-us.apache.org/repos/asf/incubator-sdap-ningesterpy/blob/bdd94285/setup.py ---------------------------------------------------------------------- diff --git a/setup.py b/setup.py index f53f9ea..61f5ae5 100644 --- a/setup.py +++ b/setup.py @@ -1,7 +1,18 @@ -""" -Copyright (c) 2017 Jet Propulsion Laboratory, -California Institute of Technology. All rights reserved -""" +# 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 setuptools import setup, find_packages __version__ = '0.1' http://git-wip-us.apache.org/repos/asf/incubator-sdap-ningesterpy/blob/bdd94285/tests/__init__.py ---------------------------------------------------------------------- diff --git a/tests/__init__.py b/tests/__init__.py index bd9282c..6acb5d1 100644 --- a/tests/__init__.py +++ b/tests/__init__.py @@ -1,4 +1,14 @@ -""" -Copyright (c) 2016 Jet Propulsion Laboratory, -California Institute of Technology. All rights reserved -""" \ No newline at end of file +# 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-ningesterpy/blob/bdd94285/tests/callncpdq_test.py ---------------------------------------------------------------------- diff --git a/tests/callncpdq_test.py b/tests/callncpdq_test.py index 388a70b..11af9ac 100644 --- a/tests/callncpdq_test.py +++ b/tests/callncpdq_test.py @@ -1,7 +1,18 @@ -""" -Copyright (c) 2016 Jet Propulsion Laboratory, -California Institute of Technology. All rights reserved -""" +# 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 subprocess import unittest from os import path, remove http://git-wip-us.apache.org/repos/asf/incubator-sdap-ningesterpy/blob/bdd94285/tests/computespeeddirfromuv_test.py ---------------------------------------------------------------------- diff --git a/tests/computespeeddirfromuv_test.py b/tests/computespeeddirfromuv_test.py index d880008..16335bc 100644 --- a/tests/computespeeddirfromuv_test.py +++ b/tests/computespeeddirfromuv_test.py @@ -1,7 +1,18 @@ -""" -Copyright (c) 2016 Jet Propulsion Laboratory, -California Institute of Technology. All rights reserved -""" +# 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 path http://git-wip-us.apache.org/repos/asf/incubator-sdap-ningesterpy/blob/bdd94285/tests/convert_iceshelf.py ---------------------------------------------------------------------- diff --git a/tests/convert_iceshelf.py b/tests/convert_iceshelf.py index cf556dd..4f14044 100644 --- a/tests/convert_iceshelf.py +++ b/tests/convert_iceshelf.py @@ -1,7 +1,18 @@ -""" -Copyright (c) 2017 Jet Propulsion Laboratory, -California Institute of Technology. All rights reserved -""" +# 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 http://git-wip-us.apache.org/repos/asf/incubator-sdap-ningesterpy/blob/bdd94285/tests/hd5splitter.py ---------------------------------------------------------------------- diff --git a/tests/hd5splitter.py b/tests/hd5splitter.py index c2a6655..1b1cb25 100644 --- a/tests/hd5splitter.py +++ b/tests/hd5splitter.py @@ -1,7 +1,18 @@ -""" -Copyright (c) 2016 Jet Propulsion Laboratory, -California Institute of Technology. All rights reserved -""" +# 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. + def hd5_copy(source, dest): http://git-wip-us.apache.org/repos/asf/incubator-sdap-ningesterpy/blob/bdd94285/tests/kelvintocelsius_test.py ---------------------------------------------------------------------- diff --git a/tests/kelvintocelsius_test.py b/tests/kelvintocelsius_test.py index 16da24f..2d4cd83 100644 --- a/tests/kelvintocelsius_test.py +++ b/tests/kelvintocelsius_test.py @@ -1,7 +1,18 @@ -""" -Copyright (c) 2016 Jet Propulsion Laboratory, -California Institute of Technology. All rights reserved -""" +# 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 path http://git-wip-us.apache.org/repos/asf/incubator-sdap-ningesterpy/blob/bdd94285/tests/processorchain_test.py ---------------------------------------------------------------------- diff --git a/tests/processorchain_test.py b/tests/processorchain_test.py index 066f7fa..6b47a3e 100644 --- a/tests/processorchain_test.py +++ b/tests/processorchain_test.py @@ -1,7 +1,18 @@ -""" -Copyright (c) 2016 Jet Propulsion Laboratory, -California Institute of Technology. All rights reserved -""" +# 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 path http://git-wip-us.apache.org/repos/asf/incubator-sdap-ningesterpy/blob/bdd94285/tests/regrid1x1_test.py ---------------------------------------------------------------------- diff --git a/tests/regrid1x1_test.py b/tests/regrid1x1_test.py index b080989..e05713e 100644 --- a/tests/regrid1x1_test.py +++ b/tests/regrid1x1_test.py @@ -1,7 +1,18 @@ -""" -Copyright (c) 2017 Jet Propulsion Laboratory, -California Institute of Technology. All rights reserved -""" +# 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 import unittest http://git-wip-us.apache.org/repos/asf/incubator-sdap-ningesterpy/blob/bdd94285/tests/subtract180longitude_test.py ---------------------------------------------------------------------- diff --git a/tests/subtract180longitude_test.py b/tests/subtract180longitude_test.py index 0e9b543..b8794b6 100644 --- a/tests/subtract180longitude_test.py +++ b/tests/subtract180longitude_test.py @@ -1,7 +1,18 @@ -""" -Copyright (c) 2016 Jet Propulsion Laboratory, -California Institute of Technology. All rights reserved -""" +# 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 path http://git-wip-us.apache.org/repos/asf/incubator-sdap-ningesterpy/blob/bdd94285/tests/tilereadingprocessor_test.py ---------------------------------------------------------------------- diff --git a/tests/tilereadingprocessor_test.py b/tests/tilereadingprocessor_test.py index e9a6784..ad31442 100644 --- a/tests/tilereadingprocessor_test.py +++ b/tests/tilereadingprocessor_test.py @@ -1,7 +1,18 @@ -""" -Copyright (c) 2016 Jet Propulsion Laboratory, -California Institute of Technology. All rights reserved -""" +# 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 path http://git-wip-us.apache.org/repos/asf/incubator-sdap-ningesterpy/blob/bdd94285/tests/tilesumarizingprocessor_test.py ---------------------------------------------------------------------- diff --git a/tests/tilesumarizingprocessor_test.py b/tests/tilesumarizingprocessor_test.py index b9735d8..82b03c4 100644 --- a/tests/tilesumarizingprocessor_test.py +++ b/tests/tilesumarizingprocessor_test.py @@ -1,7 +1,18 @@ -""" -Copyright (c) 2016 Jet Propulsion Laboratory, -California Institute of Technology. All rights reserved -""" +# 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 path http://git-wip-us.apache.org/repos/asf/incubator-sdap-ningesterpy/blob/bdd94285/tests/winddirspeedtouv_test.py ---------------------------------------------------------------------- diff --git a/tests/winddirspeedtouv_test.py b/tests/winddirspeedtouv_test.py index bb87d81..c9b288e 100644 --- a/tests/winddirspeedtouv_test.py +++ b/tests/winddirspeedtouv_test.py @@ -1,7 +1,18 @@ -""" -Copyright (c) 2016 Jet Propulsion Laboratory, -California Institute of Technology. All rights reserved -""" +# 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 path
