You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 7 Next »

 mwrepjson ( python ) wrepjson ( magjson/magjson )


For the needs of ecCharts and the epsgraph module, Magics can load input data  formatted in a specific WrepJSon format.

In future releases, Magics will accept more generic format.

{
    // Values of the EPS-forecast for the parameter 164.128
	"164.128": {
		"1": [ 0, 0, .., 0, 0 ], 
		... // members 1 to 50 
        "50": [ 0, 0, .., 0, 0 ],
 		"forecast": [ 0, 0, .., 0, 0 ], // If the forecast is present it will be plotted of the 10 days epsgraph
		"control": [ 0, 0, .., 0, 0 ],  // If the control is present it will be plotted of the 10 days epsgraph
        "steps": [0, 12, ..., 234, 240] // Steps of the forecast
    },Values of the EPS-forecast for another parameter 164.128.. This sequence can be repeated 
	"133.128": {
		"1": [ 0, 0, .., 0, 0 ], 
		... // members 1 to 50 
        "50": [ 0, 0, .., 0, 0 ],
 		"forecast": [ 0, 0, .., 0, 0 ], // If the forecast is present it will be plotted of the 10 days epsgraph
		"control": [ 0, 0, .., 0, 0 ],  // If the control is present it will be plotted of the 10 days epsgraph
        "steps": [0, 12, ..., 234, 240] // Steps of the forecast
    },
	 "date": "20120420", // Base date of the forecast.
	"time": "0000" // run of the forecast.
    "deterministic_height": 60.4558563232, // altitude of the grid-point for the deterministic model. Can be used to compute the temperature correction.
    "eps_height": 93.5405273438,// altitude of the grid-point for the eps model. Can be used to compute the temperature correction.
    "height": 61, // altitude of the point in real world. Can be used to compute the temperature correction.
    "land_sea_mask": 0.998962402344, // if < 0.5 we consider it is a sea point, Can be used in the title.
    "location": { // Information about the point, can be used in the title.
        "lat": 51.3883666992,
        "lon": 359.166656494
    } ,
    "points_along_meridian": 320 // Information displayed in the legend.

 

 

 

 

 

 

  • No labels