Skip to content

Replace NaNs with no_data when reading netCDF files

Instead of dealing with NaNs later on in the processing, it would be better to deal with them at the source: replace them with a pre-defined no_data value and update the validity mask when reading the netCDF or geotiff files.

This can wait until we have the new dataset, since we will need to refactor all the file reading functions.