openclimatefix / ocf_datapipes

OCF's DataPipe based dataloader for training and inference
MIT License
13 stars 11 forks source link

Create t0 and loc datapipes #191

Closed dfulu closed 1 year ago

dfulu commented 1 year ago

Pull Request

Description

Add a common function to take a dict of source datapipes, and return location and time datapipes for selecting samples

dfulu commented 1 year ago

This function will be used by the PVNet datapipe. I had wondered whether it should go in common or straight into the upcoming pvnet module inside training? It might be generally useful though?

jacobbieker commented 1 year ago

This function will be used by the PVNet datapipe. I had wondered whether it should go in common or straight into the upcoming pvnet module inside training? It might be generally useful though?

It seems like it will be generally useful, so having it in common I think is good, a different want to get those time and locations than the other one in common. So I would leave it here.