Skip to content

Raise NotImplemented in read_particlefile with cftime calendars #2623

@VeckoTheGecko

Description

@VeckoTheGecko

I don't think this works properly with cf-time variables, and think that it will silently fail by providing incorrect times. I think its worth updating the docstring and also adding a check (if the calendar in the metadata isn't supported (ie. is CF specific) raise a NotImplementedError) since this is quite a user facing function.

Originally posted by @VeckoTheGecko in #2607 (comment)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions