TYPE_HYP2000ARC - Aggiornare il WS per ricevere in input il nuovo formato di 'ew2openapi'
Come riportato qui:
va aggiornato il WS per elaborare il nuovo formato di ew2openapi
.
Riporto di seguito il vecchio e il nuovo formato:
Click here to view OLD output phase format.
{
"Md": 0,
"Pat": "2020-09-29T23:56:25.080+00:00",
"Slabel": "S",
"caav": [
0,
0,
0,
0,
0,
0
],
"Pqual": 3,
"datasrc": "W",
"Ponset": "P",
"Pwt": 0.67000000000000004,
"Sfm": null,
"Pres": -0.32000000000000001,
"codawt": 4,
"sta": "FDMO",
"azm": 138,
"Sonset": null,
"net": "IV",
"takeoff": 156,
"Pfm": "U",
"dist": 6.5,
"ccntr": [
0,
0,
0,
0,
0,
0
],
"comp": "HHZ",
"Sat": "2020-09-299T23:56:00.000+00:00",
"pamp": 0,
"Plabel": null,
"loc": "--",
"Squal": 0,
"codalen": 0,
"Swt": 0,
"Sres": 0,
"codalenObs": 0
}
Click here to view NEW output phase format.
{
"sta": "T1247",
"comp": "HHZ",
"net": "IV",
"loc": "--",
"Plabel": " ",
"Slabel": " ",
"Ponset": "P",
"Sonset": " ",
"Pat": "2017-01-18T10:14:13.280Z",
"Sat": "2017-01-18T10:12:20.010Z",
"Pres": 0.78,
"Sres": 0.00,
"Pqual": 0,
"Squal": 9,
"codalen": 0,
"codawt": 0,
"Pfm": " ",
"Sfm": " ",
"datasrc": " ",
"Md": 0.00,
"azm": 161,
"takeoff": 129,
"dist": 10.60,
"Pwt": 1.80,
"Swt": 0.00,
"pamp": 999,
"codalenObs": 7,
"ccntr": [
9,
0,
0,
0,
151,
0
],
"caav": [
0,
0,
0,
0,
2700,
0
],
"amplitude": 0.00,
"ampUnitsCode": 0,
"ampType": 0,
"ampMag": 0.00,
"ampMagWeightCode": 0,
"importanceP": 0.169,
"importanceS": 0.000
}
Click here to view OLD output summary format.
{
"Md": 0,
"mdwt": 0,
"depth": 17.120000000000001,
"gap": 108,
"e0az": 166,
"e2": 0.47999999999999998,
"dmin": 6,
"erz": 2.0800000000000001,
"mdtype": "D",
"erh": 0.93999999999999995,
"mdmad": 0,
"e1az": 340,
"latitude": 43.080334000000001,
"ingvQuality": "DD",
"version": "ew final",
"nph": 6,
"originTime": "2020-09-29T23:56:22.000+00:00",
"Mpref": 0,
"quakeId": 272411,
"longitude": 13.034833000000001,
"e0dp": 78,
"nphS": 0,
"nphtot": 6,
"labelpref": null,
"wtpref": 0,
"e0": 2.1200000000000001,
"e1dp": 11,
"rms": 0.089999999999999997,
"nPfm": 5,
"reg": null,
"e1": 0.95999999999999996
}
Click here to view NEW output summary format.
{
"quakeId": 100612940,
"version": "ew unknown version",
"originId": 1006129404,
"originTime": "2017-01-18T10:14:09.740Z",
"latitude": 42.532166,
"longitude": 13.258500,
"depth": 8.88,
"nph": 169,
"nphS": 0,
"nphtot": 176,
"nPfm": 32,
"gap": 31,
"dmin": 11,
"rms": 0.72,
"e0az": 74,
"e0dp": 48,
"e0": 0.70,
"e1az": 247,
"e1dp": 41,
"e1": 0.53,
"e2": 0.39,
"erh": 0.46,
"erz": 0.53,
"Md": 0.00,
"reg": " ",
"labelpref": " ",
"Mpref": 5.45,
"wtpref": 486.00,
"mdtype": "D",
"mdmad": 0.00,
"mdwt": 0.00,
"ingvQuality": "BB",
"amplitudeMagnitude": 0.00,
"numberOfAmpMagWeightCode": 0.0,
"medianAbsDiffAmpMag": 0.00,
"preferredMagLabel": " ",
"preferredMag": 5.45,
"numberOfPreferredMags": 486.0,
}