diff --git a/gcm_toolkit/exorad/utils.py b/gcm_toolkit/exorad/utils.py index 7661eb9..9554f53 100755 --- a/gcm_toolkit/exorad/utils.py +++ b/gcm_toolkit/exorad/utils.py @@ -97,7 +97,7 @@ def convert_winds_and_t(dsi, temp_dim, w_dim): grid = cs.init_grid_CS(ds=dsi) else: grid = cs.init_grid_LL(ds=dsi) - + w_interp = grid.interp(dsi[w_dim], axis=c.Z, to="center") # convert vertical wind speed from Pa/s to m/s diff --git a/gcm_toolkit/utils/interface.py b/gcm_toolkit/utils/interface.py index ff51783..b8c94dd 100644 --- a/gcm_toolkit/utils/interface.py +++ b/gcm_toolkit/utils/interface.py @@ -868,7 +868,7 @@ def _get_1_transit_spectra(self, lat, lon, mass_frac, gravity, mmw, rplanet, # check if clouds are wished cloud_data = np.zeros((2, len(self.prt.freq), len(self.prt.press))) if do_clouds: - cloud_data = _cloud_init(lat, lon, clouds, use_bruggemann) + cloud_data = self._cloud_init(lat, lon, clouds, use_bruggemann) # check if all opacity species are in mass fractions for key in self.prt.line_species: