Skip to content

Unclear error File.create different n_tx across fields #391

@wesselvannierop

Description

@wesselvannierop
In field 'scan': Dimension 'n_tx' has inconsistent sizes across fields ['azimuth_angles', 'center_frequency', 'demodulation_frequency', 'focus_distances', 'initial_times', 'polar_angles', 't0_delays', 'time_to_next_transmit', 'transmit_origins', 'tx_apodizations']: [1, 149]
  File "<string>", line 18, in __init__
ValueError: Dimension 'n_tx' has inconsistent sizes across fields ['azimuth_angles', 'center_frequency', 'demodulation_frequency', 'focus_distances', 'initial_times', 'polar_angles', 't0_delays', 'time_to_next_transmit', 'transmit_origins', 'tx_apodizations']: [1, 149]

Maybe we can log the n_tx for every field to spot the outlier easily.

Metadata

Metadata

Assignees

No one assigned

    Labels

    data formatRelated to the zea data format saving and loading

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions