Set a RESAMPLE_DIR when downsampling mosaic