05.07.2013 Views

Technical Report No. ? - DKRZ

Technical Report No. ? - DKRZ

Technical Report No. ? - DKRZ

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

3.4.6.1 ABS outfile = abs(infile)<br />

3.4.6.1 SIGN outfile = sign(infile)<br />

3.4.6.1 INV outfile = 1/infile (1/0=0)<br />

3.4.6.1 SQUARE outfile = infile 2<br />

<strong>DKRZ</strong> GRIB/EXTRA Format Module Documentation<br />

Unary operators<br />

3.4.6.1 SQROOT outfile =sqrt(infile)<br />

3.4.6.1 EXPONE outfile = e infile<br />

3.4.6.1 LOGE outfile = ln(infile) (ln(0):=0)<br />

3.4.6.1 LOG10 outfile = log10 (infile) (log10 (0) := 0)<br />

3.4.6.2 XLIN outfile = a * infile + b<br />

3.4.6.3 FPOW outfile = infile pow (0 pow =0)<br />

3.4.6.4 FMASK Create floating point mask according to arithmetic comparison<br />

Binary operators<br />

3.4.7.1 ADD outfile = infile1 + infile2<br />

3.4.7.1 SUB outfile = infile1 - infile2<br />

3.4.7.1 MLT outfile = infile1 * infile2<br />

3.4.7.1 DIV outfile = infile1 / infile2 (x/0:=0)<br />

3.4.7.2 XYLIN outfile = a * infile1 + b * infile2 + c<br />

Binary operators, first field of second operand used only<br />

3.4.7.3 GADD outfile = infile1 + (first record of) infile2<br />

3.4.7.3 GSUB outfile = infile1 - (first record of) infile2<br />

3.4.7.3 GMLT outfile = infile1 * (first record of) infile2<br />

3.4.7.3 GDIV outfile = infile1 / (first record of) infile2<br />

Binary operators, one field of first file used for each set of second file<br />

3.4.7.4 PSADD (set of) outfile = (set of) infile2 + (field of) infile1<br />

3.4.7.4 PSSUB (set of) outfile = (set of) infile2 - (field of) infile1<br />

3.4.7.4 PSMLT (set of) outfile = (set of) infile2 * (field of) infile1<br />

3.4.7.4 PSDIV (set of) outfile = (set of) infile2 / (field of) infile1<br />

PAGE 3.1.5

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!