E3SM-Project / E3SM-Project/scream

Corrective ML not necessarily compatible with packs

Open
#2,825 0 comments 0 reactions 1 assignee Claimed by @AaronDonahue View on GitHub
bug Machine File
Dominant language
No language data
Stars
79
Forks
54
PR merge metrics
No merged PRs in 30d

Description

Right now the interface between EAMxx and Corrective-ML assumes that in the pybind the memory can be reshaped by `ncol` and `nlev`, but in a configuration where the data is "packed" and `nlev` is not a multiple of the packsize we will grab unitialized data in the last pack.

The organization of the numpy arrays in the ML/EAMxx interface needs to be based on the `npacks x packsize` and then resized to only include the Real valued data.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.