/usr/share/doc/grads/html/gradfuncs2g1d.html is in grads 3:2.1.0-2.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
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 | <!--Copyright (C) 1988-2005 by the Institute of Global Environment and Society (IGES). See file COPYRIGHT for more information.-->
<html>
<head>
<title>GrADS Function: s2g1d</title>
<link href="GrADS.css" rel="stylesheet" type="text/css">
</head>
<body bgcolor="e0f0ff" text="#000000">
<h2><b>s2g1d</b></h2>
<p> <code>s2g1d(<i>expr</i>)</code>
<title></title>
<link href="GrADS.css" rel="stylesheet" type="text/css">
<p> This function converts a station data time series into a 1-dimensional grid.
This allows more graphics and analytical operations.
<p> <code><i>expr</i></code>
A valid GrADS 1D station data expression in which time is the only varying dimension.<br>
<h3>Usage Notes</h3>
<p>The s2g1d function only works with 'display' and will not work with 'define'. You have to use 'set gxout fwrite' and write the data to a file if you want to save and reuse the 1D gridded time series.
<h3>Examples</h3><p>
<p><code>'set gxout bar'<br>
'set barbase 0'<br>
'set bargap 10'<br>
'</code><code>display s2g1d(precip(stid=kdca))'</code>
<p><code>'set gxout contour'<br>
'</code><code>display smth9(s2g1d(t(stid=kord)))</code>'
<p><code>'set gxout vector'<br>
'display const(s2g1d(u(stid=ksux)),0);s2g1d(u(stid=ksux));s2g1d(v(stid=ksux))'</code>
|