Versions Compared

Key

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

...

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>
<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" />







  mcont ( 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.
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 or in GRIB format.














Import data:
Input Data
Grib Input

Gallery:
Contour examples





















 
<div id="magics">	
</div>
<script src="http://code.jquery.com/jquery-latest.js"></script>
<script src="http://<link href="http://ajax.googleapis.com/ajax/libs/jqueryui/1.8/themes/base/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" />

<script src="http://software.ecmwf.int/wiki/download/attachments/13207038/jquery.miniColors.js"></script>

 <script>
	load("http://software.ecmwf.int/wiki/download/attachments/14158128/cont.json");
</script>
 










<script src="http://software.ecmwf.int/wiki/download/attachments/13207038/jquery.miniColors.js"></script>
<script src="http://software.ecmwf.int/wiki/download/attachments/13207038/jquery-ui-1.8.20.custom.min.js"></script>
 <script>
	load("http://software.ecmwf.int/wiki/download/attachments/14158128/cont.json");
</script>