Skip to content

Deprecate api.list_grid_names #1902

Open

Description

@Sevans711

UXarray's api.py mostly contains some of the most important high-level functions a user might want to access when just starting out with uxarray. These are open_grid, open_multigrid, open_dataset, open_mfdataset, and concat, all methods which help you create uxarray objects from some combination of file paths and already-existing objects like xarray datasets or even other uxarray objects.

The only other public-facing (doesn't start with an underscore) method in that file is list_grid_names, which doesn't appear anywhere in the user-guide or docs (it isn't even currently included in api.rst). It just appears in a few functions in the test suite, and in uxarray/test/meshfiles/scrip/oasis/README.md. It isn't even being called internally from any other functions throughout the uxarray codebase. So, it should most likely be deprecated (with a FutureWarning, because DeprecationWarning hides from users), and then either removed entirely, relocated to a different file, and/or marked as "internal" by renaming to start with an underscore.

Activity

  1. added
    documentation
    developer experience
    on Nov 16, 2026
  2. added
    design
    on Nov 16, 2026
  3. moved this from 📚 Backlog to On Pause in UXarray Developmenton Nov 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    designdeveloper experiencedocumentation

    Type

    No type

    Fields

    Priority

    Low

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions