How can I set all negative values in a raster to NaN or no data?
I've made a virtual raster to link data and coordinates from a HDF5 then using something like this:
gdalwarp -geoloc -tr 3000 3000 -srcnodata -9999 -dstnodata -9999 -r average -s_srs EPSG:4326 -t_srs '+proj=cea +lon_0=0 +lat_ts=30 +ellps=WGS84 +units=m' input1.vrt output1.tif