Skip to content

Noncontinuous grids #1184

@hblumberg

Description

@hblumberg

My team has noticed that if we construct a Fieldset using NetCDF data in which longitudes are in the range [0, 360), we see out of bounds errors when a particle tries to move across the Prime Meridian. This is the case even when the longitudes are ordered "correctly" (e.g. [358, 359, 0, 1, 2]).

We could change our longitudes to be in the range [-180, 180), but then we'd have the problem along the International Date Line.

Our questions are:

  1. Is this the intended behavior for noncontinous grids?
  2. If so, how do folks usually work around this when working with longitudes?

Thanks in advance!

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