[Met_help] [rt.rap.ucar.edu #63500] History for Ask questions

John Halley Gotway via RT met_help at ucar.edu
Thu Oct 24 10:01:02 MDT 2013


----------------------------------------------------------------
  Initial Request
----------------------------------------------------------------



Dear Professor:
   I am writing to you as I am wondering why I can not get the result of the  PCP-Combine tool.  . I have two questions now.Firstly, can PCP-Combine tool deal with the NetCDF files, or just GRIB data? Secondly,I have known that PCP-Combine tool will only sum model files with the same initialization time unless it is told to ignore the initialization time.Then How to ignore? I am also want to sum observation files.
   Look forward to your feedbacks soon.Your help is highly appreciated.


Kind Regards,
Crystal
                                      
   
                                      

----------------------------------------------------------------
  Complete Ticket History
----------------------------------------------------------------

Subject: Re: [rt.rap.ucar.edu #63500] Ask questions
From: John Halley Gotway
Time: Mon Oct 21 09:58:31 2013

Crystal,

Yes, pcp_combine can handle NetCDF files, but only the ones formatted
in a rather particular way.  It can't the WRFOUT NetCDF files
directly, but can read the NetCDF output of the p_interp utility or
the NetCDF output of previous calls to the pcp_combine tool.  If
you're running WRF, I'd suggest postprocessing your output using the
Unified PostProcessor (UPP).  That outputs GRIB1 files which MET
can easily read.

It'd probably be easiest to just have you post the data you're using
to our anonymous ftp site following these instructions:
    http://www.dtcenter.org/met/users/support/met_help.php#ftp

Please write me back when you've posted the data there.  Also, please
send me a description of how you're trying to use the pcp_combine
tool.  For example, sum up the 3-hour accumulations in each file
into a 24-hour accumulation... or subtract the 24 hour runtime
accumulation from the 36 hour runtime accumulation to get the 12 hours
between them - some sort of description like that.

Thanks,
John Halley Gotway
met_help at ucar.edu

On 10/21/2013 03:21 AM, Crystal via RT wrote:
>
> Mon Oct 21 03:21:53 2013: Request 63500 was acted upon.
> Transaction: Ticket created by jinjing_qiu at 163.com
>         Queue: met_help
>       Subject: Ask questions
>         Owner: Nobody
>    Requestors: jinjing_qiu at 163.com
>        Status: new
>   Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=63500 >
>
>
>
>
> Dear Professor:
>     I am writing to you as I am wondering why I can not get the
result of the  PCP-Combine tool.  . I have two questions now.Firstly,
can PCP-Combine tool deal with the NetCDF files, or just GRIB data?
Secondly,I have known that PCP-Combine tool will only sum model files
with the same initialization time unless it is told to ignore the
initialization time.Then How to ignore? I am also want to sum
observation files.
>     Look forward to your feedbacks soon.Your help is highly
appreciated.
>
>
> Kind Regards,
> Crystal
>
>
>
>

------------------------------------------------
Subject: Ask questions
From: Crystal
Time: Tue Oct 22 20:04:13 2013



 Dear Professor:
Nice hear from you!
When I posted the data I am using to the ftp site,  there is a
warnning . I am wondering if it is OK.
The folder is  /met_help/qiu
Last time you said that PCP_combine can read the NetCDF output of
previous calls to the pcp_combine tool. I tried also , it still cannot
work. I do not know why. The data I use is posted to the ftp site
successfully.
Please find the scripts I am using in the attachment.
Very thanks!
Crystal




At 2013-10-21 23:58:31,"John Halley Gotway via RT" <met_help at ucar.edu>
wrote:
>Crystal,
>
>Yes, pcp_combine can handle NetCDF files, but only the ones formatted
in a rather particular way.  It can't the WRFOUT NetCDF files
directly, but can read the NetCDF output of the p_interp utility or
>the NetCDF output of previous calls to the pcp_combine tool.  If
you're running WRF, I'd suggest postprocessing your output using the
Unified PostProcessor (UPP).  That outputs GRIB1 files which MET
>can easily read.
>
>It'd probably be easiest to just have you post the data you're using
to our anonymous ftp site following these instructions:
>    http://www.dtcenter.org/met/users/support/met_help.php#ftp
>
>Please write me back when you've posted the data there.  Also, please
send me a description of how you're trying to use the pcp_combine
tool.  For example, sum up the 3-hour accumulations in each file
>into a 24-hour accumulation... or subtract the 24 hour runtime
accumulation from the 36 hour runtime accumulation to get the 12 hours
between them - some sort of description like that.
>
>Thanks,
>John Halley Gotway
>met_help at ucar.edu
>
>On 10/21/2013 03:21 AM, Crystal via RT wrote:
>>
>> Mon Oct 21 03:21:53 2013: Request 63500 was acted upon.
>> Transaction: Ticket created by jinjing_qiu at 163.com
>>         Queue: met_help
>>       Subject: Ask questions
>>         Owner: Nobody
>>    Requestors: jinjing_qiu at 163.com
>>        Status: new
>>   Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=63500 >
>>
>>
>>
>>
>> Dear Professor:
>>     I am writing to you as I am wondering why I can not get the
result of the  PCP-Combine tool.  . I have two questions now.Firstly,
can PCP-Combine tool deal with the NetCDF files, or just GRIB data?
Secondly,I have known that PCP-Combine tool will only sum model files
with the same initialization time unless it is told to ignore the
initialization time.Then How to ignore? I am also want to sum
observation files.
>>     Look forward to your feedbacks soon.Your help is highly
appreciated.
>>
>>
>> Kind Regards,
>> Crystal
>>
>>
>>
>>
>

------------------------------------------------
Subject: Re: [rt.rap.ucar.edu #63500]
From: John Halley Gotway
Time: Wed Oct 23 10:21:21 2013

Crystal,

I found the following 4 data files on our ftp site:
   obs_APCP_2013100521_A001.nc, obs_APCP_2013100522_A001.nc,
obs_APCP_2013100523_A001.nc, obs_APCP_2013100600_A001.nc

And you sent me this script describing the type of summation you're
trying to do:
   test_pcp_combine.sh

It looks like you want to add the 1-hour precip from 3 different files
together to get a 3-hour accumulation.  I'm sorry I misled you
previously... but you can only run the "-sum" option of
pcp_combine for GRIB files.  Since you're using NetCDF files, you
cannot use the "-sum" option.  However, you can accomplish the same
thing using the "-add" option for your input NetCDF files.

Please try the following:

    METv4.1/bin/pcp_combine -add \
      obs_APCP_2013100521_A001.nc 'name="APCP_01"; level="(*,*)";' \
      obs_APCP_2013100522_A001.nc 'name="APCP_01"; level="(*,*)";' \
      obs_APCP_2013100523_A001.nc 'name="APCP_01"; level="(*,*)";' \
      obs_3L_2013100523V_3A.nc

This reads the field described from each of the input files, adds them
together, and creates the output NetCDF file specified.  In the
pcp_combine usage statement, you'll see the following line:
   Note: For "-add" and "-subtract", the accumulation intervals may be
substituted with config file strings.

This is an example of using "config file strings" instead of
"accumulation intervals".

Hope that helps.

Thanks,
John Halley Gotway
met_help at ucar.edu

On 10/22/2013 08:04 PM, Crystal via RT wrote:
>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=63500 >
>
>
>
>   Dear Professor:
> Nice hear from you!
> When I posted the data I am using to the ftp site,  there is a
warnning . I am wondering if it is OK.
> The folder is  /met_help/qiu
> Last time you said that PCP_combine can read the NetCDF output of
previous calls to the pcp_combine tool. I tried also , it still cannot
work. I do not know why. The data I use is posted to the ftp site
successfully.
> Please find the scripts I am using in the attachment.
> Very thanks!
> Crystal
>
>
>
>
> At 2013-10-21 23:58:31,"John Halley Gotway via RT"
<met_help at ucar.edu> wrote:
>> Crystal,
>>
>> Yes, pcp_combine can handle NetCDF files, but only the ones
formatted in a rather particular way.  It can't the WRFOUT NetCDF
files directly, but can read the NetCDF output of the p_interp utility
or
>> the NetCDF output of previous calls to the pcp_combine tool.  If
you're running WRF, I'd suggest postprocessing your output using the
Unified PostProcessor (UPP).  That outputs GRIB1 files which MET
>> can easily read.
>>
>> It'd probably be easiest to just have you post the data you're
using to our anonymous ftp site following these instructions:
>>     http://www.dtcenter.org/met/users/support/met_help.php#ftp
>>
>> Please write me back when you've posted the data there.  Also,
please send me a description of how you're trying to use the
pcp_combine tool.  For example, sum up the 3-hour accumulations in
each file
>> into a 24-hour accumulation... or subtract the 24 hour runtime
accumulation from the 36 hour runtime accumulation to get the 12 hours
between them - some sort of description like that.
>>
>> Thanks,
>> John Halley Gotway
>> met_help at ucar.edu
>>
>> On 10/21/2013 03:21 AM, Crystal via RT wrote:
>>>
>>> Mon Oct 21 03:21:53 2013: Request 63500 was acted upon.
>>> Transaction: Ticket created by jinjing_qiu at 163.com
>>>          Queue: met_help
>>>        Subject: Ask questions
>>>          Owner: Nobody
>>>     Requestors: jinjing_qiu at 163.com
>>>         Status: new
>>>    Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=63500 >
>>>
>>>
>>>
>>>
>>> Dear Professor:
>>>      I am writing to you as I am wondering why I can not get the
result of the  PCP-Combine tool.  . I have two questions now.Firstly,
can PCP-Combine tool deal with the NetCDF files, or just GRIB data?
Secondly,I have known that PCP-Combine tool will only sum model files
with the same initialization time unless it is told to ignore the
initialization time.Then How to ignore? I am also want to sum
observation files.
>>>      Look forward to your feedbacks soon.Your help is highly
appreciated.
>>>
>>>
>>> Kind Regards,
>>> Crystal
>>>
>>>
>>>
>>>
>>
>

------------------------------------------------
Subject: Ask questions
From: Crystal
Time: Wed Oct 23 22:16:29 2013

 Dear Professor,Nice hear from you again!
I have solved the problem with your kind help! Thanks very much!

crystal








At 2013-10-24 00:21:21,"John Halley Gotway via RT" <met_help at ucar.edu>
wrote:
>Crystal,
>
>I found the following 4 data files on our ftp site:
>   obs_APCP_2013100521_A001.nc, obs_APCP_2013100522_A001.nc,
obs_APCP_2013100523_A001.nc, obs_APCP_2013100600_A001.nc
>
>And you sent me this script describing the type of summation you're
trying to do:
>   test_pcp_combine.sh
>
>It looks like you want to add the 1-hour precip from 3 different
files together to get a 3-hour accumulation.  I'm sorry I misled you
previously... but you can only run the "-sum" option of
>pcp_combine for GRIB files.  Since you're using NetCDF files, you
cannot use the "-sum" option.  However, you can accomplish the same
thing using the "-add" option for your input NetCDF files.
>
>Please try the following:
>
>    METv4.1/bin/pcp_combine -add \
>      obs_APCP_2013100521_A001.nc 'name="APCP_01"; level="(*,*)";' \
>      obs_APCP_2013100522_A001.nc 'name="APCP_01"; level="(*,*)";' \
>      obs_APCP_2013100523_A001.nc 'name="APCP_01"; level="(*,*)";' \
>      obs_3L_2013100523V_3A.nc
>
>This reads the field described from each of the input files, adds
them together, and creates the output NetCDF file specified.  In the
pcp_combine usage statement, you'll see the following line:
>   Note: For "-add" and "-subtract", the accumulation intervals may
be substituted with config file strings.
>
>This is an example of using "config file strings" instead of
"accumulation intervals".
>
>Hope that helps.
>
>Thanks,
>John Halley Gotway
>met_help at ucar.edu
>
>On 10/22/2013 08:04 PM, Crystal via RT wrote:
>>
>> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=63500 >
>>
>>
>>
>>   Dear Professor:
>> Nice hear from you!
>> When I posted the data I am using to the ftp site,  there is a
warnning . I am wondering if it is OK.
>> The folder is  /met_help/qiu
>> Last time you said that PCP_combine can read the NetCDF output of
previous calls to the pcp_combine tool. I tried also , it still cannot
work. I do not know why. The data I use is posted to the ftp site
successfully.
>> Please find the scripts I am using in the attachment.
>> Very thanks!
>> Crystal
>>
>>
>>
>>
>> At 2013-10-21 23:58:31,"John Halley Gotway via RT"
<met_help at ucar.edu> wrote:
>>> Crystal,
>>>
>>> Yes, pcp_combine can handle NetCDF files, but only the ones
formatted in a rather particular way.  It can't the WRFOUT NetCDF
files directly, but can read the NetCDF output of the p_interp utility
or
>>> the NetCDF output of previous calls to the pcp_combine tool.  If
you're running WRF, I'd suggest postprocessing your output using the
Unified PostProcessor (UPP).  That outputs GRIB1 files which MET
>>> can easily read.
>>>
>>> It'd probably be easiest to just have you post the data you're
using to our anonymous ftp site following these instructions:
>>>     http://www.dtcenter.org/met/users/support/met_help.php#ftp
>>>
>>> Please write me back when you've posted the data there.  Also,
please send me a description of how you're trying to use the
pcp_combine tool.  For example, sum up the 3-hour accumulations in
each file
>>> into a 24-hour accumulation... or subtract the 24 hour runtime
accumulation from the 36 hour runtime accumulation to get the 12 hours
between them - some sort of description like that.
>>>
>>> Thanks,
>>> John Halley Gotway
>>> met_help at ucar.edu
>>>
>>> On 10/21/2013 03:21 AM, Crystal via RT wrote:
>>>>
>>>> Mon Oct 21 03:21:53 2013: Request 63500 was acted upon.
>>>> Transaction: Ticket created by jinjing_qiu at 163.com
>>>>          Queue: met_help
>>>>        Subject: Ask questions
>>>>          Owner: Nobody
>>>>     Requestors: jinjing_qiu at 163.com
>>>>         Status: new
>>>>    Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=63500 >
>>>>
>>>>
>>>>
>>>>
>>>> Dear Professor:
>>>>      I am writing to you as I am wondering why I can not get the
result of the  PCP-Combine tool.  . I have two questions now.Firstly,
can PCP-Combine tool deal with the NetCDF files, or just GRIB data?
Secondly,I have known that PCP-Combine tool will only sum model files
with the same initialization time unless it is told to ignore the
initialization time.Then How to ignore? I am also want to sum
observation files.
>>>>      Look forward to your feedbacks soon.Your help is highly
appreciated.
>>>>
>>>>
>>>> Kind Regards,
>>>> Crystal
>>>>
>>>>
>>>>
>>>>
>>>
>>
>

------------------------------------------------


More information about the Met_help mailing list