Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Section


Column
width60%


Panel

 

  odb_filter / odb_geopoints / odb_vectors (python only)


 

There is 2 ways you can access and visualise your ODB data using Magics

  • Using odb_filter to filter your ODB and  odb_geopoints or  odb_vectors  to set-up the information needed by magics to visulise.
    • odb_filter will create a smaller ODB data by applying an SQL request on your input ODB data . The result is a smaller odb with only the few columns needed for visualisation , typically lat/lon/value for Symbol plotting or lat/lon/u/v/value for wind or coloured wind plotting. 
    • odb_geopoints and odb_vectors can be seen as accessors of ODB data, explaining to Magics++ how to interpret the columns.
  • Using the ODB python interface to select the needed  columns as arrays, then can them be transformed in numpy arrays, eventually manipulated and passed to Magics for visualisation.



Column
width30%


Panel
titleQuick links :


Gallery:

 

 




HTML
<div id="geo_odb">	
</div>

<script src="/download/attachments/13207038/magdoc_ajs.js"></script>
<link rel="stylesheet" type="text/css" href="/download/attachments/13207038/magics.css" />
<link rel="stylesheet" type="text/css" href="/download/attachments/13207038/jquery.miniColors.css" />
<link href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery-ui.css" rel="stylesheet" type="text/css"/>
<script src="/download/attachments/13207038/jquery.miniColors.js"></script>

 <script>
	load("/download/attachments/23695099/geo_odb.json", "geo_odb", true);
</script>

 

 

HTML
<div id="xy_odb">	
</div>

<script src="/download/attachments/13207038/magdoc.js"></script>
<link rel="stylesheet" type="text/css" href="/download/attachments/13207038/magics.css" />
<link rel="stylesheet" type="text/css" href="/download/attachments/13207038/jquery.miniColors.css" />
<link href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/jquery-ui.css" rel="stylesheet" type="text/css"/>
<script src="/download/attachments/13207038/jquery.miniColors.js"></script>

 <script>
	load("/download/attachments/23695099/xy_odb.json", "xy_odb", true);
</script>