Skip to content

Fitting zero records #9

@RemingtonRohel

Description

@RemingtonRohel
(borealis_env3.11) remington@sdc-eng2~/borealis$ python3
Python 3.11.9 (main, Apr 15 2024, 18:20:25) [Clang 17.0.6 ] on linux
Type "help", "copyright", "credits" or "license" for more information.
>>> import procdarn
>>> procdarn.raw2fit([])
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: raw2fit() takes no arguments (1 given)
>>> procdarn.fitacf3_recs([])

thread '<unnamed>' (28331) panicked at src/fitting/fitacf3/fitacf_v3.rs:112:32:
index out of bounds: the len is 0 but the index is 0
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
pyo3_runtime.PanicException: index out of bounds: the len is 0 but the index is 0

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    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