1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83
|
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html401/loose.dtd">
<html><head><title>Yorick Reference Card</title>
<link rel="stylesheet" type="text/css" href="../style.css">
<link rel="icon" href="../images/favicon.ico" type="image/x-icon">
<link rel="shortcut icon" href="../images/favicon.ico" type="image/x-icon">
<link rel="stylesheet" type="text/css" href="../skull.css" title="skull">
<!--[if IE 6]>
<style type="text/css">
/*<![CDATA[*/
body {overflow-y:auto;}
#content { width: 873px; }
#l-bar {display:block; top:0px; left:0px; width:130px; position:absolute; border:0px solid #888; background-color:transparent;background-url:none;}
#searchbox { width:100px; background-color:transparent;}
* html #l-bar {position:absolute;}
html {overflow-x:auto; overflow-y:hidden;}
/*]]>*/
</style>
<![endif]-->
</head>
<body>
<div id="l-bar">
<div id="links">
<div class="nav1"><a href="http://yorick.sourceforge.net/index.php">Web Home</a></div>
<div class="nav1"><a href="../README.html">Getting Started</a></div>
<div class="nav1"><a href="../manual/yorick_1.html">Manual</a></div>
<div class="nav1"><a href="./index.html">Quick Reference</a></div>
<div class="nav2"><a href="qrlang00.html">Language Reference</a></div>
<div class="nav2"><a href="qrfunc00.html">Function Reference</a></div>
<div class="nav2"><a href="qrio00.html">I/O Reference</a></div>
</div>
<div id="bottomnav"></div>
</div>
<div id="banner"></div>
<div id="content"><br>
<table border="0" cellpadding="5" cellspacing="0"><tbody>
<tr><td valign="top" width="230"><br>
<ul>
<li><A href="./qrlang00.html">Language Reference</A></li>
<li><A href="./qrfunc00.html">Function Reference</A></li>
<li><A href="./qrio00.html">I/O Reference</A>
<ul>
<li><A href="./qrio00.html">Opening and Closing Text Files</A></li>
<li><A href="./qrio01.html">Reading Text</A></li>
<li><A href="./qrio02.html">Writing Text</A></li>
<li><A href="./qrio03.html">Positioning a Text File</A></li>
<li><A href="./qrio04.html">Opening and Closing Binary Files</A></li>
<li><A href="./qrio05.html">Saving and Restoring Variables</A></li>
<li><A href="./qrio06.html">Reading History Records</A></li>
<li><A href="./qrio07.html">Writing History Records</A></li>
<li><A href="./qrio08.html">Opening Non-PDB Files</A></li>
<li><A href="./qrio09.html">Making Plots</A></li>
<li><A href="./qrio10.html">Plot Paging and Hardcopy</A></li>
<li><A href="./qrio11.html">Setting Plot Limits</A></li>
<li><A href="./qrio12.html">Managing Graphics Windows</A></li>
<li><A href="./qrio13.html">Graphics Query, Edit, and Defaults</A></li>
</ul></li>
</ul>
</td><td valign="top">
<h1>Yorick I/O Reference</h1>
<h2>Reading History Records</h2>
<p>A binary file may have two groups of variables: those belonging to a
set of history records, and non-record variables. The record variables
may have different values in each record. The records are labeled by (optional)
time and cycle numbers:
</p>
<p><tt>jt, <i>time</i> </tt> advance all open record files to record nearest
<i>time</i>
<br><tt>jt, <i>f, time</i> </tt> advance file <i>f</i> to record nearest
<i>time</i>
<br><tt>jc, <i>f, ncyc</i> </tt> advance file <i>f</i> to record nearest
<i>ncyc</i>
<br><tt>get_times(<i>f</i>) </tt> return list of record times
<br><tt>get_ncycs(<i>f</i>) </tt> return list of record cycles
</p>
</td></tr>
</tbody></table>
</div></body>
</html>
|