FIXME : Add documentation
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
character(len=*), | intent(in) | :: | name | |||
integer, | intent(out), | dimension(:,:,:,:,:,:) | :: | value |
subroutine mds_r_int_6(name,value)
implicit none
character(*), intent(in) :: name
integer , dimension(:,:,:,:,:,:), intent(out) :: value
# ifdef MDSPLUS
logical :: status
integer :: len
integer :: descr
integer :: dim1,dim2,dim3,dim4,dim5,dim6
dim1 = size(value,1)
dim2 = size(value,2)
dim3 = size(value,3)
dim4 = size(value,4)
dim5 = size(value,5)
dim6 = size(value,6)
status = mdsvalue(name//char(0),&
&descr(IDTYPE_LONG,value,dim1,dim2,dim3,dim4,dim5,dim6,0),0,len)
call checkmds(status,"error reading "//name)
return
# endif
end subroutine mds_r_int_6