Skip to content

Improve the sgrid variable API #76

@ocefpaf

Description

@ocefpaf

@kwilcox mentioned in #72

sci-wms needs to know too much information about what an sgrid is:

Anything that closes the implementation gap between pysgrid and potential users. I'd love it if sci-wms never had:

  • Rotate angles
  • Recenter any variables on to another grid
  • Figure out padding when re-centering
  • Subset in space (I should be able to provide a bbox and get back another Sgrid object read to go)
  • Subset in time (I don't want to have to write the bisect code... pysgrid could do that for me).

Basically, all data access should assume the user wants it back on the centers and pad/slice/rotate as needed. If a user wants the raw data they can just use netCDF4.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions