Skip to content

Align FieldArray with Python xarray and netCDF data model #48

@sjdaines

Description

@sjdaines

The PALEOmodel.FieldArray is intended to work in the same way as the Python xarray, which itself uses the data model from netCDF CF conventions. Currently there are some key differences:

  • Dimensions vs Coordinates. This is the major difference, these do not currently follow the xarray/CF data model. We do want to clearly separate 'dimension' and 'coordinate' in order to allow different coordinate systems (pressure vs height for example). However it's not clear that a single 'dimension coordinate (xarray) / coordinate variable (CF)' with the same name as a dimension is what we want, as that makes it more complicated to connect eg cell centre and face coordinates. See xarray discussion Terminology for the various coordinates pydata/xarray#1295. It might be clearer to attach a list of 'preferred' coordinates to named dimensions, instead of using the xarray/CF naming convention.

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