Difference between pcp_combine -sum and -add #1803
-
What is the difference between pcp_combine's -sum and -add options |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 2 replies
-
@BinbinZhou-NOAA, my answer to your question is kind of, but let me explain. While its true that running The
While the
For some background, the Whereas the newer The following 2 commands produce the same result:
and
The The |
Beta Was this translation helpful? Give feedback.
@BinbinZhou-NOAA, my answer to your question is kind of, but let me explain. While its true that running
-add
for two input files will produce the exact same numeric results as running-sum
to locate and add them, the command line arguments are very different.The
-sum
option uses:While the
-add
option uses:For some background, the
-sum
option was written first many years ago. It only works with input data with a consistent accumulation interval, such as 3-hour accumulations of precipitation. It uses the command line arguments to decide what data to look for... dividi…