Skip to content
This repository has been archived by the owner on Sep 11, 2023. It is now read-only.

Assign coordinates in HRVSatellite (and probably Satellite and OpticalFlow and maybe others) #627

Open
Tracked by #629
JackKelly opened this issue Apr 1, 2022 · 1 comment
Labels
bug Something isn't working

Comments

@JackKelly
Copy link
Member

JackKelly commented Apr 1, 2022

Here's what an on-disk HRVSatellite batch looks like now (from v15):

image

We should assign coordinates like this:

def _set_sat_coords(dataset: xr.Dataset) -> xr.Dataset:
    return dataset.set_coords(
        ["time", "channels", "y_geostationary_index", "x_geostationary_index", "y_osgb", "x_osgb"]
    )

Which results in this:

image

@JackKelly JackKelly added the bug Something isn't working label Apr 1, 2022
@JackKelly JackKelly added this to the v17 dataset milestone Apr 1, 2022
@JackKelly JackKelly moved this to Todo in Nowcasting Apr 1, 2022
@JackKelly
Copy link
Member Author

This is a sub-task of #629

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Something isn't working
Projects
No open projects
Status: Todo
Development

No branches or pull requests

2 participants