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

Add support for Nowcasting Dataset and Nowcasting Utils #94

Merged
merged 38 commits into from
Sep 17, 2021

Conversation

jacobbieker
Copy link
Member

@jacobbieker jacobbieker commented Sep 9, 2021

Pull Request Template

Description

This PR will add support for nowcasting dataset in SatFlow and allow for the training on ML models using that package. It also moves support for various common utils to nowcasting_utils package, and removes them from here.

  • Add NetCDF dataloader
  • Remove Webdataset support
  • Move common data transforms to either nowcasting_dataset or nowcasting_utils

Fixes #87 Fixes #8

Helps with #91 with the addition of nowcasting_utils and great visualization code from predict_pv_yield to that repo, can probably get that output here easily.

Relies partly on openclimatefix/nowcasting_dataset#107 for having the dataset support. Other option could be just to copy over NetCDFDataset and customize here, but then there is some duplicate implementations again.

How Has This Been Tested?

Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce.
Please also list any relevant details for your test configuration

  • No
  • Yes

Checklist:

  • My code follows the style guidelines of this project
  • I have performed a self-review of my own code
  • I have made corresponding changes to the documentation
  • I have added tests that prove my fix is effective or that my feature works
  • I have checked my code and corrected any misspellings

@jacobbieker jacobbieker self-assigned this Sep 9, 2021
Ties SatFlow quite tightly to nowcasting_utils, but it would be anyway
Data tests will mostly happen in nowcasting_dataset instead, so don't need these large files here
Nowcasting dataset covers it all, and gets rid of the need for many of these. SatFlowDataModule will be updated to use the NetCDFDataset and add any needed transforms in that or in a new datasets.py
Copy in predict_py_yield datamodule to customize for SatFlow
…ng_dataset

Also remove visualization stubs as that will be covered by nowcasting_utils
Based off version from predict_pv_yield
@jacobbieker jacobbieker changed the title Add support for Nowcasting Dataset Add support for Nowcasting Dataset and Nowcasting Utils Sep 13, 2021
@jacobbieker jacobbieker mentioned this pull request Sep 14, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Switch to using Nowcasting Dataset Incorporate NWP data
1 participant