diff --git a/src/cortecs/opac/io.py b/src/cortecs/opac/io.py index 7532b5f..548a12d 100644 --- a/src/cortecs/opac/io.py +++ b/src/cortecs/opac/io.py @@ -686,6 +686,8 @@ def write(self, opac, outfile, verbose=False): wno = wno[::-1] cross_section = opac.cross_section[:, ::-1] cross_section = np.moveaxis(cross_section, 0, -1) + cross_section = np.moveaxis(cross_section, 0, -1) + cross_section = np.moveaxis(cross_section, 0, -1) # this # want temperature index 0, pressure to 1, wavelength to 2 for standard usage. hf = h5py.File(outfile, "w")