what is the procedure of nitrate production