innosat-mats / MATS-L1-processing

Python code for calibrating MATS images
MIT License
0 stars 1 forks source link

Do not crash if image-data is missing #214

Closed skymandr closed 7 months ago

skymandr commented 7 months ago

Skip conversion of ImageData if ImageCalibrated is already in structure.

Resolves #213

skymandr commented 7 months ago

Is this enough or is something more needed, @lindamegner ?

lindamegner commented 7 months ago

That should probably do it. What is image data? A string of what?

skymandr commented 7 months ago

That should probably do it. What is image data? A string of what?

ImageData is a binary blob of PNG-image data.

lindamegner commented 7 months ago

ok, so we store the image data twice? Both in IMAGE and ImageData?

skymandr commented 7 months ago

ok, so we store the image data twice? Both in IMAGE and ImageData?

No, ImageData is dropped in L1b.