0

I'm working on NDVI data from MODIS_13Q1 product. As far as I know, NDVI data has scale and offset values. I used these values to get geophysical values of pixels.

My problem is after processing these data (linear interpolation and spline fitting missing values), the value of pixels is float, not integer as original data, and the size of processed datasets when saved is huge (from 100 MB to 700-800 MB). How can I use scale and offset values to convert value of pixels back to integer, and does it cause losing data?

1 Answer 1

1

The scale factor for the MOD13Q1 NDVI product is 0.0001. There is no offset.

To convert back to integer, divide by 0.0001 and save the result as a 16bit signed integer type.

1
  • In order to scale the MOD13Q1 NDVI data you need to multiply the downloaded image with 0.0001. This won't cause any data loss. When you scale the MOD13Q1 NDVI data, which has integer values between -2000 and 10000, the bit type will become floating. 16 bit signed integer is the bit type of the downloaded MOD13Q1 image.
    – Ayda Aktas
    Commented Mar 4, 2017 at 23:01

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.