High-grade, compact spectrometers for Earth observation from SmallSats