Nitrate processing