Replies: 1 comment 1 reply
-
There is a |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Hi everyone, I'm dealing with a rather frustrating issue with an operational script I'm running. The goal is to collect an entire model run worth of ensemble member data from the EPS for several variables, and open it in a single dataset. Typically, the script runs without a problem, but occasionally, what I suspect as an upstream data problem cause it to exit with an error.
It seems the issue is being caused by the fact that the variable 'number' (ensemble member number) is different between some of the files that are to be opened. There is one file per forecast hour, containing multiple members and variables. Ideally, this shouldn't happen, but occasionally data for one or two members is missing for a particular forecast hour, causing this problem.
We know that each file should have 50 members in the number dimension, numbered 1 to 50. Ideally, the behavior I want here is to still combine the datasets for all 50 members, and any missing members for a particular hour will have data that are arrays of NaNs with the same dimensions. Maybe this could be accomplished with a preprocessing step on each file, but I'm not sure how to go about that.
Beta Was this translation helpful? Give feedback.
All reactions