Skip to content

Commit

Permalink
remove redundant lines
Browse files Browse the repository at this point in the history
  • Loading branch information
csyhuang committed Sep 15, 2019
1 parent 5150e14 commit 331401f
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions hn2016_falwa/oopinterface.py
Original file line number Diff line number Diff line change
Expand Up @@ -415,9 +415,6 @@ def compute_reference_states(self, northern_hemisphere_results_only=True):
self._qref = np.swapaxes(qref_temp_right_unit, 0, 1)
self._uref = np.swapaxes(self._uref_temp, 0, 1)
self._ptref = np.swapaxes(self._ptref_temp, 0, 1)
ylat_interp_from = self.ylat[-(self._qref.shape[1]):]
if self.need_latitude_interpolation:
ylat_interp_to = self.ylat_no_equator[-self.ylat_no_equator.size//2:]
else:
self._qref = \
np.hstack((np.zeros((self.kmax, self.equator_idx - 1)),
Expand Down Expand Up @@ -570,9 +567,6 @@ def compute_lwa_and_barotropic_fluxes(
self._lwa = np.swapaxes(lwa, 0, 2)
self._divergence_eddy_momentum_flux = \
np.swapaxes(meri_flux_temp, 0, 1)
# ylat_interp_from = self.ylat[-(self._adv_flux_f1.shape[0]):]
# if self.need_latitude_interpolation:
# ylat_interp_to = self.ylat_no_equator[-self.ylat_no_equator.size//2:]
else:
self._adv_flux_f1 = \
np.vstack((np.zeros((self.equator_idx - 1, self.nlon)),
Expand Down

0 comments on commit 331401f

Please sign in to comment.