Calibration of a high resolution grating soft x-ray spectrometer.