Skip to content

data type constraints issue #86

@X-Fan-Jack

Description

@X-Fan-Jack

Dear developer,

I am using Python and trying to calculate the soundscape index.

the code is

ssid, excl = sspy.isd.validate(data, allow_paq_na=False)
ssid = sspy.surveys.add_iso_coords(ssid)

Then I found that some records might have date-type issues, which results in a long number, as shown below.
_20241027103555

I'm speculating that the reason for this is that numpy did a big update(v2.1.0) on August 18th. This may lead to an update of some of the underlying methods.
Although users can add their own data type checks, if you can add data type constraints and transformation rules to the library, this will reduce the potential use risk and make the project more robust.

Best regards!

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions