Example #1
0
 def vert_interp(self, j):
     '''
     Modification of EccoData class definition *vert_interp*
     '''
     vinterp = vertInterp(self.mapcoord_weights)
     self.dataout[:, j] = vinterp.vert_interp(self.datatmp[::-1, j])
     return self
Example #2
0
 def vert_interp(self, j):
     '''
     Modification of MercatorData class definition *vert_interp*
     '''
     vinterp = vertInterp(self.mapcoord_weights)
     self.dataout[:, j] = vinterp.vert_interp(self.datatmp[::-1, j])
     return self
Example #3
0
 def vert_interp(self):
     '''
     Vertical interpolation using ndimage.map_coordinates()
       See vertInterp class in py_roms2roms.py
     Requires self.mapcoord_weights set by set_map_coordinate_weights()
     '''
     self._vert_interp = vertInterp(self.mapcoord_weights)
     return self
Example #4
0
 def vert_interp(self):
     '''
     Vertical interpolation using ndimage.map_coordinates()
       See vertInterp class in py_roms2roms.py
     Requires self.mapcoord_weights set by set_map_coordinate_weights()
     '''
     self._vert_interp = vertInterp(self.mapcoord_weights)
     return self