removed JPL copyright header
Project: http://git-wip-us.apache.org/repos/asf/incubator-sdap-nexus/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-sdap-nexus/commit/eef3757b Tree: http://git-wip-us.apache.org/repos/asf/incubator-sdap-nexus/tree/eef3757b Diff: http://git-wip-us.apache.org/repos/asf/incubator-sdap-nexus/diff/eef3757b Branch: refs/heads/master Commit: eef3757b592c6b6e45f7c56f9ac572dca6407cc7 Parents: d31b33f Author: Frank Greguska <[email protected]> Authored: Thu Jan 11 12:12:03 2018 -0800 Committer: Frank Greguska <[email protected]> Committed: Thu Jan 11 12:12:03 2018 -0800 ---------------------------------------------------------------------- analysis/setup.py | 20 +-- analysis/test.py | 20 +-- analysis/tests/__init__.py | 20 +-- .../algorithms/StandardDeviationSearch_test.py | 20 +-- .../algorithms/longitudelatitudemap_test.py | 20 +-- analysis/tests/algorithms_spark/Matchup_test.py | 20 +-- analysis/tests/algorithms_spark/__init__.py | 20 +-- analysis/webservice/Filtering.py | 20 +-- analysis/webservice/GenerateImageMRF.py | 20 +-- analysis/webservice/LayerConfig.py | 20 +-- analysis/webservice/NexusHandler.py | 20 +-- analysis/webservice/WorkflowDriver.py | 15 +- analysis/webservice/__init__.py | 15 +- analysis/webservice/algorithms/Capabilities.py | 20 +-- .../webservice/algorithms/ColorBarHandler.py | 15 +- .../webservice/algorithms/CorrelationMap.py | 20 +-- .../algorithms/DailyDifferenceAverage.py | 20 +-- .../webservice/algorithms/DataInBoundsSearch.py | 20 +-- .../webservice/algorithms/DataSeriesList.py | 20 +-- analysis/webservice/algorithms/DelayTest.py | 20 +-- .../webservice/algorithms/ErrorTosserTest.py | 20 +-- analysis/webservice/algorithms/Heartbeat.py | 20 +-- analysis/webservice/algorithms/HofMoeller.py | 20 +-- .../algorithms/LongitudeLatitudeMap.py | 20 +-- .../webservice/algorithms/MapFetchHandler.py | 15 +- .../algorithms/StandardDeviationSearch.py | 20 +-- .../webservice/algorithms/TestInitializer.py | 20 +-- analysis/webservice/algorithms/TileSearch.py | 20 +-- analysis/webservice/algorithms/TimeAvgMap.py | 20 +-- analysis/webservice/algorithms/TimeSeries.py | 20 +-- .../webservice/algorithms/TimeSeriesSolr.py | 20 +-- analysis/webservice/algorithms/__init__.py | 20 +-- analysis/webservice/algorithms/colortables.py | 15 +- .../algorithms/doms/BaseDomsHandler.py | 15 +- .../algorithms/doms/DatasetListQuery.py | 15 +- .../algorithms/doms/DomsInitialization.py | 20 +-- .../webservice/algorithms/doms/MatchupQuery.py | 15 +- .../webservice/algorithms/doms/MetadataQuery.py | 15 +- .../algorithms/doms/ResultsPlotQuery.py | 15 +- .../algorithms/doms/ResultsRetrieval.py | 15 +- .../algorithms/doms/ResultsStorage.py | 20 +-- .../webservice/algorithms/doms/StatsQuery.py | 15 +- .../webservice/algorithms/doms/ValuesQuery.py | 15 +- analysis/webservice/algorithms/doms/__init__.py | 20 +-- analysis/webservice/algorithms/doms/config.py | 15 +- .../webservice/algorithms/doms/datafetch.py | 15 +- .../webservice/algorithms/doms/fetchedgeimpl.py | 15 +- analysis/webservice/algorithms/doms/geo.py | 15 +- .../webservice/algorithms/doms/histogramplot.py | 15 +- .../webservice/algorithms/doms/insitusubset.py | 15 +- analysis/webservice/algorithms/doms/mapplot.py | 15 +- .../webservice/algorithms/doms/scatterplot.py | 15 +- .../webservice/algorithms/doms/subsetter.py | 15 +- analysis/webservice/algorithms/doms/values.py | 15 +- .../webservice/algorithms/doms/workerthread.py | 15 +- .../webservice/algorithms_spark/ClimMapSpark.py | 20 +-- .../webservice/algorithms_spark/CorrMapSpark.py | 20 +-- .../DailyDifferenceAverageSpark.py | 20 +-- .../algorithms_spark/HofMoellerSpark.py | 20 +-- analysis/webservice/algorithms_spark/Matchup.py | 20 +-- .../algorithms_spark/TimeAvgMapSpark.py | 20 +-- .../algorithms_spark/TimeSeriesSpark.py | 20 +-- .../webservice/algorithms_spark/__init__.py | 20 +-- analysis/webservice/matserver.py | 20 +-- analysis/webservice/plotting.py | 20 +-- analysis/webservice/webapp.py | 20 +-- analysis/webservice/webmodel.py | 20 +-- client/.gitignore | 157 +++++++++++++++++++ client/.idea/client.iml | 11 ++ client/.idea/encodings.xml | 6 + client/.idea/misc.xml | 4 + client/.idea/modules.xml | 8 + client/docs/nexuscli/index.html | 29 ++-- client/docs/nexuscli/nexuscli.m.html | 40 ++--- client/docs/nexuscli/test/index.html | 17 +- client/docs/nexuscli/test/nexuscli_test.m.html | 57 +++---- client/nexuscli/__init__.py | 5 +- client/nexuscli/nexuscli.py | 3 - client/nexuscli/test/__init__.py | 4 - client/nexuscli/test/nexuscli_test.py | 5 +- client/setup.py | 5 +- climatology/clim/test/ccmpTest.py | 5 +- climatology/clim/util/wls.py | 2 - climatology/clim/wls.py | 2 - data-access/nexustiles/dao/CassandraProxy.pyx | 5 +- data-access/nexustiles/dao/DynamoProxy.pyx | 5 +- data-access/nexustiles/dao/S3Proxy.pyx | 5 +- data-access/nexustiles/dao/SolrProxy.pyx | 5 +- data-access/nexustiles/model/nexusmodel.py | 5 +- data-access/nexustiles/nexustiles.py | 5 +- data-access/setup.py | 5 +- data-access/tests/__init__.py | 4 - data-access/tests/nexusmodel_test.py | 5 +- data-access/tests/nexustiles_test.py | 5 +- data-access/tests/sizefromcass.py | 5 +- data-access/tests/solr_update.py | 5 +- data-access/tests/solrproxy_test.py | 5 +- docker/ingest-base/xd-singlenode-logback.groovy | 5 +- .../nexus/ingest/datatiler/FileSlicer.groovy | 5 +- .../datatiler/SliceFileByDimension.groovy | 5 +- .../datatiler/SliceFileByTilesDesired.groovy | 5 +- .../datatiler/DataTilerOptionsMetadata.java | 5 +- .../datatiler/IntegrationConfiguration.java | 5 +- .../DatasetTilerIntegrationTest.groovy | 5 +- .../datatiler/DatasetTilerPropertiesTest.groovy | 5 +- .../datatiler/SliceFileByDimensionTest.groovy | 5 +- .../SliceFileByTilesDesiredTest.groovy | 5 +- .../developer-box/xd-singlenode-logback.groovy | 5 +- .../add-day-of-year-attribute.groovy | 5 +- .../add-time-from-granulename.groovy | 5 +- .../add-time-to-spatial-spec.groovy | 4 - .../groovy-scripts/generate-tile-id.groovy | 5 +- .../groovy-scripts/nexustile-to-string.groovy | 5 +- .../groovy-scripts/set-dataset-name.groovy | 5 +- .../test/TestAddTimeToSpatialSpec.groovy | 5 +- .../src/main/python/nexusproto/serialization.py | 5 +- .../src/main/python/nexusproto/setup.py | 5 +- .../ingest/nexussink/CassandraStore.groovy | 5 +- .../nexus/ingest/nexussink/NexusService.groovy | 5 +- .../jpl/nexus/ingest/nexussink/SolrStore.groovy | 5 +- .../jpl/nexus/ingest/nexussink/DataStore.java | 5 +- .../ingest/nexussink/DataStoreException.java | 5 +- .../jpl/nexus/ingest/nexussink/DynamoStore.java | 5 +- .../nexussink/InfrastructureConfiguration.java | 5 +- .../nexussink/IntegrationConfiguration.java | 5 +- .../nexus/ingest/nexussink/MetadataStore.java | 5 +- .../nexussink/NexusSinkOptionsMetadata.java | 5 +- .../jpl/nexus/ingest/nexussink/S3Store.java | 5 +- .../nexussink/NexusSinkIntegrationTest.groovy | 5 +- .../ingest/nexussink/SolrStoreUnitTest.groovy | 5 +- .../NexusSinkOptionsIntegrationTest.java | 5 +- .../TestInfrastructureConfiguration.java | 5 +- .../nexus-xd-python-modules/nexusxd/__init__.py | 4 - .../nexusxd/callncpdq.py | 5 +- .../nexus-xd-python-modules/nexusxd/callncra.py | 5 +- .../nexusxd/computespeeddirfromuv.py | 5 +- .../nexusxd/emptytilefilter.py | 5 +- .../nexusxd/kelvintocelsius.py | 5 +- .../nexusxd/normalizetimebeginningofmonth.py | 5 +- .../nexusxd/processorchain.py | 5 +- .../nexusxd/regrid1x1.py | 5 +- .../nexusxd/subtract180longitude.py | 5 +- .../nexusxd/tilereadingprocessor.py | 5 +- .../nexusxd/tilesumarizingprocessor.py | 5 +- .../nexusxd/winddirspeedtouv.py | 5 +- nexus-ingest/nexus-xd-python-modules/setup.py | 5 +- .../nexus-xd-python-modules/tests/__init__.py | 4 - .../tests/callncpdq_test.py | 5 +- .../tests/computespeeddirfromuv_test.py | 5 +- .../tests/convert_iceshelf.py | 5 +- .../tests/hd5splitter.py | 5 +- .../tests/kelvintocelsius_test.py | 5 +- .../tests/processorchain_test.py | 5 +- .../tests/regrid1x1_test.py | 5 +- .../tests/subtract180longitude_test.py | 5 +- .../tests/tilereadingprocessor_test.py | 5 +- .../tests/tilesumarizingprocessor_test.py | 5 +- .../tests/winddirspeedtouv_test.py | 5 +- nexus-ingest/spring-xd-python/setup.py | 5 +- .../spring-xd-python/springxd/tcpstream.py | 5 +- .../org/nasa/ingest/tcpshell/PortResolver.java | 5 +- .../nasa/ingest/tcpshell/ShellWordsParser.java | 24 --- .../nasa/ingest/tcpshell/TcpShellCommand.java | 5 +- .../config/IntegrationConfiguration.java | 5 +- .../config/TcpShellModuleOptionsMetadata.java | 5 +- .../ingest/tcpshell/PythonAvailableRule.java | 5 +- .../TcpShellCommandIntegrationTests.java | 5 +- .../ingest/tcpshell/TcpShellCommandTests.java | 5 +- .../tcp-shell/src/test/resources/echo.py | 5 +- .../tcp-shell/src/test/resources/echoenv.py | 5 +- .../tcp-shell/src/test/resources/onetomany.py | 5 +- .../tcp-shell/src/test/resources/tcpstream.py | 5 +- .../src/test/resources/tilereadingprocessor.py | 5 +- tools/deletebyquery/deletebyquery.py | 5 +- 174 files changed, 438 insertions(+), 1607 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-sdap-nexus/blob/eef3757b/analysis/setup.py ---------------------------------------------------------------------- diff --git a/analysis/setup.py b/analysis/setup.py index 19cdd5e..89a420c 100644 --- a/analysis/setup.py +++ b/analysis/setup.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 setuptools __version__ = '1.5' http://git-wip-us.apache.org/repos/asf/incubator-sdap-nexus/blob/eef3757b/analysis/test.py ---------------------------------------------------------------------- diff --git a/analysis/test.py b/analysis/test.py index 5b31f36..40a2afa 100644 --- a/analysis/test.py +++ b/analysis/test.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 numpy as np A = np.arange(12).reshape(3, 4) http://git-wip-us.apache.org/repos/asf/incubator-sdap-nexus/blob/eef3757b/analysis/tests/__init__.py ---------------------------------------------------------------------- diff --git a/analysis/tests/__init__.py b/analysis/tests/__init__.py index 27c8676..139597f 100644 --- a/analysis/tests/__init__.py +++ b/analysis/tests/__init__.py @@ -1,18 +1,2 @@ -# 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 -""" + + http://git-wip-us.apache.org/repos/asf/incubator-sdap-nexus/blob/eef3757b/analysis/tests/algorithms/StandardDeviationSearch_test.py ---------------------------------------------------------------------- diff --git a/analysis/tests/algorithms/StandardDeviationSearch_test.py b/analysis/tests/algorithms/StandardDeviationSearch_test.py index 5e1ba03..e8b7233 100644 --- a/analysis/tests/algorithms/StandardDeviationSearch_test.py +++ b/analysis/tests/algorithms/StandardDeviationSearch_test.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 unittest import urllib http://git-wip-us.apache.org/repos/asf/incubator-sdap-nexus/blob/eef3757b/analysis/tests/algorithms/longitudelatitudemap_test.py ---------------------------------------------------------------------- diff --git a/analysis/tests/algorithms/longitudelatitudemap_test.py b/analysis/tests/algorithms/longitudelatitudemap_test.py index 8bf340e..100e266 100644 --- a/analysis/tests/algorithms/longitudelatitudemap_test.py +++ b/analysis/tests/algorithms/longitudelatitudemap_test.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 time import unittest from multiprocessing.pool import ThreadPool http://git-wip-us.apache.org/repos/asf/incubator-sdap-nexus/blob/eef3757b/analysis/tests/algorithms_spark/Matchup_test.py ---------------------------------------------------------------------- diff --git a/analysis/tests/algorithms_spark/Matchup_test.py b/analysis/tests/algorithms_spark/Matchup_test.py index f252b95..e4c29b6 100644 --- a/analysis/tests/algorithms_spark/Matchup_test.py +++ b/analysis/tests/algorithms_spark/Matchup_test.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 pickle import random import timeit http://git-wip-us.apache.org/repos/asf/incubator-sdap-nexus/blob/eef3757b/analysis/tests/algorithms_spark/__init__.py ---------------------------------------------------------------------- diff --git a/analysis/tests/algorithms_spark/__init__.py b/analysis/tests/algorithms_spark/__init__.py index 27c8676..139597f 100644 --- a/analysis/tests/algorithms_spark/__init__.py +++ b/analysis/tests/algorithms_spark/__init__.py @@ -1,18 +1,2 @@ -# 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 -""" + + http://git-wip-us.apache.org/repos/asf/incubator-sdap-nexus/blob/eef3757b/analysis/webservice/Filtering.py ---------------------------------------------------------------------- diff --git a/analysis/webservice/Filtering.py b/analysis/webservice/Filtering.py index 348768e..8d277be 100644 --- a/analysis/webservice/Filtering.py +++ b/analysis/webservice/Filtering.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 traceback http://git-wip-us.apache.org/repos/asf/incubator-sdap-nexus/blob/eef3757b/analysis/webservice/GenerateImageMRF.py ---------------------------------------------------------------------- diff --git a/analysis/webservice/GenerateImageMRF.py b/analysis/webservice/GenerateImageMRF.py index 460503c..5cbfc99 100644 --- a/analysis/webservice/GenerateImageMRF.py +++ b/analysis/webservice/GenerateImageMRF.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) 2017 Jet Propulsion Laboratory, -California Institute of Technology. All rights reserved -""" + + import errno import os from shutil import copyfile http://git-wip-us.apache.org/repos/asf/incubator-sdap-nexus/blob/eef3757b/analysis/webservice/LayerConfig.py ---------------------------------------------------------------------- diff --git a/analysis/webservice/LayerConfig.py b/analysis/webservice/LayerConfig.py index 5a9eba5..da60cc6 100644 --- a/analysis/webservice/LayerConfig.py +++ b/analysis/webservice/LayerConfig.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 -""" + + ALL_LAYERS_ENABLED = True LAYERS = [] http://git-wip-us.apache.org/repos/asf/incubator-sdap-nexus/blob/eef3757b/analysis/webservice/NexusHandler.py ---------------------------------------------------------------------- diff --git a/analysis/webservice/NexusHandler.py b/analysis/webservice/NexusHandler.py index 463198e..eb836ed 100644 --- a/analysis/webservice/NexusHandler.py +++ b/analysis/webservice/NexusHandler.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 time import types http://git-wip-us.apache.org/repos/asf/incubator-sdap-nexus/blob/eef3757b/analysis/webservice/WorkflowDriver.py ---------------------------------------------------------------------- diff --git a/analysis/webservice/WorkflowDriver.py b/analysis/webservice/WorkflowDriver.py index e24f9f5..cc336b5 100644 --- a/analysis/webservice/WorkflowDriver.py +++ b/analysis/webservice/WorkflowDriver.py @@ -1,17 +1,4 @@ -# Licensed to the Apache Software Foundation (ASF) under one or more -# contributor license agreements. See the NOTICE file distributed with -# this work for additional information regarding copyright ownership. -# The ASF licenses this file to You under the Apache License, Version 2.0 -# (the "License"); you may not use this file except in compliance with -# the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. + import argparse from algorithms.MapFetchHandler import MapFetchHandler http://git-wip-us.apache.org/repos/asf/incubator-sdap-nexus/blob/eef3757b/analysis/webservice/__init__.py ---------------------------------------------------------------------- diff --git a/analysis/webservice/__init__.py b/analysis/webservice/__init__.py index 6acb5d1..8b13789 100644 --- a/analysis/webservice/__init__.py +++ b/analysis/webservice/__init__.py @@ -1,14 +1 @@ -# Licensed to the Apache Software Foundation (ASF) under one or more -# contributor license agreements. See the NOTICE file distributed with -# this work for additional information regarding copyright ownership. -# The ASF licenses this file to You under the Apache License, Version 2.0 -# (the "License"); you may not use this file except in compliance with -# the License. You may obtain a copy of the License at -# -# http://www.apache.org/licenses/LICENSE-2.0 -# -# Unless required by applicable law or agreed to in writing, software -# distributed under the License is distributed on an "AS IS" BASIS, -# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. -# See the License for the specific language governing permissions and -# limitations under the License. + http://git-wip-us.apache.org/repos/asf/incubator-sdap-nexus/blob/eef3757b/analysis/webservice/algorithms/Capabilities.py ---------------------------------------------------------------------- diff --git a/analysis/webservice/algorithms/Capabilities.py b/analysis/webservice/algorithms/Capabilities.py index 0c92df5..6433581 100644 --- a/analysis/webservice/algorithms/Capabilities.py +++ b/analysis/webservice/algorithms/Capabilities.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 from webservice.NexusHandler import CalcHandler, nexus_handler, AVAILABLE_HANDLERS http://git-wip-us.apache.org/repos/asf/incubator-sdap-nexus/blob/eef3757b/analysis/webservice/algorithms/ColorBarHandler.py ---------------------------------------------------------------------- diff --git a/analysis/webservice/algorithms/ColorBarHandler.py b/analysis/webservice/algorithms/ColorBarHandler.py index 9049777..78270e7 100644 --- a/analysis/webservice/algorithms/ColorBarHandler.py +++ b/analysis/webservice/algorithms/ColorBarHandler.py @@ -1,17 +1,4 @@ -# 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 json import math import time http://git-wip-us.apache.org/repos/asf/incubator-sdap-nexus/blob/eef3757b/analysis/webservice/algorithms/CorrelationMap.py ---------------------------------------------------------------------- diff --git a/analysis/webservice/algorithms/CorrelationMap.py b/analysis/webservice/algorithms/CorrelationMap.py index 7a49c21..60876f0 100644 --- a/analysis/webservice/algorithms/CorrelationMap.py +++ b/analysis/webservice/algorithms/CorrelationMap.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 math from itertools import groupby http://git-wip-us.apache.org/repos/asf/incubator-sdap-nexus/blob/eef3757b/analysis/webservice/algorithms/DailyDifferenceAverage.py ---------------------------------------------------------------------- diff --git a/analysis/webservice/algorithms/DailyDifferenceAverage.py b/analysis/webservice/algorithms/DailyDifferenceAverage.py index ea13566..8dab8c4 100644 --- a/analysis/webservice/algorithms/DailyDifferenceAverage.py +++ b/analysis/webservice/algorithms/DailyDifferenceAverage.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 sys import traceback from datetime import datetime, timedelta http://git-wip-us.apache.org/repos/asf/incubator-sdap-nexus/blob/eef3757b/analysis/webservice/algorithms/DataInBoundsSearch.py ---------------------------------------------------------------------- diff --git a/analysis/webservice/algorithms/DataInBoundsSearch.py b/analysis/webservice/algorithms/DataInBoundsSearch.py index 019c104..51ed329 100644 --- a/analysis/webservice/algorithms/DataInBoundsSearch.py +++ b/analysis/webservice/algorithms/DataInBoundsSearch.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/DataSeriesList.py ---------------------------------------------------------------------- diff --git a/analysis/webservice/algorithms/DataSeriesList.py b/analysis/webservice/algorithms/DataSeriesList.py index 8768832..cbffb7f 100644 --- a/analysis/webservice/algorithms/DataSeriesList.py +++ b/analysis/webservice/algorithms/DataSeriesList.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 from webservice.NexusHandler import NexusHandler http://git-wip-us.apache.org/repos/asf/incubator-sdap-nexus/blob/eef3757b/analysis/webservice/algorithms/DelayTest.py ---------------------------------------------------------------------- diff --git a/analysis/webservice/algorithms/DelayTest.py b/analysis/webservice/algorithms/DelayTest.py index cb8a9f8..eee4256 100644 --- a/analysis/webservice/algorithms/DelayTest.py +++ b/analysis/webservice/algorithms/DelayTest.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 time from webservice.NexusHandler import CalcHandler http://git-wip-us.apache.org/repos/asf/incubator-sdap-nexus/blob/eef3757b/analysis/webservice/algorithms/ErrorTosserTest.py ---------------------------------------------------------------------- diff --git a/analysis/webservice/algorithms/ErrorTosserTest.py b/analysis/webservice/algorithms/ErrorTosserTest.py index 820bb41..b0717bb 100644 --- a/analysis/webservice/algorithms/ErrorTosserTest.py +++ b/analysis/webservice/algorithms/ErrorTosserTest.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 -""" + + from webservice.NexusHandler import CalcHandler, nexus_handler http://git-wip-us.apache.org/repos/asf/incubator-sdap-nexus/blob/eef3757b/analysis/webservice/algorithms/Heartbeat.py ---------------------------------------------------------------------- diff --git a/analysis/webservice/algorithms/Heartbeat.py b/analysis/webservice/algorithms/Heartbeat.py index 6498cdc..9546749 100644 --- a/analysis/webservice/algorithms/Heartbeat.py +++ b/analysis/webservice/algorithms/Heartbeat.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 from webservice.NexusHandler import NexusHandler, nexus_handler http://git-wip-us.apache.org/repos/asf/incubator-sdap-nexus/blob/eef3757b/analysis/webservice/algorithms/HofMoeller.py ---------------------------------------------------------------------- diff --git a/analysis/webservice/algorithms/HofMoeller.py b/analysis/webservice/algorithms/HofMoeller.py index 961a1a9..77eef27 100644 --- a/analysis/webservice/algorithms/HofMoeller.py +++ b/analysis/webservice/algorithms/HofMoeller.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/LongitudeLatitudeMap.py ---------------------------------------------------------------------- diff --git a/analysis/webservice/algorithms/LongitudeLatitudeMap.py b/analysis/webservice/algorithms/LongitudeLatitudeMap.py index 7986159..8d13b49 100644 --- a/analysis/webservice/algorithms/LongitudeLatitudeMap.py +++ b/analysis/webservice/algorithms/LongitudeLatitudeMap.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 math from datetime import datetime http://git-wip-us.apache.org/repos/asf/incubator-sdap-nexus/blob/eef3757b/analysis/webservice/algorithms/MapFetchHandler.py ---------------------------------------------------------------------- diff --git a/analysis/webservice/algorithms/MapFetchHandler.py b/analysis/webservice/algorithms/MapFetchHandler.py index 7abf1f6..62febfe 100644 --- a/analysis/webservice/algorithms/MapFetchHandler.py +++ b/analysis/webservice/algorithms/MapFetchHandler.py @@ -1,17 +1,4 @@ -# 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 calendar import errno import io http://git-wip-us.apache.org/repos/asf/incubator-sdap-nexus/blob/eef3757b/analysis/webservice/algorithms/StandardDeviationSearch.py ---------------------------------------------------------------------- diff --git a/analysis/webservice/algorithms/StandardDeviationSearch.py b/analysis/webservice/algorithms/StandardDeviationSearch.py index 1807d43..dc55ac4 100644 --- a/analysis/webservice/algorithms/StandardDeviationSearch.py +++ b/analysis/webservice/algorithms/StandardDeviationSearch.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 from datetime import datetime http://git-wip-us.apache.org/repos/asf/incubator-sdap-nexus/blob/eef3757b/analysis/webservice/algorithms/TestInitializer.py ---------------------------------------------------------------------- diff --git a/analysis/webservice/algorithms/TestInitializer.py b/analysis/webservice/algorithms/TestInitializer.py index 7cfe749..57f8e88 100644 --- a/analysis/webservice/algorithms/TestInitializer.py +++ b/analysis/webservice/algorithms/TestInitializer.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 -""" + + from webservice.NexusHandler import nexus_initializer http://git-wip-us.apache.org/repos/asf/incubator-sdap-nexus/blob/eef3757b/analysis/webservice/algorithms/TileSearch.py ---------------------------------------------------------------------- diff --git a/analysis/webservice/algorithms/TileSearch.py b/analysis/webservice/algorithms/TileSearch.py index 8a1600b..5413384 100644 --- a/analysis/webservice/algorithms/TileSearch.py +++ b/analysis/webservice/algorithms/TileSearch.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 -""" + + from webservice.NexusHandler import NexusHandler from webservice.webmodel import NexusResults http://git-wip-us.apache.org/repos/asf/incubator-sdap-nexus/blob/eef3757b/analysis/webservice/algorithms/TimeAvgMap.py ---------------------------------------------------------------------- diff --git a/analysis/webservice/algorithms/TimeAvgMap.py b/analysis/webservice/algorithms/TimeAvgMap.py index 32b0c63..fcc81cb 100644 --- a/analysis/webservice/algorithms/TimeAvgMap.py +++ b/analysis/webservice/algorithms/TimeAvgMap.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 -""" + + # distutils: include_dirs = /usr/local/lib/python2.7/site-packages/cassandra import pyximport http://git-wip-us.apache.org/repos/asf/incubator-sdap-nexus/blob/eef3757b/analysis/webservice/algorithms/TimeSeries.py ---------------------------------------------------------------------- diff --git a/analysis/webservice/algorithms/TimeSeries.py b/analysis/webservice/algorithms/TimeSeries.py index 277893b..d35e053 100644 --- a/analysis/webservice/algorithms/TimeSeries.py +++ b/analysis/webservice/algorithms/TimeSeries.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 logging import traceback http://git-wip-us.apache.org/repos/asf/incubator-sdap-nexus/blob/eef3757b/analysis/webservice/algorithms/TimeSeriesSolr.py ---------------------------------------------------------------------- diff --git a/analysis/webservice/algorithms/TimeSeriesSolr.py b/analysis/webservice/algorithms/TimeSeriesSolr.py index 9a11109..459488d 100644 --- a/analysis/webservice/algorithms/TimeSeriesSolr.py +++ b/analysis/webservice/algorithms/TimeSeriesSolr.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 traceback from cStringIO import StringIO http://git-wip-us.apache.org/repos/asf/incubator-sdap-nexus/blob/eef3757b/analysis/webservice/algorithms/__init__.py ---------------------------------------------------------------------- diff --git a/analysis/webservice/algorithms/__init__.py b/analysis/webservice/algorithms/__init__.py index 3c0a737..4053769 100644 --- a/analysis/webservice/algorithms/__init__.py +++ b/analysis/webservice/algorithms/__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 Capabilities import CorrelationMap import DailyDifferenceAverage http://git-wip-us.apache.org/repos/asf/incubator-sdap-nexus/blob/eef3757b/analysis/webservice/algorithms/colortables.py ---------------------------------------------------------------------- diff --git a/analysis/webservice/algorithms/colortables.py b/analysis/webservice/algorithms/colortables.py index 0a59a61..cb36016 100644 --- a/analysis/webservice/algorithms/colortables.py +++ b/analysis/webservice/algorithms/colortables.py @@ -1,17 +1,4 @@ -# 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. + grayscale = [ [0, 0, 0], [255, 255, 255] http://git-wip-us.apache.org/repos/asf/incubator-sdap-nexus/blob/eef3757b/analysis/webservice/algorithms/doms/BaseDomsHandler.py ---------------------------------------------------------------------- diff --git a/analysis/webservice/algorithms/doms/BaseDomsHandler.py b/analysis/webservice/algorithms/doms/BaseDomsHandler.py index 53ee104..3541072 100644 --- a/analysis/webservice/algorithms/doms/BaseDomsHandler.py +++ b/analysis/webservice/algorithms/doms/BaseDomsHandler.py @@ -1,17 +1,4 @@ -# 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 StringIO import csv import json http://git-wip-us.apache.org/repos/asf/incubator-sdap-nexus/blob/eef3757b/analysis/webservice/algorithms/doms/DatasetListQuery.py ---------------------------------------------------------------------- diff --git a/analysis/webservice/algorithms/doms/DatasetListQuery.py b/analysis/webservice/algorithms/doms/DatasetListQuery.py index 1a6c40e..b00deab 100644 --- a/analysis/webservice/algorithms/doms/DatasetListQuery.py +++ b/analysis/webservice/algorithms/doms/DatasetListQuery.py @@ -1,17 +1,4 @@ -# 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 json import traceback http://git-wip-us.apache.org/repos/asf/incubator-sdap-nexus/blob/eef3757b/analysis/webservice/algorithms/doms/DomsInitialization.py ---------------------------------------------------------------------- diff --git a/analysis/webservice/algorithms/doms/DomsInitialization.py b/analysis/webservice/algorithms/doms/DomsInitialization.py index c68d99d..7a02191 100644 --- a/analysis/webservice/algorithms/doms/DomsInitialization.py +++ b/analysis/webservice/algorithms/doms/DomsInitialization.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 logging http://git-wip-us.apache.org/repos/asf/incubator-sdap-nexus/blob/eef3757b/analysis/webservice/algorithms/doms/MatchupQuery.py ---------------------------------------------------------------------- diff --git a/analysis/webservice/algorithms/doms/MatchupQuery.py b/analysis/webservice/algorithms/doms/MatchupQuery.py index 0b39eaa..ff4a3a1 100644 --- a/analysis/webservice/algorithms/doms/MatchupQuery.py +++ b/analysis/webservice/algorithms/doms/MatchupQuery.py @@ -1,17 +1,4 @@ -# 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 math import uuid from datetime import datetime http://git-wip-us.apache.org/repos/asf/incubator-sdap-nexus/blob/eef3757b/analysis/webservice/algorithms/doms/MetadataQuery.py ---------------------------------------------------------------------- diff --git a/analysis/webservice/algorithms/doms/MetadataQuery.py b/analysis/webservice/algorithms/doms/MetadataQuery.py index c0db10f..840ac32 100644 --- a/analysis/webservice/algorithms/doms/MetadataQuery.py +++ b/analysis/webservice/algorithms/doms/MetadataQuery.py @@ -1,17 +1,4 @@ -# 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 json import requests http://git-wip-us.apache.org/repos/asf/incubator-sdap-nexus/blob/eef3757b/analysis/webservice/algorithms/doms/ResultsPlotQuery.py ---------------------------------------------------------------------- diff --git a/analysis/webservice/algorithms/doms/ResultsPlotQuery.py b/analysis/webservice/algorithms/doms/ResultsPlotQuery.py index 3041a09..bc52812 100644 --- a/analysis/webservice/algorithms/doms/ResultsPlotQuery.py +++ b/analysis/webservice/algorithms/doms/ResultsPlotQuery.py @@ -1,17 +1,4 @@ -# 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 BaseDomsHandler import histogramplot import mapplot http://git-wip-us.apache.org/repos/asf/incubator-sdap-nexus/blob/eef3757b/analysis/webservice/algorithms/doms/ResultsRetrieval.py ---------------------------------------------------------------------- diff --git a/analysis/webservice/algorithms/doms/ResultsRetrieval.py b/analysis/webservice/algorithms/doms/ResultsRetrieval.py index 865032a..3a5fc0e 100644 --- a/analysis/webservice/algorithms/doms/ResultsRetrieval.py +++ b/analysis/webservice/algorithms/doms/ResultsRetrieval.py @@ -1,17 +1,4 @@ -# 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 uuid import BaseDomsHandler http://git-wip-us.apache.org/repos/asf/incubator-sdap-nexus/blob/eef3757b/analysis/webservice/algorithms/doms/ResultsStorage.py ---------------------------------------------------------------------- diff --git a/analysis/webservice/algorithms/doms/ResultsStorage.py b/analysis/webservice/algorithms/doms/ResultsStorage.py index 22633ed..e3eeb00 100644 --- a/analysis/webservice/algorithms/doms/ResultsStorage.py +++ b/analysis/webservice/algorithms/doms/ResultsStorage.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 logging http://git-wip-us.apache.org/repos/asf/incubator-sdap-nexus/blob/eef3757b/analysis/webservice/algorithms/doms/StatsQuery.py ---------------------------------------------------------------------- diff --git a/analysis/webservice/algorithms/doms/StatsQuery.py b/analysis/webservice/algorithms/doms/StatsQuery.py index 883a92f..dc646c6 100644 --- a/analysis/webservice/algorithms/doms/StatsQuery.py +++ b/analysis/webservice/algorithms/doms/StatsQuery.py @@ -1,17 +1,4 @@ -# 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 BaseDomsHandler import datafetch from webservice.NexusHandler import NexusHandler as BaseHandler http://git-wip-us.apache.org/repos/asf/incubator-sdap-nexus/blob/eef3757b/analysis/webservice/algorithms/doms/ValuesQuery.py ---------------------------------------------------------------------- diff --git a/analysis/webservice/algorithms/doms/ValuesQuery.py b/analysis/webservice/algorithms/doms/ValuesQuery.py index cb3d2a9..22f1c8a 100644 --- a/analysis/webservice/algorithms/doms/ValuesQuery.py +++ b/analysis/webservice/algorithms/doms/ValuesQuery.py @@ -1,17 +1,4 @@ -# 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 datetime import datetime from pytz import timezone http://git-wip-us.apache.org/repos/asf/incubator-sdap-nexus/blob/eef3757b/analysis/webservice/algorithms/doms/__init__.py ---------------------------------------------------------------------- diff --git a/analysis/webservice/algorithms/doms/__init__.py b/analysis/webservice/algorithms/doms/__init__.py index 6d10741..82fd694 100644 --- a/analysis/webservice/algorithms/doms/__init__.py +++ b/analysis/webservice/algorithms/doms/__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 BaseDomsHandler import DatasetListQuery import DomsInitialization http://git-wip-us.apache.org/repos/asf/incubator-sdap-nexus/blob/eef3757b/analysis/webservice/algorithms/doms/config.py ---------------------------------------------------------------------- diff --git a/analysis/webservice/algorithms/doms/config.py b/analysis/webservice/algorithms/doms/config.py index 3fff647..ffb2c88 100644 --- a/analysis/webservice/algorithms/doms/config.py +++ b/analysis/webservice/algorithms/doms/config.py @@ -1,17 +1,4 @@ -# 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. + ENDPOINTS = [ { "name": "samos", http://git-wip-us.apache.org/repos/asf/incubator-sdap-nexus/blob/eef3757b/analysis/webservice/algorithms/doms/datafetch.py ---------------------------------------------------------------------- diff --git a/analysis/webservice/algorithms/doms/datafetch.py b/analysis/webservice/algorithms/doms/datafetch.py index bb6618f..26fe219 100644 --- a/analysis/webservice/algorithms/doms/datafetch.py +++ b/analysis/webservice/algorithms/doms/datafetch.py @@ -1,17 +1,4 @@ -# 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 fetchedgeimpl http://git-wip-us.apache.org/repos/asf/incubator-sdap-nexus/blob/eef3757b/analysis/webservice/algorithms/doms/fetchedgeimpl.py ---------------------------------------------------------------------- diff --git a/analysis/webservice/algorithms/doms/fetchedgeimpl.py b/analysis/webservice/algorithms/doms/fetchedgeimpl.py index dc74679..11d32e8 100644 --- a/analysis/webservice/algorithms/doms/fetchedgeimpl.py +++ b/analysis/webservice/algorithms/doms/fetchedgeimpl.py @@ -1,17 +1,4 @@ -# 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 json import traceback from datetime import datetime http://git-wip-us.apache.org/repos/asf/incubator-sdap-nexus/blob/eef3757b/analysis/webservice/algorithms/doms/geo.py ---------------------------------------------------------------------- diff --git a/analysis/webservice/algorithms/doms/geo.py b/analysis/webservice/algorithms/doms/geo.py index ede6aa0..3a393d3 100644 --- a/analysis/webservice/algorithms/doms/geo.py +++ b/analysis/webservice/algorithms/doms/geo.py @@ -1,17 +1,4 @@ -# 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 math MEAN_RADIUS_EARTH_METERS = 6371010.0 http://git-wip-us.apache.org/repos/asf/incubator-sdap-nexus/blob/eef3757b/analysis/webservice/algorithms/doms/histogramplot.py ---------------------------------------------------------------------- diff --git a/analysis/webservice/algorithms/doms/histogramplot.py b/analysis/webservice/algorithms/doms/histogramplot.py index f2b3a7f..5429f96 100644 --- a/analysis/webservice/algorithms/doms/histogramplot.py +++ b/analysis/webservice/algorithms/doms/histogramplot.py @@ -1,17 +1,4 @@ -# 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 string from cStringIO import StringIO from multiprocessing import Process, Manager http://git-wip-us.apache.org/repos/asf/incubator-sdap-nexus/blob/eef3757b/analysis/webservice/algorithms/doms/insitusubset.py ---------------------------------------------------------------------- diff --git a/analysis/webservice/algorithms/doms/insitusubset.py b/analysis/webservice/algorithms/doms/insitusubset.py index e75d9e2..fb7a9ba 100644 --- a/analysis/webservice/algorithms/doms/insitusubset.py +++ b/analysis/webservice/algorithms/doms/insitusubset.py @@ -1,17 +1,4 @@ -# 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 StringIO import csv import json http://git-wip-us.apache.org/repos/asf/incubator-sdap-nexus/blob/eef3757b/analysis/webservice/algorithms/doms/mapplot.py ---------------------------------------------------------------------- diff --git a/analysis/webservice/algorithms/doms/mapplot.py b/analysis/webservice/algorithms/doms/mapplot.py index 6aa01a8..bedc860 100644 --- a/analysis/webservice/algorithms/doms/mapplot.py +++ b/analysis/webservice/algorithms/doms/mapplot.py @@ -1,17 +1,4 @@ -# 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 string from cStringIO import StringIO from multiprocessing import Process, Manager http://git-wip-us.apache.org/repos/asf/incubator-sdap-nexus/blob/eef3757b/analysis/webservice/algorithms/doms/scatterplot.py ---------------------------------------------------------------------- diff --git a/analysis/webservice/algorithms/doms/scatterplot.py b/analysis/webservice/algorithms/doms/scatterplot.py index 5779bbb..55d2f59 100644 --- a/analysis/webservice/algorithms/doms/scatterplot.py +++ b/analysis/webservice/algorithms/doms/scatterplot.py @@ -1,17 +1,4 @@ -# 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 string from cStringIO import StringIO from multiprocessing import Process, Manager http://git-wip-us.apache.org/repos/asf/incubator-sdap-nexus/blob/eef3757b/analysis/webservice/algorithms/doms/subsetter.py ---------------------------------------------------------------------- diff --git a/analysis/webservice/algorithms/doms/subsetter.py b/analysis/webservice/algorithms/doms/subsetter.py index ec2eaa3..b09cbef 100644 --- a/analysis/webservice/algorithms/doms/subsetter.py +++ b/analysis/webservice/algorithms/doms/subsetter.py @@ -1,17 +1,4 @@ -# 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 import tempfile http://git-wip-us.apache.org/repos/asf/incubator-sdap-nexus/blob/eef3757b/analysis/webservice/algorithms/doms/values.py ---------------------------------------------------------------------- diff --git a/analysis/webservice/algorithms/doms/values.py b/analysis/webservice/algorithms/doms/values.py index 022d6a6..0b59fe1 100644 --- a/analysis/webservice/algorithms/doms/values.py +++ b/analysis/webservice/algorithms/doms/values.py @@ -1,17 +1,4 @@ -# 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. + PLATFORMS = [ {"id": 1, "desc": "ship"}, {"id": 2, "desc": "moored surface buoy"}, http://git-wip-us.apache.org/repos/asf/incubator-sdap-nexus/blob/eef3757b/analysis/webservice/algorithms/doms/workerthread.py ---------------------------------------------------------------------- diff --git a/analysis/webservice/algorithms/doms/workerthread.py b/analysis/webservice/algorithms/doms/workerthread.py index eddad00..8544f61 100644 --- a/analysis/webservice/algorithms/doms/workerthread.py +++ b/analysis/webservice/algorithms/doms/workerthread.py @@ -1,17 +1,4 @@ -# 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 threading http://git-wip-us.apache.org/repos/asf/incubator-sdap-nexus/blob/eef3757b/analysis/webservice/algorithms_spark/ClimMapSpark.py ---------------------------------------------------------------------- diff --git a/analysis/webservice/algorithms_spark/ClimMapSpark.py b/analysis/webservice/algorithms_spark/ClimMapSpark.py index a6f4db1..cb938be 100644 --- a/analysis/webservice/algorithms_spark/ClimMapSpark.py +++ b/analysis/webservice/algorithms_spark/ClimMapSpark.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 calendar import timegm, monthrange from datetime import datetime http://git-wip-us.apache.org/repos/asf/incubator-sdap-nexus/blob/eef3757b/analysis/webservice/algorithms_spark/CorrMapSpark.py ---------------------------------------------------------------------- diff --git a/analysis/webservice/algorithms_spark/CorrMapSpark.py b/analysis/webservice/algorithms_spark/CorrMapSpark.py index aeee453..116056f 100644 --- a/analysis/webservice/algorithms_spark/CorrMapSpark.py +++ b/analysis/webservice/algorithms_spark/CorrMapSpark.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
