pcp_combine with -add #2712
-
What am I doing wrong? When entered in a bash script, the output from pcp_combine is this:
Whereas if I enter essentially the same command right on the command line, it seems to work:
Note that despite the "FATAL" wording at the bottom, the expected output file is present and has a full ncdump:
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 4 replies
-
Hi @Jeff-Duda, I see you're having difficulty with the Here's a selection taken from the usage statement for pcp_combine:
Note that there are 3 supported ways of defining the
Since you're reading the same field ( Option (2) - to read the same field from both input files:
Note that you got that NetCDF error message ( FYI, here's what the corresponding formatting would look like for options (1) and (3) with your data: Option (1) - useful when the input field names differ:
Option (3) - useful when you have a long list of input files:
All 3 of these options will produce the same output. Hope that helps! |
Beta Was this translation helpful? Give feedback.
@Jeff-Duda, hmm, I'm not positive on this, but my guess is that perhaps you're copying the command directly from your mail browser and some hidden characters are unwittingly being included which cause parsing problems? I've had something similar happen to me in the past. When I view this discussion on GitHub, I am able to copy/paste without any hidden characters wreaking havoc.
I did log on to jet and ran the commands listed below, and they all run without error. Note that I wrote to my current directory instead of your project directory.