mo_rte_util_array_validation Module

Provide utilites for sanitizing input arrays:


Uses

  • module~~mo_rte_util_array_validation~~UsesGraph module~mo_rte_util_array_validation mo_rte_util_array_validation module~mo_rte_kind mo_rte_kind module~mo_rte_util_array_validation->module~mo_rte_kind iso_c_binding iso_c_binding module~mo_rte_kind->iso_c_binding

Used by

  • module~~mo_rte_util_array_validation~~UsedByGraph module~mo_rte_util_array_validation mo_rte_util_array_validation module~mo_optical_props mo_optical_props module~mo_optical_props->module~mo_rte_util_array_validation module~mo_rte_sw mo_rte_sw module~mo_rte_sw->module~mo_rte_util_array_validation module~mo_rte_sw->module~mo_optical_props module~mo_fluxes mo_fluxes module~mo_rte_sw->module~mo_fluxes module~mo_fluxes->module~mo_rte_util_array_validation module~mo_fluxes->module~mo_optical_props module~mo_rte_lw mo_rte_lw module~mo_rte_lw->module~mo_rte_util_array_validation module~mo_rte_lw->module~mo_optical_props module~mo_rte_lw->module~mo_fluxes module~mo_source_functions mo_source_functions module~mo_rte_lw->module~mo_source_functions module~mo_source_functions->module~mo_optical_props

Contents


Interfaces

public interface any_vals_less_than

Values less than a floor (including masked versions)

  • private function any_vals_less_than_1D(array, check_value)

    Arguments

    TypeIntentOptionalAttributesName
    real(kind=wp), intent(in), dimension(:):: array
    real(kind=wp), intent(in) :: check_value

    Return Value logical

  • private function any_vals_less_than_2D(array, check_value)

    Arguments

    TypeIntentOptionalAttributesName
    real(kind=wp), intent(in), dimension(:,:):: array
    real(kind=wp), intent(in) :: check_value

    Return Value logical

  • private function any_vals_less_than_3D(array, check_value)

    Arguments

    TypeIntentOptionalAttributesName
    real(kind=wp), intent(in), dimension(:,:,:):: array
    real(kind=wp), intent(in) :: check_value

    Return Value logical

  • private function any_vals_less_than_1D_masked(array, mask, check_value)

    Arguments

    TypeIntentOptionalAttributesName
    real(kind=wp), intent(in), dimension(:):: array
    logical(kind=wl), intent(in), dimension(:):: mask
    real(kind=wp), intent(in) :: check_value

    Return Value logical

  • private function any_vals_less_than_2D_masked(array, mask, check_value)

    Arguments

    TypeIntentOptionalAttributesName
    real(kind=wp), intent(in), dimension(:,:):: array
    logical(kind=wl), intent(in), dimension(:,:):: mask
    real(kind=wp), intent(in) :: check_value

    Return Value logical

  • private function any_vals_less_than_3D_masked(array, mask, check_value)

    Arguments

    TypeIntentOptionalAttributesName
    real(kind=wp), intent(in), dimension(:,:,:):: array
    logical(kind=wl), intent(in), dimension(:,:,:):: mask
    real(kind=wp), intent(in) :: check_value

    Return Value logical

public interface any_vals_outside

Values outside a range (including masked versions)

  • private function any_vals_outside_1D(array, checkMin, checkMax)

    Arguments

    TypeIntentOptionalAttributesName
    real(kind=wp), intent(in), dimension(:):: array
    real(kind=wp), intent(in) :: checkMin
    real(kind=wp), intent(in) :: checkMax

    Return Value logical

  • private function any_vals_outside_2D(array, checkMin, checkMax)

    Arguments

    TypeIntentOptionalAttributesName
    real(kind=wp), intent(in), dimension(:,:):: array
    real(kind=wp), intent(in) :: checkMin
    real(kind=wp), intent(in) :: checkMax

    Return Value logical

  • private function any_vals_outside_3D(array, checkMin, checkMax)

    Arguments

    TypeIntentOptionalAttributesName
    real(kind=wp), intent(in), dimension(:,:,:):: array
    real(kind=wp), intent(in) :: checkMin
    real(kind=wp), intent(in) :: checkMax

    Return Value logical

  • private function any_vals_outside_1D_masked(array, mask, checkMin, checkMax)

    Arguments

    TypeIntentOptionalAttributesName
    real(kind=wp), intent(in), dimension(:):: array
    logical(kind=wl), intent(in), dimension(:):: mask
    real(kind=wp), intent(in) :: checkMin
    real(kind=wp), intent(in) :: checkMax

    Return Value logical

  • private function any_vals_outside_2D_masked(array, mask, checkMin, checkMax)

    Arguments

    TypeIntentOptionalAttributesName
    real(kind=wp), intent(in), dimension(:,:):: array
    logical(kind=wl), intent(in), dimension(:,:):: mask
    real(kind=wp), intent(in) :: checkMin
    real(kind=wp), intent(in) :: checkMax

    Return Value logical

  • private function any_vals_outside_3D_masked(array, mask, checkMin, checkMax)

    Arguments

    TypeIntentOptionalAttributesName
    real(kind=wp), intent(in), dimension(:,:,:):: array
    logical(kind=wl), intent(in), dimension(:,:,:):: mask
    real(kind=wp), intent(in) :: checkMin
    real(kind=wp), intent(in) :: checkMax

    Return Value logical

public interface extents_are

Find the extents of an array

  • private function extents_are_1d(array, n1)

    Arguments

    TypeIntentOptionalAttributesName
    real(kind=wp), intent(in), dimension(: ):: array
    integer, intent(in) :: n1

    Return Value logical(kind=wl)

  • private function extents_are_2d(array, n1, n2)

    Arguments

    TypeIntentOptionalAttributesName
    real(kind=wp), intent(in), dimension(:,: ):: array
    integer, intent(in) :: n1
    integer, intent(in) :: n2

    Return Value logical(kind=wl)

  • private function extents_are_3d(array, n1, n2, n3)

    Arguments

    TypeIntentOptionalAttributesName
    real(kind=wp), intent(in), dimension(:,:,: ):: array
    integer, intent(in) :: n1
    integer, intent(in) :: n2
    integer, intent(in) :: n3

    Return Value logical(kind=wl)

  • private function extents_are_4d(array, n1, n2, n3, n4)

    Arguments

    TypeIntentOptionalAttributesName
    real(kind=wp), intent(in), dimension(:,:,:,: ):: array
    integer, intent(in) :: n1
    integer, intent(in) :: n2
    integer, intent(in) :: n3
    integer, intent(in) :: n4

    Return Value logical(kind=wl)

  • private function extents_are_5d(array, n1, n2, n3, n4, n5)

    Arguments

    TypeIntentOptionalAttributesName
    real(kind=wp), intent(in), dimension(:,:,:,:,: ):: array
    integer, intent(in) :: n1
    integer, intent(in) :: n2
    integer, intent(in) :: n3
    integer, intent(in) :: n4
    integer, intent(in) :: n5

    Return Value logical(kind=wl)

  • private function extents_are_6d(array, n1, n2, n3, n4, n5, n6)

    Arguments

    TypeIntentOptionalAttributesName
    real(kind=wp), intent(in), dimension(:,:,:,:,:,:):: array
    integer, intent(in) :: n1
    integer, intent(in) :: n2
    integer, intent(in) :: n3
    integer, intent(in) :: n4
    integer, intent(in) :: n5
    integer, intent(in) :: n6

    Return Value logical(kind=wl)

  • private function extents_are_2d_int(array, n1, n2)

    Arguments

    TypeIntentOptionalAttributesName
    integer, intent(in), dimension(:,: ):: array
    integer, intent(in) :: n1
    integer, intent(in) :: n2

    Return Value logical(kind=wl)