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

Compare with Current View Page History

« Previous Version 2 Next »

Visualising ODB in Magics

There are several ways on visualisating ODB data in Magics.

  • use the ODB Magics objects. This allows Magics to read a odb file and extract some columns for geographical plots or graph.
  • In python, it also possible to use odb_api packages to create a numpy array and pass the values in memeoty to Magics. magics is then able to perform symbol plotting on a geographical area, time series, etc .. 

This page will present examples of these different plottings, and will offer skeletons of python programs.

Using an ODB file and create a geographical map

In this example, we have downloaded some ODB data from Mars.

The mars request looks like:

 

RETRIEVE,
    CLASS      = E2,
TYPE       = OFB,
    STREAM     = OPER,
    EXPVER     = 1607,
    REPRES     = BU,
    REPORTYPE  = 16005,
    OBSTYPE    = 1,
    DATE       = 20100101,
    TIME       = 0,
    DOMAIN     = G,
    TARGET     = "data.odb",
    FILTER     = "select lat@hdr, lon@hdr, obsvalue@body where (source='ISPDv2.2') and (varno=110)",
    DUPLICATES = KEEP
 
 
 
 
 
 
  • No labels