The reference layer file that we uploaded somehow got deleted. The table record, however, is still there.
After investigation, the error was caused in read_metadata during sync default layer.
Because the reference layer was processed during sync default layer, CPLUS API tried to read its metadata and assign NODATA value -9999. The raster that was used for reference layer has dtype int16, which does not support -9999.
What I do is update the dtype to float32 when processing the default layer, save it as new file, then upload it to the layer.
The reference layer file that we uploaded somehow got deleted. The table record, however, is still there.
After investigation, the error was caused in read_metadata during sync default layer.
Because the reference layer was processed during sync default layer, CPLUS API tried to read its metadata and assign NODATA value -9999. The raster that was used for reference layer has
dtype int16, which does not support -9999.What I do is update the dtype to
float32when processing the default layer, save it as new file, then upload it to the layer.