libsim  Versione7.1.6
subroutine vol7d_smart_sort ( type(vol7d), intent(inout)  this,
logical, intent(in), optional  lsort_time,
logical, intent(in), optional  lsort_timerange,
logical, intent(in), optional  lsort_level 
)

Sorts the sortable dimensions in the volume this only when necessary.

Most of the times, the time, timerange and level dimensions in a vol7d object are correctly sorted; on the other side many methods strictly rely on this fact in order to work correctly. This method performs a quick check and sorts the required dimensions only if they are not sorted in ascending order yet, improving safety without impairing much performance.

Parametri
[in,out]thisobject to be sorted
[in]lsort_timeif present and .TRUE., sort time dimension if it is not sorted in ascending order
[in]lsort_timerangeif present and .TRUE., sort timerange dimension if it is not sorted in ascending order
[in]lsort_levelif present and .TRUE., sort vertical level dimension if it is not sorted in ascending order

Definizione alla linea 2095 del file vol7d_class.F90.


Generated with Doxygen.