[gdal-dev] [gdal 3.12beta] isNaN or isNoData operator

Momtchil Momtchev momtchil at momtchev.com
Sat Oct 25 08:26:26 PDT 2025


Alas, muparser NaN behaviour is not perfect. There is no isNaN support 
at all and OR and AND are not correct. I don't know what is his 
background - seems to be astro/space/aviation and definitely not Earth 
sciences. I wonder if the best solution wouldn't be to contribute this 
directly to muparser?

On 24/10/2025 19:17, Even Rouault wrote:
> Please file an enhancement ticket about that, especially if you've an 
> API in mind
>
> Le 24/10/2025 à 18:55, Momtchil Momtchev via gdal-dev a écrit :
>> Hello,
>>
>> I think that you should probably add a way to process (and produce) 
>> NoData (NaN) values to the RasterBand algebra.
>>
-- 
Momtchil Momtchev <momtchil at momtchev.com>



More information about the gdal-dev mailing list