Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New probability of precipitation algorithm #9

Closed
wants to merge 1 commit into from

Conversation

mpartio
Copy link
Member

@mpartio mpartio commented Jul 20, 2021

@mpartio mpartio requested review from tackandr and vkuvaja July 20, 2021 04:45
{
out_area = 1.;
}
maxprob = 0.9;
}
Copy link
Contributor

Choose a reason for hiding this comment

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

Nicely de-convoluted version of the makro template. Much more easy to read.

{
out_result = 1 + rand() % 5;
}
r = min(r, maxprob);
}
Copy link
Contributor

Choose a reason for hiding this comment

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

Implementation of the algorithm looks correct to me.

// >131h ennusteet: Prob EC(6h) RR>=0.15mm
// lisäksi huomioidaan että jos editoitu sadetta, myös POP arvoja
// lisäksi kaukaisia sateita heikennetään
// lopuksi tehdään aluetasoitus
Copy link
Contributor

Choose a reason for hiding this comment

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

Could you take a moment to translate this to English? Just would be more consistent to have one language only.

Copy link
Member Author

Choose a reason for hiding this comment

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

Sure thing. I was lazy and simply copy-pasted from the macro.

@mpartio mpartio closed this Oct 27, 2021
@mpartio
Copy link
Member Author

mpartio commented Oct 27, 2021

This was merged to development branch.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants