sample data for hess-2019-205 submission
|Resource type:||Composite Resource|
|Storage:||The size of this resource is 6.4 KB|
|Created:||Apr 11, 2019 at 12:16 a.m.|
|Last updated:|| Jul 18, 2019 at 9:02 p.m.
|Citation:||See how to cite this resource|
|Content types:||Single File Content|
Sample data for HESS-2019-205 submission
Description: This file contains the event magnitudes and spacing for Cases 1 & 3 presented in the submitted manuscript to HESS titled "Recession analysis 42 years later - work yet to be done".
CVS File: This file is an ordered set of the normalized event magnitude [-] and the start date fo the event (Time/Timescale [-])
Matlab File: The file is presented is in a .mat file extension created in Matlab. The data is divided into 3 columns: mag, value, and start_locs. The column of "Mag" defines the event magnitudes, which are log-normally distributed with a mean 1 of a standard deviation of 1. The column of "value" defines the event duration which has a mean of 2.5 and a standard deviation of 1. The "start_locs" column as the cumulative event durations that identify the start time of each event. Below is the associated Matlab code used to create the file:
%% Matlab Code %%
mag= lognrnd(1,1[number_of_events,1]); %create log-normally distributed dataset of event magnitudes for a defined number of events
mag(mag<0)=1; %remove any negative magnitudes
value=round(lognrnd(2.5,1,[number_of_events,1])); %create log-normally distributed dataset of event durations for a defined number of events
value(value<=0)=1; %remove any negative durations
start_locs=[2;cumsum(value)]; %create cumulative event start time-series
Duplicate. Keyword not added.
How to Cite
This resource is shared under the Creative Commons Attribution CC BY.http://creativecommons.org/licenses/by/4.0/
Please wait for the process to complete.