A compressive sensing with photonic crystals enabled spectrometer for trace gas observation