When calculating a trend value if the historical record obtained from the archive contains the observation field concerened and it's value is None then the code will fail with a TypeError. The fix is to expand an exisiting conditional check to detect the None value and return None.
When calculating a trend value if the historical record obtained from the archive contains the observation field concerened and it's value is None then the code will fail with a TypeError. The fix is to expand an exisiting conditional check to detect the None value and return None.
This link refers.