Versions Compared

Key

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


 

 

 

Section


Column
width60%


Panel

Image Removed  mcont Image Added minput ( macro/python ) pcont ( fortran )

Contouring is achieved by calling the action routine pcont, i.e. call pcont . The call may be preceded by one or more calls to Magics parameter setting routines. pcont will only take into account those parameters set before the routine is called. Any calls to Magics parameter setting routines after pcont is called are only relevant to future action routines.


minput is used 2 define matrices as input for contouring or  list of values as input of curve or symbol plotting.

If the field is passed in array form, the user needs to describe how the array is to be mapped onto the subplot or geographical area which the array covers.

Info
titleMagics++

With Magics, the concept of a 'FITTED' matrix no longer exists. The correct approach is to plot in a CARTESIAN projection and set input_field_initial_x, input_field_final_x, input_field_initial_y, input_field_final_y.

When using the Magics Fortran interface, there is no need to call the action routine pinput. The input description has to be placed before the  first call to pcont.  (This is for backward compatibility with Magics6)When the action routine pcont is called, it will plot contours based on the input data supplied and according to the user's instructions. The input data may have different organizations: GRIB code data, regular latitude/longitude grid, gaussian grid. Before pcont is called, the user must define how he wants the data to be contoured, i.e. location of the data, dimensions of the array, input field organization etc. This is done by calling Magics parameter setting routines. Data may be passed in an array, in GRIB or NetCDF format



Column
width30%


Import data:

  • Input Data
  • Grib Input
    Panel
    titleQuick links :

  • NetCDF input
  • Gallery:

    • Contour minput examples

     

     



     

    HTML
    <div id="magics">	
    </div>
    <script src="http://code.jquery.com/jquery-latest.js"></script>
    <script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.min.js"></script>
    <script src="http://software.ecmwf.int/wiki/download/attachments/13207038/magdoc.js"></script>
    <link rel="stylesheet" type="text/css" href="http://software.ecmwf.int/wiki/download/attachments/13207038/magics.css" />
    <link rel="stylesheet" type="text/css" href="http://software.ecmwf.int/wiki/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="http://software.ecmwf.int/wiki/download/attachments/13207038/jquery.miniColors.js"></script>
    
     <script>
    	load("http://software.ecmwf.int/wiki/download/attachments/1415812814158118/input.json");
    </script>