Skip to content
This repository was archived by the owner on Jun 2, 2025. It is now read-only.

new gfs loader #338

Merged
merged 29 commits into from
Jun 28, 2024
Merged

new gfs loader #338

merged 29 commits into from
Jun 28, 2024

Conversation

AUdaltsova
Copy link
Contributor

@AUdaltsova AUdaltsova commented Jun 27, 2024

Pull Request

Description

New version of GFS loader added:

  • New GFS data has step 0 missing for irradiance (variables dswrf, dlwrf), currently defaulting to NaN.
  • Added a commented-out bit that extrapolates them in the loader
  • Added a warning if using irradiance
  • Added test data for gfs
  • Added standard test for gfs loader

How Has This Been Tested?

ran small batch creation on leonardo with and without irradiance variables

Checklist:

  • My code follows OCF's coding style guidelines
  • 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

@AUdaltsova AUdaltsova marked this pull request as ready for review June 28, 2024 11:25
@AUdaltsova AUdaltsova requested review from Sukh-P and peterdudfield and removed request for peterdudfield and Sukh-P June 28, 2024 11:25
@AUdaltsova
Copy link
Contributor Author

hang on I'll add mean and std here as well

Copy link
Member

@Sukh-P Sukh-P left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, nice work!

Copy link
Contributor

@peterdudfield peterdudfield left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ive left one tiny comment about a import, but otherwise all good

@AUdaltsova AUdaltsova merged commit 9effc61 into main Jun 28, 2024
3 checks passed
@AUdaltsova AUdaltsova deleted the gfs_loader branch June 28, 2024 15:36
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants