Skip to content

The function in the library tried to use Numba to speed up the computation, but received an array of type numpy.ma.MaskedArray that is not supported by Numba. #221

@joyyy1407

Description

@joyyy1407

Hello, thank you very much for providing this method for you to learn, but I have the following problem when running the pet_sla_and_adt, and I have tried multiple methods and still not solved, so I came to you for help:

import os
os.environ['NUMBA_DISABLE_JIT'] = '1'
from py_eddy_tracker.dataset.grid import GridDataset

a_adt, c_adt = g.eddy_identification("adt", "ugos", "vgos", date, 0.002)

a_sla, c_sla = g.eddy_identification("sla", "ugosa", "vgosa", date, 0.002)

NumbaTypeError: Unsupported array type: numpy.ma.MaskedArray.

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