VACILT / SSW_project

MIT License
0 stars 0 forks source link

implementing new plotting formats, including standard deviation #13

Closed gast-ben closed 3 years ago

gast-ben commented 3 years ago

Will be followed by a notebook for analysis of one station each. Automation should ensure that this works for each of the regarded stations. Closing #2 and #12.

kuchaale commented 3 years ago

Can you try logarithmic color scale for GW and PW activity?

from matplotlib import colors

levs = np.logspace(0, 3.0, num=21)
da.plot.contourf(x = 'lag', levels = levs, norm=colors.LogNorm(), extend = 'both')
gast-ben commented 3 years ago

Logarithmic color scale was applied for GW and PW activity climatologies. (see last commit) For anomalies it was not possible because of negative values.

kuchaale commented 3 years ago

Can you set the same lag extent for all variables? I think [-40,40] may be sufficient. Furthermore, can you put these functions into an external python file and rather import them?

gast-ben commented 3 years ago

Syntax for running papermill: papermill input_notebook.ipynb output_notebook.ipynb -p parameter_name parameter_value

Example code: papermill analysis_per_station.ipynb analysis_Esrange.ipynb -p station 'Esrange'