We had some data in which a different seed product was used driving up to the field than was actually applied on the field. However, once the data was imported, the first (incorrect) seed product was applied to the entire field. The cause was tracked down to the DateTime comparison when determining the ISOProductAllocation, which is done by comparing time windows. The comparison failed because we were comparing spatialRecord timestamps (whose Kind property was Unspecified) against ISOProductAllocation Start and Stop values (whose Kind property was Local).
The fix converts DateTimes to UTC before doing the comparison. For the Unspecified DateTimes, we apply the TaskDataMapper.GPSToLocalDelta value.
We had some data in which a different seed product was used driving up to the field than was actually applied on the field. However, once the data was imported, the first (incorrect) seed product was applied to the entire field. The cause was tracked down to the DateTime comparison when determining the ISOProductAllocation, which is done by comparing time windows. The comparison failed because we were comparing spatialRecord timestamps (whose Kind property was Unspecified) against ISOProductAllocation Start and Stop values (whose Kind property was Local).
The fix converts DateTimes to UTC before doing the comparison. For the Unspecified DateTimes, we apply the
TaskDataMapper.GPSToLocalDelta
value.