Skip to content

Vertical line in prediction outputs #3

@thisistaimur

Description

@thisistaimur

Upon inspection, it seems like the vertical line in the predictions appears always at the Prime Meridian, i.e. 0 degrees longitude. See figure below for reference.

In geospatial or climate models like Aurora over the entire globe:

  • Longitude wraps around: 179.9° → -180° is just one step
  • But Convolutional layers treat input as rectangular grids with edges → introducing artificial edge effects at 0°/360° unless we explicitly fix this

This means:

  • our prediction tensor is still spatially continuous but incorrectly wraps at 0°.

  • Likely → model outputs garbage at the “roll boundary” (because input lon was rolled, but model’s convolutional logic isn’t aware of it).

Core Issue:

Aurora’s UNet-like models (especially Conv layers) assume:

  • cyclic or periodic behavior across longitude.

If you roll your input data to align longitudes, but do not:

  • apply circular padding in the model
  • or train the model on rolled data properly
    we get seams at roll edges (like 0° longitude line).

Debug Pipeline:

  1. Roll lon grid to 0-360
  2. Roll inputs (species_distribution)
  3. Forward pass
  4. Roll prediction back

Image

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