[Met_help] [rt.rap.ucar.edu #86145] History for ref: How to find "absolute values"
John Halley Gotway via RT
met_help at ucar.edu
Wed Jul 10 16:39:14 MDT 2019
----------------------------------------------------------------
Initial Request
----------------------------------------------------------------
Good afternoon,
I am trying to find "absolute intensity errors" using AMAX_WIND and
BMAX_WIND.
I am able to find the difference ie; AMAX_WIND-BMAX_WIND. However, when I
tried to find its absolute value; the program fails.
The following methods have been tried:
DEP_VAL = (abs(AMAX_WIND-BMAX_WIND))
DEP_VAL = (ABS(AMAX_WIND-BMAX_WIND))
DEP_VAL = "(ABS(AMAX_WIND-BMAX_WIND))"
DEP_VAL = "(abs(AMAX_WIND-BMAX_WIND))"
DEP_VAL= (ABS\AMAX_WIND-BMAX_WIND\)
DEP_VAL= (abs\AMAX_WIND-BMAX_WIND\)
How does one use the "absolute" function?
Thanks,
Steve
----------------------------------------------------------------
Complete Ticket History
----------------------------------------------------------------
Subject: ref: How to find "absolute values"
From: Minna Win
Time: Wed Jul 11 13:06:42 2018
Hi Steve,
If running tc_stat from the command line, you would get the absolute
intensity error in the following fashion:
$MET_HOME/bin/tc_stat \
-lookin /path/to/input/files \
-job summary \
-col 'ABS(AMAX_WIND-BMAX_WIND)' \
-dump_row /path/to/output/file.tcst
Likewise, if running plot_tcmpr from the command line:
Rscript $MET_HOME/share/met/Rscripts/plot_tcmpr.R -lookin
/path/to/input/files \
-dep 'ABS(AMAX_WIND-BMAX_WIND)'
where you replace the '/path/to..' to your paths.
MET is looking for the single quotes around the arithmetic expression.
We are currently working on the stand-alone tc_stat wrapper in
METplus,
where you can perform job filtering and job summaries and hope to have
this
available in the next METplus release.
I hope this clarifies things for you. Please don't hesitate to
contact us
if you require further clarification.
Regards,
Minna
---------------
Minna Win
NCAR
Research Applications Lab
Phone: 303-497-8423
Fax: 302-497-8401
On Wed, Jul 11, 2018 at 6:31 PM Steven Lilly - NOAA Federal via RT <
met_help at ucar.edu> wrote:
>
> Wed Jul 11 12:30:39 2018: Request 86145 was acted upon.
> Transaction: Ticket created by steven.lilly at noaa.gov
> Queue: met_help
> Subject: ref: How to find "absolute values"
> Owner: Nobody
> Requestors: steven.lilly at noaa.gov
> Status: new
> Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=86145 >
>
>
> Good afternoon,
>
> I am trying to find "absolute intensity errors" using AMAX_WIND and
> BMAX_WIND.
>
> I am able to find the difference ie; AMAX_WIND-BMAX_WIND. However,
when I
> tried to find its absolute value; the program fails.
>
> The following methods have been tried:
>
> DEP_VAL = (abs(AMAX_WIND-BMAX_WIND))
> DEP_VAL = (ABS(AMAX_WIND-BMAX_WIND))
> DEP_VAL = "(ABS(AMAX_WIND-BMAX_WIND))"
> DEP_VAL = "(abs(AMAX_WIND-BMAX_WIND))"
> DEP_VAL= (ABS\AMAX_WIND-BMAX_WIND\)
> DEP_VAL= (abs\AMAX_WIND-BMAX_WIND\)
>
> How does one use the "absolute" function?
>
> Thanks,
> Steve
>
>
------------------------------------------------
More information about the Met_help
mailing list