http://git-wip-us.apache.org/repos/asf/incubator-sdap-nexus/blob/eef3757b/analysis/webservice/algorithms_spark/DailyDifferenceAverageSpark.py ---------------------------------------------------------------------- diff --git a/analysis/webservice/algorithms_spark/DailyDifferenceAverageSpark.py b/analysis/webservice/algorithms_spark/DailyDifferenceAverageSpark.py index d1954fc..2d4c4ef 100644 --- a/analysis/webservice/algorithms_spark/DailyDifferenceAverageSpark.py +++ b/analysis/webservice/algorithms_spark/DailyDifferenceAverageSpark.py @@ -1,21 +1,5 @@ -# 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. -""" -Copyright (c) 2016 Jet Propulsion Laboratory, -California Institute of Technology. All rights reserved -""" + + import logging from datetime import datetime
http://git-wip-us.apache.org/repos/asf/incubator-sdap-nexus/blob/eef3757b/analysis/webservice/algorithms_spark/HofMoellerSpark.py ---------------------------------------------------------------------- diff --git a/analysis/webservice/algorithms_spark/HofMoellerSpark.py b/analysis/webservice/algorithms_spark/HofMoellerSpark.py index 4ded1e0..323b964 100644 --- a/analysis/webservice/algorithms_spark/HofMoellerSpark.py +++ b/analysis/webservice/algorithms_spark/HofMoellerSpark.py @@ -1,21 +1,5 @@ -# 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. -""" -Copyright (c) 2016 Jet Propulsion Laboratory, -California Institute of Technology. All rights reserved -""" + + import itertools import logging import traceback http://git-wip-us.apache.org/repos/asf/incubator-sdap-nexus/blob/eef3757b/analysis/webservice/algorithms_spark/Matchup.py ---------------------------------------------------------------------- diff --git a/analysis/webservice/algorithms_spark/Matchup.py b/analysis/webservice/algorithms_spark/Matchup.py index 1d082df..69c5659 100644 --- a/analysis/webservice/algorithms_spark/Matchup.py +++ b/analysis/webservice/algorithms_spark/Matchup.py @@ -1,21 +1,5 @@ -# 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. -""" -Copyright (c) 2016 Jet Propulsion Laboratory, -California Institute of Technology. All rights reserved -""" + + import json import logging http://git-wip-us.apache.org/repos/asf/incubator-sdap-nexus/blob/eef3757b/analysis/webservice/algorithms_spark/TimeAvgMapSpark.py ---------------------------------------------------------------------- diff --git a/analysis/webservice/algorithms_spark/TimeAvgMapSpark.py b/analysis/webservice/algorithms_spark/TimeAvgMapSpark.py index cc95664..6b48194 100644 --- a/analysis/webservice/algorithms_spark/TimeAvgMapSpark.py +++ b/analysis/webservice/algorithms_spark/TimeAvgMapSpark.py @@ -1,21 +1,5 @@ -# 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. -""" -Copyright (c) 2016 Jet Propulsion Laboratory, -California Institute of Technology. All rights reserved -""" + + import logging import numpy as np http://git-wip-us.apache.org/repos/asf/incubator-sdap-nexus/blob/eef3757b/analysis/webservice/algorithms_spark/TimeSeriesSpark.py ---------------------------------------------------------------------- diff --git a/analysis/webservice/algorithms_spark/TimeSeriesSpark.py b/analysis/webservice/algorithms_spark/TimeSeriesSpark.py index 89e91f3..4bf66b9 100644 --- a/analysis/webservice/algorithms_spark/TimeSeriesSpark.py +++ b/analysis/webservice/algorithms_spark/TimeSeriesSpark.py @@ -1,21 +1,5 @@ -# 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. -""" -Copyright (c) 2016 Jet Propulsion Laboratory, -California Institute of Technology. All rights reserved -""" + + import calendar import itertools import logging http://git-wip-us.apache.org/repos/asf/incubator-sdap-nexus/blob/eef3757b/analysis/webservice/algorithms_spark/__init__.py ---------------------------------------------------------------------- diff --git a/analysis/webservice/algorithms_spark/__init__.py b/analysis/webservice/algorithms_spark/__init__.py index c8e7705..7ab60b7 100644 --- a/analysis/webservice/algorithms_spark/__init__.py +++ b/analysis/webservice/algorithms_spark/__init__.py @@ -1,21 +1,5 @@ -# 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. -""" -Copyright (c) 2016 Jet Propulsion Laboratory, -California Institute of Technology. All rights reserved -""" + + import logging import os http://git-wip-us.apache.org/repos/asf/incubator-sdap-nexus/blob/eef3757b/analysis/webservice/matserver.py ---------------------------------------------------------------------- diff --git a/analysis/webservice/matserver.py b/analysis/webservice/matserver.py index 4507009..c3cec04 100644 --- a/analysis/webservice/matserver.py +++ b/analysis/webservice/matserver.py @@ -1,21 +1,5 @@ -# 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. -""" -Copyright (c) 2016 Jet Propulsion Laboratory, -California Institute of Technology. All rights reserved -""" + + import matplotlib.pyplot as plt import mpld3 import numpy as np http://git-wip-us.apache.org/repos/asf/incubator-sdap-nexus/blob/eef3757b/analysis/webservice/plotting.py ---------------------------------------------------------------------- diff --git a/analysis/webservice/plotting.py b/analysis/webservice/plotting.py index b2b776d..0620475 100644 --- a/analysis/webservice/plotting.py +++ b/analysis/webservice/plotting.py @@ -1,21 +1,5 @@ -# 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. -""" -Copyright (c) 2016 Jet Propulsion Laboratory, -California Institute of Technology. All rights reserved -""" + + import pyximport; pyximport.install() http://git-wip-us.apache.org/repos/asf/incubator-sdap-nexus/blob/eef3757b/analysis/webservice/webapp.py ---------------------------------------------------------------------- diff --git a/analysis/webservice/webapp.py b/analysis/webservice/webapp.py index 9477d37..c6664d2 100644 --- a/analysis/webservice/webapp.py +++ b/analysis/webservice/webapp.py @@ -1,21 +1,5 @@ -# 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. -""" -Copyright (c) 2016 Jet Propulsion Laboratory, -California Institute of Technology. All rights reserved -""" + + import ConfigParser import importlib import json http://git-wip-us.apache.org/repos/asf/incubator-sdap-nexus/blob/eef3757b/analysis/webservice/webmodel.py ---------------------------------------------------------------------- diff --git a/analysis/webservice/webmodel.py b/analysis/webservice/webmodel.py index ea4c90a..14aae8b 100644 --- a/analysis/webservice/webmodel.py +++ b/analysis/webservice/webmodel.py @@ -1,21 +1,5 @@ -# 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. -""" -Copyright (c) 2016 Jet Propulsion Laboratory, -California Institute of Technology. All rights reserved -""" + + import hashlib import inspect import json http://git-wip-us.apache.org/repos/asf/incubator-sdap-nexus/blob/eef3757b/client/.gitignore ---------------------------------------------------------------------- diff --git a/client/.gitignore b/client/.gitignore new file mode 100644 index 0000000..349908e --- /dev/null +++ b/client/.gitignore @@ -0,0 +1,157 @@ +# Created by .ignore support plugin (hsz.mobi) +### 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/ +### 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/ + +# 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 + http://git-wip-us.apache.org/repos/asf/incubator-sdap-nexus/blob/eef3757b/client/.idea/client.iml ---------------------------------------------------------------------- diff --git a/client/.idea/client.iml b/client/.idea/client.iml new file mode 100644 index 0000000..e7bb3e1 --- /dev/null +++ b/client/.idea/client.iml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<module type="PYTHON_MODULE" version="4"> + <component name="NewModuleRootManager"> + <content url="file://$MODULE_DIR$" /> + <orderEntry type="jdk" jdkName="Python 3.5.0 virtualenv at ~/nexuscli" jdkType="Python SDK" /> + <orderEntry type="sourceFolder" forTests="false" /> + </component> + <component name="TestRunnerService"> + <option name="PROJECT_TEST_RUNNER" value="Unittests" /> + </component> +</module> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/incubator-sdap-nexus/blob/eef3757b/client/.idea/encodings.xml ---------------------------------------------------------------------- diff --git a/client/.idea/encodings.xml b/client/.idea/encodings.xml new file mode 100644 index 0000000..97626ba --- /dev/null +++ b/client/.idea/encodings.xml @@ -0,0 +1,6 @@ +<?xml version="1.0" encoding="UTF-8"?> +<project version="4"> + <component name="Encoding"> + <file url="PROJECT" charset="UTF-8" /> + </component> +</project> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/incubator-sdap-nexus/blob/eef3757b/client/.idea/misc.xml ---------------------------------------------------------------------- diff --git a/client/.idea/misc.xml b/client/.idea/misc.xml new file mode 100644 index 0000000..bd9a126 --- /dev/null +++ b/client/.idea/misc.xml @@ -0,0 +1,4 @@ +<?xml version="1.0" encoding="UTF-8"?> +<project version="4"> + <component name="ProjectRootManager" version="2" project-jdk-name="Python 3.5.0 virtualenv at ~/nexuscli" project-jdk-type="Python SDK" /> +</project> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/incubator-sdap-nexus/blob/eef3757b/client/.idea/modules.xml ---------------------------------------------------------------------- diff --git a/client/.idea/modules.xml b/client/.idea/modules.xml new file mode 100644 index 0000000..0742ebc --- /dev/null +++ b/client/.idea/modules.xml @@ -0,0 +1,8 @@ +<?xml version="1.0" encoding="UTF-8"?> +<project version="4"> + <component name="ProjectModuleManager"> + <modules> + <module fileurl="file://$PROJECT_DIR$/.idea/client.iml" filepath="$PROJECT_DIR$/.idea/client.iml" /> + </modules> + </component> +</project> \ No newline at end of file http://git-wip-us.apache.org/repos/asf/incubator-sdap-nexus/blob/eef3757b/client/docs/nexuscli/index.html ---------------------------------------------------------------------- diff --git a/client/docs/nexuscli/index.html b/client/docs/nexuscli/index.html index 7d5684d..0dead09 100644 --- a/client/docs/nexuscli/index.html +++ b/client/docs/nexuscli/index.html @@ -4,8 +4,7 @@ <meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1" /> <title>nexuscli API documentation</title> - <meta name="description" content="Copyright (c) 2017 Jet Propulsion Laboratory, -California Institute of Technology. All rights reserv..." /> + <meta name="description" content="" /> <link href='http://fonts.googleapis.com/css?family=Source+Sans+Pro:400,300' rel='stylesheet' type='text/css'> @@ -1062,20 +1061,15 @@ table { <header id="section-intro"> <h1 class="title"><span class="name">nexuscli</span> module</h1> - <p>Copyright (c) 2017 Jet Propulsion Laboratory, -California Institute of Technology. All rights reserved</p> + <p class="source_link"><a href="javascript:void(0);" onclick="toggle('source-nexuscli', this);">Show source ≡</a></p> <div id="source-nexuscli" class="source"> - <div class="codehilite"><pre><span></span><span class="sd">"""</span> -<span class="sd">Copyright (c) 2017 Jet Propulsion Laboratory,</span> -<span class="sd">California Institute of Technology. All rights reserved</span> -<span class="sd">"""</span> -<span class="kn">from</span> <span class="nn">nexuscli.nexuscli</span> <span class="kn">import</span> <span class="n">TimeSeries</span> -<span class="kn">from</span> <span class="nn">nexuscli.nexuscli</span> <span class="kn">import</span> <span class="n">set_target</span> -<span class="kn">from</span> <span class="nn">nexuscli.nexuscli</span> <span class="kn">import</span> <span class="n">time_series</span> -<span class="kn">from</span> <span class="nn">nexuscli.nexuscli</span> <span class="kn">import</span> <span class="n">dataset_list</span> -<span class="kn">from</span> <span class="nn">nexuscli.nexuscli</span> <span class="kn">import</span> <span class="n">daily_difference_average</span> + <div class="codehilite"><pre><span></span><span class="n">rom</span> <span class="n">nexuscli</span><span class="o">.</span><span class="n">nexuscli</span> <span class="kn">import</span> <span class="nn">TimeSeries</span> +<span class="n">rom</span> <span class="n">nexuscli</span><span class="o">.</span><span class="n">nexuscli</span> <span class="kn">import</span> <span class="nn">set_target</span> +<span class="n">rom</span> <span class="n">nexuscli</span><span class="o">.</span><span class="n">nexuscli</span> <span class="kn">import</span> <span class="nn">time_series</span> +<span class="n">rom</span> <span class="n">nexuscli</span><span class="o">.</span><span class="n">nexuscli</span> <span class="kn">import</span> <span class="nn">dataset_list</span> +<span class="n">rom</span> <span class="n">nexuscli</span><span class="o">.</span><span class="n">nexuscli</span> <span class="kn">import</span> <span class="nn">daily_difference_average</span> </pre></div> </div> @@ -1091,14 +1085,13 @@ California Institute of Technology. All rights reserved</p> <p class="name"><a href="nexuscli.m.html">nexuscli.nexuscli</a></p> - <div class="desc"><p>Copyright (c) 2017 Jet Propulsion Laboratory, -California Institute of Technology. All rights reserved</p> -<p>This module provides a native python client interface to the NEXUS (https://github.com/dataplumber/nexus) + <div class="desc"><p>This module provides a native python client interface to the NEXUS (https://github.com/dataplumber/nexus) webservice API.</p> <p>Usage:</p> <div class="codehilite"><pre><span></span><span class="kn">import</span> <span class="nn">nexuscli</span> -<span class="n">nexuscli</span><span class="o">.</span><span class="n">set_target</span><span class="p">(</span><span class="s2">"http://nexus-w...</span> +<span class="n">nexuscli</span><span class="o">.</span><span class="n">set_target</span><span class="p">(</span><span class="s2">"http://nexus-webapp:8083"</span><span class="p">)</span> +<span class="n">nexuscli</span><span class="o">.</span><span class="n">dataset_list</span><span class="p">()</span> </pre></div></div> </div> @@ -1106,8 +1099,6 @@ webservice API.</p> <p class="name"><a href="test/index.html">nexuscli.test</a></p> - <div class="desc"><p>Copyright (c) 2017 Jet Propulsion Laboratory, -California Institute of Technology. All rights reserved</p></div> </div> </section> http://git-wip-us.apache.org/repos/asf/incubator-sdap-nexus/blob/eef3757b/client/docs/nexuscli/nexuscli.m.html ---------------------------------------------------------------------- diff --git a/client/docs/nexuscli/nexuscli.m.html b/client/docs/nexuscli/nexuscli.m.html index 011f01c..de5c2bc 100644 --- a/client/docs/nexuscli/nexuscli.m.html +++ b/client/docs/nexuscli/nexuscli.m.html @@ -4,8 +4,7 @@ <meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1" /> <title>nexuscli.nexuscli API documentation</title> - <meta name="description" content="Copyright (c) 2017 Jet Propulsion Laboratory, -California Institute of Technology. All rights reserv..." /> + <meta name="description" content="This module provides a native python client interface to the NEXUS (https://github.com/dataplumber/n..." /> <link href='http://fonts.googleapis.com/css?family=Source+Sans+Pro:400,300' rel='stylesheet' type='text/css'> @@ -1083,9 +1082,7 @@ table { <header id="section-intro"> <h1 class="title"><span class="name">nexuscli.nexuscli</span> module</h1> - <p>Copyright (c) 2017 Jet Propulsion Laboratory, -California Institute of Technology. All rights reserved</p> -<p>This module provides a native python client interface to the NEXUS (https://github.com/dataplumber/nexus) + <p>This module provides a native python client interface to the NEXUS (https://github.com/dataplumber/nexus) webservice API.</p> <p>Usage:</p> <div class="codehilite"><pre><span></span><span class="kn">import</span> <span class="nn">nexuscli</span> @@ -1097,9 +1094,6 @@ webservice API.</p> <p class="source_link"><a href="javascript:void(0);" onclick="toggle('source-nexuscli.nexuscli', this);">Show source ≡</a></p> <div id="source-nexuscli.nexuscli" class="source"> <div class="codehilite"><pre><span></span><span class="sd">"""</span> -<span class="sd">Copyright (c) 2017 Jet Propulsion Laboratory,</span> -<span class="sd">California Institute of Technology. All rights reserved</span> - <span class="sd">This module provides a native python client interface to the NEXUS (https://github.com/dataplumber/nexus) </span> <span class="sd">webservice API.</span> @@ -1241,21 +1235,24 @@ webservice API.</p> <span class="sd"> __return__ List of `nexuscli.nexuscli.TimeSeries` namedtuples</span> <span class="sd"> """</span> + <span class="k">if</span> <span class="nb">isinstance</span><span class="p">(</span><span class="n">datasets</span><span class="p">,</span> <span class="nb">str</span><span class="p">):</span> + <span class="n">datasets</span> <span class="o">=</span> <span class="p">[</span><span class="n">datasets</span><span class="p">]</span> + <span class="k">assert</span> <span class="mi">0</span> <span class="o"><</span> <span class="nb">len</span><span class="p">(</span><span class="n">datasets</span><span class="p">)</span> <span class="o"><=</span> <span class="mi">2</span><span class="p">,</span> <span class="s2">"datasets must be a sequence of 1 or 2 items"</span> - <span class="k">if</span> <span class="n">spark</span><span class="p">:</span> - <span class="n">url</span> <span class="o">=</span> <span class="s2">"{}/timeSeriesSpark?"</span><span class="o">.</span><span class="n">format</span><span class="p">(</span><span class="n">target</span><span class="p">)</span> - <span class="k">else</span><span class="p">:</span> - <span class="n">url</span> <span class="o">=</span> <span class="s2">"{}/stats?"</span><span class="o">.</span><span class="n">format</span><span class="p">(</span><span class="n">target</span><span class="p">)</span> <span class="n">params</span> <span class="o">=</span> <span class="p">{</span> <span class="s1">'ds'</span><span class="p">:</span> <span class="s1">','</span><span class="o">.</span><span class="n">join</span><span class="p">(</span><span class="n">datasets</span><span class="p">),</span> <span class="s1">'b'</span><span class="p">:</span> <span class="s1">','</span><span class="o">.</span><span class="n">join</span><span class="p">(</span><span class="nb">str</span><span class="p">(</span><span class="n">b</span><span class="p">)</span> <span class="k">for</span> <span class="n">b</span> <span class="ow">in</span> <span class="n">bounding_box</span><span class="o">.</span><span class="n">bounds</span><span class="p">),</span> <span class="s1">'startTime'</span><span class="p">:</span> <span class="n">start_datetime</span><span class="o">.</span><span class="n">strftime</span><span class="p">(</span><span class="n">ISO_FORMAT</span><span class="p">),</span> <span class="s1">'endTime'</span><span class="p">:</span> <span class="n">end_datetime</span><span class="o">.</span><span class="n">strftime</span><span class="p">(</span><span class="n">ISO_FORMAT</span><span class="p">),</span> - <span class="s1">'seasonalFilter'</span><span class="p">:</span> <span class="n">seasonal_filter</span><span class="p">,</span> - <span class="s1">'lowPassFilter'</span><span class="p">:</span> <span class="n">lowpass_filter</span> <span class="p">}</span> + <span class="k">if</span> <span class="n">spark</span><span class="p">:</span> + <span class="n">url</span> <span class="o">=</span> <span class="s2">"{}/timeSeriesSpark?"</span><span class="o">.</span><span class="n">format</span><span class="p">(</span><span class="n">target</span><span class="p">)</span> + <span class="n">params</span><span class="p">[</span><span class="s1">'spark'</span><span class="p">]</span> <span class="o">=</span> <span class="s2">"mesos,16,32"</span> + <span class="k">else</span><span class="p">:</span> + <span class="n">url</span> <span class="o">=</span> <span class="s2">"{}/stats?"</span><span class="o">.</span><span class="n">format</span><span class="p">(</span><span class="n">target</span><span class="p">)</span> + <span class="n">response</span> <span class="o">=</span> <span class="n">session</span><span class="o">.</span><span class="n">get</span><span class="p">(</span><span class="n">url</span><span class="p">,</span> <span class="n">params</span><span class="o">=</span><span class="n">params</span><span class="p">)</span> <span class="n">response</span><span class="o">.</span><span class="n">raise_for_status</span><span class="p">()</span> <span class="n">response</span> <span class="o">=</span> <span class="n">response</span><span class="o">.</span><span class="n">json</span><span class="p">()</span> @@ -1510,21 +1507,24 @@ webservice API.</p> <span class="sd"> __return__ List of `nexuscli.nexuscli.TimeSeries` namedtuples</span> <span class="sd"> """</span> + <span class="k">if</span> <span class="nb">isinstance</span><span class="p">(</span><span class="n">datasets</span><span class="p">,</span> <span class="nb">str</span><span class="p">):</span> + <span class="n">datasets</span> <span class="o">=</span> <span class="p">[</span><span class="n">datasets</span><span class="p">]</span> + <span class="k">assert</span> <span class="mi">0</span> <span class="o"><</span> <span class="nb">len</span><span class="p">(</span><span class="n">datasets</span><span class="p">)</span> <span class="o"><=</span> <span class="mi">2</span><span class="p">,</span> <span class="s2">"datasets must be a sequence of 1 or 2 items"</span> - <span class="k">if</span> <span class="n">spark</span><span class="p">:</span> - <span class="n">url</span> <span class="o">=</span> <span class="s2">"{}/timeSeriesSpark?"</span><span class="o">.</span><span class="n">format</span><span class="p">(</span><span class="n">target</span><span class="p">)</span> - <span class="k">else</span><span class="p">:</span> - <span class="n">url</span> <span class="o">=</span> <span class="s2">"{}/stats?"</span><span class="o">.</span><span class="n">format</span><span class="p">(</span><span class="n">target</span><span class="p">)</span> <span class="n">params</span> <span class="o">=</span> <span class="p">{</span> <span class="s1">'ds'</span><span class="p">:</span> <span class="s1">','</span><span class="o">.</span><span class="n">join</span><span class="p">(</span><span class="n">datasets</span><span class="p">),</span> <span class="s1">'b'</span><span class="p">:</span> <span class="s1">','</span><span class="o">.</span><span class="n">join</span><span class="p">(</span><span class="nb">str</span><span class="p">(</span><span class="n">b</span><span class="p">)</span> <span class="k">for</span> <span class="n">b</span> <span class="ow">in</span> <span class="n">bounding_box</span><span class="o">.</span><span class="n">bounds</span><span class="p">),</span> <span class="s1">'startTime'</span><span class="p">:</span> <span class="n">start_datetime</span><span class="o">.</span><span class="n">strftime</span><span class="p">(</span><span class="n">ISO_FORMAT</span><span class="p">),</span> <span class="s1">'endTime'</span><span class="p">:</span> <span class="n">end_datetime</span><span class="o">.</span><span class="n">strftime</span><span class="p">(</span><span class="n">ISO_FORMAT</span><span class="p">),</span> - <span class="s1">'seasonalFilter'</span><span class="p">:</span> <span class="n">seasonal_filter</span><span class="p">,</span> - <span class="s1">'lowPassFilter'</span><span class="p">:</span> <span class="n">lowpass_filter</span> <span class="p">}</span> + <span class="k">if</span> <span class="n">spark</span><span class="p">:</span> + <span class="n">url</span> <span class="o">=</span> <span class="s2">"{}/timeSeriesSpark?"</span><span class="o">.</span><span class="n">format</span><span class="p">(</span><span class="n">target</span><span class="p">)</span> + <span class="n">params</span><span class="p">[</span><span class="s1">'spark'</span><span class="p">]</span> <span class="o">=</span> <span class="s2">"mesos,16,32"</span> + <span class="k">else</span><span class="p">:</span> + <span class="n">url</span> <span class="o">=</span> <span class="s2">"{}/stats?"</span><span class="o">.</span><span class="n">format</span><span class="p">(</span><span class="n">target</span><span class="p">)</span> + <span class="n">response</span> <span class="o">=</span> <span class="n">session</span><span class="o">.</span><span class="n">get</span><span class="p">(</span><span class="n">url</span><span class="p">,</span> <span class="n">params</span><span class="o">=</span><span class="n">params</span><span class="p">)</span> <span class="n">response</span><span class="o">.</span><span class="n">raise_for_status</span><span class="p">()</span> <span class="n">response</span> <span class="o">=</span> <span class="n">response</span><span class="o">.</span><span class="n">json</span><span class="p">()</span> http://git-wip-us.apache.org/repos/asf/incubator-sdap-nexus/blob/eef3757b/client/docs/nexuscli/test/index.html ---------------------------------------------------------------------- diff --git a/client/docs/nexuscli/test/index.html b/client/docs/nexuscli/test/index.html index 97fe663..296f5e9 100644 --- a/client/docs/nexuscli/test/index.html +++ b/client/docs/nexuscli/test/index.html @@ -4,8 +4,7 @@ <meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1" /> <title>nexuscli.test API documentation</title> - <meta name="description" content="Copyright (c) 2017 Jet Propulsion Laboratory, -California Institute of Technology. All rights reserv..." /> + <meta name="description" content="" /> <link href='http://fonts.googleapis.com/css?family=Source+Sans+Pro:400,300' rel='stylesheet' type='text/css'> @@ -1061,18 +1060,8 @@ table { <header id="section-intro"> <h1 class="title"><span class="name">nexuscli.test</span> module</h1> - <p>Copyright (c) 2017 Jet Propulsion Laboratory, -California Institute of Technology. All rights reserved</p> - <p class="source_link"><a href="javascript:void(0);" onclick="toggle('source-nexuscli.test', this);">Show source ≡</a></p> - <div id="source-nexuscli.test" class="source"> - <div class="codehilite"><pre><span></span><span class="sd">"""</span> -<span class="sd">Copyright (c) 2017 Jet Propulsion Laboratory,</span> -<span class="sd">California Institute of Technology. All rights reserved</span> -<span class="sd">"""</span> -</pre></div> - - </div> + </header> @@ -1085,8 +1074,6 @@ California Institute of Technology. All rights reserved</p> <p class="name"><a href="nexuscli_test.m.html">nexuscli.test.nexuscli_test</a></p> - <div class="desc"><p>Copyright (c) 2017 Jet Propulsion Laboratory, -California Institute of Technology. All rights reserved</p></div> </div> </section> http://git-wip-us.apache.org/repos/asf/incubator-sdap-nexus/blob/eef3757b/client/docs/nexuscli/test/nexuscli_test.m.html ---------------------------------------------------------------------- diff --git a/client/docs/nexuscli/test/nexuscli_test.m.html b/client/docs/nexuscli/test/nexuscli_test.m.html index 4e730d3..f411288 100644 --- a/client/docs/nexuscli/test/nexuscli_test.m.html +++ b/client/docs/nexuscli/test/nexuscli_test.m.html @@ -4,8 +4,7 @@ <meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1" /> <title>nexuscli.test.nexuscli_test API documentation</title> - <meta name="description" content="Copyright (c) 2017 Jet Propulsion Laboratory, -California Institute of Technology. All rights reserv..." /> + <meta name="description" content="" /> <link href='http://fonts.googleapis.com/css?family=Source+Sans+Pro:400,300' rel='stylesheet' type='text/css'> @@ -1135,41 +1134,27 @@ table { <header id="section-intro"> <h1 class="title"><span class="name">nexuscli.test.nexuscli_test</span> module</h1> - <p>Copyright (c) 2017 Jet Propulsion Laboratory, -California Institute of Technology. All rights reserved</p> + <p class="source_link"><a href="javascript:void(0);" onclick="toggle('source-nexuscli.test.nexuscli_test', this);">Show source ≡</a></p> <div id="source-nexuscli.test.nexuscli_test" class="source"> - <div class="codehilite"><pre><span></span><span class="sd">"""</span> -<span class="sd">Copyright (c) 2017 Jet Propulsion Laboratory,</span> -<span class="sd">California Institute of Technology. All rights reserved</span> -<span class="sd">"""</span> -<span class="kn">import</span> <span class="nn">unittest</span> -<span class="kn">from</span> <span class="nn">datetime</span> <span class="kn">import</span> <span class="n">datetime</span> - -<span class="kn">from</span> <span class="nn">shapely.geometry</span> <span class="kn">import</span> <span class="n">box</span> - -<span class="kn">import</span> <span class="nn">nexuscli</span> - - -<span class="k">class</span> <span class="nc">TestCli</span><span class="p">(</span><span class="n">unittest</span><span class="o">.</span><span class="n">TestCase</span><span class="p">):</span> - <span class="k">def</span> <span class="nf">test_time_series</span><span class="p">(</span><span class="bp">self</span><span class="p">):</span> - <span class="n">ts</span> <span class="o">=</span> <span class="n">nexuscli</span><span class="o">.</span><span class="n">time_series</span><span class="p">((</span><span class="s2">"AVHRR_OI_L4_GHRSST_NCEI"</span><span class="p">,</span> <span class="s2">"MEASURES_SLA_JPL_1603"</span><span class="p">),</span> <span class="n">box</span><span class="p">(</span><span class="o">-</span><span class="mi">150</span><span class="p">,</span> <span class="mi">45</span><span class="p">,</span> <span class="o">-</span><span class="mi">120</span><span class="p">,</span> <span class="mi">60</span><span class="p">),</span> - <span class="n">datetime</span><span class="p">(</span><span class="mi">2016</span><span class="p">,</span> <span class="mi">1</span><span class="p">,</span> <span class="mi">1</span><span class="p">),</span> <span class="n">datetime</span><span class="p">(</span><span class="mi">2016</span><span class="p">,</span> <span class="mi">12</span><span class="p">,</span> <span class="mi">31</span><span class="p">))</span> - - <span class="bp">self</span><span class="o">.</span><span class="n">assertEqual</span><span class="p">(</span><span class="mi">2</span><span class="p">,</span> <span class="nb">len</span><span class="p">(</span><span class="n">ts</span><span class="p">))</span> - - <span class="k">def</span> <span class="nf">test_list</span><span class="p">(</span><span class="bp">self</span><span class="p">):</span> - <span class="n">ds_list</span> <span class="o">=</span> <span class="n">nexuscli</span><span class="o">.</span><span class="n">dataset_list</span><span class="p">()</span> - - <span class="k">print</span><span class="p">(</span><span class="n">ds_list</span><span class="p">)</span> - <span class="bp">self</span><span class="o">.</span><span class="n">assertTrue</span><span class="p">(</span><span class="nb">len</span><span class="p">(</span><span class="n">ds_list</span><span class="p">)</span> <span class="o">></span> <span class="mi">0</span><span class="p">)</span> - - <span class="k">def</span> <span class="nf">test_daily_difference_average</span><span class="p">(</span><span class="bp">self</span><span class="p">):</span> - <span class="n">ts</span> <span class="o">=</span> <span class="n">nexuscli</span><span class="o">.</span><span class="n">daily_difference_average</span><span class="p">(</span><span class="s2">"AVHRR_OI_L4_GHRSST_NCEI"</span><span class="p">,</span> <span class="n">box</span><span class="p">(</span><span class="o">-</span><span class="mi">150</span><span class="p">,</span> <span class="mi">45</span><span class="p">,</span> <span class="o">-</span><span class="mi">120</span><span class="p">,</span> <span class="mi">60</span><span class="p">),</span> - <span class="n">datetime</span><span class="p">(</span><span class="mi">2013</span><span class="p">,</span> <span class="mi">1</span><span class="p">,</span> <span class="mi">1</span><span class="p">),</span> <span class="n">datetime</span><span class="p">(</span><span class="mi">2014</span><span class="p">,</span> <span class="mi">12</span><span class="p">,</span> <span class="mi">31</span><span class="p">),</span> <span class="n">spark</span><span class="o">=</span><span class="bp">True</span><span class="p">)</span> - - <span class="bp">self</span><span class="o">.</span><span class="n">assertEqual</span><span class="p">(</span><span class="mi">1</span><span class="p">,</span> <span class="nb">len</span><span class="p">(</span><span class="n">ts</span><span class="p">))</span> + <div class="codehilite"><pre><span></span><span class="n">mport</span> <span class="n">unittest</span> +<span class="n">rom</span> <span class="n">datetime</span> <span class="kn">import</span> <span class="nn">datetime</span> +<span class="n">rom</span> <span class="n">shapely</span><span class="o">.</span><span class="n">geometry</span> <span class="kn">import</span> <span class="nn">box</span> +<span class="n">mport</span> <span class="n">nexuscli</span> +<span class="n">lass</span> <span class="n">TestCli</span><span class="p">(</span><span class="n">unittest</span><span class="o">.</span><span class="n">TestCase</span><span class="p">):</span> + <span class="k">def</span> <span class="nf">test_time_series</span><span class="p">(</span><span class="bp">self</span><span class="p">):</span> + <span class="n">ts</span> <span class="o">=</span> <span class="n">nexuscli</span><span class="o">.</span><span class="n">time_series</span><span class="p">((</span><span class="s2">"AVHRR_OI_L4_GHRSST_NCEI"</span><span class="p">,</span> <span class="s2">"MEASURES_SLA_JPL_1603"</span><span class="p">),</span> <span class="n">box</span><span class="p">(</span><span class="o">-</span><span class="mi">150</span><span class="p">,</span> <span class="mi">45</span><span class="p">,</span> <span class="o">-</span><span class="mi">120</span><span class="p">,</span> <span class="mi">60</span><span class="p">),</span> + <span class="n">datetime</span><span class="p">(</span><span class="mi">2016</span><span class="p">,</span> <span class="mi">1</span><span class="p">,</span> <span class="mi">1</span><span class="p">),</span> <span class="n">datetime</span><span class="p">(</span><span class="mi">2016</span><span class="p">,</span> <span class="mi">12</span><span class="p">,</span> <span class="mi">31</span><span class="p">))</span> + <span class="bp">self</span><span class="o">.</span><span class="n">assertEqual</span><span class="p">(</span><span class="mi">2</span><span class="p">,</span> <span class="nb">len</span><span class="p">(</span><span class="n">ts</span><span class="p">))</span> + <span class="k">def</span> <span class="nf">test_list</span><span class="p">(</span><span class="bp">self</span><span class="p">):</span> + <span class="n">ds_list</span> <span class="o">=</span> <span class="n">nexuscli</span><span class="o">.</span><span class="n">dataset_list</span><span class="p">()</span> + <span class="k">print</span><span class="p">(</span><span class="n">ds_list</span><span class="p">)</span> + <span class="bp">self</span><span class="o">.</span><span class="n">assertTrue</span><span class="p">(</span><span class="nb">len</span><span class="p">(</span><span class="n">ds_list</span><span class="p">)</span> <span class="o">></span> <span class="mi">0</span><span class="p">)</span> + <span class="k">def</span> <span class="nf">test_daily_difference_average</span><span class="p">(</span><span class="bp">self</span><span class="p">):</span> + <span class="n">ts</span> <span class="o">=</span> <span class="n">nexuscli</span><span class="o">.</span><span class="n">daily_difference_average</span><span class="p">(</span><span class="s2">"AVHRR_OI_L4_GHRSST_NCEI"</span><span class="p">,</span> <span class="n">box</span><span class="p">(</span><span class="o">-</span><span class="mi">150</span><span class="p">,</span> <span class="mi">45</span><span class="p">,</span> <span class="o">-</span><span class="mi">120</span><span class="p">,</span> <span class="mi">60</span><span class="p">),</span> + <span class="n">datetime</span><span class="p">(</span><span class="mi">2013</span><span class="p">,</span> <span class="mi">1</span><span class="p">,</span> <span class="mi">1</span><span class="p">),</span> <span class="n">datetime</span><span class="p">(</span><span class="mi">2014</span><span class="p">,</span> <span class="mi">12</span><span class="p">,</span> <span class="mi">31</span><span class="p">))</span> + <span class="bp">self</span><span class="o">.</span><span class="n">assertEqual</span><span class="p">(</span><span class="mi">1</span><span class="p">,</span> <span class="nb">len</span><span class="p">(</span><span class="n">ts</span><span class="p">))</span> </pre></div> </div> @@ -1228,7 +1213,7 @@ in order to be run.</p> <span class="k">def</span> <span class="nf">test_daily_difference_average</span><span class="p">(</span><span class="bp">self</span><span class="p">):</span> <span class="n">ts</span> <span class="o">=</span> <span class="n">nexuscli</span><span class="o">.</span><span class="n">daily_difference_average</span><span class="p">(</span><span class="s2">"AVHRR_OI_L4_GHRSST_NCEI"</span><span class="p">,</span> <span class="n">box</span><span class="p">(</span><span class="o">-</span><span class="mi">150</span><span class="p">,</span> <span class="mi">45</span><span class="p">,</span> <span class="o">-</span><span class="mi">120</span><span class="p">,</span> <span class="mi">60</span><span class="p">),</span> - <span class="n">datetime</span><span class="p">(</span><span class="mi">2013</span><span class="p">,</span> <span class="mi">1</span><span class="p">,</span> <span class="mi">1</span><span class="p">),</span> <span class="n">datetime</span><span class="p">(</span><span class="mi">2014</span><span class="p">,</span> <span class="mi">12</span><span class="p">,</span> <span class="mi">31</span><span class="p">),</span> <span class="n">spark</span><span class="o">=</span><span class="bp">True</span><span class="p">)</span> + <span class="n">datetime</span><span class="p">(</span><span class="mi">2013</span><span class="p">,</span> <span class="mi">1</span><span class="p">,</span> <span class="mi">1</span><span class="p">),</span> <span class="n">datetime</span><span class="p">(</span><span class="mi">2014</span><span class="p">,</span> <span class="mi">12</span><span class="p">,</span> <span class="mi">31</span><span class="p">))</span> <span class="bp">self</span><span class="o">.</span><span class="n">assertEqual</span><span class="p">(</span><span class="mi">1</span><span class="p">,</span> <span class="nb">len</span><span class="p">(</span><span class="n">ts</span><span class="p">))</span> </pre></div> @@ -3404,7 +3389,7 @@ block, allowing further test code to be executed.</p></div> <div id="source-nexuscli.test.nexuscli_test.TestCli.test_daily_difference_average" class="source"> <div class="codehilite"><pre><span></span><span class="k">def</span> <span class="nf">test_daily_difference_average</span><span class="p">(</span><span class="bp">self</span><span class="p">):</span> <span class="n">ts</span> <span class="o">=</span> <span class="n">nexuscli</span><span class="o">.</span><span class="n">daily_difference_average</span><span class="p">(</span><span class="s2">"AVHRR_OI_L4_GHRSST_NCEI"</span><span class="p">,</span> <span class="n">box</span><span class="p">(</span><span class="o">-</span><span class="mi">150</span><span class="p">,</span> <span class="mi">45</span><span class="p">,</span> <span class="o">-</span><span class="mi">120</span><span class="p">,</span> <span class="mi">60</span><span class="p">),</span> - <span class="n">datetime</span><span class="p">(</span><span class="mi">2013</span><span class="p">,</span> <span class="mi">1</span><span class="p">,</span> <span class="mi">1</span><span class="p">),</span> <span class="n">datetime</span><span class="p">(</span><span class="mi">2014</span><span class="p">,</span> <span class="mi">12</span><span class="p">,</span> <span class="mi">31</span><span class="p">),</span> <span class="n">spark</span><span class="o">=</span><span class="bp">True</span><span class="p">)</span> + <span class="n">datetime</span><span class="p">(</span><span class="mi">2013</span><span class="p">,</span> <span class="mi">1</span><span class="p">,</span> <span class="mi">1</span><span class="p">),</span> <span class="n">datetime</span><span class="p">(</span><span class="mi">2014</span><span class="p">,</span> <span class="mi">12</span><span class="p">,</span> <span class="mi">31</span><span class="p">))</span> <span class="bp">self</span><span class="o">.</span><span class="n">assertEqual</span><span class="p">(</span><span class="mi">1</span><span class="p">,</span> <span class="nb">len</span><span class="p">(</span><span class="n">ts</span><span class="p">))</span> </pre></div> http://git-wip-us.apache.org/repos/asf/incubator-sdap-nexus/blob/eef3757b/client/nexuscli/__init__.py ---------------------------------------------------------------------- diff --git a/client/nexuscli/__init__.py b/client/nexuscli/__init__.py index 1275c23..60d3c89 100644 --- a/client/nexuscli/__init__.py +++ b/client/nexuscli/__init__.py @@ -1,7 +1,4 @@ -""" -Copyright (c) 2017 Jet Propulsion Laboratory, -California Institute of Technology. All rights reserved -""" + from nexuscli.nexuscli import TimeSeries from nexuscli.nexuscli import set_target from nexuscli.nexuscli import time_series http://git-wip-us.apache.org/repos/asf/incubator-sdap-nexus/blob/eef3757b/client/nexuscli/nexuscli.py ---------------------------------------------------------------------- diff --git a/client/nexuscli/nexuscli.py b/client/nexuscli/nexuscli.py index 2643713..c9e1d34 100644 --- a/client/nexuscli/nexuscli.py +++ b/client/nexuscli/nexuscli.py @@ -1,7 +1,4 @@ """ -Copyright (c) 2017 Jet Propulsion Laboratory, -California Institute of Technology. All rights reserved - This module provides a native python client interface to the NEXUS (https://github.com/dataplumber/nexus) webservice API. http://git-wip-us.apache.org/repos/asf/incubator-sdap-nexus/blob/eef3757b/client/nexuscli/test/__init__.py ---------------------------------------------------------------------- diff --git a/client/nexuscli/test/__init__.py b/client/nexuscli/test/__init__.py index 82079a0..e69de29 100644 --- a/client/nexuscli/test/__init__.py +++ b/client/nexuscli/test/__init__.py @@ -1,4 +0,0 @@ -""" -Copyright (c) 2017 Jet Propulsion Laboratory, -California Institute of Technology. All rights reserved -""" \ No newline at end of file http://git-wip-us.apache.org/repos/asf/incubator-sdap-nexus/blob/eef3757b/client/nexuscli/test/nexuscli_test.py ---------------------------------------------------------------------- diff --git a/client/nexuscli/test/nexuscli_test.py b/client/nexuscli/test/nexuscli_test.py index 0beea95..b8f8563 100644 --- a/client/nexuscli/test/nexuscli_test.py +++ b/client/nexuscli/test/nexuscli_test.py @@ -1,7 +1,4 @@ -""" -Copyright (c) 2017 Jet Propulsion Laboratory, -California Institute of Technology. All rights reserved -""" + import unittest from datetime import datetime http://git-wip-us.apache.org/repos/asf/incubator-sdap-nexus/blob/eef3757b/client/setup.py ---------------------------------------------------------------------- diff --git a/client/setup.py b/client/setup.py index dc8ba23..5ee0962 100644 --- a/client/setup.py +++ b/client/setup.py @@ -1,7 +1,4 @@ -""" -Copyright (c) 2017 Jet Propulsion Laboratory, -California Institute of Technology. All rights reserved -""" + from setuptools import setup, find_packages http://git-wip-us.apache.org/repos/asf/incubator-sdap-nexus/blob/eef3757b/climatology/clim/test/ccmpTest.py ---------------------------------------------------------------------- diff --git a/climatology/clim/test/ccmpTest.py b/climatology/clim/test/ccmpTest.py index b15494d..b9c6ee8 100644 --- a/climatology/clim/test/ccmpTest.py +++ b/climatology/clim/test/ccmpTest.py @@ -1,7 +1,4 @@ -""" -Copyright (c) 2017 Jet Propulsion Laboratory, -California Institute of Technology. All rights reserved -""" + import unittest import ClimatologySpark2 http://git-wip-us.apache.org/repos/asf/incubator-sdap-nexus/blob/eef3757b/climatology/clim/util/wls.py ---------------------------------------------------------------------- diff --git a/climatology/clim/util/wls.py b/climatology/clim/util/wls.py index d7ed8a5..af86561 100755 --- a/climatology/clim/util/wls.py +++ b/climatology/clim/util/wls.py @@ -6,8 +6,6 @@ # Author: Brian Wilson # # Created: Mon Apr 10 11:01:06 2006 -# Copyright: (c) 2006, California Institute of Technology. -# U.S. Government Sponsorship acknowledged. #----------------------------------------------------------------------------- # USAGE = """ http://git-wip-us.apache.org/repos/asf/incubator-sdap-nexus/blob/eef3757b/climatology/clim/wls.py ---------------------------------------------------------------------- diff --git a/climatology/clim/wls.py b/climatology/clim/wls.py index d7ed8a5..af86561 100755 --- a/climatology/clim/wls.py +++ b/climatology/clim/wls.py @@ -6,8 +6,6 @@ # Author: Brian Wilson # # Created: Mon Apr 10 11:01:06 2006 -# Copyright: (c) 2006, California Institute of Technology. -# U.S. Government Sponsorship acknowledged. #----------------------------------------------------------------------------- # USAGE = """ http://git-wip-us.apache.org/repos/asf/incubator-sdap-nexus/blob/eef3757b/data-access/nexustiles/dao/CassandraProxy.pyx ---------------------------------------------------------------------- diff --git a/data-access/nexustiles/dao/CassandraProxy.pyx b/data-access/nexustiles/dao/CassandraProxy.pyx index 4662412..d538b1b 100644 --- a/data-access/nexustiles/dao/CassandraProxy.pyx +++ b/data-access/nexustiles/dao/CassandraProxy.pyx @@ -1,7 +1,4 @@ -""" -Copyright (c) 2017 Jet Propulsion Laboratory, -California Institute of Technology. All rights reserved -""" + import uuid from ConfigParser import NoOptionError from multiprocessing.synchronize import Lock http://git-wip-us.apache.org/repos/asf/incubator-sdap-nexus/blob/eef3757b/data-access/nexustiles/dao/DynamoProxy.pyx ---------------------------------------------------------------------- diff --git a/data-access/nexustiles/dao/DynamoProxy.pyx b/data-access/nexustiles/dao/DynamoProxy.pyx index ca8706f..c885e83 100644 --- a/data-access/nexustiles/dao/DynamoProxy.pyx +++ b/data-access/nexustiles/dao/DynamoProxy.pyx @@ -1,7 +1,4 @@ -""" -Copyright (c) 2017 Jet Propulsion Laboratory, -California Institute of Technology. All rights reserved -""" + import uuid import nexusproto.NexusContent_pb2 as nexusproto from nexusproto.serialization import from_shaped_array http://git-wip-us.apache.org/repos/asf/incubator-sdap-nexus/blob/eef3757b/data-access/nexustiles/dao/S3Proxy.pyx ---------------------------------------------------------------------- diff --git a/data-access/nexustiles/dao/S3Proxy.pyx b/data-access/nexustiles/dao/S3Proxy.pyx index d3b1a84..5fd5c27 100644 --- a/data-access/nexustiles/dao/S3Proxy.pyx +++ b/data-access/nexustiles/dao/S3Proxy.pyx @@ -1,7 +1,4 @@ -""" -Copyright (c) 2017 Jet Propulsion Laboratory, -California Institute of Technology. All rights reserved -""" + import uuid import nexusproto.NexusContent_pb2 as nexusproto from nexusproto.serialization import from_shaped_array http://git-wip-us.apache.org/repos/asf/incubator-sdap-nexus/blob/eef3757b/data-access/nexustiles/dao/SolrProxy.pyx ---------------------------------------------------------------------- diff --git a/data-access/nexustiles/dao/SolrProxy.pyx b/data-access/nexustiles/dao/SolrProxy.pyx index 44e25e2..ac74b0f 100644 --- a/data-access/nexustiles/dao/SolrProxy.pyx +++ b/data-access/nexustiles/dao/SolrProxy.pyx @@ -1,7 +1,4 @@ -""" -Copyright (c) 2017 Jet Propulsion Laboratory, -California Institute of Technology. All rights reserved -""" + import json import logging import threading http://git-wip-us.apache.org/repos/asf/incubator-sdap-nexus/blob/eef3757b/data-access/nexustiles/model/nexusmodel.py ---------------------------------------------------------------------- diff --git a/data-access/nexustiles/model/nexusmodel.py b/data-access/nexustiles/model/nexusmodel.py index 4ea43b7..6d19c01 100644 --- a/data-access/nexustiles/model/nexusmodel.py +++ b/data-access/nexustiles/model/nexusmodel.py @@ -1,7 +1,4 @@ -""" -Copyright (c) 2016 Jet Propulsion Laboratory, -California Institute of Technology. All rights reserved -""" + from collections import namedtuple import numpy as np http://git-wip-us.apache.org/repos/asf/incubator-sdap-nexus/blob/eef3757b/data-access/nexustiles/nexustiles.py ---------------------------------------------------------------------- diff --git a/data-access/nexustiles/nexustiles.py b/data-access/nexustiles/nexustiles.py index 418eeef..4c24d7a 100644 --- a/data-access/nexustiles/nexustiles.py +++ b/data-access/nexustiles/nexustiles.py @@ -1,7 +1,4 @@ -""" -Copyright (c) 2016 Jet Propulsion Laboratory, -California Institute of Technology. All rights reserved -""" + import ConfigParser import sys from datetime import datetime http://git-wip-us.apache.org/repos/asf/incubator-sdap-nexus/blob/eef3757b/data-access/setup.py ---------------------------------------------------------------------- diff --git a/data-access/setup.py b/data-access/setup.py index 7b71df2..cf0fff3 100644 --- a/data-access/setup.py +++ b/data-access/setup.py @@ -1,7 +1,4 @@ -""" -Copyright (c) 2016 Jet Propulsion Laboratory, -California Institute of Technology. All rights reserved -""" + import setuptools from Cython.Build import cythonize http://git-wip-us.apache.org/repos/asf/incubator-sdap-nexus/blob/eef3757b/data-access/tests/__init__.py ---------------------------------------------------------------------- diff --git a/data-access/tests/__init__.py b/data-access/tests/__init__.py index bd9282c..e69de29 100644 --- a/data-access/tests/__init__.py +++ b/data-access/tests/__init__.py @@ -1,4 +0,0 @@ -""" -Copyright (c) 2016 Jet Propulsion Laboratory, -California Institute of Technology. All rights reserved -""" \ No newline at end of file http://git-wip-us.apache.org/repos/asf/incubator-sdap-nexus/blob/eef3757b/data-access/tests/nexusmodel_test.py ---------------------------------------------------------------------- diff --git a/data-access/tests/nexusmodel_test.py b/data-access/tests/nexusmodel_test.py index e07579d..b501d31 100644 --- a/data-access/tests/nexusmodel_test.py +++ b/data-access/tests/nexusmodel_test.py @@ -1,7 +1,4 @@ -""" -Copyright (c) 2016 Jet Propulsion Laboratory, -California Institute of Technology. All rights reserved -""" + import unittest import numpy as np http://git-wip-us.apache.org/repos/asf/incubator-sdap-nexus/blob/eef3757b/data-access/tests/nexustiles_test.py ---------------------------------------------------------------------- diff --git a/data-access/tests/nexustiles_test.py b/data-access/tests/nexustiles_test.py index e676250..28847f8 100644 --- a/data-access/tests/nexustiles_test.py +++ b/data-access/tests/nexustiles_test.py @@ -1,7 +1,4 @@ -""" -Copyright (c) 2016 Jet Propulsion Laboratory, -California Institute of Technology. All rights reserved -""" + import ConfigParser import time import unittest http://git-wip-us.apache.org/repos/asf/incubator-sdap-nexus/blob/eef3757b/data-access/tests/sizefromcass.py ---------------------------------------------------------------------- diff --git a/data-access/tests/sizefromcass.py b/data-access/tests/sizefromcass.py index 3671fd7..e3182f6 100644 --- a/data-access/tests/sizefromcass.py +++ b/data-access/tests/sizefromcass.py @@ -1,7 +1,4 @@ -""" -Copyright (c) 2016 Jet Propulsion Laboratory, -California Institute of Technology. All rights reserved -""" + import pyximport pyximport.install() http://git-wip-us.apache.org/repos/asf/incubator-sdap-nexus/blob/eef3757b/data-access/tests/solr_update.py ---------------------------------------------------------------------- diff --git a/data-access/tests/solr_update.py b/data-access/tests/solr_update.py index 765262a..57f4800 100644 --- a/data-access/tests/solr_update.py +++ b/data-access/tests/solr_update.py @@ -1,7 +1,4 @@ -""" -Copyright (c) 2016 Jet Propulsion Laboratory, -California Institute of Technology. All rights reserved -""" + import solr http://git-wip-us.apache.org/repos/asf/incubator-sdap-nexus/blob/eef3757b/data-access/tests/solrproxy_test.py ---------------------------------------------------------------------- diff --git a/data-access/tests/solrproxy_test.py b/data-access/tests/solrproxy_test.py index eb49199..ace34fb 100644 --- a/data-access/tests/solrproxy_test.py +++ b/data-access/tests/solrproxy_test.py @@ -1,7 +1,4 @@ -""" -Copyright (c) 2016 Jet Propulsion Laboratory, -California Institute of Technology. All rights reserved -""" + import unittest import ConfigParser http://git-wip-us.apache.org/repos/asf/incubator-sdap-nexus/blob/eef3757b/docker/ingest-base/xd-singlenode-logback.groovy ---------------------------------------------------------------------- diff --git a/docker/ingest-base/xd-singlenode-logback.groovy b/docker/ingest-base/xd-singlenode-logback.groovy index 5aec45b..c9fd679 100644 --- a/docker/ingest-base/xd-singlenode-logback.groovy +++ b/docker/ingest-base/xd-singlenode-logback.groovy @@ -1,7 +1,4 @@ -/***************************************************************************** -* Copyright (c) 2016 Jet Propulsion Laboratory, -* California Institute of Technology. All rights reserved -*****************************************************************************/ + import org.springframework.xd.dirt.util.logging.CustomLoggerConverter import org.springframework.xd.dirt.util.logging.VersionPatternConverter import ch.qos.logback.classic.encoder.PatternLayoutEncoder http://git-wip-us.apache.org/repos/asf/incubator-sdap-nexus/blob/eef3757b/nexus-ingest/dataset-tiler/src/main/groovy/org/nasa/jpl/nexus/ingest/datatiler/FileSlicer.groovy ---------------------------------------------------------------------- diff --git a/nexus-ingest/dataset-tiler/src/main/groovy/org/nasa/jpl/nexus/ingest/datatiler/FileSlicer.groovy b/nexus-ingest/dataset-tiler/src/main/groovy/org/nasa/jpl/nexus/ingest/datatiler/FileSlicer.groovy index 9e35b42..242d0fd 100644 --- a/nexus-ingest/dataset-tiler/src/main/groovy/org/nasa/jpl/nexus/ingest/datatiler/FileSlicer.groovy +++ b/nexus-ingest/dataset-tiler/src/main/groovy/org/nasa/jpl/nexus/ingest/datatiler/FileSlicer.groovy @@ -1,7 +1,4 @@ -/***************************************************************************** -* Copyright (c) 2016 Jet Propulsion Laboratory, -* California Institute of Technology. All rights reserved -*****************************************************************************/ + package org.nasa.jpl.nexus.ingest.datatiler /** http://git-wip-us.apache.org/repos/asf/incubator-sdap-nexus/blob/eef3757b/nexus-ingest/dataset-tiler/src/main/groovy/org/nasa/jpl/nexus/ingest/datatiler/SliceFileByDimension.groovy ---------------------------------------------------------------------- diff --git a/nexus-ingest/dataset-tiler/src/main/groovy/org/nasa/jpl/nexus/ingest/datatiler/SliceFileByDimension.groovy b/nexus-ingest/dataset-tiler/src/main/groovy/org/nasa/jpl/nexus/ingest/datatiler/SliceFileByDimension.groovy index 5645370..ddb4345 100644 --- a/nexus-ingest/dataset-tiler/src/main/groovy/org/nasa/jpl/nexus/ingest/datatiler/SliceFileByDimension.groovy +++ b/nexus-ingest/dataset-tiler/src/main/groovy/org/nasa/jpl/nexus/ingest/datatiler/SliceFileByDimension.groovy @@ -1,7 +1,4 @@ -/***************************************************************************** -* Copyright (c) 2016 Jet Propulsion Laboratory, -* California Institute of Technology. All rights reserved -*****************************************************************************/ + package org.nasa.jpl.nexus.ingest.datatiler import ucar.nc2.Variable http://git-wip-us.apache.org/repos/asf/incubator-sdap-nexus/blob/eef3757b/nexus-ingest/dataset-tiler/src/main/groovy/org/nasa/jpl/nexus/ingest/datatiler/SliceFileByTilesDesired.groovy ---------------------------------------------------------------------- diff --git a/nexus-ingest/dataset-tiler/src/main/groovy/org/nasa/jpl/nexus/ingest/datatiler/SliceFileByTilesDesired.groovy b/nexus-ingest/dataset-tiler/src/main/groovy/org/nasa/jpl/nexus/ingest/datatiler/SliceFileByTilesDesired.groovy index 861c685..bf014a3 100644 --- a/nexus-ingest/dataset-tiler/src/main/groovy/org/nasa/jpl/nexus/ingest/datatiler/SliceFileByTilesDesired.groovy +++ b/nexus-ingest/dataset-tiler/src/main/groovy/org/nasa/jpl/nexus/ingest/datatiler/SliceFileByTilesDesired.groovy @@ -1,7 +1,4 @@ -/***************************************************************************** -* Copyright (c) 2016 Jet Propulsion Laboratory, -* California Institute of Technology. All rights reserved -*****************************************************************************/ + package org.nasa.jpl.nexus.ingest.datatiler import ucar.nc2.dataset.NetcdfDataset http://git-wip-us.apache.org/repos/asf/incubator-sdap-nexus/blob/eef3757b/nexus-ingest/dataset-tiler/src/main/java/org/nasa/jpl/nexus/ingest/datatiler/DataTilerOptionsMetadata.java ---------------------------------------------------------------------- diff --git a/nexus-ingest/dataset-tiler/src/main/java/org/nasa/jpl/nexus/ingest/datatiler/DataTilerOptionsMetadata.java b/nexus-ingest/dataset-tiler/src/main/java/org/nasa/jpl/nexus/ingest/datatiler/DataTilerOptionsMetadata.java index 73a9e52..b8a49a5 100644 --- a/nexus-ingest/dataset-tiler/src/main/java/org/nasa/jpl/nexus/ingest/datatiler/DataTilerOptionsMetadata.java +++ b/nexus-ingest/dataset-tiler/src/main/java/org/nasa/jpl/nexus/ingest/datatiler/DataTilerOptionsMetadata.java @@ -1,7 +1,4 @@ -/***************************************************************************** -* Copyright (c) 2016 Jet Propulsion Laboratory, -* California Institute of Technology. All rights reserved -*****************************************************************************/ + package org.nasa.jpl.nexus.ingest.datatiler; import org.springframework.util.StringUtils; http://git-wip-us.apache.org/repos/asf/incubator-sdap-nexus/blob/eef3757b/nexus-ingest/dataset-tiler/src/main/java/org/nasa/jpl/nexus/ingest/datatiler/IntegrationConfiguration.java ---------------------------------------------------------------------- diff --git a/nexus-ingest/dataset-tiler/src/main/java/org/nasa/jpl/nexus/ingest/datatiler/IntegrationConfiguration.java b/nexus-ingest/dataset-tiler/src/main/java/org/nasa/jpl/nexus/ingest/datatiler/IntegrationConfiguration.java index 71ebf0a..05221ab 100644 --- a/nexus-ingest/dataset-tiler/src/main/java/org/nasa/jpl/nexus/ingest/datatiler/IntegrationConfiguration.java +++ b/nexus-ingest/dataset-tiler/src/main/java/org/nasa/jpl/nexus/ingest/datatiler/IntegrationConfiguration.java @@ -1,7 +1,4 @@ -/***************************************************************************** -* Copyright (c) 2016 Jet Propulsion Laboratory, -* California Institute of Technology. All rights reserved -*****************************************************************************/ + package org.nasa.jpl.nexus.ingest.datatiler; http://git-wip-us.apache.org/repos/asf/incubator-sdap-nexus/blob/eef3757b/nexus-ingest/dataset-tiler/src/test/groovy/org/nasa/jpl/nexus/ingest/datatiler/DatasetTilerIntegrationTest.groovy ---------------------------------------------------------------------- diff --git a/nexus-ingest/dataset-tiler/src/test/groovy/org/nasa/jpl/nexus/ingest/datatiler/DatasetTilerIntegrationTest.groovy b/nexus-ingest/dataset-tiler/src/test/groovy/org/nasa/jpl/nexus/ingest/datatiler/DatasetTilerIntegrationTest.groovy index 42716ea..e29798d 100644 --- a/nexus-ingest/dataset-tiler/src/test/groovy/org/nasa/jpl/nexus/ingest/datatiler/DatasetTilerIntegrationTest.groovy +++ b/nexus-ingest/dataset-tiler/src/test/groovy/org/nasa/jpl/nexus/ingest/datatiler/DatasetTilerIntegrationTest.groovy @@ -1,7 +1,4 @@ -/***************************************************************************** -* Copyright (c) 2016 Jet Propulsion Laboratory, -* California Institute of Technology. All rights reserved -*****************************************************************************/ + package org.nasa.jpl.nexus.ingest.datatiler import org.junit.After http://git-wip-us.apache.org/repos/asf/incubator-sdap-nexus/blob/eef3757b/nexus-ingest/dataset-tiler/src/test/groovy/org/nasa/jpl/nexus/ingest/datatiler/DatasetTilerPropertiesTest.groovy ---------------------------------------------------------------------- diff --git a/nexus-ingest/dataset-tiler/src/test/groovy/org/nasa/jpl/nexus/ingest/datatiler/DatasetTilerPropertiesTest.groovy b/nexus-ingest/dataset-tiler/src/test/groovy/org/nasa/jpl/nexus/ingest/datatiler/DatasetTilerPropertiesTest.groovy index 4299906..752bc73 100644 --- a/nexus-ingest/dataset-tiler/src/test/groovy/org/nasa/jpl/nexus/ingest/datatiler/DatasetTilerPropertiesTest.groovy +++ b/nexus-ingest/dataset-tiler/src/test/groovy/org/nasa/jpl/nexus/ingest/datatiler/DatasetTilerPropertiesTest.groovy @@ -1,7 +1,4 @@ -/***************************************************************************** -* Copyright (c) 2016 Jet Propulsion Laboratory, -* California Institute of Technology. All rights reserved -*****************************************************************************/ + package org.nasa.jpl.nexus.ingest.datatiler import org.hamcrest.Matcher http://git-wip-us.apache.org/repos/asf/incubator-sdap-nexus/blob/eef3757b/nexus-ingest/dataset-tiler/src/test/groovy/org/nasa/jpl/nexus/ingest/datatiler/SliceFileByDimensionTest.groovy ---------------------------------------------------------------------- diff --git a/nexus-ingest/dataset-tiler/src/test/groovy/org/nasa/jpl/nexus/ingest/datatiler/SliceFileByDimensionTest.groovy b/nexus-ingest/dataset-tiler/src/test/groovy/org/nasa/jpl/nexus/ingest/datatiler/SliceFileByDimensionTest.groovy index eeeb9fb..c9fa017 100644 --- a/nexus-ingest/dataset-tiler/src/test/groovy/org/nasa/jpl/nexus/ingest/datatiler/SliceFileByDimensionTest.groovy +++ b/nexus-ingest/dataset-tiler/src/test/groovy/org/nasa/jpl/nexus/ingest/datatiler/SliceFileByDimensionTest.groovy @@ -1,7 +1,4 @@ -/***************************************************************************** -* Copyright (c) 2016 Jet Propulsion Laboratory, -* California Institute of Technology. All rights reserved -*****************************************************************************/ + package org.nasa.jpl.nexus.ingest.datatiler import org.junit.Test http://git-wip-us.apache.org/repos/asf/incubator-sdap-nexus/blob/eef3757b/nexus-ingest/dataset-tiler/src/test/groovy/org/nasa/jpl/nexus/ingest/datatiler/SliceFileByTilesDesiredTest.groovy ---------------------------------------------------------------------- diff --git a/nexus-ingest/dataset-tiler/src/test/groovy/org/nasa/jpl/nexus/ingest/datatiler/SliceFileByTilesDesiredTest.groovy b/nexus-ingest/dataset-tiler/src/test/groovy/org/nasa/jpl/nexus/ingest/datatiler/SliceFileByTilesDesiredTest.groovy index 3b9f626..8ca3ae9 100644 --- a/nexus-ingest/dataset-tiler/src/test/groovy/org/nasa/jpl/nexus/ingest/datatiler/SliceFileByTilesDesiredTest.groovy +++ b/nexus-ingest/dataset-tiler/src/test/groovy/org/nasa/jpl/nexus/ingest/datatiler/SliceFileByTilesDesiredTest.groovy @@ -1,7 +1,4 @@ -/***************************************************************************** -* Copyright (c) 2016 Jet Propulsion Laboratory, -* California Institute of Technology. All rights reserved -*****************************************************************************/ + package org.nasa.jpl.nexus.ingest.datatiler import org.junit.Test http://git-wip-us.apache.org/repos/asf/incubator-sdap-nexus/blob/eef3757b/nexus-ingest/developer-box/xd-singlenode-logback.groovy ---------------------------------------------------------------------- diff --git a/nexus-ingest/developer-box/xd-singlenode-logback.groovy b/nexus-ingest/developer-box/xd-singlenode-logback.groovy index 5aec45b..c9fd679 100644 --- a/nexus-ingest/developer-box/xd-singlenode-logback.groovy +++ b/nexus-ingest/developer-box/xd-singlenode-logback.groovy @@ -1,7 +1,4 @@ -/***************************************************************************** -* Copyright (c) 2016 Jet Propulsion Laboratory, -* California Institute of Technology. All rights reserved -*****************************************************************************/ + import org.springframework.xd.dirt.util.logging.CustomLoggerConverter import org.springframework.xd.dirt.util.logging.VersionPatternConverter import ch.qos.logback.classic.encoder.PatternLayoutEncoder http://git-wip-us.apache.org/repos/asf/incubator-sdap-nexus/blob/eef3757b/nexus-ingest/groovy-scripts/add-day-of-year-attribute.groovy ---------------------------------------------------------------------- diff --git a/nexus-ingest/groovy-scripts/add-day-of-year-attribute.groovy b/nexus-ingest/groovy-scripts/add-day-of-year-attribute.groovy index 93a23c1..94a6c49 100644 --- a/nexus-ingest/groovy-scripts/add-day-of-year-attribute.groovy +++ b/nexus-ingest/groovy-scripts/add-day-of-year-attribute.groovy @@ -1,7 +1,4 @@ -/***************************************************************************** -* Copyright (c) 2016 Jet Propulsion Laboratory, -* California Institute of Technology. All rights reserved -*****************************************************************************/ + /** * Created by greguska on 3/29/16. */ http://git-wip-us.apache.org/repos/asf/incubator-sdap-nexus/blob/eef3757b/nexus-ingest/groovy-scripts/add-time-from-granulename.groovy ---------------------------------------------------------------------- diff --git a/nexus-ingest/groovy-scripts/add-time-from-granulename.groovy b/nexus-ingest/groovy-scripts/add-time-from-granulename.groovy index fe27336..f205fa7 100644 --- a/nexus-ingest/groovy-scripts/add-time-from-granulename.groovy +++ b/nexus-ingest/groovy-scripts/add-time-from-granulename.groovy @@ -1,7 +1,4 @@ -/***************************************************************************** -* Copyright (c) 2016 Jet Propulsion Laboratory, -* California Institute of Technology. All rights reserved -*****************************************************************************/ + /** * Created by greguska on 3/29/16. */ http://git-wip-us.apache.org/repos/asf/incubator-sdap-nexus/blob/eef3757b/nexus-ingest/groovy-scripts/add-time-to-spatial-spec.groovy ---------------------------------------------------------------------- diff --git a/nexus-ingest/groovy-scripts/add-time-to-spatial-spec.groovy b/nexus-ingest/groovy-scripts/add-time-to-spatial-spec.groovy index 393164c..edb5dc1 100644 --- a/nexus-ingest/groovy-scripts/add-time-to-spatial-spec.groovy +++ b/nexus-ingest/groovy-scripts/add-time-to-spatial-spec.groovy @@ -1,7 +1,3 @@ -/***************************************************************************** - * Copyright (c) 2016 Jet Propulsion Laboratory, - * California Institute of Technology. All rights reserved - *****************************************************************************/ /** * Created by Nga Quach on 8/31/16. */ http://git-wip-us.apache.org/repos/asf/incubator-sdap-nexus/blob/eef3757b/nexus-ingest/groovy-scripts/generate-tile-id.groovy ---------------------------------------------------------------------- diff --git a/nexus-ingest/groovy-scripts/generate-tile-id.groovy b/nexus-ingest/groovy-scripts/generate-tile-id.groovy index ebf8105..52f511a 100644 --- a/nexus-ingest/groovy-scripts/generate-tile-id.groovy +++ b/nexus-ingest/groovy-scripts/generate-tile-id.groovy @@ -1,7 +1,4 @@ -/***************************************************************************** -* Copyright (c) 2016 Jet Propulsion Laboratory, -* California Institute of Technology. All rights reserved -*****************************************************************************/ + /** * Created by greguska on 3/29/16. */ http://git-wip-us.apache.org/repos/asf/incubator-sdap-nexus/blob/eef3757b/nexus-ingest/groovy-scripts/nexustile-to-string.groovy ---------------------------------------------------------------------- diff --git a/nexus-ingest/groovy-scripts/nexustile-to-string.groovy b/nexus-ingest/groovy-scripts/nexustile-to-string.groovy index b652e65..edac3b8 100644 --- a/nexus-ingest/groovy-scripts/nexustile-to-string.groovy +++ b/nexus-ingest/groovy-scripts/nexustile-to-string.groovy @@ -1,7 +1,4 @@ -/***************************************************************************** - * Copyright (c) 2016 Jet Propulsion Laboratory, - * California Institute of Technology. All rights reserved - *****************************************************************************/ + /** * Created by greguska on 7/18/16. */ http://git-wip-us.apache.org/repos/asf/incubator-sdap-nexus/blob/eef3757b/nexus-ingest/groovy-scripts/set-dataset-name.groovy ---------------------------------------------------------------------- diff --git a/nexus-ingest/groovy-scripts/set-dataset-name.groovy b/nexus-ingest/groovy-scripts/set-dataset-name.groovy index 7c203eb..e5708c6 100644 --- a/nexus-ingest/groovy-scripts/set-dataset-name.groovy +++ b/nexus-ingest/groovy-scripts/set-dataset-name.groovy @@ -1,7 +1,4 @@ -/***************************************************************************** -* Copyright (c) 2016 Jet Propulsion Laboratory, -* California Institute of Technology. All rights reserved -*****************************************************************************/ + /** * Created by greguska on 3/29/16. */ http://git-wip-us.apache.org/repos/asf/incubator-sdap-nexus/blob/eef3757b/nexus-ingest/groovy-scripts/test/TestAddTimeToSpatialSpec.groovy ---------------------------------------------------------------------- diff --git a/nexus-ingest/groovy-scripts/test/TestAddTimeToSpatialSpec.groovy b/nexus-ingest/groovy-scripts/test/TestAddTimeToSpatialSpec.groovy index 0eb2b07..2e45b60 100644 --- a/nexus-ingest/groovy-scripts/test/TestAddTimeToSpatialSpec.groovy +++ b/nexus-ingest/groovy-scripts/test/TestAddTimeToSpatialSpec.groovy @@ -1,7 +1,4 @@ -/***************************************************************************** - * Copyright (c) 2017 Jet Propulsion Laboratory, - * California Institute of Technology. All rights reserved - *****************************************************************************/ + /** * Created by greguska on 3/28/17. */ http://git-wip-us.apache.org/repos/asf/incubator-sdap-nexus/blob/eef3757b/nexus-ingest/nexus-messages/src/main/python/nexusproto/serialization.py ---------------------------------------------------------------------- diff --git a/nexus-ingest/nexus-messages/src/main/python/nexusproto/serialization.py b/nexus-ingest/nexus-messages/src/main/python/nexusproto/serialization.py index 64fe207..d91ef61 100644 --- a/nexus-ingest/nexus-messages/src/main/python/nexusproto/serialization.py +++ b/nexus-ingest/nexus-messages/src/main/python/nexusproto/serialization.py @@ -1,7 +1,4 @@ -""" -Copyright (c) 2016 Jet Propulsion Laboratory, -California Institute of Technology. All rights reserved -""" + import StringIO import numpy http://git-wip-us.apache.org/repos/asf/incubator-sdap-nexus/blob/eef3757b/nexus-ingest/nexus-messages/src/main/python/nexusproto/setup.py ---------------------------------------------------------------------- diff --git a/nexus-ingest/nexus-messages/src/main/python/nexusproto/setup.py b/nexus-ingest/nexus-messages/src/main/python/nexusproto/setup.py index 5601cfa..7c1c037 100644 --- a/nexus-ingest/nexus-messages/src/main/python/nexusproto/setup.py +++ b/nexus-ingest/nexus-messages/src/main/python/nexusproto/setup.py @@ -1,7 +1,4 @@ -""" -Copyright (c) 2016 Jet Propulsion Laboratory, -California Institute of Technology. All rights reserved -""" + from setuptools import setup __version__ = '0.4' http://git-wip-us.apache.org/repos/asf/incubator-sdap-nexus/blob/eef3757b/nexus-ingest/nexus-sink/src/main/groovy/org/nasa/jpl/nexus/ingest/nexussink/CassandraStore.groovy ---------------------------------------------------------------------- diff --git a/nexus-ingest/nexus-sink/src/main/groovy/org/nasa/jpl/nexus/ingest/nexussink/CassandraStore.groovy b/nexus-ingest/nexus-sink/src/main/groovy/org/nasa/jpl/nexus/ingest/nexussink/CassandraStore.groovy index 3db1995..27b7aee 100644 --- a/nexus-ingest/nexus-sink/src/main/groovy/org/nasa/jpl/nexus/ingest/nexussink/CassandraStore.groovy +++ b/nexus-ingest/nexus-sink/src/main/groovy/org/nasa/jpl/nexus/ingest/nexussink/CassandraStore.groovy @@ -1,7 +1,4 @@ -/***************************************************************************** - * Copyright (c) 2017 Jet Propulsion Laboratory, - * California Institute of Technology. All rights reserved - *****************************************************************************/ + package org.nasa.jpl.nexus.ingest.nexussink import org.nasa.jpl.nexus.ingest.wiretypes.NexusContent http://git-wip-us.apache.org/repos/asf/incubator-sdap-nexus/blob/eef3757b/nexus-ingest/nexus-sink/src/main/groovy/org/nasa/jpl/nexus/ingest/nexussink/NexusService.groovy ---------------------------------------------------------------------- diff --git a/nexus-ingest/nexus-sink/src/main/groovy/org/nasa/jpl/nexus/ingest/nexussink/NexusService.groovy b/nexus-ingest/nexus-sink/src/main/groovy/org/nasa/jpl/nexus/ingest/nexussink/NexusService.groovy index 8eae9d2..5a08829 100644 --- a/nexus-ingest/nexus-sink/src/main/groovy/org/nasa/jpl/nexus/ingest/nexussink/NexusService.groovy +++ b/nexus-ingest/nexus-sink/src/main/groovy/org/nasa/jpl/nexus/ingest/nexussink/NexusService.groovy @@ -1,7 +1,4 @@ -/***************************************************************************** - * Copyright (c) 2016 Jet Propulsion Laboratory, - * California Institute of Technology. All rights reserved - *****************************************************************************/ + package org.nasa.jpl.nexus.ingest.nexussink import org.nasa.jpl.nexus.ingest.wiretypes.NexusContent http://git-wip-us.apache.org/repos/asf/incubator-sdap-nexus/blob/eef3757b/nexus-ingest/nexus-sink/src/main/groovy/org/nasa/jpl/nexus/ingest/nexussink/SolrStore.groovy ---------------------------------------------------------------------- diff --git a/nexus-ingest/nexus-sink/src/main/groovy/org/nasa/jpl/nexus/ingest/nexussink/SolrStore.groovy b/nexus-ingest/nexus-sink/src/main/groovy/org/nasa/jpl/nexus/ingest/nexussink/SolrStore.groovy index 8f91746..2d47eb1 100644 --- a/nexus-ingest/nexus-sink/src/main/groovy/org/nasa/jpl/nexus/ingest/nexussink/SolrStore.groovy +++ b/nexus-ingest/nexus-sink/src/main/groovy/org/nasa/jpl/nexus/ingest/nexussink/SolrStore.groovy @@ -1,7 +1,4 @@ -/***************************************************************************** - * Copyright (c) 2017 Jet Propulsion Laboratory, - * California Institute of Technology. All rights reserved - *****************************************************************************/ + package org.nasa.jpl.nexus.ingest.nexussink import org.apache.solr.common.SolrInputDocument http://git-wip-us.apache.org/repos/asf/incubator-sdap-nexus/blob/eef3757b/nexus-ingest/nexus-sink/src/main/java/org/nasa/jpl/nexus/ingest/nexussink/DataStore.java ---------------------------------------------------------------------- diff --git a/nexus-ingest/nexus-sink/src/main/java/org/nasa/jpl/nexus/ingest/nexussink/DataStore.java b/nexus-ingest/nexus-sink/src/main/java/org/nasa/jpl/nexus/ingest/nexussink/DataStore.java index 19837ab..1bb888a 100644 --- a/nexus-ingest/nexus-sink/src/main/java/org/nasa/jpl/nexus/ingest/nexussink/DataStore.java +++ b/nexus-ingest/nexus-sink/src/main/java/org/nasa/jpl/nexus/ingest/nexussink/DataStore.java @@ -1,7 +1,4 @@ -/***************************************************************************** - * Copyright (c) 2017 Jet Propulsion Laboratory, - * California Institute of Technology. All rights reserved - *****************************************************************************/ + package org.nasa.jpl.nexus.ingest.nexussink; import org.nasa.jpl.nexus.ingest.wiretypes.NexusContent; http://git-wip-us.apache.org/repos/asf/incubator-sdap-nexus/blob/eef3757b/nexus-ingest/nexus-sink/src/main/java/org/nasa/jpl/nexus/ingest/nexussink/DataStoreException.java ---------------------------------------------------------------------- diff --git a/nexus-ingest/nexus-sink/src/main/java/org/nasa/jpl/nexus/ingest/nexussink/DataStoreException.java b/nexus-ingest/nexus-sink/src/main/java/org/nasa/jpl/nexus/ingest/nexussink/DataStoreException.java index 86aa120..3fa8cc0 100644 --- a/nexus-ingest/nexus-sink/src/main/java/org/nasa/jpl/nexus/ingest/nexussink/DataStoreException.java +++ b/nexus-ingest/nexus-sink/src/main/java/org/nasa/jpl/nexus/ingest/nexussink/DataStoreException.java @@ -1,7 +1,4 @@ -/***************************************************************************** - * Copyright (c) 2017 Jet Propulsion Laboratory, - * California Institute of Technology. All rights reserved - *****************************************************************************/ + package org.nasa.jpl.nexus.ingest.nexussink; import org.slf4j.Logger;
