[Met_help] [rt.rap.ucar.edu #56503] History for Re: Specific error running MODE verification tool

Paul Oldenburg via RT met_help at ucar.edu
Fri May 18 09:28:14 MDT 2012


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

Sorry some correction below to the subtraction in PCP combine...

This,
The subtract command I used is as follows:
../METv3.0.1/bin/pcp_combine -subtract \
         WRFPRS_d02_run0.028 28  WRFPRS_d02_run0.027 27 \
         temp.grib \

should have been this instead:
The subtract command I used is as follows:
../METv3.0.1/bin/pcp_combine -subtract \
          WRFPRS_d02_run0_regridded.028 28
WRFPRS_d02_run0_regridded.027 27 \
          WRFPRS_d02_run0_subtracted.028  \

to match the actual files names that I've used.

Thanks,
Raizan

On 17 May 2012 22:45, Rahmat R. <raizan.rahmat at gmail.com> wrote:

> Hi there,
>
> I need a little help with the mode tool please.
>
> I have successfully run mode tool with wrf output file for precipitation
> that is preprocessed by UPP and some precipitation analysis file that has
> been regridded, etc. That's is fine.
>
> E.g.
> The files
> 1. "WRFPRS_d02_run0.028" is the UPP processed file for hour 28 since the
> start of the run
> and
> 2. observation file (precipitation analysis) for hour 28
> Both works well for MET's mode tool.
>
> But I just noticed that my wrf output file contains accumulation of the
> rainfall since the start of the run, when what I want is 1-hr accumulated
> rainfall.
>
> So, after regridding using copygb.exe, I tried to a do subtract in
> PCP_combine for the 2 regridded files (subtract run hr 27 from run hr 28).
> E.g.
> 1. "WRFPRS_d02_run0_regridded.027" against
> 2. "WRFPRS_d02_run0_regridded.028" to generate
> 3. "WRFPRS_d02_run0_subtracted.028".
> PCP_combine tool has no error.
>
> The only problem now, is when I tried to run mode again, this time with
> the subtracted file "WRFPRS_d02_run0_subtracted.028" and the same
> precipitation analyses, it throws the error:
>
> *ERROR:: process_fcst_obs_files() -> 61(*,*) not found in file:
> /home/ee11rbr/UPPV1.0/dymecs/postprd/upp_output/d02/run0/WRFPRS_d02_run0_subtracted.028
> *
>
> I suspect that the subtraction in PCP_combine tool is not done properly
> despite no error shown. I checked the file sizes of the original gridded
> files and the subtracted file, and noticed that the latter is much smaller.
>
> -rwxr-xr-x 1 ee11rbr users  30M May 17 21:48 WRFPRS_d02_run0_regridded.028
> -rwxr-xr-x 1 ee11rbr users  30M May 17 21:48 WRFPRS_d02_run0_regridded.027
> -rw-r--r-- 1 ee11rbr users 683K May 17 21:48 WRFPRS_d02_run0_subtracted.028
>
> I am not sure if this implies anything, but I would expect the files sizes
> to be similar.
>
> The subtract command I used is as follows:
> ../METv3.0.1/bin/pcp_combine -subtract \
>          WRFPRS_d02_run0.028 28  WRFPRS_d02_run0.027 27 \
>          temp.grib \
>
> I have tried other means like subtracting the gridded files using CDO tool
> instead. But all the UPP output files or the gridded files (of gridtype1)
> are not recognised by CDO.
>
> I have also tried using variables other than variable 61 for accumulated
> rainfall in my mode configuration files, but they are empty.
>
> Is there anyway I can solve this without re-running WRF-ARW for the 1-hr
> file please?
>
> Thanks,
> Raizan
>


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

Subject: Re: [rt.rap.ucar.edu #56503] Re: Specific error running MODE verification tool
From: Paul Oldenburg
Time: Thu May 17 16:07:33 2012

Raizan,

The output file from pcp_combine is a NetCDF file that should contain
a single variable APCP_01, in your case.  You can
inspect the contents of this file, WRFPRS_d02_run0_subtracted.028,
using the ncdump command.  If you use this utility,
you should see information about the APCP_01 variable.  The syntax for
accessing this variable in the mode config file
is 'APCP_01(*,*)'.

The reason that the pcp_combine NetCDF output file is much smaller
than the input GRIB files may be that the output file
contains only a single gridded variable (precip), while your GRIB
files could contain many.

Also, as a matter of convention, we usually denote NetCDF files with
the suffix .nc to avoid confusion.  So, in your
case, you may want to consider renaming your pcp_combine output file
to WRFPRS_d02_run0_subtracted.028.nc.

Please let me know if you have any other questions.

Thanks,

Paul


On 05/17/2012 03:48 PM, Zan Rahmat via RT wrote:
>
> Thu May 17 15:48:39 2012: Request 56503 was acted upon.
> Transaction: Ticket created by raizan.rahmat at gmail.com
>         Queue: met_help
>       Subject: Re: Specific error running MODE verification tool
>         Owner: Nobody
>    Requestors: raizan.rahmat at gmail.com
>        Status: new
>   Ticket<URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=56503>
>
>
> Sorry some correction below to the subtraction in PCP combine...
>
> This,
> The subtract command I used is as follows:
> ../METv3.0.1/bin/pcp_combine -subtract \
>           WRFPRS_d02_run0.028 28  WRFPRS_d02_run0.027 27 \
>           temp.grib \
>
> should have been this instead:
> The subtract command I used is as follows:
> ../METv3.0.1/bin/pcp_combine -subtract \
>            WRFPRS_d02_run0_regridded.028 28
> WRFPRS_d02_run0_regridded.027 27 \
>            WRFPRS_d02_run0_subtracted.028  \
>
> to match the actual files names that I've used.
>
> Thanks,
> Raizan
>
> On 17 May 2012 22:45, Rahmat R.<raizan.rahmat at gmail.com>  wrote:
>
>> Hi there,
>>
>> I need a little help with the mode tool please.
>>
>> I have successfully run mode tool with wrf output file for
precipitation
>> that is preprocessed by UPP and some precipitation analysis file
that has
>> been regridded, etc. That's is fine.
>>
>> E.g.
>> The files
>> 1. "WRFPRS_d02_run0.028" is the UPP processed file for hour 28
since the
>> start of the run
>> and
>> 2. observation file (precipitation analysis) for hour 28
>> Both works well for MET's mode tool.
>>
>> But I just noticed that my wrf output file contains accumulation of
the
>> rainfall since the start of the run, when what I want is 1-hr
accumulated
>> rainfall.
>>
>> So, after regridding using copygb.exe, I tried to a do subtract in
>> PCP_combine for the 2 regridded files (subtract run hr 27 from run
hr 28).
>> E.g.
>> 1. "WRFPRS_d02_run0_regridded.027" against
>> 2. "WRFPRS_d02_run0_regridded.028" to generate
>> 3. "WRFPRS_d02_run0_subtracted.028".
>> PCP_combine tool has no error.
>>
>> The only problem now, is when I tried to run mode again, this time
with
>> the subtracted file "WRFPRS_d02_run0_subtracted.028" and the same
>> precipitation analyses, it throws the error:
>>
>> *ERROR:: process_fcst_obs_files() ->  61(*,*) not found in file:
>>
/home/ee11rbr/UPPV1.0/dymecs/postprd/upp_output/d02/run0/WRFPRS_d02_run0_subtracted.028
>> *
>>
>> I suspect that the subtraction in PCP_combine tool is not done
properly
>> despite no error shown. I checked the file sizes of the original
gridded
>> files and the subtracted file, and noticed that the latter is much
smaller.
>>
>> -rwxr-xr-x 1 ee11rbr users  30M May 17 21:48
WRFPRS_d02_run0_regridded.028
>> -rwxr-xr-x 1 ee11rbr users  30M May 17 21:48
WRFPRS_d02_run0_regridded.027
>> -rw-r--r-- 1 ee11rbr users 683K May 17 21:48
WRFPRS_d02_run0_subtracted.028
>>
>> I am not sure if this implies anything, but I would expect the
files sizes
>> to be similar.
>>
>> The subtract command I used is as follows:
>> ../METv3.0.1/bin/pcp_combine -subtract \
>>           WRFPRS_d02_run0.028 28  WRFPRS_d02_run0.027 27 \
>>           temp.grib \
>>
>> I have tried other means like subtracting the gridded files using
CDO tool
>> instead. But all the UPP output files or the gridded files (of
gridtype1)
>> are not recognised by CDO.
>>
>> I have also tried using variables other than variable 61 for
accumulated
>> rainfall in my mode configuration files, but they are empty.
>>
>> Is there anyway I can solve this without re-running WRF-ARW for the
1-hr
>> file please?
>>
>> Thanks,
>> Raizan
>>


------------------------------------------------
Subject: Re: Specific error running MODE verification tool
From: Zan Rahmat
Time: Thu May 17 16:47:08 2012

Dear Paul,

Thanks, that works!

Warm Regards,
Raizan

On 17 May 2012 23:07, Paul Oldenburg via RT <met_help at ucar.edu> wrote:

> Raizan,
>
> The output file from pcp_combine is a NetCDF file that should
contain a
> single variable APCP_01, in your case.  You can
> inspect the contents of this file, WRFPRS_d02_run0_subtracted.028,
using
> the ncdump command.  If you use this utility,
> you should see information about the APCP_01 variable.  The syntax
for
> accessing this variable in the mode config file
> is 'APCP_01(*,*)'.
>
> The reason that the pcp_combine NetCDF output file is much smaller
than
> the input GRIB files may be that the output file
> contains only a single gridded variable (precip), while your GRIB
files
> could contain many.
>
> Also, as a matter of convention, we usually denote NetCDF files with
the
> suffix .nc to avoid confusion.  So, in your
> case, you may want to consider renaming your pcp_combine output file
to
> WRFPRS_d02_run0_subtracted.028.nc.
>
> Please let me know if you have any other questions.
>
> Thanks,
>
> Paul
>
>
> On 05/17/2012 03:48 PM, Zan Rahmat via RT wrote:
> >
> > Thu May 17 15:48:39 2012: Request 56503 was acted upon.
> > Transaction: Ticket created by raizan.rahmat at gmail.com
> >         Queue: met_help
> >       Subject: Re: Specific error running MODE verification tool
> >         Owner: Nobody
> >    Requestors: raizan.rahmat at gmail.com
> >        Status: new
> >   Ticket<URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=56503>
> >
> >
> > Sorry some correction below to the subtraction in PCP combine...
> >
> > This,
> > The subtract command I used is as follows:
> > ../METv3.0.1/bin/pcp_combine -subtract \
> >           WRFPRS_d02_run0.028 28  WRFPRS_d02_run0.027 27 \
> >           temp.grib \
> >
> > should have been this instead:
> > The subtract command I used is as follows:
> > ../METv3.0.1/bin/pcp_combine -subtract \
> >            WRFPRS_d02_run0_regridded.028 28
> > WRFPRS_d02_run0_regridded.027 27 \
> >            WRFPRS_d02_run0_subtracted.028  \
> >
> > to match the actual files names that I've used.
> >
> > Thanks,
> > Raizan
> >
> > On 17 May 2012 22:45, Rahmat R.<raizan.rahmat at gmail.com>  wrote:
> >
> >> Hi there,
> >>
> >> I need a little help with the mode tool please.
> >>
> >> I have successfully run mode tool with wrf output file for
precipitation
> >> that is preprocessed by UPP and some precipitation analysis file
that
> has
> >> been regridded, etc. That's is fine.
> >>
> >> E.g.
> >> The files
> >> 1. "WRFPRS_d02_run0.028" is the UPP processed file for hour 28
since the
> >> start of the run
> >> and
> >> 2. observation file (precipitation analysis) for hour 28
> >> Both works well for MET's mode tool.
> >>
> >> But I just noticed that my wrf output file contains accumulation
of the
> >> rainfall since the start of the run, when what I want is 1-hr
> accumulated
> >> rainfall.
> >>
> >> So, after regridding using copygb.exe, I tried to a do subtract
in
> >> PCP_combine for the 2 regridded files (subtract run hr 27 from
run hr
> 28).
> >> E.g.
> >> 1. "WRFPRS_d02_run0_regridded.027" against
> >> 2. "WRFPRS_d02_run0_regridded.028" to generate
> >> 3. "WRFPRS_d02_run0_subtracted.028".
> >> PCP_combine tool has no error.
> >>
> >> The only problem now, is when I tried to run mode again, this
time with
> >> the subtracted file "WRFPRS_d02_run0_subtracted.028" and the same
> >> precipitation analyses, it throws the error:
> >>
> >> *ERROR:: process_fcst_obs_files() ->  61(*,*) not found in file:
> >>
>
/home/ee11rbr/UPPV1.0/dymecs/postprd/upp_output/d02/run0/WRFPRS_d02_run0_subtracted.028
> >> *
> >>
> >> I suspect that the subtraction in PCP_combine tool is not done
properly
> >> despite no error shown. I checked the file sizes of the original
gridded
> >> files and the subtracted file, and noticed that the latter is
much
> smaller.
> >>
> >> -rwxr-xr-x 1 ee11rbr users  30M May 17 21:48
> WRFPRS_d02_run0_regridded.028
> >> -rwxr-xr-x 1 ee11rbr users  30M May 17 21:48
> WRFPRS_d02_run0_regridded.027
> >> -rw-r--r-- 1 ee11rbr users 683K May 17 21:48
> WRFPRS_d02_run0_subtracted.028
> >>
> >> I am not sure if this implies anything, but I would expect the
files
> sizes
> >> to be similar.
> >>
> >> The subtract command I used is as follows:
> >> ../METv3.0.1/bin/pcp_combine -subtract \
> >>           WRFPRS_d02_run0.028 28  WRFPRS_d02_run0.027 27 \
> >>           temp.grib \
> >>
> >> I have tried other means like subtracting the gridded files using
CDO
> tool
> >> instead. But all the UPP output files or the gridded files (of
> gridtype1)
> >> are not recognised by CDO.
> >>
> >> I have also tried using variables other than variable 61 for
accumulated
> >> rainfall in my mode configuration files, but they are empty.
> >>
> >> Is there anyway I can solve this without re-running WRF-ARW for
the 1-hr
> >> file please?
> >>
> >> Thanks,
> >> Raizan
> >>
>
>
>

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


More information about the Met_help mailing list