Opened 5 weeks ago

Closed 5 weeks ago

#2831 closed defect (fixed)

FIX - wcst_import nested function is not evaluated properly in python list comprehension

Reported by: Bang Pham Huu Owned by: Bang Pham Huu
Priority: major Milestone:
Component: wcst_import Version: 10.4
Keywords: Cc: Dimitar Misev
Complexity: Medium

Description

For example:

 "directPositions": "[(datetime.strptime( regex_extract('${file:name}',  '(.*)_(.*)_(.*)', 2), '%Y-%m-%d') + timedelta(days=x)).strftime(\"%Y-%m-%dT%H:%M\") for x in ${netcdf:variable:ansi}]",

here regex_extract is not found from python's eval().

Change History (1)

comment:1 by Bang Pham Huu, 5 weeks ago

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