The present invention relates to a method for increasing or influencing the shelf life of agricultural products which produce ethylene during transport andor storage. The different layers consist of a compound with the formula AlxlnyGaN, wherein x is more than 0 and less than or equal to 1, y is from 0 to 1 and x+y is greater than 0 and less than or equal to 1. Diagnostic patterns corresponding to the output patterns are losslessly compressed to generate compressed diagnostic information.