Skip to content

Test that latitude & longitude coordinates for a new dataset are for pixel centers (not corners) #193

@JackKelly

Description

@JackKelly

(This issue is spun out of a discussion on PR 184)

To quote Alden:

if [the pixel coordinates] match what you get from xr.load_dataset(ICON_EU_GRIB_FILENAME_FROM_DWD, engine='cfgrib') they are centers. Another way to confirm is the dataset bounds in gdalinfo should be 0.0625 / 2 wider than the min/max values here.

Perhaps these tests should be implemented as a test in src/reformatters/example/template_config_test.py.

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