[
https://issues.apache.org/jira/browse/SDAP-150?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16622757#comment-16622757
]
ASF GitHub Bot commented on SDAP-150:
-------------------------------------
fgreg opened a new pull request #38: SDAP-150 Error processing
dailydifferenceaverage
URL: https://github.com/apache/incubator-sdap-nexus/pull/38
Getting an error when trying to convert the startTime to ISO format. May
also be affecting other algorithms.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
> Error processing dailydifferenceaverage
> ---------------------------------------
>
> Key: SDAP-150
> URL: https://issues.apache.org/jira/browse/SDAP-150
> Project: Apache Science Data Analytics Platform
> Issue Type: Bug
> Components: nexus
> Reporter: Frank Greguska
> Assignee: Frank Greguska
> Priority: Major
>
> Getting an error when trying to convert the startTime to ISO format. May also
> be affecting other algorithms.
>
>
> 2018-09-20T20:05:03 - nexus - ERROR - Error processing request
> Traceback (most recent call last):
> File "/tmp/incubator-sdap-nexus/analysis/webservice/webapp.py", line 62, in
> run
> result = self.do_get(reqObject)
> File "/tmp/incubator-sdap-nexus/analysis/webservice/webapp.py", line 108,
> in do_get
> results = instance.calc(request)
> File "webservice/NexusHandler.py", line 301, in wrapped
> return calc_func(*args, **kwargs1)
> File "webservice/algorithms_spark/DailyDifferenceAverageSpark.py", line
> 157, in calc
> meta=self.get_meta(dataset))
> File "webservice/webmodel.py", line 397, in __init__
> endTime=self.__endTime)
> File "webservice/webmodel.py", line 449, in extendMeta
> self._extendMeta(self.__meta, minLat, maxLat, minLon, maxLon, ds,
> startTime, endTime)
> File "webservice/webmodel.py", line 427, in _extendMeta
> "iso_start":
> datetime.utcfromtimestamp(int(startTime)).replace(tzinfo=timezone('UTC')).strftime(ISO_8601),
> TypeError: int() argument must be a string or a number, not 'NoneType'
> 2018-09-20T20:05:03 - tornado.access - ERROR - 500 GET
> /dailydifferenceaverage_spark?dataset=MUR25-JPL-L4-GLOB-v4.1&climatology=MUR25-JPL-L4-GLOB-v4.1-CLIM&b=-149.2298533413484,-9.573235874728013,-90.10104352685185,11.262630440856483&startTime=1474329600&endTime=1505865600
> (10.244.4.2) 18262.35ms
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)