Skip to content

Smarter regridding #9

@lewisjared

Description

@lewisjared

The problem

Currently we decimate the horizontal gridded data in an extremely naive way.

  • For lat/lon grids: Take the first 10 points in the lat/lon dimensions
  • For i/j grids: First 1 points of the i dimension and 10 points from the midpoint in the j dimension (to try and get something that is valid ocean data.

This is a small subset of the grid and very flakey. We should adopt a smarter regridding approach. There are a bunch of packages that support regridding on climate data. Perhaps: https://xesmf.readthedocs.io/en/latest/index.html?

This will require the migration to a conda based workflow. I'd prefer using pixi for managing conda dependencies

Definition of "done"

  • MIgrate to use pixi
  • Pick a regridding package
  • Regrid to something with a similar number of horizontal cells (100-1000)

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions