[Met_help] [rt.rap.ucar.edu #41329] History for METv3.0 release
RAL HelpDesk {for John Halley Gotway}
met_help at ucar.edu
Mon Oct 11 15:47:06 MDT 2010
----------------------------------------------------------------
Initial Request
----------------------------------------------------------------
I'm excited to see the METv3.0 upgrade that features the ability of off-hour
accumulation intervals in the pcp_combine tool. However, when I read
through that section of the user's guide, I didn't see what I was looking
for when this issue came up some time ago. For using the -subtract option,
I see it still says that accumulation intervals should be in HH format. If
that's the case, then the initialization time of the model would also have
to be off-hour in order to get off-hour accumulations when using
pcp_combine. I was hoping to be able to use off-hour accumulations in the
form HHMM because all of my WRF runs start on the hour and I wish to get
off-hour accumulations. To do that I need to be able to input off-hour
accumulation intervals into pcp_combine -subtract. For example, here would
be a sample call I would like to be able to make:
pcp_combine -subtract WRFPRS_d02.013_30 1330 WRFPRS_d02.012_30 01230
output_file.nc
This would be applicable for a WRF run that started at, say, 12Z but for
which I would like the 1-hr precip that occurred between 0030 UTC and 0130
UTC from that run. Is the new pcp_combine capable of doing that?
Jeff
----------------------------------------------------------------
Complete Ticket History
----------------------------------------------------------------
Subject: Re: [rt.rap.ucar.edu #41329] METv3.0 release
From: John Halley Gotway
Time: Wed Oct 06 13:12:56 2010
Jeff,
I went ahead and made a met_help ticket for this question.
The good news is the pcp_combine has been updated in the way you
expect. The bad news is that the documentation has not :)
We'll fix the documentation and repost the user's guide with a bunch
of edits at some point. You can find the usage statement for
pcp_combine in METv3.0 listed below. And it does accept accumulation
intervals in HH[MMSS] format. That means either HH or HHMMSS.
John
*** Model Evaluation Tools (METV3.0) ***
Usage: pcp_combine
[[-sum] sum_args] | [-add add_args] | [-subtract
subtract_args]
[-gc code]
[-ptv number]
[-v level]
where "-sum sum_args" indicates that accumulations from
multiple files should be summed up using the arguments provided.
"-add add_args" indicates that accumulations from one
or more files should be added together using the arguments provided.
"-subtract subtract_args" indicates that accumulations
from two files should be subtracted using the arguments provided.
"-gc code" overrides the default GRIB code (61) to be
used (optional).
"-ptv number" overrides the default GRIB parameter
table version number (2) to be used (optional).
"-v level" overrides the default level of logging (1)
(optional).
Note: Specifying "-sum" is not required since it is
the default behavior.
SUM_ARGS:
init_time
in_accum
valid_time
out_accum
out_file
[-pcpdir path]
[-pcprx reg_exp]
where "init_time" indicates the initialization time
of the input GRIB files in YYYYMMDD[_HH[MMSS]] format (required).
"in_accum" indicates the accumulation interval
of the input GRIB files in HH[MMSS] format (required).
"valid_time" indicates the desired valid time
in YYYYMMDD[_HH[MMSS]] format (required).
"out_accum" indicates the desired accumulation
interval for the output NetCDF file in HH[MMSS] format (required).
"out_file" indicates the name of the output
NetCDF file to be written consisting of the sum of the accumulation
intervals (required).
"-pcpdir path" overrides the default
precipitation directory (.) (optional).
"-pcprx reg_exp" overrides the default regular
expression for precipitation file naming convention (.*) (optional).
Note: Set init_time to 00000000_000000 when
summing observation files.
ADD_ARGS:
in_file1
accum1
...
in_filen
accumn
out_file
where "in_file1" indicates the name of the first
input GRIB file to be used (required).
"accum1" indicates the accumulation interval
to be used from in_file1 in HH[MMSS] format (required).
"in_filen" indicates additional input GRIB
files to be added together (optional).
"accumn" indicates the accumulation interval
to be used in HH[MMSS] format (optional).
"out_file" indicates the name of the output
NetCDF file to be written (required).
SUBTRACT_ARGS:
in_file1
accum1
in_file2
accum2
out_file
where "in_file1" indicates the name of the first
input GRIB file to be used (required).
"accum1" indicates the accumulation interval
to be used from in_file1 in HH[MMSS] format (required).
"in_file2" indicates the name of the second
input GRIB file to be added to or subtracted from in_file1 (required).
"accum2" indicates the accumulation interval
to be used from in_file2 in HH[MMSS] format (required).
"out_file" indicates the name of the output
NetCDF file to be written (required).
RAL HelpDesk {for John Halley Gotway} wrote:
> Wed Oct 06 13:07:56 2010: Request 41329 was acted upon.
> Transaction: Ticket created by johnhg
> Queue: met_help
> Subject: METv3.0 release
> Owner: johnhg
> Requestors: jdduda at iastate.edu
> Status: new
> Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=41329 >
>
>
> I'm excited to see the METv3.0 upgrade that features the ability of
off-hour
> accumulation intervals in the pcp_combine tool. However, when I
read
> through that section of the user's guide, I didn't see what I was
looking
> for when this issue came up some time ago. For using the -subtract
option,
> I see it still says that accumulation intervals should be in HH
format. If
> that's the case, then the initialization time of the model would
also have
> to be off-hour in order to get off-hour accumulations when using
> pcp_combine. I was hoping to be able to use off-hour accumulations
in the
> form HHMM because all of my WRF runs start on the hour and I wish to
get
> off-hour accumulations. To do that I need to be able to input off-
hour
> accumulation intervals into pcp_combine -subtract. For example,
here would
> be a sample call I would like to be able to make:
>
> pcp_combine -subtract WRFPRS_d02.013_30 1330 WRFPRS_d02.012_30 01230
> output_file.nc
>
> This would be applicable for a WRF run that started at, say, 12Z but
for
> which I would like the 1-hr precip that occurred between 0030 UTC
and 0130
> UTC from that run. Is the new pcp_combine capable of doing that?
>
> Jeff
------------------------------------------------
More information about the Met_help
mailing list