89 class(Double1dReaderType) :: this
93 integer(I4B) :: expected_size
94 expected_size = binary_header_bytes + (
size(this%dbl1d) * binary_double_bytes)
95 call read_binary_header(this%input_unit, this%iout, this%array_name, nvals)
96 call check_binary_filesize(this%input_unit, expected_size, this%array_name)
97 read (this%input_unit, iostat=istat, iomsg=errmsg) &
98 (this%dbl1d(i), i=1,
size(this%dbl1d))
100 errmsg =
'Error reading data for array '//trim(this%array_name)// &
102 call store_error(errmsg)
103 call store_error_unit(this%input_unit)