[Met_help] [rt.rap.ucar.edu #71922] History for Strange output of grid stat

John Halley Gotway via RT met_help at ucar.edu
Wed May 13 14:55:06 MDT 2015


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

Hi John. 
I was able to run Grid stat for 2 cases well. Now I did the same for 22 May 2013. 
I wanted to verify model o/p for the the period 03 UTC of 22May 2013 to 03UTC of 23 May 2013. 
I used following dataset (TRMM 3hourly files in the bin format).  3B42.130522.06z.7.precipitation.bin. 
I have converted these bin files to NC files using the Rscript trmmbin2nc. 
Then I have following files. -rw-rw-r-- 1 aditya aditya     5376 May 13 16:13 3B42.130522.06z.7.precipitation.nc-rw-rw-r-- 1 aditya aditya     5376 May 13 16:13 3B42.130522.09z.7.precipitation.nc-rw-rw-r-- 1 aditya aditya     5376 May 13 16:14 3B42.130522.12z.7.precipitation.nc-rw-rw-r-- 1 aditya aditya     5376 May 13 16:14 3B42.130522.15z.7.precipitation.nc-rw-rw-r-- 1 aditya aditya     5376 May 13 16:14 3B42.130522.18z.7.precipitation.nc-rw-rw-r-- 1 aditya aditya     5376 May 13 16:14 3B42.130522.21z.7.precipitation.nc-rw-rw-r-- 1 aditya aditya     5376 May 13 16:14 3B42.130523.00z.7.precipitation.nc-rw-rw-r-- 1 aditya aditya     5376 May 13 16:15 3B42.130523.03z.7.precipitation.nc
Then these files were added to one nc file using the pcp combine tool. ditya at agniilap:~/geeta/installs/met/RUN_MET-22may2013£ ../bin/pcp_combine -add \3B42.130522.06z.7.precipitation.nc 'name="APCP_03"; level="(*,*)";' \3B42.130522.09z.7.precipitation.nc 'name="APCP_03"; level="(*,*)";' \temp.nc 
so after adding 8 nc files, I have consolidated one temp6.nc file. 
when I now run grid stat, some unreadable characters come on the screen and following out put files are created. -rwxr-xr-x 1 aditya aditya      284 May 13 22:12 grid_stat-22may2013.sh-rw-rw-r-- 1 aditya aditya        0 May 13 22:12 W-rw-rw-r-- 1 aditya aditya        0 May 13 22:12 L???@e?@H??@?-rw-rw-r-- 1 aditya aditya        0 May 13 22:12 ffAk?-rw-rw-r-- 1 aditya aditya        0 May 13 22:12 ??{??33@?Q?A-rw-rw-r-- 1 aditya aditya    12708 May 13 22:33 temp.ncaditya at agniilap:~/geeta/installs/met/RUN_MET-22may2013£ 
I am sening my script file, data files and Config file.

pls help. Geeta 		 	   		  

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

Subject: Strange output of grid stat
From: John Halley Gotway
Time: Wed May 13 11:58:30 2015

Geeta,

Thanks for sending the sample data.  This one is easy.  There's a typo
in
your script named "grid_stat-22may2013.sh":

     1  #!/bin/sh
     2  echo
     3  echo "*** Running Grid-Stat on APCP using netCDF input for
both
forecast and observation ***"
     4  ../bin/grid_stat \
     5     ./WRFPRS_d03.024.25grbtonc2013052100BNG.nc
     6     ./temp6.nc                        \
     7     ./GridStatConfig_V5_22may2013      \
     8     -outdir out-22may2013 -v 4

The backslash character '\' is a line continuation marker which
indicate
that your command stretches over multiple lines.  You're missing one
at the
end of the 5th line, which is likely causing your problems.  When I
correct
that problem, I'm able to run grid_stat fine with your data.

Please take a look and let me know if that resolves your problem.

Thanks,
John

On Wed, May 13, 2015 at 11:06 AM, Geeta Geeta via RT
<met_help at ucar.edu>
wrote:

>
> Wed May 13 11:06:46 2015: Request 71922 was acted upon.
> Transaction: Ticket created by geeta124 at hotmail.com
>        Queue: met_help
>      Subject: Strange output of grid stat
>        Owner: Nobody
>   Requestors: geeta124 at hotmail.com
>       Status: new
>  Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=71922 >
>
>
> Hi John.
> I was able to run Grid stat for 2 cases well. Now I did the same for
22
> May 2013.
> I wanted to verify model o/p for the the period 03 UTC of 22May 2013
to
> 03UTC of 23 May 2013.
> I used following dataset (TRMM 3hourly files in the bin format).
> 3B42.130522.06z.7.precipitation.bin.
> I have converted these bin files to NC files using the Rscript
trmmbin2nc.
> Then I have following files. -rw-rw-r-- 1 aditya aditya     5376 May
13
> 16:13 3B42.130522.06z.7.precipitation.nc-rw-rw-r-- 1 aditya aditya
5376
> May 13 16:13 3B42.130522.09z.7.precipitation.nc-rw-rw-r-- 1 aditya
aditya
>    5376 May 13 16:14 3B42.130522.12z.7.precipitation.nc-rw-rw-r-- 1
aditya
> aditya     5376 May 13 16:14 3B42.130522.15z.7.precipitation.nc-rw-
rw-r-- 1
> aditya aditya     5376 May 13 16:14
> 3B42.130522.18z.7.precipitation.nc-rw-rw-r-- 1 aditya aditya
5376 May
> 13 16:14 3B42.130522.21z.7.precipitation.nc-rw-rw-r-- 1 aditya
aditya
>  5376 May 13 16:14 3B42.130523.00z.7.precipitation.nc-rw-rw-r-- 1
aditya
> aditya     5376 May 13 16:15 3B42.130523.03z.7.precipitation.nc
> Then these files were added to one nc file using the pcp combine
tool.
> ditya at agniilap:~/geeta/installs/met/RUN_MET-22may2013£
../bin/pcp_combine
> -add \3B42.130522.06z.7.precipitation.nc 'name="APCP_03";
level="(*,*)";'
> \3B42.130522.09z.7.precipitation.nc 'name="APCP_03"; level="(*,*)";'
\
> temp.nc
> so after adding 8 nc files, I have consolidated one temp6.nc file.
> when I now run grid stat, some unreadable characters come on the
screen
> and following out put files are created. -rwxr-xr-x 1 aditya aditya
> 284 May 13 22:12 grid_stat-22may2013.sh-rw-rw-r-- 1 aditya aditya
0
> May 13 22:12 W-rw-rw-r-- 1 aditya aditya        0 May 13 22:12
> L???@e?@H??@?-rw-rw-r-- 1 aditya aditya        0 May 13 22:12
> ffAk?-rw-rw-r-- 1 aditya aditya        0 May 13 22:12 ??{??33@?Q?A-
rw-rw-r--
> 1 aditya aditya    12708 May 13 22:33 temp.ncaditya at agniilap
> :~/geeta/installs/met/RUN_MET-22may2013£
> I am sening my script file, data files and Config file.
>
> pls help. Geeta
>

------------------------------------------------
Subject: Strange output of grid stat
From: Geeta Geeta
Time: Wed May 13 14:21:37 2015

thanks John.this one is solvedGeeta

> Subject: Re: [rt.rap.ucar.edu #71922] Strange output of grid stat
> From: met_help at ucar.edu
> To: geeta124 at hotmail.com
> Date: Wed, 13 May 2015 11:58:30 -0600
>
> Geeta,
>
> Thanks for sending the sample data.  This one is easy.  There's a
typo in
> your script named "grid_stat-22may2013.sh":
>
>      1  #!/bin/sh
>      2  echo
>      3  echo "*** Running Grid-Stat on APCP using netCDF input for
both
> forecast and observation ***"
>      4  ../bin/grid_stat \
>      5     ./WRFPRS_d03.024.25grbtonc2013052100BNG.nc
>      6     ./temp6.nc                        \
>      7     ./GridStatConfig_V5_22may2013      \
>      8     -outdir out-22may2013 -v 4
>
> The backslash character '\' is a line continuation marker which
indicate
> that your command stretches over multiple lines.  You're missing one
at the
> end of the 5th line, which is likely causing your problems.  When I
correct
> that problem, I'm able to run grid_stat fine with your data.
>
> Please take a look and let me know if that resolves your problem.
>
> Thanks,
> John
>
> On Wed, May 13, 2015 at 11:06 AM, Geeta Geeta via RT
<met_help at ucar.edu>
> wrote:
>
> >
> > Wed May 13 11:06:46 2015: Request 71922 was acted upon.
> > Transaction: Ticket created by geeta124 at hotmail.com
> >        Queue: met_help
> >      Subject: Strange output of grid stat
> >        Owner: Nobody
> >   Requestors: geeta124 at hotmail.com
> >       Status: new
> >  Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=71922 >
> >
> >
> > Hi John.
> > I was able to run Grid stat for 2 cases well. Now I did the same
for 22
> > May 2013.
> > I wanted to verify model o/p for the the period 03 UTC of 22May
2013 to
> > 03UTC of 23 May 2013.
> > I used following dataset (TRMM 3hourly files in the bin format).
> > 3B42.130522.06z.7.precipitation.bin.
> > I have converted these bin files to NC files using the Rscript
trmmbin2nc.
> > Then I have following files. -rw-rw-r-- 1 aditya aditya     5376
May 13
> > 16:13 3B42.130522.06z.7.precipitation.nc-rw-rw-r-- 1 aditya aditya
5376
> > May 13 16:13 3B42.130522.09z.7.precipitation.nc-rw-rw-r-- 1 aditya
aditya
> >    5376 May 13 16:14 3B42.130522.12z.7.precipitation.nc-rw-rw-r--
1 aditya
> > aditya     5376 May 13 16:14 3B42.130522.15z.7.precipitation.nc-
rw-rw-r-- 1
> > aditya aditya     5376 May 13 16:14
> > 3B42.130522.18z.7.precipitation.nc-rw-rw-r-- 1 aditya aditya
5376 May
> > 13 16:14 3B42.130522.21z.7.precipitation.nc-rw-rw-r-- 1 aditya
aditya
> >  5376 May 13 16:14 3B42.130523.00z.7.precipitation.nc-rw-rw-r-- 1
aditya
> > aditya     5376 May 13 16:15 3B42.130523.03z.7.precipitation.nc
> > Then these files were added to one nc file using the pcp combine
tool.
> > ditya at agniilap:~/geeta/installs/met/RUN_MET-22may2013£
../bin/pcp_combine
> > -add \3B42.130522.06z.7.precipitation.nc 'name="APCP_03";
level="(*,*)";'
> > \3B42.130522.09z.7.precipitation.nc 'name="APCP_03";
level="(*,*)";' \
> > temp.nc
> > so after adding 8 nc files, I have consolidated one temp6.nc file.
> > when I now run grid stat, some unreadable characters come on the
screen
> > and following out put files are created. -rwxr-xr-x 1 aditya
aditya
> > 284 May 13 22:12 grid_stat-22may2013.sh-rw-rw-r-- 1 aditya aditya
0
> > May 13 22:12 W-rw-rw-r-- 1 aditya aditya        0 May 13 22:12
> > L???@e?@H??@?-rw-rw-r-- 1 aditya aditya        0 May 13 22:12
> > ffAk?-rw-rw-r-- 1 aditya aditya        0 May 13 22:12
??{??33@?Q?A-rw-rw-r--
> > 1 aditya aditya    12708 May 13 22:33 temp.ncaditya at agniilap
> > :~/geeta/installs/met/RUN_MET-22may2013£
> > I am sening my script file, data files and Config file.
> >
> > pls help. Geeta
> >
>

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


More information about the Met_help mailing list