- @Link to project doc
time series instead of timeseries
In line with other tutorials, e.g. W1D2
TODO? unit convention for plot labels, so far e.g. (mm/day)
Drop down widget for definitions
Drop down markdown for plot descriptions
keep it short but with focus on interpretation
TODO replacewithin subheadings, artwork and
CouldDO Different colors for dropdown block titles depending on the topic
orange: Plot description,
green: Explanations
Day Learning Objectives section
TODO dropdown detailed explanation of GEV
TODO T3 good as is, later necessary?
kept 'shape' parameter exercise in Coding Ex 1 and rephrased it acc to subsequent changes
create Widget for 'location' and 'scale' parameter instead of exercise in Coding Ex 1
COULDDO formatted output instead of round()
f string instead of round(4)
SSPXXX and hist scenarios, refer to W2D1 Intro Helene Witts talk 21:30 removed pip install header as cartopy is not used
check whether Pangeo download is done in any other tutorials
added SHA256 of .nc file to pooch_retrieve
TODO discuss if this is too 'hardcoded'
renumbered sections and corresponding Q and C exercises, due to section 2 existing twice
updated resample(time="1Y") to resample(time="1YE")
undone, due to pandas conflicts see below
removed one of too many SSP-126 histograms in exercise and solution
update get_CMIP6 hyperlink
github, model, paper link updates in Resources
loop in exercise to allow for standard design, i.e.
data_src = ...
removed intake and plotting libs
xlabel to ylabel in plot 1
% formatting updated to f-string
state of the art in 3.X python
removed x and ylimits in QQ-plot
to show that black line is identity line
dropdown Plot descriptions for all 3 subplots
Latex formulae where adequate
added x- and ylabels in exercises
updated titles in exercises
replaced effective return level plotting by simple for loop
added loop that break when non trivial solution was found
throws error due to old pandas version
dropdown plot descriptions
TODO remove second os package import
For future major updates
- Speaker mispronounces GEV: GEF instead of GEV
- T1 and T2 have sound issues after editing, low volume parts are cut-off
- No estimated times in Tutorial headings
- Where is Tutorial 7 video?? T7 has video T8, T8 has T9 video
- T7 title contains 'EVT', however this does not appear on slides or within the tutorial itself
- Future versions of T5 and T6 will need resample(time='Y') update, i.e. resample(time='YE') as of now pyleoclim forces us to use pandas 1.4, see https://pandas.pydata.org/docs/user_guide/timeseries.html#anchored-offsets
Our Day Learning Objectives are:
the relevance of the Generalized Extreme Value distribution to extreme events, this distribution to observation and model data, and the fit. [t3,t4,t5,t6,t7]
howthe moments and parameters of the Generalized Extreme Value distribution vary with time. [t1,t3,t5,t7]
extreme event probabilities (return periods/levels). [t1,t2,t4,t6,t7,t8]
extreme events (e.g. precipitation, sea level height, and heat) by these probabilities and prescribed thresholds. [t2,t5,t7,t8]
Corresponding Survey Questions can be found here .
For Tutorial 7 & 8 to measure the amount of time it takes to find non-trivial fitting parameters.
TODO: tune for alpha in QuantileRegressor() in sdfc_classes.py
t_sample = np.zeros(n_sample)
for j in range(n_sample):
law_ns.fit(data.ssh.values, c_loc=np.arange(data.index.size))
elapsed_time = time.process_time() - t
t_sample[j] = elapsed_time
print(f'This took: {elapsed_time:.2f} seconds.')