Skip to content

Add proj and spatial conventions to /conditions/meteorology #353

Open

Description

@emmanuelmathot

Problem

The 21 arrays under /conditions/meteorology/cams and /conditions/meteorology/ecmwf have latitude and longitude dimensions. They have no CRS, and their groups have no zarr_conventions. The groups also carry a source attribute Conventions: "CF-1.7", which contradicts the "no CF claim" decision in #TBD-01.

Proposal

  • On the cams and ecmwf groups, write:
    • proj:code: "EPSG:4326";
    • spatial:dimensions: ["latitude", "longitude"];
    • spatial:shape, spatial:transform and spatial:bbox, from the coordinates;
    • the two zarr_conventions entries.
  • Remove the source Conventions attribute from these groups.
  • Use the same helper as the other groups (write_dataset_geo_metadata / grid_spatial_attrs). Check the transform when the latitude decreases.

Tests

Regenerate the S2 snapshots. Add a test that the meteorology groups have proj and spatial.

Activity

  1. changed the title [-]#TBD-01c `proj` and `spatial` conventions on `/conditions/meteorology`[/-] [+]Add proj and spatial conventions to /conditions/meteorology[/+] on Nov 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestsentinel-2Sentinel-2 MSI products (L1C, L2A)

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions