Metadata Factory
Factory for producing metadata results. This factory should accept the following inputs:
- Latitude {Number}
- Longitude {Number}
- Reference Document {String}
And should produce results with the following data:
- floor_pgad: {Number}
- floor_s1d: {Number}
- floor_ssd: {Number}
- max_direction_pga: {Number}
- max_direction_s1: {Number}
- max_direction_s2: {Number}
- percentile_factor_pga: {Number}
- percentile_factor_s1: {Number}
- percentile_factor_ss: {Number}
Note: This need not hit a database at this time. A data structure may be used in a flat file. Later we may enhance to use a database. Current metadata are as follows:
ASCE 41-13 - COUS, AK, PRVI
{
"floor_pgad": 0.5,
"floor_s1d": 0.6,
"floor_ssd": 1.5,
"interpolation_method": "linear",
"max_direction_pgad": 1.0,
"max_direction_s1d": 1.3,
"max_direction_ssd": 1.1,
"model_version": "v3.1.x",
"percentile_pgad": 1.8,
"percentile_s1d": 1.8,
"percentile_ssd": 1.8,
}
ASCE 41-13 - Hawaii
{
"floor_pgad": 0.5,
"floor_s1d": 0.6,
"floor_ssd": 1.5,
"interpolation_method": "linear",
"max_direction_pga": 1.0,
"max_direction_s1": 1.0,
"max_direction_ss": 1.0,
"model_version": "v3.1.x",
"percentile_pga": 1.8,
"percentile_s1": 1.8,
"percentile_ss": 1.8,
}