TephraProb v.1.7
21 Feb 2020tephraprob
release
codes
TephraProb v1.7 includes access to ERA-5 wind data, a different sampling of masses and some bug fixes.
Changes in TephraProb v1.7
Added functionalities
ERA-5
ERA-5 is now available for download. It follows the same procedure as ERA-Interim (refer to manual), but it uses a different Python API (cdsapi) - which also requires a new key.
- Create a new account on the CDS website
- Retrieve your
UIDandkeyand format it as such (where1234is your UID and the string following the column is the API key):url: https://cds.climate.copernicus.eu/api/v2 key: 1234:abcdefghij-134-abcdefgadf-82391b9d3f - Enter this key in TephraProb under
Input>Wind>Set ERA-5 API key - Install the
cdsapiin TephraProb usingInput>Wind>Install ERA-5 libraries
Note it is only required to perform steps 4-5 once.
Relevant ERA-5 documentation
- Reference page for ERA-5
- Good introduction to ERA-5 on retostauffer.org.
- Introduction to CDS API
Loading wind datasets
It is now possible to load existing datasets in the Input > Wind > Download Wind module.
Logarthmic sampling of mass
For subplinian/Plinian scenarios, the sampling of the eruption mass when constrain=0 was linked to the distribution chosen for the plume height. A new variable mass_sample was introduced to control the shape of the distribution from which the mass is sampled:
mass_sample=0: the mass is sampled betweenmin_massandmax_massmass_sample=1: the mass is sampled between log10(min_mass) and log10(max_mass)
Linking outputs to original ESPs
A new scheme was introduced to be able to link the content of the files dataProb.mat and dataT2_*.mat located in RUNS/runName/runNb/DATA/. This is explained in more details in
Bug fixes
- Fixed a bug on the sampling wind profiles when
seasonality=1