Skip to main content

Hi there,

 

Need a suggestion from FME's experts. I have FME transformation that calculates two fields based on the data coming from different sources. Now, I want to use the calculated field along with some other fields from the data and perform normalization on it. I have already written a script in Python (separately) which performs normalization. The Python scripts contains while loop and comparison operators. Is there any way of calling the external Python script from FME? What do you suggest

You can use the python caller transformer if it's during a translation. There is also python startup and shutdown scripts you can run as well. Here is some helpful information.

 

FME and Python

https://knowledge.safe.com/articles/706/python-and-fme-basics.html

 

FME Python API

http://docs.safe.com/fme/html/fmepython/

 

Python Caller

https://docs.safe.com/fme/html/FME_Desktop_Documentation/FME_Transformers/Transformers/pythoncaller.htm

 

 


Reply