-
Notifications
You must be signed in to change notification settings - Fork 48
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
Precipitation needs to be adjusted to period #262
Comments
If it is easy, that's the best and comparable with usual data provided by metoffices. |
Some thoughts on this... Various grib files contain at least one of three options regarding measures of precipitation:
Currently XyGrib expresses precipitation as RATE showing mm/hr. This is only correct when the time step is one hour or else the grib file is giving RATE and not TOTAL. I feel that XyGrib needs to cope with each of the possible inputs types above, and then to calculate the other two based on the input type. Presentation of precipitation will then be a user selected preference of Total/Rate/Accumulation. This should apply to both precipitation. SNOW is a special case as SNOD - accumulated depth of snow is a function of not only fall, but run off and melting. So, it is not possible to calculate fall and accumulation, one from the other. No change is required here. |
Hi Are you sure about that? In my understanding Xygrib is already trying to convert whatever it get to mm/hr. cf.: Have you a file wrongly decoded around ? Regards |
Try this one. |
Ha, it's a TODO. :( |
APCP with a 3 hour time step grib is currently shown in XyGrib as mm/h when it is in fact mm/3hr.
The suggested fix should be to divide the grib value (which is mm of precipitation accumulated in the period) by the period to give average mm/hr over the period. This will allow for one unit with one colour scale.
The text was updated successfully, but these errors were encountered: