SetUnits_DataObj Subroutine

public subroutine SetUnits_DataObj(this, ivar, units)

Set the units of the ivar-th variable

Arguments

TypeIntentOptionalAttributesName
class(SELF_DataObj), intent(inout) :: this
integer, intent(in) :: ivar
character, intent(in) :: units

Contents

Source Code


Source Code

  subroutine SetUnits_DataObj(this,ivar,units)
    !! Set the units of the `ivar-th` variable
    implicit none
    class(SELF_DataObj),intent(inout) :: this
    integer,intent(in) :: ivar
    character(*),intent(in) :: units

    call this%meta(ivar)%SetUnits(units)

  endsubroutine SetUnits_DataObj