Skip to content

Trouble reading ERA5 data #2131

Locked Answered by CPKalb
hankenstein2 asked this question in File I/O
Apr 19, 2023 · 3 comments · 2 replies
Discussion options

You must be logged in to vote

Hi Hank:
Are the observations 1 hour accumulations? Ideally we would want to match the model accumulation to the observations. I don't see a 1 hour accumulation, only two 6 hour accumulations in the 6 hour file.

Try adding the file type outside of the field area such as:
obs = {
file_type = NETCDF_NCCF;
field= [
{
name = "precipitation_amount_1hour_Accumulation";
level = [ "(@20180301,*,*)" ];
}
];
}

When I do that, I get a complaint about the thresholds:
ERROR : GridStatVxOpt::process_config() -> The number of thresholds for each field in "fcst.cat_thresh" must match the number of thresholds for each field in "obs.cat_thresh".
I then added thresholds to the obs dictionary to look like this

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@CPKalb
Comment options

CPKalb Apr 19, 2023
Collaborator

Answer selected by CPKalb
Comment options

You must be logged in to vote
1 reply
@CPKalb
Comment options

CPKalb Apr 20, 2023
Collaborator

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment