Opened 6 years ago

Closed 6 years ago

#2081 closed defect (fixed)

petascope should accept nan as null value

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

Description (last modified by Bang Pham Huu)

Petascope should allow NaN as null value from WCST_Import, e.g:

 "default_null_values": [NaN]
or
 "default_null_values": ["nan"]

Error:

<ows:ExceptionReport version="2.0.1"
    xsi:schemaLocation="http://www.opengis.net/ows/2.0 http://schemas.opengis.net/ows/2.0/owsExceptionReport.xsd"
    xmlns:ows="http://www.opengis.net/ows/2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xlink="http://www.w3.org/1999/xlink">
    <ows:Exception exceptionCode="InvalidPropertyValue">
        <ows:ExceptionText>Nil value must be a number, given 'nan'.</ows:ExceptionText>
    </ows:Exception>
</ows:ExceptionReport>

Change History (4)

comment:1 by Vlad Merticariu, 6 years ago

Description: modified (diff)

comment:2 by Vlad Merticariu, 6 years ago

Description: modified (diff)

comment:3 by Bang Pham Huu, 6 years ago

Component: undecidedpetascope
Description: modified (diff)
Summary: wcst_import should accept nan as default null valuepetascope should accept nan as null value
Type: enhancementdefect

comment:4 by Bang Pham Huu, 6 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.