Skip to content

wmb_load_mat.pro does not load complex data array correctly #2

@ccwgolfer

Description

@ccwgolfer

Current version only loads real part of complex data array. Two errors were found.

Error 1 : Easily Fixed

Line 1143 should read : tmp_idat = cast_to_matrix_type(imag_data,matrix_class)

Error 2 : Not sure how to fix

LIne 464 : array_flags = ulong(input_data,mem_read_ptr,2)
my data results in array_flags[0] = 2055 so

LIne 475 : subelement_struct.complex = (flags1 AND '00000800'XL)
is always 0 and

Line 797 : chk_complex = array_flags_data.complex eq 1
is also always 0 and the imaginary data is never read in at line 1114

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions