libsim  Versione6.3.0

◆ griddim_wind_unrot()

subroutine grid_class::griddim_wind_unrot ( type(griddim_def), intent(in)  this,
double precision, dimension(:,:,:), pointer  rot_mat 
)
private

Compute rotation matrix for wind unrotation.

It allocates and computes a matrix suitable for recomputing wind components in the geographical system from the components in the projected system. The rotation matrix rot_mat has to be passed as a pointer and successively deallocated by the caller; it is a 3-dimensional array where the first two dimensions are lon and lat and the third, with extension 4, contains the packed rotation matrix for the given grid point. It should work for every projection. In order for the method to work, the griddim_unproj method must have already been called for the griddim_def object.

Da fare:
Check the algorithm and add some orthogonality tests.
Parametri
[in]thisobject describing the grid
rot_matrotation matrix for every grid point, to be deallocated by the caller, if .NOT. ASSOCIATED() an error occurred

Definizione alla linea 2875 del file grid_class.F90.


Generated with Doxygen.