Skip to content

Commit

Permalink
Not tested but corrected implementation
Browse files Browse the repository at this point in the history
  • Loading branch information
Sven Kiefer committed Aug 22, 2023
1 parent e4940bc commit fa2290f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion gcm_toolkit/exorad/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion gcm_toolkit/utils/interface.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit fa2290f

Please sign in to comment.