check for matching rank, else bad reads can occur--doesn't always crash without this check check for matching size, else bad reads can occur.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
class(hdf5_file), | intent(in) | :: | self | |||
character(len=*), | intent(in) | :: | dname | |||
character(len=*), | intent(in) | :: | attr | |||
integer, | intent(in) | :: | asize | |||
integer, | intent(out) | :: | ierr |