-
Notifications
You must be signed in to change notification settings - Fork 0
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
Reorder raw simulation like scen in ExtremeValues #84
base: main
Are you sure you want to change the base?
Conversation
Another approach to this could be to add tail_options in all bias adjustment techniques? This could be: |
!!!This was wrong, I keep it for reference, but don't pay too much attention!!! Some explorations. As I expected, working with non-synchronous sim/adjMBCn can lead to some problems mbcn is just mbcn without GEV adjustment mbcnOrdered reorders sim according to the reordering of mbcn, them performs the GEV adjustment. mcbnDisordered is the same without reordering sim. It's nothing huge though |
!!!This was wrong, I keep it for reference, but don't pay too much attention!!! This might not make big differences in indicators at the end, but still, the difference is big enough IMO to justify changing algorithms |
Interesting to see how much kind=* and kind=+ differ for the large precipitations. I think the justification of using was more about the variable being bounded by zero and not wanting to produce pr<0, but still, it has important effects for large values. Oups, there should be cyan text saying: Max of QDM and QDM-GEV are the same points (for QDM-ordered) In any case, here is the main point: You can see that if you don't reorder the simulation, the largest value in QDM is not necessarily the same point as the largest value in QDM-GEV. I don't think that's something we want to do, we don't want to destroy the rank structure that was found in the MBCn (although, as underlined previously, the major factor of re-ranking was more about group="time" and group="time.dayofyear,31" rather than the reordering inherent to MBCn ) |
@RondeauG I just reordered I would still like to clear up whether the GEV was being performed on a day-of-year grouping in ClimateTools.jl |
Pull Request Checklist:
number
) and pull request (:pull:number
) has been added.What kind of change does this PR introduce?
reorder_sim
option inExtremeValues.adjust
extremes_adjust
performs a GEV adjustmentgev(ref,hist,sim) = adj_GEV
, then it combines this withscen=adj_XYZ
coming from a previous adjustment. The idea is simple to reordersim
before thecomputation
sim_r = reordering(ref=scen, sim=sim)
, and use this instead:gev(ref,hist,sim_r) = adj_GEV_r
. The idea is thatadj_GEV_r
will be more synchronous withscen=adj_XYZ
. So the maximal value ofscen
stays at the same place in time, but it get adjusted according to what is found from the GEV adjustment.Other information:
GEV is written all over the place, but as @RondeauG pointed out, we in fact use a Generalized Pareto. The approach is a bit different (peak over threshold) but my point on the usefulness of reordering
sim
stands. I will think more about it