Opened 9 years ago

Closed 9 years ago

#1005 closed defect (fixed)

wcps parser does not work for date ranges when the result is 3D

Reported by: Vlad Merticariu Owned by: Bang Pham Huu
Priority: major Milestone: 9.2
Component: petascope Version: development
Keywords: Cc:
Complexity: Medium

Description

for c in ( AvgLandTemp ) return encode(c[ansi("2014-01":"2014-12")], "netcdf")

results in

Runtime error while processing request: For input string: "2014-01-01T00:00:00"

java.lang.NumberFormatException : For input string: "2014-01-01T00:00:00"

but it works fine if selecting just a slice at a time.

Change History (6)

comment:1 by Vlad Merticariu, 9 years ago

Component: undecidedpetascope
Owner: changed from Dimitar Misev to Vlad Merticariu
Status: newassigned

comment:2 by Alex Dumitru, 9 years ago

Owner: changed from Vlad Merticariu to Alex Dumitru

comment:3 by Dimitar Misev, 9 years ago

Milestone: 10.0

comment:4 by Bang Pham Huu, 9 years ago

I think I could investigate this ticket, the problem will not happen if output is not encoded in image
example this will work


for c in ( eobstest ) return encode(
    c[
       t("1950-01-03T13:05:00":"1950-01-03T13:05:00") 
     ]
,"csv" )

comment:5 by Dimitar Misev, 9 years ago

Owner: changed from Alex Dumitru to Bang Pham Huu

comment:6 by Bang Pham Huu, 9 years ago

Milestone: 10.09.2
Resolution: fixed
Status: assignedclosed

close as patch was accepted, thanks.

Note: See TracTickets for help on using tickets.