when getting a property from python, the no data values are coded as -9966699, but there's nothing to say it (except the documentation). Add a python function to get that value: sgems.no_data_value('grid')