[Met_help] [rt.rap.ucar.edu #70453] History for combining nc files together

John Halley Gotway via RT met_help at ucar.edu
Thu Apr 16 14:00:05 MDT 2015


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

Hi John. 
Sorry to bother you again n again. But I have no choice. I want to know the followingI have 8 nc files. bash-3.2$ ls -ltotal 216336-rw-r--r--    1 model    staff      13841488 Jan 21 11:24 3B42.20110422.06.7.nc-rw-r--r--    1 model    staff      13841488 Jan 21 11:27 3B42.20110422.09.7.nc-rw-r--r--    1 model    staff      13841492 Jan 21 14:01 3B42.20110422.12.7.nc-rw-r--r--    1 model    staff      13841492 Jan 21 13:16 3B42.20110422.15.7.nc-rw-r--r--    1 model    staff      13841492 Jan 21 14:51 3B42.20110422.18.7.nc-rw-r--r--    1 model    staff      13841492 Jan 21 13:21 3B42.20110422.21.7.nc-rw-r--r--    1 model    staff      13841488 Jan 21 13:22 3B42.20110423.00.7.nc-rw-r--r--    1 model    staff      13841488 Jan 21 13:50 3B42.20110423.03.7.ncbash-3.2$ pwd
I need to make ONE 24 hour RF accumulated file starting 06UTC of 22.04.2011 - 03UTC of 23.04.2011. How do I do that???
Geeta


 		 	   		  

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

Subject: combining nc files together
From: John Halley Gotway
Time: Wed Jan 21 10:45:12 2015

Geeta,

I'm assuming the variable in the NetCDF files is named "APCP_03".  If
not,
just switch in the actual name.  You can run the following pcp_combine
-add
command:

pcp_combine -add \
   3B42.20110422.09.7.nc 'name="APCP_03"; level="(*,*)";' \
   3B42.20110422.12.7.nc 'name="APCP_03"; level="(*,*)";' \
   3B42.20110422.15.7.nc 'name="APCP_03"; level="(*,*)";' \
   3B42.20110422.18.7.nc 'name="APCP_03"; level="(*,*)";' \
   3B42.20110422.21.7.nc 'name="APCP_03"; level="(*,*)";' \
   3B42.20110423.00.7.nc 'name="APCP_03"; level="(*,*)";' \
   3B42.20110423.03.7.nc 'name="APCP_03"; level="(*,*)";' \
   3B42.20110423.06.7.nc 'name="APCP_03"; level="(*,*)";' \
   3B42.20110423.06.7_APCP_24.nc

The last file listed is just the output file name I chose.  But you
can
name it whatever you'd like.

John


On Wed, Jan 21, 2015 at 4:02 AM, Geeta Geeta via RT
<met_help at ucar.edu>
wrote:

>
> Wed Jan 21 04:02:41 2015: Request 70453 was acted upon.
> Transaction: Ticket created by geeta124 at hotmail.com
>        Queue: met_help
>      Subject: combining nc files together
>        Owner: Nobody
>   Requestors: geeta124 at hotmail.com
>       Status: new
>  Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453 >
>
>
> Hi John.
> Sorry to bother you again n again. But I have no choice. I want to
know
> the followingI have 8 nc files. bash-3.2$ ls -ltotal 216336-rw-r--
r--    1
> model    staff      13841488 Jan 21 11:24 3B42.20110422.06.7.nc-rw-
r--r--
>   1 model    staff      13841488 Jan 21 11:27
> 3B42.20110422.09.7.nc-rw-r--r--    1 model    staff      13841492
Jan 21
> 14:01 3B42.20110422.12.7.nc-rw-r--r--    1 model    staff
13841492 Jan
> 21 13:16 3B42.20110422.15.7.nc-rw-r--r--    1 model    staff
13841492
> Jan 21 14:51 3B42.20110422.18.7.nc-rw-r--r--    1 model    staff
> 13841492 Jan 21 13:21 3B42.20110422.21.7.nc-rw-r--r--    1 model
staff
>     13841488 Jan 21 13:22 3B42.20110423.00.7.nc-rw-r--r--    1 model
> staff      13841488 Jan 21 13:50 3B42.20110423.03.7.ncbash-3.2$ pwd
> I need to make ONE 24 hour RF accumulated file starting 06UTC of
> 22.04.2011 - 03UTC of 23.04.2011. How do I do that???
> Geeta
>
>
>
>

------------------------------------------------
Subject: combining nc files together
From: Geeta Geeta
Time: Fri Jan 23 04:06:42 2015

Hi John. Your help is needed at every step. Now I want to know which
software can be used for making the QUILT plot (intensity and spatial
distribution) plot. Can It be done in using MET5.0. How Can I plot the
point data that I used in MET5.0???KIndly guide me. Also pls tell me
if u can figure out the issue of 3hrly RF accumulations if the files
are in the NETCDF format. Geeta

From: geeta124 at hotmail.com
To: met_help at ucar.edu
Subject: RE: [rt.rap.ucar.edu #70453] combining nc files together
Date: Thu, 22 Jan 2015 16:30:34 +0530




thanks John.  the pcp combine tool uses only GRIB1 files. these were
netcdf files (attaching one).I had downloaded the NC files from
http://mirador.gsfc.nasa.gov/cgi-
bin/mirador/granlist.pl?page=1&location=(-90,-
180),(90,180)&dataSet=TRMM_3B42&version=007&allversion=007&startTime=2011-
04-22T00:00:01Z&endTime=2011-04-
22T23:59:59Z&keyword=TRMM_3B42&longname=TRMM%203-
Hourly%200.25%20deg.%20TRMM%20and%20Others%20Rainfall%20Estimate%20Data&CGISESSID=02499c2107ddfb60a3e46d6b99df3d79&prodpg=http://mirador.gsfc.nasa.gov/collections/TRMM_3B42__007.shtmlI
got following error. bash-3.2$ ./run_pcptool.sh Running PCP
toolPerforming addition command for 2 files.Reading input file:
3B42.20110422.12.7.nc    GribFile::skip_header() -> can't find "GRIB"
magic cookie   ERROR: get_field() -> can't open grib file:
3B42.20110422.12.7.nc
Following is my script--------!/bin/sh
echo " Running PCP tool"~/wrf3/utils/met/METv3.0/bin/pcp_combine -add
3B42.20110422.12.7.nc 03 3B42.20110422.15.7.nc 03 myoutput.nc
Kindly suggest.

the second thing I was thinking to download the TRMM data from thelink
at DTC website and then converying the 3 hourly bins to NC.
2.2
MBftp://disc2.nascom.nasa.gov/data/TRMM/Gridded/3B42_V7/201104/3B42.110422.15z.7.precipitation.bin
But my problem will be to ACCUMULATE them. I need to verify the model
data starting 06 UTC of day1 to 03UTC of DAY2. I mean how do I combine
all the NC  files together. Kindly suggest
> Subject: Re: [rt.rap.ucar.edu #70453] combining nc files together
> From: met_help at ucar.edu
> To: geeta124 at hotmail.com
> Date: Wed, 21 Jan 2015 10:45:12 -0700
>
> Geeta,
>
> I'm assuming the variable in the NetCDF files is named "APCP_03".
If not,
> just switch in the actual name.  You can run the following
pcp_combine -add
> command:
>
> pcp_combine -add \
>    3B42.20110422.09.7.nc 'name="APCP_03"; level="(*,*)";' \
>    3B42.20110422.12.7.nc 'name="APCP_03"; level="(*,*)";' \
>    3B42.20110422.15.7.nc 'name="APCP_03"; level="(*,*)";' \
>    3B42.20110422.18.7.nc 'name="APCP_03"; level="(*,*)";' \
>    3B42.20110422.21.7.nc 'name="APCP_03"; level="(*,*)";' \
>    3B42.20110423.00.7.nc 'name="APCP_03"; level="(*,*)";' \
>    3B42.20110423.03.7.nc 'name="APCP_03"; level="(*,*)";' \
>    3B42.20110423.06.7.nc 'name="APCP_03"; level="(*,*)";' \
>    3B42.20110423.06.7_APCP_24.nc
>
> The last file listed is just the output file name I chose.  But you
can
> name it whatever you'd like.
>
> John
>
>
> On Wed, Jan 21, 2015 at 4:02 AM, Geeta Geeta via RT
<met_help at ucar.edu>
> wrote:
>
> >
> > Wed Jan 21 04:02:41 2015: Request 70453 was acted upon.
> > Transaction: Ticket created by geeta124 at hotmail.com
> >        Queue: met_help
> >      Subject: combining nc files together
> >        Owner: Nobody
> >   Requestors: geeta124 at hotmail.com
> >       Status: new
> >  Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453 >
> >
> >
> > Hi John.
> > Sorry to bother you again n again. But I have no choice. I want to
know
> > the followingI have 8 nc files. bash-3.2$ ls -ltotal 216336-rw-r--
r--    1
> > model    staff      13841488 Jan 21 11:24 3B42.20110422.06.7.nc-
rw-r--r--
> >   1 model    staff      13841488 Jan 21 11:27
> > 3B42.20110422.09.7.nc-rw-r--r--    1 model    staff      13841492
Jan 21
> > 14:01 3B42.20110422.12.7.nc-rw-r--r--    1 model    staff
13841492 Jan
> > 21 13:16 3B42.20110422.15.7.nc-rw-r--r--    1 model    staff
13841492
> > Jan 21 14:51 3B42.20110422.18.7.nc-rw-r--r--    1 model    staff
> > 13841492 Jan 21 13:21 3B42.20110422.21.7.nc-rw-r--r--    1 model
staff
> >     13841488 Jan 21 13:22 3B42.20110423.00.7.nc-rw-r--r--    1
model
> > staff      13841488 Jan 21 13:50 3B42.20110423.03.7.ncbash-3.2$
pwd
> > I need to make ONE 24 hour RF accumulated file starting 06UTC of
> > 22.04.2011 - 03UTC of 23.04.2011. How do I do that???
> > Geeta
> >
> >
> >
> >
>

------------------------------------------------
Subject: combining nc files together
From: John Halley Gotway
Time: Fri Jan 23 11:09:23 2015

Geeta,

Regarding 3-hourly RF accumulations, if MET is able to read those
NetCDF
files, you can run them through PCP-Combine to "add" them all
together.
Just use the example PCP_Combine command I already sent you but modify
the
"name" entry to list the name of the NetCDF variable you want to use.
If
MET is not able to read them, then it's up to you to figure out how to
accumulate them.

If you're familiar with R, you could use the "ncdf" library in R to
read
data from one or more NetCDF files, add them up, and write it out to a
new
file.  Alternatively, "nco" (NetCDF Operators) provide some capability
of
doing simple operations on NetCDF files.  You might be able to use
them.

Regarding quilt plots, I've only used R to make them in the past.
Specifically, the "quilt.plot" function in the R package named
"fields".
Please take a look at this website:
   http://www.dtcenter.org/met/users/downloads/analysis_scripts.php

The Rscript named "mode_quilt_plot.R" provides an example of using R
to
make quilt plots.  Example output from that script is also included on
that
page.

Thanks,
John

On Fri, Jan 23, 2015 at 4:06 AM, Geeta Geeta via RT
<met_help at ucar.edu>
wrote:

>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453 >
>
> Hi John. Your help is needed at every step. Now I want to know which
> software can be used for making the QUILT plot (intensity and
spatial
> distribution) plot. Can It be done in using MET5.0. How Can I plot
the
> point data that I used in MET5.0???KIndly guide me. Also pls tell me
if u
> can figure out the issue of 3hrly RF accumulations if the files are
in the
> NETCDF format. Geeta
>
> From: geeta124 at hotmail.com
> To: met_help at ucar.edu
> Subject: RE: [rt.rap.ucar.edu #70453] combining nc files together
> Date: Thu, 22 Jan 2015 16:30:34 +0530
>
>
>
>
> thanks John.  the pcp combine tool uses only GRIB1 files. these were
> netcdf files (attaching one).I had downloaded the NC files from
> http://mirador.gsfc.nasa.gov/cgi-
bin/mirador/granlist.pl?page=1&location=(-90,-
180),(90,180)&dataSet=TRMM_3B42&version=007&allversion=007&startTime=2011-
04-22T00:00:01Z&endTime=2011-04-
22T23:59:59Z&keyword=TRMM_3B42&longname=TRMM%203-
Hourly%200.25%20deg.%20TRMM%20and%20Others%20Rainfall%20Estimate%20Data&CGISESSID=02499c2107ddfb60a3e46d6b99df3d79&prodpg=http://mirador.gsfc.nasa.gov/collections/TRMM_3B42__007.shtmlI
> got following error. bash-3.2$ ./run_pcptool.sh Running PCP
toolPerforming
> addition command for 2 files.Reading input file:
3B42.20110422.12.7.nc
> GribFile::skip_header() -> can't find "GRIB" magic cookie   ERROR:
> get_field() -> can't open grib file: 3B42.20110422.12.7.nc
> Following is my script--------!/bin/sh
>
>              echo " Running PCP
> tool"~/wrf3/utils/met/METv3.0/bin/pcp_combine -add
3B42.20110422.12.7.nc
> 03 3B42.20110422.15.7.nc 03 myoutput.nc
> Kindly suggest.
>
> the second thing I was thinking to download the TRMM data from
thelink at
> DTC website and then converying the 3 hourly bins to NC.
> 2.2 MBftp://
>
disc2.nascom.nasa.gov/data/TRMM/Gridded/3B42_V7/201104/3B42.110422.15z.7.precipitation.bin
> But my problem will be to ACCUMULATE them. I need to verify the
model data
> starting 06 UTC of day1 to 03UTC of DAY2. I mean how do I combine
all the
> NC  files together. Kindly suggest
> > Subject: Re: [rt.rap.ucar.edu #70453] combining nc files together
> > From: met_help at ucar.edu
> > To: geeta124 at hotmail.com
> > Date: Wed, 21 Jan 2015 10:45:12 -0700
> >
> > Geeta,
> >
> > I'm assuming the variable in the NetCDF files is named "APCP_03".
If
> not,
> > just switch in the actual name.  You can run the following
pcp_combine
> -add
> > command:
> >
> > pcp_combine -add \
> >    3B42.20110422.09.7.nc 'name="APCP_03"; level="(*,*)";' \
> >    3B42.20110422.12.7.nc 'name="APCP_03"; level="(*,*)";' \
> >    3B42.20110422.15.7.nc 'name="APCP_03"; level="(*,*)";' \
> >    3B42.20110422.18.7.nc 'name="APCP_03"; level="(*,*)";' \
> >    3B42.20110422.21.7.nc 'name="APCP_03"; level="(*,*)";' \
> >    3B42.20110423.00.7.nc 'name="APCP_03"; level="(*,*)";' \
> >    3B42.20110423.03.7.nc 'name="APCP_03"; level="(*,*)";' \
> >    3B42.20110423.06.7.nc 'name="APCP_03"; level="(*,*)";' \
> >    3B42.20110423.06.7_APCP_24.nc
> >
> > The last file listed is just the output file name I chose.  But
you can
> > name it whatever you'd like.
> >
> > John
> >
> >
> > On Wed, Jan 21, 2015 at 4:02 AM, Geeta Geeta via RT
<met_help at ucar.edu>
> > wrote:
> >
> > >
> > > Wed Jan 21 04:02:41 2015: Request 70453 was acted upon.
> > > Transaction: Ticket created by geeta124 at hotmail.com
> > >        Queue: met_help
> > >      Subject: combining nc files together
> > >        Owner: Nobody
> > >   Requestors: geeta124 at hotmail.com
> > >       Status: new
> > >  Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453
> >
> > >
> > >
> > > Hi John.
> > > Sorry to bother you again n again. But I have no choice. I want
to know
> > > the followingI have 8 nc files. bash-3.2$ ls -ltotal 216336-rw-
r--r--
>   1
> > > model    staff      13841488 Jan 21 11:24
> 3B42.20110422.06.7.nc-rw-r--r--
> > >   1 model    staff      13841488 Jan 21 11:27
> > > 3B42.20110422.09.7.nc-rw-r--r--    1 model    staff
13841492 Jan
> 21
> > > 14:01 3B42.20110422.12.7.nc-rw-r--r--    1 model    staff
> 13841492 Jan
> > > 21 13:16 3B42.20110422.15.7.nc-rw-r--r--    1 model    staff
> 13841492
> > > Jan 21 14:51 3B42.20110422.18.7.nc-rw-r--r--    1 model    staff
> > > 13841492 Jan 21 13:21 3B42.20110422.21.7.nc-rw-r--r--    1 model
> staff
> > >     13841488 Jan 21 13:22 3B42.20110423.00.7.nc-rw-r--r--    1
model
> > > staff      13841488 Jan 21 13:50 3B42.20110423.03.7.ncbash-3.2$
pwd
> > > I need to make ONE 24 hour RF accumulated file starting 06UTC of
> > > 22.04.2011 - 03UTC of 23.04.2011. How do I do that???
> > > Geeta
> > >
> > >
> > >
> > >
> >
>
>

------------------------------------------------
Subject: combining nc files together
From: Geeta Geeta
Time: Mon Jan 26 07:28:51 2015

Hi John.
the link
http://www.dtcenter.org/met/users/downloads/analysis_scripts.php has
the plots for the cnt statistics.
I am not familiar with R. I am going thru the plot_cnt.R script.
but I want to know what will be the data format for the Quilt plot.
Do I have to write my own script???.
Kindly let me know about the data format and how I have to modify the
above script in order to make the quilt plot.
Regards
Geeta

> Subject: Re: [rt.rap.ucar.edu #70453] combining nc files together
> From: met_help at ucar.edu
> To: geeta124 at hotmail.com
> Date: Fri, 23 Jan 2015 11:09:23 -0700
>
> Geeta,
>
> Regarding 3-hourly RF accumulations, if MET is able to read those
NetCDF
> files, you can run them through PCP-Combine to "add" them all
together.
> Just use the example PCP_Combine command I already sent you but
modify the
> "name" entry to list the name of the NetCDF variable you want to
use.  If
> MET is not able to read them, then it's up to you to figure out how
to
> accumulate them.
>
> If you're familiar with R, you could use the "ncdf" library in R to
read
> data from one or more NetCDF files, add them up, and write it out to
a new
> file.  Alternatively, "nco" (NetCDF Operators) provide some
capability of
> doing simple operations on NetCDF files.  You might be able to use
them.
>
> Regarding quilt plots, I've only used R to make them in the past.
> Specifically, the "quilt.plot" function in the R package named
"fields".
> Please take a look at this website:
>    http://www.dtcenter.org/met/users/downloads/analysis_scripts.php
>
> The Rscript named "mode_quilt_plot.R" provides an example of using R
to
> make quilt plots.  Example output from that script is also included
on that
> page.
>
> Thanks,
> John
>
> On Fri, Jan 23, 2015 at 4:06 AM, Geeta Geeta via RT
<met_help at ucar.edu>
> wrote:
>
> >
> > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453 >
> >
> > Hi John. Your help is needed at every step. Now I want to know
which
> > software can be used for making the QUILT plot (intensity and
spatial
> > distribution) plot. Can It be done in using MET5.0. How Can I plot
the
> > point data that I used in MET5.0???KIndly guide me. Also pls tell
me if u
> > can figure out the issue of 3hrly RF accumulations if the files
are in the
> > NETCDF format. Geeta
> >
> > From: geeta124 at hotmail.com
> > To: met_help at ucar.edu
> > Subject: RE: [rt.rap.ucar.edu #70453] combining nc files together
> > Date: Thu, 22 Jan 2015 16:30:34 +0530
> >
> >
> >
> >
> > thanks John.  the pcp combine tool uses only GRIB1 files. these
were
> > netcdf files (attaching one).I had downloaded the NC files from
> > http://mirador.gsfc.nasa.gov/cgi-
bin/mirador/granlist.pl?page=1&location=(-90,-
180),(90,180)&dataSet=TRMM_3B42&version=007&allversion=007&startTime=2011-
04-22T00:00:01Z&endTime=2011-04-
22T23:59:59Z&keyword=TRMM_3B42&longname=TRMM%203-
Hourly%200.25%20deg.%20TRMM%20and%20Others%20Rainfall%20Estimate%20Data&CGISESSID=02499c2107ddfb60a3e46d6b99df3d79&prodpg=http://mirador.gsfc.nasa.gov/collections/TRMM_3B42__007.shtmlI
> > got following error. bash-3.2$ ./run_pcptool.sh Running PCP
toolPerforming
> > addition command for 2 files.Reading input file:
3B42.20110422.12.7.nc
> > GribFile::skip_header() -> can't find "GRIB" magic cookie   ERROR:
> > get_field() -> can't open grib file: 3B42.20110422.12.7.nc
> > Following is my script--------!/bin/sh
> >
> >              echo " Running PCP
> > tool"~/wrf3/utils/met/METv3.0/bin/pcp_combine -add
3B42.20110422.12.7.nc
> > 03 3B42.20110422.15.7.nc 03 myoutput.nc
> > Kindly suggest.
> >
> > the second thing I was thinking to download the TRMM data from
thelink at
> > DTC website and then converying the 3 hourly bins to NC.
> > 2.2 MBftp://
> >
disc2.nascom.nasa.gov/data/TRMM/Gridded/3B42_V7/201104/3B42.110422.15z.7.precipitation.bin
> > But my problem will be to ACCUMULATE them. I need to verify the
model data
> > starting 06 UTC of day1 to 03UTC of DAY2. I mean how do I combine
all the
> > NC  files together. Kindly suggest
> > > Subject: Re: [rt.rap.ucar.edu #70453] combining nc files
together
> > > From: met_help at ucar.edu
> > > To: geeta124 at hotmail.com
> > > Date: Wed, 21 Jan 2015 10:45:12 -0700
> > >
> > > Geeta,
> > >
> > > I'm assuming the variable in the NetCDF files is named
"APCP_03".  If
> > not,
> > > just switch in the actual name.  You can run the following
pcp_combine
> > -add
> > > command:
> > >
> > > pcp_combine -add \
> > >    3B42.20110422.09.7.nc 'name="APCP_03"; level="(*,*)";' \
> > >    3B42.20110422.12.7.nc 'name="APCP_03"; level="(*,*)";' \
> > >    3B42.20110422.15.7.nc 'name="APCP_03"; level="(*,*)";' \
> > >    3B42.20110422.18.7.nc 'name="APCP_03"; level="(*,*)";' \
> > >    3B42.20110422.21.7.nc 'name="APCP_03"; level="(*,*)";' \
> > >    3B42.20110423.00.7.nc 'name="APCP_03"; level="(*,*)";' \
> > >    3B42.20110423.03.7.nc 'name="APCP_03"; level="(*,*)";' \
> > >    3B42.20110423.06.7.nc 'name="APCP_03"; level="(*,*)";' \
> > >    3B42.20110423.06.7_APCP_24.nc
> > >
> > > The last file listed is just the output file name I chose.  But
you can
> > > name it whatever you'd like.
> > >
> > > John
> > >
> > >
> > > On Wed, Jan 21, 2015 at 4:02 AM, Geeta Geeta via RT
<met_help at ucar.edu>
> > > wrote:
> > >
> > > >
> > > > Wed Jan 21 04:02:41 2015: Request 70453 was acted upon.
> > > > Transaction: Ticket created by geeta124 at hotmail.com
> > > >        Queue: met_help
> > > >      Subject: combining nc files together
> > > >        Owner: Nobody
> > > >   Requestors: geeta124 at hotmail.com
> > > >       Status: new
> > > >  Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453
> > >
> > > >
> > > >
> > > > Hi John.
> > > > Sorry to bother you again n again. But I have no choice. I
want to know
> > > > the followingI have 8 nc files. bash-3.2$ ls -ltotal 216336-
rw-r--r--
> >   1
> > > > model    staff      13841488 Jan 21 11:24
> > 3B42.20110422.06.7.nc-rw-r--r--
> > > >   1 model    staff      13841488 Jan 21 11:27
> > > > 3B42.20110422.09.7.nc-rw-r--r--    1 model    staff
13841492 Jan
> > 21
> > > > 14:01 3B42.20110422.12.7.nc-rw-r--r--    1 model    staff
> > 13841492 Jan
> > > > 21 13:16 3B42.20110422.15.7.nc-rw-r--r--    1 model    staff
> > 13841492
> > > > Jan 21 14:51 3B42.20110422.18.7.nc-rw-r--r--    1 model
staff
> > > > 13841492 Jan 21 13:21 3B42.20110422.21.7.nc-rw-r--r--    1
model
> > staff
> > > >     13841488 Jan 21 13:22 3B42.20110423.00.7.nc-rw-r--r--    1
model
> > > > staff      13841488 Jan 21 13:50 3B42.20110423.03.7.ncbash-
3.2$ pwd
> > > > I need to make ONE 24 hour RF accumulated file starting 06UTC
of
> > > > 22.04.2011 - 03UTC of 23.04.2011. How do I do that???
> > > > Geeta
> > > >
> > > >
> > > >
> > > >
> > >
> >
> >
>

------------------------------------------------
Subject: combining nc files together
From: John Halley Gotway
Time: Mon Jan 26 09:58:32 2015

Geeta,

On that webpage (
http://www.dtcenter.org/met/users/downloads/analysis_scripts.php),
please
look specifically at the script named "mode_quilt_plot.R".  Here's the
direct link to that script:
   http://www.dtcenter.org/met/users/downloads/Rscripts/mode_quilt_plot.R

And here's a direct link to the sample output that script creates:

http://www.dtcenter.org/met/users/downloads/Rscripts/SAMPLE_mode_quilts.pdf

This is an example of using R to make a quilt plot for the output of
the
MODE tool.  You might also use a quilt plot to display fractions skill
score from the Grid-Stat tool, if you've run FSS for multiple
thresholds
and neighborhood sizes.

John

On Mon, Jan 26, 2015 at 7:28 AM, Geeta Geeta via RT
<met_help at ucar.edu>
wrote:

>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453 >
>
> Hi John.
> the link
http://www.dtcenter.org/met/users/downloads/analysis_scripts.php
> has the plots for the cnt statistics.
> I am not familiar with R. I am going thru the plot_cnt.R script.
> but I want to know what will be the data format for the Quilt plot.
> Do I have to write my own script???.
> Kindly let me know about the data format and how I have to modify
the
> above script in order to make the quilt plot.
> Regards
> Geeta
>
> > Subject: Re: [rt.rap.ucar.edu #70453] combining nc files together
> > From: met_help at ucar.edu
> > To: geeta124 at hotmail.com
> > Date: Fri, 23 Jan 2015 11:09:23 -0700
> >
> > Geeta,
> >
> > Regarding 3-hourly RF accumulations, if MET is able to read those
NetCDF
> > files, you can run them through PCP-Combine to "add" them all
together.
> > Just use the example PCP_Combine command I already sent you but
modify
> the
> > "name" entry to list the name of the NetCDF variable you want to
use.  If
> > MET is not able to read them, then it's up to you to figure out
how to
> > accumulate them.
> >
> > If you're familiar with R, you could use the "ncdf" library in R
to read
> > data from one or more NetCDF files, add them up, and write it out
to a
> new
> > file.  Alternatively, "nco" (NetCDF Operators) provide some
capability of
> > doing simple operations on NetCDF files.  You might be able to use
them.
> >
> > Regarding quilt plots, I've only used R to make them in the past.
> > Specifically, the "quilt.plot" function in the R package named
"fields".
> > Please take a look at this website:
> >
http://www.dtcenter.org/met/users/downloads/analysis_scripts.php
> >
> > The Rscript named "mode_quilt_plot.R" provides an example of using
R to
> > make quilt plots.  Example output from that script is also
included on
> that
> > page.
> >
> > Thanks,
> > John
> >
> > On Fri, Jan 23, 2015 at 4:06 AM, Geeta Geeta via RT
<met_help at ucar.edu>
> > wrote:
> >
> > >
> > > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453 >
> > >
> > > Hi John. Your help is needed at every step. Now I want to know
which
> > > software can be used for making the QUILT plot (intensity and
spatial
> > > distribution) plot. Can It be done in using MET5.0. How Can I
plot the
> > > point data that I used in MET5.0???KIndly guide me. Also pls
tell me
> if u
> > > can figure out the issue of 3hrly RF accumulations if the files
are in
> the
> > > NETCDF format. Geeta
> > >
> > > From: geeta124 at hotmail.com
> > > To: met_help at ucar.edu
> > > Subject: RE: [rt.rap.ucar.edu #70453] combining nc files
together
> > > Date: Thu, 22 Jan 2015 16:30:34 +0530
> > >
> > >
> > >
> > >
> > > thanks John.  the pcp combine tool uses only GRIB1 files. these
were
> > > netcdf files (attaching one).I had downloaded the NC files from
> > >
> http://mirador.gsfc.nasa.gov/cgi-
bin/mirador/granlist.pl?page=1&location=(-90,-
180),(90,180)&dataSet=TRMM_3B42&version=007&allversion=007&startTime=2011-
04-22T00:00:01Z&endTime=2011-04-
22T23:59:59Z&keyword=TRMM_3B42&longname=TRMM%203-
Hourly%200.25%20deg.%20TRMM%20and%20Others%20Rainfall%20Estimate%20Data&CGISESSID=02499c2107ddfb60a3e46d6b99df3d79&prodpg=http://mirador.gsfc.nasa.gov/collections/TRMM_3B42__007.shtmlI
> > > got following error. bash-3.2$ ./run_pcptool.sh Running PCP
> toolPerforming
> > > addition command for 2 files.Reading input file:
3B42.20110422.12.7.nc
> > > GribFile::skip_header() -> can't find "GRIB" magic cookie
ERROR:
> > > get_field() -> can't open grib file: 3B42.20110422.12.7.nc
> > > Following is my script--------!/bin/sh
> > >
> > >              echo " Running PCP
> > > tool"~/wrf3/utils/met/METv3.0/bin/pcp_combine -add
> 3B42.20110422.12.7.nc
> > > 03 3B42.20110422.15.7.nc 03 myoutput.nc
> > > Kindly suggest.
> > >
> > > the second thing I was thinking to download the TRMM data from
thelink
> at
> > > DTC website and then converying the 3 hourly bins to NC.
> > > 2.2 MBftp://
> > >
>
disc2.nascom.nasa.gov/data/TRMM/Gridded/3B42_V7/201104/3B42.110422.15z.7.precipitation.bin
> > > But my problem will be to ACCUMULATE them. I need to verify the
model
> data
> > > starting 06 UTC of day1 to 03UTC of DAY2. I mean how do I
combine all
> the
> > > NC  files together. Kindly suggest
> > > > Subject: Re: [rt.rap.ucar.edu #70453] combining nc files
together
> > > > From: met_help at ucar.edu
> > > > To: geeta124 at hotmail.com
> > > > Date: Wed, 21 Jan 2015 10:45:12 -0700
> > > >
> > > > Geeta,
> > > >
> > > > I'm assuming the variable in the NetCDF files is named
"APCP_03".  If
> > > not,
> > > > just switch in the actual name.  You can run the following
> pcp_combine
> > > -add
> > > > command:
> > > >
> > > > pcp_combine -add \
> > > >    3B42.20110422.09.7.nc 'name="APCP_03"; level="(*,*)";' \
> > > >    3B42.20110422.12.7.nc 'name="APCP_03"; level="(*,*)";' \
> > > >    3B42.20110422.15.7.nc 'name="APCP_03"; level="(*,*)";' \
> > > >    3B42.20110422.18.7.nc 'name="APCP_03"; level="(*,*)";' \
> > > >    3B42.20110422.21.7.nc 'name="APCP_03"; level="(*,*)";' \
> > > >    3B42.20110423.00.7.nc 'name="APCP_03"; level="(*,*)";' \
> > > >    3B42.20110423.03.7.nc 'name="APCP_03"; level="(*,*)";' \
> > > >    3B42.20110423.06.7.nc 'name="APCP_03"; level="(*,*)";' \
> > > >    3B42.20110423.06.7_APCP_24.nc
> > > >
> > > > The last file listed is just the output file name I chose.
But you
> can
> > > > name it whatever you'd like.
> > > >
> > > > John
> > > >
> > > >
> > > > On Wed, Jan 21, 2015 at 4:02 AM, Geeta Geeta via RT <
> met_help at ucar.edu>
> > > > wrote:
> > > >
> > > > >
> > > > > Wed Jan 21 04:02:41 2015: Request 70453 was acted upon.
> > > > > Transaction: Ticket created by geeta124 at hotmail.com
> > > > >        Queue: met_help
> > > > >      Subject: combining nc files together
> > > > >        Owner: Nobody
> > > > >   Requestors: geeta124 at hotmail.com
> > > > >       Status: new
> > > > >  Ticket <URL:
> https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453
> > > >
> > > > >
> > > > >
> > > > > Hi John.
> > > > > Sorry to bother you again n again. But I have no choice. I
want to
> know
> > > > > the followingI have 8 nc files. bash-3.2$ ls -ltotal
> 216336-rw-r--r--
> > >   1
> > > > > model    staff      13841488 Jan 21 11:24
> > > 3B42.20110422.06.7.nc-rw-r--r--
> > > > >   1 model    staff      13841488 Jan 21 11:27
> > > > > 3B42.20110422.09.7.nc-rw-r--r--    1 model    staff
13841492
> Jan
> > > 21
> > > > > 14:01 3B42.20110422.12.7.nc-rw-r--r--    1 model    staff
> > > 13841492 Jan
> > > > > 21 13:16 3B42.20110422.15.7.nc-rw-r--r--    1 model    staff
> > > 13841492
> > > > > Jan 21 14:51 3B42.20110422.18.7.nc-rw-r--r--    1 model
staff
> > > > > 13841492 Jan 21 13:21 3B42.20110422.21.7.nc-rw-r--r--    1
model
> > > staff
> > > > >     13841488 Jan 21 13:22 3B42.20110423.00.7.nc-rw-r--r--
1
> model
> > > > > staff      13841488 Jan 21 13:50 3B42.20110423.03.7.ncbash-
3.2$ pwd
> > > > > I need to make ONE 24 hour RF accumulated file starting
06UTC of
> > > > > 22.04.2011 - 03UTC of 23.04.2011. How do I do that???
> > > > > Geeta
> > > > >
> > > > >
> > > > >
> > > > >
> > > >
> > >
> > >
> >
>
>

------------------------------------------------
Subject: combining nc files together
From: Geeta Geeta
Time: Thu Jan 29 04:35:35 2015

Hi John.
So I was able to sum up all the 3 hourly TRMM files and then convert
the final file into One called Obs22apr2011.bin.
I have done that using Grads and now I am using the R script for
converting into NC.
But I got the error.
aditya at agniilap:~/geeta/installs/met/RUN_MET-22apr2011$ Rscript
../trmm_to_nc/trmmbin2nc_mod.R Obs22apr2011.bin Obs22apr2011.nc


ERROR: Can't figure out the accumulation interval!

I am sending you the data files and the R script (I changed the
domain).
The data is plotted fine. Also pls tell me about the ncview questions
that I was asking. reg the plotting of MPR's
Kindly suggest.
Geeta




> Subject: Re: [rt.rap.ucar.edu #70453] combining nc files together
> From: met_help at ucar.edu
> To: geeta124 at hotmail.com
> Date: Mon, 26 Jan 2015 09:58:32 -0700
>
> Geeta,
>
> On that webpage (
> http://www.dtcenter.org/met/users/downloads/analysis_scripts.php),
please
> look specifically at the script named "mode_quilt_plot.R".  Here's
the
> direct link to that script:
>
http://www.dtcenter.org/met/users/downloads/Rscripts/mode_quilt_plot.R
>
> And here's a direct link to the sample output that script creates:
>
>
http://www.dtcenter.org/met/users/downloads/Rscripts/SAMPLE_mode_quilts.pdf
>
> This is an example of using R to make a quilt plot for the output of
the
> MODE tool.  You might also use a quilt plot to display fractions
skill
> score from the Grid-Stat tool, if you've run FSS for multiple
thresholds
> and neighborhood sizes.
>
> John
>
> On Mon, Jan 26, 2015 at 7:28 AM, Geeta Geeta via RT
<met_help at ucar.edu>
> wrote:
>
> >
> > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453 >
> >
> > Hi John.
> > the link
http://www.dtcenter.org/met/users/downloads/analysis_scripts.php
> > has the plots for the cnt statistics.
> > I am not familiar with R. I am going thru the plot_cnt.R script.
> > but I want to know what will be the data format for the Quilt
plot.
> > Do I have to write my own script???.
> > Kindly let me know about the data format and how I have to modify
the
> > above script in order to make the quilt plot.
> > Regards
> > Geeta
> >
> > > Subject: Re: [rt.rap.ucar.edu #70453] combining nc files
together
> > > From: met_help at ucar.edu
> > > To: geeta124 at hotmail.com
> > > Date: Fri, 23 Jan 2015 11:09:23 -0700
> > >
> > > Geeta,
> > >
> > > Regarding 3-hourly RF accumulations, if MET is able to read
those NetCDF
> > > files, you can run them through PCP-Combine to "add" them all
together.
> > > Just use the example PCP_Combine command I already sent you but
modify
> > the
> > > "name" entry to list the name of the NetCDF variable you want to
use.  If
> > > MET is not able to read them, then it's up to you to figure out
how to
> > > accumulate them.
> > >
> > > If you're familiar with R, you could use the "ncdf" library in R
to read
> > > data from one or more NetCDF files, add them up, and write it
out to a
> > new
> > > file.  Alternatively, "nco" (NetCDF Operators) provide some
capability of
> > > doing simple operations on NetCDF files.  You might be able to
use them.
> > >
> > > Regarding quilt plots, I've only used R to make them in the
past.
> > > Specifically, the "quilt.plot" function in the R package named
"fields".
> > > Please take a look at this website:
> > >
http://www.dtcenter.org/met/users/downloads/analysis_scripts.php
> > >
> > > The Rscript named "mode_quilt_plot.R" provides an example of
using R to
> > > make quilt plots.  Example output from that script is also
included on
> > that
> > > page.
> > >
> > > Thanks,
> > > John
> > >
> > > On Fri, Jan 23, 2015 at 4:06 AM, Geeta Geeta via RT
<met_help at ucar.edu>
> > > wrote:
> > >
> > > >
> > > > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453
>
> > > >
> > > > Hi John. Your help is needed at every step. Now I want to know
which
> > > > software can be used for making the QUILT plot (intensity and
spatial
> > > > distribution) plot. Can It be done in using MET5.0. How Can I
plot the
> > > > point data that I used in MET5.0???KIndly guide me. Also pls
tell me
> > if u
> > > > can figure out the issue of 3hrly RF accumulations if the
files are in
> > the
> > > > NETCDF format. Geeta
> > > >
> > > > From: geeta124 at hotmail.com
> > > > To: met_help at ucar.edu
> > > > Subject: RE: [rt.rap.ucar.edu #70453] combining nc files
together
> > > > Date: Thu, 22 Jan 2015 16:30:34 +0530
> > > >
> > > >
> > > >
> > > >
> > > > thanks John.  the pcp combine tool uses only GRIB1 files.
these were
> > > > netcdf files (attaching one).I had downloaded the NC files
from
> > > >
> > http://mirador.gsfc.nasa.gov/cgi-
bin/mirador/granlist.pl?page=1&location=(-90,-
180),(90,180)&dataSet=TRMM_3B42&version=007&allversion=007&startTime=2011-
04-22T00:00:01Z&endTime=2011-04-
22T23:59:59Z&keyword=TRMM_3B42&longname=TRMM%203-
Hourly%200.25%20deg.%20TRMM%20and%20Others%20Rainfall%20Estimate%20Data&CGISESSID=02499c2107ddfb60a3e46d6b99df3d79&prodpg=http://mirador.gsfc.nasa.gov/collections/TRMM_3B42__007.shtmlI
> > > > got following error. bash-3.2$ ./run_pcptool.sh Running PCP
> > toolPerforming
> > > > addition command for 2 files.Reading input file:
3B42.20110422.12.7.nc
> > > > GribFile::skip_header() -> can't find "GRIB" magic cookie
ERROR:
> > > > get_field() -> can't open grib file: 3B42.20110422.12.7.nc
> > > > Following is my script--------!/bin/sh
> > > >
> > > >              echo " Running PCP
> > > > tool"~/wrf3/utils/met/METv3.0/bin/pcp_combine -add
> > 3B42.20110422.12.7.nc
> > > > 03 3B42.20110422.15.7.nc 03 myoutput.nc
> > > > Kindly suggest.
> > > >
> > > > the second thing I was thinking to download the TRMM data from
thelink
> > at
> > > > DTC website and then converying the 3 hourly bins to NC.
> > > > 2.2 MBftp://
> > > >
> >
disc2.nascom.nasa.gov/data/TRMM/Gridded/3B42_V7/201104/3B42.110422.15z.7.precipitation.bin
> > > > But my problem will be to ACCUMULATE them. I need to verify
the model
> > data
> > > > starting 06 UTC of day1 to 03UTC of DAY2. I mean how do I
combine all
> > the
> > > > NC  files together. Kindly suggest
> > > > > Subject: Re: [rt.rap.ucar.edu #70453] combining nc files
together
> > > > > From: met_help at ucar.edu
> > > > > To: geeta124 at hotmail.com
> > > > > Date: Wed, 21 Jan 2015 10:45:12 -0700
> > > > >
> > > > > Geeta,
> > > > >
> > > > > I'm assuming the variable in the NetCDF files is named
"APCP_03".  If
> > > > not,
> > > > > just switch in the actual name.  You can run the following
> > pcp_combine
> > > > -add
> > > > > command:
> > > > >
> > > > > pcp_combine -add \
> > > > >    3B42.20110422.09.7.nc 'name="APCP_03"; level="(*,*)";' \
> > > > >    3B42.20110422.12.7.nc 'name="APCP_03"; level="(*,*)";' \
> > > > >    3B42.20110422.15.7.nc 'name="APCP_03"; level="(*,*)";' \
> > > > >    3B42.20110422.18.7.nc 'name="APCP_03"; level="(*,*)";' \
> > > > >    3B42.20110422.21.7.nc 'name="APCP_03"; level="(*,*)";' \
> > > > >    3B42.20110423.00.7.nc 'name="APCP_03"; level="(*,*)";' \
> > > > >    3B42.20110423.03.7.nc 'name="APCP_03"; level="(*,*)";' \
> > > > >    3B42.20110423.06.7.nc 'name="APCP_03"; level="(*,*)";' \
> > > > >    3B42.20110423.06.7_APCP_24.nc
> > > > >
> > > > > The last file listed is just the output file name I chose.
But you
> > can
> > > > > name it whatever you'd like.
> > > > >
> > > > > John
> > > > >
> > > > >
> > > > > On Wed, Jan 21, 2015 at 4:02 AM, Geeta Geeta via RT <
> > met_help at ucar.edu>
> > > > > wrote:
> > > > >
> > > > > >
> > > > > > Wed Jan 21 04:02:41 2015: Request 70453 was acted upon.
> > > > > > Transaction: Ticket created by geeta124 at hotmail.com
> > > > > >        Queue: met_help
> > > > > >      Subject: combining nc files together
> > > > > >        Owner: Nobody
> > > > > >   Requestors: geeta124 at hotmail.com
> > > > > >       Status: new
> > > > > >  Ticket <URL:
> > https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453
> > > > >
> > > > > >
> > > > > >
> > > > > > Hi John.
> > > > > > Sorry to bother you again n again. But I have no choice. I
want to
> > know
> > > > > > the followingI have 8 nc files. bash-3.2$ ls -ltotal
> > 216336-rw-r--r--
> > > >   1
> > > > > > model    staff      13841488 Jan 21 11:24
> > > > 3B42.20110422.06.7.nc-rw-r--r--
> > > > > >   1 model    staff      13841488 Jan 21 11:27
> > > > > > 3B42.20110422.09.7.nc-rw-r--r--    1 model    staff
13841492
> > Jan
> > > > 21
> > > > > > 14:01 3B42.20110422.12.7.nc-rw-r--r--    1 model    staff
> > > > 13841492 Jan
> > > > > > 21 13:16 3B42.20110422.15.7.nc-rw-r--r--    1 model
staff
> > > > 13841492
> > > > > > Jan 21 14:51 3B42.20110422.18.7.nc-rw-r--r--    1 model
staff
> > > > > > 13841492 Jan 21 13:21 3B42.20110422.21.7.nc-rw-r--r--    1
model
> > > > staff
> > > > > >     13841488 Jan 21 13:22 3B42.20110423.00.7.nc-rw-r--r--
1
> > model
> > > > > > staff      13841488 Jan 21 13:50
3B42.20110423.03.7.ncbash-3.2$ pwd
> > > > > > I need to make ONE 24 hour RF accumulated file starting
06UTC of
> > > > > > 22.04.2011 - 03UTC of 23.04.2011. How do I do that???
> > > > > > Geeta
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > >
> > > >
> > > >
> > >
> >
> >
>


------------------------------------------------
Subject: combining nc files together
From: Geeta Geeta
Time: Fri Jan 30 01:03:34 2015

Hi John.
I changed different widths in the configuration file. (Width=1,3,5,,7
etc).

// Neighborhood methods
//
nbrhd = {
   vld_thresh = 1.0;
   width      = [ 7 ];
   cov_thresh = [ >=0.5 ];
}
and got various outputs (for different widths) which are in different
directories.
Now I saw the R script on the website which is probably exclusively
for the MODE TOOL only.
Now my question is how to make the quilt plot for the GRid stat
tool???.
Sorry I m not familiar with R  now.
Pls help.
Geeta.



From: geeta124 at hotmail.com
To: met_help at ucar.edu
Subject: RE: [rt.rap.ucar.edu #70453] combining nc files together
Date: Thu, 29 Jan 2015 17:05:25 +0530




Hi John.
So I was able to sum up all the 3 hourly TRMM files and then convert
the final file into One called Obs22apr2011.bin.
I have done that using Grads and now I am using the R script for
converting into NC.
But I got the error.
aditya at agniilap:~/geeta/installs/met/RUN_MET-22apr2011$ Rscript
../trmm_to_nc/trmmbin2nc_mod.R Obs22apr2011.bin Obs22apr2011.nc


ERROR: Can't figure out the accumulation interval!

I am sending you the data files and the R script (I changed the
domain).
The data is plotted fine. Also pls tell me about the ncview questions
that I was asking. reg the plotting of MPR's
Kindly suggest.
Geeta




> Subject: Re: [rt.rap.ucar.edu #70453] combining nc files together
> From: met_help at ucar.edu
> To: geeta124 at hotmail.com
> Date: Mon, 26 Jan 2015 09:58:32 -0700
>
> Geeta,
>
> On that webpage (
> http://www.dtcenter.org/met/users/downloads/analysis_scripts.php),
please
> look specifically at the script named "mode_quilt_plot.R".  Here's
the
> direct link to that script:
>
http://www.dtcenter.org/met/users/downloads/Rscripts/mode_quilt_plot.R
>
> And here's a direct link to the sample output that script creates:
>
>
http://www.dtcenter.org/met/users/downloads/Rscripts/SAMPLE_mode_quilts.pdf
>
> This is an example of using R to make a quilt plot for the output of
the
> MODE tool.  You might also use a quilt plot to display fractions
skill
> score from the Grid-Stat tool, if you've run FSS for multiple
thresholds
> and neighborhood sizes.
>
> John
>
> On Mon, Jan 26, 2015 at 7:28 AM, Geeta Geeta via RT
<met_help at ucar.edu>
> wrote:
>
> >
> > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453 >
> >
> > Hi John.
> > the link
http://www.dtcenter.org/met/users/downloads/analysis_scripts.php
> > has the plots for the cnt statistics.
> > I am not familiar with R. I am going thru the plot_cnt.R script.
> > but I want to know what will be the data format for the Quilt
plot.
> > Do I have to write my own script???.
> > Kindly let me know about the data format and how I have to modify
the
> > above script in order to make the quilt plot.
> > Regards
> > Geeta
> >
> > > Subject: Re: [rt.rap.ucar.edu #70453] combining nc files
together
> > > From: met_help at ucar.edu
> > > To: geeta124 at hotmail.com
> > > Date: Fri, 23 Jan 2015 11:09:23 -0700
> > >
> > > Geeta,
> > >
> > > Regarding 3-hourly RF accumulations, if MET is able to read
those NetCDF
> > > files, you can run them through PCP-Combine to "add" them all
together.
> > > Just use the example PCP_Combine command I already sent you but
modify
> > the
> > > "name" entry to list the name of the NetCDF variable you want to
use.  If
> > > MET is not able to read them, then it's up to you to figure out
how to
> > > accumulate them.
> > >
> > > If you're familiar with R, you could use the "ncdf" library in R
to read
> > > data from one or more NetCDF files, add them up, and write it
out to a
> > new
> > > file.  Alternatively, "nco" (NetCDF Operators) provide some
capability of
> > > doing simple operations on NetCDF files.  You might be able to
use them.
> > >
> > > Regarding quilt plots, I've only used R to make them in the
past.
> > > Specifically, the "quilt.plot" function in the R package named
"fields".
> > > Please take a look at this website:
> > >
http://www.dtcenter.org/met/users/downloads/analysis_scripts.php
> > >
> > > The Rscript named "mode_quilt_plot.R" provides an example of
using R to
> > > make quilt plots.  Example output from that script is also
included on
> > that
> > > page.
> > >
> > > Thanks,
> > > John
> > >
> > > On Fri, Jan 23, 2015 at 4:06 AM, Geeta Geeta via RT
<met_help at ucar.edu>
> > > wrote:
> > >
> > > >
> > > > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453
>
> > > >
> > > > Hi John. Your help is needed at every step. Now I want to know
which
> > > > software can be used for making the QUILT plot (intensity and
spatial
> > > > distribution) plot. Can It be done in using MET5.0. How Can I
plot the
> > > > point data that I used in MET5.0???KIndly guide me. Also pls
tell me
> > if u
> > > > can figure out the issue of 3hrly RF accumulations if the
files are in
> > the
> > > > NETCDF format. Geeta
> > > >
> > > > From: geeta124 at hotmail.com
> > > > To: met_help at ucar.edu
> > > > Subject: RE: [rt.rap.ucar.edu #70453] combining nc files
together
> > > > Date: Thu, 22 Jan 2015 16:30:34 +0530
> > > >
> > > >
> > > >
> > > >
> > > > thanks John.  the pcp combine tool uses only GRIB1 files.
these were
> > > > netcdf files (attaching one).I had downloaded the NC files
from
> > > >
> > http://mirador.gsfc.nasa.gov/cgi-
bin/mirador/granlist.pl?page=1&location=(-90,-
180),(90,180)&dataSet=TRMM_3B42&version=007&allversion=007&startTime=2011-
04-22T00:00:01Z&endTime=2011-04-
22T23:59:59Z&keyword=TRMM_3B42&longname=TRMM%203-
Hourly%200.25%20deg.%20TRMM%20and%20Others%20Rainfall%20Estimate%20Data&CGISESSID=02499c2107ddfb60a3e46d6b99df3d79&prodpg=http://mirador.gsfc.nasa.gov/collections/TRMM_3B42__007.shtmlI
> > > > got following error. bash-3.2$ ./run_pcptool.sh Running PCP
> > toolPerforming
> > > > addition command for 2 files.Reading input file:
3B42.20110422.12.7.nc
> > > > GribFile::skip_header() -> can't find "GRIB" magic cookie
ERROR:
> > > > get_field() -> can't open grib file: 3B42.20110422.12.7.nc
> > > > Following is my script--------!/bin/sh
> > > >
> > > >              echo " Running PCP
> > > > tool"~/wrf3/utils/met/METv3.0/bin/pcp_combine -add
> > 3B42.20110422.12.7.nc
> > > > 03 3B42.20110422.15.7.nc 03 myoutput.nc
> > > > Kindly suggest.
> > > >
> > > > the second thing I was thinking to download the TRMM data from
thelink
> > at
> > > > DTC website and then converying the 3 hourly bins to NC.
> > > > 2.2 MBftp://
> > > >
> >
disc2.nascom.nasa.gov/data/TRMM/Gridded/3B42_V7/201104/3B42.110422.15z.7.precipitation.bin
> > > > But my problem will be to ACCUMULATE them. I need to verify
the model
> > data
> > > > starting 06 UTC of day1 to 03UTC of DAY2. I mean how do I
combine all
> > the
> > > > NC  files together. Kindly suggest
> > > > > Subject: Re: [rt.rap.ucar.edu #70453] combining nc files
together
> > > > > From: met_help at ucar.edu
> > > > > To: geeta124 at hotmail.com
> > > > > Date: Wed, 21 Jan 2015 10:45:12 -0700
> > > > >
> > > > > Geeta,
> > > > >
> > > > > I'm assuming the variable in the NetCDF files is named
"APCP_03".  If
> > > > not,
> > > > > just switch in the actual name.  You can run the following
> > pcp_combine
> > > > -add
> > > > > command:
> > > > >
> > > > > pcp_combine -add \
> > > > >    3B42.20110422.09.7.nc 'name="APCP_03"; level="(*,*)";' \
> > > > >    3B42.20110422.12.7.nc 'name="APCP_03"; level="(*,*)";' \
> > > > >    3B42.20110422.15.7.nc 'name="APCP_03"; level="(*,*)";' \
> > > > >    3B42.20110422.18.7.nc 'name="APCP_03"; level="(*,*)";' \
> > > > >    3B42.20110422.21.7.nc 'name="APCP_03"; level="(*,*)";' \
> > > > >    3B42.20110423.00.7.nc 'name="APCP_03"; level="(*,*)";' \
> > > > >    3B42.20110423.03.7.nc 'name="APCP_03"; level="(*,*)";' \
> > > > >    3B42.20110423.06.7.nc 'name="APCP_03"; level="(*,*)";' \
> > > > >    3B42.20110423.06.7_APCP_24.nc
> > > > >
> > > > > The last file listed is just the output file name I chose.
But you
> > can
> > > > > name it whatever you'd like.
> > > > >
> > > > > John
> > > > >
> > > > >
> > > > > On Wed, Jan 21, 2015 at 4:02 AM, Geeta Geeta via RT <
> > met_help at ucar.edu>
> > > > > wrote:
> > > > >
> > > > > >
> > > > > > Wed Jan 21 04:02:41 2015: Request 70453 was acted upon.
> > > > > > Transaction: Ticket created by geeta124 at hotmail.com
> > > > > >        Queue: met_help
> > > > > >      Subject: combining nc files together
> > > > > >        Owner: Nobody
> > > > > >   Requestors: geeta124 at hotmail.com
> > > > > >       Status: new
> > > > > >  Ticket <URL:
> > https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453
> > > > >
> > > > > >
> > > > > >
> > > > > > Hi John.
> > > > > > Sorry to bother you again n again. But I have no choice. I
want to
> > know
> > > > > > the followingI have 8 nc files. bash-3.2$ ls -ltotal
> > 216336-rw-r--r--
> > > >   1
> > > > > > model    staff      13841488 Jan 21 11:24
> > > > 3B42.20110422.06.7.nc-rw-r--r--
> > > > > >   1 model    staff      13841488 Jan 21 11:27
> > > > > > 3B42.20110422.09.7.nc-rw-r--r--    1 model    staff
13841492
> > Jan
> > > > 21
> > > > > > 14:01 3B42.20110422.12.7.nc-rw-r--r--    1 model    staff
> > > > 13841492 Jan
> > > > > > 21 13:16 3B42.20110422.15.7.nc-rw-r--r--    1 model
staff
> > > > 13841492
> > > > > > Jan 21 14:51 3B42.20110422.18.7.nc-rw-r--r--    1 model
staff
> > > > > > 13841492 Jan 21 13:21 3B42.20110422.21.7.nc-rw-r--r--    1
model
> > > > staff
> > > > > >     13841488 Jan 21 13:22 3B42.20110423.00.7.nc-rw-r--r--
1
> > model
> > > > > > staff      13841488 Jan 21 13:50
3B42.20110423.03.7.ncbash-3.2$ pwd
> > > > > > I need to make ONE 24 hour RF accumulated file starting
06UTC of
> > > > > > 22.04.2011 - 03UTC of 23.04.2011. How do I do that???
> > > > > > Geeta
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > >
> > > >
> > > >
> > >
> >
> >
>


------------------------------------------------
Subject: combining nc files together
From: John Halley Gotway
Time: Fri Jan 30 11:04:17 2015

Geeta,

I don't have time to adapt that Rscript for your use with Grid-Stat.
However, we did do something very similar for a previous project.  I
have
attached an Rscript named "fss_quilt_plot.R" you could easily adapt to
create a quilt plot for your data.  I've also attached a copy of the
paper
for which this script was used.  Please look at figure 7.

Thanks,
John

On Fri, Jan 30, 2015 at 1:03 AM, Geeta Geeta via RT
<met_help at ucar.edu>
wrote:

>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453 >
>
> Hi John.
> I changed different widths in the configuration file.
(Width=1,3,5,,7 etc).
>
> // Neighborhood methods
> //
> nbrhd = {
>    vld_thresh = 1.0;
>    width      = [ 7 ];
>    cov_thresh = [ >=0.5 ];
> }
> and got various outputs (for different widths) which are in
different
> directories.
> Now I saw the R script on the website which is probably exclusively
for
> the MODE TOOL only.
> Now my question is how to make the quilt plot for the GRid stat
tool???.
> Sorry I m not familiar with R  now.
> Pls help.
> Geeta.
>
>
>
> From: geeta124 at hotmail.com
> To: met_help at ucar.edu
> Subject: RE: [rt.rap.ucar.edu #70453] combining nc files together
> Date: Thu, 29 Jan 2015 17:05:25 +0530
>
>
>
>
> Hi John.
> So I was able to sum up all the 3 hourly TRMM files and then convert
the
> final file into One called Obs22apr2011.bin.
> I have done that using Grads and now I am using the R script for
> converting into NC.
> But I got the error.
> aditya at agniilap:~/geeta/installs/met/RUN_MET-22apr2011$ Rscript
> ../trmm_to_nc/trmmbin2nc_mod.R Obs22apr2011.bin Obs22apr2011.nc
>
>
> ERROR: Can't figure out the accumulation interval!
>
> I am sending you the data files and the R script (I changed the
domain).
> The data is plotted fine. Also pls tell me about the ncview
questions that
> I was asking. reg the plotting of MPR's
> Kindly suggest.
> Geeta
>
>
>
>
> > Subject: Re: [rt.rap.ucar.edu #70453] combining nc files together
> > From: met_help at ucar.edu
> > To: geeta124 at hotmail.com
> > Date: Mon, 26 Jan 2015 09:58:32 -0700
> >
> > Geeta,
> >
> > On that webpage (
> > http://www.dtcenter.org/met/users/downloads/analysis_scripts.php),
> please
> > look specifically at the script named "mode_quilt_plot.R".  Here's
the
> > direct link to that script:
> >
>
http://www.dtcenter.org/met/users/downloads/Rscripts/mode_quilt_plot.R
> >
> > And here's a direct link to the sample output that script creates:
> >
> >
>
http://www.dtcenter.org/met/users/downloads/Rscripts/SAMPLE_mode_quilts.pdf
> >
> > This is an example of using R to make a quilt plot for the output
of the
> > MODE tool.  You might also use a quilt plot to display fractions
skill
> > score from the Grid-Stat tool, if you've run FSS for multiple
thresholds
> > and neighborhood sizes.
> >
> > John
> >
> > On Mon, Jan 26, 2015 at 7:28 AM, Geeta Geeta via RT
<met_help at ucar.edu>
> > wrote:
> >
> > >
> > > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453 >
> > >
> > > Hi John.
> > > the link
> http://www.dtcenter.org/met/users/downloads/analysis_scripts.php
> > > has the plots for the cnt statistics.
> > > I am not familiar with R. I am going thru the plot_cnt.R script.
> > > but I want to know what will be the data format for the Quilt
plot.
> > > Do I have to write my own script???.
> > > Kindly let me know about the data format and how I have to
modify the
> > > above script in order to make the quilt plot.
> > > Regards
> > > Geeta
> > >
> > > > Subject: Re: [rt.rap.ucar.edu #70453] combining nc files
together
> > > > From: met_help at ucar.edu
> > > > To: geeta124 at hotmail.com
> > > > Date: Fri, 23 Jan 2015 11:09:23 -0700
> > > >
> > > > Geeta,
> > > >
> > > > Regarding 3-hourly RF accumulations, if MET is able to read
those
> NetCDF
> > > > files, you can run them through PCP-Combine to "add" them all
> together.
> > > > Just use the example PCP_Combine command I already sent you
but
> modify
> > > the
> > > > "name" entry to list the name of the NetCDF variable you want
to
> use.  If
> > > > MET is not able to read them, then it's up to you to figure
out how
> to
> > > > accumulate them.
> > > >
> > > > If you're familiar with R, you could use the "ncdf" library in
R to
> read
> > > > data from one or more NetCDF files, add them up, and write it
out to
> a
> > > new
> > > > file.  Alternatively, "nco" (NetCDF Operators) provide some
> capability of
> > > > doing simple operations on NetCDF files.  You might be able to
use
> them.
> > > >
> > > > Regarding quilt plots, I've only used R to make them in the
past.
> > > > Specifically, the "quilt.plot" function in the R package named
> "fields".
> > > > Please take a look at this website:
> > > >
http://www.dtcenter.org/met/users/downloads/analysis_scripts.php
> > > >
> > > > The Rscript named "mode_quilt_plot.R" provides an example of
using R
> to
> > > > make quilt plots.  Example output from that script is also
included
> on
> > > that
> > > > page.
> > > >
> > > > Thanks,
> > > > John
> > > >
> > > > On Fri, Jan 23, 2015 at 4:06 AM, Geeta Geeta via RT <
> met_help at ucar.edu>
> > > > wrote:
> > > >
> > > > >
> > > > > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453 >
> > > > >
> > > > > Hi John. Your help is needed at every step. Now I want to
know
> which
> > > > > software can be used for making the QUILT plot (intensity
and
> spatial
> > > > > distribution) plot. Can It be done in using MET5.0. How Can
I plot
> the
> > > > > point data that I used in MET5.0???KIndly guide me. Also pls
tell
> me
> > > if u
> > > > > can figure out the issue of 3hrly RF accumulations if the
files
> are in
> > > the
> > > > > NETCDF format. Geeta
> > > > >
> > > > > From: geeta124 at hotmail.com
> > > > > To: met_help at ucar.edu
> > > > > Subject: RE: [rt.rap.ucar.edu #70453] combining nc files
together
> > > > > Date: Thu, 22 Jan 2015 16:30:34 +0530
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > thanks John.  the pcp combine tool uses only GRIB1 files.
these
> were
> > > > > netcdf files (attaching one).I had downloaded the NC files
from
> > > > >
> > >
> http://mirador.gsfc.nasa.gov/cgi-
bin/mirador/granlist.pl?page=1&location=(-90,-
180),(90,180)&dataSet=TRMM_3B42&version=007&allversion=007&startTime=2011-
04-22T00:00:01Z&endTime=2011-04-
22T23:59:59Z&keyword=TRMM_3B42&longname=TRMM%203-
Hourly%200.25%20deg.%20TRMM%20and%20Others%20Rainfall%20Estimate%20Data&CGISESSID=02499c2107ddfb60a3e46d6b99df3d79&prodpg=http://mirador.gsfc.nasa.gov/collections/TRMM_3B42__007.shtmlI
> > > > > got following error. bash-3.2$ ./run_pcptool.sh Running PCP
> > > toolPerforming
> > > > > addition command for 2 files.Reading input file:
> 3B42.20110422.12.7.nc
> > > > > GribFile::skip_header() -> can't find "GRIB" magic cookie
ERROR:
> > > > > get_field() -> can't open grib file: 3B42.20110422.12.7.nc
> > > > > Following is my script--------!/bin/sh
> > > > >
> > > > >              echo " Running PCP
> > > > > tool"~/wrf3/utils/met/METv3.0/bin/pcp_combine -add
> > > 3B42.20110422.12.7.nc
> > > > > 03 3B42.20110422.15.7.nc 03 myoutput.nc
> > > > > Kindly suggest.
> > > > >
> > > > > the second thing I was thinking to download the TRMM data
from
> thelink
> > > at
> > > > > DTC website and then converying the 3 hourly bins to NC.
> > > > > 2.2 MBftp://
> > > > >
> > >
>
disc2.nascom.nasa.gov/data/TRMM/Gridded/3B42_V7/201104/3B42.110422.15z.7.precipitation.bin
> > > > > But my problem will be to ACCUMULATE them. I need to verify
the
> model
> > > data
> > > > > starting 06 UTC of day1 to 03UTC of DAY2. I mean how do I
combine
> all
> > > the
> > > > > NC  files together. Kindly suggest
> > > > > > Subject: Re: [rt.rap.ucar.edu #70453] combining nc files
> together
> > > > > > From: met_help at ucar.edu
> > > > > > To: geeta124 at hotmail.com
> > > > > > Date: Wed, 21 Jan 2015 10:45:12 -0700
> > > > > >
> > > > > > Geeta,
> > > > > >
> > > > > > I'm assuming the variable in the NetCDF files is named
> "APCP_03".  If
> > > > > not,
> > > > > > just switch in the actual name.  You can run the following
> > > pcp_combine
> > > > > -add
> > > > > > command:
> > > > > >
> > > > > > pcp_combine -add \
> > > > > >    3B42.20110422.09.7.nc 'name="APCP_03"; level="(*,*)";'
\
> > > > > >    3B42.20110422.12.7.nc 'name="APCP_03"; level="(*,*)";'
\
> > > > > >    3B42.20110422.15.7.nc 'name="APCP_03"; level="(*,*)";'
\
> > > > > >    3B42.20110422.18.7.nc 'name="APCP_03"; level="(*,*)";'
\
> > > > > >    3B42.20110422.21.7.nc 'name="APCP_03"; level="(*,*)";'
\
> > > > > >    3B42.20110423.00.7.nc 'name="APCP_03"; level="(*,*)";'
\
> > > > > >    3B42.20110423.03.7.nc 'name="APCP_03"; level="(*,*)";'
\
> > > > > >    3B42.20110423.06.7.nc 'name="APCP_03"; level="(*,*)";'
\
> > > > > >    3B42.20110423.06.7_APCP_24.nc
> > > > > >
> > > > > > The last file listed is just the output file name I chose.
But
> you
> > > can
> > > > > > name it whatever you'd like.
> > > > > >
> > > > > > John
> > > > > >
> > > > > >
> > > > > > On Wed, Jan 21, 2015 at 4:02 AM, Geeta Geeta via RT <
> > > met_help at ucar.edu>
> > > > > > wrote:
> > > > > >
> > > > > > >
> > > > > > > Wed Jan 21 04:02:41 2015: Request 70453 was acted upon.
> > > > > > > Transaction: Ticket created by geeta124 at hotmail.com
> > > > > > >        Queue: met_help
> > > > > > >      Subject: combining nc files together
> > > > > > >        Owner: Nobody
> > > > > > >   Requestors: geeta124 at hotmail.com
> > > > > > >       Status: new
> > > > > > >  Ticket <URL:
> > > https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453
> > > > > >
> > > > > > >
> > > > > > >
> > > > > > > Hi John.
> > > > > > > Sorry to bother you again n again. But I have no choice.
I
> want to
> > > know
> > > > > > > the followingI have 8 nc files. bash-3.2$ ls -ltotal
> > > 216336-rw-r--r--
> > > > >   1
> > > > > > > model    staff      13841488 Jan 21 11:24
> > > > > 3B42.20110422.06.7.nc-rw-r--r--
> > > > > > >   1 model    staff      13841488 Jan 21 11:27
> > > > > > > 3B42.20110422.09.7.nc-rw-r--r--    1 model    staff
> 13841492
> > > Jan
> > > > > 21
> > > > > > > 14:01 3B42.20110422.12.7.nc-rw-r--r--    1 model
staff
> > > > > 13841492 Jan
> > > > > > > 21 13:16 3B42.20110422.15.7.nc-rw-r--r--    1 model
staff
> > > > > 13841492
> > > > > > > Jan 21 14:51 3B42.20110422.18.7.nc-rw-r--r--    1 model
> staff
> > > > > > > 13841492 Jan 21 13:21 3B42.20110422.21.7.nc-rw-r--r--
1
> model
> > > > > staff
> > > > > > >     13841488 Jan 21 13:22 3B42.20110423.00.7.nc-rw-r--
r--    1
> > > model
> > > > > > > staff      13841488 Jan 21 13:50
> 3B42.20110423.03.7.ncbash-3.2$ pwd
> > > > > > > I need to make ONE 24 hour RF accumulated file starting
06UTC
> of
> > > > > > > 22.04.2011 - 03UTC of 23.04.2011. How do I do that???
> > > > > > > Geeta
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > > >
> > > >
> > >
> > >
> >
>
>
>

------------------------------------------------
Subject: combining nc files together
From: Geeta Geeta
Time: Sun Feb 01 23:27:15 2015

Hi John.
This is an old Ticket. Kindly sort this issue too.
I was able to sum up all the 3 hourly TRMM files and then convert the
final file into One called Obs22apr2011.bin.
I had used Grads for summing up all the 8 files. and now I am using
the R script for
converting into NC.
But I got the error.
aditya at agniilap:~/geeta/installs/met/RUN_MET-22apr2011$ Rscript
../trmm_to_nc/trmmbin2nc_mod.R Obs22apr2011.bin Obs22apr2011.nc


ERROR: Can't figure out the accumulation interval!I am sending you the
data that I converted using Grads.
Geeta

> Subject: Re: [rt.rap.ucar.edu #70453] combining nc files together
> From: met_help at ucar.edu
> To: geeta124 at hotmail.com
> Date: Fri, 30 Jan 2015 11:04:18 -0700
>
> Geeta,
>
> I don't have time to adapt that Rscript for your use with Grid-Stat.
> However, we did do something very similar for a previous project.  I
have
> attached an Rscript named "fss_quilt_plot.R" you could easily adapt
to
> create a quilt plot for your data.  I've also attached a copy of the
paper
> for which this script was used.  Please look at figure 7.
>
> Thanks,
> John
>
> On Fri, Jan 30, 2015 at 1:03 AM, Geeta Geeta via RT
<met_help at ucar.edu>
> wrote:
>
> >
> > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453 >
> >
> > Hi John.
> > I changed different widths in the configuration file.
(Width=1,3,5,,7 etc).
> >
> > // Neighborhood methods
> > //
> > nbrhd = {
> >    vld_thresh = 1.0;
> >    width      = [ 7 ];
> >    cov_thresh = [ >=0.5 ];
> > }
> > and got various outputs (for different widths) which are in
different
> > directories.
> > Now I saw the R script on the website which is probably
exclusively for
> > the MODE TOOL only.
> > Now my question is how to make the quilt plot for the GRid stat
tool???.
> > Sorry I m not familiar with R  now.
> > Pls help.
> > Geeta.
> >
> >
> >
> > From: geeta124 at hotmail.com
> > To: met_help at ucar.edu
> > Subject: RE: [rt.rap.ucar.edu #70453] combining nc files together
> > Date: Thu, 29 Jan 2015 17:05:25 +0530
> >
> >
> >
> >
> > Hi John.
> > So I was able to sum up all the 3 hourly TRMM files and then
convert the
> > final file into One called Obs22apr2011.bin.
> > I have done that using Grads and now I am using the R script for
> > converting into NC.
> > But I got the error.
> > aditya at agniilap:~/geeta/installs/met/RUN_MET-22apr2011$ Rscript
> > ../trmm_to_nc/trmmbin2nc_mod.R Obs22apr2011.bin Obs22apr2011.nc
> >
> >
> > ERROR: Can't figure out the accumulation interval!
> >
> > I am sending you the data files and the R script (I changed the
domain).
> > The data is plotted fine. Also pls tell me about the ncview
questions that
> > I was asking. reg the plotting of MPR's
> > Kindly suggest.
> > Geeta
> >
> >
> >
> >
> > > Subject: Re: [rt.rap.ucar.edu #70453] combining nc files
together
> > > From: met_help at ucar.edu
> > > To: geeta124 at hotmail.com
> > > Date: Mon, 26 Jan 2015 09:58:32 -0700
> > >
> > > Geeta,
> > >
> > > On that webpage (
> > >
http://www.dtcenter.org/met/users/downloads/analysis_scripts.php),
> > please
> > > look specifically at the script named "mode_quilt_plot.R".
Here's the
> > > direct link to that script:
> > >
> >
http://www.dtcenter.org/met/users/downloads/Rscripts/mode_quilt_plot.R
> > >
> > > And here's a direct link to the sample output that script
creates:
> > >
> > >
> >
http://www.dtcenter.org/met/users/downloads/Rscripts/SAMPLE_mode_quilts.pdf
> > >
> > > This is an example of using R to make a quilt plot for the
output of the
> > > MODE tool.  You might also use a quilt plot to display fractions
skill
> > > score from the Grid-Stat tool, if you've run FSS for multiple
thresholds
> > > and neighborhood sizes.
> > >
> > > John
> > >
> > > On Mon, Jan 26, 2015 at 7:28 AM, Geeta Geeta via RT
<met_help at ucar.edu>
> > > wrote:
> > >
> > > >
> > > > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453
>
> > > >
> > > > Hi John.
> > > > the link
> > http://www.dtcenter.org/met/users/downloads/analysis_scripts.php
> > > > has the plots for the cnt statistics.
> > > > I am not familiar with R. I am going thru the plot_cnt.R
script.
> > > > but I want to know what will be the data format for the Quilt
plot.
> > > > Do I have to write my own script???.
> > > > Kindly let me know about the data format and how I have to
modify the
> > > > above script in order to make the quilt plot.
> > > > Regards
> > > > Geeta
> > > >
> > > > > Subject: Re: [rt.rap.ucar.edu #70453] combining nc files
together
> > > > > From: met_help at ucar.edu
> > > > > To: geeta124 at hotmail.com
> > > > > Date: Fri, 23 Jan 2015 11:09:23 -0700
> > > > >
> > > > > Geeta,
> > > > >
> > > > > Regarding 3-hourly RF accumulations, if MET is able to read
those
> > NetCDF
> > > > > files, you can run them through PCP-Combine to "add" them
all
> > together.
> > > > > Just use the example PCP_Combine command I already sent you
but
> > modify
> > > > the
> > > > > "name" entry to list the name of the NetCDF variable you
want to
> > use.  If
> > > > > MET is not able to read them, then it's up to you to figure
out how
> > to
> > > > > accumulate them.
> > > > >
> > > > > If you're familiar with R, you could use the "ncdf" library
in R to
> > read
> > > > > data from one or more NetCDF files, add them up, and write
it out to
> > a
> > > > new
> > > > > file.  Alternatively, "nco" (NetCDF Operators) provide some
> > capability of
> > > > > doing simple operations on NetCDF files.  You might be able
to use
> > them.
> > > > >
> > > > > Regarding quilt plots, I've only used R to make them in the
past.
> > > > > Specifically, the "quilt.plot" function in the R package
named
> > "fields".
> > > > > Please take a look at this website:
> > > > >
http://www.dtcenter.org/met/users/downloads/analysis_scripts.php
> > > > >
> > > > > The Rscript named "mode_quilt_plot.R" provides an example of
using R
> > to
> > > > > make quilt plots.  Example output from that script is also
included
> > on
> > > > that
> > > > > page.
> > > > >
> > > > > Thanks,
> > > > > John
> > > > >
> > > > > On Fri, Jan 23, 2015 at 4:06 AM, Geeta Geeta via RT <
> > met_help at ucar.edu>
> > > > > wrote:
> > > > >
> > > > > >
> > > > > > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453 >
> > > > > >
> > > > > > Hi John. Your help is needed at every step. Now I want to
know
> > which
> > > > > > software can be used for making the QUILT plot (intensity
and
> > spatial
> > > > > > distribution) plot. Can It be done in using MET5.0. How
Can I plot
> > the
> > > > > > point data that I used in MET5.0???KIndly guide me. Also
pls tell
> > me
> > > > if u
> > > > > > can figure out the issue of 3hrly RF accumulations if the
files
> > are in
> > > > the
> > > > > > NETCDF format. Geeta
> > > > > >
> > > > > > From: geeta124 at hotmail.com
> > > > > > To: met_help at ucar.edu
> > > > > > Subject: RE: [rt.rap.ucar.edu #70453] combining nc files
together
> > > > > > Date: Thu, 22 Jan 2015 16:30:34 +0530
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > > thanks John.  the pcp combine tool uses only GRIB1 files.
these
> > were
> > > > > > netcdf files (attaching one).I had downloaded the NC files
from
> > > > > >
> > > >
> > http://mirador.gsfc.nasa.gov/cgi-
bin/mirador/granlist.pl?page=1&location=(-90,-
180),(90,180)&dataSet=TRMM_3B42&version=007&allversion=007&startTime=2011-
04-22T00:00:01Z&endTime=2011-04-
22T23:59:59Z&keyword=TRMM_3B42&longname=TRMM%203-
Hourly%200.25%20deg.%20TRMM%20and%20Others%20Rainfall%20Estimate%20Data&CGISESSID=02499c2107ddfb60a3e46d6b99df3d79&prodpg=http://mirador.gsfc.nasa.gov/collections/TRMM_3B42__007.shtmlI
> > > > > > got following error. bash-3.2$ ./run_pcptool.sh Running
PCP
> > > > toolPerforming
> > > > > > addition command for 2 files.Reading input file:
> > 3B42.20110422.12.7.nc
> > > > > > GribFile::skip_header() -> can't find "GRIB" magic cookie
ERROR:
> > > > > > get_field() -> can't open grib file: 3B42.20110422.12.7.nc
> > > > > > Following is my script--------!/bin/sh
> > > > > >
> > > > > >              echo " Running PCP
> > > > > > tool"~/wrf3/utils/met/METv3.0/bin/pcp_combine -add
> > > > 3B42.20110422.12.7.nc
> > > > > > 03 3B42.20110422.15.7.nc 03 myoutput.nc
> > > > > > Kindly suggest.
> > > > > >
> > > > > > the second thing I was thinking to download the TRMM data
from
> > thelink
> > > > at
> > > > > > DTC website and then converying the 3 hourly bins to NC.
> > > > > > 2.2 MBftp://
> > > > > >
> > > >
> >
disc2.nascom.nasa.gov/data/TRMM/Gridded/3B42_V7/201104/3B42.110422.15z.7.precipitation.bin
> > > > > > But my problem will be to ACCUMULATE them. I need to
verify the
> > model
> > > > data
> > > > > > starting 06 UTC of day1 to 03UTC of DAY2. I mean how do I
combine
> > all
> > > > the
> > > > > > NC  files together. Kindly suggest
> > > > > > > Subject: Re: [rt.rap.ucar.edu #70453] combining nc files
> > together
> > > > > > > From: met_help at ucar.edu
> > > > > > > To: geeta124 at hotmail.com
> > > > > > > Date: Wed, 21 Jan 2015 10:45:12 -0700
> > > > > > >
> > > > > > > Geeta,
> > > > > > >
> > > > > > > I'm assuming the variable in the NetCDF files is named
> > "APCP_03".  If
> > > > > > not,
> > > > > > > just switch in the actual name.  You can run the
following
> > > > pcp_combine
> > > > > > -add
> > > > > > > command:
> > > > > > >
> > > > > > > pcp_combine -add \
> > > > > > >    3B42.20110422.09.7.nc 'name="APCP_03";
level="(*,*)";' \
> > > > > > >    3B42.20110422.12.7.nc 'name="APCP_03";
level="(*,*)";' \
> > > > > > >    3B42.20110422.15.7.nc 'name="APCP_03";
level="(*,*)";' \
> > > > > > >    3B42.20110422.18.7.nc 'name="APCP_03";
level="(*,*)";' \
> > > > > > >    3B42.20110422.21.7.nc 'name="APCP_03";
level="(*,*)";' \
> > > > > > >    3B42.20110423.00.7.nc 'name="APCP_03";
level="(*,*)";' \
> > > > > > >    3B42.20110423.03.7.nc 'name="APCP_03";
level="(*,*)";' \
> > > > > > >    3B42.20110423.06.7.nc 'name="APCP_03";
level="(*,*)";' \
> > > > > > >    3B42.20110423.06.7_APCP_24.nc
> > > > > > >
> > > > > > > The last file listed is just the output file name I
chose.  But
> > you
> > > > can
> > > > > > > name it whatever you'd like.
> > > > > > >
> > > > > > > John
> > > > > > >
> > > > > > >
> > > > > > > On Wed, Jan 21, 2015 at 4:02 AM, Geeta Geeta via RT <
> > > > met_help at ucar.edu>
> > > > > > > wrote:
> > > > > > >
> > > > > > > >
> > > > > > > > Wed Jan 21 04:02:41 2015: Request 70453 was acted
upon.
> > > > > > > > Transaction: Ticket created by geeta124 at hotmail.com
> > > > > > > >        Queue: met_help
> > > > > > > >      Subject: combining nc files together
> > > > > > > >        Owner: Nobody
> > > > > > > >   Requestors: geeta124 at hotmail.com
> > > > > > > >       Status: new
> > > > > > > >  Ticket <URL:
> > > > https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453
> > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > Hi John.
> > > > > > > > Sorry to bother you again n again. But I have no
choice. I
> > want to
> > > > know
> > > > > > > > the followingI have 8 nc files. bash-3.2$ ls -ltotal
> > > > 216336-rw-r--r--
> > > > > >   1
> > > > > > > > model    staff      13841488 Jan 21 11:24
> > > > > > 3B42.20110422.06.7.nc-rw-r--r--
> > > > > > > >   1 model    staff      13841488 Jan 21 11:27
> > > > > > > > 3B42.20110422.09.7.nc-rw-r--r--    1 model    staff
> > 13841492
> > > > Jan
> > > > > > 21
> > > > > > > > 14:01 3B42.20110422.12.7.nc-rw-r--r--    1 model
staff
> > > > > > 13841492 Jan
> > > > > > > > 21 13:16 3B42.20110422.15.7.nc-rw-r--r--    1 model
staff
> > > > > > 13841492
> > > > > > > > Jan 21 14:51 3B42.20110422.18.7.nc-rw-r--r--    1
model
> > staff
> > > > > > > > 13841492 Jan 21 13:21 3B42.20110422.21.7.nc-rw-r--r--
1
> > model
> > > > > > staff
> > > > > > > >     13841488 Jan 21 13:22 3B42.20110423.00.7.nc-rw-r--
r--    1
> > > > model
> > > > > > > > staff      13841488 Jan 21 13:50
> > 3B42.20110423.03.7.ncbash-3.2$ pwd
> > > > > > > > I need to make ONE 24 hour RF accumulated file
starting 06UTC
> > of
> > > > > > > > 22.04.2011 - 03UTC of 23.04.2011. How do I do that???
> > > > > > > > Geeta
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > > >
> > > > >
> > > >
> > > >
> > >
> >
> >
> >
>

------------------------------------------------
Subject: combining nc files together
From: John Halley Gotway
Time: Wed Feb 04 11:21:18 2015

Geeta,

The trmmbin2nc.R script is set up to only handle the TRMM binary data
exactly from that website.  The timing information for that binary
data is
only contained in the file name, and you've renamed those files.  So
the
script doesn't know how to parse them.

Here's 2 options:
(1) Rename that file using the "daily" file naming conventions:
   cp Obs22apr2011.bin 3B42_daily.2011.04.22.7.bin
   Rscript 3B42_daily.2011.04.22.7.bin 3B42_daily.2011.04.22.7.nc

That will produce output but it'll assume the precipitation is
accumulated
for 24-hours from 20110422 00Z to 20110423 00Z.  If the times should
be
something different you could... edit the Rscript to use the times you
want... or use the "ncatted" tool to modify the timing information
listed
in the output NetCDF file.

(2) Or, as we've discussed in the past, you could run each of the 3-
hour
files through the trmmbin2nc.R script and write out NetCDF files.
Then run
those 3-hourly NetCDF files through pcp_combine to add them up.

Thanks,
John


On Sun, Feb 1, 2015 at 11:27 PM, Geeta Geeta via RT
<met_help at ucar.edu>
wrote:

>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453 >
>
> Hi John.
> This is an old Ticket. Kindly sort this issue too.
> I was able to sum up all the 3 hourly TRMM files and then convert
the
> final file into One called Obs22apr2011.bin.
> I had used Grads for summing up all the 8 files. and now I am using
the R
> script for
> converting into NC.
> But I got the error.
> aditya at agniilap:~/geeta/installs/met/RUN_MET-22apr2011$ Rscript
> ../trmm_to_nc/trmmbin2nc_mod.R Obs22apr2011.bin Obs22apr2011.nc
>
>
> ERROR: Can't figure out the accumulation interval!I am sending you
the
> data that I converted using Grads.
> Geeta
>
> > Subject: Re: [rt.rap.ucar.edu #70453] combining nc files together
> > From: met_help at ucar.edu
> > To: geeta124 at hotmail.com
> > Date: Fri, 30 Jan 2015 11:04:18 -0700
> >
> > Geeta,
> >
> > I don't have time to adapt that Rscript for your use with Grid-
Stat.
> > However, we did do something very similar for a previous project.
I have
> > attached an Rscript named "fss_quilt_plot.R" you could easily
adapt to
> > create a quilt plot for your data.  I've also attached a copy of
the
> paper
> > for which this script was used.  Please look at figure 7.
> >
> > Thanks,
> > John
> >
> > On Fri, Jan 30, 2015 at 1:03 AM, Geeta Geeta via RT
<met_help at ucar.edu>
> > wrote:
> >
> > >
> > > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453 >
> > >
> > > Hi John.
> > > I changed different widths in the configuration file.
(Width=1,3,5,,7
> etc).
> > >
> > > // Neighborhood methods
> > > //
> > > nbrhd = {
> > >    vld_thresh = 1.0;
> > >    width      = [ 7 ];
> > >    cov_thresh = [ >=0.5 ];
> > > }
> > > and got various outputs (for different widths) which are in
different
> > > directories.
> > > Now I saw the R script on the website which is probably
exclusively for
> > > the MODE TOOL only.
> > > Now my question is how to make the quilt plot for the GRid stat
> tool???.
> > > Sorry I m not familiar with R  now.
> > > Pls help.
> > > Geeta.
> > >
> > >
> > >
> > > From: geeta124 at hotmail.com
> > > To: met_help at ucar.edu
> > > Subject: RE: [rt.rap.ucar.edu #70453] combining nc files
together
> > > Date: Thu, 29 Jan 2015 17:05:25 +0530
> > >
> > >
> > >
> > >
> > > Hi John.
> > > So I was able to sum up all the 3 hourly TRMM files and then
convert
> the
> > > final file into One called Obs22apr2011.bin.
> > > I have done that using Grads and now I am using the R script for
> > > converting into NC.
> > > But I got the error.
> > > aditya at agniilap:~/geeta/installs/met/RUN_MET-22apr2011$ Rscript
> > > ../trmm_to_nc/trmmbin2nc_mod.R Obs22apr2011.bin Obs22apr2011.nc
> > >
> > >
> > > ERROR: Can't figure out the accumulation interval!
> > >
> > > I am sending you the data files and the R script (I changed the
> domain).
> > > The data is plotted fine. Also pls tell me about the ncview
questions
> that
> > > I was asking. reg the plotting of MPR's
> > > Kindly suggest.
> > > Geeta
> > >
> > >
> > >
> > >
> > > > Subject: Re: [rt.rap.ucar.edu #70453] combining nc files
together
> > > > From: met_help at ucar.edu
> > > > To: geeta124 at hotmail.com
> > > > Date: Mon, 26 Jan 2015 09:58:32 -0700
> > > >
> > > > Geeta,
> > > >
> > > > On that webpage (
> > > >
http://www.dtcenter.org/met/users/downloads/analysis_scripts.php),
> > > please
> > > > look specifically at the script named "mode_quilt_plot.R".
Here's
> the
> > > > direct link to that script:
> > > >
> > >
http://www.dtcenter.org/met/users/downloads/Rscripts/mode_quilt_plot.R
> > > >
> > > > And here's a direct link to the sample output that script
creates:
> > > >
> > > >
> > >
>
http://www.dtcenter.org/met/users/downloads/Rscripts/SAMPLE_mode_quilts.pdf
> > > >
> > > > This is an example of using R to make a quilt plot for the
output of
> the
> > > > MODE tool.  You might also use a quilt plot to display
fractions
> skill
> > > > score from the Grid-Stat tool, if you've run FSS for multiple
> thresholds
> > > > and neighborhood sizes.
> > > >
> > > > John
> > > >
> > > > On Mon, Jan 26, 2015 at 7:28 AM, Geeta Geeta via RT <
> met_help at ucar.edu>
> > > > wrote:
> > > >
> > > > >
> > > > > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453 >
> > > > >
> > > > > Hi John.
> > > > > the link
> > > http://www.dtcenter.org/met/users/downloads/analysis_scripts.php
> > > > > has the plots for the cnt statistics.
> > > > > I am not familiar with R. I am going thru the plot_cnt.R
script.
> > > > > but I want to know what will be the data format for the
Quilt plot.
> > > > > Do I have to write my own script???.
> > > > > Kindly let me know about the data format and how I have to
modify
> the
> > > > > above script in order to make the quilt plot.
> > > > > Regards
> > > > > Geeta
> > > > >
> > > > > > Subject: Re: [rt.rap.ucar.edu #70453] combining nc files
> together
> > > > > > From: met_help at ucar.edu
> > > > > > To: geeta124 at hotmail.com
> > > > > > Date: Fri, 23 Jan 2015 11:09:23 -0700
> > > > > >
> > > > > > Geeta,
> > > > > >
> > > > > > Regarding 3-hourly RF accumulations, if MET is able to
read those
> > > NetCDF
> > > > > > files, you can run them through PCP-Combine to "add" them
all
> > > together.
> > > > > > Just use the example PCP_Combine command I already sent
you but
> > > modify
> > > > > the
> > > > > > "name" entry to list the name of the NetCDF variable you
want to
> > > use.  If
> > > > > > MET is not able to read them, then it's up to you to
figure out
> how
> > > to
> > > > > > accumulate them.
> > > > > >
> > > > > > If you're familiar with R, you could use the "ncdf"
library in R
> to
> > > read
> > > > > > data from one or more NetCDF files, add them up, and write
it
> out to
> > > a
> > > > > new
> > > > > > file.  Alternatively, "nco" (NetCDF Operators) provide
some
> > > capability of
> > > > > > doing simple operations on NetCDF files.  You might be
able to
> use
> > > them.
> > > > > >
> > > > > > Regarding quilt plots, I've only used R to make them in
the past.
> > > > > > Specifically, the "quilt.plot" function in the R package
named
> > > "fields".
> > > > > > Please take a look at this website:
> > > > > >
> http://www.dtcenter.org/met/users/downloads/analysis_scripts.php
> > > > > >
> > > > > > The Rscript named "mode_quilt_plot.R" provides an example
of
> using R
> > > to
> > > > > > make quilt plots.  Example output from that script is also
> included
> > > on
> > > > > that
> > > > > > page.
> > > > > >
> > > > > > Thanks,
> > > > > > John
> > > > > >
> > > > > > On Fri, Jan 23, 2015 at 4:06 AM, Geeta Geeta via RT <
> > > met_help at ucar.edu>
> > > > > > wrote:
> > > > > >
> > > > > > >
> > > > > > > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453
> >
> > > > > > >
> > > > > > > Hi John. Your help is needed at every step. Now I want
to know
> > > which
> > > > > > > software can be used for making the QUILT plot
(intensity and
> > > spatial
> > > > > > > distribution) plot. Can It be done in using MET5.0. How
Can I
> plot
> > > the
> > > > > > > point data that I used in MET5.0???KIndly guide me. Also
pls
> tell
> > > me
> > > > > if u
> > > > > > > can figure out the issue of 3hrly RF accumulations if
the files
> > > are in
> > > > > the
> > > > > > > NETCDF format. Geeta
> > > > > > >
> > > > > > > From: geeta124 at hotmail.com
> > > > > > > To: met_help at ucar.edu
> > > > > > > Subject: RE: [rt.rap.ucar.edu #70453] combining nc files
> together
> > > > > > > Date: Thu, 22 Jan 2015 16:30:34 +0530
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > thanks John.  the pcp combine tool uses only GRIB1
files. these
> > > were
> > > > > > > netcdf files (attaching one).I had downloaded the NC
files from
> > > > > > >
> > > > >
> > >
> http://mirador.gsfc.nasa.gov/cgi-
bin/mirador/granlist.pl?page=1&location=(-90,-
180),(90,180)&dataSet=TRMM_3B42&version=007&allversion=007&startTime=2011-
04-22T00:00:01Z&endTime=2011-04-
22T23:59:59Z&keyword=TRMM_3B42&longname=TRMM%203-
Hourly%200.25%20deg.%20TRMM%20and%20Others%20Rainfall%20Estimate%20Data&CGISESSID=02499c2107ddfb60a3e46d6b99df3d79&prodpg=http://mirador.gsfc.nasa.gov/collections/TRMM_3B42__007.shtmlI
> > > > > > > got following error. bash-3.2$ ./run_pcptool.sh Running
PCP
> > > > > toolPerforming
> > > > > > > addition command for 2 files.Reading input file:
> > > 3B42.20110422.12.7.nc
> > > > > > > GribFile::skip_header() -> can't find "GRIB" magic
cookie
>  ERROR:
> > > > > > > get_field() -> can't open grib file:
3B42.20110422.12.7.nc
> > > > > > > Following is my script--------!/bin/sh
> > > > > > >
> > > > > > >              echo " Running PCP
> > > > > > > tool"~/wrf3/utils/met/METv3.0/bin/pcp_combine -add
> > > > > 3B42.20110422.12.7.nc
> > > > > > > 03 3B42.20110422.15.7.nc 03 myoutput.nc
> > > > > > > Kindly suggest.
> > > > > > >
> > > > > > > the second thing I was thinking to download the TRMM
data from
> > > thelink
> > > > > at
> > > > > > > DTC website and then converying the 3 hourly bins to NC.
> > > > > > > 2.2 MBftp://
> > > > > > >
> > > > >
> > >
>
disc2.nascom.nasa.gov/data/TRMM/Gridded/3B42_V7/201104/3B42.110422.15z.7.precipitation.bin
> > > > > > > But my problem will be to ACCUMULATE them. I need to
verify the
> > > model
> > > > > data
> > > > > > > starting 06 UTC of day1 to 03UTC of DAY2. I mean how do
I
> combine
> > > all
> > > > > the
> > > > > > > NC  files together. Kindly suggest
> > > > > > > > Subject: Re: [rt.rap.ucar.edu #70453] combining nc
files
> > > together
> > > > > > > > From: met_help at ucar.edu
> > > > > > > > To: geeta124 at hotmail.com
> > > > > > > > Date: Wed, 21 Jan 2015 10:45:12 -0700
> > > > > > > >
> > > > > > > > Geeta,
> > > > > > > >
> > > > > > > > I'm assuming the variable in the NetCDF files is named
> > > "APCP_03".  If
> > > > > > > not,
> > > > > > > > just switch in the actual name.  You can run the
following
> > > > > pcp_combine
> > > > > > > -add
> > > > > > > > command:
> > > > > > > >
> > > > > > > > pcp_combine -add \
> > > > > > > >    3B42.20110422.09.7.nc 'name="APCP_03";
level="(*,*)";' \
> > > > > > > >    3B42.20110422.12.7.nc 'name="APCP_03";
level="(*,*)";' \
> > > > > > > >    3B42.20110422.15.7.nc 'name="APCP_03";
level="(*,*)";' \
> > > > > > > >    3B42.20110422.18.7.nc 'name="APCP_03";
level="(*,*)";' \
> > > > > > > >    3B42.20110422.21.7.nc 'name="APCP_03";
level="(*,*)";' \
> > > > > > > >    3B42.20110423.00.7.nc 'name="APCP_03";
level="(*,*)";' \
> > > > > > > >    3B42.20110423.03.7.nc 'name="APCP_03";
level="(*,*)";' \
> > > > > > > >    3B42.20110423.06.7.nc 'name="APCP_03";
level="(*,*)";' \
> > > > > > > >    3B42.20110423.06.7_APCP_24.nc
> > > > > > > >
> > > > > > > > The last file listed is just the output file name I
chose.
> But
> > > you
> > > > > can
> > > > > > > > name it whatever you'd like.
> > > > > > > >
> > > > > > > > John
> > > > > > > >
> > > > > > > >
> > > > > > > > On Wed, Jan 21, 2015 at 4:02 AM, Geeta Geeta via RT <
> > > > > met_help at ucar.edu>
> > > > > > > > wrote:
> > > > > > > >
> > > > > > > > >
> > > > > > > > > Wed Jan 21 04:02:41 2015: Request 70453 was acted
upon.
> > > > > > > > > Transaction: Ticket created by geeta124 at hotmail.com
> > > > > > > > >        Queue: met_help
> > > > > > > > >      Subject: combining nc files together
> > > > > > > > >        Owner: Nobody
> > > > > > > > >   Requestors: geeta124 at hotmail.com
> > > > > > > > >       Status: new
> > > > > > > > >  Ticket <URL:
> > > > > https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453
> > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > Hi John.
> > > > > > > > > Sorry to bother you again n again. But I have no
choice. I
> > > want to
> > > > > know
> > > > > > > > > the followingI have 8 nc files. bash-3.2$ ls -ltotal
> > > > > 216336-rw-r--r--
> > > > > > >   1
> > > > > > > > > model    staff      13841488 Jan 21 11:24
> > > > > > > 3B42.20110422.06.7.nc-rw-r--r--
> > > > > > > > >   1 model    staff      13841488 Jan 21 11:27
> > > > > > > > > 3B42.20110422.09.7.nc-rw-r--r--    1 model    staff
> > > 13841492
> > > > > Jan
> > > > > > > 21
> > > > > > > > > 14:01 3B42.20110422.12.7.nc-rw-r--r--    1 model
staff
> > > > > > > 13841492 Jan
> > > > > > > > > 21 13:16 3B42.20110422.15.7.nc-rw-r--r--    1 model
> staff
> > > > > > > 13841492
> > > > > > > > > Jan 21 14:51 3B42.20110422.18.7.nc-rw-r--r--    1
model
> > > staff
> > > > > > > > > 13841492 Jan 21 13:21 3B42.20110422.21.7.nc-rw-r--
r--    1
> > > model
> > > > > > > staff
> > > > > > > > >     13841488 Jan 21 13:22 3B42.20110423.00.7.nc-rw-
r--r--
>   1
> > > > > model
> > > > > > > > > staff      13841488 Jan 21 13:50
> > > 3B42.20110423.03.7.ncbash-3.2$ pwd
> > > > > > > > > I need to make ONE 24 hour RF accumulated file
starting
> 06UTC
> > > of
> > > > > > > > > 22.04.2011 - 03UTC of 23.04.2011. How do I do
that???
> > > > > > > > > Geeta
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > > >
> > > >
> > >
> > >
> > >
> >
>
>

------------------------------------------------
Subject: combining nc files together
From: Geeta Geeta
Time: Thu Feb 05 02:02:47 2015

Hi John.
Thanks for wonderful ideas.
The first one is working. but I have yet to run grid_stat to see if
everything is working finally. I ll try the ncatted.

To sum up all the nc files (for the times that I want), I did try the
pcp_combine. But I guess It only works for the GRIB files.
I have sent to u the error before. I tried to use MET3.0 for that
which is installed in my HPC.
I have 5.0 on my personal system. Will try that exercise in this
system.
Thanks again for your help.
Geeta


> Subject: Re: [rt.rap.ucar.edu #70453] combining nc files together
> From: met_help at ucar.edu
> To: geeta124 at hotmail.com
> Date: Wed, 4 Feb 2015 11:21:19 -0700
>
> Geeta,
>
> The trmmbin2nc.R script is set up to only handle the TRMM binary
data
> exactly from that website.  The timing information for that binary
data is
> only contained in the file name, and you've renamed those files.  So
the
> script doesn't know how to parse them.
>
> Here's 2 options:
> (1) Rename that file using the "daily" file naming conventions:
>    cp Obs22apr2011.bin 3B42_daily.2011.04.22.7.bin
>    Rscript 3B42_daily.2011.04.22.7.bin 3B42_daily.2011.04.22.7.nc
>
> That will produce output but it'll assume the precipitation is
accumulated
> for 24-hours from 20110422 00Z to 20110423 00Z.  If the times should
be
> something different you could... edit the Rscript to use the times
you
> want... or use the "ncatted" tool to modify the timing information
listed
> in the output NetCDF file.
>
> (2) Or, as we've discussed in the past, you could run each of the 3-
hour
> files through the trmmbin2nc.R script and write out NetCDF files.
Then run
> those 3-hourly NetCDF files through pcp_combine to add them up.
>
> Thanks,
> John
>
>
> On Sun, Feb 1, 2015 at 11:27 PM, Geeta Geeta via RT
<met_help at ucar.edu>
> wrote:
>
> >
> > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453 >
> >
> > Hi John.
> > This is an old Ticket. Kindly sort this issue too.
> > I was able to sum up all the 3 hourly TRMM files and then convert
the
> > final file into One called Obs22apr2011.bin.
> > I had used Grads for summing up all the 8 files. and now I am
using the R
> > script for
> > converting into NC.
> > But I got the error.
> > aditya at agniilap:~/geeta/installs/met/RUN_MET-22apr2011$ Rscript
> > ../trmm_to_nc/trmmbin2nc_mod.R Obs22apr2011.bin Obs22apr2011.nc
> >
> >
> > ERROR: Can't figure out the accumulation interval!I am sending you
the
> > data that I converted using Grads.
> > Geeta
> >
> > > Subject: Re: [rt.rap.ucar.edu #70453] combining nc files
together
> > > From: met_help at ucar.edu
> > > To: geeta124 at hotmail.com
> > > Date: Fri, 30 Jan 2015 11:04:18 -0700
> > >
> > > Geeta,
> > >
> > > I don't have time to adapt that Rscript for your use with Grid-
Stat.
> > > However, we did do something very similar for a previous
project.  I have
> > > attached an Rscript named "fss_quilt_plot.R" you could easily
adapt to
> > > create a quilt plot for your data.  I've also attached a copy of
the
> > paper
> > > for which this script was used.  Please look at figure 7.
> > >
> > > Thanks,
> > > John
> > >
> > > On Fri, Jan 30, 2015 at 1:03 AM, Geeta Geeta via RT
<met_help at ucar.edu>
> > > wrote:
> > >
> > > >
> > > > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453
>
> > > >
> > > > Hi John.
> > > > I changed different widths in the configuration file.
(Width=1,3,5,,7
> > etc).
> > > >
> > > > // Neighborhood methods
> > > > //
> > > > nbrhd = {
> > > >    vld_thresh = 1.0;
> > > >    width      = [ 7 ];
> > > >    cov_thresh = [ >=0.5 ];
> > > > }
> > > > and got various outputs (for different widths) which are in
different
> > > > directories.
> > > > Now I saw the R script on the website which is probably
exclusively for
> > > > the MODE TOOL only.
> > > > Now my question is how to make the quilt plot for the GRid
stat
> > tool???.
> > > > Sorry I m not familiar with R  now.
> > > > Pls help.
> > > > Geeta.
> > > >
> > > >
> > > >
> > > > From: geeta124 at hotmail.com
> > > > To: met_help at ucar.edu
> > > > Subject: RE: [rt.rap.ucar.edu #70453] combining nc files
together
> > > > Date: Thu, 29 Jan 2015 17:05:25 +0530
> > > >
> > > >
> > > >
> > > >
> > > > Hi John.
> > > > So I was able to sum up all the 3 hourly TRMM files and then
convert
> > the
> > > > final file into One called Obs22apr2011.bin.
> > > > I have done that using Grads and now I am using the R script
for
> > > > converting into NC.
> > > > But I got the error.
> > > > aditya at agniilap:~/geeta/installs/met/RUN_MET-22apr2011$
Rscript
> > > > ../trmm_to_nc/trmmbin2nc_mod.R Obs22apr2011.bin
Obs22apr2011.nc
> > > >
> > > >
> > > > ERROR: Can't figure out the accumulation interval!
> > > >
> > > > I am sending you the data files and the R script (I changed
the
> > domain).
> > > > The data is plotted fine. Also pls tell me about the ncview
questions
> > that
> > > > I was asking. reg the plotting of MPR's
> > > > Kindly suggest.
> > > > Geeta
> > > >
> > > >
> > > >
> > > >
> > > > > Subject: Re: [rt.rap.ucar.edu #70453] combining nc files
together
> > > > > From: met_help at ucar.edu
> > > > > To: geeta124 at hotmail.com
> > > > > Date: Mon, 26 Jan 2015 09:58:32 -0700
> > > > >
> > > > > Geeta,
> > > > >
> > > > > On that webpage (
> > > > >
http://www.dtcenter.org/met/users/downloads/analysis_scripts.php),
> > > > please
> > > > > look specifically at the script named "mode_quilt_plot.R".
Here's
> > the
> > > > > direct link to that script:
> > > > >
> > > >
http://www.dtcenter.org/met/users/downloads/Rscripts/mode_quilt_plot.R
> > > > >
> > > > > And here's a direct link to the sample output that script
creates:
> > > > >
> > > > >
> > > >
> >
http://www.dtcenter.org/met/users/downloads/Rscripts/SAMPLE_mode_quilts.pdf
> > > > >
> > > > > This is an example of using R to make a quilt plot for the
output of
> > the
> > > > > MODE tool.  You might also use a quilt plot to display
fractions
> > skill
> > > > > score from the Grid-Stat tool, if you've run FSS for
multiple
> > thresholds
> > > > > and neighborhood sizes.
> > > > >
> > > > > John
> > > > >
> > > > > On Mon, Jan 26, 2015 at 7:28 AM, Geeta Geeta via RT <
> > met_help at ucar.edu>
> > > > > wrote:
> > > > >
> > > > > >
> > > > > > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453 >
> > > > > >
> > > > > > Hi John.
> > > > > > the link
> > > >
http://www.dtcenter.org/met/users/downloads/analysis_scripts.php
> > > > > > has the plots for the cnt statistics.
> > > > > > I am not familiar with R. I am going thru the plot_cnt.R
script.
> > > > > > but I want to know what will be the data format for the
Quilt plot.
> > > > > > Do I have to write my own script???.
> > > > > > Kindly let me know about the data format and how I have to
modify
> > the
> > > > > > above script in order to make the quilt plot.
> > > > > > Regards
> > > > > > Geeta
> > > > > >
> > > > > > > Subject: Re: [rt.rap.ucar.edu #70453] combining nc files
> > together
> > > > > > > From: met_help at ucar.edu
> > > > > > > To: geeta124 at hotmail.com
> > > > > > > Date: Fri, 23 Jan 2015 11:09:23 -0700
> > > > > > >
> > > > > > > Geeta,
> > > > > > >
> > > > > > > Regarding 3-hourly RF accumulations, if MET is able to
read those
> > > > NetCDF
> > > > > > > files, you can run them through PCP-Combine to "add"
them all
> > > > together.
> > > > > > > Just use the example PCP_Combine command I already sent
you but
> > > > modify
> > > > > > the
> > > > > > > "name" entry to list the name of the NetCDF variable you
want to
> > > > use.  If
> > > > > > > MET is not able to read them, then it's up to you to
figure out
> > how
> > > > to
> > > > > > > accumulate them.
> > > > > > >
> > > > > > > If you're familiar with R, you could use the "ncdf"
library in R
> > to
> > > > read
> > > > > > > data from one or more NetCDF files, add them up, and
write it
> > out to
> > > > a
> > > > > > new
> > > > > > > file.  Alternatively, "nco" (NetCDF Operators) provide
some
> > > > capability of
> > > > > > > doing simple operations on NetCDF files.  You might be
able to
> > use
> > > > them.
> > > > > > >
> > > > > > > Regarding quilt plots, I've only used R to make them in
the past.
> > > > > > > Specifically, the "quilt.plot" function in the R package
named
> > > > "fields".
> > > > > > > Please take a look at this website:
> > > > > > >
> > http://www.dtcenter.org/met/users/downloads/analysis_scripts.php
> > > > > > >
> > > > > > > The Rscript named "mode_quilt_plot.R" provides an
example of
> > using R
> > > > to
> > > > > > > make quilt plots.  Example output from that script is
also
> > included
> > > > on
> > > > > > that
> > > > > > > page.
> > > > > > >
> > > > > > > Thanks,
> > > > > > > John
> > > > > > >
> > > > > > > On Fri, Jan 23, 2015 at 4:06 AM, Geeta Geeta via RT <
> > > > met_help at ucar.edu>
> > > > > > > wrote:
> > > > > > >
> > > > > > > >
> > > > > > > > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453
> > >
> > > > > > > >
> > > > > > > > Hi John. Your help is needed at every step. Now I want
to know
> > > > which
> > > > > > > > software can be used for making the QUILT plot
(intensity and
> > > > spatial
> > > > > > > > distribution) plot. Can It be done in using MET5.0.
How Can I
> > plot
> > > > the
> > > > > > > > point data that I used in MET5.0???KIndly guide me.
Also pls
> > tell
> > > > me
> > > > > > if u
> > > > > > > > can figure out the issue of 3hrly RF accumulations if
the files
> > > > are in
> > > > > > the
> > > > > > > > NETCDF format. Geeta
> > > > > > > >
> > > > > > > > From: geeta124 at hotmail.com
> > > > > > > > To: met_help at ucar.edu
> > > > > > > > Subject: RE: [rt.rap.ucar.edu #70453] combining nc
files
> > together
> > > > > > > > Date: Thu, 22 Jan 2015 16:30:34 +0530
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > thanks John.  the pcp combine tool uses only GRIB1
files. these
> > > > were
> > > > > > > > netcdf files (attaching one).I had downloaded the NC
files from
> > > > > > > >
> > > > > >
> > > >
> > http://mirador.gsfc.nasa.gov/cgi-
bin/mirador/granlist.pl?page=1&location=(-90,-
180),(90,180)&dataSet=TRMM_3B42&version=007&allversion=007&startTime=2011-
04-22T00:00:01Z&endTime=2011-04-
22T23:59:59Z&keyword=TRMM_3B42&longname=TRMM%203-
Hourly%200.25%20deg.%20TRMM%20and%20Others%20Rainfall%20Estimate%20Data&CGISESSID=02499c2107ddfb60a3e46d6b99df3d79&prodpg=http://mirador.gsfc.nasa.gov/collections/TRMM_3B42__007.shtmlI
> > > > > > > > got following error. bash-3.2$ ./run_pcptool.sh
Running PCP
> > > > > > toolPerforming
> > > > > > > > addition command for 2 files.Reading input file:
> > > > 3B42.20110422.12.7.nc
> > > > > > > > GribFile::skip_header() -> can't find "GRIB" magic
cookie
> >  ERROR:
> > > > > > > > get_field() -> can't open grib file:
3B42.20110422.12.7.nc
> > > > > > > > Following is my script--------!/bin/sh
> > > > > > > >
> > > > > > > >              echo " Running PCP
> > > > > > > > tool"~/wrf3/utils/met/METv3.0/bin/pcp_combine -add
> > > > > > 3B42.20110422.12.7.nc
> > > > > > > > 03 3B42.20110422.15.7.nc 03 myoutput.nc
> > > > > > > > Kindly suggest.
> > > > > > > >
> > > > > > > > the second thing I was thinking to download the TRMM
data from
> > > > thelink
> > > > > > at
> > > > > > > > DTC website and then converying the 3 hourly bins to
NC.
> > > > > > > > 2.2 MBftp://
> > > > > > > >
> > > > > >
> > > >
> >
disc2.nascom.nasa.gov/data/TRMM/Gridded/3B42_V7/201104/3B42.110422.15z.7.precipitation.bin
> > > > > > > > But my problem will be to ACCUMULATE them. I need to
verify the
> > > > model
> > > > > > data
> > > > > > > > starting 06 UTC of day1 to 03UTC of DAY2. I mean how
do I
> > combine
> > > > all
> > > > > > the
> > > > > > > > NC  files together. Kindly suggest
> > > > > > > > > Subject: Re: [rt.rap.ucar.edu #70453] combining nc
files
> > > > together
> > > > > > > > > From: met_help at ucar.edu
> > > > > > > > > To: geeta124 at hotmail.com
> > > > > > > > > Date: Wed, 21 Jan 2015 10:45:12 -0700
> > > > > > > > >
> > > > > > > > > Geeta,
> > > > > > > > >
> > > > > > > > > I'm assuming the variable in the NetCDF files is
named
> > > > "APCP_03".  If
> > > > > > > > not,
> > > > > > > > > just switch in the actual name.  You can run the
following
> > > > > > pcp_combine
> > > > > > > > -add
> > > > > > > > > command:
> > > > > > > > >
> > > > > > > > > pcp_combine -add \
> > > > > > > > >    3B42.20110422.09.7.nc 'name="APCP_03";
level="(*,*)";' \
> > > > > > > > >    3B42.20110422.12.7.nc 'name="APCP_03";
level="(*,*)";' \
> > > > > > > > >    3B42.20110422.15.7.nc 'name="APCP_03";
level="(*,*)";' \
> > > > > > > > >    3B42.20110422.18.7.nc 'name="APCP_03";
level="(*,*)";' \
> > > > > > > > >    3B42.20110422.21.7.nc 'name="APCP_03";
level="(*,*)";' \
> > > > > > > > >    3B42.20110423.00.7.nc 'name="APCP_03";
level="(*,*)";' \
> > > > > > > > >    3B42.20110423.03.7.nc 'name="APCP_03";
level="(*,*)";' \
> > > > > > > > >    3B42.20110423.06.7.nc 'name="APCP_03";
level="(*,*)";' \
> > > > > > > > >    3B42.20110423.06.7_APCP_24.nc
> > > > > > > > >
> > > > > > > > > The last file listed is just the output file name I
chose.
> > But
> > > > you
> > > > > > can
> > > > > > > > > name it whatever you'd like.
> > > > > > > > >
> > > > > > > > > John
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > On Wed, Jan 21, 2015 at 4:02 AM, Geeta Geeta via RT
<
> > > > > > met_help at ucar.edu>
> > > > > > > > > wrote:
> > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > Wed Jan 21 04:02:41 2015: Request 70453 was acted
upon.
> > > > > > > > > > Transaction: Ticket created by
geeta124 at hotmail.com
> > > > > > > > > >        Queue: met_help
> > > > > > > > > >      Subject: combining nc files together
> > > > > > > > > >        Owner: Nobody
> > > > > > > > > >   Requestors: geeta124 at hotmail.com
> > > > > > > > > >       Status: new
> > > > > > > > > >  Ticket <URL:
> > > > > > https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453
> > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > Hi John.
> > > > > > > > > > Sorry to bother you again n again. But I have no
choice. I
> > > > want to
> > > > > > know
> > > > > > > > > > the followingI have 8 nc files. bash-3.2$ ls
-ltotal
> > > > > > 216336-rw-r--r--
> > > > > > > >   1
> > > > > > > > > > model    staff      13841488 Jan 21 11:24
> > > > > > > > 3B42.20110422.06.7.nc-rw-r--r--
> > > > > > > > > >   1 model    staff      13841488 Jan 21 11:27
> > > > > > > > > > 3B42.20110422.09.7.nc-rw-r--r--    1 model
staff
> > > > 13841492
> > > > > > Jan
> > > > > > > > 21
> > > > > > > > > > 14:01 3B42.20110422.12.7.nc-rw-r--r--    1 model
staff
> > > > > > > > 13841492 Jan
> > > > > > > > > > 21 13:16 3B42.20110422.15.7.nc-rw-r--r--    1
model
> > staff
> > > > > > > > 13841492
> > > > > > > > > > Jan 21 14:51 3B42.20110422.18.7.nc-rw-r--r--    1
model
> > > > staff
> > > > > > > > > > 13841492 Jan 21 13:21 3B42.20110422.21.7.nc-rw-r--
r--    1
> > > > model
> > > > > > > > staff
> > > > > > > > > >     13841488 Jan 21 13:22 3B42.20110423.00.7.nc-
rw-r--r--
> >   1
> > > > > > model
> > > > > > > > > > staff      13841488 Jan 21 13:50
> > > > 3B42.20110423.03.7.ncbash-3.2$ pwd
> > > > > > > > > > I need to make ONE 24 hour RF accumulated file
starting
> > 06UTC
> > > > of
> > > > > > > > > > 22.04.2011 - 03UTC of 23.04.2011. How do I do
that???
> > > > > > > > > > Geeta
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > > >
> > > > >
> > > >
> > > >
> > > >
> > >
> >
> >
>

------------------------------------------------
Subject: combining nc files together
From: John Halley Gotway
Time: Thu Feb 05 10:33:59 2015

Geeta,

You're correct, you can only use the "sum" command of pcp_combine for
GRIB1
or GRIB2 files...

But, you can use the "add" command on any gridded data file format
that MET
supports.  Adding together 8 NetCDF files with pcp_combine would look
something like this:

pcp_combine -add \
file1.nc 'name="APCP_03"; level="(*,*)";' \
file2.nc 'name="APCP_03"; level="(*,*)";' \
...
file8.nc 'name="APCP_03"; level="(*,*)";' \
APCP_24.nc

It makes for a longer command line, but it is possible to do with
pcp_combine.

John



On Thu, Feb 5, 2015 at 2:02 AM, Geeta Geeta via RT <met_help at ucar.edu>
wrote:

>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453 >
>
> Hi John.
> Thanks for wonderful ideas.
> The first one is working. but I have yet to run grid_stat to see if
> everything is working finally. I ll try the ncatted.
>
> To sum up all the nc files (for the times that I want), I did try
the
> pcp_combine. But I guess It only works for the GRIB files.
> I have sent to u the error before. I tried to use MET3.0 for that
which is
> installed in my HPC.
> I have 5.0 on my personal system. Will try that exercise in this
system.
> Thanks again for your help.
> Geeta
>
>
> > Subject: Re: [rt.rap.ucar.edu #70453] combining nc files together
> > From: met_help at ucar.edu
> > To: geeta124 at hotmail.com
> > Date: Wed, 4 Feb 2015 11:21:19 -0700
> >
> > Geeta,
> >
> > The trmmbin2nc.R script is set up to only handle the TRMM binary
data
> > exactly from that website.  The timing information for that binary
data
> is
> > only contained in the file name, and you've renamed those files.
So the
> > script doesn't know how to parse them.
> >
> > Here's 2 options:
> > (1) Rename that file using the "daily" file naming conventions:
> >    cp Obs22apr2011.bin 3B42_daily.2011.04.22.7.bin
> >    Rscript 3B42_daily.2011.04.22.7.bin 3B42_daily.2011.04.22.7.nc
> >
> > That will produce output but it'll assume the precipitation is
> accumulated
> > for 24-hours from 20110422 00Z to 20110423 00Z.  If the times
should be
> > something different you could... edit the Rscript to use the times
you
> > want... or use the "ncatted" tool to modify the timing information
listed
> > in the output NetCDF file.
> >
> > (2) Or, as we've discussed in the past, you could run each of the
3-hour
> > files through the trmmbin2nc.R script and write out NetCDF files.
Then
> run
> > those 3-hourly NetCDF files through pcp_combine to add them up.
> >
> > Thanks,
> > John
> >
> >
> > On Sun, Feb 1, 2015 at 11:27 PM, Geeta Geeta via RT
<met_help at ucar.edu>
> > wrote:
> >
> > >
> > > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453 >
> > >
> > > Hi John.
> > > This is an old Ticket. Kindly sort this issue too.
> > > I was able to sum up all the 3 hourly TRMM files and then
convert the
> > > final file into One called Obs22apr2011.bin.
> > > I had used Grads for summing up all the 8 files. and now I am
using
> the R
> > > script for
> > > converting into NC.
> > > But I got the error.
> > > aditya at agniilap:~/geeta/installs/met/RUN_MET-22apr2011$ Rscript
> > > ../trmm_to_nc/trmmbin2nc_mod.R Obs22apr2011.bin Obs22apr2011.nc
> > >
> > >
> > > ERROR: Can't figure out the accumulation interval!I am sending
you the
> > > data that I converted using Grads.
> > > Geeta
> > >
> > > > Subject: Re: [rt.rap.ucar.edu #70453] combining nc files
together
> > > > From: met_help at ucar.edu
> > > > To: geeta124 at hotmail.com
> > > > Date: Fri, 30 Jan 2015 11:04:18 -0700
> > > >
> > > > Geeta,
> > > >
> > > > I don't have time to adapt that Rscript for your use with
Grid-Stat.
> > > > However, we did do something very similar for a previous
project.  I
> have
> > > > attached an Rscript named "fss_quilt_plot.R" you could easily
adapt
> to
> > > > create a quilt plot for your data.  I've also attached a copy
of the
> > > paper
> > > > for which this script was used.  Please look at figure 7.
> > > >
> > > > Thanks,
> > > > John
> > > >
> > > > On Fri, Jan 30, 2015 at 1:03 AM, Geeta Geeta via RT <
> met_help at ucar.edu>
> > > > wrote:
> > > >
> > > > >
> > > > > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453 >
> > > > >
> > > > > Hi John.
> > > > > I changed different widths in the configuration file.
> (Width=1,3,5,,7
> > > etc).
> > > > >
> > > > > // Neighborhood methods
> > > > > //
> > > > > nbrhd = {
> > > > >    vld_thresh = 1.0;
> > > > >    width      = [ 7 ];
> > > > >    cov_thresh = [ >=0.5 ];
> > > > > }
> > > > > and got various outputs (for different widths) which are in
> different
> > > > > directories.
> > > > > Now I saw the R script on the website which is probably
> exclusively for
> > > > > the MODE TOOL only.
> > > > > Now my question is how to make the quilt plot for the GRid
stat
> > > tool???.
> > > > > Sorry I m not familiar with R  now.
> > > > > Pls help.
> > > > > Geeta.
> > > > >
> > > > >
> > > > >
> > > > > From: geeta124 at hotmail.com
> > > > > To: met_help at ucar.edu
> > > > > Subject: RE: [rt.rap.ucar.edu #70453] combining nc files
together
> > > > > Date: Thu, 29 Jan 2015 17:05:25 +0530
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > Hi John.
> > > > > So I was able to sum up all the 3 hourly TRMM files and then
> convert
> > > the
> > > > > final file into One called Obs22apr2011.bin.
> > > > > I have done that using Grads and now I am using the R script
for
> > > > > converting into NC.
> > > > > But I got the error.
> > > > > aditya at agniilap:~/geeta/installs/met/RUN_MET-22apr2011$
Rscript
> > > > > ../trmm_to_nc/trmmbin2nc_mod.R Obs22apr2011.bin
Obs22apr2011.nc
> > > > >
> > > > >
> > > > > ERROR: Can't figure out the accumulation interval!
> > > > >
> > > > > I am sending you the data files and the R script (I changed
the
> > > domain).
> > > > > The data is plotted fine. Also pls tell me about the ncview
> questions
> > > that
> > > > > I was asking. reg the plotting of MPR's
> > > > > Kindly suggest.
> > > > > Geeta
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > > Subject: Re: [rt.rap.ucar.edu #70453] combining nc files
> together
> > > > > > From: met_help at ucar.edu
> > > > > > To: geeta124 at hotmail.com
> > > > > > Date: Mon, 26 Jan 2015 09:58:32 -0700
> > > > > >
> > > > > > Geeta,
> > > > > >
> > > > > > On that webpage (
> > > > > >
http://www.dtcenter.org/met/users/downloads/analysis_scripts.php
> ),
> > > > > please
> > > > > > look specifically at the script named "mode_quilt_plot.R".
> Here's
> > > the
> > > > > > direct link to that script:
> > > > > >
> > > > >
>
http://www.dtcenter.org/met/users/downloads/Rscripts/mode_quilt_plot.R
> > > > > >
> > > > > > And here's a direct link to the sample output that script
> creates:
> > > > > >
> > > > > >
> > > > >
> > >
>
http://www.dtcenter.org/met/users/downloads/Rscripts/SAMPLE_mode_quilts.pdf
> > > > > >
> > > > > > This is an example of using R to make a quilt plot for the
> output of
> > > the
> > > > > > MODE tool.  You might also use a quilt plot to display
fractions
> > > skill
> > > > > > score from the Grid-Stat tool, if you've run FSS for
multiple
> > > thresholds
> > > > > > and neighborhood sizes.
> > > > > >
> > > > > > John
> > > > > >
> > > > > > On Mon, Jan 26, 2015 at 7:28 AM, Geeta Geeta via RT <
> > > met_help at ucar.edu>
> > > > > > wrote:
> > > > > >
> > > > > > >
> > > > > > > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453
> >
> > > > > > >
> > > > > > > Hi John.
> > > > > > > the link
> > > > >
http://www.dtcenter.org/met/users/downloads/analysis_scripts.php
> > > > > > > has the plots for the cnt statistics.
> > > > > > > I am not familiar with R. I am going thru the plot_cnt.R
> script.
> > > > > > > but I want to know what will be the data format for the
Quilt
> plot.
> > > > > > > Do I have to write my own script???.
> > > > > > > Kindly let me know about the data format and how I have
to
> modify
> > > the
> > > > > > > above script in order to make the quilt plot.
> > > > > > > Regards
> > > > > > > Geeta
> > > > > > >
> > > > > > > > Subject: Re: [rt.rap.ucar.edu #70453] combining nc
files
> > > together
> > > > > > > > From: met_help at ucar.edu
> > > > > > > > To: geeta124 at hotmail.com
> > > > > > > > Date: Fri, 23 Jan 2015 11:09:23 -0700
> > > > > > > >
> > > > > > > > Geeta,
> > > > > > > >
> > > > > > > > Regarding 3-hourly RF accumulations, if MET is able to
read
> those
> > > > > NetCDF
> > > > > > > > files, you can run them through PCP-Combine to "add"
them all
> > > > > together.
> > > > > > > > Just use the example PCP_Combine command I already
sent you
> but
> > > > > modify
> > > > > > > the
> > > > > > > > "name" entry to list the name of the NetCDF variable
you
> want to
> > > > > use.  If
> > > > > > > > MET is not able to read them, then it's up to you to
figure
> out
> > > how
> > > > > to
> > > > > > > > accumulate them.
> > > > > > > >
> > > > > > > > If you're familiar with R, you could use the "ncdf"
library
> in R
> > > to
> > > > > read
> > > > > > > > data from one or more NetCDF files, add them up, and
write it
> > > out to
> > > > > a
> > > > > > > new
> > > > > > > > file.  Alternatively, "nco" (NetCDF Operators) provide
some
> > > > > capability of
> > > > > > > > doing simple operations on NetCDF files.  You might be
able
> to
> > > use
> > > > > them.
> > > > > > > >
> > > > > > > > Regarding quilt plots, I've only used R to make them
in the
> past.
> > > > > > > > Specifically, the "quilt.plot" function in the R
package
> named
> > > > > "fields".
> > > > > > > > Please take a look at this website:
> > > > > > > >
> > > http://www.dtcenter.org/met/users/downloads/analysis_scripts.php
> > > > > > > >
> > > > > > > > The Rscript named "mode_quilt_plot.R" provides an
example of
> > > using R
> > > > > to
> > > > > > > > make quilt plots.  Example output from that script is
also
> > > included
> > > > > on
> > > > > > > that
> > > > > > > > page.
> > > > > > > >
> > > > > > > > Thanks,
> > > > > > > > John
> > > > > > > >
> > > > > > > > On Fri, Jan 23, 2015 at 4:06 AM, Geeta Geeta via RT <
> > > > > met_help at ucar.edu>
> > > > > > > > wrote:
> > > > > > > >
> > > > > > > > >
> > > > > > > > > <URL:
> https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453
> > > >
> > > > > > > > >
> > > > > > > > > Hi John. Your help is needed at every step. Now I
want to
> know
> > > > > which
> > > > > > > > > software can be used for making the QUILT plot
(intensity
> and
> > > > > spatial
> > > > > > > > > distribution) plot. Can It be done in using MET5.0.
How
> Can I
> > > plot
> > > > > the
> > > > > > > > > point data that I used in MET5.0???KIndly guide me.
Also
> pls
> > > tell
> > > > > me
> > > > > > > if u
> > > > > > > > > can figure out the issue of 3hrly RF accumulations
if the
> files
> > > > > are in
> > > > > > > the
> > > > > > > > > NETCDF format. Geeta
> > > > > > > > >
> > > > > > > > > From: geeta124 at hotmail.com
> > > > > > > > > To: met_help at ucar.edu
> > > > > > > > > Subject: RE: [rt.rap.ucar.edu #70453] combining nc
files
> > > together
> > > > > > > > > Date: Thu, 22 Jan 2015 16:30:34 +0530
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > thanks John.  the pcp combine tool uses only GRIB1
files.
> these
> > > > > were
> > > > > > > > > netcdf files (attaching one).I had downloaded the NC
files
> from
> > > > > > > > >
> > > > > > >
> > > > >
> > >
> http://mirador.gsfc.nasa.gov/cgi-
bin/mirador/granlist.pl?page=1&location=(-90,-
180),(90,180)&dataSet=TRMM_3B42&version=007&allversion=007&startTime=2011-
04-22T00:00:01Z&endTime=2011-04-
22T23:59:59Z&keyword=TRMM_3B42&longname=TRMM%203-
Hourly%200.25%20deg.%20TRMM%20and%20Others%20Rainfall%20Estimate%20Data&CGISESSID=02499c2107ddfb60a3e46d6b99df3d79&prodpg=http://mirador.gsfc.nasa.gov/collections/TRMM_3B42__007.shtmlI
> > > > > > > > > got following error. bash-3.2$ ./run_pcptool.sh
Running PCP
> > > > > > > toolPerforming
> > > > > > > > > addition command for 2 files.Reading input file:
> > > > > 3B42.20110422.12.7.nc
> > > > > > > > > GribFile::skip_header() -> can't find "GRIB" magic
cookie
> > >  ERROR:
> > > > > > > > > get_field() -> can't open grib file:
3B42.20110422.12.7.nc
> > > > > > > > > Following is my script--------!/bin/sh
> > > > > > > > >
> > > > > > > > >              echo " Running PCP
> > > > > > > > > tool"~/wrf3/utils/met/METv3.0/bin/pcp_combine -add
> > > > > > > 3B42.20110422.12.7.nc
> > > > > > > > > 03 3B42.20110422.15.7.nc 03 myoutput.nc
> > > > > > > > > Kindly suggest.
> > > > > > > > >
> > > > > > > > > the second thing I was thinking to download the TRMM
data
> from
> > > > > thelink
> > > > > > > at
> > > > > > > > > DTC website and then converying the 3 hourly bins to
NC.
> > > > > > > > > 2.2 MBftp://
> > > > > > > > >
> > > > > > >
> > > > >
> > >
>
disc2.nascom.nasa.gov/data/TRMM/Gridded/3B42_V7/201104/3B42.110422.15z.7.precipitation.bin
> > > > > > > > > But my problem will be to ACCUMULATE them. I need to
> verify the
> > > > > model
> > > > > > > data
> > > > > > > > > starting 06 UTC of day1 to 03UTC of DAY2. I mean how
do I
> > > combine
> > > > > all
> > > > > > > the
> > > > > > > > > NC  files together. Kindly suggest
> > > > > > > > > > Subject: Re: [rt.rap.ucar.edu #70453] combining nc
files
> > > > > together
> > > > > > > > > > From: met_help at ucar.edu
> > > > > > > > > > To: geeta124 at hotmail.com
> > > > > > > > > > Date: Wed, 21 Jan 2015 10:45:12 -0700
> > > > > > > > > >
> > > > > > > > > > Geeta,
> > > > > > > > > >
> > > > > > > > > > I'm assuming the variable in the NetCDF files is
named
> > > > > "APCP_03".  If
> > > > > > > > > not,
> > > > > > > > > > just switch in the actual name.  You can run the
> following
> > > > > > > pcp_combine
> > > > > > > > > -add
> > > > > > > > > > command:
> > > > > > > > > >
> > > > > > > > > > pcp_combine -add \
> > > > > > > > > >    3B42.20110422.09.7.nc 'name="APCP_03";
> level="(*,*)";' \
> > > > > > > > > >    3B42.20110422.12.7.nc 'name="APCP_03";
> level="(*,*)";' \
> > > > > > > > > >    3B42.20110422.15.7.nc 'name="APCP_03";
> level="(*,*)";' \
> > > > > > > > > >    3B42.20110422.18.7.nc 'name="APCP_03";
> level="(*,*)";' \
> > > > > > > > > >    3B42.20110422.21.7.nc 'name="APCP_03";
> level="(*,*)";' \
> > > > > > > > > >    3B42.20110423.00.7.nc 'name="APCP_03";
> level="(*,*)";' \
> > > > > > > > > >    3B42.20110423.03.7.nc 'name="APCP_03";
> level="(*,*)";' \
> > > > > > > > > >    3B42.20110423.06.7.nc 'name="APCP_03";
> level="(*,*)";' \
> > > > > > > > > >    3B42.20110423.06.7_APCP_24.nc
> > > > > > > > > >
> > > > > > > > > > The last file listed is just the output file name
I
> chose.
> > > But
> > > > > you
> > > > > > > can
> > > > > > > > > > name it whatever you'd like.
> > > > > > > > > >
> > > > > > > > > > John
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > On Wed, Jan 21, 2015 at 4:02 AM, Geeta Geeta via
RT <
> > > > > > > met_help at ucar.edu>
> > > > > > > > > > wrote:
> > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > Wed Jan 21 04:02:41 2015: Request 70453 was
acted upon.
> > > > > > > > > > > Transaction: Ticket created by
geeta124 at hotmail.com
> > > > > > > > > > >        Queue: met_help
> > > > > > > > > > >      Subject: combining nc files together
> > > > > > > > > > >        Owner: Nobody
> > > > > > > > > > >   Requestors: geeta124 at hotmail.com
> > > > > > > > > > >       Status: new
> > > > > > > > > > >  Ticket <URL:
> > > > > > > https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453
> > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > Hi John.
> > > > > > > > > > > Sorry to bother you again n again. But I have no
> choice. I
> > > > > want to
> > > > > > > know
> > > > > > > > > > > the followingI have 8 nc files. bash-3.2$ ls
-ltotal
> > > > > > > 216336-rw-r--r--
> > > > > > > > >   1
> > > > > > > > > > > model    staff      13841488 Jan 21 11:24
> > > > > > > > > 3B42.20110422.06.7.nc-rw-r--r--
> > > > > > > > > > >   1 model    staff      13841488 Jan 21 11:27
> > > > > > > > > > > 3B42.20110422.09.7.nc-rw-r--r--    1 model
staff
> > > > > 13841492
> > > > > > > Jan
> > > > > > > > > 21
> > > > > > > > > > > 14:01 3B42.20110422.12.7.nc-rw-r--r--    1 model
> staff
> > > > > > > > > 13841492 Jan
> > > > > > > > > > > 21 13:16 3B42.20110422.15.7.nc-rw-r--r--    1
model
> > > staff
> > > > > > > > > 13841492
> > > > > > > > > > > Jan 21 14:51 3B42.20110422.18.7.nc-rw-r--r--
1 model
> > > > > staff
> > > > > > > > > > > 13841492 Jan 21 13:21 3B42.20110422.21.7.nc-rw-
r--r--
>   1
> > > > > model
> > > > > > > > > staff
> > > > > > > > > > >     13841488 Jan 21 13:22
> 3B42.20110423.00.7.nc-rw-r--r--
> > >   1
> > > > > > > model
> > > > > > > > > > > staff      13841488 Jan 21 13:50
> > > > > 3B42.20110423.03.7.ncbash-3.2$ pwd
> > > > > > > > > > > I need to make ONE 24 hour RF accumulated file
starting
> > > 06UTC
> > > > > of
> > > > > > > > > > > 22.04.2011 - 03UTC of 23.04.2011. How do I do
that???
> > > > > > > > > > > Geeta
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > > >
> > > > >
> > > >
> > >
> > >
> >
>
>

------------------------------------------------
Subject: combining nc files together
From: Geeta Geeta
Time: Mon Feb 09 01:53:04 2015

Hi John.
Thanks for the article. It is very informative.
I dont know if i should be asking at this forum, the meaning of the
"FORECAST skill associated with the Uniform forecast" as you have
mentioned in your paper.
If U give me some references, it would be great.
Geeta

> Subject: Re: [rt.rap.ucar.edu #70453] combining nc files together
> From: met_help at ucar.edu
> To: geeta124 at hotmail.com
> Date: Thu, 5 Feb 2015 10:33:59 -0700
>
> Geeta,
>
> You're correct, you can only use the "sum" command of pcp_combine
for GRIB1
> or GRIB2 files...
>
> But, you can use the "add" command on any gridded data file format
that MET
> supports.  Adding together 8 NetCDF files with pcp_combine would
look
> something like this:
>
> pcp_combine -add \
> file1.nc 'name="APCP_03"; level="(*,*)";' \
> file2.nc 'name="APCP_03"; level="(*,*)";' \
> ...
> file8.nc 'name="APCP_03"; level="(*,*)";' \
> APCP_24.nc
>
> It makes for a longer command line, but it is possible to do with
> pcp_combine.
>
> John
>
>
>
> On Thu, Feb 5, 2015 at 2:02 AM, Geeta Geeta via RT
<met_help at ucar.edu>
> wrote:
>
> >
> > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453 >
> >
> > Hi John.
> > Thanks for wonderful ideas.
> > The first one is working. but I have yet to run grid_stat to see
if
> > everything is working finally. I ll try the ncatted.
> >
> > To sum up all the nc files (for the times that I want), I did try
the
> > pcp_combine. But I guess It only works for the GRIB files.
> > I have sent to u the error before. I tried to use MET3.0 for that
which is
> > installed in my HPC.
> > I have 5.0 on my personal system. Will try that exercise in this
system.
> > Thanks again for your help.
> > Geeta
> >
> >
> > > Subject: Re: [rt.rap.ucar.edu #70453] combining nc files
together
> > > From: met_help at ucar.edu
> > > To: geeta124 at hotmail.com
> > > Date: Wed, 4 Feb 2015 11:21:19 -0700
> > >
> > > Geeta,
> > >
> > > The trmmbin2nc.R script is set up to only handle the TRMM binary
data
> > > exactly from that website.  The timing information for that
binary data
> > is
> > > only contained in the file name, and you've renamed those files.
So the
> > > script doesn't know how to parse them.
> > >
> > > Here's 2 options:
> > > (1) Rename that file using the "daily" file naming conventions:
> > >    cp Obs22apr2011.bin 3B42_daily.2011.04.22.7.bin
> > >    Rscript 3B42_daily.2011.04.22.7.bin
3B42_daily.2011.04.22.7.nc
> > >
> > > That will produce output but it'll assume the precipitation is
> > accumulated
> > > for 24-hours from 20110422 00Z to 20110423 00Z.  If the times
should be
> > > something different you could... edit the Rscript to use the
times you
> > > want... or use the "ncatted" tool to modify the timing
information listed
> > > in the output NetCDF file.
> > >
> > > (2) Or, as we've discussed in the past, you could run each of
the 3-hour
> > > files through the trmmbin2nc.R script and write out NetCDF
files.  Then
> > run
> > > those 3-hourly NetCDF files through pcp_combine to add them up.
> > >
> > > Thanks,
> > > John
> > >
> > >
> > > On Sun, Feb 1, 2015 at 11:27 PM, Geeta Geeta via RT
<met_help at ucar.edu>
> > > wrote:
> > >
> > > >
> > > > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453
>
> > > >
> > > > Hi John.
> > > > This is an old Ticket. Kindly sort this issue too.
> > > > I was able to sum up all the 3 hourly TRMM files and then
convert the
> > > > final file into One called Obs22apr2011.bin.
> > > > I had used Grads for summing up all the 8 files. and now I am
using
> > the R
> > > > script for
> > > > converting into NC.
> > > > But I got the error.
> > > > aditya at agniilap:~/geeta/installs/met/RUN_MET-22apr2011$
Rscript
> > > > ../trmm_to_nc/trmmbin2nc_mod.R Obs22apr2011.bin
Obs22apr2011.nc
> > > >
> > > >
> > > > ERROR: Can't figure out the accumulation interval!I am sending
you the
> > > > data that I converted using Grads.
> > > > Geeta
> > > >
> > > > > Subject: Re: [rt.rap.ucar.edu #70453] combining nc files
together
> > > > > From: met_help at ucar.edu
> > > > > To: geeta124 at hotmail.com
> > > > > Date: Fri, 30 Jan 2015 11:04:18 -0700
> > > > >
> > > > > Geeta,
> > > > >
> > > > > I don't have time to adapt that Rscript for your use with
Grid-Stat.
> > > > > However, we did do something very similar for a previous
project.  I
> > have
> > > > > attached an Rscript named "fss_quilt_plot.R" you could
easily adapt
> > to
> > > > > create a quilt plot for your data.  I've also attached a
copy of the
> > > > paper
> > > > > for which this script was used.  Please look at figure 7.
> > > > >
> > > > > Thanks,
> > > > > John
> > > > >
> > > > > On Fri, Jan 30, 2015 at 1:03 AM, Geeta Geeta via RT <
> > met_help at ucar.edu>
> > > > > wrote:
> > > > >
> > > > > >
> > > > > > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453 >
> > > > > >
> > > > > > Hi John.
> > > > > > I changed different widths in the configuration file.
> > (Width=1,3,5,,7
> > > > etc).
> > > > > >
> > > > > > // Neighborhood methods
> > > > > > //
> > > > > > nbrhd = {
> > > > > >    vld_thresh = 1.0;
> > > > > >    width      = [ 7 ];
> > > > > >    cov_thresh = [ >=0.5 ];
> > > > > > }
> > > > > > and got various outputs (for different widths) which are
in
> > different
> > > > > > directories.
> > > > > > Now I saw the R script on the website which is probably
> > exclusively for
> > > > > > the MODE TOOL only.
> > > > > > Now my question is how to make the quilt plot for the GRid
stat
> > > > tool???.
> > > > > > Sorry I m not familiar with R  now.
> > > > > > Pls help.
> > > > > > Geeta.
> > > > > >
> > > > > >
> > > > > >
> > > > > > From: geeta124 at hotmail.com
> > > > > > To: met_help at ucar.edu
> > > > > > Subject: RE: [rt.rap.ucar.edu #70453] combining nc files
together
> > > > > > Date: Thu, 29 Jan 2015 17:05:25 +0530
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > > Hi John.
> > > > > > So I was able to sum up all the 3 hourly TRMM files and
then
> > convert
> > > > the
> > > > > > final file into One called Obs22apr2011.bin.
> > > > > > I have done that using Grads and now I am using the R
script for
> > > > > > converting into NC.
> > > > > > But I got the error.
> > > > > > aditya at agniilap:~/geeta/installs/met/RUN_MET-22apr2011$
Rscript
> > > > > > ../trmm_to_nc/trmmbin2nc_mod.R Obs22apr2011.bin
Obs22apr2011.nc
> > > > > >
> > > > > >
> > > > > > ERROR: Can't figure out the accumulation interval!
> > > > > >
> > > > > > I am sending you the data files and the R script (I
changed the
> > > > domain).
> > > > > > The data is plotted fine. Also pls tell me about the
ncview
> > questions
> > > > that
> > > > > > I was asking. reg the plotting of MPR's
> > > > > > Kindly suggest.
> > > > > > Geeta
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > > > Subject: Re: [rt.rap.ucar.edu #70453] combining nc files
> > together
> > > > > > > From: met_help at ucar.edu
> > > > > > > To: geeta124 at hotmail.com
> > > > > > > Date: Mon, 26 Jan 2015 09:58:32 -0700
> > > > > > >
> > > > > > > Geeta,
> > > > > > >
> > > > > > > On that webpage (
> > > > > > >
http://www.dtcenter.org/met/users/downloads/analysis_scripts.php
> > ),
> > > > > > please
> > > > > > > look specifically at the script named
"mode_quilt_plot.R".
> > Here's
> > > > the
> > > > > > > direct link to that script:
> > > > > > >
> > > > > >
> >
http://www.dtcenter.org/met/users/downloads/Rscripts/mode_quilt_plot.R
> > > > > > >
> > > > > > > And here's a direct link to the sample output that
script
> > creates:
> > > > > > >
> > > > > > >
> > > > > >
> > > >
> >
http://www.dtcenter.org/met/users/downloads/Rscripts/SAMPLE_mode_quilts.pdf
> > > > > > >
> > > > > > > This is an example of using R to make a quilt plot for
the
> > output of
> > > > the
> > > > > > > MODE tool.  You might also use a quilt plot to display
fractions
> > > > skill
> > > > > > > score from the Grid-Stat tool, if you've run FSS for
multiple
> > > > thresholds
> > > > > > > and neighborhood sizes.
> > > > > > >
> > > > > > > John
> > > > > > >
> > > > > > > On Mon, Jan 26, 2015 at 7:28 AM, Geeta Geeta via RT <
> > > > met_help at ucar.edu>
> > > > > > > wrote:
> > > > > > >
> > > > > > > >
> > > > > > > > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453
> > >
> > > > > > > >
> > > > > > > > Hi John.
> > > > > > > > the link
> > > > > >
http://www.dtcenter.org/met/users/downloads/analysis_scripts.php
> > > > > > > > has the plots for the cnt statistics.
> > > > > > > > I am not familiar with R. I am going thru the
plot_cnt.R
> > script.
> > > > > > > > but I want to know what will be the data format for
the Quilt
> > plot.
> > > > > > > > Do I have to write my own script???.
> > > > > > > > Kindly let me know about the data format and how I
have to
> > modify
> > > > the
> > > > > > > > above script in order to make the quilt plot.
> > > > > > > > Regards
> > > > > > > > Geeta
> > > > > > > >
> > > > > > > > > Subject: Re: [rt.rap.ucar.edu #70453] combining nc
files
> > > > together
> > > > > > > > > From: met_help at ucar.edu
> > > > > > > > > To: geeta124 at hotmail.com
> > > > > > > > > Date: Fri, 23 Jan 2015 11:09:23 -0700
> > > > > > > > >
> > > > > > > > > Geeta,
> > > > > > > > >
> > > > > > > > > Regarding 3-hourly RF accumulations, if MET is able
to read
> > those
> > > > > > NetCDF
> > > > > > > > > files, you can run them through PCP-Combine to "add"
them all
> > > > > > together.
> > > > > > > > > Just use the example PCP_Combine command I already
sent you
> > but
> > > > > > modify
> > > > > > > > the
> > > > > > > > > "name" entry to list the name of the NetCDF variable
you
> > want to
> > > > > > use.  If
> > > > > > > > > MET is not able to read them, then it's up to you to
figure
> > out
> > > > how
> > > > > > to
> > > > > > > > > accumulate them.
> > > > > > > > >
> > > > > > > > > If you're familiar with R, you could use the "ncdf"
library
> > in R
> > > > to
> > > > > > read
> > > > > > > > > data from one or more NetCDF files, add them up, and
write it
> > > > out to
> > > > > > a
> > > > > > > > new
> > > > > > > > > file.  Alternatively, "nco" (NetCDF Operators)
provide some
> > > > > > capability of
> > > > > > > > > doing simple operations on NetCDF files.  You might
be able
> > to
> > > > use
> > > > > > them.
> > > > > > > > >
> > > > > > > > > Regarding quilt plots, I've only used R to make them
in the
> > past.
> > > > > > > > > Specifically, the "quilt.plot" function in the R
package
> > named
> > > > > > "fields".
> > > > > > > > > Please take a look at this website:
> > > > > > > > >
> > > >
http://www.dtcenter.org/met/users/downloads/analysis_scripts.php
> > > > > > > > >
> > > > > > > > > The Rscript named "mode_quilt_plot.R" provides an
example of
> > > > using R
> > > > > > to
> > > > > > > > > make quilt plots.  Example output from that script
is also
> > > > included
> > > > > > on
> > > > > > > > that
> > > > > > > > > page.
> > > > > > > > >
> > > > > > > > > Thanks,
> > > > > > > > > John
> > > > > > > > >
> > > > > > > > > On Fri, Jan 23, 2015 at 4:06 AM, Geeta Geeta via RT
<
> > > > > > met_help at ucar.edu>
> > > > > > > > > wrote:
> > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > <URL:
> > https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453
> > > > >
> > > > > > > > > >
> > > > > > > > > > Hi John. Your help is needed at every step. Now I
want to
> > know
> > > > > > which
> > > > > > > > > > software can be used for making the QUILT plot
(intensity
> > and
> > > > > > spatial
> > > > > > > > > > distribution) plot. Can It be done in using
MET5.0. How
> > Can I
> > > > plot
> > > > > > the
> > > > > > > > > > point data that I used in MET5.0???KIndly guide
me. Also
> > pls
> > > > tell
> > > > > > me
> > > > > > > > if u
> > > > > > > > > > can figure out the issue of 3hrly RF accumulations
if the
> > files
> > > > > > are in
> > > > > > > > the
> > > > > > > > > > NETCDF format. Geeta
> > > > > > > > > >
> > > > > > > > > > From: geeta124 at hotmail.com
> > > > > > > > > > To: met_help at ucar.edu
> > > > > > > > > > Subject: RE: [rt.rap.ucar.edu #70453] combining nc
files
> > > > together
> > > > > > > > > > Date: Thu, 22 Jan 2015 16:30:34 +0530
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > thanks John.  the pcp combine tool uses only GRIB1
files.
> > these
> > > > > > were
> > > > > > > > > > netcdf files (attaching one).I had downloaded the
NC files
> > from
> > > > > > > > > >
> > > > > > > >
> > > > > >
> > > >
> > http://mirador.gsfc.nasa.gov/cgi-
bin/mirador/granlist.pl?page=1&location=(-90,-
180),(90,180)&dataSet=TRMM_3B42&version=007&allversion=007&startTime=2011-
04-22T00:00:01Z&endTime=2011-04-
22T23:59:59Z&keyword=TRMM_3B42&longname=TRMM%203-
Hourly%200.25%20deg.%20TRMM%20and%20Others%20Rainfall%20Estimate%20Data&CGISESSID=02499c2107ddfb60a3e46d6b99df3d79&prodpg=http://mirador.gsfc.nasa.gov/collections/TRMM_3B42__007.shtmlI
> > > > > > > > > > got following error. bash-3.2$ ./run_pcptool.sh
Running PCP
> > > > > > > > toolPerforming
> > > > > > > > > > addition command for 2 files.Reading input file:
> > > > > > 3B42.20110422.12.7.nc
> > > > > > > > > > GribFile::skip_header() -> can't find "GRIB" magic
cookie
> > > >  ERROR:
> > > > > > > > > > get_field() -> can't open grib file:
3B42.20110422.12.7.nc
> > > > > > > > > > Following is my script--------!/bin/sh
> > > > > > > > > >
> > > > > > > > > >              echo " Running PCP
> > > > > > > > > > tool"~/wrf3/utils/met/METv3.0/bin/pcp_combine -add
> > > > > > > > 3B42.20110422.12.7.nc
> > > > > > > > > > 03 3B42.20110422.15.7.nc 03 myoutput.nc
> > > > > > > > > > Kindly suggest.
> > > > > > > > > >
> > > > > > > > > > the second thing I was thinking to download the
TRMM data
> > from
> > > > > > thelink
> > > > > > > > at
> > > > > > > > > > DTC website and then converying the 3 hourly bins
to NC.
> > > > > > > > > > 2.2 MBftp://
> > > > > > > > > >
> > > > > > > >
> > > > > >
> > > >
> >
disc2.nascom.nasa.gov/data/TRMM/Gridded/3B42_V7/201104/3B42.110422.15z.7.precipitation.bin
> > > > > > > > > > But my problem will be to ACCUMULATE them. I need
to
> > verify the
> > > > > > model
> > > > > > > > data
> > > > > > > > > > starting 06 UTC of day1 to 03UTC of DAY2. I mean
how do I
> > > > combine
> > > > > > all
> > > > > > > > the
> > > > > > > > > > NC  files together. Kindly suggest
> > > > > > > > > > > Subject: Re: [rt.rap.ucar.edu #70453] combining
nc files
> > > > > > together
> > > > > > > > > > > From: met_help at ucar.edu
> > > > > > > > > > > To: geeta124 at hotmail.com
> > > > > > > > > > > Date: Wed, 21 Jan 2015 10:45:12 -0700
> > > > > > > > > > >
> > > > > > > > > > > Geeta,
> > > > > > > > > > >
> > > > > > > > > > > I'm assuming the variable in the NetCDF files is
named
> > > > > > "APCP_03".  If
> > > > > > > > > > not,
> > > > > > > > > > > just switch in the actual name.  You can run the
> > following
> > > > > > > > pcp_combine
> > > > > > > > > > -add
> > > > > > > > > > > command:
> > > > > > > > > > >
> > > > > > > > > > > pcp_combine -add \
> > > > > > > > > > >    3B42.20110422.09.7.nc 'name="APCP_03";
> > level="(*,*)";' \
> > > > > > > > > > >    3B42.20110422.12.7.nc 'name="APCP_03";
> > level="(*,*)";' \
> > > > > > > > > > >    3B42.20110422.15.7.nc 'name="APCP_03";
> > level="(*,*)";' \
> > > > > > > > > > >    3B42.20110422.18.7.nc 'name="APCP_03";
> > level="(*,*)";' \
> > > > > > > > > > >    3B42.20110422.21.7.nc 'name="APCP_03";
> > level="(*,*)";' \
> > > > > > > > > > >    3B42.20110423.00.7.nc 'name="APCP_03";
> > level="(*,*)";' \
> > > > > > > > > > >    3B42.20110423.03.7.nc 'name="APCP_03";
> > level="(*,*)";' \
> > > > > > > > > > >    3B42.20110423.06.7.nc 'name="APCP_03";
> > level="(*,*)";' \
> > > > > > > > > > >    3B42.20110423.06.7_APCP_24.nc
> > > > > > > > > > >
> > > > > > > > > > > The last file listed is just the output file
name I
> > chose.
> > > > But
> > > > > > you
> > > > > > > > can
> > > > > > > > > > > name it whatever you'd like.
> > > > > > > > > > >
> > > > > > > > > > > John
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > On Wed, Jan 21, 2015 at 4:02 AM, Geeta Geeta via
RT <
> > > > > > > > met_help at ucar.edu>
> > > > > > > > > > > wrote:
> > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > Wed Jan 21 04:02:41 2015: Request 70453 was
acted upon.
> > > > > > > > > > > > Transaction: Ticket created by
geeta124 at hotmail.com
> > > > > > > > > > > >        Queue: met_help
> > > > > > > > > > > >      Subject: combining nc files together
> > > > > > > > > > > >        Owner: Nobody
> > > > > > > > > > > >   Requestors: geeta124 at hotmail.com
> > > > > > > > > > > >       Status: new
> > > > > > > > > > > >  Ticket <URL:
> > > > > > > >
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453
> > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > Hi John.
> > > > > > > > > > > > Sorry to bother you again n again. But I have
no
> > choice. I
> > > > > > want to
> > > > > > > > know
> > > > > > > > > > > > the followingI have 8 nc files. bash-3.2$ ls
-ltotal
> > > > > > > > 216336-rw-r--r--
> > > > > > > > > >   1
> > > > > > > > > > > > model    staff      13841488 Jan 21 11:24
> > > > > > > > > > 3B42.20110422.06.7.nc-rw-r--r--
> > > > > > > > > > > >   1 model    staff      13841488 Jan 21 11:27
> > > > > > > > > > > > 3B42.20110422.09.7.nc-rw-r--r--    1 model
staff
> > > > > > 13841492
> > > > > > > > Jan
> > > > > > > > > > 21
> > > > > > > > > > > > 14:01 3B42.20110422.12.7.nc-rw-r--r--    1
model
> > staff
> > > > > > > > > > 13841492 Jan
> > > > > > > > > > > > 21 13:16 3B42.20110422.15.7.nc-rw-r--r--    1
model
> > > > staff
> > > > > > > > > > 13841492
> > > > > > > > > > > > Jan 21 14:51 3B42.20110422.18.7.nc-rw-r--r--
1 model
> > > > > > staff
> > > > > > > > > > > > 13841492 Jan 21 13:21 3B42.20110422.21.7.nc-
rw-r--r--
> >   1
> > > > > > model
> > > > > > > > > > staff
> > > > > > > > > > > >     13841488 Jan 21 13:22
> > 3B42.20110423.00.7.nc-rw-r--r--
> > > >   1
> > > > > > > > model
> > > > > > > > > > > > staff      13841488 Jan 21 13:50
> > > > > > 3B42.20110423.03.7.ncbash-3.2$ pwd
> > > > > > > > > > > > I need to make ONE 24 hour RF accumulated file
starting
> > > > 06UTC
> > > > > > of
> > > > > > > > > > > > 22.04.2011 - 03UTC of 23.04.2011. How do I do
that???
> > > > > > > > > > > > Geeta
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > >
> > > >
> > > >
> > >
> >
> >
>

------------------------------------------------
Subject: combining nc files together
From: John Halley Gotway
Time: Wed Feb 11 10:17:33 2015

Geeta,

I think your reference to an article must be from a different email
chain.

I see that you're asking about "FORECAST skill associated with the
Uniform
forecast".  Are you looking for more references related to
neighborhood
verification statistics, like Fractions Skill Score?

Thanks,
John

On Mon, Feb 9, 2015 at 1:53 AM, Geeta Geeta via RT <met_help at ucar.edu>
wrote:

>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453 >
>
> Hi John.
> Thanks for the article. It is very informative.
> I dont know if i should be asking at this forum, the meaning of the
> "FORECAST skill associated with the Uniform forecast" as you have
mentioned
> in your paper.
> If U give me some references, it would be great.
> Geeta
>
> > Subject: Re: [rt.rap.ucar.edu #70453] combining nc files together
> > From: met_help at ucar.edu
> > To: geeta124 at hotmail.com
> > Date: Thu, 5 Feb 2015 10:33:59 -0700
> >
> > Geeta,
> >
> > You're correct, you can only use the "sum" command of pcp_combine
for
> GRIB1
> > or GRIB2 files...
> >
> > But, you can use the "add" command on any gridded data file format
that
> MET
> > supports.  Adding together 8 NetCDF files with pcp_combine would
look
> > something like this:
> >
> > pcp_combine -add \
> > file1.nc 'name="APCP_03"; level="(*,*)";' \
> > file2.nc 'name="APCP_03"; level="(*,*)";' \
> > ...
> > file8.nc 'name="APCP_03"; level="(*,*)";' \
> > APCP_24.nc
> >
> > It makes for a longer command line, but it is possible to do with
> > pcp_combine.
> >
> > John
> >
> >
> >
> > On Thu, Feb 5, 2015 at 2:02 AM, Geeta Geeta via RT
<met_help at ucar.edu>
> > wrote:
> >
> > >
> > > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453 >
> > >
> > > Hi John.
> > > Thanks for wonderful ideas.
> > > The first one is working. but I have yet to run grid_stat to see
if
> > > everything is working finally. I ll try the ncatted.
> > >
> > > To sum up all the nc files (for the times that I want), I did
try the
> > > pcp_combine. But I guess It only works for the GRIB files.
> > > I have sent to u the error before. I tried to use MET3.0 for
that
> which is
> > > installed in my HPC.
> > > I have 5.0 on my personal system. Will try that exercise in this
> system.
> > > Thanks again for your help.
> > > Geeta
> > >
> > >
> > > > Subject: Re: [rt.rap.ucar.edu #70453] combining nc files
together
> > > > From: met_help at ucar.edu
> > > > To: geeta124 at hotmail.com
> > > > Date: Wed, 4 Feb 2015 11:21:19 -0700
> > > >
> > > > Geeta,
> > > >
> > > > The trmmbin2nc.R script is set up to only handle the TRMM
binary data
> > > > exactly from that website.  The timing information for that
binary
> data
> > > is
> > > > only contained in the file name, and you've renamed those
files.  So
> the
> > > > script doesn't know how to parse them.
> > > >
> > > > Here's 2 options:
> > > > (1) Rename that file using the "daily" file naming
conventions:
> > > >    cp Obs22apr2011.bin 3B42_daily.2011.04.22.7.bin
> > > >    Rscript 3B42_daily.2011.04.22.7.bin
3B42_daily.2011.04.22.7.nc
> > > >
> > > > That will produce output but it'll assume the precipitation is
> > > accumulated
> > > > for 24-hours from 20110422 00Z to 20110423 00Z.  If the times
should
> be
> > > > something different you could... edit the Rscript to use the
times
> you
> > > > want... or use the "ncatted" tool to modify the timing
information
> listed
> > > > in the output NetCDF file.
> > > >
> > > > (2) Or, as we've discussed in the past, you could run each of
the
> 3-hour
> > > > files through the trmmbin2nc.R script and write out NetCDF
files.
> Then
> > > run
> > > > those 3-hourly NetCDF files through pcp_combine to add them
up.
> > > >
> > > > Thanks,
> > > > John
> > > >
> > > >
> > > > On Sun, Feb 1, 2015 at 11:27 PM, Geeta Geeta via RT <
> met_help at ucar.edu>
> > > > wrote:
> > > >
> > > > >
> > > > > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453 >
> > > > >
> > > > > Hi John.
> > > > > This is an old Ticket. Kindly sort this issue too.
> > > > > I was able to sum up all the 3 hourly TRMM files and then
convert
> the
> > > > > final file into One called Obs22apr2011.bin.
> > > > > I had used Grads for summing up all the 8 files. and now I
am using
> > > the R
> > > > > script for
> > > > > converting into NC.
> > > > > But I got the error.
> > > > > aditya at agniilap:~/geeta/installs/met/RUN_MET-22apr2011$
Rscript
> > > > > ../trmm_to_nc/trmmbin2nc_mod.R Obs22apr2011.bin
Obs22apr2011.nc
> > > > >
> > > > >
> > > > > ERROR: Can't figure out the accumulation interval!I am
sending you
> the
> > > > > data that I converted using Grads.
> > > > > Geeta
> > > > >
> > > > > > Subject: Re: [rt.rap.ucar.edu #70453] combining nc files
> together
> > > > > > From: met_help at ucar.edu
> > > > > > To: geeta124 at hotmail.com
> > > > > > Date: Fri, 30 Jan 2015 11:04:18 -0700
> > > > > >
> > > > > > Geeta,
> > > > > >
> > > > > > I don't have time to adapt that Rscript for your use with
> Grid-Stat.
> > > > > > However, we did do something very similar for a previous
> project.  I
> > > have
> > > > > > attached an Rscript named "fss_quilt_plot.R" you could
easily
> adapt
> > > to
> > > > > > create a quilt plot for your data.  I've also attached a
copy of
> the
> > > > > paper
> > > > > > for which this script was used.  Please look at figure 7.
> > > > > >
> > > > > > Thanks,
> > > > > > John
> > > > > >
> > > > > > On Fri, Jan 30, 2015 at 1:03 AM, Geeta Geeta via RT <
> > > met_help at ucar.edu>
> > > > > > wrote:
> > > > > >
> > > > > > >
> > > > > > > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453
> >
> > > > > > >
> > > > > > > Hi John.
> > > > > > > I changed different widths in the configuration file.
> > > (Width=1,3,5,,7
> > > > > etc).
> > > > > > >
> > > > > > > // Neighborhood methods
> > > > > > > //
> > > > > > > nbrhd = {
> > > > > > >    vld_thresh = 1.0;
> > > > > > >    width      = [ 7 ];
> > > > > > >    cov_thresh = [ >=0.5 ];
> > > > > > > }
> > > > > > > and got various outputs (for different widths) which are
in
> > > different
> > > > > > > directories.
> > > > > > > Now I saw the R script on the website which is probably
> > > exclusively for
> > > > > > > the MODE TOOL only.
> > > > > > > Now my question is how to make the quilt plot for the
GRid stat
> > > > > tool???.
> > > > > > > Sorry I m not familiar with R  now.
> > > > > > > Pls help.
> > > > > > > Geeta.
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > From: geeta124 at hotmail.com
> > > > > > > To: met_help at ucar.edu
> > > > > > > Subject: RE: [rt.rap.ucar.edu #70453] combining nc files
> together
> > > > > > > Date: Thu, 29 Jan 2015 17:05:25 +0530
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > Hi John.
> > > > > > > So I was able to sum up all the 3 hourly TRMM files and
then
> > > convert
> > > > > the
> > > > > > > final file into One called Obs22apr2011.bin.
> > > > > > > I have done that using Grads and now I am using the R
script
> for
> > > > > > > converting into NC.
> > > > > > > But I got the error.
> > > > > > > aditya at agniilap:~/geeta/installs/met/RUN_MET-22apr2011$
> Rscript
> > > > > > > ../trmm_to_nc/trmmbin2nc_mod.R Obs22apr2011.bin
Obs22apr2011.nc
> > > > > > >
> > > > > > >
> > > > > > > ERROR: Can't figure out the accumulation interval!
> > > > > > >
> > > > > > > I am sending you the data files and the R script (I
changed the
> > > > > domain).
> > > > > > > The data is plotted fine. Also pls tell me about the
ncview
> > > questions
> > > > > that
> > > > > > > I was asking. reg the plotting of MPR's
> > > > > > > Kindly suggest.
> > > > > > > Geeta
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > > Subject: Re: [rt.rap.ucar.edu #70453] combining nc
files
> > > together
> > > > > > > > From: met_help at ucar.edu
> > > > > > > > To: geeta124 at hotmail.com
> > > > > > > > Date: Mon, 26 Jan 2015 09:58:32 -0700
> > > > > > > >
> > > > > > > > Geeta,
> > > > > > > >
> > > > > > > > On that webpage (
> > > > > > > >
> http://www.dtcenter.org/met/users/downloads/analysis_scripts.php
> > > ),
> > > > > > > please
> > > > > > > > look specifically at the script named
"mode_quilt_plot.R".
> > > Here's
> > > > > the
> > > > > > > > direct link to that script:
> > > > > > > >
> > > > > > >
> > >
http://www.dtcenter.org/met/users/downloads/Rscripts/mode_quilt_plot.R
> > > > > > > >
> > > > > > > > And here's a direct link to the sample output that
script
> > > creates:
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > >
> > >
>
http://www.dtcenter.org/met/users/downloads/Rscripts/SAMPLE_mode_quilts.pdf
> > > > > > > >
> > > > > > > > This is an example of using R to make a quilt plot for
the
> > > output of
> > > > > the
> > > > > > > > MODE tool.  You might also use a quilt plot to display
> fractions
> > > > > skill
> > > > > > > > score from the Grid-Stat tool, if you've run FSS for
multiple
> > > > > thresholds
> > > > > > > > and neighborhood sizes.
> > > > > > > >
> > > > > > > > John
> > > > > > > >
> > > > > > > > On Mon, Jan 26, 2015 at 7:28 AM, Geeta Geeta via RT <
> > > > > met_help at ucar.edu>
> > > > > > > > wrote:
> > > > > > > >
> > > > > > > > >
> > > > > > > > > <URL:
> https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453
> > > >
> > > > > > > > >
> > > > > > > > > Hi John.
> > > > > > > > > the link
> > > > > > >
> http://www.dtcenter.org/met/users/downloads/analysis_scripts.php
> > > > > > > > > has the plots for the cnt statistics.
> > > > > > > > > I am not familiar with R. I am going thru the
plot_cnt.R
> > > script.
> > > > > > > > > but I want to know what will be the data format for
the
> Quilt
> > > plot.
> > > > > > > > > Do I have to write my own script???.
> > > > > > > > > Kindly let me know about the data format and how I
have to
> > > modify
> > > > > the
> > > > > > > > > above script in order to make the quilt plot.
> > > > > > > > > Regards
> > > > > > > > > Geeta
> > > > > > > > >
> > > > > > > > > > Subject: Re: [rt.rap.ucar.edu #70453] combining nc
files
> > > > > together
> > > > > > > > > > From: met_help at ucar.edu
> > > > > > > > > > To: geeta124 at hotmail.com
> > > > > > > > > > Date: Fri, 23 Jan 2015 11:09:23 -0700
> > > > > > > > > >
> > > > > > > > > > Geeta,
> > > > > > > > > >
> > > > > > > > > > Regarding 3-hourly RF accumulations, if MET is
able to
> read
> > > those
> > > > > > > NetCDF
> > > > > > > > > > files, you can run them through PCP-Combine to
"add"
> them all
> > > > > > > together.
> > > > > > > > > > Just use the example PCP_Combine command I already
sent
> you
> > > but
> > > > > > > modify
> > > > > > > > > the
> > > > > > > > > > "name" entry to list the name of the NetCDF
variable you
> > > want to
> > > > > > > use.  If
> > > > > > > > > > MET is not able to read them, then it's up to you
to
> figure
> > > out
> > > > > how
> > > > > > > to
> > > > > > > > > > accumulate them.
> > > > > > > > > >
> > > > > > > > > > If you're familiar with R, you could use the
"ncdf"
> library
> > > in R
> > > > > to
> > > > > > > read
> > > > > > > > > > data from one or more NetCDF files, add them up,
and
> write it
> > > > > out to
> > > > > > > a
> > > > > > > > > new
> > > > > > > > > > file.  Alternatively, "nco" (NetCDF Operators)
provide
> some
> > > > > > > capability of
> > > > > > > > > > doing simple operations on NetCDF files.  You
might be
> able
> > > to
> > > > > use
> > > > > > > them.
> > > > > > > > > >
> > > > > > > > > > Regarding quilt plots, I've only used R to make
them in
> the
> > > past.
> > > > > > > > > > Specifically, the "quilt.plot" function in the R
package
> > > named
> > > > > > > "fields".
> > > > > > > > > > Please take a look at this website:
> > > > > > > > > >
> > > > >
http://www.dtcenter.org/met/users/downloads/analysis_scripts.php
> > > > > > > > > >
> > > > > > > > > > The Rscript named "mode_quilt_plot.R" provides an
> example of
> > > > > using R
> > > > > > > to
> > > > > > > > > > make quilt plots.  Example output from that script
is
> also
> > > > > included
> > > > > > > on
> > > > > > > > > that
> > > > > > > > > > page.
> > > > > > > > > >
> > > > > > > > > > Thanks,
> > > > > > > > > > John
> > > > > > > > > >
> > > > > > > > > > On Fri, Jan 23, 2015 at 4:06 AM, Geeta Geeta via
RT <
> > > > > > > met_help at ucar.edu>
> > > > > > > > > > wrote:
> > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > <URL:
> > > https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453
> > > > > >
> > > > > > > > > > >
> > > > > > > > > > > Hi John. Your help is needed at every step. Now
I want
> to
> > > know
> > > > > > > which
> > > > > > > > > > > software can be used for making the QUILT plot
> (intensity
> > > and
> > > > > > > spatial
> > > > > > > > > > > distribution) plot. Can It be done in using
MET5.0. How
> > > Can I
> > > > > plot
> > > > > > > the
> > > > > > > > > > > point data that I used in MET5.0???KIndly guide
me.
> Also
> > > pls
> > > > > tell
> > > > > > > me
> > > > > > > > > if u
> > > > > > > > > > > can figure out the issue of 3hrly RF
accumulations if
> the
> > > files
> > > > > > > are in
> > > > > > > > > the
> > > > > > > > > > > NETCDF format. Geeta
> > > > > > > > > > >
> > > > > > > > > > > From: geeta124 at hotmail.com
> > > > > > > > > > > To: met_help at ucar.edu
> > > > > > > > > > > Subject: RE: [rt.rap.ucar.edu #70453] combining
nc
> files
> > > > > together
> > > > > > > > > > > Date: Thu, 22 Jan 2015 16:30:34 +0530
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > thanks John.  the pcp combine tool uses only
GRIB1
> files.
> > > these
> > > > > > > were
> > > > > > > > > > > netcdf files (attaching one).I had downloaded
the NC
> files
> > > from
> > > > > > > > > > >
> > > > > > > > >
> > > > > > >
> > > > >
> > >
> http://mirador.gsfc.nasa.gov/cgi-
bin/mirador/granlist.pl?page=1&location=(-90,-
180),(90,180)&dataSet=TRMM_3B42&version=007&allversion=007&startTime=2011-
04-22T00:00:01Z&endTime=2011-04-
22T23:59:59Z&keyword=TRMM_3B42&longname=TRMM%203-
Hourly%200.25%20deg.%20TRMM%20and%20Others%20Rainfall%20Estimate%20Data&CGISESSID=02499c2107ddfb60a3e46d6b99df3d79&prodpg=http://mirador.gsfc.nasa.gov/collections/TRMM_3B42__007.shtmlI
> > > > > > > > > > > got following error. bash-3.2$ ./run_pcptool.sh
> Running PCP
> > > > > > > > > toolPerforming
> > > > > > > > > > > addition command for 2 files.Reading input file:
> > > > > > > 3B42.20110422.12.7.nc
> > > > > > > > > > > GribFile::skip_header() -> can't find "GRIB"
magic
> cookie
> > > > >  ERROR:
> > > > > > > > > > > get_field() -> can't open grib file:
> 3B42.20110422.12.7.nc
> > > > > > > > > > > Following is my script--------!/bin/sh
> > > > > > > > > > >
> > > > > > > > > > >              echo " Running PCP
> > > > > > > > > > > tool"~/wrf3/utils/met/METv3.0/bin/pcp_combine
-add
> > > > > > > > > 3B42.20110422.12.7.nc
> > > > > > > > > > > 03 3B42.20110422.15.7.nc 03 myoutput.nc
> > > > > > > > > > > Kindly suggest.
> > > > > > > > > > >
> > > > > > > > > > > the second thing I was thinking to download the
TRMM
> data
> > > from
> > > > > > > thelink
> > > > > > > > > at
> > > > > > > > > > > DTC website and then converying the 3 hourly
bins to
> NC.
> > > > > > > > > > > 2.2 MBftp://
> > > > > > > > > > >
> > > > > > > > >
> > > > > > >
> > > > >
> > >
>
disc2.nascom.nasa.gov/data/TRMM/Gridded/3B42_V7/201104/3B42.110422.15z.7.precipitation.bin
> > > > > > > > > > > But my problem will be to ACCUMULATE them. I
need to
> > > verify the
> > > > > > > model
> > > > > > > > > data
> > > > > > > > > > > starting 06 UTC of day1 to 03UTC of DAY2. I mean
how
> do I
> > > > > combine
> > > > > > > all
> > > > > > > > > the
> > > > > > > > > > > NC  files together. Kindly suggest
> > > > > > > > > > > > Subject: Re: [rt.rap.ucar.edu #70453]
combining nc
> files
> > > > > > > together
> > > > > > > > > > > > From: met_help at ucar.edu
> > > > > > > > > > > > To: geeta124 at hotmail.com
> > > > > > > > > > > > Date: Wed, 21 Jan 2015 10:45:12 -0700
> > > > > > > > > > > >
> > > > > > > > > > > > Geeta,
> > > > > > > > > > > >
> > > > > > > > > > > > I'm assuming the variable in the NetCDF files
is
> named
> > > > > > > "APCP_03".  If
> > > > > > > > > > > not,
> > > > > > > > > > > > just switch in the actual name.  You can run
the
> > > following
> > > > > > > > > pcp_combine
> > > > > > > > > > > -add
> > > > > > > > > > > > command:
> > > > > > > > > > > >
> > > > > > > > > > > > pcp_combine -add \
> > > > > > > > > > > >    3B42.20110422.09.7.nc 'name="APCP_03";
> > > level="(*,*)";' \
> > > > > > > > > > > >    3B42.20110422.12.7.nc 'name="APCP_03";
> > > level="(*,*)";' \
> > > > > > > > > > > >    3B42.20110422.15.7.nc 'name="APCP_03";
> > > level="(*,*)";' \
> > > > > > > > > > > >    3B42.20110422.18.7.nc 'name="APCP_03";
> > > level="(*,*)";' \
> > > > > > > > > > > >    3B42.20110422.21.7.nc 'name="APCP_03";
> > > level="(*,*)";' \
> > > > > > > > > > > >    3B42.20110423.00.7.nc 'name="APCP_03";
> > > level="(*,*)";' \
> > > > > > > > > > > >    3B42.20110423.03.7.nc 'name="APCP_03";
> > > level="(*,*)";' \
> > > > > > > > > > > >    3B42.20110423.06.7.nc 'name="APCP_03";
> > > level="(*,*)";' \
> > > > > > > > > > > >    3B42.20110423.06.7_APCP_24.nc
> > > > > > > > > > > >
> > > > > > > > > > > > The last file listed is just the output file
name I
> > > chose.
> > > > > But
> > > > > > > you
> > > > > > > > > can
> > > > > > > > > > > > name it whatever you'd like.
> > > > > > > > > > > >
> > > > > > > > > > > > John
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > On Wed, Jan 21, 2015 at 4:02 AM, Geeta Geeta
via RT <
> > > > > > > > > met_help at ucar.edu>
> > > > > > > > > > > > wrote:
> > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > Wed Jan 21 04:02:41 2015: Request 70453 was
acted
> upon.
> > > > > > > > > > > > > Transaction: Ticket created by
> geeta124 at hotmail.com
> > > > > > > > > > > > >        Queue: met_help
> > > > > > > > > > > > >      Subject: combining nc files together
> > > > > > > > > > > > >        Owner: Nobody
> > > > > > > > > > > > >   Requestors: geeta124 at hotmail.com
> > > > > > > > > > > > >       Status: new
> > > > > > > > > > > > >  Ticket <URL:
> > > > > > > > >
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453
> > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > Hi John.
> > > > > > > > > > > > > Sorry to bother you again n again. But I
have no
> > > choice. I
> > > > > > > want to
> > > > > > > > > know
> > > > > > > > > > > > > the followingI have 8 nc files. bash-3.2$ ls
> -ltotal
> > > > > > > > > 216336-rw-r--r--
> > > > > > > > > > >   1
> > > > > > > > > > > > > model    staff      13841488 Jan 21 11:24
> > > > > > > > > > > 3B42.20110422.06.7.nc-rw-r--r--
> > > > > > > > > > > > >   1 model    staff      13841488 Jan 21
11:27
> > > > > > > > > > > > > 3B42.20110422.09.7.nc-rw-r--r--    1 model
staff
> > > > > > > 13841492
> > > > > > > > > Jan
> > > > > > > > > > > 21
> > > > > > > > > > > > > 14:01 3B42.20110422.12.7.nc-rw-r--r--    1
model
> > > staff
> > > > > > > > > > > 13841492 Jan
> > > > > > > > > > > > > 21 13:16 3B42.20110422.15.7.nc-rw-r--r--
1 model
> > > > > staff
> > > > > > > > > > > 13841492
> > > > > > > > > > > > > Jan 21 14:51 3B42.20110422.18.7.nc-rw-r--r--
1
> model
> > > > > > > staff
> > > > > > > > > > > > > 13841492 Jan 21 13:21
> 3B42.20110422.21.7.nc-rw-r--r--
> > >   1
> > > > > > > model
> > > > > > > > > > > staff
> > > > > > > > > > > > >     13841488 Jan 21 13:22
> > > 3B42.20110423.00.7.nc-rw-r--r--
> > > > >   1
> > > > > > > > > model
> > > > > > > > > > > > > staff      13841488 Jan 21 13:50
> > > > > > > 3B42.20110423.03.7.ncbash-3.2$ pwd
> > > > > > > > > > > > > I need to make ONE 24 hour RF accumulated
file
> starting
> > > > > 06UTC
> > > > > > > of
> > > > > > > > > > > > > 22.04.2011 - 03UTC of 23.04.2011. How do I
do
> that???
> > > > > > > > > > > > > Geeta
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > > >
> > > >
> > >
> > >
> >
>
>

------------------------------------------------
Subject: combining nc files together
From: Geeta Geeta
Time: Wed Feb 11 22:44:21 2015

hi John.
I had read ur article that U have sent reg the FSS and the MODE tools.
I could not understand the meaning of FORECAST SKILL associated with
Uniform FOrECAST. This is what is mentioed in the FSS section of Ur
article.
I didnt understand the concept/idea. if U could just explain a little
more I can build/read some articles that you would suggest.
Thanks for ur help.
Geeta

> Subject: Re: [rt.rap.ucar.edu #70453] combining nc files together
> From: met_help at ucar.edu
> To: geeta124 at hotmail.com
> Date: Wed, 11 Feb 2015 10:17:33 -0700
>
> Geeta,
>
> I think your reference to an article must be from a different email
chain.
>
> I see that you're asking about "FORECAST skill associated with the
Uniform
> forecast".  Are you looking for more references related to
neighborhood
> verification statistics, like Fractions Skill Score?
>
> Thanks,
> John
>
> On Mon, Feb 9, 2015 at 1:53 AM, Geeta Geeta via RT
<met_help at ucar.edu>
> wrote:
>
> >
> > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453 >
> >
> > Hi John.
> > Thanks for the article. It is very informative.
> > I dont know if i should be asking at this forum, the meaning of
the
> > "FORECAST skill associated with the Uniform forecast" as you have
mentioned
> > in your paper.
> > If U give me some references, it would be great.
> > Geeta
> >
> > > Subject: Re: [rt.rap.ucar.edu #70453] combining nc files
together
> > > From: met_help at ucar.edu
> > > To: geeta124 at hotmail.com
> > > Date: Thu, 5 Feb 2015 10:33:59 -0700
> > >
> > > Geeta,
> > >
> > > You're correct, you can only use the "sum" command of
pcp_combine for
> > GRIB1
> > > or GRIB2 files...
> > >
> > > But, you can use the "add" command on any gridded data file
format that
> > MET
> > > supports.  Adding together 8 NetCDF files with pcp_combine would
look
> > > something like this:
> > >
> > > pcp_combine -add \
> > > file1.nc 'name="APCP_03"; level="(*,*)";' \
> > > file2.nc 'name="APCP_03"; level="(*,*)";' \
> > > ...
> > > file8.nc 'name="APCP_03"; level="(*,*)";' \
> > > APCP_24.nc
> > >
> > > It makes for a longer command line, but it is possible to do
with
> > > pcp_combine.
> > >
> > > John
> > >
> > >
> > >
> > > On Thu, Feb 5, 2015 at 2:02 AM, Geeta Geeta via RT
<met_help at ucar.edu>
> > > wrote:
> > >
> > > >
> > > > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453
>
> > > >
> > > > Hi John.
> > > > Thanks for wonderful ideas.
> > > > The first one is working. but I have yet to run grid_stat to
see if
> > > > everything is working finally. I ll try the ncatted.
> > > >
> > > > To sum up all the nc files (for the times that I want), I did
try the
> > > > pcp_combine. But I guess It only works for the GRIB files.
> > > > I have sent to u the error before. I tried to use MET3.0 for
that
> > which is
> > > > installed in my HPC.
> > > > I have 5.0 on my personal system. Will try that exercise in
this
> > system.
> > > > Thanks again for your help.
> > > > Geeta
> > > >
> > > >
> > > > > Subject: Re: [rt.rap.ucar.edu #70453] combining nc files
together
> > > > > From: met_help at ucar.edu
> > > > > To: geeta124 at hotmail.com
> > > > > Date: Wed, 4 Feb 2015 11:21:19 -0700
> > > > >
> > > > > Geeta,
> > > > >
> > > > > The trmmbin2nc.R script is set up to only handle the TRMM
binary data
> > > > > exactly from that website.  The timing information for that
binary
> > data
> > > > is
> > > > > only contained in the file name, and you've renamed those
files.  So
> > the
> > > > > script doesn't know how to parse them.
> > > > >
> > > > > Here's 2 options:
> > > > > (1) Rename that file using the "daily" file naming
conventions:
> > > > >    cp Obs22apr2011.bin 3B42_daily.2011.04.22.7.bin
> > > > >    Rscript 3B42_daily.2011.04.22.7.bin
3B42_daily.2011.04.22.7.nc
> > > > >
> > > > > That will produce output but it'll assume the precipitation
is
> > > > accumulated
> > > > > for 24-hours from 20110422 00Z to 20110423 00Z.  If the
times should
> > be
> > > > > something different you could... edit the Rscript to use the
times
> > you
> > > > > want... or use the "ncatted" tool to modify the timing
information
> > listed
> > > > > in the output NetCDF file.
> > > > >
> > > > > (2) Or, as we've discussed in the past, you could run each
of the
> > 3-hour
> > > > > files through the trmmbin2nc.R script and write out NetCDF
files.
> > Then
> > > > run
> > > > > those 3-hourly NetCDF files through pcp_combine to add them
up.
> > > > >
> > > > > Thanks,
> > > > > John
> > > > >
> > > > >
> > > > > On Sun, Feb 1, 2015 at 11:27 PM, Geeta Geeta via RT <
> > met_help at ucar.edu>
> > > > > wrote:
> > > > >
> > > > > >
> > > > > > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453 >
> > > > > >
> > > > > > Hi John.
> > > > > > This is an old Ticket. Kindly sort this issue too.
> > > > > > I was able to sum up all the 3 hourly TRMM files and then
convert
> > the
> > > > > > final file into One called Obs22apr2011.bin.
> > > > > > I had used Grads for summing up all the 8 files. and now I
am using
> > > > the R
> > > > > > script for
> > > > > > converting into NC.
> > > > > > But I got the error.
> > > > > > aditya at agniilap:~/geeta/installs/met/RUN_MET-22apr2011$
Rscript
> > > > > > ../trmm_to_nc/trmmbin2nc_mod.R Obs22apr2011.bin
Obs22apr2011.nc
> > > > > >
> > > > > >
> > > > > > ERROR: Can't figure out the accumulation interval!I am
sending you
> > the
> > > > > > data that I converted using Grads.
> > > > > > Geeta
> > > > > >
> > > > > > > Subject: Re: [rt.rap.ucar.edu #70453] combining nc files
> > together
> > > > > > > From: met_help at ucar.edu
> > > > > > > To: geeta124 at hotmail.com
> > > > > > > Date: Fri, 30 Jan 2015 11:04:18 -0700
> > > > > > >
> > > > > > > Geeta,
> > > > > > >
> > > > > > > I don't have time to adapt that Rscript for your use
with
> > Grid-Stat.
> > > > > > > However, we did do something very similar for a previous
> > project.  I
> > > > have
> > > > > > > attached an Rscript named "fss_quilt_plot.R" you could
easily
> > adapt
> > > > to
> > > > > > > create a quilt plot for your data.  I've also attached a
copy of
> > the
> > > > > > paper
> > > > > > > for which this script was used.  Please look at figure
7.
> > > > > > >
> > > > > > > Thanks,
> > > > > > > John
> > > > > > >
> > > > > > > On Fri, Jan 30, 2015 at 1:03 AM, Geeta Geeta via RT <
> > > > met_help at ucar.edu>
> > > > > > > wrote:
> > > > > > >
> > > > > > > >
> > > > > > > > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453
> > >
> > > > > > > >
> > > > > > > > Hi John.
> > > > > > > > I changed different widths in the configuration file.
> > > > (Width=1,3,5,,7
> > > > > > etc).
> > > > > > > >
> > > > > > > > // Neighborhood methods
> > > > > > > > //
> > > > > > > > nbrhd = {
> > > > > > > >    vld_thresh = 1.0;
> > > > > > > >    width      = [ 7 ];
> > > > > > > >    cov_thresh = [ >=0.5 ];
> > > > > > > > }
> > > > > > > > and got various outputs (for different widths) which
are in
> > > > different
> > > > > > > > directories.
> > > > > > > > Now I saw the R script on the website which is
probably
> > > > exclusively for
> > > > > > > > the MODE TOOL only.
> > > > > > > > Now my question is how to make the quilt plot for the
GRid stat
> > > > > > tool???.
> > > > > > > > Sorry I m not familiar with R  now.
> > > > > > > > Pls help.
> > > > > > > > Geeta.
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > From: geeta124 at hotmail.com
> > > > > > > > To: met_help at ucar.edu
> > > > > > > > Subject: RE: [rt.rap.ucar.edu #70453] combining nc
files
> > together
> > > > > > > > Date: Thu, 29 Jan 2015 17:05:25 +0530
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > Hi John.
> > > > > > > > So I was able to sum up all the 3 hourly TRMM files
and then
> > > > convert
> > > > > > the
> > > > > > > > final file into One called Obs22apr2011.bin.
> > > > > > > > I have done that using Grads and now I am using the R
script
> > for
> > > > > > > > converting into NC.
> > > > > > > > But I got the error.
> > > > > > > > aditya at agniilap:~/geeta/installs/met/RUN_MET-
22apr2011$
> > Rscript
> > > > > > > > ../trmm_to_nc/trmmbin2nc_mod.R Obs22apr2011.bin
Obs22apr2011.nc
> > > > > > > >
> > > > > > > >
> > > > > > > > ERROR: Can't figure out the accumulation interval!
> > > > > > > >
> > > > > > > > I am sending you the data files and the R script (I
changed the
> > > > > > domain).
> > > > > > > > The data is plotted fine. Also pls tell me about the
ncview
> > > > questions
> > > > > > that
> > > > > > > > I was asking. reg the plotting of MPR's
> > > > > > > > Kindly suggest.
> > > > > > > > Geeta
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > > Subject: Re: [rt.rap.ucar.edu #70453] combining nc
files
> > > > together
> > > > > > > > > From: met_help at ucar.edu
> > > > > > > > > To: geeta124 at hotmail.com
> > > > > > > > > Date: Mon, 26 Jan 2015 09:58:32 -0700
> > > > > > > > >
> > > > > > > > > Geeta,
> > > > > > > > >
> > > > > > > > > On that webpage (
> > > > > > > > >
> > http://www.dtcenter.org/met/users/downloads/analysis_scripts.php
> > > > ),
> > > > > > > > please
> > > > > > > > > look specifically at the script named
"mode_quilt_plot.R".
> > > > Here's
> > > > > > the
> > > > > > > > > direct link to that script:
> > > > > > > > >
> > > > > > > >
> > > >
http://www.dtcenter.org/met/users/downloads/Rscripts/mode_quilt_plot.R
> > > > > > > > >
> > > > > > > > > And here's a direct link to the sample output that
script
> > > > creates:
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > >
> > > >
> >
http://www.dtcenter.org/met/users/downloads/Rscripts/SAMPLE_mode_quilts.pdf
> > > > > > > > >
> > > > > > > > > This is an example of using R to make a quilt plot
for the
> > > > output of
> > > > > > the
> > > > > > > > > MODE tool.  You might also use a quilt plot to
display
> > fractions
> > > > > > skill
> > > > > > > > > score from the Grid-Stat tool, if you've run FSS for
multiple
> > > > > > thresholds
> > > > > > > > > and neighborhood sizes.
> > > > > > > > >
> > > > > > > > > John
> > > > > > > > >
> > > > > > > > > On Mon, Jan 26, 2015 at 7:28 AM, Geeta Geeta via RT
<
> > > > > > met_help at ucar.edu>
> > > > > > > > > wrote:
> > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > <URL:
> > https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453
> > > > >
> > > > > > > > > >
> > > > > > > > > > Hi John.
> > > > > > > > > > the link
> > > > > > > >
> > http://www.dtcenter.org/met/users/downloads/analysis_scripts.php
> > > > > > > > > > has the plots for the cnt statistics.
> > > > > > > > > > I am not familiar with R. I am going thru the
plot_cnt.R
> > > > script.
> > > > > > > > > > but I want to know what will be the data format
for the
> > Quilt
> > > > plot.
> > > > > > > > > > Do I have to write my own script???.
> > > > > > > > > > Kindly let me know about the data format and how I
have to
> > > > modify
> > > > > > the
> > > > > > > > > > above script in order to make the quilt plot.
> > > > > > > > > > Regards
> > > > > > > > > > Geeta
> > > > > > > > > >
> > > > > > > > > > > Subject: Re: [rt.rap.ucar.edu #70453] combining
nc files
> > > > > > together
> > > > > > > > > > > From: met_help at ucar.edu
> > > > > > > > > > > To: geeta124 at hotmail.com
> > > > > > > > > > > Date: Fri, 23 Jan 2015 11:09:23 -0700
> > > > > > > > > > >
> > > > > > > > > > > Geeta,
> > > > > > > > > > >
> > > > > > > > > > > Regarding 3-hourly RF accumulations, if MET is
able to
> > read
> > > > those
> > > > > > > > NetCDF
> > > > > > > > > > > files, you can run them through PCP-Combine to
"add"
> > them all
> > > > > > > > together.
> > > > > > > > > > > Just use the example PCP_Combine command I
already sent
> > you
> > > > but
> > > > > > > > modify
> > > > > > > > > > the
> > > > > > > > > > > "name" entry to list the name of the NetCDF
variable you
> > > > want to
> > > > > > > > use.  If
> > > > > > > > > > > MET is not able to read them, then it's up to
you to
> > figure
> > > > out
> > > > > > how
> > > > > > > > to
> > > > > > > > > > > accumulate them.
> > > > > > > > > > >
> > > > > > > > > > > If you're familiar with R, you could use the
"ncdf"
> > library
> > > > in R
> > > > > > to
> > > > > > > > read
> > > > > > > > > > > data from one or more NetCDF files, add them up,
and
> > write it
> > > > > > out to
> > > > > > > > a
> > > > > > > > > > new
> > > > > > > > > > > file.  Alternatively, "nco" (NetCDF Operators)
provide
> > some
> > > > > > > > capability of
> > > > > > > > > > > doing simple operations on NetCDF files.  You
might be
> > able
> > > > to
> > > > > > use
> > > > > > > > them.
> > > > > > > > > > >
> > > > > > > > > > > Regarding quilt plots, I've only used R to make
them in
> > the
> > > > past.
> > > > > > > > > > > Specifically, the "quilt.plot" function in the R
package
> > > > named
> > > > > > > > "fields".
> > > > > > > > > > > Please take a look at this website:
> > > > > > > > > > >
> > > > > >
http://www.dtcenter.org/met/users/downloads/analysis_scripts.php
> > > > > > > > > > >
> > > > > > > > > > > The Rscript named "mode_quilt_plot.R" provides
an
> > example of
> > > > > > using R
> > > > > > > > to
> > > > > > > > > > > make quilt plots.  Example output from that
script is
> > also
> > > > > > included
> > > > > > > > on
> > > > > > > > > > that
> > > > > > > > > > > page.
> > > > > > > > > > >
> > > > > > > > > > > Thanks,
> > > > > > > > > > > John
> > > > > > > > > > >
> > > > > > > > > > > On Fri, Jan 23, 2015 at 4:06 AM, Geeta Geeta via
RT <
> > > > > > > > met_help at ucar.edu>
> > > > > > > > > > > wrote:
> > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > <URL:
> > > > https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453
> > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > Hi John. Your help is needed at every step.
Now I want
> > to
> > > > know
> > > > > > > > which
> > > > > > > > > > > > software can be used for making the QUILT plot
> > (intensity
> > > > and
> > > > > > > > spatial
> > > > > > > > > > > > distribution) plot. Can It be done in using
MET5.0. How
> > > > Can I
> > > > > > plot
> > > > > > > > the
> > > > > > > > > > > > point data that I used in MET5.0???KIndly
guide me.
> > Also
> > > > pls
> > > > > > tell
> > > > > > > > me
> > > > > > > > > > if u
> > > > > > > > > > > > can figure out the issue of 3hrly RF
accumulations if
> > the
> > > > files
> > > > > > > > are in
> > > > > > > > > > the
> > > > > > > > > > > > NETCDF format. Geeta
> > > > > > > > > > > >
> > > > > > > > > > > > From: geeta124 at hotmail.com
> > > > > > > > > > > > To: met_help at ucar.edu
> > > > > > > > > > > > Subject: RE: [rt.rap.ucar.edu #70453]
combining nc
> > files
> > > > > > together
> > > > > > > > > > > > Date: Thu, 22 Jan 2015 16:30:34 +0530
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > thanks John.  the pcp combine tool uses only
GRIB1
> > files.
> > > > these
> > > > > > > > were
> > > > > > > > > > > > netcdf files (attaching one).I had downloaded
the NC
> > files
> > > > from
> > > > > > > > > > > >
> > > > > > > > > >
> > > > > > > >
> > > > > >
> > > >
> > http://mirador.gsfc.nasa.gov/cgi-
bin/mirador/granlist.pl?page=1&location=(-90,-
180),(90,180)&dataSet=TRMM_3B42&version=007&allversion=007&startTime=2011-
04-22T00:00:01Z&endTime=2011-04-
22T23:59:59Z&keyword=TRMM_3B42&longname=TRMM%203-
Hourly%200.25%20deg.%20TRMM%20and%20Others%20Rainfall%20Estimate%20Data&CGISESSID=02499c2107ddfb60a3e46d6b99df3d79&prodpg=http://mirador.gsfc.nasa.gov/collections/TRMM_3B42__007.shtmlI
> > > > > > > > > > > > got following error. bash-3.2$
./run_pcptool.sh
> > Running PCP
> > > > > > > > > > toolPerforming
> > > > > > > > > > > > addition command for 2 files.Reading input
file:
> > > > > > > > 3B42.20110422.12.7.nc
> > > > > > > > > > > > GribFile::skip_header() -> can't find "GRIB"
magic
> > cookie
> > > > > >  ERROR:
> > > > > > > > > > > > get_field() -> can't open grib file:
> > 3B42.20110422.12.7.nc
> > > > > > > > > > > > Following is my script--------!/bin/sh
> > > > > > > > > > > >
> > > > > > > > > > > >              echo " Running PCP
> > > > > > > > > > > > tool"~/wrf3/utils/met/METv3.0/bin/pcp_combine
-add
> > > > > > > > > > 3B42.20110422.12.7.nc
> > > > > > > > > > > > 03 3B42.20110422.15.7.nc 03 myoutput.nc
> > > > > > > > > > > > Kindly suggest.
> > > > > > > > > > > >
> > > > > > > > > > > > the second thing I was thinking to download
the TRMM
> > data
> > > > from
> > > > > > > > thelink
> > > > > > > > > > at
> > > > > > > > > > > > DTC website and then converying the 3 hourly
bins to
> > NC.
> > > > > > > > > > > > 2.2 MBftp://
> > > > > > > > > > > >
> > > > > > > > > >
> > > > > > > >
> > > > > >
> > > >
> >
disc2.nascom.nasa.gov/data/TRMM/Gridded/3B42_V7/201104/3B42.110422.15z.7.precipitation.bin
> > > > > > > > > > > > But my problem will be to ACCUMULATE them. I
need to
> > > > verify the
> > > > > > > > model
> > > > > > > > > > data
> > > > > > > > > > > > starting 06 UTC of day1 to 03UTC of DAY2. I
mean how
> > do I
> > > > > > combine
> > > > > > > > all
> > > > > > > > > > the
> > > > > > > > > > > > NC  files together. Kindly suggest
> > > > > > > > > > > > > Subject: Re: [rt.rap.ucar.edu #70453]
combining nc
> > files
> > > > > > > > together
> > > > > > > > > > > > > From: met_help at ucar.edu
> > > > > > > > > > > > > To: geeta124 at hotmail.com
> > > > > > > > > > > > > Date: Wed, 21 Jan 2015 10:45:12 -0700
> > > > > > > > > > > > >
> > > > > > > > > > > > > Geeta,
> > > > > > > > > > > > >
> > > > > > > > > > > > > I'm assuming the variable in the NetCDF
files is
> > named
> > > > > > > > "APCP_03".  If
> > > > > > > > > > > > not,
> > > > > > > > > > > > > just switch in the actual name.  You can run
the
> > > > following
> > > > > > > > > > pcp_combine
> > > > > > > > > > > > -add
> > > > > > > > > > > > > command:
> > > > > > > > > > > > >
> > > > > > > > > > > > > pcp_combine -add \
> > > > > > > > > > > > >    3B42.20110422.09.7.nc 'name="APCP_03";
> > > > level="(*,*)";' \
> > > > > > > > > > > > >    3B42.20110422.12.7.nc 'name="APCP_03";
> > > > level="(*,*)";' \
> > > > > > > > > > > > >    3B42.20110422.15.7.nc 'name="APCP_03";
> > > > level="(*,*)";' \
> > > > > > > > > > > > >    3B42.20110422.18.7.nc 'name="APCP_03";
> > > > level="(*,*)";' \
> > > > > > > > > > > > >    3B42.20110422.21.7.nc 'name="APCP_03";
> > > > level="(*,*)";' \
> > > > > > > > > > > > >    3B42.20110423.00.7.nc 'name="APCP_03";
> > > > level="(*,*)";' \
> > > > > > > > > > > > >    3B42.20110423.03.7.nc 'name="APCP_03";
> > > > level="(*,*)";' \
> > > > > > > > > > > > >    3B42.20110423.06.7.nc 'name="APCP_03";
> > > > level="(*,*)";' \
> > > > > > > > > > > > >    3B42.20110423.06.7_APCP_24.nc
> > > > > > > > > > > > >
> > > > > > > > > > > > > The last file listed is just the output file
name I
> > > > chose.
> > > > > > But
> > > > > > > > you
> > > > > > > > > > can
> > > > > > > > > > > > > name it whatever you'd like.
> > > > > > > > > > > > >
> > > > > > > > > > > > > John
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > On Wed, Jan 21, 2015 at 4:02 AM, Geeta Geeta
via RT <
> > > > > > > > > > met_help at ucar.edu>
> > > > > > > > > > > > > wrote:
> > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Wed Jan 21 04:02:41 2015: Request 70453
was acted
> > upon.
> > > > > > > > > > > > > > Transaction: Ticket created by
> > geeta124 at hotmail.com
> > > > > > > > > > > > > >        Queue: met_help
> > > > > > > > > > > > > >      Subject: combining nc files together
> > > > > > > > > > > > > >        Owner: Nobody
> > > > > > > > > > > > > >   Requestors: geeta124 at hotmail.com
> > > > > > > > > > > > > >       Status: new
> > > > > > > > > > > > > >  Ticket <URL:
> > > > > > > > > >
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453
> > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Hi John.
> > > > > > > > > > > > > > Sorry to bother you again n again. But I
have no
> > > > choice. I
> > > > > > > > want to
> > > > > > > > > > know
> > > > > > > > > > > > > > the followingI have 8 nc files. bash-3.2$
ls
> > -ltotal
> > > > > > > > > > 216336-rw-r--r--
> > > > > > > > > > > >   1
> > > > > > > > > > > > > > model    staff      13841488 Jan 21 11:24
> > > > > > > > > > > > 3B42.20110422.06.7.nc-rw-r--r--
> > > > > > > > > > > > > >   1 model    staff      13841488 Jan 21
11:27
> > > > > > > > > > > > > > 3B42.20110422.09.7.nc-rw-r--r--    1 model
staff
> > > > > > > > 13841492
> > > > > > > > > > Jan
> > > > > > > > > > > > 21
> > > > > > > > > > > > > > 14:01 3B42.20110422.12.7.nc-rw-r--r--    1
model
> > > > staff
> > > > > > > > > > > > 13841492 Jan
> > > > > > > > > > > > > > 21 13:16 3B42.20110422.15.7.nc-rw-r--r--
1 model
> > > > > > staff
> > > > > > > > > > > > 13841492
> > > > > > > > > > > > > > Jan 21 14:51 3B42.20110422.18.7.nc-rw-r--
r--    1
> > model
> > > > > > > > staff
> > > > > > > > > > > > > > 13841492 Jan 21 13:21
> > 3B42.20110422.21.7.nc-rw-r--r--
> > > >   1
> > > > > > > > model
> > > > > > > > > > > > staff
> > > > > > > > > > > > > >     13841488 Jan 21 13:22
> > > > 3B42.20110423.00.7.nc-rw-r--r--
> > > > > >   1
> > > > > > > > > > model
> > > > > > > > > > > > > > staff      13841488 Jan 21 13:50
> > > > > > > > 3B42.20110423.03.7.ncbash-3.2$ pwd
> > > > > > > > > > > > > > I need to make ONE 24 hour RF accumulated
file
> > starting
> > > > > > 06UTC
> > > > > > > > of
> > > > > > > > > > > > > > 22.04.2011 - 03UTC of 23.04.2011. How do I
do
> > that???
> > > > > > > > > > > > > > Geeta
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > > >
> > > > >
> > > >
> > > >
> > >
> >
> >
>

------------------------------------------------
Subject: combining nc files together
From: Geeta Geeta
Time: Mon Feb 16 04:32:17 2015

Hi John.
In Your article, FSS is defined as the
FSS (n) = 1 - (MSE(n)/MSE(n) ref).

In another paper's I found it to be little different. It was related
to the FBS Fractional Brier Score.

Can U pls explain be the differences???.
Also I came across SpatialVx package.
Does that also provide all the verification procedures???
Geeta


From: geeta124 at hotmail.com
To: met_help at ucar.edu
Subject: RE: [rt.rap.ucar.edu #70453] combining nc files together
Date: Thu, 12 Feb 2015 11:14:17 +0530




hi John.
I had read ur article that U have sent reg the FSS and the MODE tools.
I could not understand the meaning of FORECAST SKILL associated with
Uniform FOrECAST. This is what is mentioed in the FSS section of Ur
article.
I didnt understand the concept/idea. if U could just explain a little
more I can build/read some articles that you would suggest.
Thanks for ur help.
Geeta

> Subject: Re: [rt.rap.ucar.edu #70453] combining nc files together
> From: met_help at ucar.edu
> To: geeta124 at hotmail.com
> Date: Wed, 11 Feb 2015 10:17:33 -0700
>
> Geeta,
>
> I think your reference to an article must be from a different email
chain.
>
> I see that you're asking about "FORECAST skill associated with the
Uniform
> forecast".  Are you looking for more references related to
neighborhood
> verification statistics, like Fractions Skill Score?
>
> Thanks,
> John
>
> On Mon, Feb 9, 2015 at 1:53 AM, Geeta Geeta via RT
<met_help at ucar.edu>
> wrote:
>
> >
> > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453 >
> >
> > Hi John.
> > Thanks for the article. It is very informative.
> > I dont know if i should be asking at this forum, the meaning of
the
> > "FORECAST skill associated with the Uniform forecast" as you have
mentioned
> > in your paper.
> > If U give me some references, it would be great.
> > Geeta
> >
> > > Subject: Re: [rt.rap.ucar.edu #70453] combining nc files
together
> > > From: met_help at ucar.edu
> > > To: geeta124 at hotmail.com
> > > Date: Thu, 5 Feb 2015 10:33:59 -0700
> > >
> > > Geeta,
> > >
> > > You're correct, you can only use the "sum" command of
pcp_combine for
> > GRIB1
> > > or GRIB2 files...
> > >
> > > But, you can use the "add" command on any gridded data file
format that
> > MET
> > > supports.  Adding together 8 NetCDF files with pcp_combine would
look
> > > something like this:
> > >
> > > pcp_combine -add \
> > > file1.nc 'name="APCP_03"; level="(*,*)";' \
> > > file2.nc 'name="APCP_03"; level="(*,*)";' \
> > > ...
> > > file8.nc 'name="APCP_03"; level="(*,*)";' \
> > > APCP_24.nc
> > >
> > > It makes for a longer command line, but it is possible to do
with
> > > pcp_combine.
> > >
> > > John
> > >
> > >
> > >
> > > On Thu, Feb 5, 2015 at 2:02 AM, Geeta Geeta via RT
<met_help at ucar.edu>
> > > wrote:
> > >
> > > >
> > > > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453
>
> > > >
> > > > Hi John.
> > > > Thanks for wonderful ideas.
> > > > The first one is working. but I have yet to run grid_stat to
see if
> > > > everything is working finally. I ll try the ncatted.
> > > >
> > > > To sum up all the nc files (for the times that I want), I did
try the
> > > > pcp_combine. But I guess It only works for the GRIB files.
> > > > I have sent to u the error before. I tried to use MET3.0 for
that
> > which is
> > > > installed in my HPC.
> > > > I have 5.0 on my personal system. Will try that exercise in
this
> > system.
> > > > Thanks again for your help.
> > > > Geeta
> > > >
> > > >
> > > > > Subject: Re: [rt.rap.ucar.edu #70453] combining nc files
together
> > > > > From: met_help at ucar.edu
> > > > > To: geeta124 at hotmail.com
> > > > > Date: Wed, 4 Feb 2015 11:21:19 -0700
> > > > >
> > > > > Geeta,
> > > > >
> > > > > The trmmbin2nc.R script is set up to only handle the TRMM
binary data
> > > > > exactly from that website.  The timing information for that
binary
> > data
> > > > is
> > > > > only contained in the file name, and you've renamed those
files.  So
> > the
> > > > > script doesn't know how to parse them.
> > > > >
> > > > > Here's 2 options:
> > > > > (1) Rename that file using the "daily" file naming
conventions:
> > > > >    cp Obs22apr2011.bin 3B42_daily.2011.04.22.7.bin
> > > > >    Rscript 3B42_daily.2011.04.22.7.bin
3B42_daily.2011.04.22.7.nc
> > > > >
> > > > > That will produce output but it'll assume the precipitation
is
> > > > accumulated
> > > > > for 24-hours from 20110422 00Z to 20110423 00Z.  If the
times should
> > be
> > > > > something different you could... edit the Rscript to use the
times
> > you
> > > > > want... or use the "ncatted" tool to modify the timing
information
> > listed
> > > > > in the output NetCDF file.
> > > > >
> > > > > (2) Or, as we've discussed in the past, you could run each
of the
> > 3-hour
> > > > > files through the trmmbin2nc.R script and write out NetCDF
files.
> > Then
> > > > run
> > > > > those 3-hourly NetCDF files through pcp_combine to add them
up.
> > > > >
> > > > > Thanks,
> > > > > John
> > > > >
> > > > >
> > > > > On Sun, Feb 1, 2015 at 11:27 PM, Geeta Geeta via RT <
> > met_help at ucar.edu>
> > > > > wrote:
> > > > >
> > > > > >
> > > > > > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453 >
> > > > > >
> > > > > > Hi John.
> > > > > > This is an old Ticket. Kindly sort this issue too.
> > > > > > I was able to sum up all the 3 hourly TRMM files and then
convert
> > the
> > > > > > final file into One called Obs22apr2011.bin.
> > > > > > I had used Grads for summing up all the 8 files. and now I
am using
> > > > the R
> > > > > > script for
> > > > > > converting into NC.
> > > > > > But I got the error.
> > > > > > aditya at agniilap:~/geeta/installs/met/RUN_MET-22apr2011$
Rscript
> > > > > > ../trmm_to_nc/trmmbin2nc_mod.R Obs22apr2011.bin
Obs22apr2011.nc
> > > > > >
> > > > > >
> > > > > > ERROR: Can't figure out the accumulation interval!I am
sending you
> > the
> > > > > > data that I converted using Grads.
> > > > > > Geeta
> > > > > >
> > > > > > > Subject: Re: [rt.rap.ucar.edu #70453] combining nc files
> > together
> > > > > > > From: met_help at ucar.edu
> > > > > > > To: geeta124 at hotmail.com
> > > > > > > Date: Fri, 30 Jan 2015 11:04:18 -0700
> > > > > > >
> > > > > > > Geeta,
> > > > > > >
> > > > > > > I don't have time to adapt that Rscript for your use
with
> > Grid-Stat.
> > > > > > > However, we did do something very similar for a previous
> > project.  I
> > > > have
> > > > > > > attached an Rscript named "fss_quilt_plot.R" you could
easily
> > adapt
> > > > to
> > > > > > > create a quilt plot for your data.  I've also attached a
copy of
> > the
> > > > > > paper
> > > > > > > for which this script was used.  Please look at figure
7.
> > > > > > >
> > > > > > > Thanks,
> > > > > > > John
> > > > > > >
> > > > > > > On Fri, Jan 30, 2015 at 1:03 AM, Geeta Geeta via RT <
> > > > met_help at ucar.edu>
> > > > > > > wrote:
> > > > > > >
> > > > > > > >
> > > > > > > > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453
> > >
> > > > > > > >
> > > > > > > > Hi John.
> > > > > > > > I changed different widths in the configuration file.
> > > > (Width=1,3,5,,7
> > > > > > etc).
> > > > > > > >
> > > > > > > > // Neighborhood methods
> > > > > > > > //
> > > > > > > > nbrhd = {
> > > > > > > >    vld_thresh = 1.0;
> > > > > > > >    width      = [ 7 ];
> > > > > > > >    cov_thresh = [ >=0.5 ];
> > > > > > > > }
> > > > > > > > and got various outputs (for different widths) which
are in
> > > > different
> > > > > > > > directories.
> > > > > > > > Now I saw the R script on the website which is
probably
> > > > exclusively for
> > > > > > > > the MODE TOOL only.
> > > > > > > > Now my question is how to make the quilt plot for the
GRid stat
> > > > > > tool???.
> > > > > > > > Sorry I m not familiar with R  now.
> > > > > > > > Pls help.
> > > > > > > > Geeta.
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > From: geeta124 at hotmail.com
> > > > > > > > To: met_help at ucar.edu
> > > > > > > > Subject: RE: [rt.rap.ucar.edu #70453] combining nc
files
> > together
> > > > > > > > Date: Thu, 29 Jan 2015 17:05:25 +0530
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > Hi John.
> > > > > > > > So I was able to sum up all the 3 hourly TRMM files
and then
> > > > convert
> > > > > > the
> > > > > > > > final file into One called Obs22apr2011.bin.
> > > > > > > > I have done that using Grads and now I am using the R
script
> > for
> > > > > > > > converting into NC.
> > > > > > > > But I got the error.
> > > > > > > > aditya at agniilap:~/geeta/installs/met/RUN_MET-
22apr2011$
> > Rscript
> > > > > > > > ../trmm_to_nc/trmmbin2nc_mod.R Obs22apr2011.bin
Obs22apr2011.nc
> > > > > > > >
> > > > > > > >
> > > > > > > > ERROR: Can't figure out the accumulation interval!
> > > > > > > >
> > > > > > > > I am sending you the data files and the R script (I
changed the
> > > > > > domain).
> > > > > > > > The data is plotted fine. Also pls tell me about the
ncview
> > > > questions
> > > > > > that
> > > > > > > > I was asking. reg the plotting of MPR's
> > > > > > > > Kindly suggest.
> > > > > > > > Geeta
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > > Subject: Re: [rt.rap.ucar.edu #70453] combining nc
files
> > > > together
> > > > > > > > > From: met_help at ucar.edu
> > > > > > > > > To: geeta124 at hotmail.com
> > > > > > > > > Date: Mon, 26 Jan 2015 09:58:32 -0700
> > > > > > > > >
> > > > > > > > > Geeta,
> > > > > > > > >
> > > > > > > > > On that webpage (
> > > > > > > > >
> > http://www.dtcenter.org/met/users/downloads/analysis_scripts.php
> > > > ),
> > > > > > > > please
> > > > > > > > > look specifically at the script named
"mode_quilt_plot.R".
> > > > Here's
> > > > > > the
> > > > > > > > > direct link to that script:
> > > > > > > > >
> > > > > > > >
> > > >
http://www.dtcenter.org/met/users/downloads/Rscripts/mode_quilt_plot.R
> > > > > > > > >
> > > > > > > > > And here's a direct link to the sample output that
script
> > > > creates:
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > >
> > > >
> >
http://www.dtcenter.org/met/users/downloads/Rscripts/SAMPLE_mode_quilts.pdf
> > > > > > > > >
> > > > > > > > > This is an example of using R to make a quilt plot
for the
> > > > output of
> > > > > > the
> > > > > > > > > MODE tool.  You might also use a quilt plot to
display
> > fractions
> > > > > > skill
> > > > > > > > > score from the Grid-Stat tool, if you've run FSS for
multiple
> > > > > > thresholds
> > > > > > > > > and neighborhood sizes.
> > > > > > > > >
> > > > > > > > > John
> > > > > > > > >
> > > > > > > > > On Mon, Jan 26, 2015 at 7:28 AM, Geeta Geeta via RT
<
> > > > > > met_help at ucar.edu>
> > > > > > > > > wrote:
> > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > <URL:
> > https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453
> > > > >
> > > > > > > > > >
> > > > > > > > > > Hi John.
> > > > > > > > > > the link
> > > > > > > >
> > http://www.dtcenter.org/met/users/downloads/analysis_scripts.php
> > > > > > > > > > has the plots for the cnt statistics.
> > > > > > > > > > I am not familiar with R. I am going thru the
plot_cnt.R
> > > > script.
> > > > > > > > > > but I want to know what will be the data format
for the
> > Quilt
> > > > plot.
> > > > > > > > > > Do I have to write my own script???.
> > > > > > > > > > Kindly let me know about the data format and how I
have to
> > > > modify
> > > > > > the
> > > > > > > > > > above script in order to make the quilt plot.
> > > > > > > > > > Regards
> > > > > > > > > > Geeta
> > > > > > > > > >
> > > > > > > > > > > Subject: Re: [rt.rap.ucar.edu #70453] combining
nc files
> > > > > > together
> > > > > > > > > > > From: met_help at ucar.edu
> > > > > > > > > > > To: geeta124 at hotmail.com
> > > > > > > > > > > Date: Fri, 23 Jan 2015 11:09:23 -0700
> > > > > > > > > > >
> > > > > > > > > > > Geeta,
> > > > > > > > > > >
> > > > > > > > > > > Regarding 3-hourly RF accumulations, if MET is
able to
> > read
> > > > those
> > > > > > > > NetCDF
> > > > > > > > > > > files, you can run them through PCP-Combine to
"add"
> > them all
> > > > > > > > together.
> > > > > > > > > > > Just use the example PCP_Combine command I
already sent
> > you
> > > > but
> > > > > > > > modify
> > > > > > > > > > the
> > > > > > > > > > > "name" entry to list the name of the NetCDF
variable you
> > > > want to
> > > > > > > > use.  If
> > > > > > > > > > > MET is not able to read them, then it's up to
you to
> > figure
> > > > out
> > > > > > how
> > > > > > > > to
> > > > > > > > > > > accumulate them.
> > > > > > > > > > >
> > > > > > > > > > > If you're familiar with R, you could use the
"ncdf"
> > library
> > > > in R
> > > > > > to
> > > > > > > > read
> > > > > > > > > > > data from one or more NetCDF files, add them up,
and
> > write it
> > > > > > out to
> > > > > > > > a
> > > > > > > > > > new
> > > > > > > > > > > file.  Alternatively, "nco" (NetCDF Operators)
provide
> > some
> > > > > > > > capability of
> > > > > > > > > > > doing simple operations on NetCDF files.  You
might be
> > able
> > > > to
> > > > > > use
> > > > > > > > them.
> > > > > > > > > > >
> > > > > > > > > > > Regarding quilt plots, I've only used R to make
them in
> > the
> > > > past.
> > > > > > > > > > > Specifically, the "quilt.plot" function in the R
package
> > > > named
> > > > > > > > "fields".
> > > > > > > > > > > Please take a look at this website:
> > > > > > > > > > >
> > > > > >
http://www.dtcenter.org/met/users/downloads/analysis_scripts.php
> > > > > > > > > > >
> > > > > > > > > > > The Rscript named "mode_quilt_plot.R" provides
an
> > example of
> > > > > > using R
> > > > > > > > to
> > > > > > > > > > > make quilt plots.  Example output from that
script is
> > also
> > > > > > included
> > > > > > > > on
> > > > > > > > > > that
> > > > > > > > > > > page.
> > > > > > > > > > >
> > > > > > > > > > > Thanks,
> > > > > > > > > > > John
> > > > > > > > > > >
> > > > > > > > > > > On Fri, Jan 23, 2015 at 4:06 AM, Geeta Geeta via
RT <
> > > > > > > > met_help at ucar.edu>
> > > > > > > > > > > wrote:
> > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > <URL:
> > > > https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453
> > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > Hi John. Your help is needed at every step.
Now I want
> > to
> > > > know
> > > > > > > > which
> > > > > > > > > > > > software can be used for making the QUILT plot
> > (intensity
> > > > and
> > > > > > > > spatial
> > > > > > > > > > > > distribution) plot. Can It be done in using
MET5.0. How
> > > > Can I
> > > > > > plot
> > > > > > > > the
> > > > > > > > > > > > point data that I used in MET5.0???KIndly
guide me.
> > Also
> > > > pls
> > > > > > tell
> > > > > > > > me
> > > > > > > > > > if u
> > > > > > > > > > > > can figure out the issue of 3hrly RF
accumulations if
> > the
> > > > files
> > > > > > > > are in
> > > > > > > > > > the
> > > > > > > > > > > > NETCDF format. Geeta
> > > > > > > > > > > >
> > > > > > > > > > > > From: geeta124 at hotmail.com
> > > > > > > > > > > > To: met_help at ucar.edu
> > > > > > > > > > > > Subject: RE: [rt.rap.ucar.edu #70453]
combining nc
> > files
> > > > > > together
> > > > > > > > > > > > Date: Thu, 22 Jan 2015 16:30:34 +0530
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > thanks John.  the pcp combine tool uses only
GRIB1
> > files.
> > > > these
> > > > > > > > were
> > > > > > > > > > > > netcdf files (attaching one).I had downloaded
the NC
> > files
> > > > from
> > > > > > > > > > > >
> > > > > > > > > >
> > > > > > > >
> > > > > >
> > > >
> > http://mirador.gsfc.nasa.gov/cgi-
bin/mirador/granlist.pl?page=1&location=(-90,-
180),(90,180)&dataSet=TRMM_3B42&version=007&allversion=007&startTime=2011-
04-22T00:00:01Z&endTime=2011-04-
22T23:59:59Z&keyword=TRMM_3B42&longname=TRMM%203-
Hourly%200.25%20deg.%20TRMM%20and%20Others%20Rainfall%20Estimate%20Data&CGISESSID=02499c2107ddfb60a3e46d6b99df3d79&prodpg=http://mirador.gsfc.nasa.gov/collections/TRMM_3B42__007.shtmlI
> > > > > > > > > > > > got following error. bash-3.2$
./run_pcptool.sh
> > Running PCP
> > > > > > > > > > toolPerforming
> > > > > > > > > > > > addition command for 2 files.Reading input
file:
> > > > > > > > 3B42.20110422.12.7.nc
> > > > > > > > > > > > GribFile::skip_header() -> can't find "GRIB"
magic
> > cookie
> > > > > >  ERROR:
> > > > > > > > > > > > get_field() -> can't open grib file:
> > 3B42.20110422.12.7.nc
> > > > > > > > > > > > Following is my script--------!/bin/sh
> > > > > > > > > > > >
> > > > > > > > > > > >              echo " Running PCP
> > > > > > > > > > > > tool"~/wrf3/utils/met/METv3.0/bin/pcp_combine
-add
> > > > > > > > > > 3B42.20110422.12.7.nc
> > > > > > > > > > > > 03 3B42.20110422.15.7.nc 03 myoutput.nc
> > > > > > > > > > > > Kindly suggest.
> > > > > > > > > > > >
> > > > > > > > > > > > the second thing I was thinking to download
the TRMM
> > data
> > > > from
> > > > > > > > thelink
> > > > > > > > > > at
> > > > > > > > > > > > DTC website and then converying the 3 hourly
bins to
> > NC.
> > > > > > > > > > > > 2.2 MBftp://
> > > > > > > > > > > >
> > > > > > > > > >
> > > > > > > >
> > > > > >
> > > >
> >
disc2.nascom.nasa.gov/data/TRMM/Gridded/3B42_V7/201104/3B42.110422.15z.7.precipitation.bin
> > > > > > > > > > > > But my problem will be to ACCUMULATE them. I
need to
> > > > verify the
> > > > > > > > model
> > > > > > > > > > data
> > > > > > > > > > > > starting 06 UTC of day1 to 03UTC of DAY2. I
mean how
> > do I
> > > > > > combine
> > > > > > > > all
> > > > > > > > > > the
> > > > > > > > > > > > NC  files together. Kindly suggest
> > > > > > > > > > > > > Subject: Re: [rt.rap.ucar.edu #70453]
combining nc
> > files
> > > > > > > > together
> > > > > > > > > > > > > From: met_help at ucar.edu
> > > > > > > > > > > > > To: geeta124 at hotmail.com
> > > > > > > > > > > > > Date: Wed, 21 Jan 2015 10:45:12 -0700
> > > > > > > > > > > > >
> > > > > > > > > > > > > Geeta,
> > > > > > > > > > > > >
> > > > > > > > > > > > > I'm assuming the variable in the NetCDF
files is
> > named
> > > > > > > > "APCP_03".  If
> > > > > > > > > > > > not,
> > > > > > > > > > > > > just switch in the actual name.  You can run
the
> > > > following
> > > > > > > > > > pcp_combine
> > > > > > > > > > > > -add
> > > > > > > > > > > > > command:
> > > > > > > > > > > > >
> > > > > > > > > > > > > pcp_combine -add \
> > > > > > > > > > > > >    3B42.20110422.09.7.nc 'name="APCP_03";
> > > > level="(*,*)";' \
> > > > > > > > > > > > >    3B42.20110422.12.7.nc 'name="APCP_03";
> > > > level="(*,*)";' \
> > > > > > > > > > > > >    3B42.20110422.15.7.nc 'name="APCP_03";
> > > > level="(*,*)";' \
> > > > > > > > > > > > >    3B42.20110422.18.7.nc 'name="APCP_03";
> > > > level="(*,*)";' \
> > > > > > > > > > > > >    3B42.20110422.21.7.nc 'name="APCP_03";
> > > > level="(*,*)";' \
> > > > > > > > > > > > >    3B42.20110423.00.7.nc 'name="APCP_03";
> > > > level="(*,*)";' \
> > > > > > > > > > > > >    3B42.20110423.03.7.nc 'name="APCP_03";
> > > > level="(*,*)";' \
> > > > > > > > > > > > >    3B42.20110423.06.7.nc 'name="APCP_03";
> > > > level="(*,*)";' \
> > > > > > > > > > > > >    3B42.20110423.06.7_APCP_24.nc
> > > > > > > > > > > > >
> > > > > > > > > > > > > The last file listed is just the output file
name I
> > > > chose.
> > > > > > But
> > > > > > > > you
> > > > > > > > > > can
> > > > > > > > > > > > > name it whatever you'd like.
> > > > > > > > > > > > >
> > > > > > > > > > > > > John
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > On Wed, Jan 21, 2015 at 4:02 AM, Geeta Geeta
via RT <
> > > > > > > > > > met_help at ucar.edu>
> > > > > > > > > > > > > wrote:
> > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Wed Jan 21 04:02:41 2015: Request 70453
was acted
> > upon.
> > > > > > > > > > > > > > Transaction: Ticket created by
> > geeta124 at hotmail.com
> > > > > > > > > > > > > >        Queue: met_help
> > > > > > > > > > > > > >      Subject: combining nc files together
> > > > > > > > > > > > > >        Owner: Nobody
> > > > > > > > > > > > > >   Requestors: geeta124 at hotmail.com
> > > > > > > > > > > > > >       Status: new
> > > > > > > > > > > > > >  Ticket <URL:
> > > > > > > > > >
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453
> > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Hi John.
> > > > > > > > > > > > > > Sorry to bother you again n again. But I
have no
> > > > choice. I
> > > > > > > > want to
> > > > > > > > > > know
> > > > > > > > > > > > > > the followingI have 8 nc files. bash-3.2$
ls
> > -ltotal
> > > > > > > > > > 216336-rw-r--r--
> > > > > > > > > > > >   1
> > > > > > > > > > > > > > model    staff      13841488 Jan 21 11:24
> > > > > > > > > > > > 3B42.20110422.06.7.nc-rw-r--r--
> > > > > > > > > > > > > >   1 model    staff      13841488 Jan 21
11:27
> > > > > > > > > > > > > > 3B42.20110422.09.7.nc-rw-r--r--    1 model
staff
> > > > > > > > 13841492
> > > > > > > > > > Jan
> > > > > > > > > > > > 21
> > > > > > > > > > > > > > 14:01 3B42.20110422.12.7.nc-rw-r--r--    1
model
> > > > staff
> > > > > > > > > > > > 13841492 Jan
> > > > > > > > > > > > > > 21 13:16 3B42.20110422.15.7.nc-rw-r--r--
1 model
> > > > > > staff
> > > > > > > > > > > > 13841492
> > > > > > > > > > > > > > Jan 21 14:51 3B42.20110422.18.7.nc-rw-r--
r--    1
> > model
> > > > > > > > staff
> > > > > > > > > > > > > > 13841492 Jan 21 13:21
> > 3B42.20110422.21.7.nc-rw-r--r--
> > > >   1
> > > > > > > > model
> > > > > > > > > > > > staff
> > > > > > > > > > > > > >     13841488 Jan 21 13:22
> > > > 3B42.20110423.00.7.nc-rw-r--r--
> > > > > >   1
> > > > > > > > > > model
> > > > > > > > > > > > > > staff      13841488 Jan 21 13:50
> > > > > > > > 3B42.20110423.03.7.ncbash-3.2$ pwd
> > > > > > > > > > > > > > I need to make ONE 24 hour RF accumulated
file
> > starting
> > > > > > 06UTC
> > > > > > > > of
> > > > > > > > > > > > > > 22.04.2011 - 03UTC of 23.04.2011. How do I
do
> > that???
> > > > > > > > > > > > > > Geeta
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > > >
> > > > >
> > > >
> > > >
> > >
> >
> >
>

------------------------------------------------
Subject: combining nc files together
From: Tressa Fowler
Time: Tue Feb 17 13:47:06 2015

Hi Geeta,

The paper we sent was not A reference, it was THE reference, the
original published work on the FSS. Of course, algebra allows
equations to be expressed in many equivalent formats. Feel free to use
whichever form you like.

The Spatial Vx package has many verification methods, but it is
relatively new and untested. I'm sure you can reference that package's
documentation for full details of the available methods.

Happy verifying,

Tressa

On Mon Feb 16 04:32:17 2015, geeta124 at hotmail.com wrote:
> Hi John.
> In Your article, FSS is defined as the
> FSS (n) = 1 - (MSE(n)/MSE(n) ref).
>
> In another paper's I found it to be little different. It was related
>    to the FBS Fractional Brier Score.
>
> Can U pls explain be the differences???.
> Also I came across SpatialVx package.
> Does that also provide all the verification procedures???
> Geeta
>
>
> From: geeta124 at hotmail.com
> To: met_help at ucar.edu
> Subject: RE: [rt.rap.ucar.edu #70453] combining nc files together
> Date: Thu, 12 Feb 2015 11:14:17 +0530
>
>
>
>
> hi John.
> I had read ur article that U have sent reg the FSS and the MODE
tools.
>    I could not understand the meaning of FORECAST SKILL associated
>    with Uniform FOrECAST. This is what is mentioed in the FSS
section
>    of Ur article.
> I didnt understand the concept/idea. if U could just explain a
little
>    more I can build/read some articles that you would suggest.
> Thanks for ur help.
> Geeta
>
> > Subject: Re: [rt.rap.ucar.edu #70453] combining nc files together
> > From: met_help at ucar.edu
> > To: geeta124 at hotmail.com
> > Date: Wed, 11 Feb 2015 10:17:33 -0700
> >
> > Geeta,
> >
> > I think your reference to an article must be from a different
email
>    chain.
> >
> > I see that you're asking about "FORECAST skill associated with the
>    Uniform
> > forecast".  Are you looking for more references related to
>    neighborhood
> > verification statistics, like Fractions Skill Score?
> >
> > Thanks,
> > John
> >
> > On Mon, Feb 9, 2015 at 1:53 AM, Geeta Geeta via RT
>    <met_help at ucar.edu>
> > wrote:
> >
> > >
> > > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453 >
> > >
> > > Hi John.
> > > Thanks for the article. It is very informative.
> > > I dont know if i should be asking at this forum, the meaning of
>    the
> > > "FORECAST skill associated with the Uniform forecast" as you
have
>    mentioned
> > > in your paper.
> > > If U give me some references, it would be great.
> > > Geeta
> > >
> > > > Subject: Re: [rt.rap.ucar.edu #70453] combining nc files
>    together
> > > > From: met_help at ucar.edu
> > > > To: geeta124 at hotmail.com
> > > > Date: Thu, 5 Feb 2015 10:33:59 -0700
> > > >
> > > > Geeta,
> > > >
> > > > You're correct, you can only use the "sum" command of
>    pcp_combine for
> > > GRIB1
> > > > or GRIB2 files...
> > > >
> > > > But, you can use the "add" command on any gridded data file
>    format that
> > > MET
> > > > supports.  Adding together 8 NetCDF files with pcp_combine
would
>    look
> > > > something like this:
> > > >
> > > > pcp_combine -add \
> > > > file1.nc 'name="APCP_03"; level="(*,*)";' \
> > > > file2.nc 'name="APCP_03"; level="(*,*)";' \
> > > > ...
> > > > file8.nc 'name="APCP_03"; level="(*,*)";' \
> > > > APCP_24.nc
> > > >
> > > > It makes for a longer command line, but it is possible to do
>    with
> > > > pcp_combine.
> > > >
> > > > John
> > > >
> > > >
> > > >
> > > > On Thu, Feb 5, 2015 at 2:02 AM, Geeta Geeta via RT
>    <met_help at ucar.edu>
> > > > wrote:
> > > >
> > > > >
> > > > > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453
>    >
> > > > >
> > > > > Hi John.
> > > > > Thanks for wonderful ideas.
> > > > > The first one is working. but I have yet to run grid_stat to
>    see if
> > > > > everything is working finally. I ll try the ncatted.
> > > > >
> > > > > To sum up all the nc files (for the times that I want), I
did
>    try the
> > > > > pcp_combine. But I guess It only works for the GRIB files.
> > > > > I have sent to u the error before. I tried to use MET3.0 for
>    that
> > > which is
> > > > > installed in my HPC.
> > > > > I have 5.0 on my personal system. Will try that exercise in
>    this
> > > system.
> > > > > Thanks again for your help.
> > > > > Geeta
> > > > >
> > > > >
> > > > > > Subject: Re: [rt.rap.ucar.edu #70453] combining nc files
>    together
> > > > > > From: met_help at ucar.edu
> > > > > > To: geeta124 at hotmail.com
> > > > > > Date: Wed, 4 Feb 2015 11:21:19 -0700
> > > > > >
> > > > > > Geeta,
> > > > > >
> > > > > > The trmmbin2nc.R script is set up to only handle the TRMM
>    binary data
> > > > > > exactly from that website.  The timing information for
that
>    binary
> > > data
> > > > > is
> > > > > > only contained in the file name, and you've renamed those
>    files.  So
> > > the
> > > > > > script doesn't know how to parse them.
> > > > > >
> > > > > > Here's 2 options:
> > > > > > (1) Rename that file using the "daily" file naming
>    conventions:
> > > > > >    cp Obs22apr2011.bin 3B42_daily.2011.04.22.7.bin
> > > > > >    Rscript 3B42_daily.2011.04.22.7.bin
>    3B42_daily.2011.04.22.7.nc
> > > > > >
> > > > > > That will produce output but it'll assume the
precipitation
>    is
> > > > > accumulated
> > > > > > for 24-hours from 20110422 00Z to 20110423 00Z.  If the
>    times should
> > > be
> > > > > > something different you could... edit the Rscript to use
the
>    times
> > > you
> > > > > > want... or use the "ncatted" tool to modify the timing
>    information
> > > listed
> > > > > > in the output NetCDF file.
> > > > > >
> > > > > > (2) Or, as we've discussed in the past, you could run each
>    of the
> > > 3-hour
> > > > > > files through the trmmbin2nc.R script and write out NetCDF
>    files.
> > > Then
> > > > > run
> > > > > > those 3-hourly NetCDF files through pcp_combine to add
them
>    up.
> > > > > >
> > > > > > Thanks,
> > > > > > John
> > > > > >
> > > > > >
> > > > > > On Sun, Feb 1, 2015 at 11:27 PM, Geeta Geeta via RT <
> > > met_help at ucar.edu>
> > > > > > wrote:
> > > > > >
> > > > > > >
> > > > > > > <URL:
>    https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453 >
> > > > > > >
> > > > > > > Hi John.
> > > > > > > This is an old Ticket. Kindly sort this issue too.
> > > > > > > I was able to sum up all the 3 hourly TRMM files and
then
>    convert
> > > the
> > > > > > > final file into One called Obs22apr2011.bin.
> > > > > > > I had used Grads for summing up all the 8 files. and now
I
>    am using
> > > > > the R
> > > > > > > script for
> > > > > > > converting into NC.
> > > > > > > But I got the error.
> > > > > > > aditya at agniilap:~/geeta/installs/met/RUN_MET-22apr2011$
>    Rscript
> > > > > > > ../trmm_to_nc/trmmbin2nc_mod.R Obs22apr2011.bin
>    Obs22apr2011.nc
> > > > > > >
> > > > > > >
> > > > > > > ERROR: Can't figure out the accumulation interval!I am
>    sending you
> > > the
> > > > > > > data that I converted using Grads.
> > > > > > > Geeta
> > > > > > >
> > > > > > > > Subject: Re: [rt.rap.ucar.edu #70453] combining nc
files
> > > together
> > > > > > > > From: met_help at ucar.edu
> > > > > > > > To: geeta124 at hotmail.com
> > > > > > > > Date: Fri, 30 Jan 2015 11:04:18 -0700
> > > > > > > >
> > > > > > > > Geeta,
> > > > > > > >
> > > > > > > > I don't have time to adapt that Rscript for your use
>    with
> > > Grid-Stat.
> > > > > > > > However, we did do something very similar for a
previous
> > > project.  I
> > > > > have
> > > > > > > > attached an Rscript named "fss_quilt_plot.R" you could
>    easily
> > > adapt
> > > > > to
> > > > > > > > create a quilt plot for your data.  I've also attached
a
>    copy of
> > > the
> > > > > > > paper
> > > > > > > > for which this script was used.  Please look at figure
>    7.
> > > > > > > >
> > > > > > > > Thanks,
> > > > > > > > John
> > > > > > > >
> > > > > > > > On Fri, Jan 30, 2015 at 1:03 AM, Geeta Geeta via RT <
> > > > > met_help at ucar.edu>
> > > > > > > > wrote:
> > > > > > > >
> > > > > > > > >
> > > > > > > > > <URL:
>    https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453
> > > >
> > > > > > > > >
> > > > > > > > > Hi John.
> > > > > > > > > I changed different widths in the configuration
file.
> > > > > (Width=1,3,5,,7
> > > > > > > etc).
> > > > > > > > >
> > > > > > > > > // Neighborhood methods
> > > > > > > > > //
> > > > > > > > > nbrhd = {
> > > > > > > > >    vld_thresh = 1.0;
> > > > > > > > >    width      = [ 7 ];
> > > > > > > > >    cov_thresh = [ >=0.5 ];
> > > > > > > > > }
> > > > > > > > > and got various outputs (for different widths) which
>    are in
> > > > > different
> > > > > > > > > directories.
> > > > > > > > > Now I saw the R script on the website which is
>    probably
> > > > > exclusively for
> > > > > > > > > the MODE TOOL only.
> > > > > > > > > Now my question is how to make the quilt plot for
the
>    GRid stat
> > > > > > > tool???.
> > > > > > > > > Sorry I m not familiar with R  now.
> > > > > > > > > Pls help.
> > > > > > > > > Geeta.
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > From: geeta124 at hotmail.com
> > > > > > > > > To: met_help at ucar.edu
> > > > > > > > > Subject: RE: [rt.rap.ucar.edu #70453] combining nc
>    files
> > > together
> > > > > > > > > Date: Thu, 29 Jan 2015 17:05:25 +0530
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > Hi John.
> > > > > > > > > So I was able to sum up all the 3 hourly TRMM files
>    and then
> > > > > convert
> > > > > > > the
> > > > > > > > > final file into One called Obs22apr2011.bin.
> > > > > > > > > I have done that using Grads and now I am using the
R
>    script
> > > for
> > > > > > > > > converting into NC.
> > > > > > > > > But I got the error.
> > > > > > > > > aditya at agniilap:~/geeta/installs/met/RUN_MET-
>    22apr2011$
> > > Rscript
> > > > > > > > > ../trmm_to_nc/trmmbin2nc_mod.R Obs22apr2011.bin
>    Obs22apr2011.nc
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > ERROR: Can't figure out the accumulation interval!
> > > > > > > > >
> > > > > > > > > I am sending you the data files and the R script (I
>    changed the
> > > > > > > domain).
> > > > > > > > > The data is plotted fine. Also pls tell me about the
>    ncview
> > > > > questions
> > > > > > > that
> > > > > > > > > I was asking. reg the plotting of MPR's
> > > > > > > > > Kindly suggest.
> > > > > > > > > Geeta
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > > Subject: Re: [rt.rap.ucar.edu #70453] combining nc
>    files
> > > > > together
> > > > > > > > > > From: met_help at ucar.edu
> > > > > > > > > > To: geeta124 at hotmail.com
> > > > > > > > > > Date: Mon, 26 Jan 2015 09:58:32 -0700
> > > > > > > > > >
> > > > > > > > > > Geeta,
> > > > > > > > > >
> > > > > > > > > > On that webpage (
> > > > > > > > > >
> > > http://www.dtcenter.org/met/users/downloads/analysis_scripts.php
> > > > > ),
> > > > > > > > > please
> > > > > > > > > > look specifically at the script named
>    "mode_quilt_plot.R".
> > > > > Here's
> > > > > > > the
> > > > > > > > > > direct link to that script:
> > > > > > > > > >
> > > > > > > > >
> > > > >
>
http://www.dtcenter.org/met/users/downloads/Rscripts/mode_quilt_plot.R
> > > > > > > > > >
> > > > > > > > > > And here's a direct link to the sample output that
>    script
> > > > > creates:
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > >
> > > > >
> > >
>
http://www.dtcenter.org/met/users/downloads/Rscripts/SAMPLE_mode_quilts.pdf
> > > > > > > > > >
> > > > > > > > > > This is an example of using R to make a quilt plot
>    for the
> > > > > output of
> > > > > > > the
> > > > > > > > > > MODE tool.  You might also use a quilt plot to
>    display
> > > fractions
> > > > > > > skill
> > > > > > > > > > score from the Grid-Stat tool, if you've run FSS
for
>    multiple
> > > > > > > thresholds
> > > > > > > > > > and neighborhood sizes.
> > > > > > > > > >
> > > > > > > > > > John
> > > > > > > > > >
> > > > > > > > > > On Mon, Jan 26, 2015 at 7:28 AM, Geeta Geeta via
RT
>    <
> > > > > > > met_help at ucar.edu>
> > > > > > > > > > wrote:
> > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > <URL:
> > > https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453
> > > > > >
> > > > > > > > > > >
> > > > > > > > > > > Hi John.
> > > > > > > > > > > the link
> > > > > > > > >
> > > http://www.dtcenter.org/met/users/downloads/analysis_scripts.php
> > > > > > > > > > > has the plots for the cnt statistics.
> > > > > > > > > > > I am not familiar with R. I am going thru the
>    plot_cnt.R
> > > > > script.
> > > > > > > > > > > but I want to know what will be the data format
>    for the
> > > Quilt
> > > > > plot.
> > > > > > > > > > > Do I have to write my own script???.
> > > > > > > > > > > Kindly let me know about the data format and how
I
>    have to
> > > > > modify
> > > > > > > the
> > > > > > > > > > > above script in order to make the quilt plot.
> > > > > > > > > > > Regards
> > > > > > > > > > > Geeta
> > > > > > > > > > >
> > > > > > > > > > > > Subject: Re: [rt.rap.ucar.edu #70453]
combining
>    nc files
> > > > > > > together
> > > > > > > > > > > > From: met_help at ucar.edu
> > > > > > > > > > > > To: geeta124 at hotmail.com
> > > > > > > > > > > > Date: Fri, 23 Jan 2015 11:09:23 -0700
> > > > > > > > > > > >
> > > > > > > > > > > > Geeta,
> > > > > > > > > > > >
> > > > > > > > > > > > Regarding 3-hourly RF accumulations, if MET is
>    able to
> > > read
> > > > > those
> > > > > > > > > NetCDF
> > > > > > > > > > > > files, you can run them through PCP-Combine to
>    "add"
> > > them all
> > > > > > > > > together.
> > > > > > > > > > > > Just use the example PCP_Combine command I
>    already sent
> > > you
> > > > > but
> > > > > > > > > modify
> > > > > > > > > > > the
> > > > > > > > > > > > "name" entry to list the name of the NetCDF
>    variable you
> > > > > want to
> > > > > > > > > use.  If
> > > > > > > > > > > > MET is not able to read them, then it's up to
>    you to
> > > figure
> > > > > out
> > > > > > > how
> > > > > > > > > to
> > > > > > > > > > > > accumulate them.
> > > > > > > > > > > >
> > > > > > > > > > > > If you're familiar with R, you could use the
>    "ncdf"
> > > library
> > > > > in R
> > > > > > > to
> > > > > > > > > read
> > > > > > > > > > > > data from one or more NetCDF files, add them
up,
>    and
> > > write it
> > > > > > > out to
> > > > > > > > > a
> > > > > > > > > > > new
> > > > > > > > > > > > file.  Alternatively, "nco" (NetCDF Operators)
>    provide
> > > some
> > > > > > > > > capability of
> > > > > > > > > > > > doing simple operations on NetCDF files.  You
>    might be
> > > able
> > > > > to
> > > > > > > use
> > > > > > > > > them.
> > > > > > > > > > > >
> > > > > > > > > > > > Regarding quilt plots, I've only used R to
make
>    them in
> > > the
> > > > > past.
> > > > > > > > > > > > Specifically, the "quilt.plot" function in the
R
>    package
> > > > > named
> > > > > > > > > "fields".
> > > > > > > > > > > > Please take a look at this website:
> > > > > > > > > > > >
> > > > > > >
>    http://www.dtcenter.org/met/users/downloads/analysis_scripts.php
> > > > > > > > > > > >
> > > > > > > > > > > > The Rscript named "mode_quilt_plot.R" provides
>    an
> > > example of
> > > > > > > using R
> > > > > > > > > to
> > > > > > > > > > > > make quilt plots.  Example output from that
>    script is
> > > also
> > > > > > > included
> > > > > > > > > on
> > > > > > > > > > > that
> > > > > > > > > > > > page.
> > > > > > > > > > > >
> > > > > > > > > > > > Thanks,
> > > > > > > > > > > > John
> > > > > > > > > > > >
> > > > > > > > > > > > On Fri, Jan 23, 2015 at 4:06 AM, Geeta Geeta
via
>    RT <
> > > > > > > > > met_help at ucar.edu>
> > > > > > > > > > > > wrote:
> > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > <URL:
> > > > > https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453
> > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > Hi John. Your help is needed at every step.
>    Now I want
> > > to
> > > > > know
> > > > > > > > > which
> > > > > > > > > > > > > software can be used for making the QUILT
plot
> > > (intensity
> > > > > and
> > > > > > > > > spatial
> > > > > > > > > > > > > distribution) plot. Can It be done in using
>    MET5.0. How
> > > > > Can I
> > > > > > > plot
> > > > > > > > > the
> > > > > > > > > > > > > point data that I used in MET5.0???KIndly
>    guide me.
> > > Also
> > > > > pls
> > > > > > > tell
> > > > > > > > > me
> > > > > > > > > > > if u
> > > > > > > > > > > > > can figure out the issue of 3hrly RF
>    accumulations if
> > > the
> > > > > files
> > > > > > > > > are in
> > > > > > > > > > > the
> > > > > > > > > > > > > NETCDF format. Geeta
> > > > > > > > > > > > >
> > > > > > > > > > > > > From: geeta124 at hotmail.com
> > > > > > > > > > > > > To: met_help at ucar.edu
> > > > > > > > > > > > > Subject: RE: [rt.rap.ucar.edu #70453]
>    combining nc
> > > files
> > > > > > > together
> > > > > > > > > > > > > Date: Thu, 22 Jan 2015 16:30:34 +0530
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > thanks John.  the pcp combine tool uses only
>    GRIB1
> > > files.
> > > > > these
> > > > > > > > > were
> > > > > > > > > > > > > netcdf files (attaching one).I had
downloaded
>    the NC
> > > files
> > > > > from
> > > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > >
> > > > > > >
> > > > >
> > > http://mirador.gsfc.nasa.gov/cgi-
>    bin/mirador/granlist.pl?page=1&location=(-90,-
>
180),(90,180)&dataSet=TRMM_3B42&version=007&allversion=007&startTime=2011-
>    04-22T00:00:01Z&endTime=2011-04-
>    22T23:59:59Z&keyword=TRMM_3B42&longname=TRMM%203-
>
Hourly%200.25%20deg.%20TRMM%20and%20Others%20Rainfall%20Estimate%20Data&CGISESSID=02499c2107ddfb60a3e46d6b99df3d79&prodpg=http://mirador.gsfc.nasa.gov/collections/TRMM_3B42__007.shtmlI
> > > > > > > > > > > > > got following error. bash-3.2$
>    ./run_pcptool.sh
> > > Running PCP
> > > > > > > > > > > toolPerforming
> > > > > > > > > > > > > addition command for 2 files.Reading input
>    file:
> > > > > > > > > 3B42.20110422.12.7.nc
> > > > > > > > > > > > > GribFile::skip_header() -> can't find "GRIB"
>    magic
> > > cookie
> > > > > > >  ERROR:
> > > > > > > > > > > > > get_field() -> can't open grib file:
> > > 3B42.20110422.12.7.nc
> > > > > > > > > > > > > Following is my script--------!/bin/sh
> > > > > > > > > > > > >
> > > > > > > > > > > > >              echo " Running PCP
> > > > > > > > > > > > >
tool"~/wrf3/utils/met/METv3.0/bin/pcp_combine
>    -add
> > > > > > > > > > > 3B42.20110422.12.7.nc
> > > > > > > > > > > > > 03 3B42.20110422.15.7.nc 03 myoutput.nc
> > > > > > > > > > > > > Kindly suggest.
> > > > > > > > > > > > >
> > > > > > > > > > > > > the second thing I was thinking to download
>    the TRMM
> > > data
> > > > > from
> > > > > > > > > thelink
> > > > > > > > > > > at
> > > > > > > > > > > > > DTC website and then converying the 3 hourly
>    bins to
> > > NC.
> > > > > > > > > > > > > 2.2 MBftp://
> > > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > >
> > > > > > >
> > > > >
> > >
>
disc2.nascom.nasa.gov/data/TRMM/Gridded/3B42_V7/201104/3B42.110422.15z.7.precipitation.bin
> > > > > > > > > > > > > But my problem will be to ACCUMULATE them. I
>    need to
> > > > > verify the
> > > > > > > > > model
> > > > > > > > > > > data
> > > > > > > > > > > > > starting 06 UTC of day1 to 03UTC of DAY2. I
>    mean how
> > > do I
> > > > > > > combine
> > > > > > > > > all
> > > > > > > > > > > the
> > > > > > > > > > > > > NC  files together. Kindly suggest
> > > > > > > > > > > > > > Subject: Re: [rt.rap.ucar.edu #70453]
>    combining nc
> > > files
> > > > > > > > > together
> > > > > > > > > > > > > > From: met_help at ucar.edu
> > > > > > > > > > > > > > To: geeta124 at hotmail.com
> > > > > > > > > > > > > > Date: Wed, 21 Jan 2015 10:45:12 -0700
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Geeta,
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > I'm assuming the variable in the NetCDF
>    files is
> > > named
> > > > > > > > > "APCP_03".  If
> > > > > > > > > > > > > not,
> > > > > > > > > > > > > > just switch in the actual name.  You can
run
>    the
> > > > > following
> > > > > > > > > > > pcp_combine
> > > > > > > > > > > > > -add
> > > > > > > > > > > > > > command:
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > pcp_combine -add \
> > > > > > > > > > > > > >    3B42.20110422.09.7.nc 'name="APCP_03";
> > > > > level="(*,*)";' \
> > > > > > > > > > > > > >    3B42.20110422.12.7.nc 'name="APCP_03";
> > > > > level="(*,*)";' \
> > > > > > > > > > > > > >    3B42.20110422.15.7.nc 'name="APCP_03";
> > > > > level="(*,*)";' \
> > > > > > > > > > > > > >    3B42.20110422.18.7.nc 'name="APCP_03";
> > > > > level="(*,*)";' \
> > > > > > > > > > > > > >    3B42.20110422.21.7.nc 'name="APCP_03";
> > > > > level="(*,*)";' \
> > > > > > > > > > > > > >    3B42.20110423.00.7.nc 'name="APCP_03";
> > > > > level="(*,*)";' \
> > > > > > > > > > > > > >    3B42.20110423.03.7.nc 'name="APCP_03";
> > > > > level="(*,*)";' \
> > > > > > > > > > > > > >    3B42.20110423.06.7.nc 'name="APCP_03";
> > > > > level="(*,*)";' \
> > > > > > > > > > > > > >    3B42.20110423.06.7_APCP_24.nc
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > The last file listed is just the output
file
>    name I
> > > > > chose.
> > > > > > > But
> > > > > > > > > you
> > > > > > > > > > > can
> > > > > > > > > > > > > > name it whatever you'd like.
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > John
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > On Wed, Jan 21, 2015 at 4:02 AM, Geeta
Geeta
>    via RT <
> > > > > > > > > > > met_help at ucar.edu>
> > > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > Wed Jan 21 04:02:41 2015: Request 70453
>    was acted
> > > upon.
> > > > > > > > > > > > > > > Transaction: Ticket created by
> > > geeta124 at hotmail.com
> > > > > > > > > > > > > > >        Queue: met_help
> > > > > > > > > > > > > > >      Subject: combining nc files
together
> > > > > > > > > > > > > > >        Owner: Nobody
> > > > > > > > > > > > > > >   Requestors: geeta124 at hotmail.com
> > > > > > > > > > > > > > >       Status: new
> > > > > > > > > > > > > > >  Ticket <URL:
> > > > > > > > > > >
>    https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > Hi John.
> > > > > > > > > > > > > > > Sorry to bother you again n again. But I
>    have no
> > > > > choice. I
> > > > > > > > > want to
> > > > > > > > > > > know
> > > > > > > > > > > > > > > the followingI have 8 nc files. bash-
3.2$
>    ls
> > > -ltotal
> > > > > > > > > > > 216336-rw-r--r--
> > > > > > > > > > > > >   1
> > > > > > > > > > > > > > > model    staff      13841488 Jan 21
11:24
> > > > > > > > > > > > > 3B42.20110422.06.7.nc-rw-r--r--
> > > > > > > > > > > > > > >   1 model    staff      13841488 Jan 21
>    11:27
> > > > > > > > > > > > > > > 3B42.20110422.09.7.nc-rw-r--r--    1
model
>    staff
> > > > > > > > > 13841492
> > > > > > > > > > > Jan
> > > > > > > > > > > > > 21
> > > > > > > > > > > > > > > 14:01 3B42.20110422.12.7.nc-rw-r--r--
1
>    model
> > > > > staff
> > > > > > > > > > > > > 13841492 Jan
> > > > > > > > > > > > > > > 21 13:16 3B42.20110422.15.7.nc-rw-r--r--
>    1 model
> > > > > > > staff
> > > > > > > > > > > > > 13841492
> > > > > > > > > > > > > > > Jan 21 14:51 3B42.20110422.18.7.nc-rw-
r--
>    r--    1
> > > model
> > > > > > > > > staff
> > > > > > > > > > > > > > > 13841492 Jan 21 13:21
> > > 3B42.20110422.21.7.nc-rw-r--r--
> > > > >   1
> > > > > > > > > model
> > > > > > > > > > > > > staff
> > > > > > > > > > > > > > >     13841488 Jan 21 13:22
> > > > > 3B42.20110423.00.7.nc-rw-r--r--
> > > > > > >   1
> > > > > > > > > > > model
> > > > > > > > > > > > > > > staff      13841488 Jan 21 13:50
> > > > > > > > > 3B42.20110423.03.7.ncbash-3.2$ pwd
> > > > > > > > > > > > > > > I need to make ONE 24 hour RF
accumulated
>    file
> > > starting
> > > > > > > 06UTC
> > > > > > > > > of
> > > > > > > > > > > > > > > 22.04.2011 - 03UTC of 23.04.2011. How do
I
>    do
> > > that???
> > > > > > > > > > > > > > > Geeta
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > > >
> > > >
> > >
> > >
> >



------------------------------------------------
Subject: combining nc files together
From: Geeta Geeta
Time: Thu Feb 19 00:20:05 2015

Hi Tressa and John.
I want to know if MET5.0 has neighborhood methods defined for point
observations???.
If Yes, Pls guide me with this.
Geeta


> Subject: [rt.rap.ucar.edu #70453] combining nc files together
> From: met_help at ucar.edu
> To: geeta124 at hotmail.com
> Date: Tue, 17 Feb 2015 13:47:07 -0700
>
> Hi Geeta,
>
> The paper we sent was not A reference, it was THE reference, the
original published work on the FSS. Of course, algebra allows
equations to be expressed in many equivalent formats. Feel free to use
whichever form you like.
>
> The Spatial Vx package has many verification methods, but it is
relatively new and untested. I'm sure you can reference that package's
documentation for full details of the available methods.
>
> Happy verifying,
>
> Tressa
>
> On Mon Feb 16 04:32:17 2015, geeta124 at hotmail.com wrote:
> > Hi John.
> > In Your article, FSS is defined as the
> > FSS (n) = 1 - (MSE(n)/MSE(n) ref).
> >
> > In another paper's I found it to be little different. It was
related
> >    to the FBS Fractional Brier Score.
> >
> > Can U pls explain be the differences???.
> > Also I came across SpatialVx package.
> > Does that also provide all the verification procedures???
> > Geeta
> >
> >
> > From: geeta124 at hotmail.com
> > To: met_help at ucar.edu
> > Subject: RE: [rt.rap.ucar.edu #70453] combining nc files together
> > Date: Thu, 12 Feb 2015 11:14:17 +0530
> >
> >
> >
> >
> > hi John.
> > I had read ur article that U have sent reg the FSS and the MODE
tools.
> >    I could not understand the meaning of FORECAST SKILL associated
> >    with Uniform FOrECAST. This is what is mentioed in the FSS
section
> >    of Ur article.
> > I didnt understand the concept/idea. if U could just explain a
little
> >    more I can build/read some articles that you would suggest.
> > Thanks for ur help.
> > Geeta
> >
> > > Subject: Re: [rt.rap.ucar.edu #70453] combining nc files
together
> > > From: met_help at ucar.edu
> > > To: geeta124 at hotmail.com
> > > Date: Wed, 11 Feb 2015 10:17:33 -0700
> > >
> > > Geeta,
> > >
> > > I think your reference to an article must be from a different
email
> >    chain.
> > >
> > > I see that you're asking about "FORECAST skill associated with
the
> >    Uniform
> > > forecast".  Are you looking for more references related to
> >    neighborhood
> > > verification statistics, like Fractions Skill Score?
> > >
> > > Thanks,
> > > John
> > >
> > > On Mon, Feb 9, 2015 at 1:53 AM, Geeta Geeta via RT
> >    <met_help at ucar.edu>
> > > wrote:
> > >
> > > >
> > > > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453
>
> > > >
> > > > Hi John.
> > > > Thanks for the article. It is very informative.
> > > > I dont know if i should be asking at this forum, the meaning
of
> >    the
> > > > "FORECAST skill associated with the Uniform forecast" as you
have
> >    mentioned
> > > > in your paper.
> > > > If U give me some references, it would be great.
> > > > Geeta
> > > >
> > > > > Subject: Re: [rt.rap.ucar.edu #70453] combining nc files
> >    together
> > > > > From: met_help at ucar.edu
> > > > > To: geeta124 at hotmail.com
> > > > > Date: Thu, 5 Feb 2015 10:33:59 -0700
> > > > >
> > > > > Geeta,
> > > > >
> > > > > You're correct, you can only use the "sum" command of
> >    pcp_combine for
> > > > GRIB1
> > > > > or GRIB2 files...
> > > > >
> > > > > But, you can use the "add" command on any gridded data file
> >    format that
> > > > MET
> > > > > supports.  Adding together 8 NetCDF files with pcp_combine
would
> >    look
> > > > > something like this:
> > > > >
> > > > > pcp_combine -add \
> > > > > file1.nc 'name="APCP_03"; level="(*,*)";' \
> > > > > file2.nc 'name="APCP_03"; level="(*,*)";' \
> > > > > ...
> > > > > file8.nc 'name="APCP_03"; level="(*,*)";' \
> > > > > APCP_24.nc
> > > > >
> > > > > It makes for a longer command line, but it is possible to do
> >    with
> > > > > pcp_combine.
> > > > >
> > > > > John
> > > > >
> > > > >
> > > > >
> > > > > On Thu, Feb 5, 2015 at 2:02 AM, Geeta Geeta via RT
> >    <met_help at ucar.edu>
> > > > > wrote:
> > > > >
> > > > > >
> > > > > > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453
> >    >
> > > > > >
> > > > > > Hi John.
> > > > > > Thanks for wonderful ideas.
> > > > > > The first one is working. but I have yet to run grid_stat
to
> >    see if
> > > > > > everything is working finally. I ll try the ncatted.
> > > > > >
> > > > > > To sum up all the nc files (for the times that I want), I
did
> >    try the
> > > > > > pcp_combine. But I guess It only works for the GRIB files.
> > > > > > I have sent to u the error before. I tried to use MET3.0
for
> >    that
> > > > which is
> > > > > > installed in my HPC.
> > > > > > I have 5.0 on my personal system. Will try that exercise
in
> >    this
> > > > system.
> > > > > > Thanks again for your help.
> > > > > > Geeta
> > > > > >
> > > > > >
> > > > > > > Subject: Re: [rt.rap.ucar.edu #70453] combining nc files
> >    together
> > > > > > > From: met_help at ucar.edu
> > > > > > > To: geeta124 at hotmail.com
> > > > > > > Date: Wed, 4 Feb 2015 11:21:19 -0700
> > > > > > >
> > > > > > > Geeta,
> > > > > > >
> > > > > > > The trmmbin2nc.R script is set up to only handle the
TRMM
> >    binary data
> > > > > > > exactly from that website.  The timing information for
that
> >    binary
> > > > data
> > > > > > is
> > > > > > > only contained in the file name, and you've renamed
those
> >    files.  So
> > > > the
> > > > > > > script doesn't know how to parse them.
> > > > > > >
> > > > > > > Here's 2 options:
> > > > > > > (1) Rename that file using the "daily" file naming
> >    conventions:
> > > > > > >    cp Obs22apr2011.bin 3B42_daily.2011.04.22.7.bin
> > > > > > >    Rscript 3B42_daily.2011.04.22.7.bin
> >    3B42_daily.2011.04.22.7.nc
> > > > > > >
> > > > > > > That will produce output but it'll assume the
precipitation
> >    is
> > > > > > accumulated
> > > > > > > for 24-hours from 20110422 00Z to 20110423 00Z.  If the
> >    times should
> > > > be
> > > > > > > something different you could... edit the Rscript to use
the
> >    times
> > > > you
> > > > > > > want... or use the "ncatted" tool to modify the timing
> >    information
> > > > listed
> > > > > > > in the output NetCDF file.
> > > > > > >
> > > > > > > (2) Or, as we've discussed in the past, you could run
each
> >    of the
> > > > 3-hour
> > > > > > > files through the trmmbin2nc.R script and write out
NetCDF
> >    files.
> > > > Then
> > > > > > run
> > > > > > > those 3-hourly NetCDF files through pcp_combine to add
them
> >    up.
> > > > > > >
> > > > > > > Thanks,
> > > > > > > John
> > > > > > >
> > > > > > >
> > > > > > > On Sun, Feb 1, 2015 at 11:27 PM, Geeta Geeta via RT <
> > > > met_help at ucar.edu>
> > > > > > > wrote:
> > > > > > >
> > > > > > > >
> > > > > > > > <URL:
> >    https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453 >
> > > > > > > >
> > > > > > > > Hi John.
> > > > > > > > This is an old Ticket. Kindly sort this issue too.
> > > > > > > > I was able to sum up all the 3 hourly TRMM files and
then
> >    convert
> > > > the
> > > > > > > > final file into One called Obs22apr2011.bin.
> > > > > > > > I had used Grads for summing up all the 8 files. and
now I
> >    am using
> > > > > > the R
> > > > > > > > script for
> > > > > > > > converting into NC.
> > > > > > > > But I got the error.
> > > > > > > > aditya at agniilap:~/geeta/installs/met/RUN_MET-
22apr2011$
> >    Rscript
> > > > > > > > ../trmm_to_nc/trmmbin2nc_mod.R Obs22apr2011.bin
> >    Obs22apr2011.nc
> > > > > > > >
> > > > > > > >
> > > > > > > > ERROR: Can't figure out the accumulation interval!I am
> >    sending you
> > > > the
> > > > > > > > data that I converted using Grads.
> > > > > > > > Geeta
> > > > > > > >
> > > > > > > > > Subject: Re: [rt.rap.ucar.edu #70453] combining nc
files
> > > > together
> > > > > > > > > From: met_help at ucar.edu
> > > > > > > > > To: geeta124 at hotmail.com
> > > > > > > > > Date: Fri, 30 Jan 2015 11:04:18 -0700
> > > > > > > > >
> > > > > > > > > Geeta,
> > > > > > > > >
> > > > > > > > > I don't have time to adapt that Rscript for your use
> >    with
> > > > Grid-Stat.
> > > > > > > > > However, we did do something very similar for a
previous
> > > > project.  I
> > > > > > have
> > > > > > > > > attached an Rscript named "fss_quilt_plot.R" you
could
> >    easily
> > > > adapt
> > > > > > to
> > > > > > > > > create a quilt plot for your data.  I've also
attached a
> >    copy of
> > > > the
> > > > > > > > paper
> > > > > > > > > for which this script was used.  Please look at
figure
> >    7.
> > > > > > > > >
> > > > > > > > > Thanks,
> > > > > > > > > John
> > > > > > > > >
> > > > > > > > > On Fri, Jan 30, 2015 at 1:03 AM, Geeta Geeta via RT
<
> > > > > > met_help at ucar.edu>
> > > > > > > > > wrote:
> > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > <URL:
> >    https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453
> > > > >
> > > > > > > > > >
> > > > > > > > > > Hi John.
> > > > > > > > > > I changed different widths in the configuration
file.
> > > > > > (Width=1,3,5,,7
> > > > > > > > etc).
> > > > > > > > > >
> > > > > > > > > > // Neighborhood methods
> > > > > > > > > > //
> > > > > > > > > > nbrhd = {
> > > > > > > > > >    vld_thresh = 1.0;
> > > > > > > > > >    width      = [ 7 ];
> > > > > > > > > >    cov_thresh = [ >=0.5 ];
> > > > > > > > > > }
> > > > > > > > > > and got various outputs (for different widths)
which
> >    are in
> > > > > > different
> > > > > > > > > > directories.
> > > > > > > > > > Now I saw the R script on the website which is
> >    probably
> > > > > > exclusively for
> > > > > > > > > > the MODE TOOL only.
> > > > > > > > > > Now my question is how to make the quilt plot for
the
> >    GRid stat
> > > > > > > > tool???.
> > > > > > > > > > Sorry I m not familiar with R  now.
> > > > > > > > > > Pls help.
> > > > > > > > > > Geeta.
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > From: geeta124 at hotmail.com
> > > > > > > > > > To: met_help at ucar.edu
> > > > > > > > > > Subject: RE: [rt.rap.ucar.edu #70453] combining nc
> >    files
> > > > together
> > > > > > > > > > Date: Thu, 29 Jan 2015 17:05:25 +0530
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > Hi John.
> > > > > > > > > > So I was able to sum up all the 3 hourly TRMM
files
> >    and then
> > > > > > convert
> > > > > > > > the
> > > > > > > > > > final file into One called Obs22apr2011.bin.
> > > > > > > > > > I have done that using Grads and now I am using
the R
> >    script
> > > > for
> > > > > > > > > > converting into NC.
> > > > > > > > > > But I got the error.
> > > > > > > > > > aditya at agniilap:~/geeta/installs/met/RUN_MET-
> >    22apr2011$
> > > > Rscript
> > > > > > > > > > ../trmm_to_nc/trmmbin2nc_mod.R Obs22apr2011.bin
> >    Obs22apr2011.nc
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > ERROR: Can't figure out the accumulation interval!
> > > > > > > > > >
> > > > > > > > > > I am sending you the data files and the R script
(I
> >    changed the
> > > > > > > > domain).
> > > > > > > > > > The data is plotted fine. Also pls tell me about
the
> >    ncview
> > > > > > questions
> > > > > > > > that
> > > > > > > > > > I was asking. reg the plotting of MPR's
> > > > > > > > > > Kindly suggest.
> > > > > > > > > > Geeta
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > > Subject: Re: [rt.rap.ucar.edu #70453] combining
nc
> >    files
> > > > > > together
> > > > > > > > > > > From: met_help at ucar.edu
> > > > > > > > > > > To: geeta124 at hotmail.com
> > > > > > > > > > > Date: Mon, 26 Jan 2015 09:58:32 -0700
> > > > > > > > > > >
> > > > > > > > > > > Geeta,
> > > > > > > > > > >
> > > > > > > > > > > On that webpage (
> > > > > > > > > > >
> > > >
http://www.dtcenter.org/met/users/downloads/analysis_scripts.php
> > > > > > ),
> > > > > > > > > > please
> > > > > > > > > > > look specifically at the script named
> >    "mode_quilt_plot.R".
> > > > > > Here's
> > > > > > > > the
> > > > > > > > > > > direct link to that script:
> > > > > > > > > > >
> > > > > > > > > >
> > > > > >
> >
http://www.dtcenter.org/met/users/downloads/Rscripts/mode_quilt_plot.R
> > > > > > > > > > >
> > > > > > > > > > > And here's a direct link to the sample output
that
> >    script
> > > > > > creates:
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > >
> > > > > >
> > > >
> >
http://www.dtcenter.org/met/users/downloads/Rscripts/SAMPLE_mode_quilts.pdf
> > > > > > > > > > >
> > > > > > > > > > > This is an example of using R to make a quilt
plot
> >    for the
> > > > > > output of
> > > > > > > > the
> > > > > > > > > > > MODE tool.  You might also use a quilt plot to
> >    display
> > > > fractions
> > > > > > > > skill
> > > > > > > > > > > score from the Grid-Stat tool, if you've run FSS
for
> >    multiple
> > > > > > > > thresholds
> > > > > > > > > > > and neighborhood sizes.
> > > > > > > > > > >
> > > > > > > > > > > John
> > > > > > > > > > >
> > > > > > > > > > > On Mon, Jan 26, 2015 at 7:28 AM, Geeta Geeta via
RT
> >    <
> > > > > > > > met_help at ucar.edu>
> > > > > > > > > > > wrote:
> > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > <URL:
> > > > https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453
> > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > Hi John.
> > > > > > > > > > > > the link
> > > > > > > > > >
> > > >
http://www.dtcenter.org/met/users/downloads/analysis_scripts.php
> > > > > > > > > > > > has the plots for the cnt statistics.
> > > > > > > > > > > > I am not familiar with R. I am going thru the
> >    plot_cnt.R
> > > > > > script.
> > > > > > > > > > > > but I want to know what will be the data
format
> >    for the
> > > > Quilt
> > > > > > plot.
> > > > > > > > > > > > Do I have to write my own script???.
> > > > > > > > > > > > Kindly let me know about the data format and
how I
> >    have to
> > > > > > modify
> > > > > > > > the
> > > > > > > > > > > > above script in order to make the quilt plot.
> > > > > > > > > > > > Regards
> > > > > > > > > > > > Geeta
> > > > > > > > > > > >
> > > > > > > > > > > > > Subject: Re: [rt.rap.ucar.edu #70453]
combining
> >    nc files
> > > > > > > > together
> > > > > > > > > > > > > From: met_help at ucar.edu
> > > > > > > > > > > > > To: geeta124 at hotmail.com
> > > > > > > > > > > > > Date: Fri, 23 Jan 2015 11:09:23 -0700
> > > > > > > > > > > > >
> > > > > > > > > > > > > Geeta,
> > > > > > > > > > > > >
> > > > > > > > > > > > > Regarding 3-hourly RF accumulations, if MET
is
> >    able to
> > > > read
> > > > > > those
> > > > > > > > > > NetCDF
> > > > > > > > > > > > > files, you can run them through PCP-Combine
to
> >    "add"
> > > > them all
> > > > > > > > > > together.
> > > > > > > > > > > > > Just use the example PCP_Combine command I
> >    already sent
> > > > you
> > > > > > but
> > > > > > > > > > modify
> > > > > > > > > > > > the
> > > > > > > > > > > > > "name" entry to list the name of the NetCDF
> >    variable you
> > > > > > want to
> > > > > > > > > > use.  If
> > > > > > > > > > > > > MET is not able to read them, then it's up
to
> >    you to
> > > > figure
> > > > > > out
> > > > > > > > how
> > > > > > > > > > to
> > > > > > > > > > > > > accumulate them.
> > > > > > > > > > > > >
> > > > > > > > > > > > > If you're familiar with R, you could use the
> >    "ncdf"
> > > > library
> > > > > > in R
> > > > > > > > to
> > > > > > > > > > read
> > > > > > > > > > > > > data from one or more NetCDF files, add them
up,
> >    and
> > > > write it
> > > > > > > > out to
> > > > > > > > > > a
> > > > > > > > > > > > new
> > > > > > > > > > > > > file.  Alternatively, "nco" (NetCDF
Operators)
> >    provide
> > > > some
> > > > > > > > > > capability of
> > > > > > > > > > > > > doing simple operations on NetCDF files.
You
> >    might be
> > > > able
> > > > > > to
> > > > > > > > use
> > > > > > > > > > them.
> > > > > > > > > > > > >
> > > > > > > > > > > > > Regarding quilt plots, I've only used R to
make
> >    them in
> > > > the
> > > > > > past.
> > > > > > > > > > > > > Specifically, the "quilt.plot" function in
the R
> >    package
> > > > > > named
> > > > > > > > > > "fields".
> > > > > > > > > > > > > Please take a look at this website:
> > > > > > > > > > > > >
> > > > > > > >
> >
http://www.dtcenter.org/met/users/downloads/analysis_scripts.php
> > > > > > > > > > > > >
> > > > > > > > > > > > > The Rscript named "mode_quilt_plot.R"
provides
> >    an
> > > > example of
> > > > > > > > using R
> > > > > > > > > > to
> > > > > > > > > > > > > make quilt plots.  Example output from that
> >    script is
> > > > also
> > > > > > > > included
> > > > > > > > > > on
> > > > > > > > > > > > that
> > > > > > > > > > > > > page.
> > > > > > > > > > > > >
> > > > > > > > > > > > > Thanks,
> > > > > > > > > > > > > John
> > > > > > > > > > > > >
> > > > > > > > > > > > > On Fri, Jan 23, 2015 at 4:06 AM, Geeta Geeta
via
> >    RT <
> > > > > > > > > > met_help at ucar.edu>
> > > > > > > > > > > > > wrote:
> > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > <URL:
> > > > > > https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453
> > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Hi John. Your help is needed at every
step.
> >    Now I want
> > > > to
> > > > > > know
> > > > > > > > > > which
> > > > > > > > > > > > > > software can be used for making the QUILT
plot
> > > > (intensity
> > > > > > and
> > > > > > > > > > spatial
> > > > > > > > > > > > > > distribution) plot. Can It be done in
using
> >    MET5.0. How
> > > > > > Can I
> > > > > > > > plot
> > > > > > > > > > the
> > > > > > > > > > > > > > point data that I used in MET5.0???KIndly
> >    guide me.
> > > > Also
> > > > > > pls
> > > > > > > > tell
> > > > > > > > > > me
> > > > > > > > > > > > if u
> > > > > > > > > > > > > > can figure out the issue of 3hrly RF
> >    accumulations if
> > > > the
> > > > > > files
> > > > > > > > > > are in
> > > > > > > > > > > > the
> > > > > > > > > > > > > > NETCDF format. Geeta
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > From: geeta124 at hotmail.com
> > > > > > > > > > > > > > To: met_help at ucar.edu
> > > > > > > > > > > > > > Subject: RE: [rt.rap.ucar.edu #70453]
> >    combining nc
> > > > files
> > > > > > > > together
> > > > > > > > > > > > > > Date: Thu, 22 Jan 2015 16:30:34 +0530
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > thanks John.  the pcp combine tool uses
only
> >    GRIB1
> > > > files.
> > > > > > these
> > > > > > > > > > were
> > > > > > > > > > > > > > netcdf files (attaching one).I had
downloaded
> >    the NC
> > > > files
> > > > > > from
> > > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > >
> > > > > > > >
> > > > > >
> > > > http://mirador.gsfc.nasa.gov/cgi-
> >    bin/mirador/granlist.pl?page=1&location=(-90,-
> >
180),(90,180)&dataSet=TRMM_3B42&version=007&allversion=007&startTime=2011-
> >    04-22T00:00:01Z&endTime=2011-04-
> >    22T23:59:59Z&keyword=TRMM_3B42&longname=TRMM%203-
> >
Hourly%200.25%20deg.%20TRMM%20and%20Others%20Rainfall%20Estimate%20Data&CGISESSID=02499c2107ddfb60a3e46d6b99df3d79&prodpg=http://mirador.gsfc.nasa.gov/collections/TRMM_3B42__007.shtmlI
> > > > > > > > > > > > > > got following error. bash-3.2$
> >    ./run_pcptool.sh
> > > > Running PCP
> > > > > > > > > > > > toolPerforming
> > > > > > > > > > > > > > addition command for 2 files.Reading input
> >    file:
> > > > > > > > > > 3B42.20110422.12.7.nc
> > > > > > > > > > > > > > GribFile::skip_header() -> can't find
"GRIB"
> >    magic
> > > > cookie
> > > > > > > >  ERROR:
> > > > > > > > > > > > > > get_field() -> can't open grib file:
> > > > 3B42.20110422.12.7.nc
> > > > > > > > > > > > > > Following is my script--------!/bin/sh
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >              echo " Running PCP
> > > > > > > > > > > > > >
tool"~/wrf3/utils/met/METv3.0/bin/pcp_combine
> >    -add
> > > > > > > > > > > > 3B42.20110422.12.7.nc
> > > > > > > > > > > > > > 03 3B42.20110422.15.7.nc 03 myoutput.nc
> > > > > > > > > > > > > > Kindly suggest.
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > the second thing I was thinking to
download
> >    the TRMM
> > > > data
> > > > > > from
> > > > > > > > > > thelink
> > > > > > > > > > > > at
> > > > > > > > > > > > > > DTC website and then converying the 3
hourly
> >    bins to
> > > > NC.
> > > > > > > > > > > > > > 2.2 MBftp://
> > > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > >
> > > > > > > >
> > > > > >
> > > >
> >
disc2.nascom.nasa.gov/data/TRMM/Gridded/3B42_V7/201104/3B42.110422.15z.7.precipitation.bin
> > > > > > > > > > > > > > But my problem will be to ACCUMULATE them.
I
> >    need to
> > > > > > verify the
> > > > > > > > > > model
> > > > > > > > > > > > data
> > > > > > > > > > > > > > starting 06 UTC of day1 to 03UTC of DAY2.
I
> >    mean how
> > > > do I
> > > > > > > > combine
> > > > > > > > > > all
> > > > > > > > > > > > the
> > > > > > > > > > > > > > NC  files together. Kindly suggest
> > > > > > > > > > > > > > > Subject: Re: [rt.rap.ucar.edu #70453]
> >    combining nc
> > > > files
> > > > > > > > > > together
> > > > > > > > > > > > > > > From: met_help at ucar.edu
> > > > > > > > > > > > > > > To: geeta124 at hotmail.com
> > > > > > > > > > > > > > > Date: Wed, 21 Jan 2015 10:45:12 -0700
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > Geeta,
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > I'm assuming the variable in the NetCDF
> >    files is
> > > > named
> > > > > > > > > > "APCP_03".  If
> > > > > > > > > > > > > > not,
> > > > > > > > > > > > > > > just switch in the actual name.  You can
run
> >    the
> > > > > > following
> > > > > > > > > > > > pcp_combine
> > > > > > > > > > > > > > -add
> > > > > > > > > > > > > > > command:
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > pcp_combine -add \
> > > > > > > > > > > > > > >    3B42.20110422.09.7.nc
'name="APCP_03";
> > > > > > level="(*,*)";' \
> > > > > > > > > > > > > > >    3B42.20110422.12.7.nc
'name="APCP_03";
> > > > > > level="(*,*)";' \
> > > > > > > > > > > > > > >    3B42.20110422.15.7.nc
'name="APCP_03";
> > > > > > level="(*,*)";' \
> > > > > > > > > > > > > > >    3B42.20110422.18.7.nc
'name="APCP_03";
> > > > > > level="(*,*)";' \
> > > > > > > > > > > > > > >    3B42.20110422.21.7.nc
'name="APCP_03";
> > > > > > level="(*,*)";' \
> > > > > > > > > > > > > > >    3B42.20110423.00.7.nc
'name="APCP_03";
> > > > > > level="(*,*)";' \
> > > > > > > > > > > > > > >    3B42.20110423.03.7.nc
'name="APCP_03";
> > > > > > level="(*,*)";' \
> > > > > > > > > > > > > > >    3B42.20110423.06.7.nc
'name="APCP_03";
> > > > > > level="(*,*)";' \
> > > > > > > > > > > > > > >    3B42.20110423.06.7_APCP_24.nc
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > The last file listed is just the output
file
> >    name I
> > > > > > chose.
> > > > > > > > But
> > > > > > > > > > you
> > > > > > > > > > > > can
> > > > > > > > > > > > > > > name it whatever you'd like.
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > John
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > On Wed, Jan 21, 2015 at 4:02 AM, Geeta
Geeta
> >    via RT <
> > > > > > > > > > > > met_help at ucar.edu>
> > > > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > Wed Jan 21 04:02:41 2015: Request
70453
> >    was acted
> > > > upon.
> > > > > > > > > > > > > > > > Transaction: Ticket created by
> > > > geeta124 at hotmail.com
> > > > > > > > > > > > > > > >        Queue: met_help
> > > > > > > > > > > > > > > >      Subject: combining nc files
together
> > > > > > > > > > > > > > > >        Owner: Nobody
> > > > > > > > > > > > > > > >   Requestors: geeta124 at hotmail.com
> > > > > > > > > > > > > > > >       Status: new
> > > > > > > > > > > > > > > >  Ticket <URL:
> > > > > > > > > > > >
> >    https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > Hi John.
> > > > > > > > > > > > > > > > Sorry to bother you again n again. But
I
> >    have no
> > > > > > choice. I
> > > > > > > > > > want to
> > > > > > > > > > > > know
> > > > > > > > > > > > > > > > the followingI have 8 nc files. bash-
3.2$
> >    ls
> > > > -ltotal
> > > > > > > > > > > > 216336-rw-r--r--
> > > > > > > > > > > > > >   1
> > > > > > > > > > > > > > > > model    staff      13841488 Jan 21
11:24
> > > > > > > > > > > > > > 3B42.20110422.06.7.nc-rw-r--r--
> > > > > > > > > > > > > > > >   1 model    staff      13841488 Jan
21
> >    11:27
> > > > > > > > > > > > > > > > 3B42.20110422.09.7.nc-rw-r--r--    1
model
> >    staff
> > > > > > > > > > 13841492
> > > > > > > > > > > > Jan
> > > > > > > > > > > > > > 21
> > > > > > > > > > > > > > > > 14:01 3B42.20110422.12.7.nc-rw-r--r--
1
> >    model
> > > > > > staff
> > > > > > > > > > > > > > 13841492 Jan
> > > > > > > > > > > > > > > > 21 13:16 3B42.20110422.15.7.nc-rw-r--
r--
> >    1 model
> > > > > > > > staff
> > > > > > > > > > > > > > 13841492
> > > > > > > > > > > > > > > > Jan 21 14:51 3B42.20110422.18.7.nc-rw-
r--
> >    r--    1
> > > > model
> > > > > > > > > > staff
> > > > > > > > > > > > > > > > 13841492 Jan 21 13:21
> > > > 3B42.20110422.21.7.nc-rw-r--r--
> > > > > >   1
> > > > > > > > > > model
> > > > > > > > > > > > > > staff
> > > > > > > > > > > > > > > >     13841488 Jan 21 13:22
> > > > > > 3B42.20110423.00.7.nc-rw-r--r--
> > > > > > > >   1
> > > > > > > > > > > > model
> > > > > > > > > > > > > > > > staff      13841488 Jan 21 13:50
> > > > > > > > > > 3B42.20110423.03.7.ncbash-3.2$ pwd
> > > > > > > > > > > > > > > > I need to make ONE 24 hour RF
accumulated
> >    file
> > > > starting
> > > > > > > > 06UTC
> > > > > > > > > > of
> > > > > > > > > > > > > > > > 22.04.2011 - 03UTC of 23.04.2011. How
do I
> >    do
> > > > that???
> > > > > > > > > > > > > > > > Geeta
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > > >
> > > > >
> > > >
> > > >
> > >
>
>
>

------------------------------------------------
Subject: combining nc files together
From: Geeta Geeta
Time: Thu Feb 19 02:11:20 2015

Hi Tressa and John.
This is  a query reg the FSS again.
I have been reading about it and got to know that FSS
FSSuniform=0.5+f0/2 and
FSSrandom=f0
Q.1. Pls tell me how will i calculate these two quantities ie.
FSSuniform and FSSrandom, I mean how will I calculate f0???

So the NBRCNT o/p is giving me FSS value.
Q.2. Suppose I take the NBR_width =1,3,5,7 etc......
How Can I see how many points have matched points.
I had asked you this ques before too. but I could not get the reply.
I can see the nc o/p which I opened using ncview. I could not
interpret the o/p.
Kindly guide me on this.

Geeta

From: geeta124 at hotmail.com
To: met_help at ucar.edu
Subject: RE: [rt.rap.ucar.edu #70453] combining nc files together
Date: Thu, 19 Feb 2015 12:50:00 +0530




Hi Tressa and John.
I want to know if MET5.0 has neighborhood methods defined for point
observations???.
If Yes, Pls guide me with this.
Geeta


> Subject: [rt.rap.ucar.edu #70453] combining nc files together
> From: met_help at ucar.edu
> To: geeta124 at hotmail.com
> Date: Tue, 17 Feb 2015 13:47:07 -0700
>
> Hi Geeta,
>
> The paper we sent was not A reference, it was THE reference, the
original published work on the FSS. Of course, algebra allows
equations to be expressed in many equivalent formats. Feel free to use
whichever form you like.
>
> The Spatial Vx package has many verification methods, but it is
relatively new and untested. I'm sure you can reference that package's
documentation for full details of the available methods.
>
> Happy verifying,
>
> Tressa
>
> On Mon Feb 16 04:32:17 2015, geeta124 at hotmail.com wrote:
> > Hi John.
> > In Your article, FSS is defined as the
> > FSS (n) = 1 - (MSE(n)/MSE(n) ref).
> >
> > In another paper's I found it to be little different. It was
related
> >    to the FBS Fractional Brier Score.
> >
> > Can U pls explain be the differences???.
> > Also I came across SpatialVx package.
> > Does that also provide all the verification procedures???
> > Geeta
> >
> >
> > From: geeta124 at hotmail.com
> > To: met_help at ucar.edu
> > Subject: RE: [rt.rap.ucar.edu #70453] combining nc files together
> > Date: Thu, 12 Feb 2015 11:14:17 +0530
> >
> >
> >
> >
> > hi John.
> > I had read ur article that U have sent reg the FSS and the MODE
tools.
> >    I could not understand the meaning of FORECAST SKILL associated
> >    with Uniform FOrECAST. This is what is mentioed in the FSS
section
> >    of Ur article.
> > I didnt understand the concept/idea. if U could just explain a
little
> >    more I can build/read some articles that you would suggest.
> > Thanks for ur help.
> > Geeta
> >
> > > Subject: Re: [rt.rap.ucar.edu #70453] combining nc files
together
> > > From: met_help at ucar.edu
> > > To: geeta124 at hotmail.com
> > > Date: Wed, 11 Feb 2015 10:17:33 -0700
> > >
> > > Geeta,
> > >
> > > I think your reference to an article must be from a different
email
> >    chain.
> > >
> > > I see that you're asking about "FORECAST skill associated with
the
> >    Uniform
> > > forecast".  Are you looking for more references related to
> >    neighborhood
> > > verification statistics, like Fractions Skill Score?
> > >
> > > Thanks,
> > > John
> > >
> > > On Mon, Feb 9, 2015 at 1:53 AM, Geeta Geeta via RT
> >    <met_help at ucar.edu>
> > > wrote:
> > >
> > > >
> > > > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453
>
> > > >
> > > > Hi John.
> > > > Thanks for the article. It is very informative.
> > > > I dont know if i should be asking at this forum, the meaning
of
> >    the
> > > > "FORECAST skill associated with the Uniform forecast" as you
have
> >    mentioned
> > > > in your paper.
> > > > If U give me some references, it would be great.
> > > > Geeta
> > > >
> > > > > Subject: Re: [rt.rap.ucar.edu #70453] combining nc files
> >    together
> > > > > From: met_help at ucar.edu
> > > > > To: geeta124 at hotmail.com
> > > > > Date: Thu, 5 Feb 2015 10:33:59 -0700
> > > > >
> > > > > Geeta,
> > > > >
> > > > > You're correct, you can only use the "sum" command of
> >    pcp_combine for
> > > > GRIB1
> > > > > or GRIB2 files...
> > > > >
> > > > > But, you can use the "add" command on any gridded data file
> >    format that
> > > > MET
> > > > > supports.  Adding together 8 NetCDF files with pcp_combine
would
> >    look
> > > > > something like this:
> > > > >
> > > > > pcp_combine -add \
> > > > > file1.nc 'name="APCP_03"; level="(*,*)";' \
> > > > > file2.nc 'name="APCP_03"; level="(*,*)";' \
> > > > > ...
> > > > > file8.nc 'name="APCP_03"; level="(*,*)";' \
> > > > > APCP_24.nc
> > > > >
> > > > > It makes for a longer command line, but it is possible to do
> >    with
> > > > > pcp_combine.
> > > > >
> > > > > John
> > > > >
> > > > >
> > > > >
> > > > > On Thu, Feb 5, 2015 at 2:02 AM, Geeta Geeta via RT
> >    <met_help at ucar.edu>
> > > > > wrote:
> > > > >
> > > > > >
> > > > > > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453
> >    >
> > > > > >
> > > > > > Hi John.
> > > > > > Thanks for wonderful ideas.
> > > > > > The first one is working. but I have yet to run grid_stat
to
> >    see if
> > > > > > everything is working finally. I ll try the ncatted.
> > > > > >
> > > > > > To sum up all the nc files (for the times that I want), I
did
> >    try the
> > > > > > pcp_combine. But I guess It only works for the GRIB files.
> > > > > > I have sent to u the error before. I tried to use MET3.0
for
> >    that
> > > > which is
> > > > > > installed in my HPC.
> > > > > > I have 5.0 on my personal system. Will try that exercise
in
> >    this
> > > > system.
> > > > > > Thanks again for your help.
> > > > > > Geeta
> > > > > >
> > > > > >
> > > > > > > Subject: Re: [rt.rap.ucar.edu #70453] combining nc files
> >    together
> > > > > > > From: met_help at ucar.edu
> > > > > > > To: geeta124 at hotmail.com
> > > > > > > Date: Wed, 4 Feb 2015 11:21:19 -0700
> > > > > > >
> > > > > > > Geeta,
> > > > > > >
> > > > > > > The trmmbin2nc.R script is set up to only handle the
TRMM
> >    binary data
> > > > > > > exactly from that website.  The timing information for
that
> >    binary
> > > > data
> > > > > > is
> > > > > > > only contained in the file name, and you've renamed
those
> >    files.  So
> > > > the
> > > > > > > script doesn't know how to parse them.
> > > > > > >
> > > > > > > Here's 2 options:
> > > > > > > (1) Rename that file using the "daily" file naming
> >    conventions:
> > > > > > >    cp Obs22apr2011.bin 3B42_daily.2011.04.22.7.bin
> > > > > > >    Rscript 3B42_daily.2011.04.22.7.bin
> >    3B42_daily.2011.04.22.7.nc
> > > > > > >
> > > > > > > That will produce output but it'll assume the
precipitation
> >    is
> > > > > > accumulated
> > > > > > > for 24-hours from 20110422 00Z to 20110423 00Z.  If the
> >    times should
> > > > be
> > > > > > > something different you could... edit the Rscript to use
the
> >    times
> > > > you
> > > > > > > want... or use the "ncatted" tool to modify the timing
> >    information
> > > > listed
> > > > > > > in the output NetCDF file.
> > > > > > >
> > > > > > > (2) Or, as we've discussed in the past, you could run
each
> >    of the
> > > > 3-hour
> > > > > > > files through the trmmbin2nc.R script and write out
NetCDF
> >    files.
> > > > Then
> > > > > > run
> > > > > > > those 3-hourly NetCDF files through pcp_combine to add
them
> >    up.
> > > > > > >
> > > > > > > Thanks,
> > > > > > > John
> > > > > > >
> > > > > > >
> > > > > > > On Sun, Feb 1, 2015 at 11:27 PM, Geeta Geeta via RT <
> > > > met_help at ucar.edu>
> > > > > > > wrote:
> > > > > > >
> > > > > > > >
> > > > > > > > <URL:
> >    https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453 >
> > > > > > > >
> > > > > > > > Hi John.
> > > > > > > > This is an old Ticket. Kindly sort this issue too.
> > > > > > > > I was able to sum up all the 3 hourly TRMM files and
then
> >    convert
> > > > the
> > > > > > > > final file into One called Obs22apr2011.bin.
> > > > > > > > I had used Grads for summing up all the 8 files. and
now I
> >    am using
> > > > > > the R
> > > > > > > > script for
> > > > > > > > converting into NC.
> > > > > > > > But I got the error.
> > > > > > > > aditya at agniilap:~/geeta/installs/met/RUN_MET-
22apr2011$
> >    Rscript
> > > > > > > > ../trmm_to_nc/trmmbin2nc_mod.R Obs22apr2011.bin
> >    Obs22apr2011.nc
> > > > > > > >
> > > > > > > >
> > > > > > > > ERROR: Can't figure out the accumulation interval!I am
> >    sending you
> > > > the
> > > > > > > > data that I converted using Grads.
> > > > > > > > Geeta
> > > > > > > >
> > > > > > > > > Subject: Re: [rt.rap.ucar.edu #70453] combining nc
files
> > > > together
> > > > > > > > > From: met_help at ucar.edu
> > > > > > > > > To: geeta124 at hotmail.com
> > > > > > > > > Date: Fri, 30 Jan 2015 11:04:18 -0700
> > > > > > > > >
> > > > > > > > > Geeta,
> > > > > > > > >
> > > > > > > > > I don't have time to adapt that Rscript for your use
> >    with
> > > > Grid-Stat.
> > > > > > > > > However, we did do something very similar for a
previous
> > > > project.  I
> > > > > > have
> > > > > > > > > attached an Rscript named "fss_quilt_plot.R" you
could
> >    easily
> > > > adapt
> > > > > > to
> > > > > > > > > create a quilt plot for your data.  I've also
attached a
> >    copy of
> > > > the
> > > > > > > > paper
> > > > > > > > > for which this script was used.  Please look at
figure
> >    7.
> > > > > > > > >
> > > > > > > > > Thanks,
> > > > > > > > > John
> > > > > > > > >
> > > > > > > > > On Fri, Jan 30, 2015 at 1:03 AM, Geeta Geeta via RT
<
> > > > > > met_help at ucar.edu>
> > > > > > > > > wrote:
> > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > <URL:
> >    https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453
> > > > >
> > > > > > > > > >
> > > > > > > > > > Hi John.
> > > > > > > > > > I changed different widths in the configuration
file.
> > > > > > (Width=1,3,5,,7
> > > > > > > > etc).
> > > > > > > > > >
> > > > > > > > > > // Neighborhood methods
> > > > > > > > > > //
> > > > > > > > > > nbrhd = {
> > > > > > > > > >    vld_thresh = 1.0;
> > > > > > > > > >    width      = [ 7 ];
> > > > > > > > > >    cov_thresh = [ >=0.5 ];
> > > > > > > > > > }
> > > > > > > > > > and got various outputs (for different widths)
which
> >    are in
> > > > > > different
> > > > > > > > > > directories.
> > > > > > > > > > Now I saw the R script on the website which is
> >    probably
> > > > > > exclusively for
> > > > > > > > > > the MODE TOOL only.
> > > > > > > > > > Now my question is how to make the quilt plot for
the
> >    GRid stat
> > > > > > > > tool???.
> > > > > > > > > > Sorry I m not familiar with R  now.
> > > > > > > > > > Pls help.
> > > > > > > > > > Geeta.
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > From: geeta124 at hotmail.com
> > > > > > > > > > To: met_help at ucar.edu
> > > > > > > > > > Subject: RE: [rt.rap.ucar.edu #70453] combining nc
> >    files
> > > > together
> > > > > > > > > > Date: Thu, 29 Jan 2015 17:05:25 +0530
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > Hi John.
> > > > > > > > > > So I was able to sum up all the 3 hourly TRMM
files
> >    and then
> > > > > > convert
> > > > > > > > the
> > > > > > > > > > final file into One called Obs22apr2011.bin.
> > > > > > > > > > I have done that using Grads and now I am using
the R
> >    script
> > > > for
> > > > > > > > > > converting into NC.
> > > > > > > > > > But I got the error.
> > > > > > > > > > aditya at agniilap:~/geeta/installs/met/RUN_MET-
> >    22apr2011$
> > > > Rscript
> > > > > > > > > > ../trmm_to_nc/trmmbin2nc_mod.R Obs22apr2011.bin
> >    Obs22apr2011.nc
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > ERROR: Can't figure out the accumulation interval!
> > > > > > > > > >
> > > > > > > > > > I am sending you the data files and the R script
(I
> >    changed the
> > > > > > > > domain).
> > > > > > > > > > The data is plotted fine. Also pls tell me about
the
> >    ncview
> > > > > > questions
> > > > > > > > that
> > > > > > > > > > I was asking. reg the plotting of MPR's
> > > > > > > > > > Kindly suggest.
> > > > > > > > > > Geeta
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > > Subject: Re: [rt.rap.ucar.edu #70453] combining
nc
> >    files
> > > > > > together
> > > > > > > > > > > From: met_help at ucar.edu
> > > > > > > > > > > To: geeta124 at hotmail.com
> > > > > > > > > > > Date: Mon, 26 Jan 2015 09:58:32 -0700
> > > > > > > > > > >
> > > > > > > > > > > Geeta,
> > > > > > > > > > >
> > > > > > > > > > > On that webpage (
> > > > > > > > > > >
> > > >
http://www.dtcenter.org/met/users/downloads/analysis_scripts.php
> > > > > > ),
> > > > > > > > > > please
> > > > > > > > > > > look specifically at the script named
> >    "mode_quilt_plot.R".
> > > > > > Here's
> > > > > > > > the
> > > > > > > > > > > direct link to that script:
> > > > > > > > > > >
> > > > > > > > > >
> > > > > >
> >
http://www.dtcenter.org/met/users/downloads/Rscripts/mode_quilt_plot.R
> > > > > > > > > > >
> > > > > > > > > > > And here's a direct link to the sample output
that
> >    script
> > > > > > creates:
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > >
> > > > > >
> > > >
> >
http://www.dtcenter.org/met/users/downloads/Rscripts/SAMPLE_mode_quilts.pdf
> > > > > > > > > > >
> > > > > > > > > > > This is an example of using R to make a quilt
plot
> >    for the
> > > > > > output of
> > > > > > > > the
> > > > > > > > > > > MODE tool.  You might also use a quilt plot to
> >    display
> > > > fractions
> > > > > > > > skill
> > > > > > > > > > > score from the Grid-Stat tool, if you've run FSS
for
> >    multiple
> > > > > > > > thresholds
> > > > > > > > > > > and neighborhood sizes.
> > > > > > > > > > >
> > > > > > > > > > > John
> > > > > > > > > > >
> > > > > > > > > > > On Mon, Jan 26, 2015 at 7:28 AM, Geeta Geeta via
RT
> >    <
> > > > > > > > met_help at ucar.edu>
> > > > > > > > > > > wrote:
> > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > <URL:
> > > > https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453
> > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > Hi John.
> > > > > > > > > > > > the link
> > > > > > > > > >
> > > >
http://www.dtcenter.org/met/users/downloads/analysis_scripts.php
> > > > > > > > > > > > has the plots for the cnt statistics.
> > > > > > > > > > > > I am not familiar with R. I am going thru the
> >    plot_cnt.R
> > > > > > script.
> > > > > > > > > > > > but I want to know what will be the data
format
> >    for the
> > > > Quilt
> > > > > > plot.
> > > > > > > > > > > > Do I have to write my own script???.
> > > > > > > > > > > > Kindly let me know about the data format and
how I
> >    have to
> > > > > > modify
> > > > > > > > the
> > > > > > > > > > > > above script in order to make the quilt plot.
> > > > > > > > > > > > Regards
> > > > > > > > > > > > Geeta
> > > > > > > > > > > >
> > > > > > > > > > > > > Subject: Re: [rt.rap.ucar.edu #70453]
combining
> >    nc files
> > > > > > > > together
> > > > > > > > > > > > > From: met_help at ucar.edu
> > > > > > > > > > > > > To: geeta124 at hotmail.com
> > > > > > > > > > > > > Date: Fri, 23 Jan 2015 11:09:23 -0700
> > > > > > > > > > > > >
> > > > > > > > > > > > > Geeta,
> > > > > > > > > > > > >
> > > > > > > > > > > > > Regarding 3-hourly RF accumulations, if MET
is
> >    able to
> > > > read
> > > > > > those
> > > > > > > > > > NetCDF
> > > > > > > > > > > > > files, you can run them through PCP-Combine
to
> >    "add"
> > > > them all
> > > > > > > > > > together.
> > > > > > > > > > > > > Just use the example PCP_Combine command I
> >    already sent
> > > > you
> > > > > > but
> > > > > > > > > > modify
> > > > > > > > > > > > the
> > > > > > > > > > > > > "name" entry to list the name of the NetCDF
> >    variable you
> > > > > > want to
> > > > > > > > > > use.  If
> > > > > > > > > > > > > MET is not able to read them, then it's up
to
> >    you to
> > > > figure
> > > > > > out
> > > > > > > > how
> > > > > > > > > > to
> > > > > > > > > > > > > accumulate them.
> > > > > > > > > > > > >
> > > > > > > > > > > > > If you're familiar with R, you could use the
> >    "ncdf"
> > > > library
> > > > > > in R
> > > > > > > > to
> > > > > > > > > > read
> > > > > > > > > > > > > data from one or more NetCDF files, add them
up,
> >    and
> > > > write it
> > > > > > > > out to
> > > > > > > > > > a
> > > > > > > > > > > > new
> > > > > > > > > > > > > file.  Alternatively, "nco" (NetCDF
Operators)
> >    provide
> > > > some
> > > > > > > > > > capability of
> > > > > > > > > > > > > doing simple operations on NetCDF files.
You
> >    might be
> > > > able
> > > > > > to
> > > > > > > > use
> > > > > > > > > > them.
> > > > > > > > > > > > >
> > > > > > > > > > > > > Regarding quilt plots, I've only used R to
make
> >    them in
> > > > the
> > > > > > past.
> > > > > > > > > > > > > Specifically, the "quilt.plot" function in
the R
> >    package
> > > > > > named
> > > > > > > > > > "fields".
> > > > > > > > > > > > > Please take a look at this website:
> > > > > > > > > > > > >
> > > > > > > >
> >
http://www.dtcenter.org/met/users/downloads/analysis_scripts.php
> > > > > > > > > > > > >
> > > > > > > > > > > > > The Rscript named "mode_quilt_plot.R"
provides
> >    an
> > > > example of
> > > > > > > > using R
> > > > > > > > > > to
> > > > > > > > > > > > > make quilt plots.  Example output from that
> >    script is
> > > > also
> > > > > > > > included
> > > > > > > > > > on
> > > > > > > > > > > > that
> > > > > > > > > > > > > page.
> > > > > > > > > > > > >
> > > > > > > > > > > > > Thanks,
> > > > > > > > > > > > > John
> > > > > > > > > > > > >
> > > > > > > > > > > > > On Fri, Jan 23, 2015 at 4:06 AM, Geeta Geeta
via
> >    RT <
> > > > > > > > > > met_help at ucar.edu>
> > > > > > > > > > > > > wrote:
> > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > <URL:
> > > > > > https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453
> > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Hi John. Your help is needed at every
step.
> >    Now I want
> > > > to
> > > > > > know
> > > > > > > > > > which
> > > > > > > > > > > > > > software can be used for making the QUILT
plot
> > > > (intensity
> > > > > > and
> > > > > > > > > > spatial
> > > > > > > > > > > > > > distribution) plot. Can It be done in
using
> >    MET5.0. How
> > > > > > Can I
> > > > > > > > plot
> > > > > > > > > > the
> > > > > > > > > > > > > > point data that I used in MET5.0???KIndly
> >    guide me.
> > > > Also
> > > > > > pls
> > > > > > > > tell
> > > > > > > > > > me
> > > > > > > > > > > > if u
> > > > > > > > > > > > > > can figure out the issue of 3hrly RF
> >    accumulations if
> > > > the
> > > > > > files
> > > > > > > > > > are in
> > > > > > > > > > > > the
> > > > > > > > > > > > > > NETCDF format. Geeta
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > From: geeta124 at hotmail.com
> > > > > > > > > > > > > > To: met_help at ucar.edu
> > > > > > > > > > > > > > Subject: RE: [rt.rap.ucar.edu #70453]
> >    combining nc
> > > > files
> > > > > > > > together
> > > > > > > > > > > > > > Date: Thu, 22 Jan 2015 16:30:34 +0530
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > thanks John.  the pcp combine tool uses
only
> >    GRIB1
> > > > files.
> > > > > > these
> > > > > > > > > > were
> > > > > > > > > > > > > > netcdf files (attaching one).I had
downloaded
> >    the NC
> > > > files
> > > > > > from
> > > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > >
> > > > > > > >
> > > > > >
> > > > http://mirador.gsfc.nasa.gov/cgi-
> >    bin/mirador/granlist.pl?page=1&location=(-90,-
> >
180),(90,180)&dataSet=TRMM_3B42&version=007&allversion=007&startTime=2011-
> >    04-22T00:00:01Z&endTime=2011-04-
> >    22T23:59:59Z&keyword=TRMM_3B42&longname=TRMM%203-
> >
Hourly%200.25%20deg.%20TRMM%20and%20Others%20Rainfall%20Estimate%20Data&CGISESSID=02499c2107ddfb60a3e46d6b99df3d79&prodpg=http://mirador.gsfc.nasa.gov/collections/TRMM_3B42__007.shtmlI
> > > > > > > > > > > > > > got following error. bash-3.2$
> >    ./run_pcptool.sh
> > > > Running PCP
> > > > > > > > > > > > toolPerforming
> > > > > > > > > > > > > > addition command for 2 files.Reading input
> >    file:
> > > > > > > > > > 3B42.20110422.12.7.nc
> > > > > > > > > > > > > > GribFile::skip_header() -> can't find
"GRIB"
> >    magic
> > > > cookie
> > > > > > > >  ERROR:
> > > > > > > > > > > > > > get_field() -> can't open grib file:
> > > > 3B42.20110422.12.7.nc
> > > > > > > > > > > > > > Following is my script--------!/bin/sh
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >              echo " Running PCP
> > > > > > > > > > > > > >
tool"~/wrf3/utils/met/METv3.0/bin/pcp_combine
> >    -add
> > > > > > > > > > > > 3B42.20110422.12.7.nc
> > > > > > > > > > > > > > 03 3B42.20110422.15.7.nc 03 myoutput.nc
> > > > > > > > > > > > > > Kindly suggest.
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > the second thing I was thinking to
download
> >    the TRMM
> > > > data
> > > > > > from
> > > > > > > > > > thelink
> > > > > > > > > > > > at
> > > > > > > > > > > > > > DTC website and then converying the 3
hourly
> >    bins to
> > > > NC.
> > > > > > > > > > > > > > 2.2 MBftp://
> > > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > >
> > > > > > > >
> > > > > >
> > > >
> >
disc2.nascom.nasa.gov/data/TRMM/Gridded/3B42_V7/201104/3B42.110422.15z.7.precipitation.bin
> > > > > > > > > > > > > > But my problem will be to ACCUMULATE them.
I
> >    need to
> > > > > > verify the
> > > > > > > > > > model
> > > > > > > > > > > > data
> > > > > > > > > > > > > > starting 06 UTC of day1 to 03UTC of DAY2.
I
> >    mean how
> > > > do I
> > > > > > > > combine
> > > > > > > > > > all
> > > > > > > > > > > > the
> > > > > > > > > > > > > > NC  files together. Kindly suggest
> > > > > > > > > > > > > > > Subject: Re: [rt.rap.ucar.edu #70453]
> >    combining nc
> > > > files
> > > > > > > > > > together
> > > > > > > > > > > > > > > From: met_help at ucar.edu
> > > > > > > > > > > > > > > To: geeta124 at hotmail.com
> > > > > > > > > > > > > > > Date: Wed, 21 Jan 2015 10:45:12 -0700
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > Geeta,
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > I'm assuming the variable in the NetCDF
> >    files is
> > > > named
> > > > > > > > > > "APCP_03".  If
> > > > > > > > > > > > > > not,
> > > > > > > > > > > > > > > just switch in the actual name.  You can
run
> >    the
> > > > > > following
> > > > > > > > > > > > pcp_combine
> > > > > > > > > > > > > > -add
> > > > > > > > > > > > > > > command:
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > pcp_combine -add \
> > > > > > > > > > > > > > >    3B42.20110422.09.7.nc
'name="APCP_03";
> > > > > > level="(*,*)";' \
> > > > > > > > > > > > > > >    3B42.20110422.12.7.nc
'name="APCP_03";
> > > > > > level="(*,*)";' \
> > > > > > > > > > > > > > >    3B42.20110422.15.7.nc
'name="APCP_03";
> > > > > > level="(*,*)";' \
> > > > > > > > > > > > > > >    3B42.20110422.18.7.nc
'name="APCP_03";
> > > > > > level="(*,*)";' \
> > > > > > > > > > > > > > >    3B42.20110422.21.7.nc
'name="APCP_03";
> > > > > > level="(*,*)";' \
> > > > > > > > > > > > > > >    3B42.20110423.00.7.nc
'name="APCP_03";
> > > > > > level="(*,*)";' \
> > > > > > > > > > > > > > >    3B42.20110423.03.7.nc
'name="APCP_03";
> > > > > > level="(*,*)";' \
> > > > > > > > > > > > > > >    3B42.20110423.06.7.nc
'name="APCP_03";
> > > > > > level="(*,*)";' \
> > > > > > > > > > > > > > >    3B42.20110423.06.7_APCP_24.nc
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > The last file listed is just the output
file
> >    name I
> > > > > > chose.
> > > > > > > > But
> > > > > > > > > > you
> > > > > > > > > > > > can
> > > > > > > > > > > > > > > name it whatever you'd like.
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > John
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > On Wed, Jan 21, 2015 at 4:02 AM, Geeta
Geeta
> >    via RT <
> > > > > > > > > > > > met_help at ucar.edu>
> > > > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > Wed Jan 21 04:02:41 2015: Request
70453
> >    was acted
> > > > upon.
> > > > > > > > > > > > > > > > Transaction: Ticket created by
> > > > geeta124 at hotmail.com
> > > > > > > > > > > > > > > >        Queue: met_help
> > > > > > > > > > > > > > > >      Subject: combining nc files
together
> > > > > > > > > > > > > > > >        Owner: Nobody
> > > > > > > > > > > > > > > >   Requestors: geeta124 at hotmail.com
> > > > > > > > > > > > > > > >       Status: new
> > > > > > > > > > > > > > > >  Ticket <URL:
> > > > > > > > > > > >
> >    https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > Hi John.
> > > > > > > > > > > > > > > > Sorry to bother you again n again. But
I
> >    have no
> > > > > > choice. I
> > > > > > > > > > want to
> > > > > > > > > > > > know
> > > > > > > > > > > > > > > > the followingI have 8 nc files. bash-
3.2$
> >    ls
> > > > -ltotal
> > > > > > > > > > > > 216336-rw-r--r--
> > > > > > > > > > > > > >   1
> > > > > > > > > > > > > > > > model    staff      13841488 Jan 21
11:24
> > > > > > > > > > > > > > 3B42.20110422.06.7.nc-rw-r--r--
> > > > > > > > > > > > > > > >   1 model    staff      13841488 Jan
21
> >    11:27
> > > > > > > > > > > > > > > > 3B42.20110422.09.7.nc-rw-r--r--    1
model
> >    staff
> > > > > > > > > > 13841492
> > > > > > > > > > > > Jan
> > > > > > > > > > > > > > 21
> > > > > > > > > > > > > > > > 14:01 3B42.20110422.12.7.nc-rw-r--r--
1
> >    model
> > > > > > staff
> > > > > > > > > > > > > > 13841492 Jan
> > > > > > > > > > > > > > > > 21 13:16 3B42.20110422.15.7.nc-rw-r--
r--
> >    1 model
> > > > > > > > staff
> > > > > > > > > > > > > > 13841492
> > > > > > > > > > > > > > > > Jan 21 14:51 3B42.20110422.18.7.nc-rw-
r--
> >    r--    1
> > > > model
> > > > > > > > > > staff
> > > > > > > > > > > > > > > > 13841492 Jan 21 13:21
> > > > 3B42.20110422.21.7.nc-rw-r--r--
> > > > > >   1
> > > > > > > > > > model
> > > > > > > > > > > > > > staff
> > > > > > > > > > > > > > > >     13841488 Jan 21 13:22
> > > > > > 3B42.20110423.00.7.nc-rw-r--r--
> > > > > > > >   1
> > > > > > > > > > > > model
> > > > > > > > > > > > > > > > staff      13841488 Jan 21 13:50
> > > > > > > > > > 3B42.20110423.03.7.ncbash-3.2$ pwd
> > > > > > > > > > > > > > > > I need to make ONE 24 hour RF
accumulated
> >    file
> > > > starting
> > > > > > > > 06UTC
> > > > > > > > > > of
> > > > > > > > > > > > > > > > 22.04.2011 - 03UTC of 23.04.2011. How
do I
> >    do
> > > > that???
> > > > > > > > > > > > > > > > Geeta
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > > >
> > > > >
> > > >
> > > >
> > >
>
>
>

------------------------------------------------
Subject: combining nc files together
From: John Halley Gotway
Time: Thu Feb 19 07:38:56 2015

Geeta,

No, it does not.  It is in our list of tasks for future development,
but
isn't in there yet.  You can only get neighborhood output from grid-
stat,
not point-stat.

Thanks
John

On Thursday, February 19, 2015, Geeta Geeta via RT <met_help at ucar.edu>
wrote:

>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453 >
>
> Hi Tressa and John.
> I want to know if MET5.0 has neighborhood methods defined for point
> observations???.
> If Yes, Pls guide me with this.
> Geeta
>
>
> > Subject: [rt.rap.ucar.edu #70453] combining nc files together
> > From: met_help at ucar.edu <javascript:;>
> > To: geeta124 at hotmail.com <javascript:;>
> > Date: Tue, 17 Feb 2015 13:47:07 -0700
> >
> > Hi Geeta,
> >
> > The paper we sent was not A reference, it was THE reference, the
> original published work on the FSS. Of course, algebra allows
equations to
> be expressed in many equivalent formats. Feel free to use whichever
form
> you like.
> >
> > The Spatial Vx package has many verification methods, but it is
> relatively new and untested. I'm sure you can reference that
package's
> documentation for full details of the available methods.
> >
> > Happy verifying,
> >
> > Tressa
> >
> > On Mon Feb 16 04:32:17 2015, geeta124 at hotmail.com <javascript:;>
wrote:
> > > Hi John.
> > > In Your article, FSS is defined as the
> > > FSS (n) = 1 - (MSE(n)/MSE(n) ref).
> > >
> > > In another paper's I found it to be little different. It was
related
> > >    to the FBS Fractional Brier Score.
> > >
> > > Can U pls explain be the differences???.
> > > Also I came across SpatialVx package.
> > > Does that also provide all the verification procedures???
> > > Geeta
> > >
> > >
> > > From: geeta124 at hotmail.com <javascript:;>
> > > To: met_help at ucar.edu <javascript:;>
> > > Subject: RE: [rt.rap.ucar.edu #70453] combining nc files
together
> > > Date: Thu, 12 Feb 2015 11:14:17 +0530
> > >
> > >
> > >
> > >
> > > hi John.
> > > I had read ur article that U have sent reg the FSS and the MODE
tools.
> > >    I could not understand the meaning of FORECAST SKILL
associated
> > >    with Uniform FOrECAST. This is what is mentioed in the FSS
section
> > >    of Ur article.
> > > I didnt understand the concept/idea. if U could just explain a
little
> > >    more I can build/read some articles that you would suggest.
> > > Thanks for ur help.
> > > Geeta
> > >
> > > > Subject: Re: [rt.rap.ucar.edu #70453] combining nc files
together
> > > > From: met_help at ucar.edu <javascript:;>
> > > > To: geeta124 at hotmail.com <javascript:;>
> > > > Date: Wed, 11 Feb 2015 10:17:33 -0700
> > > >
> > > > Geeta,
> > > >
> > > > I think your reference to an article must be from a different
email
> > >    chain.
> > > >
> > > > I see that you're asking about "FORECAST skill associated with
the
> > >    Uniform
> > > > forecast".  Are you looking for more references related to
> > >    neighborhood
> > > > verification statistics, like Fractions Skill Score?
> > > >
> > > > Thanks,
> > > > John
> > > >
> > > > On Mon, Feb 9, 2015 at 1:53 AM, Geeta Geeta via RT
> > >    <met_help at ucar.edu <javascript:;>>
> > > > wrote:
> > > >
> > > > >
> > > > > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453 >
> > > > >
> > > > > Hi John.
> > > > > Thanks for the article. It is very informative.
> > > > > I dont know if i should be asking at this forum, the meaning
of
> > >    the
> > > > > "FORECAST skill associated with the Uniform forecast" as you
have
> > >    mentioned
> > > > > in your paper.
> > > > > If U give me some references, it would be great.
> > > > > Geeta
> > > > >
> > > > > > Subject: Re: [rt.rap.ucar.edu #70453] combining nc files
> > >    together
> > > > > > From: met_help at ucar.edu <javascript:;>
> > > > > > To: geeta124 at hotmail.com <javascript:;>
> > > > > > Date: Thu, 5 Feb 2015 10:33:59 -0700
> > > > > >
> > > > > > Geeta,
> > > > > >
> > > > > > You're correct, you can only use the "sum" command of
> > >    pcp_combine for
> > > > > GRIB1
> > > > > > or GRIB2 files...
> > > > > >
> > > > > > But, you can use the "add" command on any gridded data
file
> > >    format that
> > > > > MET
> > > > > > supports.  Adding together 8 NetCDF files with pcp_combine
would
> > >    look
> > > > > > something like this:
> > > > > >
> > > > > > pcp_combine -add \
> > > > > > file1.nc 'name="APCP_03"; level="(*,*)";' \
> > > > > > file2.nc 'name="APCP_03"; level="(*,*)";' \
> > > > > > ...
> > > > > > file8.nc 'name="APCP_03"; level="(*,*)";' \
> > > > > > APCP_24.nc
> > > > > >
> > > > > > It makes for a longer command line, but it is possible to
do
> > >    with
> > > > > > pcp_combine.
> > > > > >
> > > > > > John
> > > > > >
> > > > > >
> > > > > >
> > > > > > On Thu, Feb 5, 2015 at 2:02 AM, Geeta Geeta via RT
> > >    <met_help at ucar.edu <javascript:;>>
> > > > > > wrote:
> > > > > >
> > > > > > >
> > > > > > > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453
> > >    >
> > > > > > >
> > > > > > > Hi John.
> > > > > > > Thanks for wonderful ideas.
> > > > > > > The first one is working. but I have yet to run
grid_stat to
> > >    see if
> > > > > > > everything is working finally. I ll try the ncatted.
> > > > > > >
> > > > > > > To sum up all the nc files (for the times that I want),
I did
> > >    try the
> > > > > > > pcp_combine. But I guess It only works for the GRIB
files.
> > > > > > > I have sent to u the error before. I tried to use MET3.0
for
> > >    that
> > > > > which is
> > > > > > > installed in my HPC.
> > > > > > > I have 5.0 on my personal system. Will try that exercise
in
> > >    this
> > > > > system.
> > > > > > > Thanks again for your help.
> > > > > > > Geeta
> > > > > > >
> > > > > > >
> > > > > > > > Subject: Re: [rt.rap.ucar.edu #70453] combining nc
files
> > >    together
> > > > > > > > From: met_help at ucar.edu <javascript:;>
> > > > > > > > To: geeta124 at hotmail.com <javascript:;>
> > > > > > > > Date: Wed, 4 Feb 2015 11:21:19 -0700
> > > > > > > >
> > > > > > > > Geeta,
> > > > > > > >
> > > > > > > > The trmmbin2nc.R script is set up to only handle the
TRMM
> > >    binary data
> > > > > > > > exactly from that website.  The timing information for
that
> > >    binary
> > > > > data
> > > > > > > is
> > > > > > > > only contained in the file name, and you've renamed
those
> > >    files.  So
> > > > > the
> > > > > > > > script doesn't know how to parse them.
> > > > > > > >
> > > > > > > > Here's 2 options:
> > > > > > > > (1) Rename that file using the "daily" file naming
> > >    conventions:
> > > > > > > >    cp Obs22apr2011.bin 3B42_daily.2011.04.22.7.bin
> > > > > > > >    Rscript 3B42_daily.2011.04.22.7.bin
> > >    3B42_daily.2011.04.22.7.nc
> > > > > > > >
> > > > > > > > That will produce output but it'll assume the
precipitation
> > >    is
> > > > > > > accumulated
> > > > > > > > for 24-hours from 20110422 00Z to 20110423 00Z.  If
the
> > >    times should
> > > > > be
> > > > > > > > something different you could... edit the Rscript to
use the
> > >    times
> > > > > you
> > > > > > > > want... or use the "ncatted" tool to modify the timing
> > >    information
> > > > > listed
> > > > > > > > in the output NetCDF file.
> > > > > > > >
> > > > > > > > (2) Or, as we've discussed in the past, you could run
each
> > >    of the
> > > > > 3-hour
> > > > > > > > files through the trmmbin2nc.R script and write out
NetCDF
> > >    files.
> > > > > Then
> > > > > > > run
> > > > > > > > those 3-hourly NetCDF files through pcp_combine to add
them
> > >    up.
> > > > > > > >
> > > > > > > > Thanks,
> > > > > > > > John
> > > > > > > >
> > > > > > > >
> > > > > > > > On Sun, Feb 1, 2015 at 11:27 PM, Geeta Geeta via RT <
> > > > > met_help at ucar.edu <javascript:;>>
> > > > > > > > wrote:
> > > > > > > >
> > > > > > > > >
> > > > > > > > > <URL:
> > >    https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453 >
> > > > > > > > >
> > > > > > > > > Hi John.
> > > > > > > > > This is an old Ticket. Kindly sort this issue too.
> > > > > > > > > I was able to sum up all the 3 hourly TRMM files and
then
> > >    convert
> > > > > the
> > > > > > > > > final file into One called Obs22apr2011.bin.
> > > > > > > > > I had used Grads for summing up all the 8 files. and
now I
> > >    am using
> > > > > > > the R
> > > > > > > > > script for
> > > > > > > > > converting into NC.
> > > > > > > > > But I got the error.
> > > > > > > > > aditya at agniilap:~/geeta/installs/met/RUN_MET-
22apr2011$
> > >    Rscript
> > > > > > > > > ../trmm_to_nc/trmmbin2nc_mod.R Obs22apr2011.bin
> > >    Obs22apr2011.nc
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > ERROR: Can't figure out the accumulation interval!I
am
> > >    sending you
> > > > > the
> > > > > > > > > data that I converted using Grads.
> > > > > > > > > Geeta
> > > > > > > > >
> > > > > > > > > > Subject: Re: [rt.rap.ucar.edu #70453] combining nc
files
> > > > > together
> > > > > > > > > > From: met_help at ucar.edu <javascript:;>
> > > > > > > > > > To: geeta124 at hotmail.com <javascript:;>
> > > > > > > > > > Date: Fri, 30 Jan 2015 11:04:18 -0700
> > > > > > > > > >
> > > > > > > > > > Geeta,
> > > > > > > > > >
> > > > > > > > > > I don't have time to adapt that Rscript for your
use
> > >    with
> > > > > Grid-Stat.
> > > > > > > > > > However, we did do something very similar for a
previous
> > > > > project.  I
> > > > > > > have
> > > > > > > > > > attached an Rscript named "fss_quilt_plot.R" you
could
> > >    easily
> > > > > adapt
> > > > > > > to
> > > > > > > > > > create a quilt plot for your data.  I've also
attached a
> > >    copy of
> > > > > the
> > > > > > > > > paper
> > > > > > > > > > for which this script was used.  Please look at
figure
> > >    7.
> > > > > > > > > >
> > > > > > > > > > Thanks,
> > > > > > > > > > John
> > > > > > > > > >
> > > > > > > > > > On Fri, Jan 30, 2015 at 1:03 AM, Geeta Geeta via
RT <
> > > > > > > met_help at ucar.edu <javascript:;>>
> > > > > > > > > > wrote:
> > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > <URL:
> > >    https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453
> > > > > >
> > > > > > > > > > >
> > > > > > > > > > > Hi John.
> > > > > > > > > > > I changed different widths in the configuration
file.
> > > > > > > (Width=1,3,5,,7
> > > > > > > > > etc).
> > > > > > > > > > >
> > > > > > > > > > > // Neighborhood methods
> > > > > > > > > > > //
> > > > > > > > > > > nbrhd = {
> > > > > > > > > > >    vld_thresh = 1.0;
> > > > > > > > > > >    width      = [ 7 ];
> > > > > > > > > > >    cov_thresh = [ >=0.5 ];
> > > > > > > > > > > }
> > > > > > > > > > > and got various outputs (for different widths)
which
> > >    are in
> > > > > > > different
> > > > > > > > > > > directories.
> > > > > > > > > > > Now I saw the R script on the website which is
> > >    probably
> > > > > > > exclusively for
> > > > > > > > > > > the MODE TOOL only.
> > > > > > > > > > > Now my question is how to make the quilt plot
for the
> > >    GRid stat
> > > > > > > > > tool???.
> > > > > > > > > > > Sorry I m not familiar with R  now.
> > > > > > > > > > > Pls help.
> > > > > > > > > > > Geeta.
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > From: geeta124 at hotmail.com <javascript:;>
> > > > > > > > > > > To: met_help at ucar.edu <javascript:;>
> > > > > > > > > > > Subject: RE: [rt.rap.ucar.edu #70453] combining
nc
> > >    files
> > > > > together
> > > > > > > > > > > Date: Thu, 29 Jan 2015 17:05:25 +0530
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > Hi John.
> > > > > > > > > > > So I was able to sum up all the 3 hourly TRMM
files
> > >    and then
> > > > > > > convert
> > > > > > > > > the
> > > > > > > > > > > final file into One called Obs22apr2011.bin.
> > > > > > > > > > > I have done that using Grads and now I am using
the R
> > >    script
> > > > > for
> > > > > > > > > > > converting into NC.
> > > > > > > > > > > But I got the error.
> > > > > > > > > > > aditya at agniilap:~/geeta/installs/met/RUN_MET-
> > >    22apr2011$
> > > > > Rscript
> > > > > > > > > > > ../trmm_to_nc/trmmbin2nc_mod.R Obs22apr2011.bin
> > >    Obs22apr2011.nc
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > ERROR: Can't figure out the accumulation
interval!
> > > > > > > > > > >
> > > > > > > > > > > I am sending you the data files and the R script
(I
> > >    changed the
> > > > > > > > > domain).
> > > > > > > > > > > The data is plotted fine. Also pls tell me about
the
> > >    ncview
> > > > > > > questions
> > > > > > > > > that
> > > > > > > > > > > I was asking. reg the plotting of MPR's
> > > > > > > > > > > Kindly suggest.
> > > > > > > > > > > Geeta
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > > Subject: Re: [rt.rap.ucar.edu #70453]
combining nc
> > >    files
> > > > > > > together
> > > > > > > > > > > > From: met_help at ucar.edu <javascript:;>
> > > > > > > > > > > > To: geeta124 at hotmail.com <javascript:;>
> > > > > > > > > > > > Date: Mon, 26 Jan 2015 09:58:32 -0700
> > > > > > > > > > > >
> > > > > > > > > > > > Geeta,
> > > > > > > > > > > >
> > > > > > > > > > > > On that webpage (
> > > > > > > > > > > >
> > > > >
http://www.dtcenter.org/met/users/downloads/analysis_scripts.php
> > > > > > > ),
> > > > > > > > > > > please
> > > > > > > > > > > > look specifically at the script named
> > >    "mode_quilt_plot.R".
> > > > > > > Here's
> > > > > > > > > the
> > > > > > > > > > > > direct link to that script:
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > >
> > >
>
http://www.dtcenter.org/met/users/downloads/Rscripts/mode_quilt_plot.R
> > > > > > > > > > > >
> > > > > > > > > > > > And here's a direct link to the sample output
that
> > >    script
> > > > > > > creates:
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > >
> > > > > > >
> > > > >
> > >
>
http://www.dtcenter.org/met/users/downloads/Rscripts/SAMPLE_mode_quilts.pdf
> > > > > > > > > > > >
> > > > > > > > > > > > This is an example of using R to make a quilt
plot
> > >    for the
> > > > > > > output of
> > > > > > > > > the
> > > > > > > > > > > > MODE tool.  You might also use a quilt plot to
> > >    display
> > > > > fractions
> > > > > > > > > skill
> > > > > > > > > > > > score from the Grid-Stat tool, if you've run
FSS for
> > >    multiple
> > > > > > > > > thresholds
> > > > > > > > > > > > and neighborhood sizes.
> > > > > > > > > > > >
> > > > > > > > > > > > John
> > > > > > > > > > > >
> > > > > > > > > > > > On Mon, Jan 26, 2015 at 7:28 AM, Geeta Geeta
via RT
> > >    <
> > > > > > > > > met_help at ucar.edu <javascript:;>>
> > > > > > > > > > > > wrote:
> > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > <URL:
> > > > > https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453
> > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > Hi John.
> > > > > > > > > > > > > the link
> > > > > > > > > > >
> > > > >
http://www.dtcenter.org/met/users/downloads/analysis_scripts.php
> > > > > > > > > > > > > has the plots for the cnt statistics.
> > > > > > > > > > > > > I am not familiar with R. I am going thru
the
> > >    plot_cnt.R
> > > > > > > script.
> > > > > > > > > > > > > but I want to know what will be the data
format
> > >    for the
> > > > > Quilt
> > > > > > > plot.
> > > > > > > > > > > > > Do I have to write my own script???.
> > > > > > > > > > > > > Kindly let me know about the data format and
how I
> > >    have to
> > > > > > > modify
> > > > > > > > > the
> > > > > > > > > > > > > above script in order to make the quilt
plot.
> > > > > > > > > > > > > Regards
> > > > > > > > > > > > > Geeta
> > > > > > > > > > > > >
> > > > > > > > > > > > > > Subject: Re: [rt.rap.ucar.edu #70453]
combining
> > >    nc files
> > > > > > > > > together
> > > > > > > > > > > > > > From: met_help at ucar.edu <javascript:;>
> > > > > > > > > > > > > > To: geeta124 at hotmail.com <javascript:;>
> > > > > > > > > > > > > > Date: Fri, 23 Jan 2015 11:09:23 -0700
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Geeta,
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Regarding 3-hourly RF accumulations, if
MET is
> > >    able to
> > > > > read
> > > > > > > those
> > > > > > > > > > > NetCDF
> > > > > > > > > > > > > > files, you can run them through PCP-
Combine to
> > >    "add"
> > > > > them all
> > > > > > > > > > > together.
> > > > > > > > > > > > > > Just use the example PCP_Combine command I
> > >    already sent
> > > > > you
> > > > > > > but
> > > > > > > > > > > modify
> > > > > > > > > > > > > the
> > > > > > > > > > > > > > "name" entry to list the name of the
NetCDF
> > >    variable you
> > > > > > > want to
> > > > > > > > > > > use.  If
> > > > > > > > > > > > > > MET is not able to read them, then it's up
to
> > >    you to
> > > > > figure
> > > > > > > out
> > > > > > > > > how
> > > > > > > > > > > to
> > > > > > > > > > > > > > accumulate them.
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > If you're familiar with R, you could use
the
> > >    "ncdf"
> > > > > library
> > > > > > > in R
> > > > > > > > > to
> > > > > > > > > > > read
> > > > > > > > > > > > > > data from one or more NetCDF files, add
them up,
> > >    and
> > > > > write it
> > > > > > > > > out to
> > > > > > > > > > > a
> > > > > > > > > > > > > new
> > > > > > > > > > > > > > file.  Alternatively, "nco" (NetCDF
Operators)
> > >    provide
> > > > > some
> > > > > > > > > > > capability of
> > > > > > > > > > > > > > doing simple operations on NetCDF files.
You
> > >    might be
> > > > > able
> > > > > > > to
> > > > > > > > > use
> > > > > > > > > > > them.
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Regarding quilt plots, I've only used R to
make
> > >    them in
> > > > > the
> > > > > > > past.
> > > > > > > > > > > > > > Specifically, the "quilt.plot" function in
the R
> > >    package
> > > > > > > named
> > > > > > > > > > > "fields".
> > > > > > > > > > > > > > Please take a look at this website:
> > > > > > > > > > > > > >
> > > > > > > > >
> > >
http://www.dtcenter.org/met/users/downloads/analysis_scripts.php
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > The Rscript named "mode_quilt_plot.R"
provides
> > >    an
> > > > > example of
> > > > > > > > > using R
> > > > > > > > > > > to
> > > > > > > > > > > > > > make quilt plots.  Example output from
that
> > >    script is
> > > > > also
> > > > > > > > > included
> > > > > > > > > > > on
> > > > > > > > > > > > > that
> > > > > > > > > > > > > > page.
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Thanks,
> > > > > > > > > > > > > > John
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > On Fri, Jan 23, 2015 at 4:06 AM, Geeta
Geeta via
> > >    RT <
> > > > > > > > > > > met_help at ucar.edu <javascript:;>>
> > > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > <URL:
> > > > > > > https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453
> > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > Hi John. Your help is needed at every
step.
> > >    Now I want
> > > > > to
> > > > > > > know
> > > > > > > > > > > which
> > > > > > > > > > > > > > > software can be used for making the
QUILT plot
> > > > > (intensity
> > > > > > > and
> > > > > > > > > > > spatial
> > > > > > > > > > > > > > > distribution) plot. Can It be done in
using
> > >    MET5.0. How
> > > > > > > Can I
> > > > > > > > > plot
> > > > > > > > > > > the
> > > > > > > > > > > > > > > point data that I used in
MET5.0???KIndly
> > >    guide me.
> > > > > Also
> > > > > > > pls
> > > > > > > > > tell
> > > > > > > > > > > me
> > > > > > > > > > > > > if u
> > > > > > > > > > > > > > > can figure out the issue of 3hrly RF
> > >    accumulations if
> > > > > the
> > > > > > > files
> > > > > > > > > > > are in
> > > > > > > > > > > > > the
> > > > > > > > > > > > > > > NETCDF format. Geeta
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > From: geeta124 at hotmail.com
<javascript:;>
> > > > > > > > > > > > > > > To: met_help at ucar.edu <javascript:;>
> > > > > > > > > > > > > > > Subject: RE: [rt.rap.ucar.edu #70453]
> > >    combining nc
> > > > > files
> > > > > > > > > together
> > > > > > > > > > > > > > > Date: Thu, 22 Jan 2015 16:30:34 +0530
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > thanks John.  the pcp combine tool uses
only
> > >    GRIB1
> > > > > files.
> > > > > > > these
> > > > > > > > > > > were
> > > > > > > > > > > > > > > netcdf files (attaching one).I had
downloaded
> > >    the NC
> > > > > files
> > > > > > > from
> > > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > >
> > > > > > >
> > > > > http://mirador.gsfc.nasa.gov/cgi-
> > >    bin/mirador/granlist.pl?page=1&location=(-90,-
> > >
>
180),(90,180)&dataSet=TRMM_3B42&version=007&allversion=007&startTime=2011-
> > >    04-22T00:00:01Z&endTime=2011-04-
> > >    22T23:59:59Z&keyword=TRMM_3B42&longname=TRMM%203-
> > >
>
Hourly%200.25%20deg.%20TRMM%20and%20Others%20Rainfall%20Estimate%20Data&CGISESSID=02499c2107ddfb60a3e46d6b99df3d79&prodpg=
> http://mirador.gsfc.nasa.gov/collections/TRMM_3B42__007.shtmlI
> > > > > > > > > > > > > > > got following error. bash-3.2$
> > >    ./run_pcptool.sh
> > > > > Running PCP
> > > > > > > > > > > > > toolPerforming
> > > > > > > > > > > > > > > addition command for 2 files.Reading
input
> > >    file:
> > > > > > > > > > > 3B42.20110422.12.7.nc
> > > > > > > > > > > > > > > GribFile::skip_header() -> can't find
"GRIB"
> > >    magic
> > > > > cookie
> > > > > > > > >  ERROR:
> > > > > > > > > > > > > > > get_field() -> can't open grib file:
> > > > > 3B42.20110422.12.7.nc
> > > > > > > > > > > > > > > Following is my script--------!/bin/sh
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >              echo " Running PCP
> > > > > > > > > > > > > > >
tool"~/wrf3/utils/met/METv3.0/bin/pcp_combine
> > >    -add
> > > > > > > > > > > > > 3B42.20110422.12.7.nc
> > > > > > > > > > > > > > > 03 3B42.20110422.15.7.nc 03 myoutput.nc
> > > > > > > > > > > > > > > Kindly suggest.
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > the second thing I was thinking to
download
> > >    the TRMM
> > > > > data
> > > > > > > from
> > > > > > > > > > > thelink
> > > > > > > > > > > > > at
> > > > > > > > > > > > > > > DTC website and then converying the 3
hourly
> > >    bins to
> > > > > NC.
> > > > > > > > > > > > > > > 2.2 MBftp://
> > > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > >
> > > > > > >
> > > > >
> > >
>
disc2.nascom.nasa.gov/data/TRMM/Gridded/3B42_V7/201104/3B42.110422.15z.7.precipitation.bin
> > > > > > > > > > > > > > > But my problem will be to ACCUMULATE
them. I
> > >    need to
> > > > > > > verify the
> > > > > > > > > > > model
> > > > > > > > > > > > > data
> > > > > > > > > > > > > > > starting 06 UTC of day1 to 03UTC of
DAY2. I
> > >    mean how
> > > > > do I
> > > > > > > > > combine
> > > > > > > > > > > all
> > > > > > > > > > > > > the
> > > > > > > > > > > > > > > NC  files together. Kindly suggest
> > > > > > > > > > > > > > > > Subject: Re: [rt.rap.ucar.edu #70453]
> > >    combining nc
> > > > > files
> > > > > > > > > > > together
> > > > > > > > > > > > > > > > From: met_help at ucar.edu <javascript:;>
> > > > > > > > > > > > > > > > To: geeta124 at hotmail.com
<javascript:;>
> > > > > > > > > > > > > > > > Date: Wed, 21 Jan 2015 10:45:12 -0700
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > Geeta,
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > I'm assuming the variable in the
NetCDF
> > >    files is
> > > > > named
> > > > > > > > > > > "APCP_03".  If
> > > > > > > > > > > > > > > not,
> > > > > > > > > > > > > > > > just switch in the actual name.  You
can run
> > >    the
> > > > > > > following
> > > > > > > > > > > > > pcp_combine
> > > > > > > > > > > > > > > -add
> > > > > > > > > > > > > > > > command:
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > pcp_combine -add \
> > > > > > > > > > > > > > > >    3B42.20110422.09.7.nc
'name="APCP_03";
> > > > > > > level="(*,*)";' \
> > > > > > > > > > > > > > > >    3B42.20110422.12.7.nc
'name="APCP_03";
> > > > > > > level="(*,*)";' \
> > > > > > > > > > > > > > > >    3B42.20110422.15.7.nc
'name="APCP_03";
> > > > > > > level="(*,*)";' \
> > > > > > > > > > > > > > > >    3B42.20110422.18.7.nc
'name="APCP_03";
> > > > > > > level="(*,*)";' \
> > > > > > > > > > > > > > > >    3B42.20110422.21.7.nc
'name="APCP_03";
> > > > > > > level="(*,*)";' \
> > > > > > > > > > > > > > > >    3B42.20110423.00.7.nc
'name="APCP_03";
> > > > > > > level="(*,*)";' \
> > > > > > > > > > > > > > > >    3B42.20110423.03.7.nc
'name="APCP_03";
> > > > > > > level="(*,*)";' \
> > > > > > > > > > > > > > > >    3B42.20110423.06.7.nc
'name="APCP_03";
> > > > > > > level="(*,*)";' \
> > > > > > > > > > > > > > > >    3B42.20110423.06.7_APCP_24.nc
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > The last file listed is just the
output file
> > >    name I
> > > > > > > chose.
> > > > > > > > > But
> > > > > > > > > > > you
> > > > > > > > > > > > > can
> > > > > > > > > > > > > > > > name it whatever you'd like.
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > John
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > On Wed, Jan 21, 2015 at 4:02 AM, Geeta
Geeta
> > >    via RT <
> > > > > > > > > > > > > met_help at ucar.edu <javascript:;>>
> > > > > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > Wed Jan 21 04:02:41 2015: Request
70453
> > >    was acted
> > > > > upon.
> > > > > > > > > > > > > > > > > Transaction: Ticket created by
> > > > > geeta124 at hotmail.com <javascript:;>
> > > > > > > > > > > > > > > > >        Queue: met_help
> > > > > > > > > > > > > > > > >      Subject: combining nc files
together
> > > > > > > > > > > > > > > > >        Owner: Nobody
> > > > > > > > > > > > > > > > >   Requestors: geeta124 at hotmail.com
> <javascript:;>
> > > > > > > > > > > > > > > > >       Status: new
> > > > > > > > > > > > > > > > >  Ticket <URL:
> > > > > > > > > > > > >
> > >    https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > Hi John.
> > > > > > > > > > > > > > > > > Sorry to bother you again n again.
But I
> > >    have no
> > > > > > > choice. I
> > > > > > > > > > > want to
> > > > > > > > > > > > > know
> > > > > > > > > > > > > > > > > the followingI have 8 nc files.
bash-3.2$
> > >    ls
> > > > > -ltotal
> > > > > > > > > > > > > 216336-rw-r--r--
> > > > > > > > > > > > > > >   1
> > > > > > > > > > > > > > > > > model    staff      13841488 Jan 21
11:24
> > > > > > > > > > > > > > > 3B42.20110422.06.7.nc-rw-r--r--
> > > > > > > > > > > > > > > > >   1 model    staff      13841488 Jan
21
> > >    11:27
> > > > > > > > > > > > > > > > > 3B42.20110422.09.7.nc-rw-r--r--    1
model
> > >    staff
> > > > > > > > > > > 13841492
> > > > > > > > > > > > > Jan
> > > > > > > > > > > > > > > 21
> > > > > > > > > > > > > > > > > 14:01 3B42.20110422.12.7.nc-rw-r--
r--    1
> > >    model
> > > > > > > staff
> > > > > > > > > > > > > > > 13841492 Jan
> > > > > > > > > > > > > > > > > 21 13:16 3B42.20110422.15.7.nc-rw-
r--r--
> > >    1 model
> > > > > > > > > staff
> > > > > > > > > > > > > > > 13841492
> > > > > > > > > > > > > > > > > Jan 21 14:51 3B42.20110422.18.7.nc-
rw-r--
> > >    r--    1
> > > > > model
> > > > > > > > > > > staff
> > > > > > > > > > > > > > > > > 13841492 Jan 21 13:21
> > > > > 3B42.20110422.21.7.nc-rw-r--r--
> > > > > > >   1
> > > > > > > > > > > model
> > > > > > > > > > > > > > > staff
> > > > > > > > > > > > > > > > >     13841488 Jan 21 13:22
> > > > > > > 3B42.20110423.00.7.nc-rw-r--r--
> > > > > > > > >   1
> > > > > > > > > > > > > model
> > > > > > > > > > > > > > > > > staff      13841488 Jan 21 13:50
> > > > > > > > > > > 3B42.20110423.03.7.ncbash-3.2$ pwd
> > > > > > > > > > > > > > > > > I need to make ONE 24 hour RF
accumulated
> > >    file
> > > > > starting
> > > > > > > > > 06UTC
> > > > > > > > > > > of
> > > > > > > > > > > > > > > > > 22.04.2011 - 03UTC of 23.04.2011.
How do I
> > >    do
> > > > > that???
> > > > > > > > > > > > > > > > > Geeta
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > > >
> > > >
> >
> >
> >
>
>

------------------------------------------------
Subject: combining nc files together
From: Geeta Geeta
Time: Thu Feb 19 08:26:26 2015

Hi John. I want to know, Can I make the Figure 6 that is there in Your
paper. I mean the Forecast Grids or the OBSERVATION grids where the
thresholds increases a specified value.
I wish to calculate the FSS manuually so that I absorb the idea.


Geeta

> Subject: Re: [rt.rap.ucar.edu #70453] combining nc files together
> From: met_help at ucar.edu
> To: geeta124 at hotmail.com
> Date: Thu, 19 Feb 2015 07:38:56 -0700
>
> Geeta,
>
> No, it does not.  It is in our list of tasks for future development,
but
> isn't in there yet.  You can only get neighborhood output from grid-
stat,
> not point-stat.
>
> Thanks
> John
>
> On Thursday, February 19, 2015, Geeta Geeta via RT
<met_help at ucar.edu>
> wrote:
>
> >
> > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453 >
> >
> > Hi Tressa and John.
> > I want to know if MET5.0 has neighborhood methods defined for
point
> > observations???.
> > If Yes, Pls guide me with this.
> > Geeta
> >
> >
> > > Subject: [rt.rap.ucar.edu #70453] combining nc files together
> > > From: met_help at ucar.edu <javascript:;>
> > > To: geeta124 at hotmail.com <javascript:;>
> > > Date: Tue, 17 Feb 2015 13:47:07 -0700
> > >
> > > Hi Geeta,
> > >
> > > The paper we sent was not A reference, it was THE reference, the
> > original published work on the FSS. Of course, algebra allows
equations to
> > be expressed in many equivalent formats. Feel free to use
whichever form
> > you like.
> > >
> > > The Spatial Vx package has many verification methods, but it is
> > relatively new and untested. I'm sure you can reference that
package's
> > documentation for full details of the available methods.
> > >
> > > Happy verifying,
> > >
> > > Tressa
> > >
> > > On Mon Feb 16 04:32:17 2015, geeta124 at hotmail.com <javascript:;>
wrote:
> > > > Hi John.
> > > > In Your article, FSS is defined as the
> > > > FSS (n) = 1 - (MSE(n)/MSE(n) ref).
> > > >
> > > > In another paper's I found it to be little different. It was
related
> > > >    to the FBS Fractional Brier Score.
> > > >
> > > > Can U pls explain be the differences???.
> > > > Also I came across SpatialVx package.
> > > > Does that also provide all the verification procedures???
> > > > Geeta
> > > >
> > > >
> > > > From: geeta124 at hotmail.com <javascript:;>
> > > > To: met_help at ucar.edu <javascript:;>
> > > > Subject: RE: [rt.rap.ucar.edu #70453] combining nc files
together
> > > > Date: Thu, 12 Feb 2015 11:14:17 +0530
> > > >
> > > >
> > > >
> > > >
> > > > hi John.
> > > > I had read ur article that U have sent reg the FSS and the
MODE tools.
> > > >    I could not understand the meaning of FORECAST SKILL
associated
> > > >    with Uniform FOrECAST. This is what is mentioed in the FSS
section
> > > >    of Ur article.
> > > > I didnt understand the concept/idea. if U could just explain a
little
> > > >    more I can build/read some articles that you would suggest.
> > > > Thanks for ur help.
> > > > Geeta
> > > >
> > > > > Subject: Re: [rt.rap.ucar.edu #70453] combining nc files
together
> > > > > From: met_help at ucar.edu <javascript:;>
> > > > > To: geeta124 at hotmail.com <javascript:;>
> > > > > Date: Wed, 11 Feb 2015 10:17:33 -0700
> > > > >
> > > > > Geeta,
> > > > >
> > > > > I think your reference to an article must be from a
different email
> > > >    chain.
> > > > >
> > > > > I see that you're asking about "FORECAST skill associated
with the
> > > >    Uniform
> > > > > forecast".  Are you looking for more references related to
> > > >    neighborhood
> > > > > verification statistics, like Fractions Skill Score?
> > > > >
> > > > > Thanks,
> > > > > John
> > > > >
> > > > > On Mon, Feb 9, 2015 at 1:53 AM, Geeta Geeta via RT
> > > >    <met_help at ucar.edu <javascript:;>>
> > > > > wrote:
> > > > >
> > > > > >
> > > > > > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453 >
> > > > > >
> > > > > > Hi John.
> > > > > > Thanks for the article. It is very informative.
> > > > > > I dont know if i should be asking at this forum, the
meaning of
> > > >    the
> > > > > > "FORECAST skill associated with the Uniform forecast" as
you have
> > > >    mentioned
> > > > > > in your paper.
> > > > > > If U give me some references, it would be great.
> > > > > > Geeta
> > > > > >
> > > > > > > Subject: Re: [rt.rap.ucar.edu #70453] combining nc files
> > > >    together
> > > > > > > From: met_help at ucar.edu <javascript:;>
> > > > > > > To: geeta124 at hotmail.com <javascript:;>
> > > > > > > Date: Thu, 5 Feb 2015 10:33:59 -0700
> > > > > > >
> > > > > > > Geeta,
> > > > > > >
> > > > > > > You're correct, you can only use the "sum" command of
> > > >    pcp_combine for
> > > > > > GRIB1
> > > > > > > or GRIB2 files...
> > > > > > >
> > > > > > > But, you can use the "add" command on any gridded data
file
> > > >    format that
> > > > > > MET
> > > > > > > supports.  Adding together 8 NetCDF files with
pcp_combine would
> > > >    look
> > > > > > > something like this:
> > > > > > >
> > > > > > > pcp_combine -add \
> > > > > > > file1.nc 'name="APCP_03"; level="(*,*)";' \
> > > > > > > file2.nc 'name="APCP_03"; level="(*,*)";' \
> > > > > > > ...
> > > > > > > file8.nc 'name="APCP_03"; level="(*,*)";' \
> > > > > > > APCP_24.nc
> > > > > > >
> > > > > > > It makes for a longer command line, but it is possible
to do
> > > >    with
> > > > > > > pcp_combine.
> > > > > > >
> > > > > > > John
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > On Thu, Feb 5, 2015 at 2:02 AM, Geeta Geeta via RT
> > > >    <met_help at ucar.edu <javascript:;>>
> > > > > > > wrote:
> > > > > > >
> > > > > > > >
> > > > > > > > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453
> > > >    >
> > > > > > > >
> > > > > > > > Hi John.
> > > > > > > > Thanks for wonderful ideas.
> > > > > > > > The first one is working. but I have yet to run
grid_stat to
> > > >    see if
> > > > > > > > everything is working finally. I ll try the ncatted.
> > > > > > > >
> > > > > > > > To sum up all the nc files (for the times that I
want), I did
> > > >    try the
> > > > > > > > pcp_combine. But I guess It only works for the GRIB
files.
> > > > > > > > I have sent to u the error before. I tried to use
MET3.0 for
> > > >    that
> > > > > > which is
> > > > > > > > installed in my HPC.
> > > > > > > > I have 5.0 on my personal system. Will try that
exercise in
> > > >    this
> > > > > > system.
> > > > > > > > Thanks again for your help.
> > > > > > > > Geeta
> > > > > > > >
> > > > > > > >
> > > > > > > > > Subject: Re: [rt.rap.ucar.edu #70453] combining nc
files
> > > >    together
> > > > > > > > > From: met_help at ucar.edu <javascript:;>
> > > > > > > > > To: geeta124 at hotmail.com <javascript:;>
> > > > > > > > > Date: Wed, 4 Feb 2015 11:21:19 -0700
> > > > > > > > >
> > > > > > > > > Geeta,
> > > > > > > > >
> > > > > > > > > The trmmbin2nc.R script is set up to only handle the
TRMM
> > > >    binary data
> > > > > > > > > exactly from that website.  The timing information
for that
> > > >    binary
> > > > > > data
> > > > > > > > is
> > > > > > > > > only contained in the file name, and you've renamed
those
> > > >    files.  So
> > > > > > the
> > > > > > > > > script doesn't know how to parse them.
> > > > > > > > >
> > > > > > > > > Here's 2 options:
> > > > > > > > > (1) Rename that file using the "daily" file naming
> > > >    conventions:
> > > > > > > > >    cp Obs22apr2011.bin 3B42_daily.2011.04.22.7.bin
> > > > > > > > >    Rscript 3B42_daily.2011.04.22.7.bin
> > > >    3B42_daily.2011.04.22.7.nc
> > > > > > > > >
> > > > > > > > > That will produce output but it'll assume the
precipitation
> > > >    is
> > > > > > > > accumulated
> > > > > > > > > for 24-hours from 20110422 00Z to 20110423 00Z.  If
the
> > > >    times should
> > > > > > be
> > > > > > > > > something different you could... edit the Rscript to
use the
> > > >    times
> > > > > > you
> > > > > > > > > want... or use the "ncatted" tool to modify the
timing
> > > >    information
> > > > > > listed
> > > > > > > > > in the output NetCDF file.
> > > > > > > > >
> > > > > > > > > (2) Or, as we've discussed in the past, you could
run each
> > > >    of the
> > > > > > 3-hour
> > > > > > > > > files through the trmmbin2nc.R script and write out
NetCDF
> > > >    files.
> > > > > > Then
> > > > > > > > run
> > > > > > > > > those 3-hourly NetCDF files through pcp_combine to
add them
> > > >    up.
> > > > > > > > >
> > > > > > > > > Thanks,
> > > > > > > > > John
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > On Sun, Feb 1, 2015 at 11:27 PM, Geeta Geeta via RT
<
> > > > > > met_help at ucar.edu <javascript:;>>
> > > > > > > > > wrote:
> > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > <URL:
> > > >    https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453 >
> > > > > > > > > >
> > > > > > > > > > Hi John.
> > > > > > > > > > This is an old Ticket. Kindly sort this issue too.
> > > > > > > > > > I was able to sum up all the 3 hourly TRMM files
and then
> > > >    convert
> > > > > > the
> > > > > > > > > > final file into One called Obs22apr2011.bin.
> > > > > > > > > > I had used Grads for summing up all the 8 files.
and now I
> > > >    am using
> > > > > > > > the R
> > > > > > > > > > script for
> > > > > > > > > > converting into NC.
> > > > > > > > > > But I got the error.
> > > > > > > > > > aditya at agniilap:~/geeta/installs/met/RUN_MET-
22apr2011$
> > > >    Rscript
> > > > > > > > > > ../trmm_to_nc/trmmbin2nc_mod.R Obs22apr2011.bin
> > > >    Obs22apr2011.nc
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > ERROR: Can't figure out the accumulation
interval!I am
> > > >    sending you
> > > > > > the
> > > > > > > > > > data that I converted using Grads.
> > > > > > > > > > Geeta
> > > > > > > > > >
> > > > > > > > > > > Subject: Re: [rt.rap.ucar.edu #70453] combining
nc files
> > > > > > together
> > > > > > > > > > > From: met_help at ucar.edu <javascript:;>
> > > > > > > > > > > To: geeta124 at hotmail.com <javascript:;>
> > > > > > > > > > > Date: Fri, 30 Jan 2015 11:04:18 -0700
> > > > > > > > > > >
> > > > > > > > > > > Geeta,
> > > > > > > > > > >
> > > > > > > > > > > I don't have time to adapt that Rscript for your
use
> > > >    with
> > > > > > Grid-Stat.
> > > > > > > > > > > However, we did do something very similar for a
previous
> > > > > > project.  I
> > > > > > > > have
> > > > > > > > > > > attached an Rscript named "fss_quilt_plot.R" you
could
> > > >    easily
> > > > > > adapt
> > > > > > > > to
> > > > > > > > > > > create a quilt plot for your data.  I've also
attached a
> > > >    copy of
> > > > > > the
> > > > > > > > > > paper
> > > > > > > > > > > for which this script was used.  Please look at
figure
> > > >    7.
> > > > > > > > > > >
> > > > > > > > > > > Thanks,
> > > > > > > > > > > John
> > > > > > > > > > >
> > > > > > > > > > > On Fri, Jan 30, 2015 at 1:03 AM, Geeta Geeta via
RT <
> > > > > > > > met_help at ucar.edu <javascript:;>>
> > > > > > > > > > > wrote:
> > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > <URL:
> > > >    https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453
> > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > Hi John.
> > > > > > > > > > > > I changed different widths in the
configuration file.
> > > > > > > > (Width=1,3,5,,7
> > > > > > > > > > etc).
> > > > > > > > > > > >
> > > > > > > > > > > > // Neighborhood methods
> > > > > > > > > > > > //
> > > > > > > > > > > > nbrhd = {
> > > > > > > > > > > >    vld_thresh = 1.0;
> > > > > > > > > > > >    width      = [ 7 ];
> > > > > > > > > > > >    cov_thresh = [ >=0.5 ];
> > > > > > > > > > > > }
> > > > > > > > > > > > and got various outputs (for different widths)
which
> > > >    are in
> > > > > > > > different
> > > > > > > > > > > > directories.
> > > > > > > > > > > > Now I saw the R script on the website which is
> > > >    probably
> > > > > > > > exclusively for
> > > > > > > > > > > > the MODE TOOL only.
> > > > > > > > > > > > Now my question is how to make the quilt plot
for the
> > > >    GRid stat
> > > > > > > > > > tool???.
> > > > > > > > > > > > Sorry I m not familiar with R  now.
> > > > > > > > > > > > Pls help.
> > > > > > > > > > > > Geeta.
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > From: geeta124 at hotmail.com <javascript:;>
> > > > > > > > > > > > To: met_help at ucar.edu <javascript:;>
> > > > > > > > > > > > Subject: RE: [rt.rap.ucar.edu #70453]
combining nc
> > > >    files
> > > > > > together
> > > > > > > > > > > > Date: Thu, 29 Jan 2015 17:05:25 +0530
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > Hi John.
> > > > > > > > > > > > So I was able to sum up all the 3 hourly TRMM
files
> > > >    and then
> > > > > > > > convert
> > > > > > > > > > the
> > > > > > > > > > > > final file into One called Obs22apr2011.bin.
> > > > > > > > > > > > I have done that using Grads and now I am
using the R
> > > >    script
> > > > > > for
> > > > > > > > > > > > converting into NC.
> > > > > > > > > > > > But I got the error.
> > > > > > > > > > > > aditya at agniilap:~/geeta/installs/met/RUN_MET-
> > > >    22apr2011$
> > > > > > Rscript
> > > > > > > > > > > > ../trmm_to_nc/trmmbin2nc_mod.R
Obs22apr2011.bin
> > > >    Obs22apr2011.nc
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > ERROR: Can't figure out the accumulation
interval!
> > > > > > > > > > > >
> > > > > > > > > > > > I am sending you the data files and the R
script (I
> > > >    changed the
> > > > > > > > > > domain).
> > > > > > > > > > > > The data is plotted fine. Also pls tell me
about the
> > > >    ncview
> > > > > > > > questions
> > > > > > > > > > that
> > > > > > > > > > > > I was asking. reg the plotting of MPR's
> > > > > > > > > > > > Kindly suggest.
> > > > > > > > > > > > Geeta
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > > Subject: Re: [rt.rap.ucar.edu #70453]
combining nc
> > > >    files
> > > > > > > > together
> > > > > > > > > > > > > From: met_help at ucar.edu <javascript:;>
> > > > > > > > > > > > > To: geeta124 at hotmail.com <javascript:;>
> > > > > > > > > > > > > Date: Mon, 26 Jan 2015 09:58:32 -0700
> > > > > > > > > > > > >
> > > > > > > > > > > > > Geeta,
> > > > > > > > > > > > >
> > > > > > > > > > > > > On that webpage (
> > > > > > > > > > > > >
> > > > > >
http://www.dtcenter.org/met/users/downloads/analysis_scripts.php
> > > > > > > > ),
> > > > > > > > > > > > please
> > > > > > > > > > > > > look specifically at the script named
> > > >    "mode_quilt_plot.R".
> > > > > > > > Here's
> > > > > > > > > > the
> > > > > > > > > > > > > direct link to that script:
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > >
> > > >
> >
http://www.dtcenter.org/met/users/downloads/Rscripts/mode_quilt_plot.R
> > > > > > > > > > > > >
> > > > > > > > > > > > > And here's a direct link to the sample
output that
> > > >    script
> > > > > > > > creates:
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > >
> > > > > > > >
> > > > > >
> > > >
> >
http://www.dtcenter.org/met/users/downloads/Rscripts/SAMPLE_mode_quilts.pdf
> > > > > > > > > > > > >
> > > > > > > > > > > > > This is an example of using R to make a
quilt plot
> > > >    for the
> > > > > > > > output of
> > > > > > > > > > the
> > > > > > > > > > > > > MODE tool.  You might also use a quilt plot
to
> > > >    display
> > > > > > fractions
> > > > > > > > > > skill
> > > > > > > > > > > > > score from the Grid-Stat tool, if you've run
FSS for
> > > >    multiple
> > > > > > > > > > thresholds
> > > > > > > > > > > > > and neighborhood sizes.
> > > > > > > > > > > > >
> > > > > > > > > > > > > John
> > > > > > > > > > > > >
> > > > > > > > > > > > > On Mon, Jan 26, 2015 at 7:28 AM, Geeta Geeta
via RT
> > > >    <
> > > > > > > > > > met_help at ucar.edu <javascript:;>>
> > > > > > > > > > > > > wrote:
> > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > <URL:
> > > > > > https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453
> > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Hi John.
> > > > > > > > > > > > > > the link
> > > > > > > > > > > >
> > > > > >
http://www.dtcenter.org/met/users/downloads/analysis_scripts.php
> > > > > > > > > > > > > > has the plots for the cnt statistics.
> > > > > > > > > > > > > > I am not familiar with R. I am going thru
the
> > > >    plot_cnt.R
> > > > > > > > script.
> > > > > > > > > > > > > > but I want to know what will be the data
format
> > > >    for the
> > > > > > Quilt
> > > > > > > > plot.
> > > > > > > > > > > > > > Do I have to write my own script???.
> > > > > > > > > > > > > > Kindly let me know about the data format
and how I
> > > >    have to
> > > > > > > > modify
> > > > > > > > > > the
> > > > > > > > > > > > > > above script in order to make the quilt
plot.
> > > > > > > > > > > > > > Regards
> > > > > > > > > > > > > > Geeta
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > > Subject: Re: [rt.rap.ucar.edu #70453]
combining
> > > >    nc files
> > > > > > > > > > together
> > > > > > > > > > > > > > > From: met_help at ucar.edu <javascript:;>
> > > > > > > > > > > > > > > To: geeta124 at hotmail.com <javascript:;>
> > > > > > > > > > > > > > > Date: Fri, 23 Jan 2015 11:09:23 -0700
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > Geeta,
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > Regarding 3-hourly RF accumulations, if
MET is
> > > >    able to
> > > > > > read
> > > > > > > > those
> > > > > > > > > > > > NetCDF
> > > > > > > > > > > > > > > files, you can run them through PCP-
Combine to
> > > >    "add"
> > > > > > them all
> > > > > > > > > > > > together.
> > > > > > > > > > > > > > > Just use the example PCP_Combine command
I
> > > >    already sent
> > > > > > you
> > > > > > > > but
> > > > > > > > > > > > modify
> > > > > > > > > > > > > > the
> > > > > > > > > > > > > > > "name" entry to list the name of the
NetCDF
> > > >    variable you
> > > > > > > > want to
> > > > > > > > > > > > use.  If
> > > > > > > > > > > > > > > MET is not able to read them, then it's
up to
> > > >    you to
> > > > > > figure
> > > > > > > > out
> > > > > > > > > > how
> > > > > > > > > > > > to
> > > > > > > > > > > > > > > accumulate them.
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > If you're familiar with R, you could use
the
> > > >    "ncdf"
> > > > > > library
> > > > > > > > in R
> > > > > > > > > > to
> > > > > > > > > > > > read
> > > > > > > > > > > > > > > data from one or more NetCDF files, add
them up,
> > > >    and
> > > > > > write it
> > > > > > > > > > out to
> > > > > > > > > > > > a
> > > > > > > > > > > > > > new
> > > > > > > > > > > > > > > file.  Alternatively, "nco" (NetCDF
Operators)
> > > >    provide
> > > > > > some
> > > > > > > > > > > > capability of
> > > > > > > > > > > > > > > doing simple operations on NetCDF files.
You
> > > >    might be
> > > > > > able
> > > > > > > > to
> > > > > > > > > > use
> > > > > > > > > > > > them.
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > Regarding quilt plots, I've only used R
to make
> > > >    them in
> > > > > > the
> > > > > > > > past.
> > > > > > > > > > > > > > > Specifically, the "quilt.plot" function
in the R
> > > >    package
> > > > > > > > named
> > > > > > > > > > > > "fields".
> > > > > > > > > > > > > > > Please take a look at this website:
> > > > > > > > > > > > > > >
> > > > > > > > > >
> > > >
http://www.dtcenter.org/met/users/downloads/analysis_scripts.php
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > The Rscript named "mode_quilt_plot.R"
provides
> > > >    an
> > > > > > example of
> > > > > > > > > > using R
> > > > > > > > > > > > to
> > > > > > > > > > > > > > > make quilt plots.  Example output from
that
> > > >    script is
> > > > > > also
> > > > > > > > > > included
> > > > > > > > > > > > on
> > > > > > > > > > > > > > that
> > > > > > > > > > > > > > > page.
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > Thanks,
> > > > > > > > > > > > > > > John
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > On Fri, Jan 23, 2015 at 4:06 AM, Geeta
Geeta via
> > > >    RT <
> > > > > > > > > > > > met_help at ucar.edu <javascript:;>>
> > > > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > <URL:
> > > > > > > >
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453
> > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > Hi John. Your help is needed at every
step.
> > > >    Now I want
> > > > > > to
> > > > > > > > know
> > > > > > > > > > > > which
> > > > > > > > > > > > > > > > software can be used for making the
QUILT plot
> > > > > > (intensity
> > > > > > > > and
> > > > > > > > > > > > spatial
> > > > > > > > > > > > > > > > distribution) plot. Can It be done in
using
> > > >    MET5.0. How
> > > > > > > > Can I
> > > > > > > > > > plot
> > > > > > > > > > > > the
> > > > > > > > > > > > > > > > point data that I used in
MET5.0???KIndly
> > > >    guide me.
> > > > > > Also
> > > > > > > > pls
> > > > > > > > > > tell
> > > > > > > > > > > > me
> > > > > > > > > > > > > > if u
> > > > > > > > > > > > > > > > can figure out the issue of 3hrly RF
> > > >    accumulations if
> > > > > > the
> > > > > > > > files
> > > > > > > > > > > > are in
> > > > > > > > > > > > > > the
> > > > > > > > > > > > > > > > NETCDF format. Geeta
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > From: geeta124 at hotmail.com
<javascript:;>
> > > > > > > > > > > > > > > > To: met_help at ucar.edu <javascript:;>
> > > > > > > > > > > > > > > > Subject: RE: [rt.rap.ucar.edu #70453]
> > > >    combining nc
> > > > > > files
> > > > > > > > > > together
> > > > > > > > > > > > > > > > Date: Thu, 22 Jan 2015 16:30:34 +0530
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > thanks John.  the pcp combine tool
uses only
> > > >    GRIB1
> > > > > > files.
> > > > > > > > these
> > > > > > > > > > > > were
> > > > > > > > > > > > > > > > netcdf files (attaching one).I had
downloaded
> > > >    the NC
> > > > > > files
> > > > > > > > from
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > >
> > > > > > > >
> > > > > > http://mirador.gsfc.nasa.gov/cgi-
> > > >    bin/mirador/granlist.pl?page=1&location=(-90,-
> > > >
> >
180),(90,180)&dataSet=TRMM_3B42&version=007&allversion=007&startTime=2011-
> > > >    04-22T00:00:01Z&endTime=2011-04-
> > > >    22T23:59:59Z&keyword=TRMM_3B42&longname=TRMM%203-
> > > >
> >
Hourly%200.25%20deg.%20TRMM%20and%20Others%20Rainfall%20Estimate%20Data&CGISESSID=02499c2107ddfb60a3e46d6b99df3d79&prodpg=
> > http://mirador.gsfc.nasa.gov/collections/TRMM_3B42__007.shtmlI
> > > > > > > > > > > > > > > > got following error. bash-3.2$
> > > >    ./run_pcptool.sh
> > > > > > Running PCP
> > > > > > > > > > > > > > toolPerforming
> > > > > > > > > > > > > > > > addition command for 2 files.Reading
input
> > > >    file:
> > > > > > > > > > > > 3B42.20110422.12.7.nc
> > > > > > > > > > > > > > > > GribFile::skip_header() -> can't find
"GRIB"
> > > >    magic
> > > > > > cookie
> > > > > > > > > >  ERROR:
> > > > > > > > > > > > > > > > get_field() -> can't open grib file:
> > > > > > 3B42.20110422.12.7.nc
> > > > > > > > > > > > > > > > Following is my script--------!/bin/sh
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >              echo " Running PCP
> > > > > > > > > > > > > > > >
tool"~/wrf3/utils/met/METv3.0/bin/pcp_combine
> > > >    -add
> > > > > > > > > > > > > > 3B42.20110422.12.7.nc
> > > > > > > > > > > > > > > > 03 3B42.20110422.15.7.nc 03
myoutput.nc
> > > > > > > > > > > > > > > > Kindly suggest.
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > the second thing I was thinking to
download
> > > >    the TRMM
> > > > > > data
> > > > > > > > from
> > > > > > > > > > > > thelink
> > > > > > > > > > > > > > at
> > > > > > > > > > > > > > > > DTC website and then converying the 3
hourly
> > > >    bins to
> > > > > > NC.
> > > > > > > > > > > > > > > > 2.2 MBftp://
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > >
> > > > > > > >
> > > > > >
> > > >
> >
disc2.nascom.nasa.gov/data/TRMM/Gridded/3B42_V7/201104/3B42.110422.15z.7.precipitation.bin
> > > > > > > > > > > > > > > > But my problem will be to ACCUMULATE
them. I
> > > >    need to
> > > > > > > > verify the
> > > > > > > > > > > > model
> > > > > > > > > > > > > > data
> > > > > > > > > > > > > > > > starting 06 UTC of day1 to 03UTC of
DAY2. I
> > > >    mean how
> > > > > > do I
> > > > > > > > > > combine
> > > > > > > > > > > > all
> > > > > > > > > > > > > > the
> > > > > > > > > > > > > > > > NC  files together. Kindly suggest
> > > > > > > > > > > > > > > > > Subject: Re: [rt.rap.ucar.edu
#70453]
> > > >    combining nc
> > > > > > files
> > > > > > > > > > > > together
> > > > > > > > > > > > > > > > > From: met_help at ucar.edu
<javascript:;>
> > > > > > > > > > > > > > > > > To: geeta124 at hotmail.com
<javascript:;>
> > > > > > > > > > > > > > > > > Date: Wed, 21 Jan 2015 10:45:12
-0700
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > Geeta,
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > I'm assuming the variable in the
NetCDF
> > > >    files is
> > > > > > named
> > > > > > > > > > > > "APCP_03".  If
> > > > > > > > > > > > > > > > not,
> > > > > > > > > > > > > > > > > just switch in the actual name.  You
can run
> > > >    the
> > > > > > > > following
> > > > > > > > > > > > > > pcp_combine
> > > > > > > > > > > > > > > > -add
> > > > > > > > > > > > > > > > > command:
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > pcp_combine -add \
> > > > > > > > > > > > > > > > >    3B42.20110422.09.7.nc
'name="APCP_03";
> > > > > > > > level="(*,*)";' \
> > > > > > > > > > > > > > > > >    3B42.20110422.12.7.nc
'name="APCP_03";
> > > > > > > > level="(*,*)";' \
> > > > > > > > > > > > > > > > >    3B42.20110422.15.7.nc
'name="APCP_03";
> > > > > > > > level="(*,*)";' \
> > > > > > > > > > > > > > > > >    3B42.20110422.18.7.nc
'name="APCP_03";
> > > > > > > > level="(*,*)";' \
> > > > > > > > > > > > > > > > >    3B42.20110422.21.7.nc
'name="APCP_03";
> > > > > > > > level="(*,*)";' \
> > > > > > > > > > > > > > > > >    3B42.20110423.00.7.nc
'name="APCP_03";
> > > > > > > > level="(*,*)";' \
> > > > > > > > > > > > > > > > >    3B42.20110423.03.7.nc
'name="APCP_03";
> > > > > > > > level="(*,*)";' \
> > > > > > > > > > > > > > > > >    3B42.20110423.06.7.nc
'name="APCP_03";
> > > > > > > > level="(*,*)";' \
> > > > > > > > > > > > > > > > >    3B42.20110423.06.7_APCP_24.nc
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > The last file listed is just the
output file
> > > >    name I
> > > > > > > > chose.
> > > > > > > > > > But
> > > > > > > > > > > > you
> > > > > > > > > > > > > > can
> > > > > > > > > > > > > > > > > name it whatever you'd like.
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > John
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > On Wed, Jan 21, 2015 at 4:02 AM,
Geeta Geeta
> > > >    via RT <
> > > > > > > > > > > > > > met_help at ucar.edu <javascript:;>>
> > > > > > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > Wed Jan 21 04:02:41 2015: Request
70453
> > > >    was acted
> > > > > > upon.
> > > > > > > > > > > > > > > > > > Transaction: Ticket created by
> > > > > > geeta124 at hotmail.com <javascript:;>
> > > > > > > > > > > > > > > > > >        Queue: met_help
> > > > > > > > > > > > > > > > > >      Subject: combining nc files
together
> > > > > > > > > > > > > > > > > >        Owner: Nobody
> > > > > > > > > > > > > > > > > >   Requestors: geeta124 at hotmail.com
> > <javascript:;>
> > > > > > > > > > > > > > > > > >       Status: new
> > > > > > > > > > > > > > > > > >  Ticket <URL:
> > > > > > > > > > > > > >
> > > >    https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > Hi John.
> > > > > > > > > > > > > > > > > > Sorry to bother you again n again.
But I
> > > >    have no
> > > > > > > > choice. I
> > > > > > > > > > > > want to
> > > > > > > > > > > > > > know
> > > > > > > > > > > > > > > > > > the followingI have 8 nc files.
bash-3.2$
> > > >    ls
> > > > > > -ltotal
> > > > > > > > > > > > > > 216336-rw-r--r--
> > > > > > > > > > > > > > > >   1
> > > > > > > > > > > > > > > > > > model    staff      13841488 Jan
21 11:24
> > > > > > > > > > > > > > > > 3B42.20110422.06.7.nc-rw-r--r--
> > > > > > > > > > > > > > > > > >   1 model    staff      13841488
Jan 21
> > > >    11:27
> > > > > > > > > > > > > > > > > > 3B42.20110422.09.7.nc-rw-r--r--
1 model
> > > >    staff
> > > > > > > > > > > > 13841492
> > > > > > > > > > > > > > Jan
> > > > > > > > > > > > > > > > 21
> > > > > > > > > > > > > > > > > > 14:01 3B42.20110422.12.7.nc-rw-r--
r--    1
> > > >    model
> > > > > > > > staff
> > > > > > > > > > > > > > > > 13841492 Jan
> > > > > > > > > > > > > > > > > > 21 13:16 3B42.20110422.15.7.nc-rw-
r--r--
> > > >    1 model
> > > > > > > > > > staff
> > > > > > > > > > > > > > > > 13841492
> > > > > > > > > > > > > > > > > > Jan 21 14:51
3B42.20110422.18.7.nc-rw-r--
> > > >    r--    1
> > > > > > model
> > > > > > > > > > > > staff
> > > > > > > > > > > > > > > > > > 13841492 Jan 21 13:21
> > > > > > 3B42.20110422.21.7.nc-rw-r--r--
> > > > > > > >   1
> > > > > > > > > > > > model
> > > > > > > > > > > > > > > > staff
> > > > > > > > > > > > > > > > > >     13841488 Jan 21 13:22
> > > > > > > > 3B42.20110423.00.7.nc-rw-r--r--
> > > > > > > > > >   1
> > > > > > > > > > > > > > model
> > > > > > > > > > > > > > > > > > staff      13841488 Jan 21 13:50
> > > > > > > > > > > > 3B42.20110423.03.7.ncbash-3.2$ pwd
> > > > > > > > > > > > > > > > > > I need to make ONE 24 hour RF
accumulated
> > > >    file
> > > > > > starting
> > > > > > > > > > 06UTC
> > > > > > > > > > > > of
> > > > > > > > > > > > > > > > > > 22.04.2011 - 03UTC of 23.04.2011.
How do I
> > > >    do
> > > > > > that???
> > > > > > > > > > > > > > > > > > Geeta
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > > >
> > > > >
> > >
> > >
> > >
> >
> >
>

------------------------------------------------
Subject: combining nc files together
From: John Halley Gotway
Time: Thu Feb 19 10:59:15 2015

Geeta,

I think that's a great idea for you to work through the details by
hand to
understand how the score is being computed.  Figure 6 is just a little
cartoon done in powerpoint to demonstrate the computation logic.  It
wasn't
computed using any real data.

John

On Thu, Feb 19, 2015 at 8:26 AM, Geeta Geeta via RT
<met_help at ucar.edu>
wrote:

>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453 >
>
> Hi John. I want to know, Can I make the Figure 6 that is there in
Your
> paper. I mean the Forecast Grids or the OBSERVATION grids where the
> thresholds increases a specified value.
> I wish to calculate the FSS manuually so that I absorb the idea.
>
>
> Geeta
>
> > Subject: Re: [rt.rap.ucar.edu #70453] combining nc files together
> > From: met_help at ucar.edu
> > To: geeta124 at hotmail.com
> > Date: Thu, 19 Feb 2015 07:38:56 -0700
> >
> > Geeta,
> >
> > No, it does not.  It is in our list of tasks for future
development, but
> > isn't in there yet.  You can only get neighborhood output from
grid-stat,
> > not point-stat.
> >
> > Thanks
> > John
> >
> > On Thursday, February 19, 2015, Geeta Geeta via RT
<met_help at ucar.edu>
> > wrote:
> >
> > >
> > > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453 >
> > >
> > > Hi Tressa and John.
> > > I want to know if MET5.0 has neighborhood methods defined for
point
> > > observations???.
> > > If Yes, Pls guide me with this.
> > > Geeta
> > >
> > >
> > > > Subject: [rt.rap.ucar.edu #70453] combining nc files together
> > > > From: met_help at ucar.edu <javascript:;>
> > > > To: geeta124 at hotmail.com <javascript:;>
> > > > Date: Tue, 17 Feb 2015 13:47:07 -0700
> > > >
> > > > Hi Geeta,
> > > >
> > > > The paper we sent was not A reference, it was THE reference,
the
> > > original published work on the FSS. Of course, algebra allows
> equations to
> > > be expressed in many equivalent formats. Feel free to use
whichever
> form
> > > you like.
> > > >
> > > > The Spatial Vx package has many verification methods, but it
is
> > > relatively new and untested. I'm sure you can reference that
package's
> > > documentation for full details of the available methods.
> > > >
> > > > Happy verifying,
> > > >
> > > > Tressa
> > > >
> > > > On Mon Feb 16 04:32:17 2015, geeta124 at hotmail.com
<javascript:;>
> wrote:
> > > > > Hi John.
> > > > > In Your article, FSS is defined as the
> > > > > FSS (n) = 1 - (MSE(n)/MSE(n) ref).
> > > > >
> > > > > In another paper's I found it to be little different. It was
> related
> > > > >    to the FBS Fractional Brier Score.
> > > > >
> > > > > Can U pls explain be the differences???.
> > > > > Also I came across SpatialVx package.
> > > > > Does that also provide all the verification procedures???
> > > > > Geeta
> > > > >
> > > > >
> > > > > From: geeta124 at hotmail.com <javascript:;>
> > > > > To: met_help at ucar.edu <javascript:;>
> > > > > Subject: RE: [rt.rap.ucar.edu #70453] combining nc files
together
> > > > > Date: Thu, 12 Feb 2015 11:14:17 +0530
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > hi John.
> > > > > I had read ur article that U have sent reg the FSS and the
MODE
> tools.
> > > > >    I could not understand the meaning of FORECAST SKILL
associated
> > > > >    with Uniform FOrECAST. This is what is mentioed in the
FSS
> section
> > > > >    of Ur article.
> > > > > I didnt understand the concept/idea. if U could just explain
a
> little
> > > > >    more I can build/read some articles that you would
suggest.
> > > > > Thanks for ur help.
> > > > > Geeta
> > > > >
> > > > > > Subject: Re: [rt.rap.ucar.edu #70453] combining nc files
> together
> > > > > > From: met_help at ucar.edu <javascript:;>
> > > > > > To: geeta124 at hotmail.com <javascript:;>
> > > > > > Date: Wed, 11 Feb 2015 10:17:33 -0700
> > > > > >
> > > > > > Geeta,
> > > > > >
> > > > > > I think your reference to an article must be from a
different
> email
> > > > >    chain.
> > > > > >
> > > > > > I see that you're asking about "FORECAST skill associated
with
> the
> > > > >    Uniform
> > > > > > forecast".  Are you looking for more references related to
> > > > >    neighborhood
> > > > > > verification statistics, like Fractions Skill Score?
> > > > > >
> > > > > > Thanks,
> > > > > > John
> > > > > >
> > > > > > On Mon, Feb 9, 2015 at 1:53 AM, Geeta Geeta via RT
> > > > >    <met_help at ucar.edu <javascript:;>>
> > > > > > wrote:
> > > > > >
> > > > > > >
> > > > > > > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453
> >
> > > > > > >
> > > > > > > Hi John.
> > > > > > > Thanks for the article. It is very informative.
> > > > > > > I dont know if i should be asking at this forum, the
meaning of
> > > > >    the
> > > > > > > "FORECAST skill associated with the Uniform forecast" as
you
> have
> > > > >    mentioned
> > > > > > > in your paper.
> > > > > > > If U give me some references, it would be great.
> > > > > > > Geeta
> > > > > > >
> > > > > > > > Subject: Re: [rt.rap.ucar.edu #70453] combining nc
files
> > > > >    together
> > > > > > > > From: met_help at ucar.edu <javascript:;>
> > > > > > > > To: geeta124 at hotmail.com <javascript:;>
> > > > > > > > Date: Thu, 5 Feb 2015 10:33:59 -0700
> > > > > > > >
> > > > > > > > Geeta,
> > > > > > > >
> > > > > > > > You're correct, you can only use the "sum" command of
> > > > >    pcp_combine for
> > > > > > > GRIB1
> > > > > > > > or GRIB2 files...
> > > > > > > >
> > > > > > > > But, you can use the "add" command on any gridded data
file
> > > > >    format that
> > > > > > > MET
> > > > > > > > supports.  Adding together 8 NetCDF files with
pcp_combine
> would
> > > > >    look
> > > > > > > > something like this:
> > > > > > > >
> > > > > > > > pcp_combine -add \
> > > > > > > > file1.nc 'name="APCP_03"; level="(*,*)";' \
> > > > > > > > file2.nc 'name="APCP_03"; level="(*,*)";' \
> > > > > > > > ...
> > > > > > > > file8.nc 'name="APCP_03"; level="(*,*)";' \
> > > > > > > > APCP_24.nc
> > > > > > > >
> > > > > > > > It makes for a longer command line, but it is possible
to do
> > > > >    with
> > > > > > > > pcp_combine.
> > > > > > > >
> > > > > > > > John
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > On Thu, Feb 5, 2015 at 2:02 AM, Geeta Geeta via RT
> > > > >    <met_help at ucar.edu <javascript:;>>
> > > > > > > > wrote:
> > > > > > > >
> > > > > > > > >
> > > > > > > > > <URL:
> https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453
> > > > >    >
> > > > > > > > >
> > > > > > > > > Hi John.
> > > > > > > > > Thanks for wonderful ideas.
> > > > > > > > > The first one is working. but I have yet to run
grid_stat
> to
> > > > >    see if
> > > > > > > > > everything is working finally. I ll try the ncatted.
> > > > > > > > >
> > > > > > > > > To sum up all the nc files (for the times that I
want), I
> did
> > > > >    try the
> > > > > > > > > pcp_combine. But I guess It only works for the GRIB
files.
> > > > > > > > > I have sent to u the error before. I tried to use
MET3.0
> for
> > > > >    that
> > > > > > > which is
> > > > > > > > > installed in my HPC.
> > > > > > > > > I have 5.0 on my personal system. Will try that
exercise in
> > > > >    this
> > > > > > > system.
> > > > > > > > > Thanks again for your help.
> > > > > > > > > Geeta
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > > Subject: Re: [rt.rap.ucar.edu #70453] combining nc
files
> > > > >    together
> > > > > > > > > > From: met_help at ucar.edu <javascript:;>
> > > > > > > > > > To: geeta124 at hotmail.com <javascript:;>
> > > > > > > > > > Date: Wed, 4 Feb 2015 11:21:19 -0700
> > > > > > > > > >
> > > > > > > > > > Geeta,
> > > > > > > > > >
> > > > > > > > > > The trmmbin2nc.R script is set up to only handle
the TRMM
> > > > >    binary data
> > > > > > > > > > exactly from that website.  The timing information
for
> that
> > > > >    binary
> > > > > > > data
> > > > > > > > > is
> > > > > > > > > > only contained in the file name, and you've
renamed those
> > > > >    files.  So
> > > > > > > the
> > > > > > > > > > script doesn't know how to parse them.
> > > > > > > > > >
> > > > > > > > > > Here's 2 options:
> > > > > > > > > > (1) Rename that file using the "daily" file naming
> > > > >    conventions:
> > > > > > > > > >    cp Obs22apr2011.bin 3B42_daily.2011.04.22.7.bin
> > > > > > > > > >    Rscript 3B42_daily.2011.04.22.7.bin
> > > > >    3B42_daily.2011.04.22.7.nc
> > > > > > > > > >
> > > > > > > > > > That will produce output but it'll assume the
> precipitation
> > > > >    is
> > > > > > > > > accumulated
> > > > > > > > > > for 24-hours from 20110422 00Z to 20110423 00Z.
If the
> > > > >    times should
> > > > > > > be
> > > > > > > > > > something different you could... edit the Rscript
to use
> the
> > > > >    times
> > > > > > > you
> > > > > > > > > > want... or use the "ncatted" tool to modify the
timing
> > > > >    information
> > > > > > > listed
> > > > > > > > > > in the output NetCDF file.
> > > > > > > > > >
> > > > > > > > > > (2) Or, as we've discussed in the past, you could
run
> each
> > > > >    of the
> > > > > > > 3-hour
> > > > > > > > > > files through the trmmbin2nc.R script and write
out
> NetCDF
> > > > >    files.
> > > > > > > Then
> > > > > > > > > run
> > > > > > > > > > those 3-hourly NetCDF files through pcp_combine to
add
> them
> > > > >    up.
> > > > > > > > > >
> > > > > > > > > > Thanks,
> > > > > > > > > > John
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > On Sun, Feb 1, 2015 at 11:27 PM, Geeta Geeta via
RT <
> > > > > > > met_help at ucar.edu <javascript:;>>
> > > > > > > > > > wrote:
> > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > <URL:
> > > > >    https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453 >
> > > > > > > > > > >
> > > > > > > > > > > Hi John.
> > > > > > > > > > > This is an old Ticket. Kindly sort this issue
too.
> > > > > > > > > > > I was able to sum up all the 3 hourly TRMM files
and
> then
> > > > >    convert
> > > > > > > the
> > > > > > > > > > > final file into One called Obs22apr2011.bin.
> > > > > > > > > > > I had used Grads for summing up all the 8 files.
and
> now I
> > > > >    am using
> > > > > > > > > the R
> > > > > > > > > > > script for
> > > > > > > > > > > converting into NC.
> > > > > > > > > > > But I got the error.
> > > > > > > > > > > aditya at agniilap
> :~/geeta/installs/met/RUN_MET-22apr2011$
> > > > >    Rscript
> > > > > > > > > > > ../trmm_to_nc/trmmbin2nc_mod.R Obs22apr2011.bin
> > > > >    Obs22apr2011.nc
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > ERROR: Can't figure out the accumulation
interval!I am
> > > > >    sending you
> > > > > > > the
> > > > > > > > > > > data that I converted using Grads.
> > > > > > > > > > > Geeta
> > > > > > > > > > >
> > > > > > > > > > > > Subject: Re: [rt.rap.ucar.edu #70453]
combining nc
> files
> > > > > > > together
> > > > > > > > > > > > From: met_help at ucar.edu <javascript:;>
> > > > > > > > > > > > To: geeta124 at hotmail.com <javascript:;>
> > > > > > > > > > > > Date: Fri, 30 Jan 2015 11:04:18 -0700
> > > > > > > > > > > >
> > > > > > > > > > > > Geeta,
> > > > > > > > > > > >
> > > > > > > > > > > > I don't have time to adapt that Rscript for
your use
> > > > >    with
> > > > > > > Grid-Stat.
> > > > > > > > > > > > However, we did do something very similar for
a
> previous
> > > > > > > project.  I
> > > > > > > > > have
> > > > > > > > > > > > attached an Rscript named "fss_quilt_plot.R"
you
> could
> > > > >    easily
> > > > > > > adapt
> > > > > > > > > to
> > > > > > > > > > > > create a quilt plot for your data.  I've also
> attached a
> > > > >    copy of
> > > > > > > the
> > > > > > > > > > > paper
> > > > > > > > > > > > for which this script was used.  Please look
at
> figure
> > > > >    7.
> > > > > > > > > > > >
> > > > > > > > > > > > Thanks,
> > > > > > > > > > > > John
> > > > > > > > > > > >
> > > > > > > > > > > > On Fri, Jan 30, 2015 at 1:03 AM, Geeta Geeta
via RT <
> > > > > > > > > met_help at ucar.edu <javascript:;>>
> > > > > > > > > > > > wrote:
> > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > <URL:
> > > > >    https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453
> > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > Hi John.
> > > > > > > > > > > > > I changed different widths in the
configuration
> file.
> > > > > > > > > (Width=1,3,5,,7
> > > > > > > > > > > etc).
> > > > > > > > > > > > >
> > > > > > > > > > > > > // Neighborhood methods
> > > > > > > > > > > > > //
> > > > > > > > > > > > > nbrhd = {
> > > > > > > > > > > > >    vld_thresh = 1.0;
> > > > > > > > > > > > >    width      = [ 7 ];
> > > > > > > > > > > > >    cov_thresh = [ >=0.5 ];
> > > > > > > > > > > > > }
> > > > > > > > > > > > > and got various outputs (for different
widths)
> which
> > > > >    are in
> > > > > > > > > different
> > > > > > > > > > > > > directories.
> > > > > > > > > > > > > Now I saw the R script on the website which
is
> > > > >    probably
> > > > > > > > > exclusively for
> > > > > > > > > > > > > the MODE TOOL only.
> > > > > > > > > > > > > Now my question is how to make the quilt
plot for
> the
> > > > >    GRid stat
> > > > > > > > > > > tool???.
> > > > > > > > > > > > > Sorry I m not familiar with R  now.
> > > > > > > > > > > > > Pls help.
> > > > > > > > > > > > > Geeta.
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > From: geeta124 at hotmail.com <javascript:;>
> > > > > > > > > > > > > To: met_help at ucar.edu <javascript:;>
> > > > > > > > > > > > > Subject: RE: [rt.rap.ucar.edu #70453]
combining nc
> > > > >    files
> > > > > > > together
> > > > > > > > > > > > > Date: Thu, 29 Jan 2015 17:05:25 +0530
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > Hi John.
> > > > > > > > > > > > > So I was able to sum up all the 3 hourly
TRMM files
> > > > >    and then
> > > > > > > > > convert
> > > > > > > > > > > the
> > > > > > > > > > > > > final file into One called Obs22apr2011.bin.
> > > > > > > > > > > > > I have done that using Grads and now I am
using
> the R
> > > > >    script
> > > > > > > for
> > > > > > > > > > > > > converting into NC.
> > > > > > > > > > > > > But I got the error.
> > > > > > > > > > > > >
aditya at agniilap:~/geeta/installs/met/RUN_MET-
> > > > >    22apr2011$
> > > > > > > Rscript
> > > > > > > > > > > > > ../trmm_to_nc/trmmbin2nc_mod.R
Obs22apr2011.bin
> > > > >    Obs22apr2011.nc
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > ERROR: Can't figure out the accumulation
interval!
> > > > > > > > > > > > >
> > > > > > > > > > > > > I am sending you the data files and the R
script (I
> > > > >    changed the
> > > > > > > > > > > domain).
> > > > > > > > > > > > > The data is plotted fine. Also pls tell me
about
> the
> > > > >    ncview
> > > > > > > > > questions
> > > > > > > > > > > that
> > > > > > > > > > > > > I was asking. reg the plotting of MPR's
> > > > > > > > > > > > > Kindly suggest.
> > > > > > > > > > > > > Geeta
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > > Subject: Re: [rt.rap.ucar.edu #70453]
combining
> nc
> > > > >    files
> > > > > > > > > together
> > > > > > > > > > > > > > From: met_help at ucar.edu <javascript:;>
> > > > > > > > > > > > > > To: geeta124 at hotmail.com <javascript:;>
> > > > > > > > > > > > > > Date: Mon, 26 Jan 2015 09:58:32 -0700
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Geeta,
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > On that webpage (
> > > > > > > > > > > > > >
> > > > > > >
> http://www.dtcenter.org/met/users/downloads/analysis_scripts.php
> > > > > > > > > ),
> > > > > > > > > > > > > please
> > > > > > > > > > > > > > look specifically at the script named
> > > > >    "mode_quilt_plot.R".
> > > > > > > > > Here's
> > > > > > > > > > > the
> > > > > > > > > > > > > > direct link to that script:
> > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > >
> > > > >
> > >
http://www.dtcenter.org/met/users/downloads/Rscripts/mode_quilt_plot.R
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > And here's a direct link to the sample
output
> that
> > > > >    script
> > > > > > > > > creates:
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > >
> > > > > > >
> > > > >
> > >
>
http://www.dtcenter.org/met/users/downloads/Rscripts/SAMPLE_mode_quilts.pdf
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > This is an example of using R to make a
quilt
> plot
> > > > >    for the
> > > > > > > > > output of
> > > > > > > > > > > the
> > > > > > > > > > > > > > MODE tool.  You might also use a quilt
plot to
> > > > >    display
> > > > > > > fractions
> > > > > > > > > > > skill
> > > > > > > > > > > > > > score from the Grid-Stat tool, if you've
run FSS
> for
> > > > >    multiple
> > > > > > > > > > > thresholds
> > > > > > > > > > > > > > and neighborhood sizes.
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > John
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > On Mon, Jan 26, 2015 at 7:28 AM, Geeta
Geeta via
> RT
> > > > >    <
> > > > > > > > > > > met_help at ucar.edu <javascript:;>>
> > > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > <URL:
> > > > > > > https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453
> > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > Hi John.
> > > > > > > > > > > > > > > the link
> > > > > > > > > > > > >
> > > > > > >
> http://www.dtcenter.org/met/users/downloads/analysis_scripts.php
> > > > > > > > > > > > > > > has the plots for the cnt statistics.
> > > > > > > > > > > > > > > I am not familiar with R. I am going
thru the
> > > > >    plot_cnt.R
> > > > > > > > > script.
> > > > > > > > > > > > > > > but I want to know what will be the data
format
> > > > >    for the
> > > > > > > Quilt
> > > > > > > > > plot.
> > > > > > > > > > > > > > > Do I have to write my own script???.
> > > > > > > > > > > > > > > Kindly let me know about the data format
and
> how I
> > > > >    have to
> > > > > > > > > modify
> > > > > > > > > > > the
> > > > > > > > > > > > > > > above script in order to make the quilt
plot.
> > > > > > > > > > > > > > > Regards
> > > > > > > > > > > > > > > Geeta
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > Subject: Re: [rt.rap.ucar.edu #70453]
> combining
> > > > >    nc files
> > > > > > > > > > > together
> > > > > > > > > > > > > > > > From: met_help at ucar.edu <javascript:;>
> > > > > > > > > > > > > > > > To: geeta124 at hotmail.com
<javascript:;>
> > > > > > > > > > > > > > > > Date: Fri, 23 Jan 2015 11:09:23 -0700
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > Geeta,
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > Regarding 3-hourly RF accumulations,
if MET
> is
> > > > >    able to
> > > > > > > read
> > > > > > > > > those
> > > > > > > > > > > > > NetCDF
> > > > > > > > > > > > > > > > files, you can run them through PCP-
Combine
> to
> > > > >    "add"
> > > > > > > them all
> > > > > > > > > > > > > together.
> > > > > > > > > > > > > > > > Just use the example PCP_Combine
command I
> > > > >    already sent
> > > > > > > you
> > > > > > > > > but
> > > > > > > > > > > > > modify
> > > > > > > > > > > > > > > the
> > > > > > > > > > > > > > > > "name" entry to list the name of the
NetCDF
> > > > >    variable you
> > > > > > > > > want to
> > > > > > > > > > > > > use.  If
> > > > > > > > > > > > > > > > MET is not able to read them, then
it's up to
> > > > >    you to
> > > > > > > figure
> > > > > > > > > out
> > > > > > > > > > > how
> > > > > > > > > > > > > to
> > > > > > > > > > > > > > > > accumulate them.
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > If you're familiar with R, you could
use the
> > > > >    "ncdf"
> > > > > > > library
> > > > > > > > > in R
> > > > > > > > > > > to
> > > > > > > > > > > > > read
> > > > > > > > > > > > > > > > data from one or more NetCDF files,
add them
> up,
> > > > >    and
> > > > > > > write it
> > > > > > > > > > > out to
> > > > > > > > > > > > > a
> > > > > > > > > > > > > > > new
> > > > > > > > > > > > > > > > file.  Alternatively, "nco" (NetCDF
> Operators)
> > > > >    provide
> > > > > > > some
> > > > > > > > > > > > > capability of
> > > > > > > > > > > > > > > > doing simple operations on NetCDF
files.  You
> > > > >    might be
> > > > > > > able
> > > > > > > > > to
> > > > > > > > > > > use
> > > > > > > > > > > > > them.
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > Regarding quilt plots, I've only used
R to
> make
> > > > >    them in
> > > > > > > the
> > > > > > > > > past.
> > > > > > > > > > > > > > > > Specifically, the "quilt.plot"
function in
> the R
> > > > >    package
> > > > > > > > > named
> > > > > > > > > > > > > "fields".
> > > > > > > > > > > > > > > > Please take a look at this website:
> > > > > > > > > > > > > > > >
> > > > > > > > > > >
> > > > >
> http://www.dtcenter.org/met/users/downloads/analysis_scripts.php
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > The Rscript named "mode_quilt_plot.R"
> provides
> > > > >    an
> > > > > > > example of
> > > > > > > > > > > using R
> > > > > > > > > > > > > to
> > > > > > > > > > > > > > > > make quilt plots.  Example output from
that
> > > > >    script is
> > > > > > > also
> > > > > > > > > > > included
> > > > > > > > > > > > > on
> > > > > > > > > > > > > > > that
> > > > > > > > > > > > > > > > page.
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > Thanks,
> > > > > > > > > > > > > > > > John
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > On Fri, Jan 23, 2015 at 4:06 AM, Geeta
Geeta
> via
> > > > >    RT <
> > > > > > > > > > > > > met_help at ucar.edu <javascript:;>>
> > > > > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > <URL:
> > > > > > > > >
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453
> > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > Hi John. Your help is needed at
every step.
> > > > >    Now I want
> > > > > > > to
> > > > > > > > > know
> > > > > > > > > > > > > which
> > > > > > > > > > > > > > > > > software can be used for making the
QUILT
> plot
> > > > > > > (intensity
> > > > > > > > > and
> > > > > > > > > > > > > spatial
> > > > > > > > > > > > > > > > > distribution) plot. Can It be done
in using
> > > > >    MET5.0. How
> > > > > > > > > Can I
> > > > > > > > > > > plot
> > > > > > > > > > > > > the
> > > > > > > > > > > > > > > > > point data that I used in
MET5.0???KIndly
> > > > >    guide me.
> > > > > > > Also
> > > > > > > > > pls
> > > > > > > > > > > tell
> > > > > > > > > > > > > me
> > > > > > > > > > > > > > > if u
> > > > > > > > > > > > > > > > > can figure out the issue of 3hrly RF
> > > > >    accumulations if
> > > > > > > the
> > > > > > > > > files
> > > > > > > > > > > > > are in
> > > > > > > > > > > > > > > the
> > > > > > > > > > > > > > > > > NETCDF format. Geeta
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > From: geeta124 at hotmail.com
<javascript:;>
> > > > > > > > > > > > > > > > > To: met_help at ucar.edu <javascript:;>
> > > > > > > > > > > > > > > > > Subject: RE: [rt.rap.ucar.edu
#70453]
> > > > >    combining nc
> > > > > > > files
> > > > > > > > > > > together
> > > > > > > > > > > > > > > > > Date: Thu, 22 Jan 2015 16:30:34
+0530
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > thanks John.  the pcp combine tool
uses
> only
> > > > >    GRIB1
> > > > > > > files.
> > > > > > > > > these
> > > > > > > > > > > > > were
> > > > > > > > > > > > > > > > > netcdf files (attaching one).I had
> downloaded
> > > > >    the NC
> > > > > > > files
> > > > > > > > > from
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > >
> > > > > > > http://mirador.gsfc.nasa.gov/cgi-
> > > > >    bin/mirador/granlist.pl?page=1&location=(-90,-
> > > > >
> > >
>
180),(90,180)&dataSet=TRMM_3B42&version=007&allversion=007&startTime=2011-
> > > > >    04-22T00:00:01Z&endTime=2011-04-
> > > > >    22T23:59:59Z&keyword=TRMM_3B42&longname=TRMM%203-
> > > > >
> > >
>
Hourly%200.25%20deg.%20TRMM%20and%20Others%20Rainfall%20Estimate%20Data&CGISESSID=02499c2107ddfb60a3e46d6b99df3d79&prodpg=
> > > http://mirador.gsfc.nasa.gov/collections/TRMM_3B42__007.shtmlI
> > > > > > > > > > > > > > > > > got following error. bash-3.2$
> > > > >    ./run_pcptool.sh
> > > > > > > Running PCP
> > > > > > > > > > > > > > > toolPerforming
> > > > > > > > > > > > > > > > > addition command for 2 files.Reading
input
> > > > >    file:
> > > > > > > > > > > > > 3B42.20110422.12.7.nc
> > > > > > > > > > > > > > > > > GribFile::skip_header() -> can't
find
> "GRIB"
> > > > >    magic
> > > > > > > cookie
> > > > > > > > > > >  ERROR:
> > > > > > > > > > > > > > > > > get_field() -> can't open grib file:
> > > > > > > 3B42.20110422.12.7.nc
> > > > > > > > > > > > > > > > > Following is my script--------
!/bin/sh
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >              echo " Running PCP
> > > > > > > > > > > > > > > > >
> tool"~/wrf3/utils/met/METv3.0/bin/pcp_combine
> > > > >    -add
> > > > > > > > > > > > > > > 3B42.20110422.12.7.nc
> > > > > > > > > > > > > > > > > 03 3B42.20110422.15.7.nc 03
myoutput.nc
> > > > > > > > > > > > > > > > > Kindly suggest.
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > the second thing I was thinking to
download
> > > > >    the TRMM
> > > > > > > data
> > > > > > > > > from
> > > > > > > > > > > > > thelink
> > > > > > > > > > > > > > > at
> > > > > > > > > > > > > > > > > DTC website and then converying the
3
> hourly
> > > > >    bins to
> > > > > > > NC.
> > > > > > > > > > > > > > > > > 2.2 MBftp://
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > >
> > > > > > >
> > > > >
> > >
>
disc2.nascom.nasa.gov/data/TRMM/Gridded/3B42_V7/201104/3B42.110422.15z.7.precipitation.bin
> > > > > > > > > > > > > > > > > But my problem will be to ACCUMULATE
them.
> I
> > > > >    need to
> > > > > > > > > verify the
> > > > > > > > > > > > > model
> > > > > > > > > > > > > > > data
> > > > > > > > > > > > > > > > > starting 06 UTC of day1 to 03UTC of
DAY2. I
> > > > >    mean how
> > > > > > > do I
> > > > > > > > > > > combine
> > > > > > > > > > > > > all
> > > > > > > > > > > > > > > the
> > > > > > > > > > > > > > > > > NC  files together. Kindly suggest
> > > > > > > > > > > > > > > > > > Subject: Re: [rt.rap.ucar.edu
#70453]
> > > > >    combining nc
> > > > > > > files
> > > > > > > > > > > > > together
> > > > > > > > > > > > > > > > > > From: met_help at ucar.edu
<javascript:;>
> > > > > > > > > > > > > > > > > > To: geeta124 at hotmail.com
<javascript:;>
> > > > > > > > > > > > > > > > > > Date: Wed, 21 Jan 2015 10:45:12
-0700
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > Geeta,
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > I'm assuming the variable in the
NetCDF
> > > > >    files is
> > > > > > > named
> > > > > > > > > > > > > "APCP_03".  If
> > > > > > > > > > > > > > > > > not,
> > > > > > > > > > > > > > > > > > just switch in the actual name.
You can
> run
> > > > >    the
> > > > > > > > > following
> > > > > > > > > > > > > > > pcp_combine
> > > > > > > > > > > > > > > > > -add
> > > > > > > > > > > > > > > > > > command:
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > pcp_combine -add \
> > > > > > > > > > > > > > > > > >    3B42.20110422.09.7.nc
> 'name="APCP_03";
> > > > > > > > > level="(*,*)";' \
> > > > > > > > > > > > > > > > > >    3B42.20110422.12.7.nc
> 'name="APCP_03";
> > > > > > > > > level="(*,*)";' \
> > > > > > > > > > > > > > > > > >    3B42.20110422.15.7.nc
> 'name="APCP_03";
> > > > > > > > > level="(*,*)";' \
> > > > > > > > > > > > > > > > > >    3B42.20110422.18.7.nc
> 'name="APCP_03";
> > > > > > > > > level="(*,*)";' \
> > > > > > > > > > > > > > > > > >    3B42.20110422.21.7.nc
> 'name="APCP_03";
> > > > > > > > > level="(*,*)";' \
> > > > > > > > > > > > > > > > > >    3B42.20110423.00.7.nc
> 'name="APCP_03";
> > > > > > > > > level="(*,*)";' \
> > > > > > > > > > > > > > > > > >    3B42.20110423.03.7.nc
> 'name="APCP_03";
> > > > > > > > > level="(*,*)";' \
> > > > > > > > > > > > > > > > > >    3B42.20110423.06.7.nc
> 'name="APCP_03";
> > > > > > > > > level="(*,*)";' \
> > > > > > > > > > > > > > > > > >    3B42.20110423.06.7_APCP_24.nc
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > The last file listed is just the
output
> file
> > > > >    name I
> > > > > > > > > chose.
> > > > > > > > > > > But
> > > > > > > > > > > > > you
> > > > > > > > > > > > > > > can
> > > > > > > > > > > > > > > > > > name it whatever you'd like.
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > John
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > On Wed, Jan 21, 2015 at 4:02 AM,
Geeta
> Geeta
> > > > >    via RT <
> > > > > > > > > > > > > > > met_help at ucar.edu <javascript:;>>
> > > > > > > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > Wed Jan 21 04:02:41 2015:
Request 70453
> > > > >    was acted
> > > > > > > upon.
> > > > > > > > > > > > > > > > > > > Transaction: Ticket created by
> > > > > > > geeta124 at hotmail.com <javascript:;>
> > > > > > > > > > > > > > > > > > >        Queue: met_help
> > > > > > > > > > > > > > > > > > >      Subject: combining nc files
> together
> > > > > > > > > > > > > > > > > > >        Owner: Nobody
> > > > > > > > > > > > > > > > > > >   Requestors:
geeta124 at hotmail.com
> > > <javascript:;>
> > > > > > > > > > > > > > > > > > >       Status: new
> > > > > > > > > > > > > > > > > > >  Ticket <URL:
> > > > > > > > > > > > > > >
> > > > >    https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > Hi John.
> > > > > > > > > > > > > > > > > > > Sorry to bother you again n
again. But
> I
> > > > >    have no
> > > > > > > > > choice. I
> > > > > > > > > > > > > want to
> > > > > > > > > > > > > > > know
> > > > > > > > > > > > > > > > > > > the followingI have 8 nc files.
> bash-3.2$
> > > > >    ls
> > > > > > > -ltotal
> > > > > > > > > > > > > > > 216336-rw-r--r--
> > > > > > > > > > > > > > > > >   1
> > > > > > > > > > > > > > > > > > > model    staff      13841488 Jan
21
> 11:24
> > > > > > > > > > > > > > > > > 3B42.20110422.06.7.nc-rw-r--r--
> > > > > > > > > > > > > > > > > > >   1 model    staff      13841488
Jan 21
> > > > >    11:27
> > > > > > > > > > > > > > > > > > > 3B42.20110422.09.7.nc-rw-r--r--
1
> model
> > > > >    staff
> > > > > > > > > > > > > 13841492
> > > > > > > > > > > > > > > Jan
> > > > > > > > > > > > > > > > > 21
> > > > > > > > > > > > > > > > > > > 14:01 3B42.20110422.12.7.nc-rw-
r--r--
>   1
> > > > >    model
> > > > > > > > > staff
> > > > > > > > > > > > > > > > > 13841492 Jan
> > > > > > > > > > > > > > > > > > > 21 13:16
> 3B42.20110422.15.7.nc-rw-r--r--
> > > > >    1 model
> > > > > > > > > > > staff
> > > > > > > > > > > > > > > > > 13841492
> > > > > > > > > > > > > > > > > > > Jan 21 14:51
> 3B42.20110422.18.7.nc-rw-r--
> > > > >    r--    1
> > > > > > > model
> > > > > > > > > > > > > staff
> > > > > > > > > > > > > > > > > > > 13841492 Jan 21 13:21
> > > > > > > 3B42.20110422.21.7.nc-rw-r--r--
> > > > > > > > >   1
> > > > > > > > > > > > > model
> > > > > > > > > > > > > > > > > staff
> > > > > > > > > > > > > > > > > > >     13841488 Jan 21 13:22
> > > > > > > > > 3B42.20110423.00.7.nc-rw-r--r--
> > > > > > > > > > >   1
> > > > > > > > > > > > > > > model
> > > > > > > > > > > > > > > > > > > staff      13841488 Jan 21 13:50
> > > > > > > > > > > > > 3B42.20110423.03.7.ncbash-3.2$ pwd
> > > > > > > > > > > > > > > > > > > I need to make ONE 24 hour RF
> accumulated
> > > > >    file
> > > > > > > starting
> > > > > > > > > > > 06UTC
> > > > > > > > > > > > > of
> > > > > > > > > > > > > > > > > > > 22.04.2011 - 03UTC of
23.04.2011. How
> do I
> > > > >    do
> > > > > > > that???
> > > > > > > > > > > > > > > > > > > Geeta
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > > >
> > > > > >
> > > >
> > > >
> > > >
> > >
> > >
> >
>
>

------------------------------------------------
Subject: combining nc files together
From: Geeta Geeta
Time: Fri Feb 20 03:15:49 2015

Hi John. I was trying to mask my entire domain except 9x9 points in
the CENTRE using the following entry in the GridStatConfig file.  MY
purpose was to retain only 9x9 points both in FCST and OBSERVATION so
that I can calculate the FBS and FSS for these mannually. I
used--------------
////////////////////////////////////////////////////////////////////////////////
//// Verification masking regions//mask = {   grid = [ "FULL" ];
poly = ["mydom.poly"];};
I have put the file mydom.ploy in the directory.
.................................... and my working dir. So grid stat
run fine.
ditya at agniilap:~/geeta/MET5.0/met-5.0/data/poly$
pwd/home/aditya/geeta/MET5.0/met-
5.0/data/polyaditya at agniilap:~/geeta/MET5.0/met-5.0/data/poly$
lsAPL.poly    EAST.poly  HMT_masks    Makefile.in       NAK.poly
NPL.poly  SAK.poly  SPO.polyATC.poly    ECA.poly   HWI.poly
MDW.poly          NAO.poly             NPO.poly  SAO.poly
SWC.polyCAM.poly    GLF.poly   LMV.poly     MEX.poly
ncep_vx_regions.pdf  NSA.poly  SEC.poly  SWD.polyCAR.poly    GMC.poly
Makefile     MLB_Stadiums.txt  NEC.poly             NWC.poly  SMT.poly
WCA.polyCONUS.poly  GRB.poly   Makefile.am  mydom.poly        NMT.poly
PRI.poly  SPL.poly  WEST.polyaditya at agniilap:~/geeta/MET5.0/met-
5.0/data/poly$ it Looks like......................APL9.0
74.018.25     74.018.25     78.09.0       78.018.25     78.014.25
78.2514.25     78.7518.25     78.7513.25     78.2509.0      78.2509.0
78.7513.25     78.7518.25     79.009.00     79.018.25     83.2509.00
83.25~
~  Grid_stat was run perfectly but when I look at the
the O/P. vi  ./out-
19jun2006_w7/grid_stat_270000L_20060620_030000V_nbrcnt.txt
I get again 870 and 554 TOTAL MPRS. What is meant by these numbers???.
I am sending you the O/P. Pls tell me what's happening????

I am sending you 3 files. CONFIG file, mydom.poly and O/P file.
According to me, there should be 9 MPRS???.
Also, Some more background information. My Domain starts from 9/74E
and 37x37 points in the X and Y directions, Final grid point would be
18.25/83.25.  @ rate of 25kmx25km. (TRMM data). So I have masked the
entire domain (by using poly file) except these 4 points, extremes of
those are given below.
13.5/78.25 to 14.0/78.75 . (lat will vary like 13.5,13.75,14 and lon
will vary 78.25,78.5,78.75).
Pls tell me about the MPRS that got generated. ?????ie. 870 and
554???. Geeta
> Subject: Re: [rt.rap.ucar.edu #70453] combining nc files together
> From: met_help at ucar.edu
> To: geeta124 at hotmail.com
> Date: Thu, 19 Feb 2015 10:59:15 -0700
>
> Geeta,
>
> I think that's a great idea for you to work through the details by
hand to
> understand how the score is being computed.  Figure 6 is just a
little
> cartoon done in powerpoint to demonstrate the computation logic.  It
wasn't
> computed using any real data.
>
> John
>
> On Thu, Feb 19, 2015 at 8:26 AM, Geeta Geeta via RT
<met_help at ucar.edu>
> wrote:
>
> >
> > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453 >
> >
> > Hi John. I want to know, Can I make the Figure 6 that is there in
Your
> > paper. I mean the Forecast Grids or the OBSERVATION grids where
the
> > thresholds increases a specified value.
> > I wish to calculate the FSS manuually so that I absorb the idea.
> >
> >
> > Geeta
> >
> > > Subject: Re: [rt.rap.ucar.edu #70453] combining nc files
together
> > > From: met_help at ucar.edu
> > > To: geeta124 at hotmail.com
> > > Date: Thu, 19 Feb 2015 07:38:56 -0700
> > >
> > > Geeta,
> > >
> > > No, it does not.  It is in our list of tasks for future
development, but
> > > isn't in there yet.  You can only get neighborhood output from
grid-stat,
> > > not point-stat.
> > >
> > > Thanks
> > > John
> > >
> > > On Thursday, February 19, 2015, Geeta Geeta via RT
<met_help at ucar.edu>
> > > wrote:
> > >
> > > >
> > > > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453
>
> > > >
> > > > Hi Tressa and John.
> > > > I want to know if MET5.0 has neighborhood methods defined for
point
> > > > observations???.
> > > > If Yes, Pls guide me with this.
> > > > Geeta
> > > >
> > > >
> > > > > Subject: [rt.rap.ucar.edu #70453] combining nc files
together
> > > > > From: met_help at ucar.edu <javascript:;>
> > > > > To: geeta124 at hotmail.com <javascript:;>
> > > > > Date: Tue, 17 Feb 2015 13:47:07 -0700
> > > > >
> > > > > Hi Geeta,
> > > > >
> > > > > The paper we sent was not A reference, it was THE reference,
the
> > > > original published work on the FSS. Of course, algebra allows
> > equations to
> > > > be expressed in many equivalent formats. Feel free to use
whichever
> > form
> > > > you like.
> > > > >
> > > > > The Spatial Vx package has many verification methods, but it
is
> > > > relatively new and untested. I'm sure you can reference that
package's
> > > > documentation for full details of the available methods.
> > > > >
> > > > > Happy verifying,
> > > > >
> > > > > Tressa
> > > > >
> > > > > On Mon Feb 16 04:32:17 2015, geeta124 at hotmail.com
<javascript:;>
> > wrote:
> > > > > > Hi John.
> > > > > > In Your article, FSS is defined as the
> > > > > > FSS (n) = 1 - (MSE(n)/MSE(n) ref).
> > > > > >
> > > > > > In another paper's I found it to be little different. It
was
> > related
> > > > > >    to the FBS Fractional Brier Score.
> > > > > >
> > > > > > Can U pls explain be the differences???.
> > > > > > Also I came across SpatialVx package.
> > > > > > Does that also provide all the verification procedures???
> > > > > > Geeta
> > > > > >
> > > > > >
> > > > > > From: geeta124 at hotmail.com <javascript:;>
> > > > > > To: met_help at ucar.edu <javascript:;>
> > > > > > Subject: RE: [rt.rap.ucar.edu #70453] combining nc files
together
> > > > > > Date: Thu, 12 Feb 2015 11:14:17 +0530
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > > hi John.
> > > > > > I had read ur article that U have sent reg the FSS and the
MODE
> > tools.
> > > > > >    I could not understand the meaning of FORECAST SKILL
associated
> > > > > >    with Uniform FOrECAST. This is what is mentioed in the
FSS
> > section
> > > > > >    of Ur article.
> > > > > > I didnt understand the concept/idea. if U could just
explain a
> > little
> > > > > >    more I can build/read some articles that you would
suggest.
> > > > > > Thanks for ur help.
> > > > > > Geeta
> > > > > >
> > > > > > > Subject: Re: [rt.rap.ucar.edu #70453] combining nc files
> > together
> > > > > > > From: met_help at ucar.edu <javascript:;>
> > > > > > > To: geeta124 at hotmail.com <javascript:;>
> > > > > > > Date: Wed, 11 Feb 2015 10:17:33 -0700
> > > > > > >
> > > > > > > Geeta,
> > > > > > >
> > > > > > > I think your reference to an article must be from a
different
> > email
> > > > > >    chain.
> > > > > > >
> > > > > > > I see that you're asking about "FORECAST skill
associated with
> > the
> > > > > >    Uniform
> > > > > > > forecast".  Are you looking for more references related
to
> > > > > >    neighborhood
> > > > > > > verification statistics, like Fractions Skill Score?
> > > > > > >
> > > > > > > Thanks,
> > > > > > > John
> > > > > > >
> > > > > > > On Mon, Feb 9, 2015 at 1:53 AM, Geeta Geeta via RT
> > > > > >    <met_help at ucar.edu <javascript:;>>
> > > > > > > wrote:
> > > > > > >
> > > > > > > >
> > > > > > > > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453
> > >
> > > > > > > >
> > > > > > > > Hi John.
> > > > > > > > Thanks for the article. It is very informative.
> > > > > > > > I dont know if i should be asking at this forum, the
meaning of
> > > > > >    the
> > > > > > > > "FORECAST skill associated with the Uniform forecast"
as you
> > have
> > > > > >    mentioned
> > > > > > > > in your paper.
> > > > > > > > If U give me some references, it would be great.
> > > > > > > > Geeta
> > > > > > > >
> > > > > > > > > Subject: Re: [rt.rap.ucar.edu #70453] combining nc
files
> > > > > >    together
> > > > > > > > > From: met_help at ucar.edu <javascript:;>
> > > > > > > > > To: geeta124 at hotmail.com <javascript:;>
> > > > > > > > > Date: Thu, 5 Feb 2015 10:33:59 -0700
> > > > > > > > >
> > > > > > > > > Geeta,
> > > > > > > > >
> > > > > > > > > You're correct, you can only use the "sum" command
of
> > > > > >    pcp_combine for
> > > > > > > > GRIB1
> > > > > > > > > or GRIB2 files...
> > > > > > > > >
> > > > > > > > > But, you can use the "add" command on any gridded
data file
> > > > > >    format that
> > > > > > > > MET
> > > > > > > > > supports.  Adding together 8 NetCDF files with
pcp_combine
> > would
> > > > > >    look
> > > > > > > > > something like this:
> > > > > > > > >
> > > > > > > > > pcp_combine -add \
> > > > > > > > > file1.nc 'name="APCP_03"; level="(*,*)";' \
> > > > > > > > > file2.nc 'name="APCP_03"; level="(*,*)";' \
> > > > > > > > > ...
> > > > > > > > > file8.nc 'name="APCP_03"; level="(*,*)";' \
> > > > > > > > > APCP_24.nc
> > > > > > > > >
> > > > > > > > > It makes for a longer command line, but it is
possible to do
> > > > > >    with
> > > > > > > > > pcp_combine.
> > > > > > > > >
> > > > > > > > > John
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > On Thu, Feb 5, 2015 at 2:02 AM, Geeta Geeta via RT
> > > > > >    <met_help at ucar.edu <javascript:;>>
> > > > > > > > > wrote:
> > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > <URL:
> > https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453
> > > > > >    >
> > > > > > > > > >
> > > > > > > > > > Hi John.
> > > > > > > > > > Thanks for wonderful ideas.
> > > > > > > > > > The first one is working. but I have yet to run
grid_stat
> > to
> > > > > >    see if
> > > > > > > > > > everything is working finally. I ll try the
ncatted.
> > > > > > > > > >
> > > > > > > > > > To sum up all the nc files (for the times that I
want), I
> > did
> > > > > >    try the
> > > > > > > > > > pcp_combine. But I guess It only works for the
GRIB files.
> > > > > > > > > > I have sent to u the error before. I tried to use
MET3.0
> > for
> > > > > >    that
> > > > > > > > which is
> > > > > > > > > > installed in my HPC.
> > > > > > > > > > I have 5.0 on my personal system. Will try that
exercise in
> > > > > >    this
> > > > > > > > system.
> > > > > > > > > > Thanks again for your help.
> > > > > > > > > > Geeta
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > > Subject: Re: [rt.rap.ucar.edu #70453] combining
nc files
> > > > > >    together
> > > > > > > > > > > From: met_help at ucar.edu <javascript:;>
> > > > > > > > > > > To: geeta124 at hotmail.com <javascript:;>
> > > > > > > > > > > Date: Wed, 4 Feb 2015 11:21:19 -0700
> > > > > > > > > > >
> > > > > > > > > > > Geeta,
> > > > > > > > > > >
> > > > > > > > > > > The trmmbin2nc.R script is set up to only handle
the TRMM
> > > > > >    binary data
> > > > > > > > > > > exactly from that website.  The timing
information for
> > that
> > > > > >    binary
> > > > > > > > data
> > > > > > > > > > is
> > > > > > > > > > > only contained in the file name, and you've
renamed those
> > > > > >    files.  So
> > > > > > > > the
> > > > > > > > > > > script doesn't know how to parse them.
> > > > > > > > > > >
> > > > > > > > > > > Here's 2 options:
> > > > > > > > > > > (1) Rename that file using the "daily" file
naming
> > > > > >    conventions:
> > > > > > > > > > >    cp Obs22apr2011.bin
3B42_daily.2011.04.22.7.bin
> > > > > > > > > > >    Rscript 3B42_daily.2011.04.22.7.bin
> > > > > >    3B42_daily.2011.04.22.7.nc
> > > > > > > > > > >
> > > > > > > > > > > That will produce output but it'll assume the
> > precipitation
> > > > > >    is
> > > > > > > > > > accumulated
> > > > > > > > > > > for 24-hours from 20110422 00Z to 20110423 00Z.
If the
> > > > > >    times should
> > > > > > > > be
> > > > > > > > > > > something different you could... edit the
Rscript to use
> > the
> > > > > >    times
> > > > > > > > you
> > > > > > > > > > > want... or use the "ncatted" tool to modify the
timing
> > > > > >    information
> > > > > > > > listed
> > > > > > > > > > > in the output NetCDF file.
> > > > > > > > > > >
> > > > > > > > > > > (2) Or, as we've discussed in the past, you
could run
> > each
> > > > > >    of the
> > > > > > > > 3-hour
> > > > > > > > > > > files through the trmmbin2nc.R script and write
out
> > NetCDF
> > > > > >    files.
> > > > > > > > Then
> > > > > > > > > > run
> > > > > > > > > > > those 3-hourly NetCDF files through pcp_combine
to add
> > them
> > > > > >    up.
> > > > > > > > > > >
> > > > > > > > > > > Thanks,
> > > > > > > > > > > John
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > On Sun, Feb 1, 2015 at 11:27 PM, Geeta Geeta via
RT <
> > > > > > > > met_help at ucar.edu <javascript:;>>
> > > > > > > > > > > wrote:
> > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > <URL:
> > > > > >    https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453
>
> > > > > > > > > > > >
> > > > > > > > > > > > Hi John.
> > > > > > > > > > > > This is an old Ticket. Kindly sort this issue
too.
> > > > > > > > > > > > I was able to sum up all the 3 hourly TRMM
files and
> > then
> > > > > >    convert
> > > > > > > > the
> > > > > > > > > > > > final file into One called Obs22apr2011.bin.
> > > > > > > > > > > > I had used Grads for summing up all the 8
files. and
> > now I
> > > > > >    am using
> > > > > > > > > > the R
> > > > > > > > > > > > script for
> > > > > > > > > > > > converting into NC.
> > > > > > > > > > > > But I got the error.
> > > > > > > > > > > > aditya at agniilap
> > :~/geeta/installs/met/RUN_MET-22apr2011$
> > > > > >    Rscript
> > > > > > > > > > > > ../trmm_to_nc/trmmbin2nc_mod.R
Obs22apr2011.bin
> > > > > >    Obs22apr2011.nc
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > ERROR: Can't figure out the accumulation
interval!I am
> > > > > >    sending you
> > > > > > > > the
> > > > > > > > > > > > data that I converted using Grads.
> > > > > > > > > > > > Geeta
> > > > > > > > > > > >
> > > > > > > > > > > > > Subject: Re: [rt.rap.ucar.edu #70453]
combining nc
> > files
> > > > > > > > together
> > > > > > > > > > > > > From: met_help at ucar.edu <javascript:;>
> > > > > > > > > > > > > To: geeta124 at hotmail.com <javascript:;>
> > > > > > > > > > > > > Date: Fri, 30 Jan 2015 11:04:18 -0700
> > > > > > > > > > > > >
> > > > > > > > > > > > > Geeta,
> > > > > > > > > > > > >
> > > > > > > > > > > > > I don't have time to adapt that Rscript for
your use
> > > > > >    with
> > > > > > > > Grid-Stat.
> > > > > > > > > > > > > However, we did do something very similar
for a
> > previous
> > > > > > > > project.  I
> > > > > > > > > > have
> > > > > > > > > > > > > attached an Rscript named "fss_quilt_plot.R"
you
> > could
> > > > > >    easily
> > > > > > > > adapt
> > > > > > > > > > to
> > > > > > > > > > > > > create a quilt plot for your data.  I've
also
> > attached a
> > > > > >    copy of
> > > > > > > > the
> > > > > > > > > > > > paper
> > > > > > > > > > > > > for which this script was used.  Please look
at
> > figure
> > > > > >    7.
> > > > > > > > > > > > >
> > > > > > > > > > > > > Thanks,
> > > > > > > > > > > > > John
> > > > > > > > > > > > >
> > > > > > > > > > > > > On Fri, Jan 30, 2015 at 1:03 AM, Geeta Geeta
via RT <
> > > > > > > > > > met_help at ucar.edu <javascript:;>>
> > > > > > > > > > > > > wrote:
> > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > <URL:
> > > > > >    https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453
> > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Hi John.
> > > > > > > > > > > > > > I changed different widths in the
configuration
> > file.
> > > > > > > > > > (Width=1,3,5,,7
> > > > > > > > > > > > etc).
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > // Neighborhood methods
> > > > > > > > > > > > > > //
> > > > > > > > > > > > > > nbrhd = {
> > > > > > > > > > > > > >    vld_thresh = 1.0;
> > > > > > > > > > > > > >    width      = [ 7 ];
> > > > > > > > > > > > > >    cov_thresh = [ >=0.5 ];
> > > > > > > > > > > > > > }
> > > > > > > > > > > > > > and got various outputs (for different
widths)
> > which
> > > > > >    are in
> > > > > > > > > > different
> > > > > > > > > > > > > > directories.
> > > > > > > > > > > > > > Now I saw the R script on the website
which is
> > > > > >    probably
> > > > > > > > > > exclusively for
> > > > > > > > > > > > > > the MODE TOOL only.
> > > > > > > > > > > > > > Now my question is how to make the quilt
plot for
> > the
> > > > > >    GRid stat
> > > > > > > > > > > > tool???.
> > > > > > > > > > > > > > Sorry I m not familiar with R  now.
> > > > > > > > > > > > > > Pls help.
> > > > > > > > > > > > > > Geeta.
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > From: geeta124 at hotmail.com <javascript:;>
> > > > > > > > > > > > > > To: met_help at ucar.edu <javascript:;>
> > > > > > > > > > > > > > Subject: RE: [rt.rap.ucar.edu #70453]
combining nc
> > > > > >    files
> > > > > > > > together
> > > > > > > > > > > > > > Date: Thu, 29 Jan 2015 17:05:25 +0530
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Hi John.
> > > > > > > > > > > > > > So I was able to sum up all the 3 hourly
TRMM files
> > > > > >    and then
> > > > > > > > > > convert
> > > > > > > > > > > > the
> > > > > > > > > > > > > > final file into One called
Obs22apr2011.bin.
> > > > > > > > > > > > > > I have done that using Grads and now I am
using
> > the R
> > > > > >    script
> > > > > > > > for
> > > > > > > > > > > > > > converting into NC.
> > > > > > > > > > > > > > But I got the error.
> > > > > > > > > > > > > >
aditya at agniilap:~/geeta/installs/met/RUN_MET-
> > > > > >    22apr2011$
> > > > > > > > Rscript
> > > > > > > > > > > > > > ../trmm_to_nc/trmmbin2nc_mod.R
Obs22apr2011.bin
> > > > > >    Obs22apr2011.nc
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > ERROR: Can't figure out the accumulation
interval!
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > I am sending you the data files and the R
script (I
> > > > > >    changed the
> > > > > > > > > > > > domain).
> > > > > > > > > > > > > > The data is plotted fine. Also pls tell me
about
> > the
> > > > > >    ncview
> > > > > > > > > > questions
> > > > > > > > > > > > that
> > > > > > > > > > > > > > I was asking. reg the plotting of MPR's
> > > > > > > > > > > > > > Kindly suggest.
> > > > > > > > > > > > > > Geeta
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > > Subject: Re: [rt.rap.ucar.edu #70453]
combining
> > nc
> > > > > >    files
> > > > > > > > > > together
> > > > > > > > > > > > > > > From: met_help at ucar.edu <javascript:;>
> > > > > > > > > > > > > > > To: geeta124 at hotmail.com <javascript:;>
> > > > > > > > > > > > > > > Date: Mon, 26 Jan 2015 09:58:32 -0700
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > Geeta,
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > On that webpage (
> > > > > > > > > > > > > > >
> > > > > > > >
> > http://www.dtcenter.org/met/users/downloads/analysis_scripts.php
> > > > > > > > > > ),
> > > > > > > > > > > > > > please
> > > > > > > > > > > > > > > look specifically at the script named
> > > > > >    "mode_quilt_plot.R".
> > > > > > > > > > Here's
> > > > > > > > > > > > the
> > > > > > > > > > > > > > > direct link to that script:
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > >
> > > > > >
> > > >
http://www.dtcenter.org/met/users/downloads/Rscripts/mode_quilt_plot.R
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > And here's a direct link to the sample
output
> > that
> > > > > >    script
> > > > > > > > > > creates:
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > >
> > > > > > > >
> > > > > >
> > > >
> >
http://www.dtcenter.org/met/users/downloads/Rscripts/SAMPLE_mode_quilts.pdf
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > This is an example of using R to make a
quilt
> > plot
> > > > > >    for the
> > > > > > > > > > output of
> > > > > > > > > > > > the
> > > > > > > > > > > > > > > MODE tool.  You might also use a quilt
plot to
> > > > > >    display
> > > > > > > > fractions
> > > > > > > > > > > > skill
> > > > > > > > > > > > > > > score from the Grid-Stat tool, if you've
run FSS
> > for
> > > > > >    multiple
> > > > > > > > > > > > thresholds
> > > > > > > > > > > > > > > and neighborhood sizes.
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > John
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > On Mon, Jan 26, 2015 at 7:28 AM, Geeta
Geeta via
> > RT
> > > > > >    <
> > > > > > > > > > > > met_help at ucar.edu <javascript:;>>
> > > > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > <URL:
> > > > > > > >
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453
> > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > Hi John.
> > > > > > > > > > > > > > > > the link
> > > > > > > > > > > > > >
> > > > > > > >
> > http://www.dtcenter.org/met/users/downloads/analysis_scripts.php
> > > > > > > > > > > > > > > > has the plots for the cnt statistics.
> > > > > > > > > > > > > > > > I am not familiar with R. I am going
thru the
> > > > > >    plot_cnt.R
> > > > > > > > > > script.
> > > > > > > > > > > > > > > > but I want to know what will be the
data format
> > > > > >    for the
> > > > > > > > Quilt
> > > > > > > > > > plot.
> > > > > > > > > > > > > > > > Do I have to write my own script???.
> > > > > > > > > > > > > > > > Kindly let me know about the data
format and
> > how I
> > > > > >    have to
> > > > > > > > > > modify
> > > > > > > > > > > > the
> > > > > > > > > > > > > > > > above script in order to make the
quilt plot.
> > > > > > > > > > > > > > > > Regards
> > > > > > > > > > > > > > > > Geeta
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > Subject: Re: [rt.rap.ucar.edu
#70453]
> > combining
> > > > > >    nc files
> > > > > > > > > > > > together
> > > > > > > > > > > > > > > > > From: met_help at ucar.edu
<javascript:;>
> > > > > > > > > > > > > > > > > To: geeta124 at hotmail.com
<javascript:;>
> > > > > > > > > > > > > > > > > Date: Fri, 23 Jan 2015 11:09:23
-0700
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > Geeta,
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > Regarding 3-hourly RF accumulations,
if MET
> > is
> > > > > >    able to
> > > > > > > > read
> > > > > > > > > > those
> > > > > > > > > > > > > > NetCDF
> > > > > > > > > > > > > > > > > files, you can run them through PCP-
Combine
> > to
> > > > > >    "add"
> > > > > > > > them all
> > > > > > > > > > > > > > together.
> > > > > > > > > > > > > > > > > Just use the example PCP_Combine
command I
> > > > > >    already sent
> > > > > > > > you
> > > > > > > > > > but
> > > > > > > > > > > > > > modify
> > > > > > > > > > > > > > > > the
> > > > > > > > > > > > > > > > > "name" entry to list the name of the
NetCDF
> > > > > >    variable you
> > > > > > > > > > want to
> > > > > > > > > > > > > > use.  If
> > > > > > > > > > > > > > > > > MET is not able to read them, then
it's up to
> > > > > >    you to
> > > > > > > > figure
> > > > > > > > > > out
> > > > > > > > > > > > how
> > > > > > > > > > > > > > to
> > > > > > > > > > > > > > > > > accumulate them.
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > If you're familiar with R, you could
use the
> > > > > >    "ncdf"
> > > > > > > > library
> > > > > > > > > > in R
> > > > > > > > > > > > to
> > > > > > > > > > > > > > read
> > > > > > > > > > > > > > > > > data from one or more NetCDF files,
add them
> > up,
> > > > > >    and
> > > > > > > > write it
> > > > > > > > > > > > out to
> > > > > > > > > > > > > > a
> > > > > > > > > > > > > > > > new
> > > > > > > > > > > > > > > > > file.  Alternatively, "nco" (NetCDF
> > Operators)
> > > > > >    provide
> > > > > > > > some
> > > > > > > > > > > > > > capability of
> > > > > > > > > > > > > > > > > doing simple operations on NetCDF
files.  You
> > > > > >    might be
> > > > > > > > able
> > > > > > > > > > to
> > > > > > > > > > > > use
> > > > > > > > > > > > > > them.
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > Regarding quilt plots, I've only
used R to
> > make
> > > > > >    them in
> > > > > > > > the
> > > > > > > > > > past.
> > > > > > > > > > > > > > > > > Specifically, the "quilt.plot"
function in
> > the R
> > > > > >    package
> > > > > > > > > > named
> > > > > > > > > > > > > > "fields".
> > > > > > > > > > > > > > > > > Please take a look at this website:
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > >
> > http://www.dtcenter.org/met/users/downloads/analysis_scripts.php
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > The Rscript named
"mode_quilt_plot.R"
> > provides
> > > > > >    an
> > > > > > > > example of
> > > > > > > > > > > > using R
> > > > > > > > > > > > > > to
> > > > > > > > > > > > > > > > > make quilt plots.  Example output
from that
> > > > > >    script is
> > > > > > > > also
> > > > > > > > > > > > included
> > > > > > > > > > > > > > on
> > > > > > > > > > > > > > > > that
> > > > > > > > > > > > > > > > > page.
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > Thanks,
> > > > > > > > > > > > > > > > > John
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > On Fri, Jan 23, 2015 at 4:06 AM,
Geeta Geeta
> > via
> > > > > >    RT <
> > > > > > > > > > > > > > met_help at ucar.edu <javascript:;>>
> > > > > > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > <URL:
> > > > > > > > > >
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453
> > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > Hi John. Your help is needed at
every step.
> > > > > >    Now I want
> > > > > > > > to
> > > > > > > > > > know
> > > > > > > > > > > > > > which
> > > > > > > > > > > > > > > > > > software can be used for making
the QUILT
> > plot
> > > > > > > > (intensity
> > > > > > > > > > and
> > > > > > > > > > > > > > spatial
> > > > > > > > > > > > > > > > > > distribution) plot. Can It be done
in using
> > > > > >    MET5.0. How
> > > > > > > > > > Can I
> > > > > > > > > > > > plot
> > > > > > > > > > > > > > the
> > > > > > > > > > > > > > > > > > point data that I used in
MET5.0???KIndly
> > > > > >    guide me.
> > > > > > > > Also
> > > > > > > > > > pls
> > > > > > > > > > > > tell
> > > > > > > > > > > > > > me
> > > > > > > > > > > > > > > > if u
> > > > > > > > > > > > > > > > > > can figure out the issue of 3hrly
RF
> > > > > >    accumulations if
> > > > > > > > the
> > > > > > > > > > files
> > > > > > > > > > > > > > are in
> > > > > > > > > > > > > > > > the
> > > > > > > > > > > > > > > > > > NETCDF format. Geeta
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > From: geeta124 at hotmail.com
<javascript:;>
> > > > > > > > > > > > > > > > > > To: met_help at ucar.edu
<javascript:;>
> > > > > > > > > > > > > > > > > > Subject: RE: [rt.rap.ucar.edu
#70453]
> > > > > >    combining nc
> > > > > > > > files
> > > > > > > > > > > > together
> > > > > > > > > > > > > > > > > > Date: Thu, 22 Jan 2015 16:30:34
+0530
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > thanks John.  the pcp combine tool
uses
> > only
> > > > > >    GRIB1
> > > > > > > > files.
> > > > > > > > > > these
> > > > > > > > > > > > > > were
> > > > > > > > > > > > > > > > > > netcdf files (attaching one).I had
> > downloaded
> > > > > >    the NC
> > > > > > > > files
> > > > > > > > > > from
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > http://mirador.gsfc.nasa.gov/cgi-
> > > > > >    bin/mirador/granlist.pl?page=1&location=(-90,-
> > > > > >
> > > >
> >
180),(90,180)&dataSet=TRMM_3B42&version=007&allversion=007&startTime=2011-
> > > > > >    04-22T00:00:01Z&endTime=2011-04-
> > > > > >    22T23:59:59Z&keyword=TRMM_3B42&longname=TRMM%203-
> > > > > >
> > > >
> >
Hourly%200.25%20deg.%20TRMM%20and%20Others%20Rainfall%20Estimate%20Data&CGISESSID=02499c2107ddfb60a3e46d6b99df3d79&prodpg=
> > > > http://mirador.gsfc.nasa.gov/collections/TRMM_3B42__007.shtmlI
> > > > > > > > > > > > > > > > > > got following error. bash-3.2$
> > > > > >    ./run_pcptool.sh
> > > > > > > > Running PCP
> > > > > > > > > > > > > > > > toolPerforming
> > > > > > > > > > > > > > > > > > addition command for 2
files.Reading input
> > > > > >    file:
> > > > > > > > > > > > > > 3B42.20110422.12.7.nc
> > > > > > > > > > > > > > > > > > GribFile::skip_header() -> can't
find
> > "GRIB"
> > > > > >    magic
> > > > > > > > cookie
> > > > > > > > > > > >  ERROR:
> > > > > > > > > > > > > > > > > > get_field() -> can't open grib
file:
> > > > > > > > 3B42.20110422.12.7.nc
> > > > > > > > > > > > > > > > > > Following is my script--------
!/bin/sh
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >              echo " Running PCP
> > > > > > > > > > > > > > > > > >
> > tool"~/wrf3/utils/met/METv3.0/bin/pcp_combine
> > > > > >    -add
> > > > > > > > > > > > > > > > 3B42.20110422.12.7.nc
> > > > > > > > > > > > > > > > > > 03 3B42.20110422.15.7.nc 03
myoutput.nc
> > > > > > > > > > > > > > > > > > Kindly suggest.
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > the second thing I was thinking to
download
> > > > > >    the TRMM
> > > > > > > > data
> > > > > > > > > > from
> > > > > > > > > > > > > > thelink
> > > > > > > > > > > > > > > > at
> > > > > > > > > > > > > > > > > > DTC website and then converying
the 3
> > hourly
> > > > > >    bins to
> > > > > > > > NC.
> > > > > > > > > > > > > > > > > > 2.2 MBftp://
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > >
> > > > > > > >
> > > > > >
> > > >
> >
disc2.nascom.nasa.gov/data/TRMM/Gridded/3B42_V7/201104/3B42.110422.15z.7.precipitation.bin
> > > > > > > > > > > > > > > > > > But my problem will be to
ACCUMULATE them.
> > I
> > > > > >    need to
> > > > > > > > > > verify the
> > > > > > > > > > > > > > model
> > > > > > > > > > > > > > > > data
> > > > > > > > > > > > > > > > > > starting 06 UTC of day1 to 03UTC
of DAY2. I
> > > > > >    mean how
> > > > > > > > do I
> > > > > > > > > > > > combine
> > > > > > > > > > > > > > all
> > > > > > > > > > > > > > > > the
> > > > > > > > > > > > > > > > > > NC  files together. Kindly suggest
> > > > > > > > > > > > > > > > > > > Subject: Re: [rt.rap.ucar.edu
#70453]
> > > > > >    combining nc
> > > > > > > > files
> > > > > > > > > > > > > > together
> > > > > > > > > > > > > > > > > > > From: met_help at ucar.edu
<javascript:;>
> > > > > > > > > > > > > > > > > > > To: geeta124 at hotmail.com
<javascript:;>
> > > > > > > > > > > > > > > > > > > Date: Wed, 21 Jan 2015 10:45:12
-0700
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > Geeta,
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > I'm assuming the variable in the
NetCDF
> > > > > >    files is
> > > > > > > > named
> > > > > > > > > > > > > > "APCP_03".  If
> > > > > > > > > > > > > > > > > > not,
> > > > > > > > > > > > > > > > > > > just switch in the actual name.
You can
> > run
> > > > > >    the
> > > > > > > > > > following
> > > > > > > > > > > > > > > > pcp_combine
> > > > > > > > > > > > > > > > > > -add
> > > > > > > > > > > > > > > > > > > command:
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > pcp_combine -add \
> > > > > > > > > > > > > > > > > > >    3B42.20110422.09.7.nc
> > 'name="APCP_03";
> > > > > > > > > > level="(*,*)";' \
> > > > > > > > > > > > > > > > > > >    3B42.20110422.12.7.nc
> > 'name="APCP_03";
> > > > > > > > > > level="(*,*)";' \
> > > > > > > > > > > > > > > > > > >    3B42.20110422.15.7.nc
> > 'name="APCP_03";
> > > > > > > > > > level="(*,*)";' \
> > > > > > > > > > > > > > > > > > >    3B42.20110422.18.7.nc
> > 'name="APCP_03";
> > > > > > > > > > level="(*,*)";' \
> > > > > > > > > > > > > > > > > > >    3B42.20110422.21.7.nc
> > 'name="APCP_03";
> > > > > > > > > > level="(*,*)";' \
> > > > > > > > > > > > > > > > > > >    3B42.20110423.00.7.nc
> > 'name="APCP_03";
> > > > > > > > > > level="(*,*)";' \
> > > > > > > > > > > > > > > > > > >    3B42.20110423.03.7.nc
> > 'name="APCP_03";
> > > > > > > > > > level="(*,*)";' \
> > > > > > > > > > > > > > > > > > >    3B42.20110423.06.7.nc
> > 'name="APCP_03";
> > > > > > > > > > level="(*,*)";' \
> > > > > > > > > > > > > > > > > > >    3B42.20110423.06.7_APCP_24.nc
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > The last file listed is just the
output
> > file
> > > > > >    name I
> > > > > > > > > > chose.
> > > > > > > > > > > > But
> > > > > > > > > > > > > > you
> > > > > > > > > > > > > > > > can
> > > > > > > > > > > > > > > > > > > name it whatever you'd like.
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > John
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > On Wed, Jan 21, 2015 at 4:02 AM,
Geeta
> > Geeta
> > > > > >    via RT <
> > > > > > > > > > > > > > > > met_help at ucar.edu <javascript:;>>
> > > > > > > > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > Wed Jan 21 04:02:41 2015:
Request 70453
> > > > > >    was acted
> > > > > > > > upon.
> > > > > > > > > > > > > > > > > > > > Transaction: Ticket created by
> > > > > > > > geeta124 at hotmail.com <javascript:;>
> > > > > > > > > > > > > > > > > > > >        Queue: met_help
> > > > > > > > > > > > > > > > > > > >      Subject: combining nc
files
> > together
> > > > > > > > > > > > > > > > > > > >        Owner: Nobody
> > > > > > > > > > > > > > > > > > > >   Requestors:
geeta124 at hotmail.com
> > > > <javascript:;>
> > > > > > > > > > > > > > > > > > > >       Status: new
> > > > > > > > > > > > > > > > > > > >  Ticket <URL:
> > > > > > > > > > > > > > > >
> > > > > >    https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > Hi John.
> > > > > > > > > > > > > > > > > > > > Sorry to bother you again n
again. But
> > I
> > > > > >    have no
> > > > > > > > > > choice. I
> > > > > > > > > > > > > > want to
> > > > > > > > > > > > > > > > know
> > > > > > > > > > > > > > > > > > > > the followingI have 8 nc
files.
> > bash-3.2$
> > > > > >    ls
> > > > > > > > -ltotal
> > > > > > > > > > > > > > > > 216336-rw-r--r--
> > > > > > > > > > > > > > > > > >   1
> > > > > > > > > > > > > > > > > > > > model    staff      13841488
Jan 21
> > 11:24
> > > > > > > > > > > > > > > > > > 3B42.20110422.06.7.nc-rw-r--r--
> > > > > > > > > > > > > > > > > > > >   1 model    staff
13841488 Jan 21
> > > > > >    11:27
> > > > > > > > > > > > > > > > > > > > 3B42.20110422.09.7.nc-rw-r--
r--    1
> > model
> > > > > >    staff
> > > > > > > > > > > > > > 13841492
> > > > > > > > > > > > > > > > Jan
> > > > > > > > > > > > > > > > > > 21
> > > > > > > > > > > > > > > > > > > > 14:01 3B42.20110422.12.7.nc-
rw-r--r--
> >   1
> > > > > >    model
> > > > > > > > > > staff
> > > > > > > > > > > > > > > > > > 13841492 Jan
> > > > > > > > > > > > > > > > > > > > 21 13:16
> > 3B42.20110422.15.7.nc-rw-r--r--
> > > > > >    1 model
> > > > > > > > > > > > staff
> > > > > > > > > > > > > > > > > > 13841492
> > > > > > > > > > > > > > > > > > > > Jan 21 14:51
> > 3B42.20110422.18.7.nc-rw-r--
> > > > > >    r--    1
> > > > > > > > model
> > > > > > > > > > > > > > staff
> > > > > > > > > > > > > > > > > > > > 13841492 Jan 21 13:21
> > > > > > > > 3B42.20110422.21.7.nc-rw-r--r--
> > > > > > > > > >   1
> > > > > > > > > > > > > > model
> > > > > > > > > > > > > > > > > > staff
> > > > > > > > > > > > > > > > > > > >     13841488 Jan 21 13:22
> > > > > > > > > > 3B42.20110423.00.7.nc-rw-r--r--
> > > > > > > > > > > >   1
> > > > > > > > > > > > > > > > model
> > > > > > > > > > > > > > > > > > > > staff      13841488 Jan 21
13:50
> > > > > > > > > > > > > > 3B42.20110423.03.7.ncbash-3.2$ pwd
> > > > > > > > > > > > > > > > > > > > I need to make ONE 24 hour RF
> > accumulated
> > > > > >    file
> > > > > > > > starting
> > > > > > > > > > > > 06UTC
> > > > > > > > > > > > > > of
> > > > > > > > > > > > > > > > > > > > 22.04.2011 - 03UTC of
23.04.2011. How
> > do I
> > > > > >    do
> > > > > > > > that???
> > > > > > > > > > > > > > > > > > > > Geeta
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > >
> > > > >
> > > > >
> > > >
> > > >
> > >
> >
> >
>

------------------------------------------------
Subject: combining nc files together
From: Geeta Geeta
Time: Fri Feb 20 03:15:49 2015

VERSION MODEL FCST_LEAD FCST_VALID_BEG  FCST_VALID_END  OBS_LEAD
OBS_VALID_BEG   OBS_VALID_END   FCST_VAR FCST_LEV OBS_VAR OBS_LEV
OBTYPE VX_MASK INTERP_MTHD INTERP_PNTS FCST_THRESH OBS_THRESH
COV_THRESH   ALPHA LINE_TYPE TOTAL     FBS FBS_BCL FBS_BCU     FSS
FSS_BCL FSS_BCU    AFSS AFSS_BCL AFSS_BCU    UFSS UFSS_BCL UFSS_BCU
F_RATE F_RATE_BCL F_RATE_BCU  O_RATE O_RATE_BCL O_RATE_BCU
V5.0    WRF   270000    20060620_030000 20060620_030000 240000
20060620_000000 20060620_000000 APCP     A24      APCP    A24
MC_PCP FULL    NBRHD                 9     >=0.100    >=0.100
NA 0.05000 NBRCNT      870 0.09852      NA      NA 0.91075      NA
NA 0.98789       NA       NA 0.78851       NA       NA 0.67471
NA         NA 0.57701         NA         NA
V5.0    WRF   270000    20060620_030000 20060620_030000 240000
20060620_000000 20060620_000000 APCP     A24      APCP    A24
MC_PCP APL     NBRHD                 9     >=0.100    >=0.100
NA 0.05000 NBRCNT      554 0.08154      NA      NA 0.93194      NA
NA 0.98720       NA       NA 0.80505       NA       NA 0.71661
NA         NA 0.61011         NA         NA

------------------------------------------------
Subject: combining nc files together
From: Geeta Geeta
Time: Fri Feb 20 03:24:20 2015

John another thing. for my data, 37x37=1309. Some points will have 0
values too. Why am I getting 870???. What grid points have been left
out???
In my experiment case I should get 9x9=81 MPRS?.
Correct??????????????MPRS in this context is the Number of grids in
FCST and Observations. But the CO-LOCATED OBS and FCST grid point may
have different values (say 0 for OBS but 1 in FCST) after we convert
that into Binary???
Also U have not explained me about the calculation of F0 (Random
FCST). How to calculate that or does GRID_STAT will calculate for
me????. Pls tell me these 3 things/questions!!!!!!!!!ThanksGeeta

From: geeta124 at hotmail.com
To: met_help at ucar.edu
Subject: RE: [rt.rap.ucar.edu #70453] combining nc files together
Date: Fri, 20 Feb 2015 15:45:43 +0530




Hi John. I was trying to mask my entire domain except 9x9 points in
the CENTRE using the following entry in the GridStatConfig file.  MY
purpose was to retain only 9x9 points both in FCST and OBSERVATION so
that I can calculate the FBS and FSS for these mannually. I
used--------------
////////////////////////////////////////////////////////////////////////////////
//// Verification masking regions//mask = {   grid = [ "FULL" ];
poly = ["mydom.poly"];};
I have put the file mydom.ploy in the directory.
.................................... and my working dir. So grid stat
run fine.
ditya at agniilap:~/geeta/MET5.0/met-5.0/data/poly$
pwd/home/aditya/geeta/MET5.0/met-
5.0/data/polyaditya at agniilap:~/geeta/MET5.0/met-5.0/data/poly$
lsAPL.poly    EAST.poly  HMT_masks    Makefile.in       NAK.poly
NPL.poly  SAK.poly  SPO.polyATC.poly    ECA.poly   HWI.poly
MDW.poly          NAO.poly             NPO.poly  SAO.poly
SWC.polyCAM.poly    GLF.poly   LMV.poly     MEX.poly
ncep_vx_regions.pdf  NSA.poly  SEC.poly  SWD.polyCAR.poly    GMC.poly
Makefile     MLB_Stadiums.txt  NEC.poly             NWC.poly  SMT.poly
WCA.polyCONUS.poly  GRB.poly   Makefile.am  mydom.poly        NMT.poly
PRI.poly  SPL.poly  WEST.polyaditya at agniilap:~/geeta/MET5.0/met-
5.0/data/poly$ it Looks like......................APL9.0
74.018.25     74.018.25     78.09.0       78.018.25     78.014.25
78.2514.25     78.7518.25     78.7513.25     78.2509.0      78.2509.0
78.7513.25     78.7518.25     79.009.00     79.018.25     83.2509.00
83.25~
~  Grid_stat was run perfectly but when I look at the
the O/P. vi  ./out-
19jun2006_w7/grid_stat_270000L_20060620_030000V_nbrcnt.txt
I get again 870 and 554 TOTAL MPRS. What is meant by these numbers???.
I am sending you the O/P. Pls tell me what's happening????

I am sending you 3 files. CONFIG file, mydom.poly and O/P file.
According to me, there should be 9 MPRS???.
Also, Some more background information. My Domain starts from 9/74E
and 37x37 points in the X and Y directions, Final grid point would be
18.25/83.25.  @ rate of 25kmx25km. (TRMM data). So I have masked the
entire domain (by using poly file) except these 4 points, extremes of
those are given below.
13.5/78.25 to 14.0/78.75 . (lat will vary like 13.5,13.75,14 and lon
will vary 78.25,78.5,78.75).
Pls tell me about the MPRS that got generated. ?????ie. 870 and
554???. Geeta
> Subject: Re: [rt.rap.ucar.edu #70453] combining nc files together
> From: met_help at ucar.edu
> To: geeta124 at hotmail.com
> Date: Thu, 19 Feb 2015 10:59:15 -0700
>
> Geeta,
>
> I think that's a great idea for you to work through the details by
hand to
> understand how the score is being computed.  Figure 6 is just a
little
> cartoon done in powerpoint to demonstrate the computation logic.  It
wasn't
> computed using any real data.
>
> John
>
> On Thu, Feb 19, 2015 at 8:26 AM, Geeta Geeta via RT
<met_help at ucar.edu>
> wrote:
>
> >
> > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453 >
> >
> > Hi John. I want to know, Can I make the Figure 6 that is there in
Your
> > paper. I mean the Forecast Grids or the OBSERVATION grids where
the
> > thresholds increases a specified value.
> > I wish to calculate the FSS manuually so that I absorb the idea.
> >
> >
> > Geeta
> >
> > > Subject: Re: [rt.rap.ucar.edu #70453] combining nc files
together
> > > From: met_help at ucar.edu
> > > To: geeta124 at hotmail.com
> > > Date: Thu, 19 Feb 2015 07:38:56 -0700
> > >
> > > Geeta,
> > >
> > > No, it does not.  It is in our list of tasks for future
development, but
> > > isn't in there yet.  You can only get neighborhood output from
grid-stat,
> > > not point-stat.
> > >
> > > Thanks
> > > John
> > >
> > > On Thursday, February 19, 2015, Geeta Geeta via RT
<met_help at ucar.edu>
> > > wrote:
> > >
> > > >
> > > > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453
>
> > > >
> > > > Hi Tressa and John.
> > > > I want to know if MET5.0 has neighborhood methods defined for
point
> > > > observations???.
> > > > If Yes, Pls guide me with this.
> > > > Geeta
> > > >
> > > >
> > > > > Subject: [rt.rap.ucar.edu #70453] combining nc files
together
> > > > > From: met_help at ucar.edu <javascript:;>
> > > > > To: geeta124 at hotmail.com <javascript:;>
> > > > > Date: Tue, 17 Feb 2015 13:47:07 -0700
> > > > >
> > > > > Hi Geeta,
> > > > >
> > > > > The paper we sent was not A reference, it was THE reference,
the
> > > > original published work on the FSS. Of course, algebra allows
> > equations to
> > > > be expressed in many equivalent formats. Feel free to use
whichever
> > form
> > > > you like.
> > > > >
> > > > > The Spatial Vx package has many verification methods, but it
is
> > > > relatively new and untested. I'm sure you can reference that
package's
> > > > documentation for full details of the available methods.
> > > > >
> > > > > Happy verifying,
> > > > >
> > > > > Tressa
> > > > >
> > > > > On Mon Feb 16 04:32:17 2015, geeta124 at hotmail.com
<javascript:;>
> > wrote:
> > > > > > Hi John.
> > > > > > In Your article, FSS is defined as the
> > > > > > FSS (n) = 1 - (MSE(n)/MSE(n) ref).
> > > > > >
> > > > > > In another paper's I found it to be little different. It
was
> > related
> > > > > >    to the FBS Fractional Brier Score.
> > > > > >
> > > > > > Can U pls explain be the differences???.
> > > > > > Also I came across SpatialVx package.
> > > > > > Does that also provide all the verification procedures???
> > > > > > Geeta
> > > > > >
> > > > > >
> > > > > > From: geeta124 at hotmail.com <javascript:;>
> > > > > > To: met_help at ucar.edu <javascript:;>
> > > > > > Subject: RE: [rt.rap.ucar.edu #70453] combining nc files
together
> > > > > > Date: Thu, 12 Feb 2015 11:14:17 +0530
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > > hi John.
> > > > > > I had read ur article that U have sent reg the FSS and the
MODE
> > tools.
> > > > > >    I could not understand the meaning of FORECAST SKILL
associated
> > > > > >    with Uniform FOrECAST. This is what is mentioed in the
FSS
> > section
> > > > > >    of Ur article.
> > > > > > I didnt understand the concept/idea. if U could just
explain a
> > little
> > > > > >    more I can build/read some articles that you would
suggest.
> > > > > > Thanks for ur help.
> > > > > > Geeta
> > > > > >
> > > > > > > Subject: Re: [rt.rap.ucar.edu #70453] combining nc files
> > together
> > > > > > > From: met_help at ucar.edu <javascript:;>
> > > > > > > To: geeta124 at hotmail.com <javascript:;>
> > > > > > > Date: Wed, 11 Feb 2015 10:17:33 -0700
> > > > > > >
> > > > > > > Geeta,
> > > > > > >
> > > > > > > I think your reference to an article must be from a
different
> > email
> > > > > >    chain.
> > > > > > >
> > > > > > > I see that you're asking about "FORECAST skill
associated with
> > the
> > > > > >    Uniform
> > > > > > > forecast".  Are you looking for more references related
to
> > > > > >    neighborhood
> > > > > > > verification statistics, like Fractions Skill Score?
> > > > > > >
> > > > > > > Thanks,
> > > > > > > John
> > > > > > >
> > > > > > > On Mon, Feb 9, 2015 at 1:53 AM, Geeta Geeta via RT
> > > > > >    <met_help at ucar.edu <javascript:;>>
> > > > > > > wrote:
> > > > > > >
> > > > > > > >
> > > > > > > > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453
> > >
> > > > > > > >
> > > > > > > > Hi John.
> > > > > > > > Thanks for the article. It is very informative.
> > > > > > > > I dont know if i should be asking at this forum, the
meaning of
> > > > > >    the
> > > > > > > > "FORECAST skill associated with the Uniform forecast"
as you
> > have
> > > > > >    mentioned
> > > > > > > > in your paper.
> > > > > > > > If U give me some references, it would be great.
> > > > > > > > Geeta
> > > > > > > >
> > > > > > > > > Subject: Re: [rt.rap.ucar.edu #70453] combining nc
files
> > > > > >    together
> > > > > > > > > From: met_help at ucar.edu <javascript:;>
> > > > > > > > > To: geeta124 at hotmail.com <javascript:;>
> > > > > > > > > Date: Thu, 5 Feb 2015 10:33:59 -0700
> > > > > > > > >
> > > > > > > > > Geeta,
> > > > > > > > >
> > > > > > > > > You're correct, you can only use the "sum" command
of
> > > > > >    pcp_combine for
> > > > > > > > GRIB1
> > > > > > > > > or GRIB2 files...
> > > > > > > > >
> > > > > > > > > But, you can use the "add" command on any gridded
data file
> > > > > >    format that
> > > > > > > > MET
> > > > > > > > > supports.  Adding together 8 NetCDF files with
pcp_combine
> > would
> > > > > >    look
> > > > > > > > > something like this:
> > > > > > > > >
> > > > > > > > > pcp_combine -add \
> > > > > > > > > file1.nc 'name="APCP_03"; level="(*,*)";' \
> > > > > > > > > file2.nc 'name="APCP_03"; level="(*,*)";' \
> > > > > > > > > ...
> > > > > > > > > file8.nc 'name="APCP_03"; level="(*,*)";' \
> > > > > > > > > APCP_24.nc
> > > > > > > > >
> > > > > > > > > It makes for a longer command line, but it is
possible to do
> > > > > >    with
> > > > > > > > > pcp_combine.
> > > > > > > > >
> > > > > > > > > John
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > On Thu, Feb 5, 2015 at 2:02 AM, Geeta Geeta via RT
> > > > > >    <met_help at ucar.edu <javascript:;>>
> > > > > > > > > wrote:
> > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > <URL:
> > https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453
> > > > > >    >
> > > > > > > > > >
> > > > > > > > > > Hi John.
> > > > > > > > > > Thanks for wonderful ideas.
> > > > > > > > > > The first one is working. but I have yet to run
grid_stat
> > to
> > > > > >    see if
> > > > > > > > > > everything is working finally. I ll try the
ncatted.
> > > > > > > > > >
> > > > > > > > > > To sum up all the nc files (for the times that I
want), I
> > did
> > > > > >    try the
> > > > > > > > > > pcp_combine. But I guess It only works for the
GRIB files.
> > > > > > > > > > I have sent to u the error before. I tried to use
MET3.0
> > for
> > > > > >    that
> > > > > > > > which is
> > > > > > > > > > installed in my HPC.
> > > > > > > > > > I have 5.0 on my personal system. Will try that
exercise in
> > > > > >    this
> > > > > > > > system.
> > > > > > > > > > Thanks again for your help.
> > > > > > > > > > Geeta
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > > Subject: Re: [rt.rap.ucar.edu #70453] combining
nc files
> > > > > >    together
> > > > > > > > > > > From: met_help at ucar.edu <javascript:;>
> > > > > > > > > > > To: geeta124 at hotmail.com <javascript:;>
> > > > > > > > > > > Date: Wed, 4 Feb 2015 11:21:19 -0700
> > > > > > > > > > >
> > > > > > > > > > > Geeta,
> > > > > > > > > > >
> > > > > > > > > > > The trmmbin2nc.R script is set up to only handle
the TRMM
> > > > > >    binary data
> > > > > > > > > > > exactly from that website.  The timing
information for
> > that
> > > > > >    binary
> > > > > > > > data
> > > > > > > > > > is
> > > > > > > > > > > only contained in the file name, and you've
renamed those
> > > > > >    files.  So
> > > > > > > > the
> > > > > > > > > > > script doesn't know how to parse them.
> > > > > > > > > > >
> > > > > > > > > > > Here's 2 options:
> > > > > > > > > > > (1) Rename that file using the "daily" file
naming
> > > > > >    conventions:
> > > > > > > > > > >    cp Obs22apr2011.bin
3B42_daily.2011.04.22.7.bin
> > > > > > > > > > >    Rscript 3B42_daily.2011.04.22.7.bin
> > > > > >    3B42_daily.2011.04.22.7.nc
> > > > > > > > > > >
> > > > > > > > > > > That will produce output but it'll assume the
> > precipitation
> > > > > >    is
> > > > > > > > > > accumulated
> > > > > > > > > > > for 24-hours from 20110422 00Z to 20110423 00Z.
If the
> > > > > >    times should
> > > > > > > > be
> > > > > > > > > > > something different you could... edit the
Rscript to use
> > the
> > > > > >    times
> > > > > > > > you
> > > > > > > > > > > want... or use the "ncatted" tool to modify the
timing
> > > > > >    information
> > > > > > > > listed
> > > > > > > > > > > in the output NetCDF file.
> > > > > > > > > > >
> > > > > > > > > > > (2) Or, as we've discussed in the past, you
could run
> > each
> > > > > >    of the
> > > > > > > > 3-hour
> > > > > > > > > > > files through the trmmbin2nc.R script and write
out
> > NetCDF
> > > > > >    files.
> > > > > > > > Then
> > > > > > > > > > run
> > > > > > > > > > > those 3-hourly NetCDF files through pcp_combine
to add
> > them
> > > > > >    up.
> > > > > > > > > > >
> > > > > > > > > > > Thanks,
> > > > > > > > > > > John
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > On Sun, Feb 1, 2015 at 11:27 PM, Geeta Geeta via
RT <
> > > > > > > > met_help at ucar.edu <javascript:;>>
> > > > > > > > > > > wrote:
> > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > <URL:
> > > > > >    https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453
>
> > > > > > > > > > > >
> > > > > > > > > > > > Hi John.
> > > > > > > > > > > > This is an old Ticket. Kindly sort this issue
too.
> > > > > > > > > > > > I was able to sum up all the 3 hourly TRMM
files and
> > then
> > > > > >    convert
> > > > > > > > the
> > > > > > > > > > > > final file into One called Obs22apr2011.bin.
> > > > > > > > > > > > I had used Grads for summing up all the 8
files. and
> > now I
> > > > > >    am using
> > > > > > > > > > the R
> > > > > > > > > > > > script for
> > > > > > > > > > > > converting into NC.
> > > > > > > > > > > > But I got the error.
> > > > > > > > > > > > aditya at agniilap
> > :~/geeta/installs/met/RUN_MET-22apr2011$
> > > > > >    Rscript
> > > > > > > > > > > > ../trmm_to_nc/trmmbin2nc_mod.R
Obs22apr2011.bin
> > > > > >    Obs22apr2011.nc
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > ERROR: Can't figure out the accumulation
interval!I am
> > > > > >    sending you
> > > > > > > > the
> > > > > > > > > > > > data that I converted using Grads.
> > > > > > > > > > > > Geeta
> > > > > > > > > > > >
> > > > > > > > > > > > > Subject: Re: [rt.rap.ucar.edu #70453]
combining nc
> > files
> > > > > > > > together
> > > > > > > > > > > > > From: met_help at ucar.edu <javascript:;>
> > > > > > > > > > > > > To: geeta124 at hotmail.com <javascript:;>
> > > > > > > > > > > > > Date: Fri, 30 Jan 2015 11:04:18 -0700
> > > > > > > > > > > > >
> > > > > > > > > > > > > Geeta,
> > > > > > > > > > > > >
> > > > > > > > > > > > > I don't have time to adapt that Rscript for
your use
> > > > > >    with
> > > > > > > > Grid-Stat.
> > > > > > > > > > > > > However, we did do something very similar
for a
> > previous
> > > > > > > > project.  I
> > > > > > > > > > have
> > > > > > > > > > > > > attached an Rscript named "fss_quilt_plot.R"
you
> > could
> > > > > >    easily
> > > > > > > > adapt
> > > > > > > > > > to
> > > > > > > > > > > > > create a quilt plot for your data.  I've
also
> > attached a
> > > > > >    copy of
> > > > > > > > the
> > > > > > > > > > > > paper
> > > > > > > > > > > > > for which this script was used.  Please look
at
> > figure
> > > > > >    7.
> > > > > > > > > > > > >
> > > > > > > > > > > > > Thanks,
> > > > > > > > > > > > > John
> > > > > > > > > > > > >
> > > > > > > > > > > > > On Fri, Jan 30, 2015 at 1:03 AM, Geeta Geeta
via RT <
> > > > > > > > > > met_help at ucar.edu <javascript:;>>
> > > > > > > > > > > > > wrote:
> > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > <URL:
> > > > > >    https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453
> > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Hi John.
> > > > > > > > > > > > > > I changed different widths in the
configuration
> > file.
> > > > > > > > > > (Width=1,3,5,,7
> > > > > > > > > > > > etc).
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > // Neighborhood methods
> > > > > > > > > > > > > > //
> > > > > > > > > > > > > > nbrhd = {
> > > > > > > > > > > > > >    vld_thresh = 1.0;
> > > > > > > > > > > > > >    width      = [ 7 ];
> > > > > > > > > > > > > >    cov_thresh = [ >=0.5 ];
> > > > > > > > > > > > > > }
> > > > > > > > > > > > > > and got various outputs (for different
widths)
> > which
> > > > > >    are in
> > > > > > > > > > different
> > > > > > > > > > > > > > directories.
> > > > > > > > > > > > > > Now I saw the R script on the website
which is
> > > > > >    probably
> > > > > > > > > > exclusively for
> > > > > > > > > > > > > > the MODE TOOL only.
> > > > > > > > > > > > > > Now my question is how to make the quilt
plot for
> > the
> > > > > >    GRid stat
> > > > > > > > > > > > tool???.
> > > > > > > > > > > > > > Sorry I m not familiar with R  now.
> > > > > > > > > > > > > > Pls help.
> > > > > > > > > > > > > > Geeta.
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > From: geeta124 at hotmail.com <javascript:;>
> > > > > > > > > > > > > > To: met_help at ucar.edu <javascript:;>
> > > > > > > > > > > > > > Subject: RE: [rt.rap.ucar.edu #70453]
combining nc
> > > > > >    files
> > > > > > > > together
> > > > > > > > > > > > > > Date: Thu, 29 Jan 2015 17:05:25 +0530
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Hi John.
> > > > > > > > > > > > > > So I was able to sum up all the 3 hourly
TRMM files
> > > > > >    and then
> > > > > > > > > > convert
> > > > > > > > > > > > the
> > > > > > > > > > > > > > final file into One called
Obs22apr2011.bin.
> > > > > > > > > > > > > > I have done that using Grads and now I am
using
> > the R
> > > > > >    script
> > > > > > > > for
> > > > > > > > > > > > > > converting into NC.
> > > > > > > > > > > > > > But I got the error.
> > > > > > > > > > > > > >
aditya at agniilap:~/geeta/installs/met/RUN_MET-
> > > > > >    22apr2011$
> > > > > > > > Rscript
> > > > > > > > > > > > > > ../trmm_to_nc/trmmbin2nc_mod.R
Obs22apr2011.bin
> > > > > >    Obs22apr2011.nc
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > ERROR: Can't figure out the accumulation
interval!
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > I am sending you the data files and the R
script (I
> > > > > >    changed the
> > > > > > > > > > > > domain).
> > > > > > > > > > > > > > The data is plotted fine. Also pls tell me
about
> > the
> > > > > >    ncview
> > > > > > > > > > questions
> > > > > > > > > > > > that
> > > > > > > > > > > > > > I was asking. reg the plotting of MPR's
> > > > > > > > > > > > > > Kindly suggest.
> > > > > > > > > > > > > > Geeta
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > > Subject: Re: [rt.rap.ucar.edu #70453]
combining
> > nc
> > > > > >    files
> > > > > > > > > > together
> > > > > > > > > > > > > > > From: met_help at ucar.edu <javascript:;>
> > > > > > > > > > > > > > > To: geeta124 at hotmail.com <javascript:;>
> > > > > > > > > > > > > > > Date: Mon, 26 Jan 2015 09:58:32 -0700
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > Geeta,
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > On that webpage (
> > > > > > > > > > > > > > >
> > > > > > > >
> > http://www.dtcenter.org/met/users/downloads/analysis_scripts.php
> > > > > > > > > > ),
> > > > > > > > > > > > > > please
> > > > > > > > > > > > > > > look specifically at the script named
> > > > > >    "mode_quilt_plot.R".
> > > > > > > > > > Here's
> > > > > > > > > > > > the
> > > > > > > > > > > > > > > direct link to that script:
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > >
> > > > > >
> > > >
http://www.dtcenter.org/met/users/downloads/Rscripts/mode_quilt_plot.R
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > And here's a direct link to the sample
output
> > that
> > > > > >    script
> > > > > > > > > > creates:
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > >
> > > > > > > >
> > > > > >
> > > >
> >
http://www.dtcenter.org/met/users/downloads/Rscripts/SAMPLE_mode_quilts.pdf
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > This is an example of using R to make a
quilt
> > plot
> > > > > >    for the
> > > > > > > > > > output of
> > > > > > > > > > > > the
> > > > > > > > > > > > > > > MODE tool.  You might also use a quilt
plot to
> > > > > >    display
> > > > > > > > fractions
> > > > > > > > > > > > skill
> > > > > > > > > > > > > > > score from the Grid-Stat tool, if you've
run FSS
> > for
> > > > > >    multiple
> > > > > > > > > > > > thresholds
> > > > > > > > > > > > > > > and neighborhood sizes.
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > John
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > On Mon, Jan 26, 2015 at 7:28 AM, Geeta
Geeta via
> > RT
> > > > > >    <
> > > > > > > > > > > > met_help at ucar.edu <javascript:;>>
> > > > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > <URL:
> > > > > > > >
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453
> > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > Hi John.
> > > > > > > > > > > > > > > > the link
> > > > > > > > > > > > > >
> > > > > > > >
> > http://www.dtcenter.org/met/users/downloads/analysis_scripts.php
> > > > > > > > > > > > > > > > has the plots for the cnt statistics.
> > > > > > > > > > > > > > > > I am not familiar with R. I am going
thru the
> > > > > >    plot_cnt.R
> > > > > > > > > > script.
> > > > > > > > > > > > > > > > but I want to know what will be the
data format
> > > > > >    for the
> > > > > > > > Quilt
> > > > > > > > > > plot.
> > > > > > > > > > > > > > > > Do I have to write my own script???.
> > > > > > > > > > > > > > > > Kindly let me know about the data
format and
> > how I
> > > > > >    have to
> > > > > > > > > > modify
> > > > > > > > > > > > the
> > > > > > > > > > > > > > > > above script in order to make the
quilt plot.
> > > > > > > > > > > > > > > > Regards
> > > > > > > > > > > > > > > > Geeta
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > Subject: Re: [rt.rap.ucar.edu
#70453]
> > combining
> > > > > >    nc files
> > > > > > > > > > > > together
> > > > > > > > > > > > > > > > > From: met_help at ucar.edu
<javascript:;>
> > > > > > > > > > > > > > > > > To: geeta124 at hotmail.com
<javascript:;>
> > > > > > > > > > > > > > > > > Date: Fri, 23 Jan 2015 11:09:23
-0700
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > Geeta,
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > Regarding 3-hourly RF accumulations,
if MET
> > is
> > > > > >    able to
> > > > > > > > read
> > > > > > > > > > those
> > > > > > > > > > > > > > NetCDF
> > > > > > > > > > > > > > > > > files, you can run them through PCP-
Combine
> > to
> > > > > >    "add"
> > > > > > > > them all
> > > > > > > > > > > > > > together.
> > > > > > > > > > > > > > > > > Just use the example PCP_Combine
command I
> > > > > >    already sent
> > > > > > > > you
> > > > > > > > > > but
> > > > > > > > > > > > > > modify
> > > > > > > > > > > > > > > > the
> > > > > > > > > > > > > > > > > "name" entry to list the name of the
NetCDF
> > > > > >    variable you
> > > > > > > > > > want to
> > > > > > > > > > > > > > use.  If
> > > > > > > > > > > > > > > > > MET is not able to read them, then
it's up to
> > > > > >    you to
> > > > > > > > figure
> > > > > > > > > > out
> > > > > > > > > > > > how
> > > > > > > > > > > > > > to
> > > > > > > > > > > > > > > > > accumulate them.
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > If you're familiar with R, you could
use the
> > > > > >    "ncdf"
> > > > > > > > library
> > > > > > > > > > in R
> > > > > > > > > > > > to
> > > > > > > > > > > > > > read
> > > > > > > > > > > > > > > > > data from one or more NetCDF files,
add them
> > up,
> > > > > >    and
> > > > > > > > write it
> > > > > > > > > > > > out to
> > > > > > > > > > > > > > a
> > > > > > > > > > > > > > > > new
> > > > > > > > > > > > > > > > > file.  Alternatively, "nco" (NetCDF
> > Operators)
> > > > > >    provide
> > > > > > > > some
> > > > > > > > > > > > > > capability of
> > > > > > > > > > > > > > > > > doing simple operations on NetCDF
files.  You
> > > > > >    might be
> > > > > > > > able
> > > > > > > > > > to
> > > > > > > > > > > > use
> > > > > > > > > > > > > > them.
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > Regarding quilt plots, I've only
used R to
> > make
> > > > > >    them in
> > > > > > > > the
> > > > > > > > > > past.
> > > > > > > > > > > > > > > > > Specifically, the "quilt.plot"
function in
> > the R
> > > > > >    package
> > > > > > > > > > named
> > > > > > > > > > > > > > "fields".
> > > > > > > > > > > > > > > > > Please take a look at this website:
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > >
> > http://www.dtcenter.org/met/users/downloads/analysis_scripts.php
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > The Rscript named
"mode_quilt_plot.R"
> > provides
> > > > > >    an
> > > > > > > > example of
> > > > > > > > > > > > using R
> > > > > > > > > > > > > > to
> > > > > > > > > > > > > > > > > make quilt plots.  Example output
from that
> > > > > >    script is
> > > > > > > > also
> > > > > > > > > > > > included
> > > > > > > > > > > > > > on
> > > > > > > > > > > > > > > > that
> > > > > > > > > > > > > > > > > page.
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > Thanks,
> > > > > > > > > > > > > > > > > John
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > On Fri, Jan 23, 2015 at 4:06 AM,
Geeta Geeta
> > via
> > > > > >    RT <
> > > > > > > > > > > > > > met_help at ucar.edu <javascript:;>>
> > > > > > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > <URL:
> > > > > > > > > >
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453
> > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > Hi John. Your help is needed at
every step.
> > > > > >    Now I want
> > > > > > > > to
> > > > > > > > > > know
> > > > > > > > > > > > > > which
> > > > > > > > > > > > > > > > > > software can be used for making
the QUILT
> > plot
> > > > > > > > (intensity
> > > > > > > > > > and
> > > > > > > > > > > > > > spatial
> > > > > > > > > > > > > > > > > > distribution) plot. Can It be done
in using
> > > > > >    MET5.0. How
> > > > > > > > > > Can I
> > > > > > > > > > > > plot
> > > > > > > > > > > > > > the
> > > > > > > > > > > > > > > > > > point data that I used in
MET5.0???KIndly
> > > > > >    guide me.
> > > > > > > > Also
> > > > > > > > > > pls
> > > > > > > > > > > > tell
> > > > > > > > > > > > > > me
> > > > > > > > > > > > > > > > if u
> > > > > > > > > > > > > > > > > > can figure out the issue of 3hrly
RF
> > > > > >    accumulations if
> > > > > > > > the
> > > > > > > > > > files
> > > > > > > > > > > > > > are in
> > > > > > > > > > > > > > > > the
> > > > > > > > > > > > > > > > > > NETCDF format. Geeta
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > From: geeta124 at hotmail.com
<javascript:;>
> > > > > > > > > > > > > > > > > > To: met_help at ucar.edu
<javascript:;>
> > > > > > > > > > > > > > > > > > Subject: RE: [rt.rap.ucar.edu
#70453]
> > > > > >    combining nc
> > > > > > > > files
> > > > > > > > > > > > together
> > > > > > > > > > > > > > > > > > Date: Thu, 22 Jan 2015 16:30:34
+0530
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > thanks John.  the pcp combine tool
uses
> > only
> > > > > >    GRIB1
> > > > > > > > files.
> > > > > > > > > > these
> > > > > > > > > > > > > > were
> > > > > > > > > > > > > > > > > > netcdf files (attaching one).I had
> > downloaded
> > > > > >    the NC
> > > > > > > > files
> > > > > > > > > > from
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > http://mirador.gsfc.nasa.gov/cgi-
> > > > > >    bin/mirador/granlist.pl?page=1&location=(-90,-
> > > > > >
> > > >
> >
180),(90,180)&dataSet=TRMM_3B42&version=007&allversion=007&startTime=2011-
> > > > > >    04-22T00:00:01Z&endTime=2011-04-
> > > > > >    22T23:59:59Z&keyword=TRMM_3B42&longname=TRMM%203-
> > > > > >
> > > >
> >
Hourly%200.25%20deg.%20TRMM%20and%20Others%20Rainfall%20Estimate%20Data&CGISESSID=02499c2107ddfb60a3e46d6b99df3d79&prodpg=
> > > > http://mirador.gsfc.nasa.gov/collections/TRMM_3B42__007.shtmlI
> > > > > > > > > > > > > > > > > > got following error. bash-3.2$
> > > > > >    ./run_pcptool.sh
> > > > > > > > Running PCP
> > > > > > > > > > > > > > > > toolPerforming
> > > > > > > > > > > > > > > > > > addition command for 2
files.Reading input
> > > > > >    file:
> > > > > > > > > > > > > > 3B42.20110422.12.7.nc
> > > > > > > > > > > > > > > > > > GribFile::skip_header() -> can't
find
> > "GRIB"
> > > > > >    magic
> > > > > > > > cookie
> > > > > > > > > > > >  ERROR:
> > > > > > > > > > > > > > > > > > get_field() -> can't open grib
file:
> > > > > > > > 3B42.20110422.12.7.nc
> > > > > > > > > > > > > > > > > > Following is my script--------
!/bin/sh
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >              echo " Running PCP
> > > > > > > > > > > > > > > > > >
> > tool"~/wrf3/utils/met/METv3.0/bin/pcp_combine
> > > > > >    -add
> > > > > > > > > > > > > > > > 3B42.20110422.12.7.nc
> > > > > > > > > > > > > > > > > > 03 3B42.20110422.15.7.nc 03
myoutput.nc
> > > > > > > > > > > > > > > > > > Kindly suggest.
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > the second thing I was thinking to
download
> > > > > >    the TRMM
> > > > > > > > data
> > > > > > > > > > from
> > > > > > > > > > > > > > thelink
> > > > > > > > > > > > > > > > at
> > > > > > > > > > > > > > > > > > DTC website and then converying
the 3
> > hourly
> > > > > >    bins to
> > > > > > > > NC.
> > > > > > > > > > > > > > > > > > 2.2 MBftp://
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > >
> > > > > > > >
> > > > > >
> > > >
> >
disc2.nascom.nasa.gov/data/TRMM/Gridded/3B42_V7/201104/3B42.110422.15z.7.precipitation.bin
> > > > > > > > > > > > > > > > > > But my problem will be to
ACCUMULATE them.
> > I
> > > > > >    need to
> > > > > > > > > > verify the
> > > > > > > > > > > > > > model
> > > > > > > > > > > > > > > > data
> > > > > > > > > > > > > > > > > > starting 06 UTC of day1 to 03UTC
of DAY2. I
> > > > > >    mean how
> > > > > > > > do I
> > > > > > > > > > > > combine
> > > > > > > > > > > > > > all
> > > > > > > > > > > > > > > > the
> > > > > > > > > > > > > > > > > > NC  files together. Kindly suggest
> > > > > > > > > > > > > > > > > > > Subject: Re: [rt.rap.ucar.edu
#70453]
> > > > > >    combining nc
> > > > > > > > files
> > > > > > > > > > > > > > together
> > > > > > > > > > > > > > > > > > > From: met_help at ucar.edu
<javascript:;>
> > > > > > > > > > > > > > > > > > > To: geeta124 at hotmail.com
<javascript:;>
> > > > > > > > > > > > > > > > > > > Date: Wed, 21 Jan 2015 10:45:12
-0700
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > Geeta,
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > I'm assuming the variable in the
NetCDF
> > > > > >    files is
> > > > > > > > named
> > > > > > > > > > > > > > "APCP_03".  If
> > > > > > > > > > > > > > > > > > not,
> > > > > > > > > > > > > > > > > > > just switch in the actual name.
You can
> > run
> > > > > >    the
> > > > > > > > > > following
> > > > > > > > > > > > > > > > pcp_combine
> > > > > > > > > > > > > > > > > > -add
> > > > > > > > > > > > > > > > > > > command:
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > pcp_combine -add \
> > > > > > > > > > > > > > > > > > >    3B42.20110422.09.7.nc
> > 'name="APCP_03";
> > > > > > > > > > level="(*,*)";' \
> > > > > > > > > > > > > > > > > > >    3B42.20110422.12.7.nc
> > 'name="APCP_03";
> > > > > > > > > > level="(*,*)";' \
> > > > > > > > > > > > > > > > > > >    3B42.20110422.15.7.nc
> > 'name="APCP_03";
> > > > > > > > > > level="(*,*)";' \
> > > > > > > > > > > > > > > > > > >    3B42.20110422.18.7.nc
> > 'name="APCP_03";
> > > > > > > > > > level="(*,*)";' \
> > > > > > > > > > > > > > > > > > >    3B42.20110422.21.7.nc
> > 'name="APCP_03";
> > > > > > > > > > level="(*,*)";' \
> > > > > > > > > > > > > > > > > > >    3B42.20110423.00.7.nc
> > 'name="APCP_03";
> > > > > > > > > > level="(*,*)";' \
> > > > > > > > > > > > > > > > > > >    3B42.20110423.03.7.nc
> > 'name="APCP_03";
> > > > > > > > > > level="(*,*)";' \
> > > > > > > > > > > > > > > > > > >    3B42.20110423.06.7.nc
> > 'name="APCP_03";
> > > > > > > > > > level="(*,*)";' \
> > > > > > > > > > > > > > > > > > >    3B42.20110423.06.7_APCP_24.nc
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > The last file listed is just the
output
> > file
> > > > > >    name I
> > > > > > > > > > chose.
> > > > > > > > > > > > But
> > > > > > > > > > > > > > you
> > > > > > > > > > > > > > > > can
> > > > > > > > > > > > > > > > > > > name it whatever you'd like.
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > John
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > On Wed, Jan 21, 2015 at 4:02 AM,
Geeta
> > Geeta
> > > > > >    via RT <
> > > > > > > > > > > > > > > > met_help at ucar.edu <javascript:;>>
> > > > > > > > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > Wed Jan 21 04:02:41 2015:
Request 70453
> > > > > >    was acted
> > > > > > > > upon.
> > > > > > > > > > > > > > > > > > > > Transaction: Ticket created by
> > > > > > > > geeta124 at hotmail.com <javascript:;>
> > > > > > > > > > > > > > > > > > > >        Queue: met_help
> > > > > > > > > > > > > > > > > > > >      Subject: combining nc
files
> > together
> > > > > > > > > > > > > > > > > > > >        Owner: Nobody
> > > > > > > > > > > > > > > > > > > >   Requestors:
geeta124 at hotmail.com
> > > > <javascript:;>
> > > > > > > > > > > > > > > > > > > >       Status: new
> > > > > > > > > > > > > > > > > > > >  Ticket <URL:
> > > > > > > > > > > > > > > >
> > > > > >    https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > Hi John.
> > > > > > > > > > > > > > > > > > > > Sorry to bother you again n
again. But
> > I
> > > > > >    have no
> > > > > > > > > > choice. I
> > > > > > > > > > > > > > want to
> > > > > > > > > > > > > > > > know
> > > > > > > > > > > > > > > > > > > > the followingI have 8 nc
files.
> > bash-3.2$
> > > > > >    ls
> > > > > > > > -ltotal
> > > > > > > > > > > > > > > > 216336-rw-r--r--
> > > > > > > > > > > > > > > > > >   1
> > > > > > > > > > > > > > > > > > > > model    staff      13841488
Jan 21
> > 11:24
> > > > > > > > > > > > > > > > > > 3B42.20110422.06.7.nc-rw-r--r--
> > > > > > > > > > > > > > > > > > > >   1 model    staff
13841488 Jan 21
> > > > > >    11:27
> > > > > > > > > > > > > > > > > > > > 3B42.20110422.09.7.nc-rw-r--
r--    1
> > model
> > > > > >    staff
> > > > > > > > > > > > > > 13841492
> > > > > > > > > > > > > > > > Jan
> > > > > > > > > > > > > > > > > > 21
> > > > > > > > > > > > > > > > > > > > 14:01 3B42.20110422.12.7.nc-
rw-r--r--
> >   1
> > > > > >    model
> > > > > > > > > > staff
> > > > > > > > > > > > > > > > > > 13841492 Jan
> > > > > > > > > > > > > > > > > > > > 21 13:16
> > 3B42.20110422.15.7.nc-rw-r--r--
> > > > > >    1 model
> > > > > > > > > > > > staff
> > > > > > > > > > > > > > > > > > 13841492
> > > > > > > > > > > > > > > > > > > > Jan 21 14:51
> > 3B42.20110422.18.7.nc-rw-r--
> > > > > >    r--    1
> > > > > > > > model
> > > > > > > > > > > > > > staff
> > > > > > > > > > > > > > > > > > > > 13841492 Jan 21 13:21
> > > > > > > > 3B42.20110422.21.7.nc-rw-r--r--
> > > > > > > > > >   1
> > > > > > > > > > > > > > model
> > > > > > > > > > > > > > > > > > staff
> > > > > > > > > > > > > > > > > > > >     13841488 Jan 21 13:22
> > > > > > > > > > 3B42.20110423.00.7.nc-rw-r--r--
> > > > > > > > > > > >   1
> > > > > > > > > > > > > > > > model
> > > > > > > > > > > > > > > > > > > > staff      13841488 Jan 21
13:50
> > > > > > > > > > > > > > 3B42.20110423.03.7.ncbash-3.2$ pwd
> > > > > > > > > > > > > > > > > > > > I need to make ONE 24 hour RF
> > accumulated
> > > > > >    file
> > > > > > > > starting
> > > > > > > > > > > > 06UTC
> > > > > > > > > > > > > > of
> > > > > > > > > > > > > > > > > > > > 22.04.2011 - 03UTC of
23.04.2011. How
> > do I
> > > > > >    do
> > > > > > > > that???
> > > > > > > > > > > > > > > > > > > > Geeta
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > >
> > > > >
> > > > >
> > > >
> > > >
> > >
> >
> >
>

------------------------------------------------
Subject: combining nc files together
From: Geeta Geeta
Time: Fri Feb 20 03:31:03 2015

JohnI am also sending you the NC file. I can view this file but Unable
to interpret to be able to proceed further.May be If U can suggest
some other tool for viewing, it would be nice.
Geeta

From: geeta124 at hotmail.com
To: met_help at ucar.edu
Subject: RE: [rt.rap.ucar.edu #70453] combining nc files together
Date: Fri, 20 Feb 2015 15:54:14 +0530




John another thing. for my data, 37x37=1309. Some points will have 0
values too. Why am I getting 870???. What grid points have been left
out???
In my experiment case I should get 9x9=81 MPRS?.
Correct??????????????MPRS in this context is the Number of grids in
FCST and Observations. But the CO-LOCATED OBS and FCST grid point may
have different values (say 0 for OBS but 1 in FCST) after we convert
that into Binary???
Also U have not explained me about the calculation of F0 (Random
FCST). How to calculate that or does GRID_STAT will calculate for
me????. Pls tell me these 3 things/questions!!!!!!!!!ThanksGeeta

From: geeta124 at hotmail.com
To: met_help at ucar.edu
Subject: RE: [rt.rap.ucar.edu #70453] combining nc files together
Date: Fri, 20 Feb 2015 15:45:43 +0530




Hi John. I was trying to mask my entire domain except 9x9 points in
the CENTRE using the following entry in the GridStatConfig file.  MY
purpose was to retain only 9x9 points both in FCST and OBSERVATION so
that I can calculate the FBS and FSS for these mannually. I
used--------------
////////////////////////////////////////////////////////////////////////////////
//// Verification masking regions//mask = {   grid = [ "FULL" ];
poly = ["mydom.poly"];};
I have put the file mydom.ploy in the directory.
.................................... and my working dir. So grid stat
run fine.
ditya at agniilap:~/geeta/MET5.0/met-5.0/data/poly$
pwd/home/aditya/geeta/MET5.0/met-
5.0/data/polyaditya at agniilap:~/geeta/MET5.0/met-5.0/data/poly$
lsAPL.poly    EAST.poly  HMT_masks    Makefile.in       NAK.poly
NPL.poly  SAK.poly  SPO.polyATC.poly    ECA.poly   HWI.poly
MDW.poly          NAO.poly             NPO.poly  SAO.poly
SWC.polyCAM.poly    GLF.poly   LMV.poly     MEX.poly
ncep_vx_regions.pdf  NSA.poly  SEC.poly  SWD.polyCAR.poly    GMC.poly
Makefile     MLB_Stadiums.txt  NEC.poly             NWC.poly  SMT.poly
WCA.polyCONUS.poly  GRB.poly   Makefile.am  mydom.poly        NMT.poly
PRI.poly  SPL.poly  WEST.polyaditya at agniilap:~/geeta/MET5.0/met-
5.0/data/poly$ it Looks like......................APL9.0
74.018.25     74.018.25     78.09.0       78.018.25     78.014.25
78.2514.25     78.7518.25     78.7513.25     78.2509.0      78.2509.0
78.7513.25     78.7518.25     79.009.00     79.018.25     83.2509.00
83.25~
~  Grid_stat was run perfectly but when I look at the
the O/P. vi  ./out-
19jun2006_w7/grid_stat_270000L_20060620_030000V_nbrcnt.txt
I get again 870 and 554 TOTAL MPRS. What is meant by these numbers???.
I am sending you the O/P. Pls tell me what's happening????

I am sending you 3 files. CONFIG file, mydom.poly and O/P file.
According to me, there should be 9 MPRS???.
Also, Some more background information. My Domain starts from 9/74E
and 37x37 points in the X and Y directions, Final grid point would be
18.25/83.25.  @ rate of 25kmx25km. (TRMM data). So I have masked the
entire domain (by using poly file) except these 4 points, extremes of
those are given below.
13.5/78.25 to 14.0/78.75 . (lat will vary like 13.5,13.75,14 and lon
will vary 78.25,78.5,78.75).
Pls tell me about the MPRS that got generated. ?????ie. 870 and
554???. Geeta
> Subject: Re: [rt.rap.ucar.edu #70453] combining nc files together
> From: met_help at ucar.edu
> To: geeta124 at hotmail.com
> Date: Thu, 19 Feb 2015 10:59:15 -0700
>
> Geeta,
>
> I think that's a great idea for you to work through the details by
hand to
> understand how the score is being computed.  Figure 6 is just a
little
> cartoon done in powerpoint to demonstrate the computation logic.  It
wasn't
> computed using any real data.
>
> John
>
> On Thu, Feb 19, 2015 at 8:26 AM, Geeta Geeta via RT
<met_help at ucar.edu>
> wrote:
>
> >
> > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453 >
> >
> > Hi John. I want to know, Can I make the Figure 6 that is there in
Your
> > paper. I mean the Forecast Grids or the OBSERVATION grids where
the
> > thresholds increases a specified value.
> > I wish to calculate the FSS manuually so that I absorb the idea.
> >
> >
> > Geeta
> >
> > > Subject: Re: [rt.rap.ucar.edu #70453] combining nc files
together
> > > From: met_help at ucar.edu
> > > To: geeta124 at hotmail.com
> > > Date: Thu, 19 Feb 2015 07:38:56 -0700
> > >
> > > Geeta,
> > >
> > > No, it does not.  It is in our list of tasks for future
development, but
> > > isn't in there yet.  You can only get neighborhood output from
grid-stat,
> > > not point-stat.
> > >
> > > Thanks
> > > John
> > >
> > > On Thursday, February 19, 2015, Geeta Geeta via RT
<met_help at ucar.edu>
> > > wrote:
> > >
> > > >
> > > > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453
>
> > > >
> > > > Hi Tressa and John.
> > > > I want to know if MET5.0 has neighborhood methods defined for
point
> > > > observations???.
> > > > If Yes, Pls guide me with this.
> > > > Geeta
> > > >
> > > >
> > > > > Subject: [rt.rap.ucar.edu #70453] combining nc files
together
> > > > > From: met_help at ucar.edu <javascript:;>
> > > > > To: geeta124 at hotmail.com <javascript:;>
> > > > > Date: Tue, 17 Feb 2015 13:47:07 -0700
> > > > >
> > > > > Hi Geeta,
> > > > >
> > > > > The paper we sent was not A reference, it was THE reference,
the
> > > > original published work on the FSS. Of course, algebra allows
> > equations to
> > > > be expressed in many equivalent formats. Feel free to use
whichever
> > form
> > > > you like.
> > > > >
> > > > > The Spatial Vx package has many verification methods, but it
is
> > > > relatively new and untested. I'm sure you can reference that
package's
> > > > documentation for full details of the available methods.
> > > > >
> > > > > Happy verifying,
> > > > >
> > > > > Tressa
> > > > >
> > > > > On Mon Feb 16 04:32:17 2015, geeta124 at hotmail.com
<javascript:;>
> > wrote:
> > > > > > Hi John.
> > > > > > In Your article, FSS is defined as the
> > > > > > FSS (n) = 1 - (MSE(n)/MSE(n) ref).
> > > > > >
> > > > > > In another paper's I found it to be little different. It
was
> > related
> > > > > >    to the FBS Fractional Brier Score.
> > > > > >
> > > > > > Can U pls explain be the differences???.
> > > > > > Also I came across SpatialVx package.
> > > > > > Does that also provide all the verification procedures???
> > > > > > Geeta
> > > > > >
> > > > > >
> > > > > > From: geeta124 at hotmail.com <javascript:;>
> > > > > > To: met_help at ucar.edu <javascript:;>
> > > > > > Subject: RE: [rt.rap.ucar.edu #70453] combining nc files
together
> > > > > > Date: Thu, 12 Feb 2015 11:14:17 +0530
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > > hi John.
> > > > > > I had read ur article that U have sent reg the FSS and the
MODE
> > tools.
> > > > > >    I could not understand the meaning of FORECAST SKILL
associated
> > > > > >    with Uniform FOrECAST. This is what is mentioed in the
FSS
> > section
> > > > > >    of Ur article.
> > > > > > I didnt understand the concept/idea. if U could just
explain a
> > little
> > > > > >    more I can build/read some articles that you would
suggest.
> > > > > > Thanks for ur help.
> > > > > > Geeta
> > > > > >
> > > > > > > Subject: Re: [rt.rap.ucar.edu #70453] combining nc files
> > together
> > > > > > > From: met_help at ucar.edu <javascript:;>
> > > > > > > To: geeta124 at hotmail.com <javascript:;>
> > > > > > > Date: Wed, 11 Feb 2015 10:17:33 -0700
> > > > > > >
> > > > > > > Geeta,
> > > > > > >
> > > > > > > I think your reference to an article must be from a
different
> > email
> > > > > >    chain.
> > > > > > >
> > > > > > > I see that you're asking about "FORECAST skill
associated with
> > the
> > > > > >    Uniform
> > > > > > > forecast".  Are you looking for more references related
to
> > > > > >    neighborhood
> > > > > > > verification statistics, like Fractions Skill Score?
> > > > > > >
> > > > > > > Thanks,
> > > > > > > John
> > > > > > >
> > > > > > > On Mon, Feb 9, 2015 at 1:53 AM, Geeta Geeta via RT
> > > > > >    <met_help at ucar.edu <javascript:;>>
> > > > > > > wrote:
> > > > > > >
> > > > > > > >
> > > > > > > > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453
> > >
> > > > > > > >
> > > > > > > > Hi John.
> > > > > > > > Thanks for the article. It is very informative.
> > > > > > > > I dont know if i should be asking at this forum, the
meaning of
> > > > > >    the
> > > > > > > > "FORECAST skill associated with the Uniform forecast"
as you
> > have
> > > > > >    mentioned
> > > > > > > > in your paper.
> > > > > > > > If U give me some references, it would be great.
> > > > > > > > Geeta
> > > > > > > >
> > > > > > > > > Subject: Re: [rt.rap.ucar.edu #70453] combining nc
files
> > > > > >    together
> > > > > > > > > From: met_help at ucar.edu <javascript:;>
> > > > > > > > > To: geeta124 at hotmail.com <javascript:;>
> > > > > > > > > Date: Thu, 5 Feb 2015 10:33:59 -0700
> > > > > > > > >
> > > > > > > > > Geeta,
> > > > > > > > >
> > > > > > > > > You're correct, you can only use the "sum" command
of
> > > > > >    pcp_combine for
> > > > > > > > GRIB1
> > > > > > > > > or GRIB2 files...
> > > > > > > > >
> > > > > > > > > But, you can use the "add" command on any gridded
data file
> > > > > >    format that
> > > > > > > > MET
> > > > > > > > > supports.  Adding together 8 NetCDF files with
pcp_combine
> > would
> > > > > >    look
> > > > > > > > > something like this:
> > > > > > > > >
> > > > > > > > > pcp_combine -add \
> > > > > > > > > file1.nc 'name="APCP_03"; level="(*,*)";' \
> > > > > > > > > file2.nc 'name="APCP_03"; level="(*,*)";' \
> > > > > > > > > ...
> > > > > > > > > file8.nc 'name="APCP_03"; level="(*,*)";' \
> > > > > > > > > APCP_24.nc
> > > > > > > > >
> > > > > > > > > It makes for a longer command line, but it is
possible to do
> > > > > >    with
> > > > > > > > > pcp_combine.
> > > > > > > > >
> > > > > > > > > John
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > On Thu, Feb 5, 2015 at 2:02 AM, Geeta Geeta via RT
> > > > > >    <met_help at ucar.edu <javascript:;>>
> > > > > > > > > wrote:
> > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > <URL:
> > https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453
> > > > > >    >
> > > > > > > > > >
> > > > > > > > > > Hi John.
> > > > > > > > > > Thanks for wonderful ideas.
> > > > > > > > > > The first one is working. but I have yet to run
grid_stat
> > to
> > > > > >    see if
> > > > > > > > > > everything is working finally. I ll try the
ncatted.
> > > > > > > > > >
> > > > > > > > > > To sum up all the nc files (for the times that I
want), I
> > did
> > > > > >    try the
> > > > > > > > > > pcp_combine. But I guess It only works for the
GRIB files.
> > > > > > > > > > I have sent to u the error before. I tried to use
MET3.0
> > for
> > > > > >    that
> > > > > > > > which is
> > > > > > > > > > installed in my HPC.
> > > > > > > > > > I have 5.0 on my personal system. Will try that
exercise in
> > > > > >    this
> > > > > > > > system.
> > > > > > > > > > Thanks again for your help.
> > > > > > > > > > Geeta
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > > Subject: Re: [rt.rap.ucar.edu #70453] combining
nc files
> > > > > >    together
> > > > > > > > > > > From: met_help at ucar.edu <javascript:;>
> > > > > > > > > > > To: geeta124 at hotmail.com <javascript:;>
> > > > > > > > > > > Date: Wed, 4 Feb 2015 11:21:19 -0700
> > > > > > > > > > >
> > > > > > > > > > > Geeta,
> > > > > > > > > > >
> > > > > > > > > > > The trmmbin2nc.R script is set up to only handle
the TRMM
> > > > > >    binary data
> > > > > > > > > > > exactly from that website.  The timing
information for
> > that
> > > > > >    binary
> > > > > > > > data
> > > > > > > > > > is
> > > > > > > > > > > only contained in the file name, and you've
renamed those
> > > > > >    files.  So
> > > > > > > > the
> > > > > > > > > > > script doesn't know how to parse them.
> > > > > > > > > > >
> > > > > > > > > > > Here's 2 options:
> > > > > > > > > > > (1) Rename that file using the "daily" file
naming
> > > > > >    conventions:
> > > > > > > > > > >    cp Obs22apr2011.bin
3B42_daily.2011.04.22.7.bin
> > > > > > > > > > >    Rscript 3B42_daily.2011.04.22.7.bin
> > > > > >    3B42_daily.2011.04.22.7.nc
> > > > > > > > > > >
> > > > > > > > > > > That will produce output but it'll assume the
> > precipitation
> > > > > >    is
> > > > > > > > > > accumulated
> > > > > > > > > > > for 24-hours from 20110422 00Z to 20110423 00Z.
If the
> > > > > >    times should
> > > > > > > > be
> > > > > > > > > > > something different you could... edit the
Rscript to use
> > the
> > > > > >    times
> > > > > > > > you
> > > > > > > > > > > want... or use the "ncatted" tool to modify the
timing
> > > > > >    information
> > > > > > > > listed
> > > > > > > > > > > in the output NetCDF file.
> > > > > > > > > > >
> > > > > > > > > > > (2) Or, as we've discussed in the past, you
could run
> > each
> > > > > >    of the
> > > > > > > > 3-hour
> > > > > > > > > > > files through the trmmbin2nc.R script and write
out
> > NetCDF
> > > > > >    files.
> > > > > > > > Then
> > > > > > > > > > run
> > > > > > > > > > > those 3-hourly NetCDF files through pcp_combine
to add
> > them
> > > > > >    up.
> > > > > > > > > > >
> > > > > > > > > > > Thanks,
> > > > > > > > > > > John
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > On Sun, Feb 1, 2015 at 11:27 PM, Geeta Geeta via
RT <
> > > > > > > > met_help at ucar.edu <javascript:;>>
> > > > > > > > > > > wrote:
> > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > <URL:
> > > > > >    https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453
>
> > > > > > > > > > > >
> > > > > > > > > > > > Hi John.
> > > > > > > > > > > > This is an old Ticket. Kindly sort this issue
too.
> > > > > > > > > > > > I was able to sum up all the 3 hourly TRMM
files and
> > then
> > > > > >    convert
> > > > > > > > the
> > > > > > > > > > > > final file into One called Obs22apr2011.bin.
> > > > > > > > > > > > I had used Grads for summing up all the 8
files. and
> > now I
> > > > > >    am using
> > > > > > > > > > the R
> > > > > > > > > > > > script for
> > > > > > > > > > > > converting into NC.
> > > > > > > > > > > > But I got the error.
> > > > > > > > > > > > aditya at agniilap
> > :~/geeta/installs/met/RUN_MET-22apr2011$
> > > > > >    Rscript
> > > > > > > > > > > > ../trmm_to_nc/trmmbin2nc_mod.R
Obs22apr2011.bin
> > > > > >    Obs22apr2011.nc
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > ERROR: Can't figure out the accumulation
interval!I am
> > > > > >    sending you
> > > > > > > > the
> > > > > > > > > > > > data that I converted using Grads.
> > > > > > > > > > > > Geeta
> > > > > > > > > > > >
> > > > > > > > > > > > > Subject: Re: [rt.rap.ucar.edu #70453]
combining nc
> > files
> > > > > > > > together
> > > > > > > > > > > > > From: met_help at ucar.edu <javascript:;>
> > > > > > > > > > > > > To: geeta124 at hotmail.com <javascript:;>
> > > > > > > > > > > > > Date: Fri, 30 Jan 2015 11:04:18 -0700
> > > > > > > > > > > > >
> > > > > > > > > > > > > Geeta,
> > > > > > > > > > > > >
> > > > > > > > > > > > > I don't have time to adapt that Rscript for
your use
> > > > > >    with
> > > > > > > > Grid-Stat.
> > > > > > > > > > > > > However, we did do something very similar
for a
> > previous
> > > > > > > > project.  I
> > > > > > > > > > have
> > > > > > > > > > > > > attached an Rscript named "fss_quilt_plot.R"
you
> > could
> > > > > >    easily
> > > > > > > > adapt
> > > > > > > > > > to
> > > > > > > > > > > > > create a quilt plot for your data.  I've
also
> > attached a
> > > > > >    copy of
> > > > > > > > the
> > > > > > > > > > > > paper
> > > > > > > > > > > > > for which this script was used.  Please look
at
> > figure
> > > > > >    7.
> > > > > > > > > > > > >
> > > > > > > > > > > > > Thanks,
> > > > > > > > > > > > > John
> > > > > > > > > > > > >
> > > > > > > > > > > > > On Fri, Jan 30, 2015 at 1:03 AM, Geeta Geeta
via RT <
> > > > > > > > > > met_help at ucar.edu <javascript:;>>
> > > > > > > > > > > > > wrote:
> > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > <URL:
> > > > > >    https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453
> > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Hi John.
> > > > > > > > > > > > > > I changed different widths in the
configuration
> > file.
> > > > > > > > > > (Width=1,3,5,,7
> > > > > > > > > > > > etc).
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > // Neighborhood methods
> > > > > > > > > > > > > > //
> > > > > > > > > > > > > > nbrhd = {
> > > > > > > > > > > > > >    vld_thresh = 1.0;
> > > > > > > > > > > > > >    width      = [ 7 ];
> > > > > > > > > > > > > >    cov_thresh = [ >=0.5 ];
> > > > > > > > > > > > > > }
> > > > > > > > > > > > > > and got various outputs (for different
widths)
> > which
> > > > > >    are in
> > > > > > > > > > different
> > > > > > > > > > > > > > directories.
> > > > > > > > > > > > > > Now I saw the R script on the website
which is
> > > > > >    probably
> > > > > > > > > > exclusively for
> > > > > > > > > > > > > > the MODE TOOL only.
> > > > > > > > > > > > > > Now my question is how to make the quilt
plot for
> > the
> > > > > >    GRid stat
> > > > > > > > > > > > tool???.
> > > > > > > > > > > > > > Sorry I m not familiar with R  now.
> > > > > > > > > > > > > > Pls help.
> > > > > > > > > > > > > > Geeta.
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > From: geeta124 at hotmail.com <javascript:;>
> > > > > > > > > > > > > > To: met_help at ucar.edu <javascript:;>
> > > > > > > > > > > > > > Subject: RE: [rt.rap.ucar.edu #70453]
combining nc
> > > > > >    files
> > > > > > > > together
> > > > > > > > > > > > > > Date: Thu, 29 Jan 2015 17:05:25 +0530
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Hi John.
> > > > > > > > > > > > > > So I was able to sum up all the 3 hourly
TRMM files
> > > > > >    and then
> > > > > > > > > > convert
> > > > > > > > > > > > the
> > > > > > > > > > > > > > final file into One called
Obs22apr2011.bin.
> > > > > > > > > > > > > > I have done that using Grads and now I am
using
> > the R
> > > > > >    script
> > > > > > > > for
> > > > > > > > > > > > > > converting into NC.
> > > > > > > > > > > > > > But I got the error.
> > > > > > > > > > > > > >
aditya at agniilap:~/geeta/installs/met/RUN_MET-
> > > > > >    22apr2011$
> > > > > > > > Rscript
> > > > > > > > > > > > > > ../trmm_to_nc/trmmbin2nc_mod.R
Obs22apr2011.bin
> > > > > >    Obs22apr2011.nc
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > ERROR: Can't figure out the accumulation
interval!
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > I am sending you the data files and the R
script (I
> > > > > >    changed the
> > > > > > > > > > > > domain).
> > > > > > > > > > > > > > The data is plotted fine. Also pls tell me
about
> > the
> > > > > >    ncview
> > > > > > > > > > questions
> > > > > > > > > > > > that
> > > > > > > > > > > > > > I was asking. reg the plotting of MPR's
> > > > > > > > > > > > > > Kindly suggest.
> > > > > > > > > > > > > > Geeta
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > > Subject: Re: [rt.rap.ucar.edu #70453]
combining
> > nc
> > > > > >    files
> > > > > > > > > > together
> > > > > > > > > > > > > > > From: met_help at ucar.edu <javascript:;>
> > > > > > > > > > > > > > > To: geeta124 at hotmail.com <javascript:;>
> > > > > > > > > > > > > > > Date: Mon, 26 Jan 2015 09:58:32 -0700
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > Geeta,
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > On that webpage (
> > > > > > > > > > > > > > >
> > > > > > > >
> > http://www.dtcenter.org/met/users/downloads/analysis_scripts.php
> > > > > > > > > > ),
> > > > > > > > > > > > > > please
> > > > > > > > > > > > > > > look specifically at the script named
> > > > > >    "mode_quilt_plot.R".
> > > > > > > > > > Here's
> > > > > > > > > > > > the
> > > > > > > > > > > > > > > direct link to that script:
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > >
> > > > > >
> > > >
http://www.dtcenter.org/met/users/downloads/Rscripts/mode_quilt_plot.R
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > And here's a direct link to the sample
output
> > that
> > > > > >    script
> > > > > > > > > > creates:
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > >
> > > > > > > >
> > > > > >
> > > >
> >
http://www.dtcenter.org/met/users/downloads/Rscripts/SAMPLE_mode_quilts.pdf
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > This is an example of using R to make a
quilt
> > plot
> > > > > >    for the
> > > > > > > > > > output of
> > > > > > > > > > > > the
> > > > > > > > > > > > > > > MODE tool.  You might also use a quilt
plot to
> > > > > >    display
> > > > > > > > fractions
> > > > > > > > > > > > skill
> > > > > > > > > > > > > > > score from the Grid-Stat tool, if you've
run FSS
> > for
> > > > > >    multiple
> > > > > > > > > > > > thresholds
> > > > > > > > > > > > > > > and neighborhood sizes.
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > John
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > On Mon, Jan 26, 2015 at 7:28 AM, Geeta
Geeta via
> > RT
> > > > > >    <
> > > > > > > > > > > > met_help at ucar.edu <javascript:;>>
> > > > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > <URL:
> > > > > > > >
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453
> > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > Hi John.
> > > > > > > > > > > > > > > > the link
> > > > > > > > > > > > > >
> > > > > > > >
> > http://www.dtcenter.org/met/users/downloads/analysis_scripts.php
> > > > > > > > > > > > > > > > has the plots for the cnt statistics.
> > > > > > > > > > > > > > > > I am not familiar with R. I am going
thru the
> > > > > >    plot_cnt.R
> > > > > > > > > > script.
> > > > > > > > > > > > > > > > but I want to know what will be the
data format
> > > > > >    for the
> > > > > > > > Quilt
> > > > > > > > > > plot.
> > > > > > > > > > > > > > > > Do I have to write my own script???.
> > > > > > > > > > > > > > > > Kindly let me know about the data
format and
> > how I
> > > > > >    have to
> > > > > > > > > > modify
> > > > > > > > > > > > the
> > > > > > > > > > > > > > > > above script in order to make the
quilt plot.
> > > > > > > > > > > > > > > > Regards
> > > > > > > > > > > > > > > > Geeta
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > Subject: Re: [rt.rap.ucar.edu
#70453]
> > combining
> > > > > >    nc files
> > > > > > > > > > > > together
> > > > > > > > > > > > > > > > > From: met_help at ucar.edu
<javascript:;>
> > > > > > > > > > > > > > > > > To: geeta124 at hotmail.com
<javascript:;>
> > > > > > > > > > > > > > > > > Date: Fri, 23 Jan 2015 11:09:23
-0700
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > Geeta,
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > Regarding 3-hourly RF accumulations,
if MET
> > is
> > > > > >    able to
> > > > > > > > read
> > > > > > > > > > those
> > > > > > > > > > > > > > NetCDF
> > > > > > > > > > > > > > > > > files, you can run them through PCP-
Combine
> > to
> > > > > >    "add"
> > > > > > > > them all
> > > > > > > > > > > > > > together.
> > > > > > > > > > > > > > > > > Just use the example PCP_Combine
command I
> > > > > >    already sent
> > > > > > > > you
> > > > > > > > > > but
> > > > > > > > > > > > > > modify
> > > > > > > > > > > > > > > > the
> > > > > > > > > > > > > > > > > "name" entry to list the name of the
NetCDF
> > > > > >    variable you
> > > > > > > > > > want to
> > > > > > > > > > > > > > use.  If
> > > > > > > > > > > > > > > > > MET is not able to read them, then
it's up to
> > > > > >    you to
> > > > > > > > figure
> > > > > > > > > > out
> > > > > > > > > > > > how
> > > > > > > > > > > > > > to
> > > > > > > > > > > > > > > > > accumulate them.
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > If you're familiar with R, you could
use the
> > > > > >    "ncdf"
> > > > > > > > library
> > > > > > > > > > in R
> > > > > > > > > > > > to
> > > > > > > > > > > > > > read
> > > > > > > > > > > > > > > > > data from one or more NetCDF files,
add them
> > up,
> > > > > >    and
> > > > > > > > write it
> > > > > > > > > > > > out to
> > > > > > > > > > > > > > a
> > > > > > > > > > > > > > > > new
> > > > > > > > > > > > > > > > > file.  Alternatively, "nco" (NetCDF
> > Operators)
> > > > > >    provide
> > > > > > > > some
> > > > > > > > > > > > > > capability of
> > > > > > > > > > > > > > > > > doing simple operations on NetCDF
files.  You
> > > > > >    might be
> > > > > > > > able
> > > > > > > > > > to
> > > > > > > > > > > > use
> > > > > > > > > > > > > > them.
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > Regarding quilt plots, I've only
used R to
> > make
> > > > > >    them in
> > > > > > > > the
> > > > > > > > > > past.
> > > > > > > > > > > > > > > > > Specifically, the "quilt.plot"
function in
> > the R
> > > > > >    package
> > > > > > > > > > named
> > > > > > > > > > > > > > "fields".
> > > > > > > > > > > > > > > > > Please take a look at this website:
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > >
> > http://www.dtcenter.org/met/users/downloads/analysis_scripts.php
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > The Rscript named
"mode_quilt_plot.R"
> > provides
> > > > > >    an
> > > > > > > > example of
> > > > > > > > > > > > using R
> > > > > > > > > > > > > > to
> > > > > > > > > > > > > > > > > make quilt plots.  Example output
from that
> > > > > >    script is
> > > > > > > > also
> > > > > > > > > > > > included
> > > > > > > > > > > > > > on
> > > > > > > > > > > > > > > > that
> > > > > > > > > > > > > > > > > page.
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > Thanks,
> > > > > > > > > > > > > > > > > John
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > On Fri, Jan 23, 2015 at 4:06 AM,
Geeta Geeta
> > via
> > > > > >    RT <
> > > > > > > > > > > > > > met_help at ucar.edu <javascript:;>>
> > > > > > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > <URL:
> > > > > > > > > >
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453
> > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > Hi John. Your help is needed at
every step.
> > > > > >    Now I want
> > > > > > > > to
> > > > > > > > > > know
> > > > > > > > > > > > > > which
> > > > > > > > > > > > > > > > > > software can be used for making
the QUILT
> > plot
> > > > > > > > (intensity
> > > > > > > > > > and
> > > > > > > > > > > > > > spatial
> > > > > > > > > > > > > > > > > > distribution) plot. Can It be done
in using
> > > > > >    MET5.0. How
> > > > > > > > > > Can I
> > > > > > > > > > > > plot
> > > > > > > > > > > > > > the
> > > > > > > > > > > > > > > > > > point data that I used in
MET5.0???KIndly
> > > > > >    guide me.
> > > > > > > > Also
> > > > > > > > > > pls
> > > > > > > > > > > > tell
> > > > > > > > > > > > > > me
> > > > > > > > > > > > > > > > if u
> > > > > > > > > > > > > > > > > > can figure out the issue of 3hrly
RF
> > > > > >    accumulations if
> > > > > > > > the
> > > > > > > > > > files
> > > > > > > > > > > > > > are in
> > > > > > > > > > > > > > > > the
> > > > > > > > > > > > > > > > > > NETCDF format. Geeta
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > From: geeta124 at hotmail.com
<javascript:;>
> > > > > > > > > > > > > > > > > > To: met_help at ucar.edu
<javascript:;>
> > > > > > > > > > > > > > > > > > Subject: RE: [rt.rap.ucar.edu
#70453]
> > > > > >    combining nc
> > > > > > > > files
> > > > > > > > > > > > together
> > > > > > > > > > > > > > > > > > Date: Thu, 22 Jan 2015 16:30:34
+0530
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > thanks John.  the pcp combine tool
uses
> > only
> > > > > >    GRIB1
> > > > > > > > files.
> > > > > > > > > > these
> > > > > > > > > > > > > > were
> > > > > > > > > > > > > > > > > > netcdf files (attaching one).I had
> > downloaded
> > > > > >    the NC
> > > > > > > > files
> > > > > > > > > > from
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > http://mirador.gsfc.nasa.gov/cgi-
> > > > > >    bin/mirador/granlist.pl?page=1&location=(-90,-
> > > > > >
> > > >
> >
180),(90,180)&dataSet=TRMM_3B42&version=007&allversion=007&startTime=2011-
> > > > > >    04-22T00:00:01Z&endTime=2011-04-
> > > > > >    22T23:59:59Z&keyword=TRMM_3B42&longname=TRMM%203-
> > > > > >
> > > >
> >
Hourly%200.25%20deg.%20TRMM%20and%20Others%20Rainfall%20Estimate%20Data&CGISESSID=02499c2107ddfb60a3e46d6b99df3d79&prodpg=
> > > > http://mirador.gsfc.nasa.gov/collections/TRMM_3B42__007.shtmlI
> > > > > > > > > > > > > > > > > > got following error. bash-3.2$
> > > > > >    ./run_pcptool.sh
> > > > > > > > Running PCP
> > > > > > > > > > > > > > > > toolPerforming
> > > > > > > > > > > > > > > > > > addition command for 2
files.Reading input
> > > > > >    file:
> > > > > > > > > > > > > > 3B42.20110422.12.7.nc
> > > > > > > > > > > > > > > > > > GribFile::skip_header() -> can't
find
> > "GRIB"
> > > > > >    magic
> > > > > > > > cookie
> > > > > > > > > > > >  ERROR:
> > > > > > > > > > > > > > > > > > get_field() -> can't open grib
file:
> > > > > > > > 3B42.20110422.12.7.nc
> > > > > > > > > > > > > > > > > > Following is my script--------
!/bin/sh
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >              echo " Running PCP
> > > > > > > > > > > > > > > > > >
> > tool"~/wrf3/utils/met/METv3.0/bin/pcp_combine
> > > > > >    -add
> > > > > > > > > > > > > > > > 3B42.20110422.12.7.nc
> > > > > > > > > > > > > > > > > > 03 3B42.20110422.15.7.nc 03
myoutput.nc
> > > > > > > > > > > > > > > > > > Kindly suggest.
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > the second thing I was thinking to
download
> > > > > >    the TRMM
> > > > > > > > data
> > > > > > > > > > from
> > > > > > > > > > > > > > thelink
> > > > > > > > > > > > > > > > at
> > > > > > > > > > > > > > > > > > DTC website and then converying
the 3
> > hourly
> > > > > >    bins to
> > > > > > > > NC.
> > > > > > > > > > > > > > > > > > 2.2 MBftp://
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > >
> > > > > > > >
> > > > > >
> > > >
> >
disc2.nascom.nasa.gov/data/TRMM/Gridded/3B42_V7/201104/3B42.110422.15z.7.precipitation.bin
> > > > > > > > > > > > > > > > > > But my problem will be to
ACCUMULATE them.
> > I
> > > > > >    need to
> > > > > > > > > > verify the
> > > > > > > > > > > > > > model
> > > > > > > > > > > > > > > > data
> > > > > > > > > > > > > > > > > > starting 06 UTC of day1 to 03UTC
of DAY2. I
> > > > > >    mean how
> > > > > > > > do I
> > > > > > > > > > > > combine
> > > > > > > > > > > > > > all
> > > > > > > > > > > > > > > > the
> > > > > > > > > > > > > > > > > > NC  files together. Kindly suggest
> > > > > > > > > > > > > > > > > > > Subject: Re: [rt.rap.ucar.edu
#70453]
> > > > > >    combining nc
> > > > > > > > files
> > > > > > > > > > > > > > together
> > > > > > > > > > > > > > > > > > > From: met_help at ucar.edu
<javascript:;>
> > > > > > > > > > > > > > > > > > > To: geeta124 at hotmail.com
<javascript:;>
> > > > > > > > > > > > > > > > > > > Date: Wed, 21 Jan 2015 10:45:12
-0700
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > Geeta,
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > I'm assuming the variable in the
NetCDF
> > > > > >    files is
> > > > > > > > named
> > > > > > > > > > > > > > "APCP_03".  If
> > > > > > > > > > > > > > > > > > not,
> > > > > > > > > > > > > > > > > > > just switch in the actual name.
You can
> > run
> > > > > >    the
> > > > > > > > > > following
> > > > > > > > > > > > > > > > pcp_combine
> > > > > > > > > > > > > > > > > > -add
> > > > > > > > > > > > > > > > > > > command:
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > pcp_combine -add \
> > > > > > > > > > > > > > > > > > >    3B42.20110422.09.7.nc
> > 'name="APCP_03";
> > > > > > > > > > level="(*,*)";' \
> > > > > > > > > > > > > > > > > > >    3B42.20110422.12.7.nc
> > 'name="APCP_03";
> > > > > > > > > > level="(*,*)";' \
> > > > > > > > > > > > > > > > > > >    3B42.20110422.15.7.nc
> > 'name="APCP_03";
> > > > > > > > > > level="(*,*)";' \
> > > > > > > > > > > > > > > > > > >    3B42.20110422.18.7.nc
> > 'name="APCP_03";
> > > > > > > > > > level="(*,*)";' \
> > > > > > > > > > > > > > > > > > >    3B42.20110422.21.7.nc
> > 'name="APCP_03";
> > > > > > > > > > level="(*,*)";' \
> > > > > > > > > > > > > > > > > > >    3B42.20110423.00.7.nc
> > 'name="APCP_03";
> > > > > > > > > > level="(*,*)";' \
> > > > > > > > > > > > > > > > > > >    3B42.20110423.03.7.nc
> > 'name="APCP_03";
> > > > > > > > > > level="(*,*)";' \
> > > > > > > > > > > > > > > > > > >    3B42.20110423.06.7.nc
> > 'name="APCP_03";
> > > > > > > > > > level="(*,*)";' \
> > > > > > > > > > > > > > > > > > >    3B42.20110423.06.7_APCP_24.nc
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > The last file listed is just the
output
> > file
> > > > > >    name I
> > > > > > > > > > chose.
> > > > > > > > > > > > But
> > > > > > > > > > > > > > you
> > > > > > > > > > > > > > > > can
> > > > > > > > > > > > > > > > > > > name it whatever you'd like.
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > John
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > On Wed, Jan 21, 2015 at 4:02 AM,
Geeta
> > Geeta
> > > > > >    via RT <
> > > > > > > > > > > > > > > > met_help at ucar.edu <javascript:;>>
> > > > > > > > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > Wed Jan 21 04:02:41 2015:
Request 70453
> > > > > >    was acted
> > > > > > > > upon.
> > > > > > > > > > > > > > > > > > > > Transaction: Ticket created by
> > > > > > > > geeta124 at hotmail.com <javascript:;>
> > > > > > > > > > > > > > > > > > > >        Queue: met_help
> > > > > > > > > > > > > > > > > > > >      Subject: combining nc
files
> > together
> > > > > > > > > > > > > > > > > > > >        Owner: Nobody
> > > > > > > > > > > > > > > > > > > >   Requestors:
geeta124 at hotmail.com
> > > > <javascript:;>
> > > > > > > > > > > > > > > > > > > >       Status: new
> > > > > > > > > > > > > > > > > > > >  Ticket <URL:
> > > > > > > > > > > > > > > >
> > > > > >    https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > Hi John.
> > > > > > > > > > > > > > > > > > > > Sorry to bother you again n
again. But
> > I
> > > > > >    have no
> > > > > > > > > > choice. I
> > > > > > > > > > > > > > want to
> > > > > > > > > > > > > > > > know
> > > > > > > > > > > > > > > > > > > > the followingI have 8 nc
files.
> > bash-3.2$
> > > > > >    ls
> > > > > > > > -ltotal
> > > > > > > > > > > > > > > > 216336-rw-r--r--
> > > > > > > > > > > > > > > > > >   1
> > > > > > > > > > > > > > > > > > > > model    staff      13841488
Jan 21
> > 11:24
> > > > > > > > > > > > > > > > > > 3B42.20110422.06.7.nc-rw-r--r--
> > > > > > > > > > > > > > > > > > > >   1 model    staff
13841488 Jan 21
> > > > > >    11:27
> > > > > > > > > > > > > > > > > > > > 3B42.20110422.09.7.nc-rw-r--
r--    1
> > model
> > > > > >    staff
> > > > > > > > > > > > > > 13841492
> > > > > > > > > > > > > > > > Jan
> > > > > > > > > > > > > > > > > > 21
> > > > > > > > > > > > > > > > > > > > 14:01 3B42.20110422.12.7.nc-
rw-r--r--
> >   1
> > > > > >    model
> > > > > > > > > > staff
> > > > > > > > > > > > > > > > > > 13841492 Jan
> > > > > > > > > > > > > > > > > > > > 21 13:16
> > 3B42.20110422.15.7.nc-rw-r--r--
> > > > > >    1 model
> > > > > > > > > > > > staff
> > > > > > > > > > > > > > > > > > 13841492
> > > > > > > > > > > > > > > > > > > > Jan 21 14:51
> > 3B42.20110422.18.7.nc-rw-r--
> > > > > >    r--    1
> > > > > > > > model
> > > > > > > > > > > > > > staff
> > > > > > > > > > > > > > > > > > > > 13841492 Jan 21 13:21
> > > > > > > > 3B42.20110422.21.7.nc-rw-r--r--
> > > > > > > > > >   1
> > > > > > > > > > > > > > model
> > > > > > > > > > > > > > > > > > staff
> > > > > > > > > > > > > > > > > > > >     13841488 Jan 21 13:22
> > > > > > > > > > 3B42.20110423.00.7.nc-rw-r--r--
> > > > > > > > > > > >   1
> > > > > > > > > > > > > > > > model
> > > > > > > > > > > > > > > > > > > > staff      13841488 Jan 21
13:50
> > > > > > > > > > > > > > 3B42.20110423.03.7.ncbash-3.2$ pwd
> > > > > > > > > > > > > > > > > > > > I need to make ONE 24 hour RF
> > accumulated
> > > > > >    file
> > > > > > > > starting
> > > > > > > > > > > > 06UTC
> > > > > > > > > > > > > > of
> > > > > > > > > > > > > > > > > > > > 22.04.2011 - 03UTC of
23.04.2011. How
> > do I
> > > > > >    do
> > > > > > > > that???
> > > > > > > > > > > > > > > > > > > > Geeta
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > >
> > > > >
> > > > >
> > > >
> > > >
> > >
> >
> >
>

------------------------------------------------
Subject: combining nc files together
From: John Halley Gotway
Time: Fri Feb 20 09:51:17 2015

Geeta,

I have several comments...

(1) First, you are getting two output lines because you chose two
different
masking regions: the FULL model domain and the polyline name
"mydom.poly".

(2) I used the plot_data_plane tool to plot the difference field for
the
mydom.poly and attached the resulting image (mydom.png):
   met-5.0/bin/plot_data_plane
grid_stat_270000L_20060620_030000V_pairs.nc \
      mydom.ps 'name="DIFF_APCP_A24_APCP_A24_APL"; level="(*,*)";'

That sure looks like an odd masking region.  Is that really what you
intended?  Also, you've chosen to name that masking region "APL".  I
assume
you just copied over an modified the file named "APL.poly" and chose
not to
provide a different name.  I'd suggest choosing a more descriptive
name for
that region.

(3) Your model domain is 37x37 = 1309.  So you could have a maximum of
1309
matched pairs.  Any grid points that contain missing data in the
forecast
or observation field will make the number of matched pairs smaller.
Looking at the NetCDF matched pairs file you sent me with ncview at
the
variables named FCST_APCP_A24_FULL, I see that approximately 3
rows/columns
of data contain missing values in the forecast field.  Looking
closely, I
believe you only have 991 forecast grid points with valid data values.
So
you could really only have a maximum of 991 matched pairs.

(4) Your actual number of matched pairs for the NBRCNT line for the
FULL
domain is 854, not 991.  And you're wondering why.  You're computing
neighborhood statistics using a 9x9 box centered on each grid point.
For
points near the edge of that domain, some of that 9x9 box will fall
off the
grid.  Handling these cases is controlled by the configuration file
setting
"nbrhd.vld_thresh":
   nbrhd = {
      vld_thresh = 1.0;
      width      = [ 3 ];
      cov_thresh = [ >=0.5 ];
   }

You have it set to 1.0.  When computing fractional coverage at a grid
point, grid_stat first computes the fraction of that 9x9 box (= 81
points)
that contains valid data.  If that fraction is less than vld_thresh,
no
fractional coverage will be computed for that point.  Setting
vld_thresh =
1.0 requires that all 81 points in the 9x9 box contain valid data for
that
point to be used.  Basically, grid_stat is skipping several points
along
the edge because of this setting.

If you reduce vld_thresh down to 0.5 or 0.0, the number of matched
pairs
will increase.

Make sense?

Thanks,
John

------------------------------------------------
Subject: combining nc files together
From: Geeta Geeta
Time: Tue Apr 07 05:26:10 2015

Ok John.
If I use Pcp_combine tool. then the output will be in netcdf format.
But This will be Global data.
How will I extract the data as per my domain???
Geeta

> To: met_help_archive at mailman.ucar.edu
> From: met_help at ucar.edu
> Date: Thu, 26 Mar 2015 09:35:52 -0600
> CC: met_help at ucar.edu
> Subject: [Met_help] [rt.rap.ucar.edu #70453] History for combining
nc files	together
>
> ----------------------------------------------------------------
>   Initial Request
> ----------------------------------------------------------------
>
> Hi John.
> Sorry to bother you again n again. But I have no choice. I want to
know the followingI have 8 nc files. bash-3.2$ ls -ltotal 216336-rw-
r--r--    1 model    staff      13841488 Jan 21 11:24
3B42.20110422.06.7.nc-rw-r--r--    1 model    staff      13841488 Jan
21 11:27 3B42.20110422.09.7.nc-rw-r--r--    1 model    staff
13841492 Jan 21 14:01 3B42.20110422.12.7.nc-rw-r--r--    1 model
staff      13841492 Jan 21 13:16 3B42.20110422.15.7.nc-rw-r--r--    1
model    staff      13841492 Jan 21 14:51 3B42.20110422.18.7.nc-rw-r--
r--    1 model    staff      13841492 Jan 21 13:21
3B42.20110422.21.7.nc-rw-r--r--    1 model    staff      13841488 Jan
21 13:22 3B42.20110423.00.7.nc-rw-r--r--    1 model    staff
13841488 Jan 21 13:50 3B42.20110423.03.7.ncbash-3.2$ pwd
> I need to make ONE 24 hour RF accumulated file starting 06UTC of
22.04.2011 - 03UTC of 23.04.2011. How do I do that???
> Geeta
>
>
>
>
> ----------------------------------------------------------------
>   Complete Ticket History
> ----------------------------------------------------------------
>
> Subject: combining nc files together
> From: John Halley Gotway
> Time: Wed Jan 21 10:45:12 2015
>
> Geeta,
>
> I'm assuming the variable in the NetCDF files is named "APCP_03".
If
> not,
> just switch in the actual name.  You can run the following
pcp_combine
> -add
> command:
>
> pcp_combine -add \
>    3B42.20110422.09.7.nc 'name="APCP_03"; level="(*,*)";' \
>    3B42.20110422.12.7.nc 'name="APCP_03"; level="(*,*)";' \
>    3B42.20110422.15.7.nc 'name="APCP_03"; level="(*,*)";' \
>    3B42.20110422.18.7.nc 'name="APCP_03"; level="(*,*)";' \
>    3B42.20110422.21.7.nc 'name="APCP_03"; level="(*,*)";' \
>    3B42.20110423.00.7.nc 'name="APCP_03"; level="(*,*)";' \
>    3B42.20110423.03.7.nc 'name="APCP_03"; level="(*,*)";' \
>    3B42.20110423.06.7.nc 'name="APCP_03"; level="(*,*)";' \
>    3B42.20110423.06.7_APCP_24.nc
>
> The last file listed is just the output file name I chose.  But you
> can
> name it whatever you'd like.
>
> John
>
>
> On Wed, Jan 21, 2015 at 4:02 AM, Geeta Geeta via RT
> <met_help at ucar.edu>
> wrote:
>
> >
> > Wed Jan 21 04:02:41 2015: Request 70453 was acted upon.
> > Transaction: Ticket created by geeta124 at hotmail.com
> >        Queue: met_help
> >      Subject: combining nc files together
> >        Owner: Nobody
> >   Requestors: geeta124 at hotmail.com
> >       Status: new
> >  Ticket <URL:
> https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453 >
> >
> >
> > Hi John.
> > Sorry to bother you again n again. But I have no choice. I want to
> know
> > the followingI have 8 nc files. bash-3.2$ ls -ltotal 216336-rw-r--
> r--    1
> > model    staff      13841488 Jan 21 11:24 3B42.20110422.06.7.nc-
rw-
> r--r--
> >   1 model    staff      13841488 Jan 21 11:27
> > 3B42.20110422.09.7.nc-rw-r--r--    1 model    staff      13841492
> Jan 21
> > 14:01 3B42.20110422.12.7.nc-rw-r--r--    1 model    staff
> 13841492 Jan
> > 21 13:16 3B42.20110422.15.7.nc-rw-r--r--    1 model    staff
> 13841492
> > Jan 21 14:51 3B42.20110422.18.7.nc-rw-r--r--    1 model    staff
> > 13841492 Jan 21 13:21 3B42.20110422.21.7.nc-rw-r--r--    1 model
> staff
> >     13841488 Jan 21 13:22 3B42.20110423.00.7.nc-rw-r--r--    1
model
> > staff      13841488 Jan 21 13:50 3B42.20110423.03.7.ncbash-3.2$
pwd
> > I need to make ONE 24 hour RF accumulated file starting 06UTC of
> > 22.04.2011 - 03UTC of 23.04.2011. How do I do that???
> > Geeta
> >
> >
> >
> >
>
> ------------------------------------------------
> Subject: combining nc files together
> From: Geeta Geeta
> Time: Fri Jan 23 04:06:42 2015
>
> Hi John. Your help is needed at every step. Now I want to know which
> software can be used for making the QUILT plot (intensity and
spatial
> distribution) plot. Can It be done in using MET5.0. How Can I plot
the
> point data that I used in MET5.0???KIndly guide me. Also pls tell me
> if u can figure out the issue of 3hrly RF accumulations if the files
> are in the NETCDF format. Geeta
>
> From: geeta124 at hotmail.com
> To: met_help at ucar.edu
> Subject: RE: [rt.rap.ucar.edu #70453] combining nc files together
> Date: Thu, 22 Jan 2015 16:30:34 +0530
>
>
>
>
> thanks John.  the pcp combine tool uses only GRIB1 files. these were
> netcdf files (attaching one).I had downloaded the NC files from
> http://mirador.gsfc.nasa.gov/cgi-
> bin/mirador/granlist.pl?page=1&location=(-90,-
>
180),(90,180)&dataSet=TRMM_3B42&version=007&allversion=007&startTime=2011-
> 04-22T00:00:01Z&endTime=2011-04-
> 22T23:59:59Z&keyword=TRMM_3B42&longname=TRMM%203-
>
Hourly%200.25%20deg.%20TRMM%20and%20Others%20Rainfall%20Estimate%20Data&CGISESSID=02499c2107ddfb60a3e46d6b99df3d79&prodpg=http://mirador.gsfc.nasa.gov/collections/TRMM_3B42__007.shtmlI
> got following error. bash-3.2$ ./run_pcptool.sh Running PCP
> toolPerforming addition command for 2 files.Reading input file:
> 3B42.20110422.12.7.nc    GribFile::skip_header() -> can't find
"GRIB"
> magic cookie   ERROR: get_field() -> can't open grib file:
> 3B42.20110422.12.7.nc
> Following is my script--------!/bin/sh
> echo " Running PCP tool"~/wrf3/utils/met/METv3.0/bin/pcp_combine
-add
> 3B42.20110422.12.7.nc 03 3B42.20110422.15.7.nc 03 myoutput.nc
> Kindly suggest.
>
> the second thing I was thinking to download the TRMM data from
thelink
> at DTC website and then converying the 3 hourly bins to NC.
> 2.2
>
MBftp://disc2.nascom.nasa.gov/data/TRMM/Gridded/3B42_V7/201104/3B42.110422.15z.7.precipitation.bin
> But my problem will be to ACCUMULATE them. I need to verify the
model
> data starting 06 UTC of day1 to 03UTC of DAY2. I mean how do I
combine
> all the NC  files together. Kindly suggest
> > Subject: Re: [rt.rap.ucar.edu #70453] combining nc files together
> > From: met_help at ucar.edu
> > To: geeta124 at hotmail.com
> > Date: Wed, 21 Jan 2015 10:45:12 -0700
> >
> > Geeta,
> >
> > I'm assuming the variable in the NetCDF files is named "APCP_03".
> If not,
> > just switch in the actual name.  You can run the following
> pcp_combine -add
> > command:
> >
> > pcp_combine -add \
> >    3B42.20110422.09.7.nc 'name="APCP_03"; level="(*,*)";' \
> >    3B42.20110422.12.7.nc 'name="APCP_03"; level="(*,*)";' \
> >    3B42.20110422.15.7.nc 'name="APCP_03"; level="(*,*)";' \
> >    3B42.20110422.18.7.nc 'name="APCP_03"; level="(*,*)";' \
> >    3B42.20110422.21.7.nc 'name="APCP_03"; level="(*,*)";' \
> >    3B42.20110423.00.7.nc 'name="APCP_03"; level="(*,*)";' \
> >    3B42.20110423.03.7.nc 'name="APCP_03"; level="(*,*)";' \
> >    3B42.20110423.06.7.nc 'name="APCP_03"; level="(*,*)";' \
> >    3B42.20110423.06.7_APCP_24.nc
> >
> > The last file listed is just the output file name I chose.  But
you
> can
> > name it whatever you'd like.
> >
> > John
> >
> >
> > On Wed, Jan 21, 2015 at 4:02 AM, Geeta Geeta via RT
> <met_help at ucar.edu>
> > wrote:
> >
> > >
> > > Wed Jan 21 04:02:41 2015: Request 70453 was acted upon.
> > > Transaction: Ticket created by geeta124 at hotmail.com
> > >        Queue: met_help
> > >      Subject: combining nc files together
> > >        Owner: Nobody
> > >   Requestors: geeta124 at hotmail.com
> > >       Status: new
> > >  Ticket <URL:
> https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453 >
> > >
> > >
> > > Hi John.
> > > Sorry to bother you again n again. But I have no choice. I want
to
> know
> > > the followingI have 8 nc files. bash-3.2$ ls -ltotal 216336-rw-
r--
> r--    1
> > > model    staff      13841488 Jan 21 11:24 3B42.20110422.06.7.nc-
> rw-r--r--
> > >   1 model    staff      13841488 Jan 21 11:27
> > > 3B42.20110422.09.7.nc-rw-r--r--    1 model    staff
13841492
> Jan 21
> > > 14:01 3B42.20110422.12.7.nc-rw-r--r--    1 model    staff
> 13841492 Jan
> > > 21 13:16 3B42.20110422.15.7.nc-rw-r--r--    1 model    staff
> 13841492
> > > Jan 21 14:51 3B42.20110422.18.7.nc-rw-r--r--    1 model    staff
> > > 13841492 Jan 21 13:21 3B42.20110422.21.7.nc-rw-r--r--    1 model
> staff
> > >     13841488 Jan 21 13:22 3B42.20110423.00.7.nc-rw-r--r--    1
> model
> > > staff      13841488 Jan 21 13:50 3B42.20110423.03.7.ncbash-3.2$
> pwd
> > > I need to make ONE 24 hour RF accumulated file starting 06UTC of
> > > 22.04.2011 - 03UTC of 23.04.2011. How do I do that???
> > > Geeta
> > >
> > >
> > >
> > >
> >
>
> ------------------------------------------------
> Subject: combining nc files together
> From: John Halley Gotway
> Time: Fri Jan 23 11:09:23 2015
>
> Geeta,
>
> Regarding 3-hourly RF accumulations, if MET is able to read those
> NetCDF
> files, you can run them through PCP-Combine to "add" them all
> together.
> Just use the example PCP_Combine command I already sent you but
modify
> the
> "name" entry to list the name of the NetCDF variable you want to
use.
> If
> MET is not able to read them, then it's up to you to figure out how
to
> accumulate them.
>
> If you're familiar with R, you could use the "ncdf" library in R to
> read
> data from one or more NetCDF files, add them up, and write it out to
a
> new
> file.  Alternatively, "nco" (NetCDF Operators) provide some
capability
> of
> doing simple operations on NetCDF files.  You might be able to use
> them.
>
> Regarding quilt plots, I've only used R to make them in the past.
> Specifically, the "quilt.plot" function in the R package named
> "fields".
> Please take a look at this website:
>    http://www.dtcenter.org/met/users/downloads/analysis_scripts.php
>
> The Rscript named "mode_quilt_plot.R" provides an example of using R
> to
> make quilt plots.  Example output from that script is also included
on
> that
> page.
>
> Thanks,
> John
>
> On Fri, Jan 23, 2015 at 4:06 AM, Geeta Geeta via RT
> <met_help at ucar.edu>
> wrote:
>
> >
> > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453 >
> >
> > Hi John. Your help is needed at every step. Now I want to know
which
> > software can be used for making the QUILT plot (intensity and
> spatial
> > distribution) plot. Can It be done in using MET5.0. How Can I plot
> the
> > point data that I used in MET5.0???KIndly guide me. Also pls tell
me
> if u
> > can figure out the issue of 3hrly RF accumulations if the files
are
> in the
> > NETCDF format. Geeta
> >
> > From: geeta124 at hotmail.com
> > To: met_help at ucar.edu
> > Subject: RE: [rt.rap.ucar.edu #70453] combining nc files together
> > Date: Thu, 22 Jan 2015 16:30:34 +0530
> >
> >
> >
> >
> > thanks John.  the pcp combine tool uses only GRIB1 files. these
were
> > netcdf files (attaching one).I had downloaded the NC files from
> > http://mirador.gsfc.nasa.gov/cgi-
> bin/mirador/granlist.pl?page=1&location=(-90,-
>
180),(90,180)&dataSet=TRMM_3B42&version=007&allversion=007&startTime=2011-
> 04-22T00:00:01Z&endTime=2011-04-
> 22T23:59:59Z&keyword=TRMM_3B42&longname=TRMM%203-
>
Hourly%200.25%20deg.%20TRMM%20and%20Others%20Rainfall%20Estimate%20Data&CGISESSID=02499c2107ddfb60a3e46d6b99df3d79&prodpg=http://mirador.gsfc.nasa.gov/collections/TRMM_3B42__007.shtmlI
> > got following error. bash-3.2$ ./run_pcptool.sh Running PCP
> toolPerforming
> > addition command for 2 files.Reading input file:
> 3B42.20110422.12.7.nc
> > GribFile::skip_header() -> can't find "GRIB" magic cookie   ERROR:
> > get_field() -> can't open grib file: 3B42.20110422.12.7.nc
> > Following is my script--------!/bin/sh
> >
> >              echo " Running PCP
> > tool"~/wrf3/utils/met/METv3.0/bin/pcp_combine -add
> 3B42.20110422.12.7.nc
> > 03 3B42.20110422.15.7.nc 03 myoutput.nc
> > Kindly suggest.
> >
> > the second thing I was thinking to download the TRMM data from
> thelink at
> > DTC website and then converying the 3 hourly bins to NC.
> > 2.2 MBftp://
> >
>
disc2.nascom.nasa.gov/data/TRMM/Gridded/3B42_V7/201104/3B42.110422.15z.7.precipitation.bin
> > But my problem will be to ACCUMULATE them. I need to verify the
> model data
> > starting 06 UTC of day1 to 03UTC of DAY2. I mean how do I combine
> all the
> > NC  files together. Kindly suggest
> > > Subject: Re: [rt.rap.ucar.edu #70453] combining nc files
together
> > > From: met_help at ucar.edu
> > > To: geeta124 at hotmail.com
> > > Date: Wed, 21 Jan 2015 10:45:12 -0700
> > >
> > > Geeta,
> > >
> > > I'm assuming the variable in the NetCDF files is named
"APCP_03".
> If
> > not,
> > > just switch in the actual name.  You can run the following
> pcp_combine
> > -add
> > > command:
> > >
> > > pcp_combine -add \
> > >    3B42.20110422.09.7.nc 'name="APCP_03"; level="(*,*)";' \
> > >    3B42.20110422.12.7.nc 'name="APCP_03"; level="(*,*)";' \
> > >    3B42.20110422.15.7.nc 'name="APCP_03"; level="(*,*)";' \
> > >    3B42.20110422.18.7.nc 'name="APCP_03"; level="(*,*)";' \
> > >    3B42.20110422.21.7.nc 'name="APCP_03"; level="(*,*)";' \
> > >    3B42.20110423.00.7.nc 'name="APCP_03"; level="(*,*)";' \
> > >    3B42.20110423.03.7.nc 'name="APCP_03"; level="(*,*)";' \
> > >    3B42.20110423.06.7.nc 'name="APCP_03"; level="(*,*)";' \
> > >    3B42.20110423.06.7_APCP_24.nc
> > >
> > > The last file listed is just the output file name I chose.  But
> you can
> > > name it whatever you'd like.
> > >
> > > John
> > >
> > >
> > > On Wed, Jan 21, 2015 at 4:02 AM, Geeta Geeta via RT
> <met_help at ucar.edu>
> > > wrote:
> > >
> > > >
> > > > Wed Jan 21 04:02:41 2015: Request 70453 was acted upon.
> > > > Transaction: Ticket created by geeta124 at hotmail.com
> > > >        Queue: met_help
> > > >      Subject: combining nc files together
> > > >        Owner: Nobody
> > > >   Requestors: geeta124 at hotmail.com
> > > >       Status: new
> > > >  Ticket <URL:
> https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453
> > >
> > > >
> > > >
> > > > Hi John.
> > > > Sorry to bother you again n again. But I have no choice. I
want
> to know
> > > > the followingI have 8 nc files. bash-3.2$ ls -ltotal 216336-
rw-
> r--r--
> >   1
> > > > model    staff      13841488 Jan 21 11:24
> > 3B42.20110422.06.7.nc-rw-r--r--
> > > >   1 model    staff      13841488 Jan 21 11:27
> > > > 3B42.20110422.09.7.nc-rw-r--r--    1 model    staff
> 13841492 Jan
> > 21
> > > > 14:01 3B42.20110422.12.7.nc-rw-r--r--    1 model    staff
> > 13841492 Jan
> > > > 21 13:16 3B42.20110422.15.7.nc-rw-r--r--    1 model    staff
> > 13841492
> > > > Jan 21 14:51 3B42.20110422.18.7.nc-rw-r--r--    1 model
staff
> > > > 13841492 Jan 21 13:21 3B42.20110422.21.7.nc-rw-r--r--    1
model
> > staff
> > > >     13841488 Jan 21 13:22 3B42.20110423.00.7.nc-rw-r--r--    1
> model
> > > > staff      13841488 Jan 21 13:50 3B42.20110423.03.7.ncbash-
3.2$
> pwd
> > > > I need to make ONE 24 hour RF accumulated file starting 06UTC
of
> > > > 22.04.2011 - 03UTC of 23.04.2011. How do I do that???
> > > > Geeta
> > > >
> > > >
> > > >
> > > >
> > >
> >
> >
>
> ------------------------------------------------
> Subject: combining nc files together
> From: Geeta Geeta
> Time: Mon Jan 26 07:28:51 2015
>
> Hi John.
> the link
> http://www.dtcenter.org/met/users/downloads/analysis_scripts.php has
> the plots for the cnt statistics.
> I am not familiar with R. I am going thru the plot_cnt.R script.
> but I want to know what will be the data format for the Quilt plot.
> Do I have to write my own script???.
> Kindly let me know about the data format and how I have to modify
the
> above script in order to make the quilt plot.
> Regards
> Geeta
>
> > Subject: Re: [rt.rap.ucar.edu #70453] combining nc files together
> > From: met_help at ucar.edu
> > To: geeta124 at hotmail.com
> > Date: Fri, 23 Jan 2015 11:09:23 -0700
> >
> > Geeta,
> >
> > Regarding 3-hourly RF accumulations, if MET is able to read those
> NetCDF
> > files, you can run them through PCP-Combine to "add" them all
> together.
> > Just use the example PCP_Combine command I already sent you but
> modify the
> > "name" entry to list the name of the NetCDF variable you want to
> use.  If
> > MET is not able to read them, then it's up to you to figure out
how
> to
> > accumulate them.
> >
> > If you're familiar with R, you could use the "ncdf" library in R
to
> read
> > data from one or more NetCDF files, add them up, and write it out
to
> a new
> > file.  Alternatively, "nco" (NetCDF Operators) provide some
> capability of
> > doing simple operations on NetCDF files.  You might be able to use
> them.
> >
> > Regarding quilt plots, I've only used R to make them in the past.
> > Specifically, the "quilt.plot" function in the R package named
> "fields".
> > Please take a look at this website:
> >
http://www.dtcenter.org/met/users/downloads/analysis_scripts.php
> >
> > The Rscript named "mode_quilt_plot.R" provides an example of using
R
> to
> > make quilt plots.  Example output from that script is also
included
> on that
> > page.
> >
> > Thanks,
> > John
> >
> > On Fri, Jan 23, 2015 at 4:06 AM, Geeta Geeta via RT
> <met_help at ucar.edu>
> > wrote:
> >
> > >
> > > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453 >
> > >
> > > Hi John. Your help is needed at every step. Now I want to know
> which
> > > software can be used for making the QUILT plot (intensity and
> spatial
> > > distribution) plot. Can It be done in using MET5.0. How Can I
plot
> the
> > > point data that I used in MET5.0???KIndly guide me. Also pls
tell
> me if u
> > > can figure out the issue of 3hrly RF accumulations if the files
> are in the
> > > NETCDF format. Geeta
> > >
> > > From: geeta124 at hotmail.com
> > > To: met_help at ucar.edu
> > > Subject: RE: [rt.rap.ucar.edu #70453] combining nc files
together
> > > Date: Thu, 22 Jan 2015 16:30:34 +0530
> > >
> > >
> > >
> > >
> > > thanks John.  the pcp combine tool uses only GRIB1 files. these
> were
> > > netcdf files (attaching one).I had downloaded the NC files from
> > > http://mirador.gsfc.nasa.gov/cgi-
> bin/mirador/granlist.pl?page=1&location=(-90,-
>
180),(90,180)&dataSet=TRMM_3B42&version=007&allversion=007&startTime=2011-
> 04-22T00:00:01Z&endTime=2011-04-
> 22T23:59:59Z&keyword=TRMM_3B42&longname=TRMM%203-
>
Hourly%200.25%20deg.%20TRMM%20and%20Others%20Rainfall%20Estimate%20Data&CGISESSID=02499c2107ddfb60a3e46d6b99df3d79&prodpg=http://mirador.gsfc.nasa.gov/collections/TRMM_3B42__007.shtmlI
> > > got following error. bash-3.2$ ./run_pcptool.sh Running PCP
> toolPerforming
> > > addition command for 2 files.Reading input file:
> 3B42.20110422.12.7.nc
> > > GribFile::skip_header() -> can't find "GRIB" magic cookie
ERROR:
> > > get_field() -> can't open grib file: 3B42.20110422.12.7.nc
> > > Following is my script--------!/bin/sh
> > >
> > >              echo " Running PCP
> > > tool"~/wrf3/utils/met/METv3.0/bin/pcp_combine -add
> 3B42.20110422.12.7.nc
> > > 03 3B42.20110422.15.7.nc 03 myoutput.nc
> > > Kindly suggest.
> > >
> > > the second thing I was thinking to download the TRMM data from
> thelink at
> > > DTC website and then converying the 3 hourly bins to NC.
> > > 2.2 MBftp://
> > >
>
disc2.nascom.nasa.gov/data/TRMM/Gridded/3B42_V7/201104/3B42.110422.15z.7.precipitation.bin
> > > But my problem will be to ACCUMULATE them. I need to verify the
> model data
> > > starting 06 UTC of day1 to 03UTC of DAY2. I mean how do I
combine
> all the
> > > NC  files together. Kindly suggest
> > > > Subject: Re: [rt.rap.ucar.edu #70453] combining nc files
> together
> > > > From: met_help at ucar.edu
> > > > To: geeta124 at hotmail.com
> > > > Date: Wed, 21 Jan 2015 10:45:12 -0700
> > > >
> > > > Geeta,
> > > >
> > > > I'm assuming the variable in the NetCDF files is named
> "APCP_03".  If
> > > not,
> > > > just switch in the actual name.  You can run the following
> pcp_combine
> > > -add
> > > > command:
> > > >
> > > > pcp_combine -add \
> > > >    3B42.20110422.09.7.nc 'name="APCP_03"; level="(*,*)";' \
> > > >    3B42.20110422.12.7.nc 'name="APCP_03"; level="(*,*)";' \
> > > >    3B42.20110422.15.7.nc 'name="APCP_03"; level="(*,*)";' \
> > > >    3B42.20110422.18.7.nc 'name="APCP_03"; level="(*,*)";' \
> > > >    3B42.20110422.21.7.nc 'name="APCP_03"; level="(*,*)";' \
> > > >    3B42.20110423.00.7.nc 'name="APCP_03"; level="(*,*)";' \
> > > >    3B42.20110423.03.7.nc 'name="APCP_03"; level="(*,*)";' \
> > > >    3B42.20110423.06.7.nc 'name="APCP_03"; level="(*,*)";' \
> > > >    3B42.20110423.06.7_APCP_24.nc
> > > >
> > > > The last file listed is just the output file name I chose.
But
> you can
> > > > name it whatever you'd like.
> > > >
> > > > John
> > > >
> > > >
> > > > On Wed, Jan 21, 2015 at 4:02 AM, Geeta Geeta via RT
> <met_help at ucar.edu>
> > > > wrote:
> > > >
> > > > >
> > > > > Wed Jan 21 04:02:41 2015: Request 70453 was acted upon.
> > > > > Transaction: Ticket created by geeta124 at hotmail.com
> > > > >        Queue: met_help
> > > > >      Subject: combining nc files together
> > > > >        Owner: Nobody
> > > > >   Requestors: geeta124 at hotmail.com
> > > > >       Status: new
> > > > >  Ticket <URL:
> https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453
> > > >
> > > > >
> > > > >
> > > > > Hi John.
> > > > > Sorry to bother you again n again. But I have no choice. I
> want to know
> > > > > the followingI have 8 nc files. bash-3.2$ ls -ltotal 216336-
> rw-r--r--
> > >   1
> > > > > model    staff      13841488 Jan 21 11:24
> > > 3B42.20110422.06.7.nc-rw-r--r--
> > > > >   1 model    staff      13841488 Jan 21 11:27
> > > > > 3B42.20110422.09.7.nc-rw-r--r--    1 model    staff
> 13841492 Jan
> > > 21
> > > > > 14:01 3B42.20110422.12.7.nc-rw-r--r--    1 model    staff
> > > 13841492 Jan
> > > > > 21 13:16 3B42.20110422.15.7.nc-rw-r--r--    1 model    staff
> > > 13841492
> > > > > Jan 21 14:51 3B42.20110422.18.7.nc-rw-r--r--    1 model
> staff
> > > > > 13841492 Jan 21 13:21 3B42.20110422.21.7.nc-rw-r--r--    1
> model
> > > staff
> > > > >     13841488 Jan 21 13:22 3B42.20110423.00.7.nc-rw-r--r--
1
> model
> > > > > staff      13841488 Jan 21 13:50 3B42.20110423.03.7.ncbash-
> 3.2$ pwd
> > > > > I need to make ONE 24 hour RF accumulated file starting
06UTC
> of
> > > > > 22.04.2011 - 03UTC of 23.04.2011. How do I do that???
> > > > > Geeta
> > > > >
> > > > >
> > > > >
> > > > >
> > > >
> > >
> > >
> >
>
> ------------------------------------------------
> Subject: combining nc files together
> From: John Halley Gotway
> Time: Mon Jan 26 09:58:32 2015
>
> Geeta,
>
> On that webpage (
> http://www.dtcenter.org/met/users/downloads/analysis_scripts.php),
> please
> look specifically at the script named "mode_quilt_plot.R".  Here's
the
> direct link to that script:
>
http://www.dtcenter.org/met/users/downloads/Rscripts/mode_quilt_plot.R
>
> And here's a direct link to the sample output that script creates:
>
>
http://www.dtcenter.org/met/users/downloads/Rscripts/SAMPLE_mode_quilts.pdf
>
> This is an example of using R to make a quilt plot for the output of
> the
> MODE tool.  You might also use a quilt plot to display fractions
skill
> score from the Grid-Stat tool, if you've run FSS for multiple
> thresholds
> and neighborhood sizes.
>
> John
>
> On Mon, Jan 26, 2015 at 7:28 AM, Geeta Geeta via RT
> <met_help at ucar.edu>
> wrote:
>
> >
> > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453 >
> >
> > Hi John.
> > the link
> http://www.dtcenter.org/met/users/downloads/analysis_scripts.php
> > has the plots for the cnt statistics.
> > I am not familiar with R. I am going thru the plot_cnt.R script.
> > but I want to know what will be the data format for the Quilt
plot.
> > Do I have to write my own script???.
> > Kindly let me know about the data format and how I have to modify
> the
> > above script in order to make the quilt plot.
> > Regards
> > Geeta
> >
> > > Subject: Re: [rt.rap.ucar.edu #70453] combining nc files
together
> > > From: met_help at ucar.edu
> > > To: geeta124 at hotmail.com
> > > Date: Fri, 23 Jan 2015 11:09:23 -0700
> > >
> > > Geeta,
> > >
> > > Regarding 3-hourly RF accumulations, if MET is able to read
those
> NetCDF
> > > files, you can run them through PCP-Combine to "add" them all
> together.
> > > Just use the example PCP_Combine command I already sent you but
> modify
> > the
> > > "name" entry to list the name of the NetCDF variable you want to
> use.  If
> > > MET is not able to read them, then it's up to you to figure out
> how to
> > > accumulate them.
> > >
> > > If you're familiar with R, you could use the "ncdf" library in R
> to read
> > > data from one or more NetCDF files, add them up, and write it
out
> to a
> > new
> > > file.  Alternatively, "nco" (NetCDF Operators) provide some
> capability of
> > > doing simple operations on NetCDF files.  You might be able to
use
> them.
> > >
> > > Regarding quilt plots, I've only used R to make them in the
past.
> > > Specifically, the "quilt.plot" function in the R package named
> "fields".
> > > Please take a look at this website:
> > >
> http://www.dtcenter.org/met/users/downloads/analysis_scripts.php
> > >
> > > The Rscript named "mode_quilt_plot.R" provides an example of
using
> R to
> > > make quilt plots.  Example output from that script is also
> included on
> > that
> > > page.
> > >
> > > Thanks,
> > > John
> > >
> > > On Fri, Jan 23, 2015 at 4:06 AM, Geeta Geeta via RT
> <met_help at ucar.edu>
> > > wrote:
> > >
> > > >
> > > > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453
>
> > > >
> > > > Hi John. Your help is needed at every step. Now I want to know
> which
> > > > software can be used for making the QUILT plot (intensity and
> spatial
> > > > distribution) plot. Can It be done in using MET5.0. How Can I
> plot the
> > > > point data that I used in MET5.0???KIndly guide me. Also pls
> tell me
> > if u
> > > > can figure out the issue of 3hrly RF accumulations if the
files
> are in
> > the
> > > > NETCDF format. Geeta
> > > >
> > > > From: geeta124 at hotmail.com
> > > > To: met_help at ucar.edu
> > > > Subject: RE: [rt.rap.ucar.edu #70453] combining nc files
> together
> > > > Date: Thu, 22 Jan 2015 16:30:34 +0530
> > > >
> > > >
> > > >
> > > >
> > > > thanks John.  the pcp combine tool uses only GRIB1 files.
these
> were
> > > > netcdf files (attaching one).I had downloaded the NC files
from
> > > >
> > http://mirador.gsfc.nasa.gov/cgi-
> bin/mirador/granlist.pl?page=1&location=(-90,-
>
180),(90,180)&dataSet=TRMM_3B42&version=007&allversion=007&startTime=2011-
> 04-22T00:00:01Z&endTime=2011-04-
> 22T23:59:59Z&keyword=TRMM_3B42&longname=TRMM%203-
>
Hourly%200.25%20deg.%20TRMM%20and%20Others%20Rainfall%20Estimate%20Data&CGISESSID=02499c2107ddfb60a3e46d6b99df3d79&prodpg=http://mirador.gsfc.nasa.gov/collections/TRMM_3B42__007.shtmlI
> > > > got following error. bash-3.2$ ./run_pcptool.sh Running PCP
> > toolPerforming
> > > > addition command for 2 files.Reading input file:
> 3B42.20110422.12.7.nc
> > > > GribFile::skip_header() -> can't find "GRIB" magic cookie
> ERROR:
> > > > get_field() -> can't open grib file: 3B42.20110422.12.7.nc
> > > > Following is my script--------!/bin/sh
> > > >
> > > >              echo " Running PCP
> > > > tool"~/wrf3/utils/met/METv3.0/bin/pcp_combine -add
> > 3B42.20110422.12.7.nc
> > > > 03 3B42.20110422.15.7.nc 03 myoutput.nc
> > > > Kindly suggest.
> > > >
> > > > the second thing I was thinking to download the TRMM data from
> thelink
> > at
> > > > DTC website and then converying the 3 hourly bins to NC.
> > > > 2.2 MBftp://
> > > >
> >
>
disc2.nascom.nasa.gov/data/TRMM/Gridded/3B42_V7/201104/3B42.110422.15z.7.precipitation.bin
> > > > But my problem will be to ACCUMULATE them. I need to verify
the
> model
> > data
> > > > starting 06 UTC of day1 to 03UTC of DAY2. I mean how do I
> combine all
> > the
> > > > NC  files together. Kindly suggest
> > > > > Subject: Re: [rt.rap.ucar.edu #70453] combining nc files
> together
> > > > > From: met_help at ucar.edu
> > > > > To: geeta124 at hotmail.com
> > > > > Date: Wed, 21 Jan 2015 10:45:12 -0700
> > > > >
> > > > > Geeta,
> > > > >
> > > > > I'm assuming the variable in the NetCDF files is named
> "APCP_03".  If
> > > > not,
> > > > > just switch in the actual name.  You can run the following
> > pcp_combine
> > > > -add
> > > > > command:
> > > > >
> > > > > pcp_combine -add \
> > > > >    3B42.20110422.09.7.nc 'name="APCP_03"; level="(*,*)";' \
> > > > >    3B42.20110422.12.7.nc 'name="APCP_03"; level="(*,*)";' \
> > > > >    3B42.20110422.15.7.nc 'name="APCP_03"; level="(*,*)";' \
> > > > >    3B42.20110422.18.7.nc 'name="APCP_03"; level="(*,*)";' \
> > > > >    3B42.20110422.21.7.nc 'name="APCP_03"; level="(*,*)";' \
> > > > >    3B42.20110423.00.7.nc 'name="APCP_03"; level="(*,*)";' \
> > > > >    3B42.20110423.03.7.nc 'name="APCP_03"; level="(*,*)";' \
> > > > >    3B42.20110423.06.7.nc 'name="APCP_03"; level="(*,*)";' \
> > > > >    3B42.20110423.06.7_APCP_24.nc
> > > > >
> > > > > The last file listed is just the output file name I chose.
> But you
> > can
> > > > > name it whatever you'd like.
> > > > >
> > > > > John
> > > > >
> > > > >
> > > > > On Wed, Jan 21, 2015 at 4:02 AM, Geeta Geeta via RT <
> > met_help at ucar.edu>
> > > > > wrote:
> > > > >
> > > > > >
> > > > > > Wed Jan 21 04:02:41 2015: Request 70453 was acted upon.
> > > > > > Transaction: Ticket created by geeta124 at hotmail.com
> > > > > >        Queue: met_help
> > > > > >      Subject: combining nc files together
> > > > > >        Owner: Nobody
> > > > > >   Requestors: geeta124 at hotmail.com
> > > > > >       Status: new
> > > > > >  Ticket <URL:
> > https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453
> > > > >
> > > > > >
> > > > > >
> > > > > > Hi John.
> > > > > > Sorry to bother you again n again. But I have no choice. I
> want to
> > know
> > > > > > the followingI have 8 nc files. bash-3.2$ ls -ltotal
> > 216336-rw-r--r--
> > > >   1
> > > > > > model    staff      13841488 Jan 21 11:24
> > > > 3B42.20110422.06.7.nc-rw-r--r--
> > > > > >   1 model    staff      13841488 Jan 21 11:27
> > > > > > 3B42.20110422.09.7.nc-rw-r--r--    1 model    staff
> 13841492
> > Jan
> > > > 21
> > > > > > 14:01 3B42.20110422.12.7.nc-rw-r--r--    1 model    staff
> > > > 13841492 Jan
> > > > > > 21 13:16 3B42.20110422.15.7.nc-rw-r--r--    1 model
staff
> > > > 13841492
> > > > > > Jan 21 14:51 3B42.20110422.18.7.nc-rw-r--r--    1 model
> staff
> > > > > > 13841492 Jan 21 13:21 3B42.20110422.21.7.nc-rw-r--r--    1
> model
> > > > staff
> > > > > >     13841488 Jan 21 13:22 3B42.20110423.00.7.nc-rw-r--r--
> 1
> > model
> > > > > > staff      13841488 Jan 21 13:50
3B42.20110423.03.7.ncbash-
> 3.2$ pwd
> > > > > > I need to make ONE 24 hour RF accumulated file starting
> 06UTC of
> > > > > > 22.04.2011 - 03UTC of 23.04.2011. How do I do that???
> > > > > > Geeta
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > >
> > > >
> > > >
> > >
> >
> >
>
> ------------------------------------------------
> Subject: combining nc files together
> From: Geeta Geeta
> Time: Thu Jan 29 04:35:35 2015
>
> Hi John.
> So I was able to sum up all the 3 hourly TRMM files and then convert
> the final file into One called Obs22apr2011.bin.
> I have done that using Grads and now I am using the R script for
> converting into NC.
> But I got the error.
> aditya at agniilap:~/geeta/installs/met/RUN_MET-22apr2011$ Rscript
> ../trmm_to_nc/trmmbin2nc_mod.R Obs22apr2011.bin Obs22apr2011.nc
>
>
> ERROR: Can't figure out the accumulation interval!
>
> I am sending you the data files and the R script (I changed the
> domain).
> The data is plotted fine. Also pls tell me about the ncview
questions
> that I was asking. reg the plotting of MPR's
> Kindly suggest.
> Geeta
>
>
>
>
> > Subject: Re: [rt.rap.ucar.edu #70453] combining nc files together
> > From: met_help at ucar.edu
> > To: geeta124 at hotmail.com
> > Date: Mon, 26 Jan 2015 09:58:32 -0700
> >
> > Geeta,
> >
> > On that webpage (
> > http://www.dtcenter.org/met/users/downloads/analysis_scripts.php),
> please
> > look specifically at the script named "mode_quilt_plot.R".  Here's
> the
> > direct link to that script:
> >
>
http://www.dtcenter.org/met/users/downloads/Rscripts/mode_quilt_plot.R
> >
> > And here's a direct link to the sample output that script creates:
> >
> >
>
http://www.dtcenter.org/met/users/downloads/Rscripts/SAMPLE_mode_quilts.pdf
> >
> > This is an example of using R to make a quilt plot for the output
of
> the
> > MODE tool.  You might also use a quilt plot to display fractions
> skill
> > score from the Grid-Stat tool, if you've run FSS for multiple
> thresholds
> > and neighborhood sizes.
> >
> > John
> >
> > On Mon, Jan 26, 2015 at 7:28 AM, Geeta Geeta via RT
> <met_help at ucar.edu>
> > wrote:
> >
> > >
> > > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453 >
> > >
> > > Hi John.
> > > the link
> http://www.dtcenter.org/met/users/downloads/analysis_scripts.php
> > > has the plots for the cnt statistics.
> > > I am not familiar with R. I am going thru the plot_cnt.R script.
> > > but I want to know what will be the data format for the Quilt
> plot.
> > > Do I have to write my own script???.
> > > Kindly let me know about the data format and how I have to
modify
> the
> > > above script in order to make the quilt plot.
> > > Regards
> > > Geeta
> > >
> > > > Subject: Re: [rt.rap.ucar.edu #70453] combining nc files
> together
> > > > From: met_help at ucar.edu
> > > > To: geeta124 at hotmail.com
> > > > Date: Fri, 23 Jan 2015 11:09:23 -0700
> > > >
> > > > Geeta,
> > > >
> > > > Regarding 3-hourly RF accumulations, if MET is able to read
> those NetCDF
> > > > files, you can run them through PCP-Combine to "add" them all
> together.
> > > > Just use the example PCP_Combine command I already sent you
but
> modify
> > > the
> > > > "name" entry to list the name of the NetCDF variable you want
to
> use.  If
> > > > MET is not able to read them, then it's up to you to figure
out
> how to
> > > > accumulate them.
> > > >
> > > > If you're familiar with R, you could use the "ncdf" library in
R
> to read
> > > > data from one or more NetCDF files, add them up, and write it
> out to a
> > > new
> > > > file.  Alternatively, "nco" (NetCDF Operators) provide some
> capability of
> > > > doing simple operations on NetCDF files.  You might be able to
> use them.
> > > >
> > > > Regarding quilt plots, I've only used R to make them in the
> past.
> > > > Specifically, the "quilt.plot" function in the R package named
> "fields".
> > > > Please take a look at this website:
> > > >
> http://www.dtcenter.org/met/users/downloads/analysis_scripts.php
> > > >
> > > > The Rscript named "mode_quilt_plot.R" provides an example of
> using R to
> > > > make quilt plots.  Example output from that script is also
> included on
> > > that
> > > > page.
> > > >
> > > > Thanks,
> > > > John
> > > >
> > > > On Fri, Jan 23, 2015 at 4:06 AM, Geeta Geeta via RT
> <met_help at ucar.edu>
> > > > wrote:
> > > >
> > > > >
> > > > > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453
> >
> > > > >
> > > > > Hi John. Your help is needed at every step. Now I want to
know
> which
> > > > > software can be used for making the QUILT plot (intensity
and
> spatial
> > > > > distribution) plot. Can It be done in using MET5.0. How Can
I
> plot the
> > > > > point data that I used in MET5.0???KIndly guide me. Also pls
> tell me
> > > if u
> > > > > can figure out the issue of 3hrly RF accumulations if the
> files are in
> > > the
> > > > > NETCDF format. Geeta
> > > > >
> > > > > From: geeta124 at hotmail.com
> > > > > To: met_help at ucar.edu
> > > > > Subject: RE: [rt.rap.ucar.edu #70453] combining nc files
> together
> > > > > Date: Thu, 22 Jan 2015 16:30:34 +0530
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > thanks John.  the pcp combine tool uses only GRIB1 files.
> these were
> > > > > netcdf files (attaching one).I had downloaded the NC files
> from
> > > > >
> > > http://mirador.gsfc.nasa.gov/cgi-
> bin/mirador/granlist.pl?page=1&location=(-90,-
>
180),(90,180)&dataSet=TRMM_3B42&version=007&allversion=007&startTime=2011-
> 04-22T00:00:01Z&endTime=2011-04-
> 22T23:59:59Z&keyword=TRMM_3B42&longname=TRMM%203-
>
Hourly%200.25%20deg.%20TRMM%20and%20Others%20Rainfall%20Estimate%20Data&CGISESSID=02499c2107ddfb60a3e46d6b99df3d79&prodpg=http://mirador.gsfc.nasa.gov/collections/TRMM_3B42__007.shtmlI
> > > > > got following error. bash-3.2$ ./run_pcptool.sh Running PCP
> > > toolPerforming
> > > > > addition command for 2 files.Reading input file:
> 3B42.20110422.12.7.nc
> > > > > GribFile::skip_header() -> can't find "GRIB" magic cookie
> ERROR:
> > > > > get_field() -> can't open grib file: 3B42.20110422.12.7.nc
> > > > > Following is my script--------!/bin/sh
> > > > >
> > > > >              echo " Running PCP
> > > > > tool"~/wrf3/utils/met/METv3.0/bin/pcp_combine -add
> > > 3B42.20110422.12.7.nc
> > > > > 03 3B42.20110422.15.7.nc 03 myoutput.nc
> > > > > Kindly suggest.
> > > > >
> > > > > the second thing I was thinking to download the TRMM data
from
> thelink
> > > at
> > > > > DTC website and then converying the 3 hourly bins to NC.
> > > > > 2.2 MBftp://
> > > > >
> > >
>
disc2.nascom.nasa.gov/data/TRMM/Gridded/3B42_V7/201104/3B42.110422.15z.7.precipitation.bin
> > > > > But my problem will be to ACCUMULATE them. I need to verify
> the model
> > > data
> > > > > starting 06 UTC of day1 to 03UTC of DAY2. I mean how do I
> combine all
> > > the
> > > > > NC  files together. Kindly suggest
> > > > > > Subject: Re: [rt.rap.ucar.edu #70453] combining nc files
> together
> > > > > > From: met_help at ucar.edu
> > > > > > To: geeta124 at hotmail.com
> > > > > > Date: Wed, 21 Jan 2015 10:45:12 -0700
> > > > > >
> > > > > > Geeta,
> > > > > >
> > > > > > I'm assuming the variable in the NetCDF files is named
> "APCP_03".  If
> > > > > not,
> > > > > > just switch in the actual name.  You can run the following
> > > pcp_combine
> > > > > -add
> > > > > > command:
> > > > > >
> > > > > > pcp_combine -add \
> > > > > >    3B42.20110422.09.7.nc 'name="APCP_03"; level="(*,*)";'
\
> > > > > >    3B42.20110422.12.7.nc 'name="APCP_03"; level="(*,*)";'
\
> > > > > >    3B42.20110422.15.7.nc 'name="APCP_03"; level="(*,*)";'
\
> > > > > >    3B42.20110422.18.7.nc 'name="APCP_03"; level="(*,*)";'
\
> > > > > >    3B42.20110422.21.7.nc 'name="APCP_03"; level="(*,*)";'
\
> > > > > >    3B42.20110423.00.7.nc 'name="APCP_03"; level="(*,*)";'
\
> > > > > >    3B42.20110423.03.7.nc 'name="APCP_03"; level="(*,*)";'
\
> > > > > >    3B42.20110423.06.7.nc 'name="APCP_03"; level="(*,*)";'
\
> > > > > >    3B42.20110423.06.7_APCP_24.nc
> > > > > >
> > > > > > The last file listed is just the output file name I chose.
> But you
> > > can
> > > > > > name it whatever you'd like.
> > > > > >
> > > > > > John
> > > > > >
> > > > > >
> > > > > > On Wed, Jan 21, 2015 at 4:02 AM, Geeta Geeta via RT <
> > > met_help at ucar.edu>
> > > > > > wrote:
> > > > > >
> > > > > > >
> > > > > > > Wed Jan 21 04:02:41 2015: Request 70453 was acted upon.
> > > > > > > Transaction: Ticket created by geeta124 at hotmail.com
> > > > > > >        Queue: met_help
> > > > > > >      Subject: combining nc files together
> > > > > > >        Owner: Nobody
> > > > > > >   Requestors: geeta124 at hotmail.com
> > > > > > >       Status: new
> > > > > > >  Ticket <URL:
> > > https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453
> > > > > >
> > > > > > >
> > > > > > >
> > > > > > > Hi John.
> > > > > > > Sorry to bother you again n again. But I have no choice.
I
> want to
> > > know
> > > > > > > the followingI have 8 nc files. bash-3.2$ ls -ltotal
> > > 216336-rw-r--r--
> > > > >   1
> > > > > > > model    staff      13841488 Jan 21 11:24
> > > > > 3B42.20110422.06.7.nc-rw-r--r--
> > > > > > >   1 model    staff      13841488 Jan 21 11:27
> > > > > > > 3B42.20110422.09.7.nc-rw-r--r--    1 model    staff
> 13841492
> > > Jan
> > > > > 21
> > > > > > > 14:01 3B42.20110422.12.7.nc-rw-r--r--    1 model
staff
> > > > > 13841492 Jan
> > > > > > > 21 13:16 3B42.20110422.15.7.nc-rw-r--r--    1 model
> staff
> > > > > 13841492
> > > > > > > Jan 21 14:51 3B42.20110422.18.7.nc-rw-r--r--    1 model
> staff
> > > > > > > 13841492 Jan 21 13:21 3B42.20110422.21.7.nc-rw-r--r--
1
> model
> > > > > staff
> > > > > > >     13841488 Jan 21 13:22 3B42.20110423.00.7.nc-rw-r--
r--
> 1
> > > model
> > > > > > > staff      13841488 Jan 21 13:50
> 3B42.20110423.03.7.ncbash-3.2$ pwd
> > > > > > > I need to make ONE 24 hour RF accumulated file starting
> 06UTC of
> > > > > > > 22.04.2011 - 03UTC of 23.04.2011. How do I do that???
> > > > > > > Geeta
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > > >
> > > >
> > >
> > >
> >
>
>
> ------------------------------------------------
> Subject: combining nc files together
> From: Geeta Geeta
> Time: Fri Jan 30 01:03:34 2015
>
> Hi John.
> I changed different widths in the configuration file.
(Width=1,3,5,,7
> etc).
>
> // Neighborhood methods
> //
> nbrhd = {
>    vld_thresh = 1.0;
>    width      = [ 7 ];
>    cov_thresh = [ >=0.5 ];
> }
> and got various outputs (for different widths) which are in
different
> directories.
> Now I saw the R script on the website which is probably exclusively
> for the MODE TOOL only.
> Now my question is how to make the quilt plot for the GRid stat
> tool???.
> Sorry I m not familiar with R  now.
> Pls help.
> Geeta.
>
>
>
> From: geeta124 at hotmail.com
> To: met_help at ucar.edu
> Subject: RE: [rt.rap.ucar.edu #70453] combining nc files together
> Date: Thu, 29 Jan 2015 17:05:25 +0530
>
>
>
>
> Hi John.
> So I was able to sum up all the 3 hourly TRMM files and then convert
> the final file into One called Obs22apr2011.bin.
> I have done that using Grads and now I am using the R script for
> converting into NC.
> But I got the error.
> aditya at agniilap:~/geeta/installs/met/RUN_MET-22apr2011$ Rscript
> ../trmm_to_nc/trmmbin2nc_mod.R Obs22apr2011.bin Obs22apr2011.nc
>
>
> ERROR: Can't figure out the accumulation interval!
>
> I am sending you the data files and the R script (I changed the
> domain).
> The data is plotted fine. Also pls tell me about the ncview
questions
> that I was asking. reg the plotting of MPR's
> Kindly suggest.
> Geeta
>
>
>
>
> > Subject: Re: [rt.rap.ucar.edu #70453] combining nc files together
> > From: met_help at ucar.edu
> > To: geeta124 at hotmail.com
> > Date: Mon, 26 Jan 2015 09:58:32 -0700
> >
> > Geeta,
> >
> > On that webpage (
> > http://www.dtcenter.org/met/users/downloads/analysis_scripts.php),
> please
> > look specifically at the script named "mode_quilt_plot.R".  Here's
> the
> > direct link to that script:
> >
>
http://www.dtcenter.org/met/users/downloads/Rscripts/mode_quilt_plot.R
> >
> > And here's a direct link to the sample output that script creates:
> >
> >
>
http://www.dtcenter.org/met/users/downloads/Rscripts/SAMPLE_mode_quilts.pdf
> >
> > This is an example of using R to make a quilt plot for the output
of
> the
> > MODE tool.  You might also use a quilt plot to display fractions
> skill
> > score from the Grid-Stat tool, if you've run FSS for multiple
> thresholds
> > and neighborhood sizes.
> >
> > John
> >
> > On Mon, Jan 26, 2015 at 7:28 AM, Geeta Geeta via RT
> <met_help at ucar.edu>
> > wrote:
> >
> > >
> > > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453 >
> > >
> > > Hi John.
> > > the link
> http://www.dtcenter.org/met/users/downloads/analysis_scripts.php
> > > has the plots for the cnt statistics.
> > > I am not familiar with R. I am going thru the plot_cnt.R script.
> > > but I want to know what will be the data format for the Quilt
> plot.
> > > Do I have to write my own script???.
> > > Kindly let me know about the data format and how I have to
modify
> the
> > > above script in order to make the quilt plot.
> > > Regards
> > > Geeta
> > >
> > > > Subject: Re: [rt.rap.ucar.edu #70453] combining nc files
> together
> > > > From: met_help at ucar.edu
> > > > To: geeta124 at hotmail.com
> > > > Date: Fri, 23 Jan 2015 11:09:23 -0700
> > > >
> > > > Geeta,
> > > >
> > > > Regarding 3-hourly RF accumulations, if MET is able to read
> those NetCDF
> > > > files, you can run them through PCP-Combine to "add" them all
> together.
> > > > Just use the example PCP_Combine command I already sent you
but
> modify
> > > the
> > > > "name" entry to list the name of the NetCDF variable you want
to
> use.  If
> > > > MET is not able to read them, then it's up to you to figure
out
> how to
> > > > accumulate them.
> > > >
> > > > If you're familiar with R, you could use the "ncdf" library in
R
> to read
> > > > data from one or more NetCDF files, add them up, and write it
> out to a
> > > new
> > > > file.  Alternatively, "nco" (NetCDF Operators) provide some
> capability of
> > > > doing simple operations on NetCDF files.  You might be able to
> use them.
> > > >
> > > > Regarding quilt plots, I've only used R to make them in the
> past.
> > > > Specifically, the "quilt.plot" function in the R package named
> "fields".
> > > > Please take a look at this website:
> > > >
> http://www.dtcenter.org/met/users/downloads/analysis_scripts.php
> > > >
> > > > The Rscript named "mode_quilt_plot.R" provides an example of
> using R to
> > > > make quilt plots.  Example output from that script is also
> included on
> > > that
> > > > page.
> > > >
> > > > Thanks,
> > > > John
> > > >
> > > > On Fri, Jan 23, 2015 at 4:06 AM, Geeta Geeta via RT
> <met_help at ucar.edu>
> > > > wrote:
> > > >
> > > > >
> > > > > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453
> >
> > > > >
> > > > > Hi John. Your help is needed at every step. Now I want to
know
> which
> > > > > software can be used for making the QUILT plot (intensity
and
> spatial
> > > > > distribution) plot. Can It be done in using MET5.0. How Can
I
> plot the
> > > > > point data that I used in MET5.0???KIndly guide me. Also pls
> tell me
> > > if u
> > > > > can figure out the issue of 3hrly RF accumulations if the
> files are in
> > > the
> > > > > NETCDF format. Geeta
> > > > >
> > > > > From: geeta124 at hotmail.com
> > > > > To: met_help at ucar.edu
> > > > > Subject: RE: [rt.rap.ucar.edu #70453] combining nc files
> together
> > > > > Date: Thu, 22 Jan 2015 16:30:34 +0530
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > thanks John.  the pcp combine tool uses only GRIB1 files.
> these were
> > > > > netcdf files (attaching one).I had downloaded the NC files
> from
> > > > >
> > > http://mirador.gsfc.nasa.gov/cgi-
> bin/mirador/granlist.pl?page=1&location=(-90,-
>
180),(90,180)&dataSet=TRMM_3B42&version=007&allversion=007&startTime=2011-
> 04-22T00:00:01Z&endTime=2011-04-
> 22T23:59:59Z&keyword=TRMM_3B42&longname=TRMM%203-
>
Hourly%200.25%20deg.%20TRMM%20and%20Others%20Rainfall%20Estimate%20Data&CGISESSID=02499c2107ddfb60a3e46d6b99df3d79&prodpg=http://mirador.gsfc.nasa.gov/collections/TRMM_3B42__007.shtmlI
> > > > > got following error. bash-3.2$ ./run_pcptool.sh Running PCP
> > > toolPerforming
> > > > > addition command for 2 files.Reading input file:
> 3B42.20110422.12.7.nc
> > > > > GribFile::skip_header() -> can't find "GRIB" magic cookie
> ERROR:
> > > > > get_field() -> can't open grib file: 3B42.20110422.12.7.nc
> > > > > Following is my script--------!/bin/sh
> > > > >
> > > > >              echo " Running PCP
> > > > > tool"~/wrf3/utils/met/METv3.0/bin/pcp_combine -add
> > > 3B42.20110422.12.7.nc
> > > > > 03 3B42.20110422.15.7.nc 03 myoutput.nc
> > > > > Kindly suggest.
> > > > >
> > > > > the second thing I was thinking to download the TRMM data
from
> thelink
> > > at
> > > > > DTC website and then converying the 3 hourly bins to NC.
> > > > > 2.2 MBftp://
> > > > >
> > >
>
disc2.nascom.nasa.gov/data/TRMM/Gridded/3B42_V7/201104/3B42.110422.15z.7.precipitation.bin
> > > > > But my problem will be to ACCUMULATE them. I need to verify
> the model
> > > data
> > > > > starting 06 UTC of day1 to 03UTC of DAY2. I mean how do I
> combine all
> > > the
> > > > > NC  files together. Kindly suggest
> > > > > > Subject: Re: [rt.rap.ucar.edu #70453] combining nc files
> together
> > > > > > From: met_help at ucar.edu
> > > > > > To: geeta124 at hotmail.com
> > > > > > Date: Wed, 21 Jan 2015 10:45:12 -0700
> > > > > >
> > > > > > Geeta,
> > > > > >
> > > > > > I'm assuming the variable in the NetCDF files is named
> "APCP_03".  If
> > > > > not,
> > > > > > just switch in the actual name.  You can run the following
> > > pcp_combine
> > > > > -add
> > > > > > command:
> > > > > >
> > > > > > pcp_combine -add \
> > > > > >    3B42.20110422.09.7.nc 'name="APCP_03"; level="(*,*)";'
\
> > > > > >    3B42.20110422.12.7.nc 'name="APCP_03"; level="(*,*)";'
\
> > > > > >    3B42.20110422.15.7.nc 'name="APCP_03"; level="(*,*)";'
\
> > > > > >    3B42.20110422.18.7.nc 'name="APCP_03"; level="(*,*)";'
\
> > > > > >    3B42.20110422.21.7.nc 'name="APCP_03"; level="(*,*)";'
\
> > > > > >    3B42.20110423.00.7.nc 'name="APCP_03"; level="(*,*)";'
\
> > > > > >    3B42.20110423.03.7.nc 'name="APCP_03"; level="(*,*)";'
\
> > > > > >    3B42.20110423.06.7.nc 'name="APCP_03"; level="(*,*)";'
\
> > > > > >    3B42.20110423.06.7_APCP_24.nc
> > > > > >
> > > > > > The last file listed is just the output file name I chose.
> But you
> > > can
> > > > > > name it whatever you'd like.
> > > > > >
> > > > > > John
> > > > > >
> > > > > >
> > > > > > On Wed, Jan 21, 2015 at 4:02 AM, Geeta Geeta via RT <
> > > met_help at ucar.edu>
> > > > > > wrote:
> > > > > >
> > > > > > >
> > > > > > > Wed Jan 21 04:02:41 2015: Request 70453 was acted upon.
> > > > > > > Transaction: Ticket created by geeta124 at hotmail.com
> > > > > > >        Queue: met_help
> > > > > > >      Subject: combining nc files together
> > > > > > >        Owner: Nobody
> > > > > > >   Requestors: geeta124 at hotmail.com
> > > > > > >       Status: new
> > > > > > >  Ticket <URL:
> > > https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453
> > > > > >
> > > > > > >
> > > > > > >
> > > > > > > Hi John.
> > > > > > > Sorry to bother you again n again. But I have no choice.
I
> want to
> > > know
> > > > > > > the followingI have 8 nc files. bash-3.2$ ls -ltotal
> > > 216336-rw-r--r--
> > > > >   1
> > > > > > > model    staff      13841488 Jan 21 11:24
> > > > > 3B42.20110422.06.7.nc-rw-r--r--
> > > > > > >   1 model    staff      13841488 Jan 21 11:27
> > > > > > > 3B42.20110422.09.7.nc-rw-r--r--    1 model    staff
> 13841492
> > > Jan
> > > > > 21
> > > > > > > 14:01 3B42.20110422.12.7.nc-rw-r--r--    1 model
staff
> > > > > 13841492 Jan
> > > > > > > 21 13:16 3B42.20110422.15.7.nc-rw-r--r--    1 model
> staff
> > > > > 13841492
> > > > > > > Jan 21 14:51 3B42.20110422.18.7.nc-rw-r--r--    1 model
> staff
> > > > > > > 13841492 Jan 21 13:21 3B42.20110422.21.7.nc-rw-r--r--
1
> model
> > > > > staff
> > > > > > >     13841488 Jan 21 13:22 3B42.20110423.00.7.nc-rw-r--
r--
> 1
> > > model
> > > > > > > staff      13841488 Jan 21 13:50
> 3B42.20110423.03.7.ncbash-3.2$ pwd
> > > > > > > I need to make ONE 24 hour RF accumulated file starting
> 06UTC of
> > > > > > > 22.04.2011 - 03UTC of 23.04.2011. How do I do that???
> > > > > > > Geeta
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > > >
> > > >
> > >
> > >
> >
>
>
> ------------------------------------------------
> Subject: combining nc files together
> From: John Halley Gotway
> Time: Fri Jan 30 11:04:17 2015
>
> Geeta,
>
> I don't have time to adapt that Rscript for your use with Grid-Stat.
> However, we did do something very similar for a previous project.  I
> have
> attached an Rscript named "fss_quilt_plot.R" you could easily adapt
to
> create a quilt plot for your data.  I've also attached a copy of the
> paper
> for which this script was used.  Please look at figure 7.
>
> Thanks,
> John
>
> On Fri, Jan 30, 2015 at 1:03 AM, Geeta Geeta via RT
> <met_help at ucar.edu>
> wrote:
>
> >
> > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453 >
> >
> > Hi John.
> > I changed different widths in the configuration file.
> (Width=1,3,5,,7 etc).
> >
> > // Neighborhood methods
> > //
> > nbrhd = {
> >    vld_thresh = 1.0;
> >    width      = [ 7 ];
> >    cov_thresh = [ >=0.5 ];
> > }
> > and got various outputs (for different widths) which are in
> different
> > directories.
> > Now I saw the R script on the website which is probably
exclusively
> for
> > the MODE TOOL only.
> > Now my question is how to make the quilt plot for the GRid stat
> tool???.
> > Sorry I m not familiar with R  now.
> > Pls help.
> > Geeta.
> >
> >
> >
> > From: geeta124 at hotmail.com
> > To: met_help at ucar.edu
> > Subject: RE: [rt.rap.ucar.edu #70453] combining nc files together
> > Date: Thu, 29 Jan 2015 17:05:25 +0530
> >
> >
> >
> >
> > Hi John.
> > So I was able to sum up all the 3 hourly TRMM files and then
convert
> the
> > final file into One called Obs22apr2011.bin.
> > I have done that using Grads and now I am using the R script for
> > converting into NC.
> > But I got the error.
> > aditya at agniilap:~/geeta/installs/met/RUN_MET-22apr2011$ Rscript
> > ../trmm_to_nc/trmmbin2nc_mod.R Obs22apr2011.bin Obs22apr2011.nc
> >
> >
> > ERROR: Can't figure out the accumulation interval!
> >
> > I am sending you the data files and the R script (I changed the
> domain).
> > The data is plotted fine. Also pls tell me about the ncview
> questions that
> > I was asking. reg the plotting of MPR's
> > Kindly suggest.
> > Geeta
> >
> >
> >
> >
> > > Subject: Re: [rt.rap.ucar.edu #70453] combining nc files
together
> > > From: met_help at ucar.edu
> > > To: geeta124 at hotmail.com
> > > Date: Mon, 26 Jan 2015 09:58:32 -0700
> > >
> > > Geeta,
> > >
> > > On that webpage (
> > >
http://www.dtcenter.org/met/users/downloads/analysis_scripts.php),
> > please
> > > look specifically at the script named "mode_quilt_plot.R".
Here's
> the
> > > direct link to that script:
> > >
> >
>
http://www.dtcenter.org/met/users/downloads/Rscripts/mode_quilt_plot.R
> > >
> > > And here's a direct link to the sample output that script
creates:
> > >
> > >
> >
>
http://www.dtcenter.org/met/users/downloads/Rscripts/SAMPLE_mode_quilts.pdf
> > >
> > > This is an example of using R to make a quilt plot for the
output
> of the
> > > MODE tool.  You might also use a quilt plot to display fractions
> skill
> > > score from the Grid-Stat tool, if you've run FSS for multiple
> thresholds
> > > and neighborhood sizes.
> > >
> > > John
> > >
> > > On Mon, Jan 26, 2015 at 7:28 AM, Geeta Geeta via RT
> <met_help at ucar.edu>
> > > wrote:
> > >
> > > >
> > > > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453
>
> > > >
> > > > Hi John.
> > > > the link
> > http://www.dtcenter.org/met/users/downloads/analysis_scripts.php
> > > > has the plots for the cnt statistics.
> > > > I am not familiar with R. I am going thru the plot_cnt.R
script.
> > > > but I want to know what will be the data format for the Quilt
> plot.
> > > > Do I have to write my own script???.
> > > > Kindly let me know about the data format and how I have to
> modify the
> > > > above script in order to make the quilt plot.
> > > > Regards
> > > > Geeta
> > > >
> > > > > Subject: Re: [rt.rap.ucar.edu #70453] combining nc files
> together
> > > > > From: met_help at ucar.edu
> > > > > To: geeta124 at hotmail.com
> > > > > Date: Fri, 23 Jan 2015 11:09:23 -0700
> > > > >
> > > > > Geeta,
> > > > >
> > > > > Regarding 3-hourly RF accumulations, if MET is able to read
> those
> > NetCDF
> > > > > files, you can run them through PCP-Combine to "add" them
all
> > together.
> > > > > Just use the example PCP_Combine command I already sent you
> but
> > modify
> > > > the
> > > > > "name" entry to list the name of the NetCDF variable you
want
> to
> > use.  If
> > > > > MET is not able to read them, then it's up to you to figure
> out how
> > to
> > > > > accumulate them.
> > > > >
> > > > > If you're familiar with R, you could use the "ncdf" library
in
> R to
> > read
> > > > > data from one or more NetCDF files, add them up, and write
it
> out to
> > a
> > > > new
> > > > > file.  Alternatively, "nco" (NetCDF Operators) provide some
> > capability of
> > > > > doing simple operations on NetCDF files.  You might be able
to
> use
> > them.
> > > > >
> > > > > Regarding quilt plots, I've only used R to make them in the
> past.
> > > > > Specifically, the "quilt.plot" function in the R package
named
> > "fields".
> > > > > Please take a look at this website:
> > > > >
> http://www.dtcenter.org/met/users/downloads/analysis_scripts.php
> > > > >
> > > > > The Rscript named "mode_quilt_plot.R" provides an example of
> using R
> > to
> > > > > make quilt plots.  Example output from that script is also
> included
> > on
> > > > that
> > > > > page.
> > > > >
> > > > > Thanks,
> > > > > John
> > > > >
> > > > > On Fri, Jan 23, 2015 at 4:06 AM, Geeta Geeta via RT <
> > met_help at ucar.edu>
> > > > > wrote:
> > > > >
> > > > > >
> > > > > > <URL:
> https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453 >
> > > > > >
> > > > > > Hi John. Your help is needed at every step. Now I want to
> know
> > which
> > > > > > software can be used for making the QUILT plot (intensity
> and
> > spatial
> > > > > > distribution) plot. Can It be done in using MET5.0. How
Can
> I plot
> > the
> > > > > > point data that I used in MET5.0???KIndly guide me. Also
pls
> tell
> > me
> > > > if u
> > > > > > can figure out the issue of 3hrly RF accumulations if the
> files
> > are in
> > > > the
> > > > > > NETCDF format. Geeta
> > > > > >
> > > > > > From: geeta124 at hotmail.com
> > > > > > To: met_help at ucar.edu
> > > > > > Subject: RE: [rt.rap.ucar.edu #70453] combining nc files
> together
> > > > > > Date: Thu, 22 Jan 2015 16:30:34 +0530
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > > thanks John.  the pcp combine tool uses only GRIB1 files.
> these
> > were
> > > > > > netcdf files (attaching one).I had downloaded the NC files
> from
> > > > > >
> > > >
> > http://mirador.gsfc.nasa.gov/cgi-
> bin/mirador/granlist.pl?page=1&location=(-90,-
>
180),(90,180)&dataSet=TRMM_3B42&version=007&allversion=007&startTime=2011-
> 04-22T00:00:01Z&endTime=2011-04-
> 22T23:59:59Z&keyword=TRMM_3B42&longname=TRMM%203-
>
Hourly%200.25%20deg.%20TRMM%20and%20Others%20Rainfall%20Estimate%20Data&CGISESSID=02499c2107ddfb60a3e46d6b99df3d79&prodpg=http://mirador.gsfc.nasa.gov/collections/TRMM_3B42__007.shtmlI
> > > > > > got following error. bash-3.2$ ./run_pcptool.sh Running
PCP
> > > > toolPerforming
> > > > > > addition command for 2 files.Reading input file:
> > 3B42.20110422.12.7.nc
> > > > > > GribFile::skip_header() -> can't find "GRIB" magic cookie
> ERROR:
> > > > > > get_field() -> can't open grib file: 3B42.20110422.12.7.nc
> > > > > > Following is my script--------!/bin/sh
> > > > > >
> > > > > >              echo " Running PCP
> > > > > > tool"~/wrf3/utils/met/METv3.0/bin/pcp_combine -add
> > > > 3B42.20110422.12.7.nc
> > > > > > 03 3B42.20110422.15.7.nc 03 myoutput.nc
> > > > > > Kindly suggest.
> > > > > >
> > > > > > the second thing I was thinking to download the TRMM data
> from
> > thelink
> > > > at
> > > > > > DTC website and then converying the 3 hourly bins to NC.
> > > > > > 2.2 MBftp://
> > > > > >
> > > >
> >
>
disc2.nascom.nasa.gov/data/TRMM/Gridded/3B42_V7/201104/3B42.110422.15z.7.precipitation.bin
> > > > > > But my problem will be to ACCUMULATE them. I need to
verify
> the
> > model
> > > > data
> > > > > > starting 06 UTC of day1 to 03UTC of DAY2. I mean how do I
> combine
> > all
> > > > the
> > > > > > NC  files together. Kindly suggest
> > > > > > > Subject: Re: [rt.rap.ucar.edu #70453] combining nc files
> > together
> > > > > > > From: met_help at ucar.edu
> > > > > > > To: geeta124 at hotmail.com
> > > > > > > Date: Wed, 21 Jan 2015 10:45:12 -0700
> > > > > > >
> > > > > > > Geeta,
> > > > > > >
> > > > > > > I'm assuming the variable in the NetCDF files is named
> > "APCP_03".  If
> > > > > > not,
> > > > > > > just switch in the actual name.  You can run the
following
> > > > pcp_combine
> > > > > > -add
> > > > > > > command:
> > > > > > >
> > > > > > > pcp_combine -add \
> > > > > > >    3B42.20110422.09.7.nc 'name="APCP_03";
level="(*,*)";'
> \
> > > > > > >    3B42.20110422.12.7.nc 'name="APCP_03";
level="(*,*)";'
> \
> > > > > > >    3B42.20110422.15.7.nc 'name="APCP_03";
level="(*,*)";'
> \
> > > > > > >    3B42.20110422.18.7.nc 'name="APCP_03";
level="(*,*)";'
> \
> > > > > > >    3B42.20110422.21.7.nc 'name="APCP_03";
level="(*,*)";'
> \
> > > > > > >    3B42.20110423.00.7.nc 'name="APCP_03";
level="(*,*)";'
> \
> > > > > > >    3B42.20110423.03.7.nc 'name="APCP_03";
level="(*,*)";'
> \
> > > > > > >    3B42.20110423.06.7.nc 'name="APCP_03";
level="(*,*)";'
> \
> > > > > > >    3B42.20110423.06.7_APCP_24.nc
> > > > > > >
> > > > > > > The last file listed is just the output file name I
chose.
> But
> > you
> > > > can
> > > > > > > name it whatever you'd like.
> > > > > > >
> > > > > > > John
> > > > > > >
> > > > > > >
> > > > > > > On Wed, Jan 21, 2015 at 4:02 AM, Geeta Geeta via RT <
> > > > met_help at ucar.edu>
> > > > > > > wrote:
> > > > > > >
> > > > > > > >
> > > > > > > > Wed Jan 21 04:02:41 2015: Request 70453 was acted
upon.
> > > > > > > > Transaction: Ticket created by geeta124 at hotmail.com
> > > > > > > >        Queue: met_help
> > > > > > > >      Subject: combining nc files together
> > > > > > > >        Owner: Nobody
> > > > > > > >   Requestors: geeta124 at hotmail.com
> > > > > > > >       Status: new
> > > > > > > >  Ticket <URL:
> > > > https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453
> > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > Hi John.
> > > > > > > > Sorry to bother you again n again. But I have no
choice.
> I
> > want to
> > > > know
> > > > > > > > the followingI have 8 nc files. bash-3.2$ ls -ltotal
> > > > 216336-rw-r--r--
> > > > > >   1
> > > > > > > > model    staff      13841488 Jan 21 11:24
> > > > > > 3B42.20110422.06.7.nc-rw-r--r--
> > > > > > > >   1 model    staff      13841488 Jan 21 11:27
> > > > > > > > 3B42.20110422.09.7.nc-rw-r--r--    1 model    staff
> > 13841492
> > > > Jan
> > > > > > 21
> > > > > > > > 14:01 3B42.20110422.12.7.nc-rw-r--r--    1 model
> staff
> > > > > > 13841492 Jan
> > > > > > > > 21 13:16 3B42.20110422.15.7.nc-rw-r--r--    1 model
> staff
> > > > > > 13841492
> > > > > > > > Jan 21 14:51 3B42.20110422.18.7.nc-rw-r--r--    1
model
> > staff
> > > > > > > > 13841492 Jan 21 13:21 3B42.20110422.21.7.nc-rw-r--r--
> 1
> > model
> > > > > > staff
> > > > > > > >     13841488 Jan 21 13:22 3B42.20110423.00.7.nc-rw-r--
> r--    1
> > > > model
> > > > > > > > staff      13841488 Jan 21 13:50
> > 3B42.20110423.03.7.ncbash-3.2$ pwd
> > > > > > > > I need to make ONE 24 hour RF accumulated file
starting
> 06UTC
> > of
> > > > > > > > 22.04.2011 - 03UTC of 23.04.2011. How do I do that???
> > > > > > > > Geeta
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > > >
> > > > >
> > > >
> > > >
> > >
> >
> >
> >
>
> ------------------------------------------------
> Subject: combining nc files together
> From: Geeta Geeta
> Time: Sun Feb 01 23:27:15 2015
>
> Hi John.
> This is an old Ticket. Kindly sort this issue too.
> I was able to sum up all the 3 hourly TRMM files and then convert
the
> final file into One called Obs22apr2011.bin.
> I had used Grads for summing up all the 8 files. and now I am using
> the R script for
> converting into NC.
> But I got the error.
> aditya at agniilap:~/geeta/installs/met/RUN_MET-22apr2011$ Rscript
> ../trmm_to_nc/trmmbin2nc_mod.R Obs22apr2011.bin Obs22apr2011.nc
>
>
> ERROR: Can't figure out the accumulation interval!I am sending you
the
> data that I converted using Grads.
> Geeta
>
> > Subject: Re: [rt.rap.ucar.edu #70453] combining nc files together
> > From: met_help at ucar.edu
> > To: geeta124 at hotmail.com
> > Date: Fri, 30 Jan 2015 11:04:18 -0700
> >
> > Geeta,
> >
> > I don't have time to adapt that Rscript for your use with Grid-
Stat.
> > However, we did do something very similar for a previous project.
I
> have
> > attached an Rscript named "fss_quilt_plot.R" you could easily
adapt
> to
> > create a quilt plot for your data.  I've also attached a copy of
the
> paper
> > for which this script was used.  Please look at figure 7.
> >
> > Thanks,
> > John
> >
> > On Fri, Jan 30, 2015 at 1:03 AM, Geeta Geeta via RT
> <met_help at ucar.edu>
> > wrote:
> >
> > >
> > > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453 >
> > >
> > > Hi John.
> > > I changed different widths in the configuration file.
> (Width=1,3,5,,7 etc).
> > >
> > > // Neighborhood methods
> > > //
> > > nbrhd = {
> > >    vld_thresh = 1.0;
> > >    width      = [ 7 ];
> > >    cov_thresh = [ >=0.5 ];
> > > }
> > > and got various outputs (for different widths) which are in
> different
> > > directories.
> > > Now I saw the R script on the website which is probably
> exclusively for
> > > the MODE TOOL only.
> > > Now my question is how to make the quilt plot for the GRid stat
> tool???.
> > > Sorry I m not familiar with R  now.
> > > Pls help.
> > > Geeta.
> > >
> > >
> > >
> > > From: geeta124 at hotmail.com
> > > To: met_help at ucar.edu
> > > Subject: RE: [rt.rap.ucar.edu #70453] combining nc files
together
> > > Date: Thu, 29 Jan 2015 17:05:25 +0530
> > >
> > >
> > >
> > >
> > > Hi John.
> > > So I was able to sum up all the 3 hourly TRMM files and then
> convert the
> > > final file into One called Obs22apr2011.bin.
> > > I have done that using Grads and now I am using the R script for
> > > converting into NC.
> > > But I got the error.
> > > aditya at agniilap:~/geeta/installs/met/RUN_MET-22apr2011$ Rscript
> > > ../trmm_to_nc/trmmbin2nc_mod.R Obs22apr2011.bin Obs22apr2011.nc
> > >
> > >
> > > ERROR: Can't figure out the accumulation interval!
> > >
> > > I am sending you the data files and the R script (I changed the
> domain).
> > > The data is plotted fine. Also pls tell me about the ncview
> questions that
> > > I was asking. reg the plotting of MPR's
> > > Kindly suggest.
> > > Geeta
> > >
> > >
> > >
> > >
> > > > Subject: Re: [rt.rap.ucar.edu #70453] combining nc files
> together
> > > > From: met_help at ucar.edu
> > > > To: geeta124 at hotmail.com
> > > > Date: Mon, 26 Jan 2015 09:58:32 -0700
> > > >
> > > > Geeta,
> > > >
> > > > On that webpage (
> > > >
> http://www.dtcenter.org/met/users/downloads/analysis_scripts.php),
> > > please
> > > > look specifically at the script named "mode_quilt_plot.R".
> Here's the
> > > > direct link to that script:
> > > >
> > >
>
http://www.dtcenter.org/met/users/downloads/Rscripts/mode_quilt_plot.R
> > > >
> > > > And here's a direct link to the sample output that script
> creates:
> > > >
> > > >
> > >
>
http://www.dtcenter.org/met/users/downloads/Rscripts/SAMPLE_mode_quilts.pdf
> > > >
> > > > This is an example of using R to make a quilt plot for the
> output of the
> > > > MODE tool.  You might also use a quilt plot to display
fractions
> skill
> > > > score from the Grid-Stat tool, if you've run FSS for multiple
> thresholds
> > > > and neighborhood sizes.
> > > >
> > > > John
> > > >
> > > > On Mon, Jan 26, 2015 at 7:28 AM, Geeta Geeta via RT
> <met_help at ucar.edu>
> > > > wrote:
> > > >
> > > > >
> > > > > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453
> >
> > > > >
> > > > > Hi John.
> > > > > the link
> > > http://www.dtcenter.org/met/users/downloads/analysis_scripts.php
> > > > > has the plots for the cnt statistics.
> > > > > I am not familiar with R. I am going thru the plot_cnt.R
> script.
> > > > > but I want to know what will be the data format for the
Quilt
> plot.
> > > > > Do I have to write my own script???.
> > > > > Kindly let me know about the data format and how I have to
> modify the
> > > > > above script in order to make the quilt plot.
> > > > > Regards
> > > > > Geeta
> > > > >
> > > > > > Subject: Re: [rt.rap.ucar.edu #70453] combining nc files
> together
> > > > > > From: met_help at ucar.edu
> > > > > > To: geeta124 at hotmail.com
> > > > > > Date: Fri, 23 Jan 2015 11:09:23 -0700
> > > > > >
> > > > > > Geeta,
> > > > > >
> > > > > > Regarding 3-hourly RF accumulations, if MET is able to
read
> those
> > > NetCDF
> > > > > > files, you can run them through PCP-Combine to "add" them
> all
> > > together.
> > > > > > Just use the example PCP_Combine command I already sent
you
> but
> > > modify
> > > > > the
> > > > > > "name" entry to list the name of the NetCDF variable you
> want to
> > > use.  If
> > > > > > MET is not able to read them, then it's up to you to
figure
> out how
> > > to
> > > > > > accumulate them.
> > > > > >
> > > > > > If you're familiar with R, you could use the "ncdf"
library
> in R to
> > > read
> > > > > > data from one or more NetCDF files, add them up, and write
> it out to
> > > a
> > > > > new
> > > > > > file.  Alternatively, "nco" (NetCDF Operators) provide
some
> > > capability of
> > > > > > doing simple operations on NetCDF files.  You might be
able
> to use
> > > them.
> > > > > >
> > > > > > Regarding quilt plots, I've only used R to make them in
the
> past.
> > > > > > Specifically, the "quilt.plot" function in the R package
> named
> > > "fields".
> > > > > > Please take a look at this website:
> > > > > >
> http://www.dtcenter.org/met/users/downloads/analysis_scripts.php
> > > > > >
> > > > > > The Rscript named "mode_quilt_plot.R" provides an example
of
> using R
> > > to
> > > > > > make quilt plots.  Example output from that script is also
> included
> > > on
> > > > > that
> > > > > > page.
> > > > > >
> > > > > > Thanks,
> > > > > > John
> > > > > >
> > > > > > On Fri, Jan 23, 2015 at 4:06 AM, Geeta Geeta via RT <
> > > met_help at ucar.edu>
> > > > > > wrote:
> > > > > >
> > > > > > >
> > > > > > > <URL:
> https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453 >
> > > > > > >
> > > > > > > Hi John. Your help is needed at every step. Now I want
to
> know
> > > which
> > > > > > > software can be used for making the QUILT plot
(intensity
> and
> > > spatial
> > > > > > > distribution) plot. Can It be done in using MET5.0. How
> Can I plot
> > > the
> > > > > > > point data that I used in MET5.0???KIndly guide me. Also
> pls tell
> > > me
> > > > > if u
> > > > > > > can figure out the issue of 3hrly RF accumulations if
the
> files
> > > are in
> > > > > the
> > > > > > > NETCDF format. Geeta
> > > > > > >
> > > > > > > From: geeta124 at hotmail.com
> > > > > > > To: met_help at ucar.edu
> > > > > > > Subject: RE: [rt.rap.ucar.edu #70453] combining nc files
> together
> > > > > > > Date: Thu, 22 Jan 2015 16:30:34 +0530
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > thanks John.  the pcp combine tool uses only GRIB1
files.
> these
> > > were
> > > > > > > netcdf files (attaching one).I had downloaded the NC
files
> from
> > > > > > >
> > > > >
> > > http://mirador.gsfc.nasa.gov/cgi-
> bin/mirador/granlist.pl?page=1&location=(-90,-
>
180),(90,180)&dataSet=TRMM_3B42&version=007&allversion=007&startTime=2011-
> 04-22T00:00:01Z&endTime=2011-04-
> 22T23:59:59Z&keyword=TRMM_3B42&longname=TRMM%203-
>
Hourly%200.25%20deg.%20TRMM%20and%20Others%20Rainfall%20Estimate%20Data&CGISESSID=02499c2107ddfb60a3e46d6b99df3d79&prodpg=http://mirador.gsfc.nasa.gov/collections/TRMM_3B42__007.shtmlI
> > > > > > > got following error. bash-3.2$ ./run_pcptool.sh Running
> PCP
> > > > > toolPerforming
> > > > > > > addition command for 2 files.Reading input file:
> > > 3B42.20110422.12.7.nc
> > > > > > > GribFile::skip_header() -> can't find "GRIB" magic
cookie
> ERROR:
> > > > > > > get_field() -> can't open grib file:
3B42.20110422.12.7.nc
> > > > > > > Following is my script--------!/bin/sh
> > > > > > >
> > > > > > >              echo " Running PCP
> > > > > > > tool"~/wrf3/utils/met/METv3.0/bin/pcp_combine -add
> > > > > 3B42.20110422.12.7.nc
> > > > > > > 03 3B42.20110422.15.7.nc 03 myoutput.nc
> > > > > > > Kindly suggest.
> > > > > > >
> > > > > > > the second thing I was thinking to download the TRMM
data
> from
> > > thelink
> > > > > at
> > > > > > > DTC website and then converying the 3 hourly bins to NC.
> > > > > > > 2.2 MBftp://
> > > > > > >
> > > > >
> > >
>
disc2.nascom.nasa.gov/data/TRMM/Gridded/3B42_V7/201104/3B42.110422.15z.7.precipitation.bin
> > > > > > > But my problem will be to ACCUMULATE them. I need to
> verify the
> > > model
> > > > > data
> > > > > > > starting 06 UTC of day1 to 03UTC of DAY2. I mean how do
I
> combine
> > > all
> > > > > the
> > > > > > > NC  files together. Kindly suggest
> > > > > > > > Subject: Re: [rt.rap.ucar.edu #70453] combining nc
files
> > > together
> > > > > > > > From: met_help at ucar.edu
> > > > > > > > To: geeta124 at hotmail.com
> > > > > > > > Date: Wed, 21 Jan 2015 10:45:12 -0700
> > > > > > > >
> > > > > > > > Geeta,
> > > > > > > >
> > > > > > > > I'm assuming the variable in the NetCDF files is named
> > > "APCP_03".  If
> > > > > > > not,
> > > > > > > > just switch in the actual name.  You can run the
> following
> > > > > pcp_combine
> > > > > > > -add
> > > > > > > > command:
> > > > > > > >
> > > > > > > > pcp_combine -add \
> > > > > > > >    3B42.20110422.09.7.nc 'name="APCP_03";
> level="(*,*)";' \
> > > > > > > >    3B42.20110422.12.7.nc 'name="APCP_03";
> level="(*,*)";' \
> > > > > > > >    3B42.20110422.15.7.nc 'name="APCP_03";
> level="(*,*)";' \
> > > > > > > >    3B42.20110422.18.7.nc 'name="APCP_03";
> level="(*,*)";' \
> > > > > > > >    3B42.20110422.21.7.nc 'name="APCP_03";
> level="(*,*)";' \
> > > > > > > >    3B42.20110423.00.7.nc 'name="APCP_03";
> level="(*,*)";' \
> > > > > > > >    3B42.20110423.03.7.nc 'name="APCP_03";
> level="(*,*)";' \
> > > > > > > >    3B42.20110423.06.7.nc 'name="APCP_03";
> level="(*,*)";' \
> > > > > > > >    3B42.20110423.06.7_APCP_24.nc
> > > > > > > >
> > > > > > > > The last file listed is just the output file name I
> chose.  But
> > > you
> > > > > can
> > > > > > > > name it whatever you'd like.
> > > > > > > >
> > > > > > > > John
> > > > > > > >
> > > > > > > >
> > > > > > > > On Wed, Jan 21, 2015 at 4:02 AM, Geeta Geeta via RT <
> > > > > met_help at ucar.edu>
> > > > > > > > wrote:
> > > > > > > >
> > > > > > > > >
> > > > > > > > > Wed Jan 21 04:02:41 2015: Request 70453 was acted
> upon.
> > > > > > > > > Transaction: Ticket created by geeta124 at hotmail.com
> > > > > > > > >        Queue: met_help
> > > > > > > > >      Subject: combining nc files together
> > > > > > > > >        Owner: Nobody
> > > > > > > > >   Requestors: geeta124 at hotmail.com
> > > > > > > > >       Status: new
> > > > > > > > >  Ticket <URL:
> > > > > https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453
> > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > Hi John.
> > > > > > > > > Sorry to bother you again n again. But I have no
> choice. I
> > > want to
> > > > > know
> > > > > > > > > the followingI have 8 nc files. bash-3.2$ ls -ltotal
> > > > > 216336-rw-r--r--
> > > > > > >   1
> > > > > > > > > model    staff      13841488 Jan 21 11:24
> > > > > > > 3B42.20110422.06.7.nc-rw-r--r--
> > > > > > > > >   1 model    staff      13841488 Jan 21 11:27
> > > > > > > > > 3B42.20110422.09.7.nc-rw-r--r--    1 model    staff
> > > 13841492
> > > > > Jan
> > > > > > > 21
> > > > > > > > > 14:01 3B42.20110422.12.7.nc-rw-r--r--    1 model
> staff
> > > > > > > 13841492 Jan
> > > > > > > > > 21 13:16 3B42.20110422.15.7.nc-rw-r--r--    1 model
> staff
> > > > > > > 13841492
> > > > > > > > > Jan 21 14:51 3B42.20110422.18.7.nc-rw-r--r--    1
> model
> > > staff
> > > > > > > > > 13841492 Jan 21 13:21 3B42.20110422.21.7.nc-rw-r--
r--
> 1
> > > model
> > > > > > > staff
> > > > > > > > >     13841488 Jan 21 13:22 3B42.20110423.00.7.nc-rw-
r--
> r--    1
> > > > > model
> > > > > > > > > staff      13841488 Jan 21 13:50
> > > 3B42.20110423.03.7.ncbash-3.2$ pwd
> > > > > > > > > I need to make ONE 24 hour RF accumulated file
> starting 06UTC
> > > of
> > > > > > > > > 22.04.2011 - 03UTC of 23.04.2011. How do I do
that???
> > > > > > > > > Geeta
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > > >
> > > >
> > >
> > >
> > >
> >
>
> ------------------------------------------------
> Subject: combining nc files together
> From: John Halley Gotway
> Time: Wed Feb 04 11:21:18 2015
>
> Geeta,
>
> The trmmbin2nc.R script is set up to only handle the TRMM binary
data
> exactly from that website.  The timing information for that binary
> data is
> only contained in the file name, and you've renamed those files.  So
> the
> script doesn't know how to parse them.
>
> Here's 2 options:
> (1) Rename that file using the "daily" file naming conventions:
>    cp Obs22apr2011.bin 3B42_daily.2011.04.22.7.bin
>    Rscript 3B42_daily.2011.04.22.7.bin 3B42_daily.2011.04.22.7.nc
>
> That will produce output but it'll assume the precipitation is
> accumulated
> for 24-hours from 20110422 00Z to 20110423 00Z.  If the times should
> be
> something different you could... edit the Rscript to use the times
you
> want... or use the "ncatted" tool to modify the timing information
> listed
> in the output NetCDF file.
>
> (2) Or, as we've discussed in the past, you could run each of the 3-
> hour
> files through the trmmbin2nc.R script and write out NetCDF files.
> Then run
> those 3-hourly NetCDF files through pcp_combine to add them up.
>
> Thanks,
> John
>
>
> On Sun, Feb 1, 2015 at 11:27 PM, Geeta Geeta via RT
> <met_help at ucar.edu>
> wrote:
>
> >
> > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453 >
> >
> > Hi John.
> > This is an old Ticket. Kindly sort this issue too.
> > I was able to sum up all the 3 hourly TRMM files and then convert
> the
> > final file into One called Obs22apr2011.bin.
> > I had used Grads for summing up all the 8 files. and now I am
using
> the R
> > script for
> > converting into NC.
> > But I got the error.
> > aditya at agniilap:~/geeta/installs/met/RUN_MET-22apr2011$ Rscript
> > ../trmm_to_nc/trmmbin2nc_mod.R Obs22apr2011.bin Obs22apr2011.nc
> >
> >
> > ERROR: Can't figure out the accumulation interval!I am sending you
> the
> > data that I converted using Grads.
> > Geeta
> >
> > > Subject: Re: [rt.rap.ucar.edu #70453] combining nc files
together
> > > From: met_help at ucar.edu
> > > To: geeta124 at hotmail.com
> > > Date: Fri, 30 Jan 2015 11:04:18 -0700
> > >
> > > Geeta,
> > >
> > > I don't have time to adapt that Rscript for your use with Grid-
> Stat.
> > > However, we did do something very similar for a previous
project.
> I have
> > > attached an Rscript named "fss_quilt_plot.R" you could easily
> adapt to
> > > create a quilt plot for your data.  I've also attached a copy of
> the
> > paper
> > > for which this script was used.  Please look at figure 7.
> > >
> > > Thanks,
> > > John
> > >
> > > On Fri, Jan 30, 2015 at 1:03 AM, Geeta Geeta via RT
> <met_help at ucar.edu>
> > > wrote:
> > >
> > > >
> > > > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453
>
> > > >
> > > > Hi John.
> > > > I changed different widths in the configuration file.
> (Width=1,3,5,,7
> > etc).
> > > >
> > > > // Neighborhood methods
> > > > //
> > > > nbrhd = {
> > > >    vld_thresh = 1.0;
> > > >    width      = [ 7 ];
> > > >    cov_thresh = [ >=0.5 ];
> > > > }
> > > > and got various outputs (for different widths) which are in
> different
> > > > directories.
> > > > Now I saw the R script on the website which is probably
> exclusively for
> > > > the MODE TOOL only.
> > > > Now my question is how to make the quilt plot for the GRid
stat
> > tool???.
> > > > Sorry I m not familiar with R  now.
> > > > Pls help.
> > > > Geeta.
> > > >
> > > >
> > > >
> > > > From: geeta124 at hotmail.com
> > > > To: met_help at ucar.edu
> > > > Subject: RE: [rt.rap.ucar.edu #70453] combining nc files
> together
> > > > Date: Thu, 29 Jan 2015 17:05:25 +0530
> > > >
> > > >
> > > >
> > > >
> > > > Hi John.
> > > > So I was able to sum up all the 3 hourly TRMM files and then
> convert
> > the
> > > > final file into One called Obs22apr2011.bin.
> > > > I have done that using Grads and now I am using the R script
for
> > > > converting into NC.
> > > > But I got the error.
> > > > aditya at agniilap:~/geeta/installs/met/RUN_MET-22apr2011$
Rscript
> > > > ../trmm_to_nc/trmmbin2nc_mod.R Obs22apr2011.bin
Obs22apr2011.nc
> > > >
> > > >
> > > > ERROR: Can't figure out the accumulation interval!
> > > >
> > > > I am sending you the data files and the R script (I changed
the
> > domain).
> > > > The data is plotted fine. Also pls tell me about the ncview
> questions
> > that
> > > > I was asking. reg the plotting of MPR's
> > > > Kindly suggest.
> > > > Geeta
> > > >
> > > >
> > > >
> > > >
> > > > > Subject: Re: [rt.rap.ucar.edu #70453] combining nc files
> together
> > > > > From: met_help at ucar.edu
> > > > > To: geeta124 at hotmail.com
> > > > > Date: Mon, 26 Jan 2015 09:58:32 -0700
> > > > >
> > > > > Geeta,
> > > > >
> > > > > On that webpage (
> > > > >
> http://www.dtcenter.org/met/users/downloads/analysis_scripts.php),
> > > > please
> > > > > look specifically at the script named "mode_quilt_plot.R".
> Here's
> > the
> > > > > direct link to that script:
> > > > >
> > > >
>
http://www.dtcenter.org/met/users/downloads/Rscripts/mode_quilt_plot.R
> > > > >
> > > > > And here's a direct link to the sample output that script
> creates:
> > > > >
> > > > >
> > > >
> >
>
http://www.dtcenter.org/met/users/downloads/Rscripts/SAMPLE_mode_quilts.pdf
> > > > >
> > > > > This is an example of using R to make a quilt plot for the
> output of
> > the
> > > > > MODE tool.  You might also use a quilt plot to display
> fractions
> > skill
> > > > > score from the Grid-Stat tool, if you've run FSS for
multiple
> > thresholds
> > > > > and neighborhood sizes.
> > > > >
> > > > > John
> > > > >
> > > > > On Mon, Jan 26, 2015 at 7:28 AM, Geeta Geeta via RT <
> > met_help at ucar.edu>
> > > > > wrote:
> > > > >
> > > > > >
> > > > > > <URL:
> https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453 >
> > > > > >
> > > > > > Hi John.
> > > > > > the link
> > > >
http://www.dtcenter.org/met/users/downloads/analysis_scripts.php
> > > > > > has the plots for the cnt statistics.
> > > > > > I am not familiar with R. I am going thru the plot_cnt.R
> script.
> > > > > > but I want to know what will be the data format for the
> Quilt plot.
> > > > > > Do I have to write my own script???.
> > > > > > Kindly let me know about the data format and how I have to
> modify
> > the
> > > > > > above script in order to make the quilt plot.
> > > > > > Regards
> > > > > > Geeta
> > > > > >
> > > > > > > Subject: Re: [rt.rap.ucar.edu #70453] combining nc files
> > together
> > > > > > > From: met_help at ucar.edu
> > > > > > > To: geeta124 at hotmail.com
> > > > > > > Date: Fri, 23 Jan 2015 11:09:23 -0700
> > > > > > >
> > > > > > > Geeta,
> > > > > > >
> > > > > > > Regarding 3-hourly RF accumulations, if MET is able to
> read those
> > > > NetCDF
> > > > > > > files, you can run them through PCP-Combine to "add"
them
> all
> > > > together.
> > > > > > > Just use the example PCP_Combine command I already sent
> you but
> > > > modify
> > > > > > the
> > > > > > > "name" entry to list the name of the NetCDF variable you
> want to
> > > > use.  If
> > > > > > > MET is not able to read them, then it's up to you to
> figure out
> > how
> > > > to
> > > > > > > accumulate them.
> > > > > > >
> > > > > > > If you're familiar with R, you could use the "ncdf"
> library in R
> > to
> > > > read
> > > > > > > data from one or more NetCDF files, add them up, and
write
> it
> > out to
> > > > a
> > > > > > new
> > > > > > > file.  Alternatively, "nco" (NetCDF Operators) provide
> some
> > > > capability of
> > > > > > > doing simple operations on NetCDF files.  You might be
> able to
> > use
> > > > them.
> > > > > > >
> > > > > > > Regarding quilt plots, I've only used R to make them in
> the past.
> > > > > > > Specifically, the "quilt.plot" function in the R package
> named
> > > > "fields".
> > > > > > > Please take a look at this website:
> > > > > > >
> > http://www.dtcenter.org/met/users/downloads/analysis_scripts.php
> > > > > > >
> > > > > > > The Rscript named "mode_quilt_plot.R" provides an
example
> of
> > using R
> > > > to
> > > > > > > make quilt plots.  Example output from that script is
also
> > included
> > > > on
> > > > > > that
> > > > > > > page.
> > > > > > >
> > > > > > > Thanks,
> > > > > > > John
> > > > > > >
> > > > > > > On Fri, Jan 23, 2015 at 4:06 AM, Geeta Geeta via RT <
> > > > met_help at ucar.edu>
> > > > > > > wrote:
> > > > > > >
> > > > > > > >
> > > > > > > > <URL:
> https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453
> > >
> > > > > > > >
> > > > > > > > Hi John. Your help is needed at every step. Now I want
> to know
> > > > which
> > > > > > > > software can be used for making the QUILT plot
> (intensity and
> > > > spatial
> > > > > > > > distribution) plot. Can It be done in using MET5.0.
How
> Can I
> > plot
> > > > the
> > > > > > > > point data that I used in MET5.0???KIndly guide me.
Also
> pls
> > tell
> > > > me
> > > > > > if u
> > > > > > > > can figure out the issue of 3hrly RF accumulations if
> the files
> > > > are in
> > > > > > the
> > > > > > > > NETCDF format. Geeta
> > > > > > > >
> > > > > > > > From: geeta124 at hotmail.com
> > > > > > > > To: met_help at ucar.edu
> > > > > > > > Subject: RE: [rt.rap.ucar.edu #70453] combining nc
files
> > together
> > > > > > > > Date: Thu, 22 Jan 2015 16:30:34 +0530
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > thanks John.  the pcp combine tool uses only GRIB1
> files. these
> > > > were
> > > > > > > > netcdf files (attaching one).I had downloaded the NC
> files from
> > > > > > > >
> > > > > >
> > > >
> > http://mirador.gsfc.nasa.gov/cgi-
> bin/mirador/granlist.pl?page=1&location=(-90,-
>
180),(90,180)&dataSet=TRMM_3B42&version=007&allversion=007&startTime=2011-
> 04-22T00:00:01Z&endTime=2011-04-
> 22T23:59:59Z&keyword=TRMM_3B42&longname=TRMM%203-
>
Hourly%200.25%20deg.%20TRMM%20and%20Others%20Rainfall%20Estimate%20Data&CGISESSID=02499c2107ddfb60a3e46d6b99df3d79&prodpg=http://mirador.gsfc.nasa.gov/collections/TRMM_3B42__007.shtmlI
> > > > > > > > got following error. bash-3.2$ ./run_pcptool.sh
Running
> PCP
> > > > > > toolPerforming
> > > > > > > > addition command for 2 files.Reading input file:
> > > > 3B42.20110422.12.7.nc
> > > > > > > > GribFile::skip_header() -> can't find "GRIB" magic
> cookie
> >  ERROR:
> > > > > > > > get_field() -> can't open grib file:
> 3B42.20110422.12.7.nc
> > > > > > > > Following is my script--------!/bin/sh
> > > > > > > >
> > > > > > > >              echo " Running PCP
> > > > > > > > tool"~/wrf3/utils/met/METv3.0/bin/pcp_combine -add
> > > > > > 3B42.20110422.12.7.nc
> > > > > > > > 03 3B42.20110422.15.7.nc 03 myoutput.nc
> > > > > > > > Kindly suggest.
> > > > > > > >
> > > > > > > > the second thing I was thinking to download the TRMM
> data from
> > > > thelink
> > > > > > at
> > > > > > > > DTC website and then converying the 3 hourly bins to
NC.
> > > > > > > > 2.2 MBftp://
> > > > > > > >
> > > > > >
> > > >
> >
>
disc2.nascom.nasa.gov/data/TRMM/Gridded/3B42_V7/201104/3B42.110422.15z.7.precipitation.bin
> > > > > > > > But my problem will be to ACCUMULATE them. I need to
> verify the
> > > > model
> > > > > > data
> > > > > > > > starting 06 UTC of day1 to 03UTC of DAY2. I mean how
do
> I
> > combine
> > > > all
> > > > > > the
> > > > > > > > NC  files together. Kindly suggest
> > > > > > > > > Subject: Re: [rt.rap.ucar.edu #70453] combining nc
> files
> > > > together
> > > > > > > > > From: met_help at ucar.edu
> > > > > > > > > To: geeta124 at hotmail.com
> > > > > > > > > Date: Wed, 21 Jan 2015 10:45:12 -0700
> > > > > > > > >
> > > > > > > > > Geeta,
> > > > > > > > >
> > > > > > > > > I'm assuming the variable in the NetCDF files is
named
> > > > "APCP_03".  If
> > > > > > > > not,
> > > > > > > > > just switch in the actual name.  You can run the
> following
> > > > > > pcp_combine
> > > > > > > > -add
> > > > > > > > > command:
> > > > > > > > >
> > > > > > > > > pcp_combine -add \
> > > > > > > > >    3B42.20110422.09.7.nc 'name="APCP_03";
> level="(*,*)";' \
> > > > > > > > >    3B42.20110422.12.7.nc 'name="APCP_03";
> level="(*,*)";' \
> > > > > > > > >    3B42.20110422.15.7.nc 'name="APCP_03";
> level="(*,*)";' \
> > > > > > > > >    3B42.20110422.18.7.nc 'name="APCP_03";
> level="(*,*)";' \
> > > > > > > > >    3B42.20110422.21.7.nc 'name="APCP_03";
> level="(*,*)";' \
> > > > > > > > >    3B42.20110423.00.7.nc 'name="APCP_03";
> level="(*,*)";' \
> > > > > > > > >    3B42.20110423.03.7.nc 'name="APCP_03";
> level="(*,*)";' \
> > > > > > > > >    3B42.20110423.06.7.nc 'name="APCP_03";
> level="(*,*)";' \
> > > > > > > > >    3B42.20110423.06.7_APCP_24.nc
> > > > > > > > >
> > > > > > > > > The last file listed is just the output file name I
> chose.
> > But
> > > > you
> > > > > > can
> > > > > > > > > name it whatever you'd like.
> > > > > > > > >
> > > > > > > > > John
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > On Wed, Jan 21, 2015 at 4:02 AM, Geeta Geeta via RT
<
> > > > > > met_help at ucar.edu>
> > > > > > > > > wrote:
> > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > Wed Jan 21 04:02:41 2015: Request 70453 was acted
> upon.
> > > > > > > > > > Transaction: Ticket created by
geeta124 at hotmail.com
> > > > > > > > > >        Queue: met_help
> > > > > > > > > >      Subject: combining nc files together
> > > > > > > > > >        Owner: Nobody
> > > > > > > > > >   Requestors: geeta124 at hotmail.com
> > > > > > > > > >       Status: new
> > > > > > > > > >  Ticket <URL:
> > > > > > https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453
> > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > Hi John.
> > > > > > > > > > Sorry to bother you again n again. But I have no
> choice. I
> > > > want to
> > > > > > know
> > > > > > > > > > the followingI have 8 nc files. bash-3.2$ ls
-ltotal
> > > > > > 216336-rw-r--r--
> > > > > > > >   1
> > > > > > > > > > model    staff      13841488 Jan 21 11:24
> > > > > > > > 3B42.20110422.06.7.nc-rw-r--r--
> > > > > > > > > >   1 model    staff      13841488 Jan 21 11:27
> > > > > > > > > > 3B42.20110422.09.7.nc-rw-r--r--    1 model
staff
> > > > 13841492
> > > > > > Jan
> > > > > > > > 21
> > > > > > > > > > 14:01 3B42.20110422.12.7.nc-rw-r--r--    1 model
> staff
> > > > > > > > 13841492 Jan
> > > > > > > > > > 21 13:16 3B42.20110422.15.7.nc-rw-r--r--    1
model
> > staff
> > > > > > > > 13841492
> > > > > > > > > > Jan 21 14:51 3B42.20110422.18.7.nc-rw-r--r--    1
> model
> > > > staff
> > > > > > > > > > 13841492 Jan 21 13:21 3B42.20110422.21.7.nc-rw-r--
> r--    1
> > > > model
> > > > > > > > staff
> > > > > > > > > >     13841488 Jan 21 13:22 3B42.20110423.00.7.nc-
rw-
> r--r--
> >   1
> > > > > > model
> > > > > > > > > > staff      13841488 Jan 21 13:50
> > > > 3B42.20110423.03.7.ncbash-3.2$ pwd
> > > > > > > > > > I need to make ONE 24 hour RF accumulated file
> starting
> > 06UTC
> > > > of
> > > > > > > > > > 22.04.2011 - 03UTC of 23.04.2011. How do I do
> that???
> > > > > > > > > > Geeta
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > > >
> > > > >
> > > >
> > > >
> > > >
> > >
> >
> >
>
> ------------------------------------------------
> Subject: combining nc files together
> From: Geeta Geeta
> Time: Thu Feb 05 02:02:47 2015
>
> Hi John.
> Thanks for wonderful ideas.
> The first one is working. but I have yet to run grid_stat to see if
> everything is working finally. I ll try the ncatted.
>
> To sum up all the nc files (for the times that I want), I did try
the
> pcp_combine. But I guess It only works for the GRIB files.
> I have sent to u the error before. I tried to use MET3.0 for that
> which is installed in my HPC.
> I have 5.0 on my personal system. Will try that exercise in this
> system.
> Thanks again for your help.
> Geeta
>
>
> > Subject: Re: [rt.rap.ucar.edu #70453] combining nc files together
> > From: met_help at ucar.edu
> > To: geeta124 at hotmail.com
> > Date: Wed, 4 Feb 2015 11:21:19 -0700
> >
> > Geeta,
> >
> > The trmmbin2nc.R script is set up to only handle the TRMM binary
> data
> > exactly from that website.  The timing information for that binary
> data is
> > only contained in the file name, and you've renamed those files.
So
> the
> > script doesn't know how to parse them.
> >
> > Here's 2 options:
> > (1) Rename that file using the "daily" file naming conventions:
> >    cp Obs22apr2011.bin 3B42_daily.2011.04.22.7.bin
> >    Rscript 3B42_daily.2011.04.22.7.bin 3B42_daily.2011.04.22.7.nc
> >
> > That will produce output but it'll assume the precipitation is
> accumulated
> > for 24-hours from 20110422 00Z to 20110423 00Z.  If the times
should
> be
> > something different you could... edit the Rscript to use the times
> you
> > want... or use the "ncatted" tool to modify the timing information
> listed
> > in the output NetCDF file.
> >
> > (2) Or, as we've discussed in the past, you could run each of the
3-
> hour
> > files through the trmmbin2nc.R script and write out NetCDF files.
> Then run
> > those 3-hourly NetCDF files through pcp_combine to add them up.
> >
> > Thanks,
> > John
> >
> >
> > On Sun, Feb 1, 2015 at 11:27 PM, Geeta Geeta via RT
> <met_help at ucar.edu>
> > wrote:
> >
> > >
> > > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453 >
> > >
> > > Hi John.
> > > This is an old Ticket. Kindly sort this issue too.
> > > I was able to sum up all the 3 hourly TRMM files and then
convert
> the
> > > final file into One called Obs22apr2011.bin.
> > > I had used Grads for summing up all the 8 files. and now I am
> using the R
> > > script for
> > > converting into NC.
> > > But I got the error.
> > > aditya at agniilap:~/geeta/installs/met/RUN_MET-22apr2011$ Rscript
> > > ../trmm_to_nc/trmmbin2nc_mod.R Obs22apr2011.bin Obs22apr2011.nc
> > >
> > >
> > > ERROR: Can't figure out the accumulation interval!I am sending
you
> the
> > > data that I converted using Grads.
> > > Geeta
> > >
> > > > Subject: Re: [rt.rap.ucar.edu #70453] combining nc files
> together
> > > > From: met_help at ucar.edu
> > > > To: geeta124 at hotmail.com
> > > > Date: Fri, 30 Jan 2015 11:04:18 -0700
> > > >
> > > > Geeta,
> > > >
> > > > I don't have time to adapt that Rscript for your use with
Grid-
> Stat.
> > > > However, we did do something very similar for a previous
> project.  I have
> > > > attached an Rscript named "fss_quilt_plot.R" you could easily
> adapt to
> > > > create a quilt plot for your data.  I've also attached a copy
of
> the
> > > paper
> > > > for which this script was used.  Please look at figure 7.
> > > >
> > > > Thanks,
> > > > John
> > > >
> > > > On Fri, Jan 30, 2015 at 1:03 AM, Geeta Geeta via RT
> <met_help at ucar.edu>
> > > > wrote:
> > > >
> > > > >
> > > > > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453
> >
> > > > >
> > > > > Hi John.
> > > > > I changed different widths in the configuration file.
> (Width=1,3,5,,7
> > > etc).
> > > > >
> > > > > // Neighborhood methods
> > > > > //
> > > > > nbrhd = {
> > > > >    vld_thresh = 1.0;
> > > > >    width      = [ 7 ];
> > > > >    cov_thresh = [ >=0.5 ];
> > > > > }
> > > > > and got various outputs (for different widths) which are in
> different
> > > > > directories.
> > > > > Now I saw the R script on the website which is probably
> exclusively for
> > > > > the MODE TOOL only.
> > > > > Now my question is how to make the quilt plot for the GRid
> stat
> > > tool???.
> > > > > Sorry I m not familiar with R  now.
> > > > > Pls help.
> > > > > Geeta.
> > > > >
> > > > >
> > > > >
> > > > > From: geeta124 at hotmail.com
> > > > > To: met_help at ucar.edu
> > > > > Subject: RE: [rt.rap.ucar.edu #70453] combining nc files
> together
> > > > > Date: Thu, 29 Jan 2015 17:05:25 +0530
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > Hi John.
> > > > > So I was able to sum up all the 3 hourly TRMM files and then
> convert
> > > the
> > > > > final file into One called Obs22apr2011.bin.
> > > > > I have done that using Grads and now I am using the R script
> for
> > > > > converting into NC.
> > > > > But I got the error.
> > > > > aditya at agniilap:~/geeta/installs/met/RUN_MET-22apr2011$
> Rscript
> > > > > ../trmm_to_nc/trmmbin2nc_mod.R Obs22apr2011.bin
> Obs22apr2011.nc
> > > > >
> > > > >
> > > > > ERROR: Can't figure out the accumulation interval!
> > > > >
> > > > > I am sending you the data files and the R script (I changed
> the
> > > domain).
> > > > > The data is plotted fine. Also pls tell me about the ncview
> questions
> > > that
> > > > > I was asking. reg the plotting of MPR's
> > > > > Kindly suggest.
> > > > > Geeta
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > > Subject: Re: [rt.rap.ucar.edu #70453] combining nc files
> together
> > > > > > From: met_help at ucar.edu
> > > > > > To: geeta124 at hotmail.com
> > > > > > Date: Mon, 26 Jan 2015 09:58:32 -0700
> > > > > >
> > > > > > Geeta,
> > > > > >
> > > > > > On that webpage (
> > > > > >
> http://www.dtcenter.org/met/users/downloads/analysis_scripts.php),
> > > > > please
> > > > > > look specifically at the script named "mode_quilt_plot.R".
> Here's
> > > the
> > > > > > direct link to that script:
> > > > > >
> > > > >
>
http://www.dtcenter.org/met/users/downloads/Rscripts/mode_quilt_plot.R
> > > > > >
> > > > > > And here's a direct link to the sample output that script
> creates:
> > > > > >
> > > > > >
> > > > >
> > >
>
http://www.dtcenter.org/met/users/downloads/Rscripts/SAMPLE_mode_quilts.pdf
> > > > > >
> > > > > > This is an example of using R to make a quilt plot for the
> output of
> > > the
> > > > > > MODE tool.  You might also use a quilt plot to display
> fractions
> > > skill
> > > > > > score from the Grid-Stat tool, if you've run FSS for
> multiple
> > > thresholds
> > > > > > and neighborhood sizes.
> > > > > >
> > > > > > John
> > > > > >
> > > > > > On Mon, Jan 26, 2015 at 7:28 AM, Geeta Geeta via RT <
> > > met_help at ucar.edu>
> > > > > > wrote:
> > > > > >
> > > > > > >
> > > > > > > <URL:
> https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453 >
> > > > > > >
> > > > > > > Hi John.
> > > > > > > the link
> > > > >
> http://www.dtcenter.org/met/users/downloads/analysis_scripts.php
> > > > > > > has the plots for the cnt statistics.
> > > > > > > I am not familiar with R. I am going thru the plot_cnt.R
> script.
> > > > > > > but I want to know what will be the data format for the
> Quilt plot.
> > > > > > > Do I have to write my own script???.
> > > > > > > Kindly let me know about the data format and how I have
to
> modify
> > > the
> > > > > > > above script in order to make the quilt plot.
> > > > > > > Regards
> > > > > > > Geeta
> > > > > > >
> > > > > > > > Subject: Re: [rt.rap.ucar.edu #70453] combining nc
files
> > > together
> > > > > > > > From: met_help at ucar.edu
> > > > > > > > To: geeta124 at hotmail.com
> > > > > > > > Date: Fri, 23 Jan 2015 11:09:23 -0700
> > > > > > > >
> > > > > > > > Geeta,
> > > > > > > >
> > > > > > > > Regarding 3-hourly RF accumulations, if MET is able to
> read those
> > > > > NetCDF
> > > > > > > > files, you can run them through PCP-Combine to "add"
> them all
> > > > > together.
> > > > > > > > Just use the example PCP_Combine command I already
sent
> you but
> > > > > modify
> > > > > > > the
> > > > > > > > "name" entry to list the name of the NetCDF variable
you
> want to
> > > > > use.  If
> > > > > > > > MET is not able to read them, then it's up to you to
> figure out
> > > how
> > > > > to
> > > > > > > > accumulate them.
> > > > > > > >
> > > > > > > > If you're familiar with R, you could use the "ncdf"
> library in R
> > > to
> > > > > read
> > > > > > > > data from one or more NetCDF files, add them up, and
> write it
> > > out to
> > > > > a
> > > > > > > new
> > > > > > > > file.  Alternatively, "nco" (NetCDF Operators) provide
> some
> > > > > capability of
> > > > > > > > doing simple operations on NetCDF files.  You might be
> able to
> > > use
> > > > > them.
> > > > > > > >
> > > > > > > > Regarding quilt plots, I've only used R to make them
in
> the past.
> > > > > > > > Specifically, the "quilt.plot" function in the R
package
> named
> > > > > "fields".
> > > > > > > > Please take a look at this website:
> > > > > > > >
> > > http://www.dtcenter.org/met/users/downloads/analysis_scripts.php
> > > > > > > >
> > > > > > > > The Rscript named "mode_quilt_plot.R" provides an
> example of
> > > using R
> > > > > to
> > > > > > > > make quilt plots.  Example output from that script is
> also
> > > included
> > > > > on
> > > > > > > that
> > > > > > > > page.
> > > > > > > >
> > > > > > > > Thanks,
> > > > > > > > John
> > > > > > > >
> > > > > > > > On Fri, Jan 23, 2015 at 4:06 AM, Geeta Geeta via RT <
> > > > > met_help at ucar.edu>
> > > > > > > > wrote:
> > > > > > > >
> > > > > > > > >
> > > > > > > > > <URL:
> https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453
> > > >
> > > > > > > > >
> > > > > > > > > Hi John. Your help is needed at every step. Now I
want
> to know
> > > > > which
> > > > > > > > > software can be used for making the QUILT plot
> (intensity and
> > > > > spatial
> > > > > > > > > distribution) plot. Can It be done in using MET5.0.
> How Can I
> > > plot
> > > > > the
> > > > > > > > > point data that I used in MET5.0???KIndly guide me.
> Also pls
> > > tell
> > > > > me
> > > > > > > if u
> > > > > > > > > can figure out the issue of 3hrly RF accumulations
if
> the files
> > > > > are in
> > > > > > > the
> > > > > > > > > NETCDF format. Geeta
> > > > > > > > >
> > > > > > > > > From: geeta124 at hotmail.com
> > > > > > > > > To: met_help at ucar.edu
> > > > > > > > > Subject: RE: [rt.rap.ucar.edu #70453] combining nc
> files
> > > together
> > > > > > > > > Date: Thu, 22 Jan 2015 16:30:34 +0530
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > thanks John.  the pcp combine tool uses only GRIB1
> files. these
> > > > > were
> > > > > > > > > netcdf files (attaching one).I had downloaded the NC
> files from
> > > > > > > > >
> > > > > > >
> > > > >
> > > http://mirador.gsfc.nasa.gov/cgi-
> bin/mirador/granlist.pl?page=1&location=(-90,-
>
180),(90,180)&dataSet=TRMM_3B42&version=007&allversion=007&startTime=2011-
> 04-22T00:00:01Z&endTime=2011-04-
> 22T23:59:59Z&keyword=TRMM_3B42&longname=TRMM%203-
>
Hourly%200.25%20deg.%20TRMM%20and%20Others%20Rainfall%20Estimate%20Data&CGISESSID=02499c2107ddfb60a3e46d6b99df3d79&prodpg=http://mirador.gsfc.nasa.gov/collections/TRMM_3B42__007.shtmlI
> > > > > > > > > got following error. bash-3.2$ ./run_pcptool.sh
> Running PCP
> > > > > > > toolPerforming
> > > > > > > > > addition command for 2 files.Reading input file:
> > > > > 3B42.20110422.12.7.nc
> > > > > > > > > GribFile::skip_header() -> can't find "GRIB" magic
> cookie
> > >  ERROR:
> > > > > > > > > get_field() -> can't open grib file:
> 3B42.20110422.12.7.nc
> > > > > > > > > Following is my script--------!/bin/sh
> > > > > > > > >
> > > > > > > > >              echo " Running PCP
> > > > > > > > > tool"~/wrf3/utils/met/METv3.0/bin/pcp_combine -add
> > > > > > > 3B42.20110422.12.7.nc
> > > > > > > > > 03 3B42.20110422.15.7.nc 03 myoutput.nc
> > > > > > > > > Kindly suggest.
> > > > > > > > >
> > > > > > > > > the second thing I was thinking to download the TRMM
> data from
> > > > > thelink
> > > > > > > at
> > > > > > > > > DTC website and then converying the 3 hourly bins to
> NC.
> > > > > > > > > 2.2 MBftp://
> > > > > > > > >
> > > > > > >
> > > > >
> > >
>
disc2.nascom.nasa.gov/data/TRMM/Gridded/3B42_V7/201104/3B42.110422.15z.7.precipitation.bin
> > > > > > > > > But my problem will be to ACCUMULATE them. I need to
> verify the
> > > > > model
> > > > > > > data
> > > > > > > > > starting 06 UTC of day1 to 03UTC of DAY2. I mean how
> do I
> > > combine
> > > > > all
> > > > > > > the
> > > > > > > > > NC  files together. Kindly suggest
> > > > > > > > > > Subject: Re: [rt.rap.ucar.edu #70453] combining nc
> files
> > > > > together
> > > > > > > > > > From: met_help at ucar.edu
> > > > > > > > > > To: geeta124 at hotmail.com
> > > > > > > > > > Date: Wed, 21 Jan 2015 10:45:12 -0700
> > > > > > > > > >
> > > > > > > > > > Geeta,
> > > > > > > > > >
> > > > > > > > > > I'm assuming the variable in the NetCDF files is
> named
> > > > > "APCP_03".  If
> > > > > > > > > not,
> > > > > > > > > > just switch in the actual name.  You can run the
> following
> > > > > > > pcp_combine
> > > > > > > > > -add
> > > > > > > > > > command:
> > > > > > > > > >
> > > > > > > > > > pcp_combine -add \
> > > > > > > > > >    3B42.20110422.09.7.nc 'name="APCP_03";
> level="(*,*)";' \
> > > > > > > > > >    3B42.20110422.12.7.nc 'name="APCP_03";
> level="(*,*)";' \
> > > > > > > > > >    3B42.20110422.15.7.nc 'name="APCP_03";
> level="(*,*)";' \
> > > > > > > > > >    3B42.20110422.18.7.nc 'name="APCP_03";
> level="(*,*)";' \
> > > > > > > > > >    3B42.20110422.21.7.nc 'name="APCP_03";
> level="(*,*)";' \
> > > > > > > > > >    3B42.20110423.00.7.nc 'name="APCP_03";
> level="(*,*)";' \
> > > > > > > > > >    3B42.20110423.03.7.nc 'name="APCP_03";
> level="(*,*)";' \
> > > > > > > > > >    3B42.20110423.06.7.nc 'name="APCP_03";
> level="(*,*)";' \
> > > > > > > > > >    3B42.20110423.06.7_APCP_24.nc
> > > > > > > > > >
> > > > > > > > > > The last file listed is just the output file name
I
> chose.
> > > But
> > > > > you
> > > > > > > can
> > > > > > > > > > name it whatever you'd like.
> > > > > > > > > >
> > > > > > > > > > John
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > On Wed, Jan 21, 2015 at 4:02 AM, Geeta Geeta via
RT
> <
> > > > > > > met_help at ucar.edu>
> > > > > > > > > > wrote:
> > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > Wed Jan 21 04:02:41 2015: Request 70453 was
acted
> upon.
> > > > > > > > > > > Transaction: Ticket created by
> geeta124 at hotmail.com
> > > > > > > > > > >        Queue: met_help
> > > > > > > > > > >      Subject: combining nc files together
> > > > > > > > > > >        Owner: Nobody
> > > > > > > > > > >   Requestors: geeta124 at hotmail.com
> > > > > > > > > > >       Status: new
> > > > > > > > > > >  Ticket <URL:
> > > > > > > https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453
> > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > Hi John.
> > > > > > > > > > > Sorry to bother you again n again. But I have no
> choice. I
> > > > > want to
> > > > > > > know
> > > > > > > > > > > the followingI have 8 nc files. bash-3.2$ ls
> -ltotal
> > > > > > > 216336-rw-r--r--
> > > > > > > > >   1
> > > > > > > > > > > model    staff      13841488 Jan 21 11:24
> > > > > > > > > 3B42.20110422.06.7.nc-rw-r--r--
> > > > > > > > > > >   1 model    staff      13841488 Jan 21 11:27
> > > > > > > > > > > 3B42.20110422.09.7.nc-rw-r--r--    1 model
> staff
> > > > > 13841492
> > > > > > > Jan
> > > > > > > > > 21
> > > > > > > > > > > 14:01 3B42.20110422.12.7.nc-rw-r--r--    1 model
> staff
> > > > > > > > > 13841492 Jan
> > > > > > > > > > > 21 13:16 3B42.20110422.15.7.nc-rw-r--r--    1
> model
> > > staff
> > > > > > > > > 13841492
> > > > > > > > > > > Jan 21 14:51 3B42.20110422.18.7.nc-rw-r--r--
1
> model
> > > > > staff
> > > > > > > > > > > 13841492 Jan 21 13:21 3B42.20110422.21.7.nc-rw-
r--
> r--    1
> > > > > model
> > > > > > > > > staff
> > > > > > > > > > >     13841488 Jan 21 13:22 3B42.20110423.00.7.nc-
> rw-r--r--
> > >   1
> > > > > > > model
> > > > > > > > > > > staff      13841488 Jan 21 13:50
> > > > > 3B42.20110423.03.7.ncbash-3.2$ pwd
> > > > > > > > > > > I need to make ONE 24 hour RF accumulated file
> starting
> > > 06UTC
> > > > > of
> > > > > > > > > > > 22.04.2011 - 03UTC of 23.04.2011. How do I do
> that???
> > > > > > > > > > > Geeta
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > > >
> > > > >
> > > >
> > >
> > >
> >
>
> ------------------------------------------------
> Subject: combining nc files together
> From: John Halley Gotway
> Time: Thu Feb 05 10:33:59 2015
>
> Geeta,
>
> You're correct, you can only use the "sum" command of pcp_combine
for
> GRIB1
> or GRIB2 files...
>
> But, you can use the "add" command on any gridded data file format
> that MET
> supports.  Adding together 8 NetCDF files with pcp_combine would
look
> something like this:
>
> pcp_combine -add \
> file1.nc 'name="APCP_03"; level="(*,*)";' \
> file2.nc 'name="APCP_03"; level="(*,*)";' \
> ...
> file8.nc 'name="APCP_03"; level="(*,*)";' \
> APCP_24.nc
>
> It makes for a longer command line, but it is possible to do with
> pcp_combine.
>
> John
>
>
>
> On Thu, Feb 5, 2015 at 2:02 AM, Geeta Geeta via RT
<met_help at ucar.edu>
> wrote:
>
> >
> > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453 >
> >
> > Hi John.
> > Thanks for wonderful ideas.
> > The first one is working. but I have yet to run grid_stat to see
if
> > everything is working finally. I ll try the ncatted.
> >
> > To sum up all the nc files (for the times that I want), I did try
> the
> > pcp_combine. But I guess It only works for the GRIB files.
> > I have sent to u the error before. I tried to use MET3.0 for that
> which is
> > installed in my HPC.
> > I have 5.0 on my personal system. Will try that exercise in this
> system.
> > Thanks again for your help.
> > Geeta
> >
> >
> > > Subject: Re: [rt.rap.ucar.edu #70453] combining nc files
together
> > > From: met_help at ucar.edu
> > > To: geeta124 at hotmail.com
> > > Date: Wed, 4 Feb 2015 11:21:19 -0700
> > >
> > > Geeta,
> > >
> > > The trmmbin2nc.R script is set up to only handle the TRMM binary
> data
> > > exactly from that website.  The timing information for that
binary
> data
> > is
> > > only contained in the file name, and you've renamed those files.
> So the
> > > script doesn't know how to parse them.
> > >
> > > Here's 2 options:
> > > (1) Rename that file using the "daily" file naming conventions:
> > >    cp Obs22apr2011.bin 3B42_daily.2011.04.22.7.bin
> > >    Rscript 3B42_daily.2011.04.22.7.bin
3B42_daily.2011.04.22.7.nc
> > >
> > > That will produce output but it'll assume the precipitation is
> > accumulated
> > > for 24-hours from 20110422 00Z to 20110423 00Z.  If the times
> should be
> > > something different you could... edit the Rscript to use the
times
> you
> > > want... or use the "ncatted" tool to modify the timing
information
> listed
> > > in the output NetCDF file.
> > >
> > > (2) Or, as we've discussed in the past, you could run each of
the
> 3-hour
> > > files through the trmmbin2nc.R script and write out NetCDF
files.
> Then
> > run
> > > those 3-hourly NetCDF files through pcp_combine to add them up.
> > >
> > > Thanks,
> > > John
> > >
> > >
> > > On Sun, Feb 1, 2015 at 11:27 PM, Geeta Geeta via RT
> <met_help at ucar.edu>
> > > wrote:
> > >
> > > >
> > > > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453
>
> > > >
> > > > Hi John.
> > > > This is an old Ticket. Kindly sort this issue too.
> > > > I was able to sum up all the 3 hourly TRMM files and then
> convert the
> > > > final file into One called Obs22apr2011.bin.
> > > > I had used Grads for summing up all the 8 files. and now I am
> using
> > the R
> > > > script for
> > > > converting into NC.
> > > > But I got the error.
> > > > aditya at agniilap:~/geeta/installs/met/RUN_MET-22apr2011$
Rscript
> > > > ../trmm_to_nc/trmmbin2nc_mod.R Obs22apr2011.bin
Obs22apr2011.nc
> > > >
> > > >
> > > > ERROR: Can't figure out the accumulation interval!I am sending
> you the
> > > > data that I converted using Grads.
> > > > Geeta
> > > >
> > > > > Subject: Re: [rt.rap.ucar.edu #70453] combining nc files
> together
> > > > > From: met_help at ucar.edu
> > > > > To: geeta124 at hotmail.com
> > > > > Date: Fri, 30 Jan 2015 11:04:18 -0700
> > > > >
> > > > > Geeta,
> > > > >
> > > > > I don't have time to adapt that Rscript for your use with
> Grid-Stat.
> > > > > However, we did do something very similar for a previous
> project.  I
> > have
> > > > > attached an Rscript named "fss_quilt_plot.R" you could
easily
> adapt
> > to
> > > > > create a quilt plot for your data.  I've also attached a
copy
> of the
> > > > paper
> > > > > for which this script was used.  Please look at figure 7.
> > > > >
> > > > > Thanks,
> > > > > John
> > > > >
> > > > > On Fri, Jan 30, 2015 at 1:03 AM, Geeta Geeta via RT <
> > met_help at ucar.edu>
> > > > > wrote:
> > > > >
> > > > > >
> > > > > > <URL:
> https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453 >
> > > > > >
> > > > > > Hi John.
> > > > > > I changed different widths in the configuration file.
> > (Width=1,3,5,,7
> > > > etc).
> > > > > >
> > > > > > // Neighborhood methods
> > > > > > //
> > > > > > nbrhd = {
> > > > > >    vld_thresh = 1.0;
> > > > > >    width      = [ 7 ];
> > > > > >    cov_thresh = [ >=0.5 ];
> > > > > > }
> > > > > > and got various outputs (for different widths) which are
in
> > different
> > > > > > directories.
> > > > > > Now I saw the R script on the website which is probably
> > exclusively for
> > > > > > the MODE TOOL only.
> > > > > > Now my question is how to make the quilt plot for the GRid
> stat
> > > > tool???.
> > > > > > Sorry I m not familiar with R  now.
> > > > > > Pls help.
> > > > > > Geeta.
> > > > > >
> > > > > >
> > > > > >
> > > > > > From: geeta124 at hotmail.com
> > > > > > To: met_help at ucar.edu
> > > > > > Subject: RE: [rt.rap.ucar.edu #70453] combining nc files
> together
> > > > > > Date: Thu, 29 Jan 2015 17:05:25 +0530
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > > Hi John.
> > > > > > So I was able to sum up all the 3 hourly TRMM files and
then
> > convert
> > > > the
> > > > > > final file into One called Obs22apr2011.bin.
> > > > > > I have done that using Grads and now I am using the R
script
> for
> > > > > > converting into NC.
> > > > > > But I got the error.
> > > > > > aditya at agniilap:~/geeta/installs/met/RUN_MET-22apr2011$
> Rscript
> > > > > > ../trmm_to_nc/trmmbin2nc_mod.R Obs22apr2011.bin
> Obs22apr2011.nc
> > > > > >
> > > > > >
> > > > > > ERROR: Can't figure out the accumulation interval!
> > > > > >
> > > > > > I am sending you the data files and the R script (I
changed
> the
> > > > domain).
> > > > > > The data is plotted fine. Also pls tell me about the
ncview
> > questions
> > > > that
> > > > > > I was asking. reg the plotting of MPR's
> > > > > > Kindly suggest.
> > > > > > Geeta
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > > > Subject: Re: [rt.rap.ucar.edu #70453] combining nc files
> > together
> > > > > > > From: met_help at ucar.edu
> > > > > > > To: geeta124 at hotmail.com
> > > > > > > Date: Mon, 26 Jan 2015 09:58:32 -0700
> > > > > > >
> > > > > > > Geeta,
> > > > > > >
> > > > > > > On that webpage (
> > > > > > >
> http://www.dtcenter.org/met/users/downloads/analysis_scripts.php
> > ),
> > > > > > please
> > > > > > > look specifically at the script named
"mode_quilt_plot.R".
> > Here's
> > > > the
> > > > > > > direct link to that script:
> > > > > > >
> > > > > >
> >
>
http://www.dtcenter.org/met/users/downloads/Rscripts/mode_quilt_plot.R
> > > > > > >
> > > > > > > And here's a direct link to the sample output that
script
> > creates:
> > > > > > >
> > > > > > >
> > > > > >
> > > >
> >
>
http://www.dtcenter.org/met/users/downloads/Rscripts/SAMPLE_mode_quilts.pdf
> > > > > > >
> > > > > > > This is an example of using R to make a quilt plot for
the
> > output of
> > > > the
> > > > > > > MODE tool.  You might also use a quilt plot to display
> fractions
> > > > skill
> > > > > > > score from the Grid-Stat tool, if you've run FSS for
> multiple
> > > > thresholds
> > > > > > > and neighborhood sizes.
> > > > > > >
> > > > > > > John
> > > > > > >
> > > > > > > On Mon, Jan 26, 2015 at 7:28 AM, Geeta Geeta via RT <
> > > > met_help at ucar.edu>
> > > > > > > wrote:
> > > > > > >
> > > > > > > >
> > > > > > > > <URL:
> https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453
> > >
> > > > > > > >
> > > > > > > > Hi John.
> > > > > > > > the link
> > > > > >
> http://www.dtcenter.org/met/users/downloads/analysis_scripts.php
> > > > > > > > has the plots for the cnt statistics.
> > > > > > > > I am not familiar with R. I am going thru the
plot_cnt.R
> > script.
> > > > > > > > but I want to know what will be the data format for
the
> Quilt
> > plot.
> > > > > > > > Do I have to write my own script???.
> > > > > > > > Kindly let me know about the data format and how I
have
> to
> > modify
> > > > the
> > > > > > > > above script in order to make the quilt plot.
> > > > > > > > Regards
> > > > > > > > Geeta
> > > > > > > >
> > > > > > > > > Subject: Re: [rt.rap.ucar.edu #70453] combining nc
> files
> > > > together
> > > > > > > > > From: met_help at ucar.edu
> > > > > > > > > To: geeta124 at hotmail.com
> > > > > > > > > Date: Fri, 23 Jan 2015 11:09:23 -0700
> > > > > > > > >
> > > > > > > > > Geeta,
> > > > > > > > >
> > > > > > > > > Regarding 3-hourly RF accumulations, if MET is able
to
> read
> > those
> > > > > > NetCDF
> > > > > > > > > files, you can run them through PCP-Combine to "add"
> them all
> > > > > > together.
> > > > > > > > > Just use the example PCP_Combine command I already
> sent you
> > but
> > > > > > modify
> > > > > > > > the
> > > > > > > > > "name" entry to list the name of the NetCDF variable
> you
> > want to
> > > > > > use.  If
> > > > > > > > > MET is not able to read them, then it's up to you to
> figure
> > out
> > > > how
> > > > > > to
> > > > > > > > > accumulate them.
> > > > > > > > >
> > > > > > > > > If you're familiar with R, you could use the "ncdf"
> library
> > in R
> > > > to
> > > > > > read
> > > > > > > > > data from one or more NetCDF files, add them up, and
> write it
> > > > out to
> > > > > > a
> > > > > > > > new
> > > > > > > > > file.  Alternatively, "nco" (NetCDF Operators)
provide
> some
> > > > > > capability of
> > > > > > > > > doing simple operations on NetCDF files.  You might
be
> able
> > to
> > > > use
> > > > > > them.
> > > > > > > > >
> > > > > > > > > Regarding quilt plots, I've only used R to make them
> in the
> > past.
> > > > > > > > > Specifically, the "quilt.plot" function in the R
> package
> > named
> > > > > > "fields".
> > > > > > > > > Please take a look at this website:
> > > > > > > > >
> > > >
http://www.dtcenter.org/met/users/downloads/analysis_scripts.php
> > > > > > > > >
> > > > > > > > > The Rscript named "mode_quilt_plot.R" provides an
> example of
> > > > using R
> > > > > > to
> > > > > > > > > make quilt plots.  Example output from that script
is
> also
> > > > included
> > > > > > on
> > > > > > > > that
> > > > > > > > > page.
> > > > > > > > >
> > > > > > > > > Thanks,
> > > > > > > > > John
> > > > > > > > >
> > > > > > > > > On Fri, Jan 23, 2015 at 4:06 AM, Geeta Geeta via RT
<
> > > > > > met_help at ucar.edu>
> > > > > > > > > wrote:
> > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > <URL:
> > https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453
> > > > >
> > > > > > > > > >
> > > > > > > > > > Hi John. Your help is needed at every step. Now I
> want to
> > know
> > > > > > which
> > > > > > > > > > software can be used for making the QUILT plot
> (intensity
> > and
> > > > > > spatial
> > > > > > > > > > distribution) plot. Can It be done in using
MET5.0.
> How
> > Can I
> > > > plot
> > > > > > the
> > > > > > > > > > point data that I used in MET5.0???KIndly guide
me.
> Also
> > pls
> > > > tell
> > > > > > me
> > > > > > > > if u
> > > > > > > > > > can figure out the issue of 3hrly RF accumulations
> if the
> > files
> > > > > > are in
> > > > > > > > the
> > > > > > > > > > NETCDF format. Geeta
> > > > > > > > > >
> > > > > > > > > > From: geeta124 at hotmail.com
> > > > > > > > > > To: met_help at ucar.edu
> > > > > > > > > > Subject: RE: [rt.rap.ucar.edu #70453] combining nc
> files
> > > > together
> > > > > > > > > > Date: Thu, 22 Jan 2015 16:30:34 +0530
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > thanks John.  the pcp combine tool uses only GRIB1
> files.
> > these
> > > > > > were
> > > > > > > > > > netcdf files (attaching one).I had downloaded the
NC
> files
> > from
> > > > > > > > > >
> > > > > > > >
> > > > > >
> > > >
> > http://mirador.gsfc.nasa.gov/cgi-
> bin/mirador/granlist.pl?page=1&location=(-90,-
>
180),(90,180)&dataSet=TRMM_3B42&version=007&allversion=007&startTime=2011-
> 04-22T00:00:01Z&endTime=2011-04-
> 22T23:59:59Z&keyword=TRMM_3B42&longname=TRMM%203-
>
Hourly%200.25%20deg.%20TRMM%20and%20Others%20Rainfall%20Estimate%20Data&CGISESSID=02499c2107ddfb60a3e46d6b99df3d79&prodpg=http://mirador.gsfc.nasa.gov/collections/TRMM_3B42__007.shtmlI
> > > > > > > > > > got following error. bash-3.2$ ./run_pcptool.sh
> Running PCP
> > > > > > > > toolPerforming
> > > > > > > > > > addition command for 2 files.Reading input file:
> > > > > > 3B42.20110422.12.7.nc
> > > > > > > > > > GribFile::skip_header() -> can't find "GRIB" magic
> cookie
> > > >  ERROR:
> > > > > > > > > > get_field() -> can't open grib file:
> 3B42.20110422.12.7.nc
> > > > > > > > > > Following is my script--------!/bin/sh
> > > > > > > > > >
> > > > > > > > > >              echo " Running PCP
> > > > > > > > > > tool"~/wrf3/utils/met/METv3.0/bin/pcp_combine -add
> > > > > > > > 3B42.20110422.12.7.nc
> > > > > > > > > > 03 3B42.20110422.15.7.nc 03 myoutput.nc
> > > > > > > > > > Kindly suggest.
> > > > > > > > > >
> > > > > > > > > > the second thing I was thinking to download the
TRMM
> data
> > from
> > > > > > thelink
> > > > > > > > at
> > > > > > > > > > DTC website and then converying the 3 hourly bins
to
> NC.
> > > > > > > > > > 2.2 MBftp://
> > > > > > > > > >
> > > > > > > >
> > > > > >
> > > >
> >
>
disc2.nascom.nasa.gov/data/TRMM/Gridded/3B42_V7/201104/3B42.110422.15z.7.precipitation.bin
> > > > > > > > > > But my problem will be to ACCUMULATE them. I need
to
> > verify the
> > > > > > model
> > > > > > > > data
> > > > > > > > > > starting 06 UTC of day1 to 03UTC of DAY2. I mean
how
> do I
> > > > combine
> > > > > > all
> > > > > > > > the
> > > > > > > > > > NC  files together. Kindly suggest
> > > > > > > > > > > Subject: Re: [rt.rap.ucar.edu #70453] combining
nc
> files
> > > > > > together
> > > > > > > > > > > From: met_help at ucar.edu
> > > > > > > > > > > To: geeta124 at hotmail.com
> > > > > > > > > > > Date: Wed, 21 Jan 2015 10:45:12 -0700
> > > > > > > > > > >
> > > > > > > > > > > Geeta,
> > > > > > > > > > >
> > > > > > > > > > > I'm assuming the variable in the NetCDF files is
> named
> > > > > > "APCP_03".  If
> > > > > > > > > > not,
> > > > > > > > > > > just switch in the actual name.  You can run the
> > following
> > > > > > > > pcp_combine
> > > > > > > > > > -add
> > > > > > > > > > > command:
> > > > > > > > > > >
> > > > > > > > > > > pcp_combine -add \
> > > > > > > > > > >    3B42.20110422.09.7.nc 'name="APCP_03";
> > level="(*,*)";' \
> > > > > > > > > > >    3B42.20110422.12.7.nc 'name="APCP_03";
> > level="(*,*)";' \
> > > > > > > > > > >    3B42.20110422.15.7.nc 'name="APCP_03";
> > level="(*,*)";' \
> > > > > > > > > > >    3B42.20110422.18.7.nc 'name="APCP_03";
> > level="(*,*)";' \
> > > > > > > > > > >    3B42.20110422.21.7.nc 'name="APCP_03";
> > level="(*,*)";' \
> > > > > > > > > > >    3B42.20110423.00.7.nc 'name="APCP_03";
> > level="(*,*)";' \
> > > > > > > > > > >    3B42.20110423.03.7.nc 'name="APCP_03";
> > level="(*,*)";' \
> > > > > > > > > > >    3B42.20110423.06.7.nc 'name="APCP_03";
> > level="(*,*)";' \
> > > > > > > > > > >    3B42.20110423.06.7_APCP_24.nc
> > > > > > > > > > >
> > > > > > > > > > > The last file listed is just the output file
name
> I
> > chose.
> > > > But
> > > > > > you
> > > > > > > > can
> > > > > > > > > > > name it whatever you'd like.
> > > > > > > > > > >
> > > > > > > > > > > John
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > On Wed, Jan 21, 2015 at 4:02 AM, Geeta Geeta via
> RT <
> > > > > > > > met_help at ucar.edu>
> > > > > > > > > > > wrote:
> > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > Wed Jan 21 04:02:41 2015: Request 70453 was
> acted upon.
> > > > > > > > > > > > Transaction: Ticket created by
> geeta124 at hotmail.com
> > > > > > > > > > > >        Queue: met_help
> > > > > > > > > > > >      Subject: combining nc files together
> > > > > > > > > > > >        Owner: Nobody
> > > > > > > > > > > >   Requestors: geeta124 at hotmail.com
> > > > > > > > > > > >       Status: new
> > > > > > > > > > > >  Ticket <URL:
> > > > > > > >
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453
> > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > Hi John.
> > > > > > > > > > > > Sorry to bother you again n again. But I have
no
> > choice. I
> > > > > > want to
> > > > > > > > know
> > > > > > > > > > > > the followingI have 8 nc files. bash-3.2$ ls
> -ltotal
> > > > > > > > 216336-rw-r--r--
> > > > > > > > > >   1
> > > > > > > > > > > > model    staff      13841488 Jan 21 11:24
> > > > > > > > > > 3B42.20110422.06.7.nc-rw-r--r--
> > > > > > > > > > > >   1 model    staff      13841488 Jan 21 11:27
> > > > > > > > > > > > 3B42.20110422.09.7.nc-rw-r--r--    1 model
> staff
> > > > > > 13841492
> > > > > > > > Jan
> > > > > > > > > > 21
> > > > > > > > > > > > 14:01 3B42.20110422.12.7.nc-rw-r--r--    1
model
> > staff
> > > > > > > > > > 13841492 Jan
> > > > > > > > > > > > 21 13:16 3B42.20110422.15.7.nc-rw-r--r--    1
> model
> > > > staff
> > > > > > > > > > 13841492
> > > > > > > > > > > > Jan 21 14:51 3B42.20110422.18.7.nc-rw-r--r--
> 1 model
> > > > > > staff
> > > > > > > > > > > > 13841492 Jan 21 13:21 3B42.20110422.21.7.nc-
rw-
> r--r--
> >   1
> > > > > > model
> > > > > > > > > > staff
> > > > > > > > > > > >     13841488 Jan 21 13:22
> > 3B42.20110423.00.7.nc-rw-r--r--
> > > >   1
> > > > > > > > model
> > > > > > > > > > > > staff      13841488 Jan 21 13:50
> > > > > > 3B42.20110423.03.7.ncbash-3.2$ pwd
> > > > > > > > > > > > I need to make ONE 24 hour RF accumulated file
> starting
> > > > 06UTC
> > > > > > of
> > > > > > > > > > > > 22.04.2011 - 03UTC of 23.04.2011. How do I do
> that???
> > > > > > > > > > > > Geeta
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > >
> > > >
> > > >
> > >
> >
> >
>
> ------------------------------------------------
> Subject: combining nc files together
> From: Geeta Geeta
> Time: Mon Feb 09 01:53:04 2015
>
> Hi John.
> Thanks for the article. It is very informative.
> I dont know if i should be asking at this forum, the meaning of the
> "FORECAST skill associated with the Uniform forecast" as you have
> mentioned in your paper.
> If U give me some references, it would be great.
> Geeta
>
> > Subject: Re: [rt.rap.ucar.edu #70453] combining nc files together
> > From: met_help at ucar.edu
> > To: geeta124 at hotmail.com
> > Date: Thu, 5 Feb 2015 10:33:59 -0700
> >
> > Geeta,
> >
> > You're correct, you can only use the "sum" command of pcp_combine
> for GRIB1
> > or GRIB2 files...
> >
> > But, you can use the "add" command on any gridded data file format
> that MET
> > supports.  Adding together 8 NetCDF files with pcp_combine would
> look
> > something like this:
> >
> > pcp_combine -add \
> > file1.nc 'name="APCP_03"; level="(*,*)";' \
> > file2.nc 'name="APCP_03"; level="(*,*)";' \
> > ...
> > file8.nc 'name="APCP_03"; level="(*,*)";' \
> > APCP_24.nc
> >
> > It makes for a longer command line, but it is possible to do with
> > pcp_combine.
> >
> > John
> >
> >
> >
> > On Thu, Feb 5, 2015 at 2:02 AM, Geeta Geeta via RT
> <met_help at ucar.edu>
> > wrote:
> >
> > >
> > > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453 >
> > >
> > > Hi John.
> > > Thanks for wonderful ideas.
> > > The first one is working. but I have yet to run grid_stat to see
> if
> > > everything is working finally. I ll try the ncatted.
> > >
> > > To sum up all the nc files (for the times that I want), I did
try
> the
> > > pcp_combine. But I guess It only works for the GRIB files.
> > > I have sent to u the error before. I tried to use MET3.0 for
that
> which is
> > > installed in my HPC.
> > > I have 5.0 on my personal system. Will try that exercise in this
> system.
> > > Thanks again for your help.
> > > Geeta
> > >
> > >
> > > > Subject: Re: [rt.rap.ucar.edu #70453] combining nc files
> together
> > > > From: met_help at ucar.edu
> > > > To: geeta124 at hotmail.com
> > > > Date: Wed, 4 Feb 2015 11:21:19 -0700
> > > >
> > > > Geeta,
> > > >
> > > > The trmmbin2nc.R script is set up to only handle the TRMM
binary
> data
> > > > exactly from that website.  The timing information for that
> binary data
> > > is
> > > > only contained in the file name, and you've renamed those
files.
> So the
> > > > script doesn't know how to parse them.
> > > >
> > > > Here's 2 options:
> > > > (1) Rename that file using the "daily" file naming
conventions:
> > > >    cp Obs22apr2011.bin 3B42_daily.2011.04.22.7.bin
> > > >    Rscript 3B42_daily.2011.04.22.7.bin
> 3B42_daily.2011.04.22.7.nc
> > > >
> > > > That will produce output but it'll assume the precipitation is
> > > accumulated
> > > > for 24-hours from 20110422 00Z to 20110423 00Z.  If the times
> should be
> > > > something different you could... edit the Rscript to use the
> times you
> > > > want... or use the "ncatted" tool to modify the timing
> information listed
> > > > in the output NetCDF file.
> > > >
> > > > (2) Or, as we've discussed in the past, you could run each of
> the 3-hour
> > > > files through the trmmbin2nc.R script and write out NetCDF
> files.  Then
> > > run
> > > > those 3-hourly NetCDF files through pcp_combine to add them
up.
> > > >
> > > > Thanks,
> > > > John
> > > >
> > > >
> > > > On Sun, Feb 1, 2015 at 11:27 PM, Geeta Geeta via RT
> <met_help at ucar.edu>
> > > > wrote:
> > > >
> > > > >
> > > > > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453
> >
> > > > >
> > > > > Hi John.
> > > > > This is an old Ticket. Kindly sort this issue too.
> > > > > I was able to sum up all the 3 hourly TRMM files and then
> convert the
> > > > > final file into One called Obs22apr2011.bin.
> > > > > I had used Grads for summing up all the 8 files. and now I
am
> using
> > > the R
> > > > > script for
> > > > > converting into NC.
> > > > > But I got the error.
> > > > > aditya at agniilap:~/geeta/installs/met/RUN_MET-22apr2011$
> Rscript
> > > > > ../trmm_to_nc/trmmbin2nc_mod.R Obs22apr2011.bin
> Obs22apr2011.nc
> > > > >
> > > > >
> > > > > ERROR: Can't figure out the accumulation interval!I am
sending
> you the
> > > > > data that I converted using Grads.
> > > > > Geeta
> > > > >
> > > > > > Subject: Re: [rt.rap.ucar.edu #70453] combining nc files
> together
> > > > > > From: met_help at ucar.edu
> > > > > > To: geeta124 at hotmail.com
> > > > > > Date: Fri, 30 Jan 2015 11:04:18 -0700
> > > > > >
> > > > > > Geeta,
> > > > > >
> > > > > > I don't have time to adapt that Rscript for your use with
> Grid-Stat.
> > > > > > However, we did do something very similar for a previous
> project.  I
> > > have
> > > > > > attached an Rscript named "fss_quilt_plot.R" you could
> easily adapt
> > > to
> > > > > > create a quilt plot for your data.  I've also attached a
> copy of the
> > > > > paper
> > > > > > for which this script was used.  Please look at figure 7.
> > > > > >
> > > > > > Thanks,
> > > > > > John
> > > > > >
> > > > > > On Fri, Jan 30, 2015 at 1:03 AM, Geeta Geeta via RT <
> > > met_help at ucar.edu>
> > > > > > wrote:
> > > > > >
> > > > > > >
> > > > > > > <URL:
> https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453 >
> > > > > > >
> > > > > > > Hi John.
> > > > > > > I changed different widths in the configuration file.
> > > (Width=1,3,5,,7
> > > > > etc).
> > > > > > >
> > > > > > > // Neighborhood methods
> > > > > > > //
> > > > > > > nbrhd = {
> > > > > > >    vld_thresh = 1.0;
> > > > > > >    width      = [ 7 ];
> > > > > > >    cov_thresh = [ >=0.5 ];
> > > > > > > }
> > > > > > > and got various outputs (for different widths) which are
> in
> > > different
> > > > > > > directories.
> > > > > > > Now I saw the R script on the website which is probably
> > > exclusively for
> > > > > > > the MODE TOOL only.
> > > > > > > Now my question is how to make the quilt plot for the
GRid
> stat
> > > > > tool???.
> > > > > > > Sorry I m not familiar with R  now.
> > > > > > > Pls help.
> > > > > > > Geeta.
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > From: geeta124 at hotmail.com
> > > > > > > To: met_help at ucar.edu
> > > > > > > Subject: RE: [rt.rap.ucar.edu #70453] combining nc files
> together
> > > > > > > Date: Thu, 29 Jan 2015 17:05:25 +0530
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > Hi John.
> > > > > > > So I was able to sum up all the 3 hourly TRMM files and
> then
> > > convert
> > > > > the
> > > > > > > final file into One called Obs22apr2011.bin.
> > > > > > > I have done that using Grads and now I am using the R
> script for
> > > > > > > converting into NC.
> > > > > > > But I got the error.
> > > > > > > aditya at agniilap:~/geeta/installs/met/RUN_MET-22apr2011$
> Rscript
> > > > > > > ../trmm_to_nc/trmmbin2nc_mod.R Obs22apr2011.bin
> Obs22apr2011.nc
> > > > > > >
> > > > > > >
> > > > > > > ERROR: Can't figure out the accumulation interval!
> > > > > > >
> > > > > > > I am sending you the data files and the R script (I
> changed the
> > > > > domain).
> > > > > > > The data is plotted fine. Also pls tell me about the
> ncview
> > > questions
> > > > > that
> > > > > > > I was asking. reg the plotting of MPR's
> > > > > > > Kindly suggest.
> > > > > > > Geeta
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > > Subject: Re: [rt.rap.ucar.edu #70453] combining nc
files
> > > together
> > > > > > > > From: met_help at ucar.edu
> > > > > > > > To: geeta124 at hotmail.com
> > > > > > > > Date: Mon, 26 Jan 2015 09:58:32 -0700
> > > > > > > >
> > > > > > > > Geeta,
> > > > > > > >
> > > > > > > > On that webpage (
> > > > > > > >
> http://www.dtcenter.org/met/users/downloads/analysis_scripts.php
> > > ),
> > > > > > > please
> > > > > > > > look specifically at the script named
> "mode_quilt_plot.R".
> > > Here's
> > > > > the
> > > > > > > > direct link to that script:
> > > > > > > >
> > > > > > >
> > >
>
http://www.dtcenter.org/met/users/downloads/Rscripts/mode_quilt_plot.R
> > > > > > > >
> > > > > > > > And here's a direct link to the sample output that
> script
> > > creates:
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > >
> > >
>
http://www.dtcenter.org/met/users/downloads/Rscripts/SAMPLE_mode_quilts.pdf
> > > > > > > >
> > > > > > > > This is an example of using R to make a quilt plot for
> the
> > > output of
> > > > > the
> > > > > > > > MODE tool.  You might also use a quilt plot to display
> fractions
> > > > > skill
> > > > > > > > score from the Grid-Stat tool, if you've run FSS for
> multiple
> > > > > thresholds
> > > > > > > > and neighborhood sizes.
> > > > > > > >
> > > > > > > > John
> > > > > > > >
> > > > > > > > On Mon, Jan 26, 2015 at 7:28 AM, Geeta Geeta via RT <
> > > > > met_help at ucar.edu>
> > > > > > > > wrote:
> > > > > > > >
> > > > > > > > >
> > > > > > > > > <URL:
> https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453
> > > >
> > > > > > > > >
> > > > > > > > > Hi John.
> > > > > > > > > the link
> > > > > > >
> http://www.dtcenter.org/met/users/downloads/analysis_scripts.php
> > > > > > > > > has the plots for the cnt statistics.
> > > > > > > > > I am not familiar with R. I am going thru the
> plot_cnt.R
> > > script.
> > > > > > > > > but I want to know what will be the data format for
> the Quilt
> > > plot.
> > > > > > > > > Do I have to write my own script???.
> > > > > > > > > Kindly let me know about the data format and how I
> have to
> > > modify
> > > > > the
> > > > > > > > > above script in order to make the quilt plot.
> > > > > > > > > Regards
> > > > > > > > > Geeta
> > > > > > > > >
> > > > > > > > > > Subject: Re: [rt.rap.ucar.edu #70453] combining nc
> files
> > > > > together
> > > > > > > > > > From: met_help at ucar.edu
> > > > > > > > > > To: geeta124 at hotmail.com
> > > > > > > > > > Date: Fri, 23 Jan 2015 11:09:23 -0700
> > > > > > > > > >
> > > > > > > > > > Geeta,
> > > > > > > > > >
> > > > > > > > > > Regarding 3-hourly RF accumulations, if MET is
able
> to read
> > > those
> > > > > > > NetCDF
> > > > > > > > > > files, you can run them through PCP-Combine to
"add"
> them all
> > > > > > > together.
> > > > > > > > > > Just use the example PCP_Combine command I already
> sent you
> > > but
> > > > > > > modify
> > > > > > > > > the
> > > > > > > > > > "name" entry to list the name of the NetCDF
variable
> you
> > > want to
> > > > > > > use.  If
> > > > > > > > > > MET is not able to read them, then it's up to you
to
> figure
> > > out
> > > > > how
> > > > > > > to
> > > > > > > > > > accumulate them.
> > > > > > > > > >
> > > > > > > > > > If you're familiar with R, you could use the
"ncdf"
> library
> > > in R
> > > > > to
> > > > > > > read
> > > > > > > > > > data from one or more NetCDF files, add them up,
and
> write it
> > > > > out to
> > > > > > > a
> > > > > > > > > new
> > > > > > > > > > file.  Alternatively, "nco" (NetCDF Operators)
> provide some
> > > > > > > capability of
> > > > > > > > > > doing simple operations on NetCDF files.  You
might
> be able
> > > to
> > > > > use
> > > > > > > them.
> > > > > > > > > >
> > > > > > > > > > Regarding quilt plots, I've only used R to make
them
> in the
> > > past.
> > > > > > > > > > Specifically, the "quilt.plot" function in the R
> package
> > > named
> > > > > > > "fields".
> > > > > > > > > > Please take a look at this website:
> > > > > > > > > >
> > > > >
> http://www.dtcenter.org/met/users/downloads/analysis_scripts.php
> > > > > > > > > >
> > > > > > > > > > The Rscript named "mode_quilt_plot.R" provides an
> example of
> > > > > using R
> > > > > > > to
> > > > > > > > > > make quilt plots.  Example output from that script
> is also
> > > > > included
> > > > > > > on
> > > > > > > > > that
> > > > > > > > > > page.
> > > > > > > > > >
> > > > > > > > > > Thanks,
> > > > > > > > > > John
> > > > > > > > > >
> > > > > > > > > > On Fri, Jan 23, 2015 at 4:06 AM, Geeta Geeta via
RT
> <
> > > > > > > met_help at ucar.edu>
> > > > > > > > > > wrote:
> > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > <URL:
> > > https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453
> > > > > >
> > > > > > > > > > >
> > > > > > > > > > > Hi John. Your help is needed at every step. Now
I
> want to
> > > know
> > > > > > > which
> > > > > > > > > > > software can be used for making the QUILT plot
> (intensity
> > > and
> > > > > > > spatial
> > > > > > > > > > > distribution) plot. Can It be done in using
> MET5.0. How
> > > Can I
> > > > > plot
> > > > > > > the
> > > > > > > > > > > point data that I used in MET5.0???KIndly guide
> me. Also
> > > pls
> > > > > tell
> > > > > > > me
> > > > > > > > > if u
> > > > > > > > > > > can figure out the issue of 3hrly RF
accumulations
> if the
> > > files
> > > > > > > are in
> > > > > > > > > the
> > > > > > > > > > > NETCDF format. Geeta
> > > > > > > > > > >
> > > > > > > > > > > From: geeta124 at hotmail.com
> > > > > > > > > > > To: met_help at ucar.edu
> > > > > > > > > > > Subject: RE: [rt.rap.ucar.edu #70453] combining
nc
> files
> > > > > together
> > > > > > > > > > > Date: Thu, 22 Jan 2015 16:30:34 +0530
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > thanks John.  the pcp combine tool uses only
GRIB1
> files.
> > > these
> > > > > > > were
> > > > > > > > > > > netcdf files (attaching one).I had downloaded
the
> NC files
> > > from
> > > > > > > > > > >
> > > > > > > > >
> > > > > > >
> > > > >
> > > http://mirador.gsfc.nasa.gov/cgi-
> bin/mirador/granlist.pl?page=1&location=(-90,-
>
180),(90,180)&dataSet=TRMM_3B42&version=007&allversion=007&startTime=2011-
> 04-22T00:00:01Z&endTime=2011-04-
> 22T23:59:59Z&keyword=TRMM_3B42&longname=TRMM%203-
>
Hourly%200.25%20deg.%20TRMM%20and%20Others%20Rainfall%20Estimate%20Data&CGISESSID=02499c2107ddfb60a3e46d6b99df3d79&prodpg=http://mirador.gsfc.nasa.gov/collections/TRMM_3B42__007.shtmlI
> > > > > > > > > > > got following error. bash-3.2$ ./run_pcptool.sh
> Running PCP
> > > > > > > > > toolPerforming
> > > > > > > > > > > addition command for 2 files.Reading input file:
> > > > > > > 3B42.20110422.12.7.nc
> > > > > > > > > > > GribFile::skip_header() -> can't find "GRIB"
magic
> cookie
> > > > >  ERROR:
> > > > > > > > > > > get_field() -> can't open grib file:
> 3B42.20110422.12.7.nc
> > > > > > > > > > > Following is my script--------!/bin/sh
> > > > > > > > > > >
> > > > > > > > > > >              echo " Running PCP
> > > > > > > > > > > tool"~/wrf3/utils/met/METv3.0/bin/pcp_combine
-add
> > > > > > > > > 3B42.20110422.12.7.nc
> > > > > > > > > > > 03 3B42.20110422.15.7.nc 03 myoutput.nc
> > > > > > > > > > > Kindly suggest.
> > > > > > > > > > >
> > > > > > > > > > > the second thing I was thinking to download the
> TRMM data
> > > from
> > > > > > > thelink
> > > > > > > > > at
> > > > > > > > > > > DTC website and then converying the 3 hourly
bins
> to NC.
> > > > > > > > > > > 2.2 MBftp://
> > > > > > > > > > >
> > > > > > > > >
> > > > > > >
> > > > >
> > >
>
disc2.nascom.nasa.gov/data/TRMM/Gridded/3B42_V7/201104/3B42.110422.15z.7.precipitation.bin
> > > > > > > > > > > But my problem will be to ACCUMULATE them. I
need
> to
> > > verify the
> > > > > > > model
> > > > > > > > > data
> > > > > > > > > > > starting 06 UTC of day1 to 03UTC of DAY2. I mean
> how do I
> > > > > combine
> > > > > > > all
> > > > > > > > > the
> > > > > > > > > > > NC  files together. Kindly suggest
> > > > > > > > > > > > Subject: Re: [rt.rap.ucar.edu #70453]
combining
> nc files
> > > > > > > together
> > > > > > > > > > > > From: met_help at ucar.edu
> > > > > > > > > > > > To: geeta124 at hotmail.com
> > > > > > > > > > > > Date: Wed, 21 Jan 2015 10:45:12 -0700
> > > > > > > > > > > >
> > > > > > > > > > > > Geeta,
> > > > > > > > > > > >
> > > > > > > > > > > > I'm assuming the variable in the NetCDF files
is
> named
> > > > > > > "APCP_03".  If
> > > > > > > > > > > not,
> > > > > > > > > > > > just switch in the actual name.  You can run
the
> > > following
> > > > > > > > > pcp_combine
> > > > > > > > > > > -add
> > > > > > > > > > > > command:
> > > > > > > > > > > >
> > > > > > > > > > > > pcp_combine -add \
> > > > > > > > > > > >    3B42.20110422.09.7.nc 'name="APCP_03";
> > > level="(*,*)";' \
> > > > > > > > > > > >    3B42.20110422.12.7.nc 'name="APCP_03";
> > > level="(*,*)";' \
> > > > > > > > > > > >    3B42.20110422.15.7.nc 'name="APCP_03";
> > > level="(*,*)";' \
> > > > > > > > > > > >    3B42.20110422.18.7.nc 'name="APCP_03";
> > > level="(*,*)";' \
> > > > > > > > > > > >    3B42.20110422.21.7.nc 'name="APCP_03";
> > > level="(*,*)";' \
> > > > > > > > > > > >    3B42.20110423.00.7.nc 'name="APCP_03";
> > > level="(*,*)";' \
> > > > > > > > > > > >    3B42.20110423.03.7.nc 'name="APCP_03";
> > > level="(*,*)";' \
> > > > > > > > > > > >    3B42.20110423.06.7.nc 'name="APCP_03";
> > > level="(*,*)";' \
> > > > > > > > > > > >    3B42.20110423.06.7_APCP_24.nc
> > > > > > > > > > > >
> > > > > > > > > > > > The last file listed is just the output file
> name I
> > > chose.
> > > > > But
> > > > > > > you
> > > > > > > > > can
> > > > > > > > > > > > name it whatever you'd like.
> > > > > > > > > > > >
> > > > > > > > > > > > John
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > On Wed, Jan 21, 2015 at 4:02 AM, Geeta Geeta
via
> RT <
> > > > > > > > > met_help at ucar.edu>
> > > > > > > > > > > > wrote:
> > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > Wed Jan 21 04:02:41 2015: Request 70453 was
> acted upon.
> > > > > > > > > > > > > Transaction: Ticket created by
> geeta124 at hotmail.com
> > > > > > > > > > > > >        Queue: met_help
> > > > > > > > > > > > >      Subject: combining nc files together
> > > > > > > > > > > > >        Owner: Nobody
> > > > > > > > > > > > >   Requestors: geeta124 at hotmail.com
> > > > > > > > > > > > >       Status: new
> > > > > > > > > > > > >  Ticket <URL:
> > > > > > > > >
> https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453
> > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > Hi John.
> > > > > > > > > > > > > Sorry to bother you again n again. But I
have
> no
> > > choice. I
> > > > > > > want to
> > > > > > > > > know
> > > > > > > > > > > > > the followingI have 8 nc files. bash-3.2$ ls
> -ltotal
> > > > > > > > > 216336-rw-r--r--
> > > > > > > > > > >   1
> > > > > > > > > > > > > model    staff      13841488 Jan 21 11:24
> > > > > > > > > > > 3B42.20110422.06.7.nc-rw-r--r--
> > > > > > > > > > > > >   1 model    staff      13841488 Jan 21
11:27
> > > > > > > > > > > > > 3B42.20110422.09.7.nc-rw-r--r--    1 model
> staff
> > > > > > > 13841492
> > > > > > > > > Jan
> > > > > > > > > > > 21
> > > > > > > > > > > > > 14:01 3B42.20110422.12.7.nc-rw-r--r--    1
> model
> > > staff
> > > > > > > > > > > 13841492 Jan
> > > > > > > > > > > > > 21 13:16 3B42.20110422.15.7.nc-rw-r--r--
1
> model
> > > > > staff
> > > > > > > > > > > 13841492
> > > > > > > > > > > > > Jan 21 14:51 3B42.20110422.18.7.nc-rw-r--r--
> 1 model
> > > > > > > staff
> > > > > > > > > > > > > 13841492 Jan 21 13:21 3B42.20110422.21.7.nc-
> rw-r--r--
> > >   1
> > > > > > > model
> > > > > > > > > > > staff
> > > > > > > > > > > > >     13841488 Jan 21 13:22
> > > 3B42.20110423.00.7.nc-rw-r--r--
> > > > >   1
> > > > > > > > > model
> > > > > > > > > > > > > staff      13841488 Jan 21 13:50
> > > > > > > 3B42.20110423.03.7.ncbash-3.2$ pwd
> > > > > > > > > > > > > I need to make ONE 24 hour RF accumulated
file
> starting
> > > > > 06UTC
> > > > > > > of
> > > > > > > > > > > > > 22.04.2011 - 03UTC of 23.04.2011. How do I
do
> that???
> > > > > > > > > > > > > Geeta
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > > >
> > > >
> > >
> > >
> >
>
> ------------------------------------------------
> Subject: combining nc files together
> From: John Halley Gotway
> Time: Wed Feb 11 10:17:33 2015
>
> Geeta,
>
> I think your reference to an article must be from a different email
> chain.
>
> I see that you're asking about "FORECAST skill associated with the
> Uniform
> forecast".  Are you looking for more references related to
> neighborhood
> verification statistics, like Fractions Skill Score?
>
> Thanks,
> John
>
> On Mon, Feb 9, 2015 at 1:53 AM, Geeta Geeta via RT
<met_help at ucar.edu>
> wrote:
>
> >
> > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453 >
> >
> > Hi John.
> > Thanks for the article. It is very informative.
> > I dont know if i should be asking at this forum, the meaning of
the
> > "FORECAST skill associated with the Uniform forecast" as you have
> mentioned
> > in your paper.
> > If U give me some references, it would be great.
> > Geeta
> >
> > > Subject: Re: [rt.rap.ucar.edu #70453] combining nc files
together
> > > From: met_help at ucar.edu
> > > To: geeta124 at hotmail.com
> > > Date: Thu, 5 Feb 2015 10:33:59 -0700
> > >
> > > Geeta,
> > >
> > > You're correct, you can only use the "sum" command of
pcp_combine
> for
> > GRIB1
> > > or GRIB2 files...
> > >
> > > But, you can use the "add" command on any gridded data file
format
> that
> > MET
> > > supports.  Adding together 8 NetCDF files with pcp_combine would
> look
> > > something like this:
> > >
> > > pcp_combine -add \
> > > file1.nc 'name="APCP_03"; level="(*,*)";' \
> > > file2.nc 'name="APCP_03"; level="(*,*)";' \
> > > ...
> > > file8.nc 'name="APCP_03"; level="(*,*)";' \
> > > APCP_24.nc
> > >
> > > It makes for a longer command line, but it is possible to do
with
> > > pcp_combine.
> > >
> > > John
> > >
> > >
> > >
> > > On Thu, Feb 5, 2015 at 2:02 AM, Geeta Geeta via RT
> <met_help at ucar.edu>
> > > wrote:
> > >
> > > >
> > > > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453
>
> > > >
> > > > Hi John.
> > > > Thanks for wonderful ideas.
> > > > The first one is working. but I have yet to run grid_stat to
see
> if
> > > > everything is working finally. I ll try the ncatted.
> > > >
> > > > To sum up all the nc files (for the times that I want), I did
> try the
> > > > pcp_combine. But I guess It only works for the GRIB files.
> > > > I have sent to u the error before. I tried to use MET3.0 for
> that
> > which is
> > > > installed in my HPC.
> > > > I have 5.0 on my personal system. Will try that exercise in
this
> > system.
> > > > Thanks again for your help.
> > > > Geeta
> > > >
> > > >
> > > > > Subject: Re: [rt.rap.ucar.edu #70453] combining nc files
> together
> > > > > From: met_help at ucar.edu
> > > > > To: geeta124 at hotmail.com
> > > > > Date: Wed, 4 Feb 2015 11:21:19 -0700
> > > > >
> > > > > Geeta,
> > > > >
> > > > > The trmmbin2nc.R script is set up to only handle the TRMM
> binary data
> > > > > exactly from that website.  The timing information for that
> binary
> > data
> > > > is
> > > > > only contained in the file name, and you've renamed those
> files.  So
> > the
> > > > > script doesn't know how to parse them.
> > > > >
> > > > > Here's 2 options:
> > > > > (1) Rename that file using the "daily" file naming
> conventions:
> > > > >    cp Obs22apr2011.bin 3B42_daily.2011.04.22.7.bin
> > > > >    Rscript 3B42_daily.2011.04.22.7.bin
> 3B42_daily.2011.04.22.7.nc
> > > > >
> > > > > That will produce output but it'll assume the precipitation
is
> > > > accumulated
> > > > > for 24-hours from 20110422 00Z to 20110423 00Z.  If the
times
> should
> > be
> > > > > something different you could... edit the Rscript to use the
> times
> > you
> > > > > want... or use the "ncatted" tool to modify the timing
> information
> > listed
> > > > > in the output NetCDF file.
> > > > >
> > > > > (2) Or, as we've discussed in the past, you could run each
of
> the
> > 3-hour
> > > > > files through the trmmbin2nc.R script and write out NetCDF
> files.
> > Then
> > > > run
> > > > > those 3-hourly NetCDF files through pcp_combine to add them
> up.
> > > > >
> > > > > Thanks,
> > > > > John
> > > > >
> > > > >
> > > > > On Sun, Feb 1, 2015 at 11:27 PM, Geeta Geeta via RT <
> > met_help at ucar.edu>
> > > > > wrote:
> > > > >
> > > > > >
> > > > > > <URL:
> https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453 >
> > > > > >
> > > > > > Hi John.
> > > > > > This is an old Ticket. Kindly sort this issue too.
> > > > > > I was able to sum up all the 3 hourly TRMM files and then
> convert
> > the
> > > > > > final file into One called Obs22apr2011.bin.
> > > > > > I had used Grads for summing up all the 8 files. and now I
> am using
> > > > the R
> > > > > > script for
> > > > > > converting into NC.
> > > > > > But I got the error.
> > > > > > aditya at agniilap:~/geeta/installs/met/RUN_MET-22apr2011$
> Rscript
> > > > > > ../trmm_to_nc/trmmbin2nc_mod.R Obs22apr2011.bin
> Obs22apr2011.nc
> > > > > >
> > > > > >
> > > > > > ERROR: Can't figure out the accumulation interval!I am
> sending you
> > the
> > > > > > data that I converted using Grads.
> > > > > > Geeta
> > > > > >
> > > > > > > Subject: Re: [rt.rap.ucar.edu #70453] combining nc files
> > together
> > > > > > > From: met_help at ucar.edu
> > > > > > > To: geeta124 at hotmail.com
> > > > > > > Date: Fri, 30 Jan 2015 11:04:18 -0700
> > > > > > >
> > > > > > > Geeta,
> > > > > > >
> > > > > > > I don't have time to adapt that Rscript for your use
with
> > Grid-Stat.
> > > > > > > However, we did do something very similar for a previous
> > project.  I
> > > > have
> > > > > > > attached an Rscript named "fss_quilt_plot.R" you could
> easily
> > adapt
> > > > to
> > > > > > > create a quilt plot for your data.  I've also attached a
> copy of
> > the
> > > > > > paper
> > > > > > > for which this script was used.  Please look at figure
7.
> > > > > > >
> > > > > > > Thanks,
> > > > > > > John
> > > > > > >
> > > > > > > On Fri, Jan 30, 2015 at 1:03 AM, Geeta Geeta via RT <
> > > > met_help at ucar.edu>
> > > > > > > wrote:
> > > > > > >
> > > > > > > >
> > > > > > > > <URL:
> https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453
> > >
> > > > > > > >
> > > > > > > > Hi John.
> > > > > > > > I changed different widths in the configuration file.
> > > > (Width=1,3,5,,7
> > > > > > etc).
> > > > > > > >
> > > > > > > > // Neighborhood methods
> > > > > > > > //
> > > > > > > > nbrhd = {
> > > > > > > >    vld_thresh = 1.0;
> > > > > > > >    width      = [ 7 ];
> > > > > > > >    cov_thresh = [ >=0.5 ];
> > > > > > > > }
> > > > > > > > and got various outputs (for different widths) which
are
> in
> > > > different
> > > > > > > > directories.
> > > > > > > > Now I saw the R script on the website which is
probably
> > > > exclusively for
> > > > > > > > the MODE TOOL only.
> > > > > > > > Now my question is how to make the quilt plot for the
> GRid stat
> > > > > > tool???.
> > > > > > > > Sorry I m not familiar with R  now.
> > > > > > > > Pls help.
> > > > > > > > Geeta.
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > From: geeta124 at hotmail.com
> > > > > > > > To: met_help at ucar.edu
> > > > > > > > Subject: RE: [rt.rap.ucar.edu #70453] combining nc
files
> > together
> > > > > > > > Date: Thu, 29 Jan 2015 17:05:25 +0530
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > Hi John.
> > > > > > > > So I was able to sum up all the 3 hourly TRMM files
and
> then
> > > > convert
> > > > > > the
> > > > > > > > final file into One called Obs22apr2011.bin.
> > > > > > > > I have done that using Grads and now I am using the R
> script
> > for
> > > > > > > > converting into NC.
> > > > > > > > But I got the error.
> > > > > > > > aditya at agniilap:~/geeta/installs/met/RUN_MET-
22apr2011$
> > Rscript
> > > > > > > > ../trmm_to_nc/trmmbin2nc_mod.R Obs22apr2011.bin
> Obs22apr2011.nc
> > > > > > > >
> > > > > > > >
> > > > > > > > ERROR: Can't figure out the accumulation interval!
> > > > > > > >
> > > > > > > > I am sending you the data files and the R script (I
> changed the
> > > > > > domain).
> > > > > > > > The data is plotted fine. Also pls tell me about the
> ncview
> > > > questions
> > > > > > that
> > > > > > > > I was asking. reg the plotting of MPR's
> > > > > > > > Kindly suggest.
> > > > > > > > Geeta
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > > Subject: Re: [rt.rap.ucar.edu #70453] combining nc
> files
> > > > together
> > > > > > > > > From: met_help at ucar.edu
> > > > > > > > > To: geeta124 at hotmail.com
> > > > > > > > > Date: Mon, 26 Jan 2015 09:58:32 -0700
> > > > > > > > >
> > > > > > > > > Geeta,
> > > > > > > > >
> > > > > > > > > On that webpage (
> > > > > > > > >
> > http://www.dtcenter.org/met/users/downloads/analysis_scripts.php
> > > > ),
> > > > > > > > please
> > > > > > > > > look specifically at the script named
> "mode_quilt_plot.R".
> > > > Here's
> > > > > > the
> > > > > > > > > direct link to that script:
> > > > > > > > >
> > > > > > > >
> > > >
>
http://www.dtcenter.org/met/users/downloads/Rscripts/mode_quilt_plot.R
> > > > > > > > >
> > > > > > > > > And here's a direct link to the sample output that
> script
> > > > creates:
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > >
> > > >
> >
>
http://www.dtcenter.org/met/users/downloads/Rscripts/SAMPLE_mode_quilts.pdf
> > > > > > > > >
> > > > > > > > > This is an example of using R to make a quilt plot
for
> the
> > > > output of
> > > > > > the
> > > > > > > > > MODE tool.  You might also use a quilt plot to
display
> > fractions
> > > > > > skill
> > > > > > > > > score from the Grid-Stat tool, if you've run FSS for
> multiple
> > > > > > thresholds
> > > > > > > > > and neighborhood sizes.
> > > > > > > > >
> > > > > > > > > John
> > > > > > > > >
> > > > > > > > > On Mon, Jan 26, 2015 at 7:28 AM, Geeta Geeta via RT
<
> > > > > > met_help at ucar.edu>
> > > > > > > > > wrote:
> > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > <URL:
> > https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453
> > > > >
> > > > > > > > > >
> > > > > > > > > > Hi John.
> > > > > > > > > > the link
> > > > > > > >
> > http://www.dtcenter.org/met/users/downloads/analysis_scripts.php
> > > > > > > > > > has the plots for the cnt statistics.
> > > > > > > > > > I am not familiar with R. I am going thru the
> plot_cnt.R
> > > > script.
> > > > > > > > > > but I want to know what will be the data format
for
> the
> > Quilt
> > > > plot.
> > > > > > > > > > Do I have to write my own script???.
> > > > > > > > > > Kindly let me know about the data format and how I
> have to
> > > > modify
> > > > > > the
> > > > > > > > > > above script in order to make the quilt plot.
> > > > > > > > > > Regards
> > > > > > > > > > Geeta
> > > > > > > > > >
> > > > > > > > > > > Subject: Re: [rt.rap.ucar.edu #70453] combining
nc
> files
> > > > > > together
> > > > > > > > > > > From: met_help at ucar.edu
> > > > > > > > > > > To: geeta124 at hotmail.com
> > > > > > > > > > > Date: Fri, 23 Jan 2015 11:09:23 -0700
> > > > > > > > > > >
> > > > > > > > > > > Geeta,
> > > > > > > > > > >
> > > > > > > > > > > Regarding 3-hourly RF accumulations, if MET is
> able to
> > read
> > > > those
> > > > > > > > NetCDF
> > > > > > > > > > > files, you can run them through PCP-Combine to
> "add"
> > them all
> > > > > > > > together.
> > > > > > > > > > > Just use the example PCP_Combine command I
already
> sent
> > you
> > > > but
> > > > > > > > modify
> > > > > > > > > > the
> > > > > > > > > > > "name" entry to list the name of the NetCDF
> variable you
> > > > want to
> > > > > > > > use.  If
> > > > > > > > > > > MET is not able to read them, then it's up to
you
> to
> > figure
> > > > out
> > > > > > how
> > > > > > > > to
> > > > > > > > > > > accumulate them.
> > > > > > > > > > >
> > > > > > > > > > > If you're familiar with R, you could use the
> "ncdf"
> > library
> > > > in R
> > > > > > to
> > > > > > > > read
> > > > > > > > > > > data from one or more NetCDF files, add them up,
> and
> > write it
> > > > > > out to
> > > > > > > > a
> > > > > > > > > > new
> > > > > > > > > > > file.  Alternatively, "nco" (NetCDF Operators)
> provide
> > some
> > > > > > > > capability of
> > > > > > > > > > > doing simple operations on NetCDF files.  You
> might be
> > able
> > > > to
> > > > > > use
> > > > > > > > them.
> > > > > > > > > > >
> > > > > > > > > > > Regarding quilt plots, I've only used R to make
> them in
> > the
> > > > past.
> > > > > > > > > > > Specifically, the "quilt.plot" function in the R
> package
> > > > named
> > > > > > > > "fields".
> > > > > > > > > > > Please take a look at this website:
> > > > > > > > > > >
> > > > > >
> http://www.dtcenter.org/met/users/downloads/analysis_scripts.php
> > > > > > > > > > >
> > > > > > > > > > > The Rscript named "mode_quilt_plot.R" provides
an
> > example of
> > > > > > using R
> > > > > > > > to
> > > > > > > > > > > make quilt plots.  Example output from that
script
> is
> > also
> > > > > > included
> > > > > > > > on
> > > > > > > > > > that
> > > > > > > > > > > page.
> > > > > > > > > > >
> > > > > > > > > > > Thanks,
> > > > > > > > > > > John
> > > > > > > > > > >
> > > > > > > > > > > On Fri, Jan 23, 2015 at 4:06 AM, Geeta Geeta via
> RT <
> > > > > > > > met_help at ucar.edu>
> > > > > > > > > > > wrote:
> > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > <URL:
> > > > https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453
> > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > Hi John. Your help is needed at every step.
Now
> I want
> > to
> > > > know
> > > > > > > > which
> > > > > > > > > > > > software can be used for making the QUILT plot
> > (intensity
> > > > and
> > > > > > > > spatial
> > > > > > > > > > > > distribution) plot. Can It be done in using
> MET5.0. How
> > > > Can I
> > > > > > plot
> > > > > > > > the
> > > > > > > > > > > > point data that I used in MET5.0???KIndly
guide
> me.
> > Also
> > > > pls
> > > > > > tell
> > > > > > > > me
> > > > > > > > > > if u
> > > > > > > > > > > > can figure out the issue of 3hrly RF
> accumulations if
> > the
> > > > files
> > > > > > > > are in
> > > > > > > > > > the
> > > > > > > > > > > > NETCDF format. Geeta
> > > > > > > > > > > >
> > > > > > > > > > > > From: geeta124 at hotmail.com
> > > > > > > > > > > > To: met_help at ucar.edu
> > > > > > > > > > > > Subject: RE: [rt.rap.ucar.edu #70453]
combining
> nc
> > files
> > > > > > together
> > > > > > > > > > > > Date: Thu, 22 Jan 2015 16:30:34 +0530
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > thanks John.  the pcp combine tool uses only
> GRIB1
> > files.
> > > > these
> > > > > > > > were
> > > > > > > > > > > > netcdf files (attaching one).I had downloaded
> the NC
> > files
> > > > from
> > > > > > > > > > > >
> > > > > > > > > >
> > > > > > > >
> > > > > >
> > > >
> > http://mirador.gsfc.nasa.gov/cgi-
> bin/mirador/granlist.pl?page=1&location=(-90,-
>
180),(90,180)&dataSet=TRMM_3B42&version=007&allversion=007&startTime=2011-
> 04-22T00:00:01Z&endTime=2011-04-
> 22T23:59:59Z&keyword=TRMM_3B42&longname=TRMM%203-
>
Hourly%200.25%20deg.%20TRMM%20and%20Others%20Rainfall%20Estimate%20Data&CGISESSID=02499c2107ddfb60a3e46d6b99df3d79&prodpg=http://mirador.gsfc.nasa.gov/collections/TRMM_3B42__007.shtmlI
> > > > > > > > > > > > got following error. bash-3.2$
./run_pcptool.sh
> > Running PCP
> > > > > > > > > > toolPerforming
> > > > > > > > > > > > addition command for 2 files.Reading input
file:
> > > > > > > > 3B42.20110422.12.7.nc
> > > > > > > > > > > > GribFile::skip_header() -> can't find "GRIB"
> magic
> > cookie
> > > > > >  ERROR:
> > > > > > > > > > > > get_field() -> can't open grib file:
> > 3B42.20110422.12.7.nc
> > > > > > > > > > > > Following is my script--------!/bin/sh
> > > > > > > > > > > >
> > > > > > > > > > > >              echo " Running PCP
> > > > > > > > > > > > tool"~/wrf3/utils/met/METv3.0/bin/pcp_combine
> -add
> > > > > > > > > > 3B42.20110422.12.7.nc
> > > > > > > > > > > > 03 3B42.20110422.15.7.nc 03 myoutput.nc
> > > > > > > > > > > > Kindly suggest.
> > > > > > > > > > > >
> > > > > > > > > > > > the second thing I was thinking to download
the
> TRMM
> > data
> > > > from
> > > > > > > > thelink
> > > > > > > > > > at
> > > > > > > > > > > > DTC website and then converying the 3 hourly
> bins to
> > NC.
> > > > > > > > > > > > 2.2 MBftp://
> > > > > > > > > > > >
> > > > > > > > > >
> > > > > > > >
> > > > > >
> > > >
> >
>
disc2.nascom.nasa.gov/data/TRMM/Gridded/3B42_V7/201104/3B42.110422.15z.7.precipitation.bin
> > > > > > > > > > > > But my problem will be to ACCUMULATE them. I
> need to
> > > > verify the
> > > > > > > > model
> > > > > > > > > > data
> > > > > > > > > > > > starting 06 UTC of day1 to 03UTC of DAY2. I
mean
> how
> > do I
> > > > > > combine
> > > > > > > > all
> > > > > > > > > > the
> > > > > > > > > > > > NC  files together. Kindly suggest
> > > > > > > > > > > > > Subject: Re: [rt.rap.ucar.edu #70453]
> combining nc
> > files
> > > > > > > > together
> > > > > > > > > > > > > From: met_help at ucar.edu
> > > > > > > > > > > > > To: geeta124 at hotmail.com
> > > > > > > > > > > > > Date: Wed, 21 Jan 2015 10:45:12 -0700
> > > > > > > > > > > > >
> > > > > > > > > > > > > Geeta,
> > > > > > > > > > > > >
> > > > > > > > > > > > > I'm assuming the variable in the NetCDF
files
> is
> > named
> > > > > > > > "APCP_03".  If
> > > > > > > > > > > > not,
> > > > > > > > > > > > > just switch in the actual name.  You can run
> the
> > > > following
> > > > > > > > > > pcp_combine
> > > > > > > > > > > > -add
> > > > > > > > > > > > > command:
> > > > > > > > > > > > >
> > > > > > > > > > > > > pcp_combine -add \
> > > > > > > > > > > > >    3B42.20110422.09.7.nc 'name="APCP_03";
> > > > level="(*,*)";' \
> > > > > > > > > > > > >    3B42.20110422.12.7.nc 'name="APCP_03";
> > > > level="(*,*)";' \
> > > > > > > > > > > > >    3B42.20110422.15.7.nc 'name="APCP_03";
> > > > level="(*,*)";' \
> > > > > > > > > > > > >    3B42.20110422.18.7.nc 'name="APCP_03";
> > > > level="(*,*)";' \
> > > > > > > > > > > > >    3B42.20110422.21.7.nc 'name="APCP_03";
> > > > level="(*,*)";' \
> > > > > > > > > > > > >    3B42.20110423.00.7.nc 'name="APCP_03";
> > > > level="(*,*)";' \
> > > > > > > > > > > > >    3B42.20110423.03.7.nc 'name="APCP_03";
> > > > level="(*,*)";' \
> > > > > > > > > > > > >    3B42.20110423.06.7.nc 'name="APCP_03";
> > > > level="(*,*)";' \
> > > > > > > > > > > > >    3B42.20110423.06.7_APCP_24.nc
> > > > > > > > > > > > >
> > > > > > > > > > > > > The last file listed is just the output file
> name I
> > > > chose.
> > > > > > But
> > > > > > > > you
> > > > > > > > > > can
> > > > > > > > > > > > > name it whatever you'd like.
> > > > > > > > > > > > >
> > > > > > > > > > > > > John
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > On Wed, Jan 21, 2015 at 4:02 AM, Geeta Geeta
> via RT <
> > > > > > > > > > met_help at ucar.edu>
> > > > > > > > > > > > > wrote:
> > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Wed Jan 21 04:02:41 2015: Request 70453
was
> acted
> > upon.
> > > > > > > > > > > > > > Transaction: Ticket created by
> > geeta124 at hotmail.com
> > > > > > > > > > > > > >        Queue: met_help
> > > > > > > > > > > > > >      Subject: combining nc files together
> > > > > > > > > > > > > >        Owner: Nobody
> > > > > > > > > > > > > >   Requestors: geeta124 at hotmail.com
> > > > > > > > > > > > > >       Status: new
> > > > > > > > > > > > > >  Ticket <URL:
> > > > > > > > > >
> https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453
> > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Hi John.
> > > > > > > > > > > > > > Sorry to bother you again n again. But I
> have no
> > > > choice. I
> > > > > > > > want to
> > > > > > > > > > know
> > > > > > > > > > > > > > the followingI have 8 nc files. bash-3.2$
ls
> > -ltotal
> > > > > > > > > > 216336-rw-r--r--
> > > > > > > > > > > >   1
> > > > > > > > > > > > > > model    staff      13841488 Jan 21 11:24
> > > > > > > > > > > > 3B42.20110422.06.7.nc-rw-r--r--
> > > > > > > > > > > > > >   1 model    staff      13841488 Jan 21
> 11:27
> > > > > > > > > > > > > > 3B42.20110422.09.7.nc-rw-r--r--    1 model
> staff
> > > > > > > > 13841492
> > > > > > > > > > Jan
> > > > > > > > > > > > 21
> > > > > > > > > > > > > > 14:01 3B42.20110422.12.7.nc-rw-r--r--    1
> model
> > > > staff
> > > > > > > > > > > > 13841492 Jan
> > > > > > > > > > > > > > 21 13:16 3B42.20110422.15.7.nc-rw-r--r--
> 1 model
> > > > > > staff
> > > > > > > > > > > > 13841492
> > > > > > > > > > > > > > Jan 21 14:51 3B42.20110422.18.7.nc-rw-r--
r--
> 1
> > model
> > > > > > > > staff
> > > > > > > > > > > > > > 13841492 Jan 21 13:21
> > 3B42.20110422.21.7.nc-rw-r--r--
> > > >   1
> > > > > > > > model
> > > > > > > > > > > > staff
> > > > > > > > > > > > > >     13841488 Jan 21 13:22
> > > > 3B42.20110423.00.7.nc-rw-r--r--
> > > > > >   1
> > > > > > > > > > model
> > > > > > > > > > > > > > staff      13841488 Jan 21 13:50
> > > > > > > > 3B42.20110423.03.7.ncbash-3.2$ pwd
> > > > > > > > > > > > > > I need to make ONE 24 hour RF accumulated
> file
> > starting
> > > > > > 06UTC
> > > > > > > > of
> > > > > > > > > > > > > > 22.04.2011 - 03UTC of 23.04.2011. How do I
> do
> > that???
> > > > > > > > > > > > > > Geeta
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > > >
> > > > >
> > > >
> > > >
> > >
> >
> >
>
> ------------------------------------------------
> Subject: combining nc files together
> From: Geeta Geeta
> Time: Wed Feb 11 22:44:21 2015
>
> hi John.
> I had read ur article that U have sent reg the FSS and the MODE
tools.
> I could not understand the meaning of FORECAST SKILL associated with
> Uniform FOrECAST. This is what is mentioed in the FSS section of Ur
> article.
> I didnt understand the concept/idea. if U could just explain a
little
> more I can build/read some articles that you would suggest.
> Thanks for ur help.
> Geeta
>
> > Subject: Re: [rt.rap.ucar.edu #70453] combining nc files together
> > From: met_help at ucar.edu
> > To: geeta124 at hotmail.com
> > Date: Wed, 11 Feb 2015 10:17:33 -0700
> >
> > Geeta,
> >
> > I think your reference to an article must be from a different
email
> chain.
> >
> > I see that you're asking about "FORECAST skill associated with the
> Uniform
> > forecast".  Are you looking for more references related to
> neighborhood
> > verification statistics, like Fractions Skill Score?
> >
> > Thanks,
> > John
> >
> > On Mon, Feb 9, 2015 at 1:53 AM, Geeta Geeta via RT
> <met_help at ucar.edu>
> > wrote:
> >
> > >
> > > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453 >
> > >
> > > Hi John.
> > > Thanks for the article. It is very informative.
> > > I dont know if i should be asking at this forum, the meaning of
> the
> > > "FORECAST skill associated with the Uniform forecast" as you
have
> mentioned
> > > in your paper.
> > > If U give me some references, it would be great.
> > > Geeta
> > >
> > > > Subject: Re: [rt.rap.ucar.edu #70453] combining nc files
> together
> > > > From: met_help at ucar.edu
> > > > To: geeta124 at hotmail.com
> > > > Date: Thu, 5 Feb 2015 10:33:59 -0700
> > > >
> > > > Geeta,
> > > >
> > > > You're correct, you can only use the "sum" command of
> pcp_combine for
> > > GRIB1
> > > > or GRIB2 files...
> > > >
> > > > But, you can use the "add" command on any gridded data file
> format that
> > > MET
> > > > supports.  Adding together 8 NetCDF files with pcp_combine
would
> look
> > > > something like this:
> > > >
> > > > pcp_combine -add \
> > > > file1.nc 'name="APCP_03"; level="(*,*)";' \
> > > > file2.nc 'name="APCP_03"; level="(*,*)";' \
> > > > ...
> > > > file8.nc 'name="APCP_03"; level="(*,*)";' \
> > > > APCP_24.nc
> > > >
> > > > It makes for a longer command line, but it is possible to do
> with
> > > > pcp_combine.
> > > >
> > > > John
> > > >
> > > >
> > > >
> > > > On Thu, Feb 5, 2015 at 2:02 AM, Geeta Geeta via RT
> <met_help at ucar.edu>
> > > > wrote:
> > > >
> > > > >
> > > > > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453
> >
> > > > >
> > > > > Hi John.
> > > > > Thanks for wonderful ideas.
> > > > > The first one is working. but I have yet to run grid_stat to
> see if
> > > > > everything is working finally. I ll try the ncatted.
> > > > >
> > > > > To sum up all the nc files (for the times that I want), I
did
> try the
> > > > > pcp_combine. But I guess It only works for the GRIB files.
> > > > > I have sent to u the error before. I tried to use MET3.0 for
> that
> > > which is
> > > > > installed in my HPC.
> > > > > I have 5.0 on my personal system. Will try that exercise in
> this
> > > system.
> > > > > Thanks again for your help.
> > > > > Geeta
> > > > >
> > > > >
> > > > > > Subject: Re: [rt.rap.ucar.edu #70453] combining nc files
> together
> > > > > > From: met_help at ucar.edu
> > > > > > To: geeta124 at hotmail.com
> > > > > > Date: Wed, 4 Feb 2015 11:21:19 -0700
> > > > > >
> > > > > > Geeta,
> > > > > >
> > > > > > The trmmbin2nc.R script is set up to only handle the TRMM
> binary data
> > > > > > exactly from that website.  The timing information for
that
> binary
> > > data
> > > > > is
> > > > > > only contained in the file name, and you've renamed those
> files.  So
> > > the
> > > > > > script doesn't know how to parse them.
> > > > > >
> > > > > > Here's 2 options:
> > > > > > (1) Rename that file using the "daily" file naming
> conventions:
> > > > > >    cp Obs22apr2011.bin 3B42_daily.2011.04.22.7.bin
> > > > > >    Rscript 3B42_daily.2011.04.22.7.bin
> 3B42_daily.2011.04.22.7.nc
> > > > > >
> > > > > > That will produce output but it'll assume the
precipitation
> is
> > > > > accumulated
> > > > > > for 24-hours from 20110422 00Z to 20110423 00Z.  If the
> times should
> > > be
> > > > > > something different you could... edit the Rscript to use
the
> times
> > > you
> > > > > > want... or use the "ncatted" tool to modify the timing
> information
> > > listed
> > > > > > in the output NetCDF file.
> > > > > >
> > > > > > (2) Or, as we've discussed in the past, you could run each
> of the
> > > 3-hour
> > > > > > files through the trmmbin2nc.R script and write out NetCDF
> files.
> > > Then
> > > > > run
> > > > > > those 3-hourly NetCDF files through pcp_combine to add
them
> up.
> > > > > >
> > > > > > Thanks,
> > > > > > John
> > > > > >
> > > > > >
> > > > > > On Sun, Feb 1, 2015 at 11:27 PM, Geeta Geeta via RT <
> > > met_help at ucar.edu>
> > > > > > wrote:
> > > > > >
> > > > > > >
> > > > > > > <URL:
> https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453 >
> > > > > > >
> > > > > > > Hi John.
> > > > > > > This is an old Ticket. Kindly sort this issue too.
> > > > > > > I was able to sum up all the 3 hourly TRMM files and
then
> convert
> > > the
> > > > > > > final file into One called Obs22apr2011.bin.
> > > > > > > I had used Grads for summing up all the 8 files. and now
I
> am using
> > > > > the R
> > > > > > > script for
> > > > > > > converting into NC.
> > > > > > > But I got the error.
> > > > > > > aditya at agniilap:~/geeta/installs/met/RUN_MET-22apr2011$
> Rscript
> > > > > > > ../trmm_to_nc/trmmbin2nc_mod.R Obs22apr2011.bin
> Obs22apr2011.nc
> > > > > > >
> > > > > > >
> > > > > > > ERROR: Can't figure out the accumulation interval!I am
> sending you
> > > the
> > > > > > > data that I converted using Grads.
> > > > > > > Geeta
> > > > > > >
> > > > > > > > Subject: Re: [rt.rap.ucar.edu #70453] combining nc
files
> > > together
> > > > > > > > From: met_help at ucar.edu
> > > > > > > > To: geeta124 at hotmail.com
> > > > > > > > Date: Fri, 30 Jan 2015 11:04:18 -0700
> > > > > > > >
> > > > > > > > Geeta,
> > > > > > > >
> > > > > > > > I don't have time to adapt that Rscript for your use
> with
> > > Grid-Stat.
> > > > > > > > However, we did do something very similar for a
previous
> > > project.  I
> > > > > have
> > > > > > > > attached an Rscript named "fss_quilt_plot.R" you could
> easily
> > > adapt
> > > > > to
> > > > > > > > create a quilt plot for your data.  I've also attached
a
> copy of
> > > the
> > > > > > > paper
> > > > > > > > for which this script was used.  Please look at figure
> 7.
> > > > > > > >
> > > > > > > > Thanks,
> > > > > > > > John
> > > > > > > >
> > > > > > > > On Fri, Jan 30, 2015 at 1:03 AM, Geeta Geeta via RT <
> > > > > met_help at ucar.edu>
> > > > > > > > wrote:
> > > > > > > >
> > > > > > > > >
> > > > > > > > > <URL:
> https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453
> > > >
> > > > > > > > >
> > > > > > > > > Hi John.
> > > > > > > > > I changed different widths in the configuration
file.
> > > > > (Width=1,3,5,,7
> > > > > > > etc).
> > > > > > > > >
> > > > > > > > > // Neighborhood methods
> > > > > > > > > //
> > > > > > > > > nbrhd = {
> > > > > > > > >    vld_thresh = 1.0;
> > > > > > > > >    width      = [ 7 ];
> > > > > > > > >    cov_thresh = [ >=0.5 ];
> > > > > > > > > }
> > > > > > > > > and got various outputs (for different widths) which
> are in
> > > > > different
> > > > > > > > > directories.
> > > > > > > > > Now I saw the R script on the website which is
> probably
> > > > > exclusively for
> > > > > > > > > the MODE TOOL only.
> > > > > > > > > Now my question is how to make the quilt plot for
the
> GRid stat
> > > > > > > tool???.
> > > > > > > > > Sorry I m not familiar with R  now.
> > > > > > > > > Pls help.
> > > > > > > > > Geeta.
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > From: geeta124 at hotmail.com
> > > > > > > > > To: met_help at ucar.edu
> > > > > > > > > Subject: RE: [rt.rap.ucar.edu #70453] combining nc
> files
> > > together
> > > > > > > > > Date: Thu, 29 Jan 2015 17:05:25 +0530
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > Hi John.
> > > > > > > > > So I was able to sum up all the 3 hourly TRMM files
> and then
> > > > > convert
> > > > > > > the
> > > > > > > > > final file into One called Obs22apr2011.bin.
> > > > > > > > > I have done that using Grads and now I am using the
R
> script
> > > for
> > > > > > > > > converting into NC.
> > > > > > > > > But I got the error.
> > > > > > > > > aditya at agniilap:~/geeta/installs/met/RUN_MET-
> 22apr2011$
> > > Rscript
> > > > > > > > > ../trmm_to_nc/trmmbin2nc_mod.R Obs22apr2011.bin
> Obs22apr2011.nc
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > ERROR: Can't figure out the accumulation interval!
> > > > > > > > >
> > > > > > > > > I am sending you the data files and the R script (I
> changed the
> > > > > > > domain).
> > > > > > > > > The data is plotted fine. Also pls tell me about the
> ncview
> > > > > questions
> > > > > > > that
> > > > > > > > > I was asking. reg the plotting of MPR's
> > > > > > > > > Kindly suggest.
> > > > > > > > > Geeta
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > > Subject: Re: [rt.rap.ucar.edu #70453] combining nc
> files
> > > > > together
> > > > > > > > > > From: met_help at ucar.edu
> > > > > > > > > > To: geeta124 at hotmail.com
> > > > > > > > > > Date: Mon, 26 Jan 2015 09:58:32 -0700
> > > > > > > > > >
> > > > > > > > > > Geeta,
> > > > > > > > > >
> > > > > > > > > > On that webpage (
> > > > > > > > > >
> > > http://www.dtcenter.org/met/users/downloads/analysis_scripts.php
> > > > > ),
> > > > > > > > > please
> > > > > > > > > > look specifically at the script named
> "mode_quilt_plot.R".
> > > > > Here's
> > > > > > > the
> > > > > > > > > > direct link to that script:
> > > > > > > > > >
> > > > > > > > >
> > > > >
>
http://www.dtcenter.org/met/users/downloads/Rscripts/mode_quilt_plot.R
> > > > > > > > > >
> > > > > > > > > > And here's a direct link to the sample output that
> script
> > > > > creates:
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > >
> > > > >
> > >
>
http://www.dtcenter.org/met/users/downloads/Rscripts/SAMPLE_mode_quilts.pdf
> > > > > > > > > >
> > > > > > > > > > This is an example of using R to make a quilt plot
> for the
> > > > > output of
> > > > > > > the
> > > > > > > > > > MODE tool.  You might also use a quilt plot to
> display
> > > fractions
> > > > > > > skill
> > > > > > > > > > score from the Grid-Stat tool, if you've run FSS
for
> multiple
> > > > > > > thresholds
> > > > > > > > > > and neighborhood sizes.
> > > > > > > > > >
> > > > > > > > > > John
> > > > > > > > > >
> > > > > > > > > > On Mon, Jan 26, 2015 at 7:28 AM, Geeta Geeta via
RT
> <
> > > > > > > met_help at ucar.edu>
> > > > > > > > > > wrote:
> > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > <URL:
> > > https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453
> > > > > >
> > > > > > > > > > >
> > > > > > > > > > > Hi John.
> > > > > > > > > > > the link
> > > > > > > > >
> > > http://www.dtcenter.org/met/users/downloads/analysis_scripts.php
> > > > > > > > > > > has the plots for the cnt statistics.
> > > > > > > > > > > I am not familiar with R. I am going thru the
> plot_cnt.R
> > > > > script.
> > > > > > > > > > > but I want to know what will be the data format
> for the
> > > Quilt
> > > > > plot.
> > > > > > > > > > > Do I have to write my own script???.
> > > > > > > > > > > Kindly let me know about the data format and how
I
> have to
> > > > > modify
> > > > > > > the
> > > > > > > > > > > above script in order to make the quilt plot.
> > > > > > > > > > > Regards
> > > > > > > > > > > Geeta
> > > > > > > > > > >
> > > > > > > > > > > > Subject: Re: [rt.rap.ucar.edu #70453]
combining
> nc files
> > > > > > > together
> > > > > > > > > > > > From: met_help at ucar.edu
> > > > > > > > > > > > To: geeta124 at hotmail.com
> > > > > > > > > > > > Date: Fri, 23 Jan 2015 11:09:23 -0700
> > > > > > > > > > > >
> > > > > > > > > > > > Geeta,
> > > > > > > > > > > >
> > > > > > > > > > > > Regarding 3-hourly RF accumulations, if MET is
> able to
> > > read
> > > > > those
> > > > > > > > > NetCDF
> > > > > > > > > > > > files, you can run them through PCP-Combine to
> "add"
> > > them all
> > > > > > > > > together.
> > > > > > > > > > > > Just use the example PCP_Combine command I
> already sent
> > > you
> > > > > but
> > > > > > > > > modify
> > > > > > > > > > > the
> > > > > > > > > > > > "name" entry to list the name of the NetCDF
> variable you
> > > > > want to
> > > > > > > > > use.  If
> > > > > > > > > > > > MET is not able to read them, then it's up to
> you to
> > > figure
> > > > > out
> > > > > > > how
> > > > > > > > > to
> > > > > > > > > > > > accumulate them.
> > > > > > > > > > > >
> > > > > > > > > > > > If you're familiar with R, you could use the
> "ncdf"
> > > library
> > > > > in R
> > > > > > > to
> > > > > > > > > read
> > > > > > > > > > > > data from one or more NetCDF files, add them
up,
> and
> > > write it
> > > > > > > out to
> > > > > > > > > a
> > > > > > > > > > > new
> > > > > > > > > > > > file.  Alternatively, "nco" (NetCDF Operators)
> provide
> > > some
> > > > > > > > > capability of
> > > > > > > > > > > > doing simple operations on NetCDF files.  You
> might be
> > > able
> > > > > to
> > > > > > > use
> > > > > > > > > them.
> > > > > > > > > > > >
> > > > > > > > > > > > Regarding quilt plots, I've only used R to
make
> them in
> > > the
> > > > > past.
> > > > > > > > > > > > Specifically, the "quilt.plot" function in the
R
> package
> > > > > named
> > > > > > > > > "fields".
> > > > > > > > > > > > Please take a look at this website:
> > > > > > > > > > > >
> > > > > > >
> http://www.dtcenter.org/met/users/downloads/analysis_scripts.php
> > > > > > > > > > > >
> > > > > > > > > > > > The Rscript named "mode_quilt_plot.R" provides
> an
> > > example of
> > > > > > > using R
> > > > > > > > > to
> > > > > > > > > > > > make quilt plots.  Example output from that
> script is
> > > also
> > > > > > > included
> > > > > > > > > on
> > > > > > > > > > > that
> > > > > > > > > > > > page.
> > > > > > > > > > > >
> > > > > > > > > > > > Thanks,
> > > > > > > > > > > > John
> > > > > > > > > > > >
> > > > > > > > > > > > On Fri, Jan 23, 2015 at 4:06 AM, Geeta Geeta
via
> RT <
> > > > > > > > > met_help at ucar.edu>
> > > > > > > > > > > > wrote:
> > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > <URL:
> > > > > https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453
> > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > Hi John. Your help is needed at every step.
> Now I want
> > > to
> > > > > know
> > > > > > > > > which
> > > > > > > > > > > > > software can be used for making the QUILT
plot
> > > (intensity
> > > > > and
> > > > > > > > > spatial
> > > > > > > > > > > > > distribution) plot. Can It be done in using
> MET5.0. How
> > > > > Can I
> > > > > > > plot
> > > > > > > > > the
> > > > > > > > > > > > > point data that I used in MET5.0???KIndly
> guide me.
> > > Also
> > > > > pls
> > > > > > > tell
> > > > > > > > > me
> > > > > > > > > > > if u
> > > > > > > > > > > > > can figure out the issue of 3hrly RF
> accumulations if
> > > the
> > > > > files
> > > > > > > > > are in
> > > > > > > > > > > the
> > > > > > > > > > > > > NETCDF format. Geeta
> > > > > > > > > > > > >
> > > > > > > > > > > > > From: geeta124 at hotmail.com
> > > > > > > > > > > > > To: met_help at ucar.edu
> > > > > > > > > > > > > Subject: RE: [rt.rap.ucar.edu #70453]
> combining nc
> > > files
> > > > > > > together
> > > > > > > > > > > > > Date: Thu, 22 Jan 2015 16:30:34 +0530
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > thanks John.  the pcp combine tool uses only
> GRIB1
> > > files.
> > > > > these
> > > > > > > > > were
> > > > > > > > > > > > > netcdf files (attaching one).I had
downloaded
> the NC
> > > files
> > > > > from
> > > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > >
> > > > > > >
> > > > >
> > > http://mirador.gsfc.nasa.gov/cgi-
> bin/mirador/granlist.pl?page=1&location=(-90,-
>
180),(90,180)&dataSet=TRMM_3B42&version=007&allversion=007&startTime=2011-
> 04-22T00:00:01Z&endTime=2011-04-
> 22T23:59:59Z&keyword=TRMM_3B42&longname=TRMM%203-
>
Hourly%200.25%20deg.%20TRMM%20and%20Others%20Rainfall%20Estimate%20Data&CGISESSID=02499c2107ddfb60a3e46d6b99df3d79&prodpg=http://mirador.gsfc.nasa.gov/collections/TRMM_3B42__007.shtmlI
> > > > > > > > > > > > > got following error. bash-3.2$
> ./run_pcptool.sh
> > > Running PCP
> > > > > > > > > > > toolPerforming
> > > > > > > > > > > > > addition command for 2 files.Reading input
> file:
> > > > > > > > > 3B42.20110422.12.7.nc
> > > > > > > > > > > > > GribFile::skip_header() -> can't find "GRIB"
> magic
> > > cookie
> > > > > > >  ERROR:
> > > > > > > > > > > > > get_field() -> can't open grib file:
> > > 3B42.20110422.12.7.nc
> > > > > > > > > > > > > Following is my script--------!/bin/sh
> > > > > > > > > > > > >
> > > > > > > > > > > > >              echo " Running PCP
> > > > > > > > > > > > >
tool"~/wrf3/utils/met/METv3.0/bin/pcp_combine
> -add
> > > > > > > > > > > 3B42.20110422.12.7.nc
> > > > > > > > > > > > > 03 3B42.20110422.15.7.nc 03 myoutput.nc
> > > > > > > > > > > > > Kindly suggest.
> > > > > > > > > > > > >
> > > > > > > > > > > > > the second thing I was thinking to download
> the TRMM
> > > data
> > > > > from
> > > > > > > > > thelink
> > > > > > > > > > > at
> > > > > > > > > > > > > DTC website and then converying the 3 hourly
> bins to
> > > NC.
> > > > > > > > > > > > > 2.2 MBftp://
> > > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > >
> > > > > > >
> > > > >
> > >
>
disc2.nascom.nasa.gov/data/TRMM/Gridded/3B42_V7/201104/3B42.110422.15z.7.precipitation.bin
> > > > > > > > > > > > > But my problem will be to ACCUMULATE them. I
> need to
> > > > > verify the
> > > > > > > > > model
> > > > > > > > > > > data
> > > > > > > > > > > > > starting 06 UTC of day1 to 03UTC of DAY2. I
> mean how
> > > do I
> > > > > > > combine
> > > > > > > > > all
> > > > > > > > > > > the
> > > > > > > > > > > > > NC  files together. Kindly suggest
> > > > > > > > > > > > > > Subject: Re: [rt.rap.ucar.edu #70453]
> combining nc
> > > files
> > > > > > > > > together
> > > > > > > > > > > > > > From: met_help at ucar.edu
> > > > > > > > > > > > > > To: geeta124 at hotmail.com
> > > > > > > > > > > > > > Date: Wed, 21 Jan 2015 10:45:12 -0700
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Geeta,
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > I'm assuming the variable in the NetCDF
> files is
> > > named
> > > > > > > > > "APCP_03".  If
> > > > > > > > > > > > > not,
> > > > > > > > > > > > > > just switch in the actual name.  You can
run
> the
> > > > > following
> > > > > > > > > > > pcp_combine
> > > > > > > > > > > > > -add
> > > > > > > > > > > > > > command:
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > pcp_combine -add \
> > > > > > > > > > > > > >    3B42.20110422.09.7.nc 'name="APCP_03";
> > > > > level="(*,*)";' \
> > > > > > > > > > > > > >    3B42.20110422.12.7.nc 'name="APCP_03";
> > > > > level="(*,*)";' \
> > > > > > > > > > > > > >    3B42.20110422.15.7.nc 'name="APCP_03";
> > > > > level="(*,*)";' \
> > > > > > > > > > > > > >    3B42.20110422.18.7.nc 'name="APCP_03";
> > > > > level="(*,*)";' \
> > > > > > > > > > > > > >    3B42.20110422.21.7.nc 'name="APCP_03";
> > > > > level="(*,*)";' \
> > > > > > > > > > > > > >    3B42.20110423.00.7.nc 'name="APCP_03";
> > > > > level="(*,*)";' \
> > > > > > > > > > > > > >    3B42.20110423.03.7.nc 'name="APCP_03";
> > > > > level="(*,*)";' \
> > > > > > > > > > > > > >    3B42.20110423.06.7.nc 'name="APCP_03";
> > > > > level="(*,*)";' \
> > > > > > > > > > > > > >    3B42.20110423.06.7_APCP_24.nc
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > The last file listed is just the output
file
> name I
> > > > > chose.
> > > > > > > But
> > > > > > > > > you
> > > > > > > > > > > can
> > > > > > > > > > > > > > name it whatever you'd like.
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > John
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > On Wed, Jan 21, 2015 at 4:02 AM, Geeta
Geeta
> via RT <
> > > > > > > > > > > met_help at ucar.edu>
> > > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > Wed Jan 21 04:02:41 2015: Request 70453
> was acted
> > > upon.
> > > > > > > > > > > > > > > Transaction: Ticket created by
> > > geeta124 at hotmail.com
> > > > > > > > > > > > > > >        Queue: met_help
> > > > > > > > > > > > > > >      Subject: combining nc files
together
> > > > > > > > > > > > > > >        Owner: Nobody
> > > > > > > > > > > > > > >   Requestors: geeta124 at hotmail.com
> > > > > > > > > > > > > > >       Status: new
> > > > > > > > > > > > > > >  Ticket <URL:
> > > > > > > > > > >
> https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > Hi John.
> > > > > > > > > > > > > > > Sorry to bother you again n again. But I
> have no
> > > > > choice. I
> > > > > > > > > want to
> > > > > > > > > > > know
> > > > > > > > > > > > > > > the followingI have 8 nc files. bash-
3.2$
> ls
> > > -ltotal
> > > > > > > > > > > 216336-rw-r--r--
> > > > > > > > > > > > >   1
> > > > > > > > > > > > > > > model    staff      13841488 Jan 21
11:24
> > > > > > > > > > > > > 3B42.20110422.06.7.nc-rw-r--r--
> > > > > > > > > > > > > > >   1 model    staff      13841488 Jan 21
> 11:27
> > > > > > > > > > > > > > > 3B42.20110422.09.7.nc-rw-r--r--    1
model
> staff
> > > > > > > > > 13841492
> > > > > > > > > > > Jan
> > > > > > > > > > > > > 21
> > > > > > > > > > > > > > > 14:01 3B42.20110422.12.7.nc-rw-r--r--
1
> model
> > > > > staff
> > > > > > > > > > > > > 13841492 Jan
> > > > > > > > > > > > > > > 21 13:16 3B42.20110422.15.7.nc-rw-r--r--
> 1 model
> > > > > > > staff
> > > > > > > > > > > > > 13841492
> > > > > > > > > > > > > > > Jan 21 14:51 3B42.20110422.18.7.nc-rw-
r--
> r--    1
> > > model
> > > > > > > > > staff
> > > > > > > > > > > > > > > 13841492 Jan 21 13:21
> > > 3B42.20110422.21.7.nc-rw-r--r--
> > > > >   1
> > > > > > > > > model
> > > > > > > > > > > > > staff
> > > > > > > > > > > > > > >     13841488 Jan 21 13:22
> > > > > 3B42.20110423.00.7.nc-rw-r--r--
> > > > > > >   1
> > > > > > > > > > > model
> > > > > > > > > > > > > > > staff      13841488 Jan 21 13:50
> > > > > > > > > 3B42.20110423.03.7.ncbash-3.2$ pwd
> > > > > > > > > > > > > > > I need to make ONE 24 hour RF
accumulated
> file
> > > starting
> > > > > > > 06UTC
> > > > > > > > > of
> > > > > > > > > > > > > > > 22.04.2011 - 03UTC of 23.04.2011. How do
I
> do
> > > that???
> > > > > > > > > > > > > > > Geeta
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > > >
> > > >
> > >
> > >
> >
>
> ------------------------------------------------
> Subject: combining nc files together
> From: Geeta Geeta
> Time: Mon Feb 16 04:32:17 2015
>
> Hi John.
> In Your article, FSS is defined as the
> FSS (n) = 1 - (MSE(n)/MSE(n) ref).
>
> In another paper's I found it to be little different. It was related
> to the FBS Fractional Brier Score.
>
> Can U pls explain be the differences???.
> Also I came across SpatialVx package.
> Does that also provide all the verification procedures???
> Geeta
>
>
> From: geeta124 at hotmail.com
> To: met_help at ucar.edu
> Subject: RE: [rt.rap.ucar.edu #70453] combining nc files together
> Date: Thu, 12 Feb 2015 11:14:17 +0530
>
>
>
>
> hi John.
> I had read ur article that U have sent reg the FSS and the MODE
tools.
> I could not understand the meaning of FORECAST SKILL associated with
> Uniform FOrECAST. This is what is mentioed in the FSS section of Ur
> article.
> I didnt understand the concept/idea. if U could just explain a
little
> more I can build/read some articles that you would suggest.
> Thanks for ur help.
> Geeta
>
> > Subject: Re: [rt.rap.ucar.edu #70453] combining nc files together
> > From: met_help at ucar.edu
> > To: geeta124 at hotmail.com
> > Date: Wed, 11 Feb 2015 10:17:33 -0700
> >
> > Geeta,
> >
> > I think your reference to an article must be from a different
email
> chain.
> >
> > I see that you're asking about "FORECAST skill associated with the
> Uniform
> > forecast".  Are you looking for more references related to
> neighborhood
> > verification statistics, like Fractions Skill Score?
> >
> > Thanks,
> > John
> >
> > On Mon, Feb 9, 2015 at 1:53 AM, Geeta Geeta via RT
> <met_help at ucar.edu>
> > wrote:
> >
> > >
> > > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453 >
> > >
> > > Hi John.
> > > Thanks for the article. It is very informative.
> > > I dont know if i should be asking at this forum, the meaning of
> the
> > > "FORECAST skill associated with the Uniform forecast" as you
have
> mentioned
> > > in your paper.
> > > If U give me some references, it would be great.
> > > Geeta
> > >
> > > > Subject: Re: [rt.rap.ucar.edu #70453] combining nc files
> together
> > > > From: met_help at ucar.edu
> > > > To: geeta124 at hotmail.com
> > > > Date: Thu, 5 Feb 2015 10:33:59 -0700
> > > >
> > > > Geeta,
> > > >
> > > > You're correct, you can only use the "sum" command of
> pcp_combine for
> > > GRIB1
> > > > or GRIB2 files...
> > > >
> > > > But, you can use the "add" command on any gridded data file
> format that
> > > MET
> > > > supports.  Adding together 8 NetCDF files with pcp_combine
would
> look
> > > > something like this:
> > > >
> > > > pcp_combine -add \
> > > > file1.nc 'name="APCP_03"; level="(*,*)";' \
> > > > file2.nc 'name="APCP_03"; level="(*,*)";' \
> > > > ...
> > > > file8.nc 'name="APCP_03"; level="(*,*)";' \
> > > > APCP_24.nc
> > > >
> > > > It makes for a longer command line, but it is possible to do
> with
> > > > pcp_combine.
> > > >
> > > > John
> > > >
> > > >
> > > >
> > > > On Thu, Feb 5, 2015 at 2:02 AM, Geeta Geeta via RT
> <met_help at ucar.edu>
> > > > wrote:
> > > >
> > > > >
> > > > > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453
> >
> > > > >
> > > > > Hi John.
> > > > > Thanks for wonderful ideas.
> > > > > The first one is working. but I have yet to run grid_stat to
> see if
> > > > > everything is working finally. I ll try the ncatted.
> > > > >
> > > > > To sum up all the nc files (for the times that I want), I
did
> try the
> > > > > pcp_combine. But I guess It only works for the GRIB files.
> > > > > I have sent to u the error before. I tried to use MET3.0 for
> that
> > > which is
> > > > > installed in my HPC.
> > > > > I have 5.0 on my personal system. Will try that exercise in
> this
> > > system.
> > > > > Thanks again for your help.
> > > > > Geeta
> > > > >
> > > > >
> > > > > > Subject: Re: [rt.rap.ucar.edu #70453] combining nc files
> together
> > > > > > From: met_help at ucar.edu
> > > > > > To: geeta124 at hotmail.com
> > > > > > Date: Wed, 4 Feb 2015 11:21:19 -0700
> > > > > >
> > > > > > Geeta,
> > > > > >
> > > > > > The trmmbin2nc.R script is set up to only handle the TRMM
> binary data
> > > > > > exactly from that website.  The timing information for
that
> binary
> > > data
> > > > > is
> > > > > > only contained in the file name, and you've renamed those
> files.  So
> > > the
> > > > > > script doesn't know how to parse them.
> > > > > >
> > > > > > Here's 2 options:
> > > > > > (1) Rename that file using the "daily" file naming
> conventions:
> > > > > >    cp Obs22apr2011.bin 3B42_daily.2011.04.22.7.bin
> > > > > >    Rscript 3B42_daily.2011.04.22.7.bin
> 3B42_daily.2011.04.22.7.nc
> > > > > >
> > > > > > That will produce output but it'll assume the
precipitation
> is
> > > > > accumulated
> > > > > > for 24-hours from 20110422 00Z to 20110423 00Z.  If the
> times should
> > > be
> > > > > > something different you could... edit the Rscript to use
the
> times
> > > you
> > > > > > want... or use the "ncatted" tool to modify the timing
> information
> > > listed
> > > > > > in the output NetCDF file.
> > > > > >
> > > > > > (2) Or, as we've discussed in the past, you could run each
> of the
> > > 3-hour
> > > > > > files through the trmmbin2nc.R script and write out NetCDF
> files.
> > > Then
> > > > > run
> > > > > > those 3-hourly NetCDF files through pcp_combine to add
them
> up.
> > > > > >
> > > > > > Thanks,
> > > > > > John
> > > > > >
> > > > > >
> > > > > > On Sun, Feb 1, 2015 at 11:27 PM, Geeta Geeta via RT <
> > > met_help at ucar.edu>
> > > > > > wrote:
> > > > > >
> > > > > > >
> > > > > > > <URL:
> https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453 >
> > > > > > >
> > > > > > > Hi John.
> > > > > > > This is an old Ticket. Kindly sort this issue too.
> > > > > > > I was able to sum up all the 3 hourly TRMM files and
then
> convert
> > > the
> > > > > > > final file into One called Obs22apr2011.bin.
> > > > > > > I had used Grads for summing up all the 8 files. and now
I
> am using
> > > > > the R
> > > > > > > script for
> > > > > > > converting into NC.
> > > > > > > But I got the error.
> > > > > > > aditya at agniilap:~/geeta/installs/met/RUN_MET-22apr2011$
> Rscript
> > > > > > > ../trmm_to_nc/trmmbin2nc_mod.R Obs22apr2011.bin
> Obs22apr2011.nc
> > > > > > >
> > > > > > >
> > > > > > > ERROR: Can't figure out the accumulation interval!I am
> sending you
> > > the
> > > > > > > data that I converted using Grads.
> > > > > > > Geeta
> > > > > > >
> > > > > > > > Subject: Re: [rt.rap.ucar.edu #70453] combining nc
files
> > > together
> > > > > > > > From: met_help at ucar.edu
> > > > > > > > To: geeta124 at hotmail.com
> > > > > > > > Date: Fri, 30 Jan 2015 11:04:18 -0700
> > > > > > > >
> > > > > > > > Geeta,
> > > > > > > >
> > > > > > > > I don't have time to adapt that Rscript for your use
> with
> > > Grid-Stat.
> > > > > > > > However, we did do something very similar for a
previous
> > > project.  I
> > > > > have
> > > > > > > > attached an Rscript named "fss_quilt_plot.R" you could
> easily
> > > adapt
> > > > > to
> > > > > > > > create a quilt plot for your data.  I've also attached
a
> copy of
> > > the
> > > > > > > paper
> > > > > > > > for which this script was used.  Please look at figure
> 7.
> > > > > > > >
> > > > > > > > Thanks,
> > > > > > > > John
> > > > > > > >
> > > > > > > > On Fri, Jan 30, 2015 at 1:03 AM, Geeta Geeta via RT <
> > > > > met_help at ucar.edu>
> > > > > > > > wrote:
> > > > > > > >
> > > > > > > > >
> > > > > > > > > <URL:
> https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453
> > > >
> > > > > > > > >
> > > > > > > > > Hi John.
> > > > > > > > > I changed different widths in the configuration
file.
> > > > > (Width=1,3,5,,7
> > > > > > > etc).
> > > > > > > > >
> > > > > > > > > // Neighborhood methods
> > > > > > > > > //
> > > > > > > > > nbrhd = {
> > > > > > > > >    vld_thresh = 1.0;
> > > > > > > > >    width      = [ 7 ];
> > > > > > > > >    cov_thresh = [ >=0.5 ];
> > > > > > > > > }
> > > > > > > > > and got various outputs (for different widths) which
> are in
> > > > > different
> > > > > > > > > directories.
> > > > > > > > > Now I saw the R script on the website which is
> probably
> > > > > exclusively for
> > > > > > > > > the MODE TOOL only.
> > > > > > > > > Now my question is how to make the quilt plot for
the
> GRid stat
> > > > > > > tool???.
> > > > > > > > > Sorry I m not familiar with R  now.
> > > > > > > > > Pls help.
> > > > > > > > > Geeta.
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > From: geeta124 at hotmail.com
> > > > > > > > > To: met_help at ucar.edu
> > > > > > > > > Subject: RE: [rt.rap.ucar.edu #70453] combining nc
> files
> > > together
> > > > > > > > > Date: Thu, 29 Jan 2015 17:05:25 +0530
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > Hi John.
> > > > > > > > > So I was able to sum up all the 3 hourly TRMM files
> and then
> > > > > convert
> > > > > > > the
> > > > > > > > > final file into One called Obs22apr2011.bin.
> > > > > > > > > I have done that using Grads and now I am using the
R
> script
> > > for
> > > > > > > > > converting into NC.
> > > > > > > > > But I got the error.
> > > > > > > > > aditya at agniilap:~/geeta/installs/met/RUN_MET-
> 22apr2011$
> > > Rscript
> > > > > > > > > ../trmm_to_nc/trmmbin2nc_mod.R Obs22apr2011.bin
> Obs22apr2011.nc
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > ERROR: Can't figure out the accumulation interval!
> > > > > > > > >
> > > > > > > > > I am sending you the data files and the R script (I
> changed the
> > > > > > > domain).
> > > > > > > > > The data is plotted fine. Also pls tell me about the
> ncview
> > > > > questions
> > > > > > > that
> > > > > > > > > I was asking. reg the plotting of MPR's
> > > > > > > > > Kindly suggest.
> > > > > > > > > Geeta
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > > Subject: Re: [rt.rap.ucar.edu #70453] combining nc
> files
> > > > > together
> > > > > > > > > > From: met_help at ucar.edu
> > > > > > > > > > To: geeta124 at hotmail.com
> > > > > > > > > > Date: Mon, 26 Jan 2015 09:58:32 -0700
> > > > > > > > > >
> > > > > > > > > > Geeta,
> > > > > > > > > >
> > > > > > > > > > On that webpage (
> > > > > > > > > >
> > > http://www.dtcenter.org/met/users/downloads/analysis_scripts.php
> > > > > ),
> > > > > > > > > please
> > > > > > > > > > look specifically at the script named
> "mode_quilt_plot.R".
> > > > > Here's
> > > > > > > the
> > > > > > > > > > direct link to that script:
> > > > > > > > > >
> > > > > > > > >
> > > > >
>
http://www.dtcenter.org/met/users/downloads/Rscripts/mode_quilt_plot.R
> > > > > > > > > >
> > > > > > > > > > And here's a direct link to the sample output that
> script
> > > > > creates:
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > >
> > > > >
> > >
>
http://www.dtcenter.org/met/users/downloads/Rscripts/SAMPLE_mode_quilts.pdf
> > > > > > > > > >
> > > > > > > > > > This is an example of using R to make a quilt plot
> for the
> > > > > output of
> > > > > > > the
> > > > > > > > > > MODE tool.  You might also use a quilt plot to
> display
> > > fractions
> > > > > > > skill
> > > > > > > > > > score from the Grid-Stat tool, if you've run FSS
for
> multiple
> > > > > > > thresholds
> > > > > > > > > > and neighborhood sizes.
> > > > > > > > > >
> > > > > > > > > > John
> > > > > > > > > >
> > > > > > > > > > On Mon, Jan 26, 2015 at 7:28 AM, Geeta Geeta via
RT
> <
> > > > > > > met_help at ucar.edu>
> > > > > > > > > > wrote:
> > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > <URL:
> > > https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453
> > > > > >
> > > > > > > > > > >
> > > > > > > > > > > Hi John.
> > > > > > > > > > > the link
> > > > > > > > >
> > > http://www.dtcenter.org/met/users/downloads/analysis_scripts.php
> > > > > > > > > > > has the plots for the cnt statistics.
> > > > > > > > > > > I am not familiar with R. I am going thru the
> plot_cnt.R
> > > > > script.
> > > > > > > > > > > but I want to know what will be the data format
> for the
> > > Quilt
> > > > > plot.
> > > > > > > > > > > Do I have to write my own script???.
> > > > > > > > > > > Kindly let me know about the data format and how
I
> have to
> > > > > modify
> > > > > > > the
> > > > > > > > > > > above script in order to make the quilt plot.
> > > > > > > > > > > Regards
> > > > > > > > > > > Geeta
> > > > > > > > > > >
> > > > > > > > > > > > Subject: Re: [rt.rap.ucar.edu #70453]
combining
> nc files
> > > > > > > together
> > > > > > > > > > > > From: met_help at ucar.edu
> > > > > > > > > > > > To: geeta124 at hotmail.com
> > > > > > > > > > > > Date: Fri, 23 Jan 2015 11:09:23 -0700
> > > > > > > > > > > >
> > > > > > > > > > > > Geeta,
> > > > > > > > > > > >
> > > > > > > > > > > > Regarding 3-hourly RF accumulations, if MET is
> able to
> > > read
> > > > > those
> > > > > > > > > NetCDF
> > > > > > > > > > > > files, you can run them through PCP-Combine to
> "add"
> > > them all
> > > > > > > > > together.
> > > > > > > > > > > > Just use the example PCP_Combine command I
> already sent
> > > you
> > > > > but
> > > > > > > > > modify
> > > > > > > > > > > the
> > > > > > > > > > > > "name" entry to list the name of the NetCDF
> variable you
> > > > > want to
> > > > > > > > > use.  If
> > > > > > > > > > > > MET is not able to read them, then it's up to
> you to
> > > figure
> > > > > out
> > > > > > > how
> > > > > > > > > to
> > > > > > > > > > > > accumulate them.
> > > > > > > > > > > >
> > > > > > > > > > > > If you're familiar with R, you could use the
> "ncdf"
> > > library
> > > > > in R
> > > > > > > to
> > > > > > > > > read
> > > > > > > > > > > > data from one or more NetCDF files, add them
up,
> and
> > > write it
> > > > > > > out to
> > > > > > > > > a
> > > > > > > > > > > new
> > > > > > > > > > > > file.  Alternatively, "nco" (NetCDF Operators)
> provide
> > > some
> > > > > > > > > capability of
> > > > > > > > > > > > doing simple operations on NetCDF files.  You
> might be
> > > able
> > > > > to
> > > > > > > use
> > > > > > > > > them.
> > > > > > > > > > > >
> > > > > > > > > > > > Regarding quilt plots, I've only used R to
make
> them in
> > > the
> > > > > past.
> > > > > > > > > > > > Specifically, the "quilt.plot" function in the
R
> package
> > > > > named
> > > > > > > > > "fields".
> > > > > > > > > > > > Please take a look at this website:
> > > > > > > > > > > >
> > > > > > >
> http://www.dtcenter.org/met/users/downloads/analysis_scripts.php
> > > > > > > > > > > >
> > > > > > > > > > > > The Rscript named "mode_quilt_plot.R" provides
> an
> > > example of
> > > > > > > using R
> > > > > > > > > to
> > > > > > > > > > > > make quilt plots.  Example output from that
> script is
> > > also
> > > > > > > included
> > > > > > > > > on
> > > > > > > > > > > that
> > > > > > > > > > > > page.
> > > > > > > > > > > >
> > > > > > > > > > > > Thanks,
> > > > > > > > > > > > John
> > > > > > > > > > > >
> > > > > > > > > > > > On Fri, Jan 23, 2015 at 4:06 AM, Geeta Geeta
via
> RT <
> > > > > > > > > met_help at ucar.edu>
> > > > > > > > > > > > wrote:
> > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > <URL:
> > > > > https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453
> > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > Hi John. Your help is needed at every step.
> Now I want
> > > to
> > > > > know
> > > > > > > > > which
> > > > > > > > > > > > > software can be used for making the QUILT
plot
> > > (intensity
> > > > > and
> > > > > > > > > spatial
> > > > > > > > > > > > > distribution) plot. Can It be done in using
> MET5.0. How
> > > > > Can I
> > > > > > > plot
> > > > > > > > > the
> > > > > > > > > > > > > point data that I used in MET5.0???KIndly
> guide me.
> > > Also
> > > > > pls
> > > > > > > tell
> > > > > > > > > me
> > > > > > > > > > > if u
> > > > > > > > > > > > > can figure out the issue of 3hrly RF
> accumulations if
> > > the
> > > > > files
> > > > > > > > > are in
> > > > > > > > > > > the
> > > > > > > > > > > > > NETCDF format. Geeta
> > > > > > > > > > > > >
> > > > > > > > > > > > > From: geeta124 at hotmail.com
> > > > > > > > > > > > > To: met_help at ucar.edu
> > > > > > > > > > > > > Subject: RE: [rt.rap.ucar.edu #70453]
> combining nc
> > > files
> > > > > > > together
> > > > > > > > > > > > > Date: Thu, 22 Jan 2015 16:30:34 +0530
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > thanks John.  the pcp combine tool uses only
> GRIB1
> > > files.
> > > > > these
> > > > > > > > > were
> > > > > > > > > > > > > netcdf files (attaching one).I had
downloaded
> the NC
> > > files
> > > > > from
> > > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > >
> > > > > > >
> > > > >
> > > http://mirador.gsfc.nasa.gov/cgi-
> bin/mirador/granlist.pl?page=1&location=(-90,-
>
180),(90,180)&dataSet=TRMM_3B42&version=007&allversion=007&startTime=2011-
> 04-22T00:00:01Z&endTime=2011-04-
> 22T23:59:59Z&keyword=TRMM_3B42&longname=TRMM%203-
>
Hourly%200.25%20deg.%20TRMM%20and%20Others%20Rainfall%20Estimate%20Data&CGISESSID=02499c2107ddfb60a3e46d6b99df3d79&prodpg=http://mirador.gsfc.nasa.gov/collections/TRMM_3B42__007.shtmlI
> > > > > > > > > > > > > got following error. bash-3.2$
> ./run_pcptool.sh
> > > Running PCP
> > > > > > > > > > > toolPerforming
> > > > > > > > > > > > > addition command for 2 files.Reading input
> file:
> > > > > > > > > 3B42.20110422.12.7.nc
> > > > > > > > > > > > > GribFile::skip_header() -> can't find "GRIB"
> magic
> > > cookie
> > > > > > >  ERROR:
> > > > > > > > > > > > > get_field() -> can't open grib file:
> > > 3B42.20110422.12.7.nc
> > > > > > > > > > > > > Following is my script--------!/bin/sh
> > > > > > > > > > > > >
> > > > > > > > > > > > >              echo " Running PCP
> > > > > > > > > > > > >
tool"~/wrf3/utils/met/METv3.0/bin/pcp_combine
> -add
> > > > > > > > > > > 3B42.20110422.12.7.nc
> > > > > > > > > > > > > 03 3B42.20110422.15.7.nc 03 myoutput.nc
> > > > > > > > > > > > > Kindly suggest.
> > > > > > > > > > > > >
> > > > > > > > > > > > > the second thing I was thinking to download
> the TRMM
> > > data
> > > > > from
> > > > > > > > > thelink
> > > > > > > > > > > at
> > > > > > > > > > > > > DTC website and then converying the 3 hourly
> bins to
> > > NC.
> > > > > > > > > > > > > 2.2 MBftp://
> > > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > >
> > > > > > >
> > > > >
> > >
>
disc2.nascom.nasa.gov/data/TRMM/Gridded/3B42_V7/201104/3B42.110422.15z.7.precipitation.bin
> > > > > > > > > > > > > But my problem will be to ACCUMULATE them. I
> need to
> > > > > verify the
> > > > > > > > > model
> > > > > > > > > > > data
> > > > > > > > > > > > > starting 06 UTC of day1 to 03UTC of DAY2. I
> mean how
> > > do I
> > > > > > > combine
> > > > > > > > > all
> > > > > > > > > > > the
> > > > > > > > > > > > > NC  files together. Kindly suggest
> > > > > > > > > > > > > > Subject: Re: [rt.rap.ucar.edu #70453]
> combining nc
> > > files
> > > > > > > > > together
> > > > > > > > > > > > > > From: met_help at ucar.edu
> > > > > > > > > > > > > > To: geeta124 at hotmail.com
> > > > > > > > > > > > > > Date: Wed, 21 Jan 2015 10:45:12 -0700
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Geeta,
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > I'm assuming the variable in the NetCDF
> files is
> > > named
> > > > > > > > > "APCP_03".  If
> > > > > > > > > > > > > not,
> > > > > > > > > > > > > > just switch in the actual name.  You can
run
> the
> > > > > following
> > > > > > > > > > > pcp_combine
> > > > > > > > > > > > > -add
> > > > > > > > > > > > > > command:
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > pcp_combine -add \
> > > > > > > > > > > > > >    3B42.20110422.09.7.nc 'name="APCP_03";
> > > > > level="(*,*)";' \
> > > > > > > > > > > > > >    3B42.20110422.12.7.nc 'name="APCP_03";
> > > > > level="(*,*)";' \
> > > > > > > > > > > > > >    3B42.20110422.15.7.nc 'name="APCP_03";
> > > > > level="(*,*)";' \
> > > > > > > > > > > > > >    3B42.20110422.18.7.nc 'name="APCP_03";
> > > > > level="(*,*)";' \
> > > > > > > > > > > > > >    3B42.20110422.21.7.nc 'name="APCP_03";
> > > > > level="(*,*)";' \
> > > > > > > > > > > > > >    3B42.20110423.00.7.nc 'name="APCP_03";
> > > > > level="(*,*)";' \
> > > > > > > > > > > > > >    3B42.20110423.03.7.nc 'name="APCP_03";
> > > > > level="(*,*)";' \
> > > > > > > > > > > > > >    3B42.20110423.06.7.nc 'name="APCP_03";
> > > > > level="(*,*)";' \
> > > > > > > > > > > > > >    3B42.20110423.06.7_APCP_24.nc
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > The last file listed is just the output
file
> name I
> > > > > chose.
> > > > > > > But
> > > > > > > > > you
> > > > > > > > > > > can
> > > > > > > > > > > > > > name it whatever you'd like.
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > John
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > On Wed, Jan 21, 2015 at 4:02 AM, Geeta
Geeta
> via RT <
> > > > > > > > > > > met_help at ucar.edu>
> > > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > Wed Jan 21 04:02:41 2015: Request 70453
> was acted
> > > upon.
> > > > > > > > > > > > > > > Transaction: Ticket created by
> > > geeta124 at hotmail.com
> > > > > > > > > > > > > > >        Queue: met_help
> > > > > > > > > > > > > > >      Subject: combining nc files
together
> > > > > > > > > > > > > > >        Owner: Nobody
> > > > > > > > > > > > > > >   Requestors: geeta124 at hotmail.com
> > > > > > > > > > > > > > >       Status: new
> > > > > > > > > > > > > > >  Ticket <URL:
> > > > > > > > > > >
> https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > Hi John.
> > > > > > > > > > > > > > > Sorry to bother you again n again. But I
> have no
> > > > > choice. I
> > > > > > > > > want to
> > > > > > > > > > > know
> > > > > > > > > > > > > > > the followingI have 8 nc files. bash-
3.2$
> ls
> > > -ltotal
> > > > > > > > > > > 216336-rw-r--r--
> > > > > > > > > > > > >   1
> > > > > > > > > > > > > > > model    staff      13841488 Jan 21
11:24
> > > > > > > > > > > > > 3B42.20110422.06.7.nc-rw-r--r--
> > > > > > > > > > > > > > >   1 model    staff      13841488 Jan 21
> 11:27
> > > > > > > > > > > > > > > 3B42.20110422.09.7.nc-rw-r--r--    1
model
> staff
> > > > > > > > > 13841492
> > > > > > > > > > > Jan
> > > > > > > > > > > > > 21
> > > > > > > > > > > > > > > 14:01 3B42.20110422.12.7.nc-rw-r--r--
1
> model
> > > > > staff
> > > > > > > > > > > > > 13841492 Jan
> > > > > > > > > > > > > > > 21 13:16 3B42.20110422.15.7.nc-rw-r--r--
> 1 model
> > > > > > > staff
> > > > > > > > > > > > > 13841492
> > > > > > > > > > > > > > > Jan 21 14:51 3B42.20110422.18.7.nc-rw-
r--
> r--    1
> > > model
> > > > > > > > > staff
> > > > > > > > > > > > > > > 13841492 Jan 21 13:21
> > > 3B42.20110422.21.7.nc-rw-r--r--
> > > > >   1
> > > > > > > > > model
> > > > > > > > > > > > > staff
> > > > > > > > > > > > > > >     13841488 Jan 21 13:22
> > > > > 3B42.20110423.00.7.nc-rw-r--r--
> > > > > > >   1
> > > > > > > > > > > model
> > > > > > > > > > > > > > > staff      13841488 Jan 21 13:50
> > > > > > > > > 3B42.20110423.03.7.ncbash-3.2$ pwd
> > > > > > > > > > > > > > > I need to make ONE 24 hour RF
accumulated
> file
> > > starting
> > > > > > > 06UTC
> > > > > > > > > of
> > > > > > > > > > > > > > > 22.04.2011 - 03UTC of 23.04.2011. How do
I
> do
> > > that???
> > > > > > > > > > > > > > > Geeta
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > > >
> > > >
> > >
> > >
> >
>
> ------------------------------------------------
> Subject: combining nc files together
> From: Tressa Fowler
> Time: Tue Feb 17 13:47:06 2015
>
> Hi Geeta,
>
> The paper we sent was not A reference, it was THE reference, the
> original published work on the FSS. Of course, algebra allows
> equations to be expressed in many equivalent formats. Feel free to
use
> whichever form you like.
>
> The Spatial Vx package has many verification methods, but it is
> relatively new and untested. I'm sure you can reference that
package's
> documentation for full details of the available methods.
>
> Happy verifying,
>
> Tressa
>
> On Mon Feb 16 04:32:17 2015, geeta124 at hotmail.com wrote:
> > Hi John.
> > In Your article, FSS is defined as the
> > FSS (n) = 1 - (MSE(n)/MSE(n) ref).
> >
> > In another paper's I found it to be little different. It was
related
> >    to the FBS Fractional Brier Score.
> >
> > Can U pls explain be the differences???.
> > Also I came across SpatialVx package.
> > Does that also provide all the verification procedures???
> > Geeta
> >
> >
> > From: geeta124 at hotmail.com
> > To: met_help at ucar.edu
> > Subject: RE: [rt.rap.ucar.edu #70453] combining nc files together
> > Date: Thu, 12 Feb 2015 11:14:17 +0530
> >
> >
> >
> >
> > hi John.
> > I had read ur article that U have sent reg the FSS and the MODE
> tools.
> >    I could not understand the meaning of FORECAST SKILL associated
> >    with Uniform FOrECAST. This is what is mentioed in the FSS
> section
> >    of Ur article.
> > I didnt understand the concept/idea. if U could just explain a
> little
> >    more I can build/read some articles that you would suggest.
> > Thanks for ur help.
> > Geeta
> >
> > > Subject: Re: [rt.rap.ucar.edu #70453] combining nc files
together
> > > From: met_help at ucar.edu
> > > To: geeta124 at hotmail.com
> > > Date: Wed, 11 Feb 2015 10:17:33 -0700
> > >
> > > Geeta,
> > >
> > > I think your reference to an article must be from a different
> email
> >    chain.
> > >
> > > I see that you're asking about "FORECAST skill associated with
the
> >    Uniform
> > > forecast".  Are you looking for more references related to
> >    neighborhood
> > > verification statistics, like Fractions Skill Score?
> > >
> > > Thanks,
> > > John
> > >
> > > On Mon, Feb 9, 2015 at 1:53 AM, Geeta Geeta via RT
> >    <met_help at ucar.edu>
> > > wrote:
> > >
> > > >
> > > > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453
>
> > > >
> > > > Hi John.
> > > > Thanks for the article. It is very informative.
> > > > I dont know if i should be asking at this forum, the meaning
of
> >    the
> > > > "FORECAST skill associated with the Uniform forecast" as you
> have
> >    mentioned
> > > > in your paper.
> > > > If U give me some references, it would be great.
> > > > Geeta
> > > >
> > > > > Subject: Re: [rt.rap.ucar.edu #70453] combining nc files
> >    together
> > > > > From: met_help at ucar.edu
> > > > > To: geeta124 at hotmail.com
> > > > > Date: Thu, 5 Feb 2015 10:33:59 -0700
> > > > >
> > > > > Geeta,
> > > > >
> > > > > You're correct, you can only use the "sum" command of
> >    pcp_combine for
> > > > GRIB1
> > > > > or GRIB2 files...
> > > > >
> > > > > But, you can use the "add" command on any gridded data file
> >    format that
> > > > MET
> > > > > supports.  Adding together 8 NetCDF files with pcp_combine
> would
> >    look
> > > > > something like this:
> > > > >
> > > > > pcp_combine -add \
> > > > > file1.nc 'name="APCP_03"; level="(*,*)";' \
> > > > > file2.nc 'name="APCP_03"; level="(*,*)";' \
> > > > > ...
> > > > > file8.nc 'name="APCP_03"; level="(*,*)";' \
> > > > > APCP_24.nc
> > > > >
> > > > > It makes for a longer command line, but it is possible to do
> >    with
> > > > > pcp_combine.
> > > > >
> > > > > John
> > > > >
> > > > >
> > > > >
> > > > > On Thu, Feb 5, 2015 at 2:02 AM, Geeta Geeta via RT
> >    <met_help at ucar.edu>
> > > > > wrote:
> > > > >
> > > > > >
> > > > > > <URL:
> https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453
> >    >
> > > > > >
> > > > > > Hi John.
> > > > > > Thanks for wonderful ideas.
> > > > > > The first one is working. but I have yet to run grid_stat
to
> >    see if
> > > > > > everything is working finally. I ll try the ncatted.
> > > > > >
> > > > > > To sum up all the nc files (for the times that I want), I
> did
> >    try the
> > > > > > pcp_combine. But I guess It only works for the GRIB files.
> > > > > > I have sent to u the error before. I tried to use MET3.0
for
> >    that
> > > > which is
> > > > > > installed in my HPC.
> > > > > > I have 5.0 on my personal system. Will try that exercise
in
> >    this
> > > > system.
> > > > > > Thanks again for your help.
> > > > > > Geeta
> > > > > >
> > > > > >
> > > > > > > Subject: Re: [rt.rap.ucar.edu #70453] combining nc files
> >    together
> > > > > > > From: met_help at ucar.edu
> > > > > > > To: geeta124 at hotmail.com
> > > > > > > Date: Wed, 4 Feb 2015 11:21:19 -0700
> > > > > > >
> > > > > > > Geeta,
> > > > > > >
> > > > > > > The trmmbin2nc.R script is set up to only handle the
TRMM
> >    binary data
> > > > > > > exactly from that website.  The timing information for
> that
> >    binary
> > > > data
> > > > > > is
> > > > > > > only contained in the file name, and you've renamed
those
> >    files.  So
> > > > the
> > > > > > > script doesn't know how to parse them.
> > > > > > >
> > > > > > > Here's 2 options:
> > > > > > > (1) Rename that file using the "daily" file naming
> >    conventions:
> > > > > > >    cp Obs22apr2011.bin 3B42_daily.2011.04.22.7.bin
> > > > > > >    Rscript 3B42_daily.2011.04.22.7.bin
> >    3B42_daily.2011.04.22.7.nc
> > > > > > >
> > > > > > > That will produce output but it'll assume the
> precipitation
> >    is
> > > > > > accumulated
> > > > > > > for 24-hours from 20110422 00Z to 20110423 00Z.  If the
> >    times should
> > > > be
> > > > > > > something different you could... edit the Rscript to use
> the
> >    times
> > > > you
> > > > > > > want... or use the "ncatted" tool to modify the timing
> >    information
> > > > listed
> > > > > > > in the output NetCDF file.
> > > > > > >
> > > > > > > (2) Or, as we've discussed in the past, you could run
each
> >    of the
> > > > 3-hour
> > > > > > > files through the trmmbin2nc.R script and write out
NetCDF
> >    files.
> > > > Then
> > > > > > run
> > > > > > > those 3-hourly NetCDF files through pcp_combine to add
> them
> >    up.
> > > > > > >
> > > > > > > Thanks,
> > > > > > > John
> > > > > > >
> > > > > > >
> > > > > > > On Sun, Feb 1, 2015 at 11:27 PM, Geeta Geeta via RT <
> > > > met_help at ucar.edu>
> > > > > > > wrote:
> > > > > > >
> > > > > > > >
> > > > > > > > <URL:
> >    https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453 >
> > > > > > > >
> > > > > > > > Hi John.
> > > > > > > > This is an old Ticket. Kindly sort this issue too.
> > > > > > > > I was able to sum up all the 3 hourly TRMM files and
> then
> >    convert
> > > > the
> > > > > > > > final file into One called Obs22apr2011.bin.
> > > > > > > > I had used Grads for summing up all the 8 files. and
now
> I
> >    am using
> > > > > > the R
> > > > > > > > script for
> > > > > > > > converting into NC.
> > > > > > > > But I got the error.
> > > > > > > > aditya at agniilap:~/geeta/installs/met/RUN_MET-
22apr2011$
> >    Rscript
> > > > > > > > ../trmm_to_nc/trmmbin2nc_mod.R Obs22apr2011.bin
> >    Obs22apr2011.nc
> > > > > > > >
> > > > > > > >
> > > > > > > > ERROR: Can't figure out the accumulation interval!I am
> >    sending you
> > > > the
> > > > > > > > data that I converted using Grads.
> > > > > > > > Geeta
> > > > > > > >
> > > > > > > > > Subject: Re: [rt.rap.ucar.edu #70453] combining nc
> files
> > > > together
> > > > > > > > > From: met_help at ucar.edu
> > > > > > > > > To: geeta124 at hotmail.com
> > > > > > > > > Date: Fri, 30 Jan 2015 11:04:18 -0700
> > > > > > > > >
> > > > > > > > > Geeta,
> > > > > > > > >
> > > > > > > > > I don't have time to adapt that Rscript for your use
> >    with
> > > > Grid-Stat.
> > > > > > > > > However, we did do something very similar for a
> previous
> > > > project.  I
> > > > > > have
> > > > > > > > > attached an Rscript named "fss_quilt_plot.R" you
could
> >    easily
> > > > adapt
> > > > > > to
> > > > > > > > > create a quilt plot for your data.  I've also
attached
> a
> >    copy of
> > > > the
> > > > > > > > paper
> > > > > > > > > for which this script was used.  Please look at
figure
> >    7.
> > > > > > > > >
> > > > > > > > > Thanks,
> > > > > > > > > John
> > > > > > > > >
> > > > > > > > > On Fri, Jan 30, 2015 at 1:03 AM, Geeta Geeta via RT
<
> > > > > > met_help at ucar.edu>
> > > > > > > > > wrote:
> > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > <URL:
> >    https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453
> > > > >
> > > > > > > > > >
> > > > > > > > > > Hi John.
> > > > > > > > > > I changed different widths in the configuration
> file.
> > > > > > (Width=1,3,5,,7
> > > > > > > > etc).
> > > > > > > > > >
> > > > > > > > > > // Neighborhood methods
> > > > > > > > > > //
> > > > > > > > > > nbrhd = {
> > > > > > > > > >    vld_thresh = 1.0;
> > > > > > > > > >    width      = [ 7 ];
> > > > > > > > > >    cov_thresh = [ >=0.5 ];
> > > > > > > > > > }
> > > > > > > > > > and got various outputs (for different widths)
which
> >    are in
> > > > > > different
> > > > > > > > > > directories.
> > > > > > > > > > Now I saw the R script on the website which is
> >    probably
> > > > > > exclusively for
> > > > > > > > > > the MODE TOOL only.
> > > > > > > > > > Now my question is how to make the quilt plot for
> the
> >    GRid stat
> > > > > > > > tool???.
> > > > > > > > > > Sorry I m not familiar with R  now.
> > > > > > > > > > Pls help.
> > > > > > > > > > Geeta.
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > From: geeta124 at hotmail.com
> > > > > > > > > > To: met_help at ucar.edu
> > > > > > > > > > Subject: RE: [rt.rap.ucar.edu #70453] combining nc
> >    files
> > > > together
> > > > > > > > > > Date: Thu, 29 Jan 2015 17:05:25 +0530
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > Hi John.
> > > > > > > > > > So I was able to sum up all the 3 hourly TRMM
files
> >    and then
> > > > > > convert
> > > > > > > > the
> > > > > > > > > > final file into One called Obs22apr2011.bin.
> > > > > > > > > > I have done that using Grads and now I am using
the
> R
> >    script
> > > > for
> > > > > > > > > > converting into NC.
> > > > > > > > > > But I got the error.
> > > > > > > > > > aditya at agniilap:~/geeta/installs/met/RUN_MET-
> >    22apr2011$
> > > > Rscript
> > > > > > > > > > ../trmm_to_nc/trmmbin2nc_mod.R Obs22apr2011.bin
> >    Obs22apr2011.nc
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > ERROR: Can't figure out the accumulation interval!
> > > > > > > > > >
> > > > > > > > > > I am sending you the data files and the R script
(I
> >    changed the
> > > > > > > > domain).
> > > > > > > > > > The data is plotted fine. Also pls tell me about
the
> >    ncview
> > > > > > questions
> > > > > > > > that
> > > > > > > > > > I was asking. reg the plotting of MPR's
> > > > > > > > > > Kindly suggest.
> > > > > > > > > > Geeta
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > > Subject: Re: [rt.rap.ucar.edu #70453] combining
nc
> >    files
> > > > > > together
> > > > > > > > > > > From: met_help at ucar.edu
> > > > > > > > > > > To: geeta124 at hotmail.com
> > > > > > > > > > > Date: Mon, 26 Jan 2015 09:58:32 -0700
> > > > > > > > > > >
> > > > > > > > > > > Geeta,
> > > > > > > > > > >
> > > > > > > > > > > On that webpage (
> > > > > > > > > > >
> > > >
http://www.dtcenter.org/met/users/downloads/analysis_scripts.php
> > > > > > ),
> > > > > > > > > > please
> > > > > > > > > > > look specifically at the script named
> >    "mode_quilt_plot.R".
> > > > > > Here's
> > > > > > > > the
> > > > > > > > > > > direct link to that script:
> > > > > > > > > > >
> > > > > > > > > >
> > > > > >
> >
>
http://www.dtcenter.org/met/users/downloads/Rscripts/mode_quilt_plot.R
> > > > > > > > > > >
> > > > > > > > > > > And here's a direct link to the sample output
that
> >    script
> > > > > > creates:
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > >
> > > > > >
> > > >
> >
>
http://www.dtcenter.org/met/users/downloads/Rscripts/SAMPLE_mode_quilts.pdf
> > > > > > > > > > >
> > > > > > > > > > > This is an example of using R to make a quilt
plot
> >    for the
> > > > > > output of
> > > > > > > > the
> > > > > > > > > > > MODE tool.  You might also use a quilt plot to
> >    display
> > > > fractions
> > > > > > > > skill
> > > > > > > > > > > score from the Grid-Stat tool, if you've run FSS
> for
> >    multiple
> > > > > > > > thresholds
> > > > > > > > > > > and neighborhood sizes.
> > > > > > > > > > >
> > > > > > > > > > > John
> > > > > > > > > > >
> > > > > > > > > > > On Mon, Jan 26, 2015 at 7:28 AM, Geeta Geeta via
> RT
> >    <
> > > > > > > > met_help at ucar.edu>
> > > > > > > > > > > wrote:
> > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > <URL:
> > > > https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453
> > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > Hi John.
> > > > > > > > > > > > the link
> > > > > > > > > >
> > > >
http://www.dtcenter.org/met/users/downloads/analysis_scripts.php
> > > > > > > > > > > > has the plots for the cnt statistics.
> > > > > > > > > > > > I am not familiar with R. I am going thru the
> >    plot_cnt.R
> > > > > > script.
> > > > > > > > > > > > but I want to know what will be the data
format
> >    for the
> > > > Quilt
> > > > > > plot.
> > > > > > > > > > > > Do I have to write my own script???.
> > > > > > > > > > > > Kindly let me know about the data format and
how
> I
> >    have to
> > > > > > modify
> > > > > > > > the
> > > > > > > > > > > > above script in order to make the quilt plot.
> > > > > > > > > > > > Regards
> > > > > > > > > > > > Geeta
> > > > > > > > > > > >
> > > > > > > > > > > > > Subject: Re: [rt.rap.ucar.edu #70453]
> combining
> >    nc files
> > > > > > > > together
> > > > > > > > > > > > > From: met_help at ucar.edu
> > > > > > > > > > > > > To: geeta124 at hotmail.com
> > > > > > > > > > > > > Date: Fri, 23 Jan 2015 11:09:23 -0700
> > > > > > > > > > > > >
> > > > > > > > > > > > > Geeta,
> > > > > > > > > > > > >
> > > > > > > > > > > > > Regarding 3-hourly RF accumulations, if MET
is
> >    able to
> > > > read
> > > > > > those
> > > > > > > > > > NetCDF
> > > > > > > > > > > > > files, you can run them through PCP-Combine
to
> >    "add"
> > > > them all
> > > > > > > > > > together.
> > > > > > > > > > > > > Just use the example PCP_Combine command I
> >    already sent
> > > > you
> > > > > > but
> > > > > > > > > > modify
> > > > > > > > > > > > the
> > > > > > > > > > > > > "name" entry to list the name of the NetCDF
> >    variable you
> > > > > > want to
> > > > > > > > > > use.  If
> > > > > > > > > > > > > MET is not able to read them, then it's up
to
> >    you to
> > > > figure
> > > > > > out
> > > > > > > > how
> > > > > > > > > > to
> > > > > > > > > > > > > accumulate them.
> > > > > > > > > > > > >
> > > > > > > > > > > > > If you're familiar with R, you could use the
> >    "ncdf"
> > > > library
> > > > > > in R
> > > > > > > > to
> > > > > > > > > > read
> > > > > > > > > > > > > data from one or more NetCDF files, add them
> up,
> >    and
> > > > write it
> > > > > > > > out to
> > > > > > > > > > a
> > > > > > > > > > > > new
> > > > > > > > > > > > > file.  Alternatively, "nco" (NetCDF
Operators)
> >    provide
> > > > some
> > > > > > > > > > capability of
> > > > > > > > > > > > > doing simple operations on NetCDF files.
You
> >    might be
> > > > able
> > > > > > to
> > > > > > > > use
> > > > > > > > > > them.
> > > > > > > > > > > > >
> > > > > > > > > > > > > Regarding quilt plots, I've only used R to
> make
> >    them in
> > > > the
> > > > > > past.
> > > > > > > > > > > > > Specifically, the "quilt.plot" function in
the
> R
> >    package
> > > > > > named
> > > > > > > > > > "fields".
> > > > > > > > > > > > > Please take a look at this website:
> > > > > > > > > > > > >
> > > > > > > >
> >
http://www.dtcenter.org/met/users/downloads/analysis_scripts.php
> > > > > > > > > > > > >
> > > > > > > > > > > > > The Rscript named "mode_quilt_plot.R"
provides
> >    an
> > > > example of
> > > > > > > > using R
> > > > > > > > > > to
> > > > > > > > > > > > > make quilt plots.  Example output from that
> >    script is
> > > > also
> > > > > > > > included
> > > > > > > > > > on
> > > > > > > > > > > > that
> > > > > > > > > > > > > page.
> > > > > > > > > > > > >
> > > > > > > > > > > > > Thanks,
> > > > > > > > > > > > > John
> > > > > > > > > > > > >
> > > > > > > > > > > > > On Fri, Jan 23, 2015 at 4:06 AM, Geeta Geeta
> via
> >    RT <
> > > > > > > > > > met_help at ucar.edu>
> > > > > > > > > > > > > wrote:
> > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > <URL:
> > > > > > https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453
> > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Hi John. Your help is needed at every
step.
> >    Now I want
> > > > to
> > > > > > know
> > > > > > > > > > which
> > > > > > > > > > > > > > software can be used for making the QUILT
> plot
> > > > (intensity
> > > > > > and
> > > > > > > > > > spatial
> > > > > > > > > > > > > > distribution) plot. Can It be done in
using
> >    MET5.0. How
> > > > > > Can I
> > > > > > > > plot
> > > > > > > > > > the
> > > > > > > > > > > > > > point data that I used in MET5.0???KIndly
> >    guide me.
> > > > Also
> > > > > > pls
> > > > > > > > tell
> > > > > > > > > > me
> > > > > > > > > > > > if u
> > > > > > > > > > > > > > can figure out the issue of 3hrly RF
> >    accumulations if
> > > > the
> > > > > > files
> > > > > > > > > > are in
> > > > > > > > > > > > the
> > > > > > > > > > > > > > NETCDF format. Geeta
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > From: geeta124 at hotmail.com
> > > > > > > > > > > > > > To: met_help at ucar.edu
> > > > > > > > > > > > > > Subject: RE: [rt.rap.ucar.edu #70453]
> >    combining nc
> > > > files
> > > > > > > > together
> > > > > > > > > > > > > > Date: Thu, 22 Jan 2015 16:30:34 +0530
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > thanks John.  the pcp combine tool uses
only
> >    GRIB1
> > > > files.
> > > > > > these
> > > > > > > > > > were
> > > > > > > > > > > > > > netcdf files (attaching one).I had
> downloaded
> >    the NC
> > > > files
> > > > > > from
> > > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > >
> > > > > > > >
> > > > > >
> > > > http://mirador.gsfc.nasa.gov/cgi-
> >    bin/mirador/granlist.pl?page=1&location=(-90,-
> >
>
180),(90,180)&dataSet=TRMM_3B42&version=007&allversion=007&startTime=2011-
> >    04-22T00:00:01Z&endTime=2011-04-
> >    22T23:59:59Z&keyword=TRMM_3B42&longname=TRMM%203-
> >
>
Hourly%200.25%20deg.%20TRMM%20and%20Others%20Rainfall%20Estimate%20Data&CGISESSID=02499c2107ddfb60a3e46d6b99df3d79&prodpg=http://mirador.gsfc.nasa.gov/collections/TRMM_3B42__007.shtmlI
> > > > > > > > > > > > > > got following error. bash-3.2$
> >    ./run_pcptool.sh
> > > > Running PCP
> > > > > > > > > > > > toolPerforming
> > > > > > > > > > > > > > addition command for 2 files.Reading input
> >    file:
> > > > > > > > > > 3B42.20110422.12.7.nc
> > > > > > > > > > > > > > GribFile::skip_header() -> can't find
"GRIB"
> >    magic
> > > > cookie
> > > > > > > >  ERROR:
> > > > > > > > > > > > > > get_field() -> can't open grib file:
> > > > 3B42.20110422.12.7.nc
> > > > > > > > > > > > > > Following is my script--------!/bin/sh
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >              echo " Running PCP
> > > > > > > > > > > > > >
> tool"~/wrf3/utils/met/METv3.0/bin/pcp_combine
> >    -add
> > > > > > > > > > > > 3B42.20110422.12.7.nc
> > > > > > > > > > > > > > 03 3B42.20110422.15.7.nc 03 myoutput.nc
> > > > > > > > > > > > > > Kindly suggest.
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > the second thing I was thinking to
download
> >    the TRMM
> > > > data
> > > > > > from
> > > > > > > > > > thelink
> > > > > > > > > > > > at
> > > > > > > > > > > > > > DTC website and then converying the 3
hourly
> >    bins to
> > > > NC.
> > > > > > > > > > > > > > 2.2 MBftp://
> > > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > >
> > > > > > > >
> > > > > >
> > > >
> >
>
disc2.nascom.nasa.gov/data/TRMM/Gridded/3B42_V7/201104/3B42.110422.15z.7.precipitation.bin
> > > > > > > > > > > > > > But my problem will be to ACCUMULATE them.
I
> >    need to
> > > > > > verify the
> > > > > > > > > > model
> > > > > > > > > > > > data
> > > > > > > > > > > > > > starting 06 UTC of day1 to 03UTC of DAY2.
I
> >    mean how
> > > > do I
> > > > > > > > combine
> > > > > > > > > > all
> > > > > > > > > > > > the
> > > > > > > > > > > > > > NC  files together. Kindly suggest
> > > > > > > > > > > > > > > Subject: Re: [rt.rap.ucar.edu #70453]
> >    combining nc
> > > > files
> > > > > > > > > > together
> > > > > > > > > > > > > > > From: met_help at ucar.edu
> > > > > > > > > > > > > > > To: geeta124 at hotmail.com
> > > > > > > > > > > > > > > Date: Wed, 21 Jan 2015 10:45:12 -0700
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > Geeta,
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > I'm assuming the variable in the NetCDF
> >    files is
> > > > named
> > > > > > > > > > "APCP_03".  If
> > > > > > > > > > > > > > not,
> > > > > > > > > > > > > > > just switch in the actual name.  You can
> run
> >    the
> > > > > > following
> > > > > > > > > > > > pcp_combine
> > > > > > > > > > > > > > -add
> > > > > > > > > > > > > > > command:
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > pcp_combine -add \
> > > > > > > > > > > > > > >    3B42.20110422.09.7.nc
'name="APCP_03";
> > > > > > level="(*,*)";' \
> > > > > > > > > > > > > > >    3B42.20110422.12.7.nc
'name="APCP_03";
> > > > > > level="(*,*)";' \
> > > > > > > > > > > > > > >    3B42.20110422.15.7.nc
'name="APCP_03";
> > > > > > level="(*,*)";' \
> > > > > > > > > > > > > > >    3B42.20110422.18.7.nc
'name="APCP_03";
> > > > > > level="(*,*)";' \
> > > > > > > > > > > > > > >    3B42.20110422.21.7.nc
'name="APCP_03";
> > > > > > level="(*,*)";' \
> > > > > > > > > > > > > > >    3B42.20110423.00.7.nc
'name="APCP_03";
> > > > > > level="(*,*)";' \
> > > > > > > > > > > > > > >    3B42.20110423.03.7.nc
'name="APCP_03";
> > > > > > level="(*,*)";' \
> > > > > > > > > > > > > > >    3B42.20110423.06.7.nc
'name="APCP_03";
> > > > > > level="(*,*)";' \
> > > > > > > > > > > > > > >    3B42.20110423.06.7_APCP_24.nc
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > The last file listed is just the output
> file
> >    name I
> > > > > > chose.
> > > > > > > > But
> > > > > > > > > > you
> > > > > > > > > > > > can
> > > > > > > > > > > > > > > name it whatever you'd like.
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > John
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > On Wed, Jan 21, 2015 at 4:02 AM, Geeta
> Geeta
> >    via RT <
> > > > > > > > > > > > met_help at ucar.edu>
> > > > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > Wed Jan 21 04:02:41 2015: Request
70453
> >    was acted
> > > > upon.
> > > > > > > > > > > > > > > > Transaction: Ticket created by
> > > > geeta124 at hotmail.com
> > > > > > > > > > > > > > > >        Queue: met_help
> > > > > > > > > > > > > > > >      Subject: combining nc files
> together
> > > > > > > > > > > > > > > >        Owner: Nobody
> > > > > > > > > > > > > > > >   Requestors: geeta124 at hotmail.com
> > > > > > > > > > > > > > > >       Status: new
> > > > > > > > > > > > > > > >  Ticket <URL:
> > > > > > > > > > > >
> >    https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > Hi John.
> > > > > > > > > > > > > > > > Sorry to bother you again n again. But
I
> >    have no
> > > > > > choice. I
> > > > > > > > > > want to
> > > > > > > > > > > > know
> > > > > > > > > > > > > > > > the followingI have 8 nc files. bash-
> 3.2$
> >    ls
> > > > -ltotal
> > > > > > > > > > > > 216336-rw-r--r--
> > > > > > > > > > > > > >   1
> > > > > > > > > > > > > > > > model    staff      13841488 Jan 21
> 11:24
> > > > > > > > > > > > > > 3B42.20110422.06.7.nc-rw-r--r--
> > > > > > > > > > > > > > > >   1 model    staff      13841488 Jan
21
> >    11:27
> > > > > > > > > > > > > > > > 3B42.20110422.09.7.nc-rw-r--r--    1
> model
> >    staff
> > > > > > > > > > 13841492
> > > > > > > > > > > > Jan
> > > > > > > > > > > > > > 21
> > > > > > > > > > > > > > > > 14:01 3B42.20110422.12.7.nc-rw-r--r--
> 1
> >    model
> > > > > > staff
> > > > > > > > > > > > > > 13841492 Jan
> > > > > > > > > > > > > > > > 21 13:16 3B42.20110422.15.7.nc-rw-r--
r--
> >    1 model
> > > > > > > > staff
> > > > > > > > > > > > > > 13841492
> > > > > > > > > > > > > > > > Jan 21 14:51 3B42.20110422.18.7.nc-rw-
> r--
> >    r--    1
> > > > model
> > > > > > > > > > staff
> > > > > > > > > > > > > > > > 13841492 Jan 21 13:21
> > > > 3B42.20110422.21.7.nc-rw-r--r--
> > > > > >   1
> > > > > > > > > > model
> > > > > > > > > > > > > > staff
> > > > > > > > > > > > > > > >     13841488 Jan 21 13:22
> > > > > > 3B42.20110423.00.7.nc-rw-r--r--
> > > > > > > >   1
> > > > > > > > > > > > model
> > > > > > > > > > > > > > > > staff      13841488 Jan 21 13:50
> > > > > > > > > > 3B42.20110423.03.7.ncbash-3.2$ pwd
> > > > > > > > > > > > > > > > I need to make ONE 24 hour RF
> accumulated
> >    file
> > > > starting
> > > > > > > > 06UTC
> > > > > > > > > > of
> > > > > > > > > > > > > > > > 22.04.2011 - 03UTC of 23.04.2011. How
do
> I
> >    do
> > > > that???
> > > > > > > > > > > > > > > > Geeta
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > > >
> > > > >
> > > >
> > > >
> > >
>
>
>
> ------------------------------------------------
> Subject: combining nc files together
> From: Geeta Geeta
> Time: Thu Feb 19 00:20:05 2015
>
> Hi Tressa and John.
> I want to know if MET5.0 has neighborhood methods defined for point
> observations???.
> If Yes, Pls guide me with this.
> Geeta
>
>
> > Subject: [rt.rap.ucar.edu #70453] combining nc files together
> > From: met_help at ucar.edu
> > To: geeta124 at hotmail.com
> > Date: Tue, 17 Feb 2015 13:47:07 -0700
> >
> > Hi Geeta,
> >
> > The paper we sent was not A reference, it was THE reference, the
> original published work on the FSS. Of course, algebra allows
> equations to be expressed in many equivalent formats. Feel free to
use
> whichever form you like.
> >
> > The Spatial Vx package has many verification methods, but it is
> relatively new and untested. I'm sure you can reference that
package's
> documentation for full details of the available methods.
> >
> > Happy verifying,
> >
> > Tressa
> >
> > On Mon Feb 16 04:32:17 2015, geeta124 at hotmail.com wrote:
> > > Hi John.
> > > In Your article, FSS is defined as the
> > > FSS (n) = 1 - (MSE(n)/MSE(n) ref).
> > >
> > > In another paper's I found it to be little different. It was
> related
> > >    to the FBS Fractional Brier Score.
> > >
> > > Can U pls explain be the differences???.
> > > Also I came across SpatialVx package.
> > > Does that also provide all the verification procedures???
> > > Geeta
> > >
> > >
> > > From: geeta124 at hotmail.com
> > > To: met_help at ucar.edu
> > > Subject: RE: [rt.rap.ucar.edu #70453] combining nc files
together
> > > Date: Thu, 12 Feb 2015 11:14:17 +0530
> > >
> > >
> > >
> > >
> > > hi John.
> > > I had read ur article that U have sent reg the FSS and the MODE
> tools.
> > >    I could not understand the meaning of FORECAST SKILL
associated
> > >    with Uniform FOrECAST. This is what is mentioed in the FSS
> section
> > >    of Ur article.
> > > I didnt understand the concept/idea. if U could just explain a
> little
> > >    more I can build/read some articles that you would suggest.
> > > Thanks for ur help.
> > > Geeta
> > >
> > > > Subject: Re: [rt.rap.ucar.edu #70453] combining nc files
> together
> > > > From: met_help at ucar.edu
> > > > To: geeta124 at hotmail.com
> > > > Date: Wed, 11 Feb 2015 10:17:33 -0700
> > > >
> > > > Geeta,
> > > >
> > > > I think your reference to an article must be from a different
> email
> > >    chain.
> > > >
> > > > I see that you're asking about "FORECAST skill associated with
> the
> > >    Uniform
> > > > forecast".  Are you looking for more references related to
> > >    neighborhood
> > > > verification statistics, like Fractions Skill Score?
> > > >
> > > > Thanks,
> > > > John
> > > >
> > > > On Mon, Feb 9, 2015 at 1:53 AM, Geeta Geeta via RT
> > >    <met_help at ucar.edu>
> > > > wrote:
> > > >
> > > > >
> > > > > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453
> >
> > > > >
> > > > > Hi John.
> > > > > Thanks for the article. It is very informative.
> > > > > I dont know if i should be asking at this forum, the meaning
> of
> > >    the
> > > > > "FORECAST skill associated with the Uniform forecast" as you
> have
> > >    mentioned
> > > > > in your paper.
> > > > > If U give me some references, it would be great.
> > > > > Geeta
> > > > >
> > > > > > Subject: Re: [rt.rap.ucar.edu #70453] combining nc files
> > >    together
> > > > > > From: met_help at ucar.edu
> > > > > > To: geeta124 at hotmail.com
> > > > > > Date: Thu, 5 Feb 2015 10:33:59 -0700
> > > > > >
> > > > > > Geeta,
> > > > > >
> > > > > > You're correct, you can only use the "sum" command of
> > >    pcp_combine for
> > > > > GRIB1
> > > > > > or GRIB2 files...
> > > > > >
> > > > > > But, you can use the "add" command on any gridded data
file
> > >    format that
> > > > > MET
> > > > > > supports.  Adding together 8 NetCDF files with pcp_combine
> would
> > >    look
> > > > > > something like this:
> > > > > >
> > > > > > pcp_combine -add \
> > > > > > file1.nc 'name="APCP_03"; level="(*,*)";' \
> > > > > > file2.nc 'name="APCP_03"; level="(*,*)";' \
> > > > > > ...
> > > > > > file8.nc 'name="APCP_03"; level="(*,*)";' \
> > > > > > APCP_24.nc
> > > > > >
> > > > > > It makes for a longer command line, but it is possible to
do
> > >    with
> > > > > > pcp_combine.
> > > > > >
> > > > > > John
> > > > > >
> > > > > >
> > > > > >
> > > > > > On Thu, Feb 5, 2015 at 2:02 AM, Geeta Geeta via RT
> > >    <met_help at ucar.edu>
> > > > > > wrote:
> > > > > >
> > > > > > >
> > > > > > > <URL:
> https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453
> > >    >
> > > > > > >
> > > > > > > Hi John.
> > > > > > > Thanks for wonderful ideas.
> > > > > > > The first one is working. but I have yet to run
grid_stat
> to
> > >    see if
> > > > > > > everything is working finally. I ll try the ncatted.
> > > > > > >
> > > > > > > To sum up all the nc files (for the times that I want),
I
> did
> > >    try the
> > > > > > > pcp_combine. But I guess It only works for the GRIB
files.
> > > > > > > I have sent to u the error before. I tried to use MET3.0
> for
> > >    that
> > > > > which is
> > > > > > > installed in my HPC.
> > > > > > > I have 5.0 on my personal system. Will try that exercise
> in
> > >    this
> > > > > system.
> > > > > > > Thanks again for your help.
> > > > > > > Geeta
> > > > > > >
> > > > > > >
> > > > > > > > Subject: Re: [rt.rap.ucar.edu #70453] combining nc
files
> > >    together
> > > > > > > > From: met_help at ucar.edu
> > > > > > > > To: geeta124 at hotmail.com
> > > > > > > > Date: Wed, 4 Feb 2015 11:21:19 -0700
> > > > > > > >
> > > > > > > > Geeta,
> > > > > > > >
> > > > > > > > The trmmbin2nc.R script is set up to only handle the
> TRMM
> > >    binary data
> > > > > > > > exactly from that website.  The timing information for
> that
> > >    binary
> > > > > data
> > > > > > > is
> > > > > > > > only contained in the file name, and you've renamed
> those
> > >    files.  So
> > > > > the
> > > > > > > > script doesn't know how to parse them.
> > > > > > > >
> > > > > > > > Here's 2 options:
> > > > > > > > (1) Rename that file using the "daily" file naming
> > >    conventions:
> > > > > > > >    cp Obs22apr2011.bin 3B42_daily.2011.04.22.7.bin
> > > > > > > >    Rscript 3B42_daily.2011.04.22.7.bin
> > >    3B42_daily.2011.04.22.7.nc
> > > > > > > >
> > > > > > > > That will produce output but it'll assume the
> precipitation
> > >    is
> > > > > > > accumulated
> > > > > > > > for 24-hours from 20110422 00Z to 20110423 00Z.  If
the
> > >    times should
> > > > > be
> > > > > > > > something different you could... edit the Rscript to
use
> the
> > >    times
> > > > > you
> > > > > > > > want... or use the "ncatted" tool to modify the timing
> > >    information
> > > > > listed
> > > > > > > > in the output NetCDF file.
> > > > > > > >
> > > > > > > > (2) Or, as we've discussed in the past, you could run
> each
> > >    of the
> > > > > 3-hour
> > > > > > > > files through the trmmbin2nc.R script and write out
> NetCDF
> > >    files.
> > > > > Then
> > > > > > > run
> > > > > > > > those 3-hourly NetCDF files through pcp_combine to add
> them
> > >    up.
> > > > > > > >
> > > > > > > > Thanks,
> > > > > > > > John
> > > > > > > >
> > > > > > > >
> > > > > > > > On Sun, Feb 1, 2015 at 11:27 PM, Geeta Geeta via RT <
> > > > > met_help at ucar.edu>
> > > > > > > > wrote:
> > > > > > > >
> > > > > > > > >
> > > > > > > > > <URL:
> > >    https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453 >
> > > > > > > > >
> > > > > > > > > Hi John.
> > > > > > > > > This is an old Ticket. Kindly sort this issue too.
> > > > > > > > > I was able to sum up all the 3 hourly TRMM files and
> then
> > >    convert
> > > > > the
> > > > > > > > > final file into One called Obs22apr2011.bin.
> > > > > > > > > I had used Grads for summing up all the 8 files. and
> now I
> > >    am using
> > > > > > > the R
> > > > > > > > > script for
> > > > > > > > > converting into NC.
> > > > > > > > > But I got the error.
> > > > > > > > > aditya at agniilap:~/geeta/installs/met/RUN_MET-
> 22apr2011$
> > >    Rscript
> > > > > > > > > ../trmm_to_nc/trmmbin2nc_mod.R Obs22apr2011.bin
> > >    Obs22apr2011.nc
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > ERROR: Can't figure out the accumulation interval!I
am
> > >    sending you
> > > > > the
> > > > > > > > > data that I converted using Grads.
> > > > > > > > > Geeta
> > > > > > > > >
> > > > > > > > > > Subject: Re: [rt.rap.ucar.edu #70453] combining nc
> files
> > > > > together
> > > > > > > > > > From: met_help at ucar.edu
> > > > > > > > > > To: geeta124 at hotmail.com
> > > > > > > > > > Date: Fri, 30 Jan 2015 11:04:18 -0700
> > > > > > > > > >
> > > > > > > > > > Geeta,
> > > > > > > > > >
> > > > > > > > > > I don't have time to adapt that Rscript for your
use
> > >    with
> > > > > Grid-Stat.
> > > > > > > > > > However, we did do something very similar for a
> previous
> > > > > project.  I
> > > > > > > have
> > > > > > > > > > attached an Rscript named "fss_quilt_plot.R" you
> could
> > >    easily
> > > > > adapt
> > > > > > > to
> > > > > > > > > > create a quilt plot for your data.  I've also
> attached a
> > >    copy of
> > > > > the
> > > > > > > > > paper
> > > > > > > > > > for which this script was used.  Please look at
> figure
> > >    7.
> > > > > > > > > >
> > > > > > > > > > Thanks,
> > > > > > > > > > John
> > > > > > > > > >
> > > > > > > > > > On Fri, Jan 30, 2015 at 1:03 AM, Geeta Geeta via
RT
> <
> > > > > > > met_help at ucar.edu>
> > > > > > > > > > wrote:
> > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > <URL:
> > >    https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453
> > > > > >
> > > > > > > > > > >
> > > > > > > > > > > Hi John.
> > > > > > > > > > > I changed different widths in the configuration
> file.
> > > > > > > (Width=1,3,5,,7
> > > > > > > > > etc).
> > > > > > > > > > >
> > > > > > > > > > > // Neighborhood methods
> > > > > > > > > > > //
> > > > > > > > > > > nbrhd = {
> > > > > > > > > > >    vld_thresh = 1.0;
> > > > > > > > > > >    width      = [ 7 ];
> > > > > > > > > > >    cov_thresh = [ >=0.5 ];
> > > > > > > > > > > }
> > > > > > > > > > > and got various outputs (for different widths)
> which
> > >    are in
> > > > > > > different
> > > > > > > > > > > directories.
> > > > > > > > > > > Now I saw the R script on the website which is
> > >    probably
> > > > > > > exclusively for
> > > > > > > > > > > the MODE TOOL only.
> > > > > > > > > > > Now my question is how to make the quilt plot
for
> the
> > >    GRid stat
> > > > > > > > > tool???.
> > > > > > > > > > > Sorry I m not familiar with R  now.
> > > > > > > > > > > Pls help.
> > > > > > > > > > > Geeta.
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > From: geeta124 at hotmail.com
> > > > > > > > > > > To: met_help at ucar.edu
> > > > > > > > > > > Subject: RE: [rt.rap.ucar.edu #70453] combining
nc
> > >    files
> > > > > together
> > > > > > > > > > > Date: Thu, 29 Jan 2015 17:05:25 +0530
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > Hi John.
> > > > > > > > > > > So I was able to sum up all the 3 hourly TRMM
> files
> > >    and then
> > > > > > > convert
> > > > > > > > > the
> > > > > > > > > > > final file into One called Obs22apr2011.bin.
> > > > > > > > > > > I have done that using Grads and now I am using
> the R
> > >    script
> > > > > for
> > > > > > > > > > > converting into NC.
> > > > > > > > > > > But I got the error.
> > > > > > > > > > > aditya at agniilap:~/geeta/installs/met/RUN_MET-
> > >    22apr2011$
> > > > > Rscript
> > > > > > > > > > > ../trmm_to_nc/trmmbin2nc_mod.R Obs22apr2011.bin
> > >    Obs22apr2011.nc
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > ERROR: Can't figure out the accumulation
interval!
> > > > > > > > > > >
> > > > > > > > > > > I am sending you the data files and the R script
> (I
> > >    changed the
> > > > > > > > > domain).
> > > > > > > > > > > The data is plotted fine. Also pls tell me about
> the
> > >    ncview
> > > > > > > questions
> > > > > > > > > that
> > > > > > > > > > > I was asking. reg the plotting of MPR's
> > > > > > > > > > > Kindly suggest.
> > > > > > > > > > > Geeta
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > > Subject: Re: [rt.rap.ucar.edu #70453]
combining
> nc
> > >    files
> > > > > > > together
> > > > > > > > > > > > From: met_help at ucar.edu
> > > > > > > > > > > > To: geeta124 at hotmail.com
> > > > > > > > > > > > Date: Mon, 26 Jan 2015 09:58:32 -0700
> > > > > > > > > > > >
> > > > > > > > > > > > Geeta,
> > > > > > > > > > > >
> > > > > > > > > > > > On that webpage (
> > > > > > > > > > > >
> > > > >
> http://www.dtcenter.org/met/users/downloads/analysis_scripts.php
> > > > > > > ),
> > > > > > > > > > > please
> > > > > > > > > > > > look specifically at the script named
> > >    "mode_quilt_plot.R".
> > > > > > > Here's
> > > > > > > > > the
> > > > > > > > > > > > direct link to that script:
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > >
> > >
>
http://www.dtcenter.org/met/users/downloads/Rscripts/mode_quilt_plot.R
> > > > > > > > > > > >
> > > > > > > > > > > > And here's a direct link to the sample output
> that
> > >    script
> > > > > > > creates:
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > >
> > > > > > >
> > > > >
> > >
>
http://www.dtcenter.org/met/users/downloads/Rscripts/SAMPLE_mode_quilts.pdf
> > > > > > > > > > > >
> > > > > > > > > > > > This is an example of using R to make a quilt
> plot
> > >    for the
> > > > > > > output of
> > > > > > > > > the
> > > > > > > > > > > > MODE tool.  You might also use a quilt plot to
> > >    display
> > > > > fractions
> > > > > > > > > skill
> > > > > > > > > > > > score from the Grid-Stat tool, if you've run
FSS
> for
> > >    multiple
> > > > > > > > > thresholds
> > > > > > > > > > > > and neighborhood sizes.
> > > > > > > > > > > >
> > > > > > > > > > > > John
> > > > > > > > > > > >
> > > > > > > > > > > > On Mon, Jan 26, 2015 at 7:28 AM, Geeta Geeta
via
> RT
> > >    <
> > > > > > > > > met_help at ucar.edu>
> > > > > > > > > > > > wrote:
> > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > <URL:
> > > > > https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453
> > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > Hi John.
> > > > > > > > > > > > > the link
> > > > > > > > > > >
> > > > >
> http://www.dtcenter.org/met/users/downloads/analysis_scripts.php
> > > > > > > > > > > > > has the plots for the cnt statistics.
> > > > > > > > > > > > > I am not familiar with R. I am going thru
the
> > >    plot_cnt.R
> > > > > > > script.
> > > > > > > > > > > > > but I want to know what will be the data
> format
> > >    for the
> > > > > Quilt
> > > > > > > plot.
> > > > > > > > > > > > > Do I have to write my own script???.
> > > > > > > > > > > > > Kindly let me know about the data format and
> how I
> > >    have to
> > > > > > > modify
> > > > > > > > > the
> > > > > > > > > > > > > above script in order to make the quilt
plot.
> > > > > > > > > > > > > Regards
> > > > > > > > > > > > > Geeta
> > > > > > > > > > > > >
> > > > > > > > > > > > > > Subject: Re: [rt.rap.ucar.edu #70453]
> combining
> > >    nc files
> > > > > > > > > together
> > > > > > > > > > > > > > From: met_help at ucar.edu
> > > > > > > > > > > > > > To: geeta124 at hotmail.com
> > > > > > > > > > > > > > Date: Fri, 23 Jan 2015 11:09:23 -0700
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Geeta,
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Regarding 3-hourly RF accumulations, if
MET
> is
> > >    able to
> > > > > read
> > > > > > > those
> > > > > > > > > > > NetCDF
> > > > > > > > > > > > > > files, you can run them through PCP-
Combine
> to
> > >    "add"
> > > > > them all
> > > > > > > > > > > together.
> > > > > > > > > > > > > > Just use the example PCP_Combine command I
> > >    already sent
> > > > > you
> > > > > > > but
> > > > > > > > > > > modify
> > > > > > > > > > > > > the
> > > > > > > > > > > > > > "name" entry to list the name of the
NetCDF
> > >    variable you
> > > > > > > want to
> > > > > > > > > > > use.  If
> > > > > > > > > > > > > > MET is not able to read them, then it's up
> to
> > >    you to
> > > > > figure
> > > > > > > out
> > > > > > > > > how
> > > > > > > > > > > to
> > > > > > > > > > > > > > accumulate them.
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > If you're familiar with R, you could use
the
> > >    "ncdf"
> > > > > library
> > > > > > > in R
> > > > > > > > > to
> > > > > > > > > > > read
> > > > > > > > > > > > > > data from one or more NetCDF files, add
them
> up,
> > >    and
> > > > > write it
> > > > > > > > > out to
> > > > > > > > > > > a
> > > > > > > > > > > > > new
> > > > > > > > > > > > > > file.  Alternatively, "nco" (NetCDF
> Operators)
> > >    provide
> > > > > some
> > > > > > > > > > > capability of
> > > > > > > > > > > > > > doing simple operations on NetCDF files.
> You
> > >    might be
> > > > > able
> > > > > > > to
> > > > > > > > > use
> > > > > > > > > > > them.
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Regarding quilt plots, I've only used R to
> make
> > >    them in
> > > > > the
> > > > > > > past.
> > > > > > > > > > > > > > Specifically, the "quilt.plot" function in
> the R
> > >    package
> > > > > > > named
> > > > > > > > > > > "fields".
> > > > > > > > > > > > > > Please take a look at this website:
> > > > > > > > > > > > > >
> > > > > > > > >
> > >
> http://www.dtcenter.org/met/users/downloads/analysis_scripts.php
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > The Rscript named "mode_quilt_plot.R"
> provides
> > >    an
> > > > > example of
> > > > > > > > > using R
> > > > > > > > > > > to
> > > > > > > > > > > > > > make quilt plots.  Example output from
that
> > >    script is
> > > > > also
> > > > > > > > > included
> > > > > > > > > > > on
> > > > > > > > > > > > > that
> > > > > > > > > > > > > > page.
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Thanks,
> > > > > > > > > > > > > > John
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > On Fri, Jan 23, 2015 at 4:06 AM, Geeta
Geeta
> via
> > >    RT <
> > > > > > > > > > > met_help at ucar.edu>
> > > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > <URL:
> > > > > > > https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453
> > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > Hi John. Your help is needed at every
> step.
> > >    Now I want
> > > > > to
> > > > > > > know
> > > > > > > > > > > which
> > > > > > > > > > > > > > > software can be used for making the
QUILT
> plot
> > > > > (intensity
> > > > > > > and
> > > > > > > > > > > spatial
> > > > > > > > > > > > > > > distribution) plot. Can It be done in
> using
> > >    MET5.0. How
> > > > > > > Can I
> > > > > > > > > plot
> > > > > > > > > > > the
> > > > > > > > > > > > > > > point data that I used in
MET5.0???KIndly
> > >    guide me.
> > > > > Also
> > > > > > > pls
> > > > > > > > > tell
> > > > > > > > > > > me
> > > > > > > > > > > > > if u
> > > > > > > > > > > > > > > can figure out the issue of 3hrly RF
> > >    accumulations if
> > > > > the
> > > > > > > files
> > > > > > > > > > > are in
> > > > > > > > > > > > > the
> > > > > > > > > > > > > > > NETCDF format. Geeta
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > From: geeta124 at hotmail.com
> > > > > > > > > > > > > > > To: met_help at ucar.edu
> > > > > > > > > > > > > > > Subject: RE: [rt.rap.ucar.edu #70453]
> > >    combining nc
> > > > > files
> > > > > > > > > together
> > > > > > > > > > > > > > > Date: Thu, 22 Jan 2015 16:30:34 +0530
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > thanks John.  the pcp combine tool uses
> only
> > >    GRIB1
> > > > > files.
> > > > > > > these
> > > > > > > > > > > were
> > > > > > > > > > > > > > > netcdf files (attaching one).I had
> downloaded
> > >    the NC
> > > > > files
> > > > > > > from
> > > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > >
> > > > > > >
> > > > > http://mirador.gsfc.nasa.gov/cgi-
> > >    bin/mirador/granlist.pl?page=1&location=(-90,-
> > >
>
180),(90,180)&dataSet=TRMM_3B42&version=007&allversion=007&startTime=2011-
> > >    04-22T00:00:01Z&endTime=2011-04-
> > >    22T23:59:59Z&keyword=TRMM_3B42&longname=TRMM%203-
> > >
>
Hourly%200.25%20deg.%20TRMM%20and%20Others%20Rainfall%20Estimate%20Data&CGISESSID=02499c2107ddfb60a3e46d6b99df3d79&prodpg=http://mirador.gsfc.nasa.gov/collections/TRMM_3B42__007.shtmlI
> > > > > > > > > > > > > > > got following error. bash-3.2$
> > >    ./run_pcptool.sh
> > > > > Running PCP
> > > > > > > > > > > > > toolPerforming
> > > > > > > > > > > > > > > addition command for 2 files.Reading
input
> > >    file:
> > > > > > > > > > > 3B42.20110422.12.7.nc
> > > > > > > > > > > > > > > GribFile::skip_header() -> can't find
> "GRIB"
> > >    magic
> > > > > cookie
> > > > > > > > >  ERROR:
> > > > > > > > > > > > > > > get_field() -> can't open grib file:
> > > > > 3B42.20110422.12.7.nc
> > > > > > > > > > > > > > > Following is my script--------!/bin/sh
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >              echo " Running PCP
> > > > > > > > > > > > > > >
> tool"~/wrf3/utils/met/METv3.0/bin/pcp_combine
> > >    -add
> > > > > > > > > > > > > 3B42.20110422.12.7.nc
> > > > > > > > > > > > > > > 03 3B42.20110422.15.7.nc 03 myoutput.nc
> > > > > > > > > > > > > > > Kindly suggest.
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > the second thing I was thinking to
> download
> > >    the TRMM
> > > > > data
> > > > > > > from
> > > > > > > > > > > thelink
> > > > > > > > > > > > > at
> > > > > > > > > > > > > > > DTC website and then converying the 3
> hourly
> > >    bins to
> > > > > NC.
> > > > > > > > > > > > > > > 2.2 MBftp://
> > > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > >
> > > > > > >
> > > > >
> > >
>
disc2.nascom.nasa.gov/data/TRMM/Gridded/3B42_V7/201104/3B42.110422.15z.7.precipitation.bin
> > > > > > > > > > > > > > > But my problem will be to ACCUMULATE
them.
> I
> > >    need to
> > > > > > > verify the
> > > > > > > > > > > model
> > > > > > > > > > > > > data
> > > > > > > > > > > > > > > starting 06 UTC of day1 to 03UTC of
DAY2.
> I
> > >    mean how
> > > > > do I
> > > > > > > > > combine
> > > > > > > > > > > all
> > > > > > > > > > > > > the
> > > > > > > > > > > > > > > NC  files together. Kindly suggest
> > > > > > > > > > > > > > > > Subject: Re: [rt.rap.ucar.edu #70453]
> > >    combining nc
> > > > > files
> > > > > > > > > > > together
> > > > > > > > > > > > > > > > From: met_help at ucar.edu
> > > > > > > > > > > > > > > > To: geeta124 at hotmail.com
> > > > > > > > > > > > > > > > Date: Wed, 21 Jan 2015 10:45:12 -0700
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > Geeta,
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > I'm assuming the variable in the
NetCDF
> > >    files is
> > > > > named
> > > > > > > > > > > "APCP_03".  If
> > > > > > > > > > > > > > > not,
> > > > > > > > > > > > > > > > just switch in the actual name.  You
can
> run
> > >    the
> > > > > > > following
> > > > > > > > > > > > > pcp_combine
> > > > > > > > > > > > > > > -add
> > > > > > > > > > > > > > > > command:
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > pcp_combine -add \
> > > > > > > > > > > > > > > >    3B42.20110422.09.7.nc
> 'name="APCP_03";
> > > > > > > level="(*,*)";' \
> > > > > > > > > > > > > > > >    3B42.20110422.12.7.nc
> 'name="APCP_03";
> > > > > > > level="(*,*)";' \
> > > > > > > > > > > > > > > >    3B42.20110422.15.7.nc
> 'name="APCP_03";
> > > > > > > level="(*,*)";' \
> > > > > > > > > > > > > > > >    3B42.20110422.18.7.nc
> 'name="APCP_03";
> > > > > > > level="(*,*)";' \
> > > > > > > > > > > > > > > >    3B42.20110422.21.7.nc
> 'name="APCP_03";
> > > > > > > level="(*,*)";' \
> > > > > > > > > > > > > > > >    3B42.20110423.00.7.nc
> 'name="APCP_03";
> > > > > > > level="(*,*)";' \
> > > > > > > > > > > > > > > >    3B42.20110423.03.7.nc
> 'name="APCP_03";
> > > > > > > level="(*,*)";' \
> > > > > > > > > > > > > > > >    3B42.20110423.06.7.nc
> 'name="APCP_03";
> > > > > > > level="(*,*)";' \
> > > > > > > > > > > > > > > >    3B42.20110423.06.7_APCP_24.nc
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > The last file listed is just the
output
> file
> > >    name I
> > > > > > > chose.
> > > > > > > > > But
> > > > > > > > > > > you
> > > > > > > > > > > > > can
> > > > > > > > > > > > > > > > name it whatever you'd like.
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > John
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > On Wed, Jan 21, 2015 at 4:02 AM, Geeta
> Geeta
> > >    via RT <
> > > > > > > > > > > > > met_help at ucar.edu>
> > > > > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > Wed Jan 21 04:02:41 2015: Request
> 70453
> > >    was acted
> > > > > upon.
> > > > > > > > > > > > > > > > > Transaction: Ticket created by
> > > > > geeta124 at hotmail.com
> > > > > > > > > > > > > > > > >        Queue: met_help
> > > > > > > > > > > > > > > > >      Subject: combining nc files
> together
> > > > > > > > > > > > > > > > >        Owner: Nobody
> > > > > > > > > > > > > > > > >   Requestors: geeta124 at hotmail.com
> > > > > > > > > > > > > > > > >       Status: new
> > > > > > > > > > > > > > > > >  Ticket <URL:
> > > > > > > > > > > > >
> > >    https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > Hi John.
> > > > > > > > > > > > > > > > > Sorry to bother you again n again.
But
> I
> > >    have no
> > > > > > > choice. I
> > > > > > > > > > > want to
> > > > > > > > > > > > > know
> > > > > > > > > > > > > > > > > the followingI have 8 nc files.
bash-
> 3.2$
> > >    ls
> > > > > -ltotal
> > > > > > > > > > > > > 216336-rw-r--r--
> > > > > > > > > > > > > > >   1
> > > > > > > > > > > > > > > > > model    staff      13841488 Jan 21
> 11:24
> > > > > > > > > > > > > > > 3B42.20110422.06.7.nc-rw-r--r--
> > > > > > > > > > > > > > > > >   1 model    staff      13841488 Jan
> 21
> > >    11:27
> > > > > > > > > > > > > > > > > 3B42.20110422.09.7.nc-rw-r--r--    1
> model
> > >    staff
> > > > > > > > > > > 13841492
> > > > > > > > > > > > > Jan
> > > > > > > > > > > > > > > 21
> > > > > > > > > > > > > > > > > 14:01 3B42.20110422.12.7.nc-rw-r--
r--
> 1
> > >    model
> > > > > > > staff
> > > > > > > > > > > > > > > 13841492 Jan
> > > > > > > > > > > > > > > > > 21 13:16 3B42.20110422.15.7.nc-rw-
r--
> r--
> > >    1 model
> > > > > > > > > staff
> > > > > > > > > > > > > > > 13841492
> > > > > > > > > > > > > > > > > Jan 21 14:51 3B42.20110422.18.7.nc-
rw-
> r--
> > >    r--    1
> > > > > model
> > > > > > > > > > > staff
> > > > > > > > > > > > > > > > > 13841492 Jan 21 13:21
> > > > > 3B42.20110422.21.7.nc-rw-r--r--
> > > > > > >   1
> > > > > > > > > > > model
> > > > > > > > > > > > > > > staff
> > > > > > > > > > > > > > > > >     13841488 Jan 21 13:22
> > > > > > > 3B42.20110423.00.7.nc-rw-r--r--
> > > > > > > > >   1
> > > > > > > > > > > > > model
> > > > > > > > > > > > > > > > > staff      13841488 Jan 21 13:50
> > > > > > > > > > > 3B42.20110423.03.7.ncbash-3.2$ pwd
> > > > > > > > > > > > > > > > > I need to make ONE 24 hour RF
> accumulated
> > >    file
> > > > > starting
> > > > > > > > > 06UTC
> > > > > > > > > > > of
> > > > > > > > > > > > > > > > > 22.04.2011 - 03UTC of 23.04.2011.
How
> do I
> > >    do
> > > > > that???
> > > > > > > > > > > > > > > > > Geeta
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > > >
> > > >
> >
> >
> >
>
> ------------------------------------------------
> Subject: combining nc files together
> From: Geeta Geeta
> Time: Thu Feb 19 02:11:20 2015
>
> Hi Tressa and John.
> This is  a query reg the FSS again.
> I have been reading about it and got to know that FSS
> FSSuniform=0.5+f0/2 and
> FSSrandom=f0
> Q.1. Pls tell me how will i calculate these two quantities ie.
> FSSuniform and FSSrandom, I mean how will I calculate f0???
>
> So the NBRCNT o/p is giving me FSS value.
> Q.2. Suppose I take the NBR_width =1,3,5,7 etc......
> How Can I see how many points have matched points.
> I had asked you this ques before too. but I could not get the reply.
> I can see the nc o/p which I opened using ncview. I could not
> interpret the o/p.
> Kindly guide me on this.
>
> Geeta
>
> From: geeta124 at hotmail.com
> To: met_help at ucar.edu
> Subject: RE: [rt.rap.ucar.edu #70453] combining nc files together
> Date: Thu, 19 Feb 2015 12:50:00 +0530
>
>
>
>
> Hi Tressa and John.
> I want to know if MET5.0 has neighborhood methods defined for point
> observations???.
> If Yes, Pls guide me with this.
> Geeta
>
>
> > Subject: [rt.rap.ucar.edu #70453] combining nc files together
> > From: met_help at ucar.edu
> > To: geeta124 at hotmail.com
> > Date: Tue, 17 Feb 2015 13:47:07 -0700
> >
> > Hi Geeta,
> >
> > The paper we sent was not A reference, it was THE reference, the
> original published work on the FSS. Of course, algebra allows
> equations to be expressed in many equivalent formats. Feel free to
use
> whichever form you like.
> >
> > The Spatial Vx package has many verification methods, but it is
> relatively new and untested. I'm sure you can reference that
package's
> documentation for full details of the available methods.
> >
> > Happy verifying,
> >
> > Tressa
> >
> > On Mon Feb 16 04:32:17 2015, geeta124 at hotmail.com wrote:
> > > Hi John.
> > > In Your article, FSS is defined as the
> > > FSS (n) = 1 - (MSE(n)/MSE(n) ref).
> > >
> > > In another paper's I found it to be little different. It was
> related
> > >    to the FBS Fractional Brier Score.
> > >
> > > Can U pls explain be the differences???.
> > > Also I came across SpatialVx package.
> > > Does that also provide all the verification procedures???
> > > Geeta
> > >
> > >
> > > From: geeta124 at hotmail.com
> > > To: met_help at ucar.edu
> > > Subject: RE: [rt.rap.ucar.edu #70453] combining nc files
together
> > > Date: Thu, 12 Feb 2015 11:14:17 +0530
> > >
> > >
> > >
> > >
> > > hi John.
> > > I had read ur article that U have sent reg the FSS and the MODE
> tools.
> > >    I could not understand the meaning of FORECAST SKILL
associated
> > >    with Uniform FOrECAST. This is what is mentioed in the FSS
> section
> > >    of Ur article.
> > > I didnt understand the concept/idea. if U could just explain a
> little
> > >    more I can build/read some articles that you would suggest.
> > > Thanks for ur help.
> > > Geeta
> > >
> > > > Subject: Re: [rt.rap.ucar.edu #70453] combining nc files
> together
> > > > From: met_help at ucar.edu
> > > > To: geeta124 at hotmail.com
> > > > Date: Wed, 11 Feb 2015 10:17:33 -0700
> > > >
> > > > Geeta,
> > > >
> > > > I think your reference to an article must be from a different
> email
> > >    chain.
> > > >
> > > > I see that you're asking about "FORECAST skill associated with
> the
> > >    Uniform
> > > > forecast".  Are you looking for more references related to
> > >    neighborhood
> > > > verification statistics, like Fractions Skill Score?
> > > >
> > > > Thanks,
> > > > John
> > > >
> > > > On Mon, Feb 9, 2015 at 1:53 AM, Geeta Geeta via RT
> > >    <met_help at ucar.edu>
> > > > wrote:
> > > >
> > > > >
> > > > > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453
> >
> > > > >
> > > > > Hi John.
> > > > > Thanks for the article. It is very informative.
> > > > > I dont know if i should be asking at this forum, the meaning
> of
> > >    the
> > > > > "FORECAST skill associated with the Uniform forecast" as you
> have
> > >    mentioned
> > > > > in your paper.
> > > > > If U give me some references, it would be great.
> > > > > Geeta
> > > > >
> > > > > > Subject: Re: [rt.rap.ucar.edu #70453] combining nc files
> > >    together
> > > > > > From: met_help at ucar.edu
> > > > > > To: geeta124 at hotmail.com
> > > > > > Date: Thu, 5 Feb 2015 10:33:59 -0700
> > > > > >
> > > > > > Geeta,
> > > > > >
> > > > > > You're correct, you can only use the "sum" command of
> > >    pcp_combine for
> > > > > GRIB1
> > > > > > or GRIB2 files...
> > > > > >
> > > > > > But, you can use the "add" command on any gridded data
file
> > >    format that
> > > > > MET
> > > > > > supports.  Adding together 8 NetCDF files with pcp_combine
> would
> > >    look
> > > > > > something like this:
> > > > > >
> > > > > > pcp_combine -add \
> > > > > > file1.nc 'name="APCP_03"; level="(*,*)";' \
> > > > > > file2.nc 'name="APCP_03"; level="(*,*)";' \
> > > > > > ...
> > > > > > file8.nc 'name="APCP_03"; level="(*,*)";' \
> > > > > > APCP_24.nc
> > > > > >
> > > > > > It makes for a longer command line, but it is possible to
do
> > >    with
> > > > > > pcp_combine.
> > > > > >
> > > > > > John
> > > > > >
> > > > > >
> > > > > >
> > > > > > On Thu, Feb 5, 2015 at 2:02 AM, Geeta Geeta via RT
> > >    <met_help at ucar.edu>
> > > > > > wrote:
> > > > > >
> > > > > > >
> > > > > > > <URL:
> https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453
> > >    >
> > > > > > >
> > > > > > > Hi John.
> > > > > > > Thanks for wonderful ideas.
> > > > > > > The first one is working. but I have yet to run
grid_stat
> to
> > >    see if
> > > > > > > everything is working finally. I ll try the ncatted.
> > > > > > >
> > > > > > > To sum up all the nc files (for the times that I want),
I
> did
> > >    try the
> > > > > > > pcp_combine. But I guess It only works for the GRIB
files.
> > > > > > > I have sent to u the error before. I tried to use MET3.0
> for
> > >    that
> > > > > which is
> > > > > > > installed in my HPC.
> > > > > > > I have 5.0 on my personal system. Will try that exercise
> in
> > >    this
> > > > > system.
> > > > > > > Thanks again for your help.
> > > > > > > Geeta
> > > > > > >
> > > > > > >
> > > > > > > > Subject: Re: [rt.rap.ucar.edu #70453] combining nc
files
> > >    together
> > > > > > > > From: met_help at ucar.edu
> > > > > > > > To: geeta124 at hotmail.com
> > > > > > > > Date: Wed, 4 Feb 2015 11:21:19 -0700
> > > > > > > >
> > > > > > > > Geeta,
> > > > > > > >
> > > > > > > > The trmmbin2nc.R script is set up to only handle the
> TRMM
> > >    binary data
> > > > > > > > exactly from that website.  The timing information for
> that
> > >    binary
> > > > > data
> > > > > > > is
> > > > > > > > only contained in the file name, and you've renamed
> those
> > >    files.  So
> > > > > the
> > > > > > > > script doesn't know how to parse them.
> > > > > > > >
> > > > > > > > Here's 2 options:
> > > > > > > > (1) Rename that file using the "daily" file naming
> > >    conventions:
> > > > > > > >    cp Obs22apr2011.bin 3B42_daily.2011.04.22.7.bin
> > > > > > > >    Rscript 3B42_daily.2011.04.22.7.bin
> > >    3B42_daily.2011.04.22.7.nc
> > > > > > > >
> > > > > > > > That will produce output but it'll assume the
> precipitation
> > >    is
> > > > > > > accumulated
> > > > > > > > for 24-hours from 20110422 00Z to 20110423 00Z.  If
the
> > >    times should
> > > > > be
> > > > > > > > something different you could... edit the Rscript to
use
> the
> > >    times
> > > > > you
> > > > > > > > want... or use the "ncatted" tool to modify the timing
> > >    information
> > > > > listed
> > > > > > > > in the output NetCDF file.
> > > > > > > >
> > > > > > > > (2) Or, as we've discussed in the past, you could run
> each
> > >    of the
> > > > > 3-hour
> > > > > > > > files through the trmmbin2nc.R script and write out
> NetCDF
> > >    files.
> > > > > Then
> > > > > > > run
> > > > > > > > those 3-hourly NetCDF files through pcp_combine to add
> them
> > >    up.
> > > > > > > >
> > > > > > > > Thanks,
> > > > > > > > John
> > > > > > > >
> > > > > > > >
> > > > > > > > On Sun, Feb 1, 2015 at 11:27 PM, Geeta Geeta via RT <
> > > > > met_help at ucar.edu>
> > > > > > > > wrote:
> > > > > > > >
> > > > > > > > >
> > > > > > > > > <URL:
> > >    https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453 >
> > > > > > > > >
> > > > > > > > > Hi John.
> > > > > > > > > This is an old Ticket. Kindly sort this issue too.
> > > > > > > > > I was able to sum up all the 3 hourly TRMM files and
> then
> > >    convert
> > > > > the
> > > > > > > > > final file into One called Obs22apr2011.bin.
> > > > > > > > > I had used Grads for summing up all the 8 files. and
> now I
> > >    am using
> > > > > > > the R
> > > > > > > > > script for
> > > > > > > > > converting into NC.
> > > > > > > > > But I got the error.
> > > > > > > > > aditya at agniilap:~/geeta/installs/met/RUN_MET-
> 22apr2011$
> > >    Rscript
> > > > > > > > > ../trmm_to_nc/trmmbin2nc_mod.R Obs22apr2011.bin
> > >    Obs22apr2011.nc
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > ERROR: Can't figure out the accumulation interval!I
am
> > >    sending you
> > > > > the
> > > > > > > > > data that I converted using Grads.
> > > > > > > > > Geeta
> > > > > > > > >
> > > > > > > > > > Subject: Re: [rt.rap.ucar.edu #70453] combining nc
> files
> > > > > together
> > > > > > > > > > From: met_help at ucar.edu
> > > > > > > > > > To: geeta124 at hotmail.com
> > > > > > > > > > Date: Fri, 30 Jan 2015 11:04:18 -0700
> > > > > > > > > >
> > > > > > > > > > Geeta,
> > > > > > > > > >
> > > > > > > > > > I don't have time to adapt that Rscript for your
use
> > >    with
> > > > > Grid-Stat.
> > > > > > > > > > However, we did do something very similar for a
> previous
> > > > > project.  I
> > > > > > > have
> > > > > > > > > > attached an Rscript named "fss_quilt_plot.R" you
> could
> > >    easily
> > > > > adapt
> > > > > > > to
> > > > > > > > > > create a quilt plot for your data.  I've also
> attached a
> > >    copy of
> > > > > the
> > > > > > > > > paper
> > > > > > > > > > for which this script was used.  Please look at
> figure
> > >    7.
> > > > > > > > > >
> > > > > > > > > > Thanks,
> > > > > > > > > > John
> > > > > > > > > >
> > > > > > > > > > On Fri, Jan 30, 2015 at 1:03 AM, Geeta Geeta via
RT
> <
> > > > > > > met_help at ucar.edu>
> > > > > > > > > > wrote:
> > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > <URL:
> > >    https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453
> > > > > >
> > > > > > > > > > >
> > > > > > > > > > > Hi John.
> > > > > > > > > > > I changed different widths in the configuration
> file.
> > > > > > > (Width=1,3,5,,7
> > > > > > > > > etc).
> > > > > > > > > > >
> > > > > > > > > > > // Neighborhood methods
> > > > > > > > > > > //
> > > > > > > > > > > nbrhd = {
> > > > > > > > > > >    vld_thresh = 1.0;
> > > > > > > > > > >    width      = [ 7 ];
> > > > > > > > > > >    cov_thresh = [ >=0.5 ];
> > > > > > > > > > > }
> > > > > > > > > > > and got various outputs (for different widths)
> which
> > >    are in
> > > > > > > different
> > > > > > > > > > > directories.
> > > > > > > > > > > Now I saw the R script on the website which is
> > >    probably
> > > > > > > exclusively for
> > > > > > > > > > > the MODE TOOL only.
> > > > > > > > > > > Now my question is how to make the quilt plot
for
> the
> > >    GRid stat
> > > > > > > > > tool???.
> > > > > > > > > > > Sorry I m not familiar with R  now.
> > > > > > > > > > > Pls help.
> > > > > > > > > > > Geeta.
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > From: geeta124 at hotmail.com
> > > > > > > > > > > To: met_help at ucar.edu
> > > > > > > > > > > Subject: RE: [rt.rap.ucar.edu #70453] combining
nc
> > >    files
> > > > > together
> > > > > > > > > > > Date: Thu, 29 Jan 2015 17:05:25 +0530
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > Hi John.
> > > > > > > > > > > So I was able to sum up all the 3 hourly TRMM
> files
> > >    and then
> > > > > > > convert
> > > > > > > > > the
> > > > > > > > > > > final file into One called Obs22apr2011.bin.
> > > > > > > > > > > I have done that using Grads and now I am using
> the R
> > >    script
> > > > > for
> > > > > > > > > > > converting into NC.
> > > > > > > > > > > But I got the error.
> > > > > > > > > > > aditya at agniilap:~/geeta/installs/met/RUN_MET-
> > >    22apr2011$
> > > > > Rscript
> > > > > > > > > > > ../trmm_to_nc/trmmbin2nc_mod.R Obs22apr2011.bin
> > >    Obs22apr2011.nc
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > ERROR: Can't figure out the accumulation
interval!
> > > > > > > > > > >
> > > > > > > > > > > I am sending you the data files and the R script
> (I
> > >    changed the
> > > > > > > > > domain).
> > > > > > > > > > > The data is plotted fine. Also pls tell me about
> the
> > >    ncview
> > > > > > > questions
> > > > > > > > > that
> > > > > > > > > > > I was asking. reg the plotting of MPR's
> > > > > > > > > > > Kindly suggest.
> > > > > > > > > > > Geeta
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > > Subject: Re: [rt.rap.ucar.edu #70453]
combining
> nc
> > >    files
> > > > > > > together
> > > > > > > > > > > > From: met_help at ucar.edu
> > > > > > > > > > > > To: geeta124 at hotmail.com
> > > > > > > > > > > > Date: Mon, 26 Jan 2015 09:58:32 -0700
> > > > > > > > > > > >
> > > > > > > > > > > > Geeta,
> > > > > > > > > > > >
> > > > > > > > > > > > On that webpage (
> > > > > > > > > > > >
> > > > >
> http://www.dtcenter.org/met/users/downloads/analysis_scripts.php
> > > > > > > ),
> > > > > > > > > > > please
> > > > > > > > > > > > look specifically at the script named
> > >    "mode_quilt_plot.R".
> > > > > > > Here's
> > > > > > > > > the
> > > > > > > > > > > > direct link to that script:
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > >
> > >
>
http://www.dtcenter.org/met/users/downloads/Rscripts/mode_quilt_plot.R
> > > > > > > > > > > >
> > > > > > > > > > > > And here's a direct link to the sample output
> that
> > >    script
> > > > > > > creates:
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > >
> > > > > > >
> > > > >
> > >
>
http://www.dtcenter.org/met/users/downloads/Rscripts/SAMPLE_mode_quilts.pdf
> > > > > > > > > > > >
> > > > > > > > > > > > This is an example of using R to make a quilt
> plot
> > >    for the
> > > > > > > output of
> > > > > > > > > the
> > > > > > > > > > > > MODE tool.  You might also use a quilt plot to
> > >    display
> > > > > fractions
> > > > > > > > > skill
> > > > > > > > > > > > score from the Grid-Stat tool, if you've run
FSS
> for
> > >    multiple
> > > > > > > > > thresholds
> > > > > > > > > > > > and neighborhood sizes.
> > > > > > > > > > > >
> > > > > > > > > > > > John
> > > > > > > > > > > >
> > > > > > > > > > > > On Mon, Jan 26, 2015 at 7:28 AM, Geeta Geeta
via
> RT
> > >    <
> > > > > > > > > met_help at ucar.edu>
> > > > > > > > > > > > wrote:
> > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > <URL:
> > > > > https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453
> > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > Hi John.
> > > > > > > > > > > > > the link
> > > > > > > > > > >
> > > > >
> http://www.dtcenter.org/met/users/downloads/analysis_scripts.php
> > > > > > > > > > > > > has the plots for the cnt statistics.
> > > > > > > > > > > > > I am not familiar with R. I am going thru
the
> > >    plot_cnt.R
> > > > > > > script.
> > > > > > > > > > > > > but I want to know what will be the data
> format
> > >    for the
> > > > > Quilt
> > > > > > > plot.
> > > > > > > > > > > > > Do I have to write my own script???.
> > > > > > > > > > > > > Kindly let me know about the data format and
> how I
> > >    have to
> > > > > > > modify
> > > > > > > > > the
> > > > > > > > > > > > > above script in order to make the quilt
plot.
> > > > > > > > > > > > > Regards
> > > > > > > > > > > > > Geeta
> > > > > > > > > > > > >
> > > > > > > > > > > > > > Subject: Re: [rt.rap.ucar.edu #70453]
> combining
> > >    nc files
> > > > > > > > > together
> > > > > > > > > > > > > > From: met_help at ucar.edu
> > > > > > > > > > > > > > To: geeta124 at hotmail.com
> > > > > > > > > > > > > > Date: Fri, 23 Jan 2015 11:09:23 -0700
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Geeta,
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Regarding 3-hourly RF accumulations, if
MET
> is
> > >    able to
> > > > > read
> > > > > > > those
> > > > > > > > > > > NetCDF
> > > > > > > > > > > > > > files, you can run them through PCP-
Combine
> to
> > >    "add"
> > > > > them all
> > > > > > > > > > > together.
> > > > > > > > > > > > > > Just use the example PCP_Combine command I
> > >    already sent
> > > > > you
> > > > > > > but
> > > > > > > > > > > modify
> > > > > > > > > > > > > the
> > > > > > > > > > > > > > "name" entry to list the name of the
NetCDF
> > >    variable you
> > > > > > > want to
> > > > > > > > > > > use.  If
> > > > > > > > > > > > > > MET is not able to read them, then it's up
> to
> > >    you to
> > > > > figure
> > > > > > > out
> > > > > > > > > how
> > > > > > > > > > > to
> > > > > > > > > > > > > > accumulate them.
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > If you're familiar with R, you could use
the
> > >    "ncdf"
> > > > > library
> > > > > > > in R
> > > > > > > > > to
> > > > > > > > > > > read
> > > > > > > > > > > > > > data from one or more NetCDF files, add
them
> up,
> > >    and
> > > > > write it
> > > > > > > > > out to
> > > > > > > > > > > a
> > > > > > > > > > > > > new
> > > > > > > > > > > > > > file.  Alternatively, "nco" (NetCDF
> Operators)
> > >    provide
> > > > > some
> > > > > > > > > > > capability of
> > > > > > > > > > > > > > doing simple operations on NetCDF files.
> You
> > >    might be
> > > > > able
> > > > > > > to
> > > > > > > > > use
> > > > > > > > > > > them.
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Regarding quilt plots, I've only used R to
> make
> > >    them in
> > > > > the
> > > > > > > past.
> > > > > > > > > > > > > > Specifically, the "quilt.plot" function in
> the R
> > >    package
> > > > > > > named
> > > > > > > > > > > "fields".
> > > > > > > > > > > > > > Please take a look at this website:
> > > > > > > > > > > > > >
> > > > > > > > >
> > >
> http://www.dtcenter.org/met/users/downloads/analysis_scripts.php
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > The Rscript named "mode_quilt_plot.R"
> provides
> > >    an
> > > > > example of
> > > > > > > > > using R
> > > > > > > > > > > to
> > > > > > > > > > > > > > make quilt plots.  Example output from
that
> > >    script is
> > > > > also
> > > > > > > > > included
> > > > > > > > > > > on
> > > > > > > > > > > > > that
> > > > > > > > > > > > > > page.
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Thanks,
> > > > > > > > > > > > > > John
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > On Fri, Jan 23, 2015 at 4:06 AM, Geeta
Geeta
> via
> > >    RT <
> > > > > > > > > > > met_help at ucar.edu>
> > > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > <URL:
> > > > > > > https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453
> > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > Hi John. Your help is needed at every
> step.
> > >    Now I want
> > > > > to
> > > > > > > know
> > > > > > > > > > > which
> > > > > > > > > > > > > > > software can be used for making the
QUILT
> plot
> > > > > (intensity
> > > > > > > and
> > > > > > > > > > > spatial
> > > > > > > > > > > > > > > distribution) plot. Can It be done in
> using
> > >    MET5.0. How
> > > > > > > Can I
> > > > > > > > > plot
> > > > > > > > > > > the
> > > > > > > > > > > > > > > point data that I used in
MET5.0???KIndly
> > >    guide me.
> > > > > Also
> > > > > > > pls
> > > > > > > > > tell
> > > > > > > > > > > me
> > > > > > > > > > > > > if u
> > > > > > > > > > > > > > > can figure out the issue of 3hrly RF
> > >    accumulations if
> > > > > the
> > > > > > > files
> > > > > > > > > > > are in
> > > > > > > > > > > > > the
> > > > > > > > > > > > > > > NETCDF format. Geeta
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > From: geeta124 at hotmail.com
> > > > > > > > > > > > > > > To: met_help at ucar.edu
> > > > > > > > > > > > > > > Subject: RE: [rt.rap.ucar.edu #70453]
> > >    combining nc
> > > > > files
> > > > > > > > > together
> > > > > > > > > > > > > > > Date: Thu, 22 Jan 2015 16:30:34 +0530
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > thanks John.  the pcp combine tool uses
> only
> > >    GRIB1
> > > > > files.
> > > > > > > these
> > > > > > > > > > > were
> > > > > > > > > > > > > > > netcdf files (attaching one).I had
> downloaded
> > >    the NC
> > > > > files
> > > > > > > from
> > > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > >
> > > > > > >
> > > > > http://mirador.gsfc.nasa.gov/cgi-
> > >    bin/mirador/granlist.pl?page=1&location=(-90,-
> > >
>
180),(90,180)&dataSet=TRMM_3B42&version=007&allversion=007&startTime=2011-
> > >    04-22T00:00:01Z&endTime=2011-04-
> > >    22T23:59:59Z&keyword=TRMM_3B42&longname=TRMM%203-
> > >
>
Hourly%200.25%20deg.%20TRMM%20and%20Others%20Rainfall%20Estimate%20Data&CGISESSID=02499c2107ddfb60a3e46d6b99df3d79&prodpg=http://mirador.gsfc.nasa.gov/collections/TRMM_3B42__007.shtmlI
> > > > > > > > > > > > > > > got following error. bash-3.2$
> > >    ./run_pcptool.sh
> > > > > Running PCP
> > > > > > > > > > > > > toolPerforming
> > > > > > > > > > > > > > > addition command for 2 files.Reading
input
> > >    file:
> > > > > > > > > > > 3B42.20110422.12.7.nc
> > > > > > > > > > > > > > > GribFile::skip_header() -> can't find
> "GRIB"
> > >    magic
> > > > > cookie
> > > > > > > > >  ERROR:
> > > > > > > > > > > > > > > get_field() -> can't open grib file:
> > > > > 3B42.20110422.12.7.nc
> > > > > > > > > > > > > > > Following is my script--------!/bin/sh
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >              echo " Running PCP
> > > > > > > > > > > > > > >
> tool"~/wrf3/utils/met/METv3.0/bin/pcp_combine
> > >    -add
> > > > > > > > > > > > > 3B42.20110422.12.7.nc
> > > > > > > > > > > > > > > 03 3B42.20110422.15.7.nc 03 myoutput.nc
> > > > > > > > > > > > > > > Kindly suggest.
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > the second thing I was thinking to
> download
> > >    the TRMM
> > > > > data
> > > > > > > from
> > > > > > > > > > > thelink
> > > > > > > > > > > > > at
> > > > > > > > > > > > > > > DTC website and then converying the 3
> hourly
> > >    bins to
> > > > > NC.
> > > > > > > > > > > > > > > 2.2 MBftp://
> > > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > >
> > > > > > >
> > > > >
> > >
>
disc2.nascom.nasa.gov/data/TRMM/Gridded/3B42_V7/201104/3B42.110422.15z.7.precipitation.bin
> > > > > > > > > > > > > > > But my problem will be to ACCUMULATE
them.
> I
> > >    need to
> > > > > > > verify the
> > > > > > > > > > > model
> > > > > > > > > > > > > data
> > > > > > > > > > > > > > > starting 06 UTC of day1 to 03UTC of
DAY2.
> I
> > >    mean how
> > > > > do I
> > > > > > > > > combine
> > > > > > > > > > > all
> > > > > > > > > > > > > the
> > > > > > > > > > > > > > > NC  files together. Kindly suggest
> > > > > > > > > > > > > > > > Subject: Re: [rt.rap.ucar.edu #70453]
> > >    combining nc
> > > > > files
> > > > > > > > > > > together
> > > > > > > > > > > > > > > > From: met_help at ucar.edu
> > > > > > > > > > > > > > > > To: geeta124 at hotmail.com
> > > > > > > > > > > > > > > > Date: Wed, 21 Jan 2015 10:45:12 -0700
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > Geeta,
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > I'm assuming the variable in the
NetCDF
> > >    files is
> > > > > named
> > > > > > > > > > > "APCP_03".  If
> > > > > > > > > > > > > > > not,
> > > > > > > > > > > > > > > > just switch in the actual name.  You
can
> run
> > >    the
> > > > > > > following
> > > > > > > > > > > > > pcp_combine
> > > > > > > > > > > > > > > -add
> > > > > > > > > > > > > > > > command:
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > pcp_combine -add \
> > > > > > > > > > > > > > > >    3B42.20110422.09.7.nc
> 'name="APCP_03";
> > > > > > > level="(*,*)";' \
> > > > > > > > > > > > > > > >    3B42.20110422.12.7.nc
> 'name="APCP_03";
> > > > > > > level="(*,*)";' \
> > > > > > > > > > > > > > > >    3B42.20110422.15.7.nc
> 'name="APCP_03";
> > > > > > > level="(*,*)";' \
> > > > > > > > > > > > > > > >    3B42.20110422.18.7.nc
> 'name="APCP_03";
> > > > > > > level="(*,*)";' \
> > > > > > > > > > > > > > > >    3B42.20110422.21.7.nc
> 'name="APCP_03";
> > > > > > > level="(*,*)";' \
> > > > > > > > > > > > > > > >    3B42.20110423.00.7.nc
> 'name="APCP_03";
> > > > > > > level="(*,*)";' \
> > > > > > > > > > > > > > > >    3B42.20110423.03.7.nc
> 'name="APCP_03";
> > > > > > > level="(*,*)";' \
> > > > > > > > > > > > > > > >    3B42.20110423.06.7.nc
> 'name="APCP_03";
> > > > > > > level="(*,*)";' \
> > > > > > > > > > > > > > > >    3B42.20110423.06.7_APCP_24.nc
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > The last file listed is just the
output
> file
> > >    name I
> > > > > > > chose.
> > > > > > > > > But
> > > > > > > > > > > you
> > > > > > > > > > > > > can
> > > > > > > > > > > > > > > > name it whatever you'd like.
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > John
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > On Wed, Jan 21, 2015 at 4:02 AM, Geeta
> Geeta
> > >    via RT <
> > > > > > > > > > > > > met_help at ucar.edu>
> > > > > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > Wed Jan 21 04:02:41 2015: Request
> 70453
> > >    was acted
> > > > > upon.
> > > > > > > > > > > > > > > > > Transaction: Ticket created by
> > > > > geeta124 at hotmail.com
> > > > > > > > > > > > > > > > >        Queue: met_help
> > > > > > > > > > > > > > > > >      Subject: combining nc files
> together
> > > > > > > > > > > > > > > > >        Owner: Nobody
> > > > > > > > > > > > > > > > >   Requestors: geeta124 at hotmail.com
> > > > > > > > > > > > > > > > >       Status: new
> > > > > > > > > > > > > > > > >  Ticket <URL:
> > > > > > > > > > > > >
> > >    https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > Hi John.
> > > > > > > > > > > > > > > > > Sorry to bother you again n again.
But
> I
> > >    have no
> > > > > > > choice. I
> > > > > > > > > > > want to
> > > > > > > > > > > > > know
> > > > > > > > > > > > > > > > > the followingI have 8 nc files.
bash-
> 3.2$
> > >    ls
> > > > > -ltotal
> > > > > > > > > > > > > 216336-rw-r--r--
> > > > > > > > > > > > > > >   1
> > > > > > > > > > > > > > > > > model    staff      13841488 Jan 21
> 11:24
> > > > > > > > > > > > > > > 3B42.20110422.06.7.nc-rw-r--r--
> > > > > > > > > > > > > > > > >   1 model    staff      13841488 Jan
> 21
> > >    11:27
> > > > > > > > > > > > > > > > > 3B42.20110422.09.7.nc-rw-r--r--    1
> model
> > >    staff
> > > > > > > > > > > 13841492
> > > > > > > > > > > > > Jan
> > > > > > > > > > > > > > > 21
> > > > > > > > > > > > > > > > > 14:01 3B42.20110422.12.7.nc-rw-r--
r--
> 1
> > >    model
> > > > > > > staff
> > > > > > > > > > > > > > > 13841492 Jan
> > > > > > > > > > > > > > > > > 21 13:16 3B42.20110422.15.7.nc-rw-
r--
> r--
> > >    1 model
> > > > > > > > > staff
> > > > > > > > > > > > > > > 13841492
> > > > > > > > > > > > > > > > > Jan 21 14:51 3B42.20110422.18.7.nc-
rw-
> r--
> > >    r--    1
> > > > > model
> > > > > > > > > > > staff
> > > > > > > > > > > > > > > > > 13841492 Jan 21 13:21
> > > > > 3B42.20110422.21.7.nc-rw-r--r--
> > > > > > >   1
> > > > > > > > > > > model
> > > > > > > > > > > > > > > staff
> > > > > > > > > > > > > > > > >     13841488 Jan 21 13:22
> > > > > > > 3B42.20110423.00.7.nc-rw-r--r--
> > > > > > > > >   1
> > > > > > > > > > > > > model
> > > > > > > > > > > > > > > > > staff      13841488 Jan 21 13:50
> > > > > > > > > > > 3B42.20110423.03.7.ncbash-3.2$ pwd
> > > > > > > > > > > > > > > > > I need to make ONE 24 hour RF
> accumulated
> > >    file
> > > > > starting
> > > > > > > > > 06UTC
> > > > > > > > > > > of
> > > > > > > > > > > > > > > > > 22.04.2011 - 03UTC of 23.04.2011.
How
> do I
> > >    do
> > > > > that???
> > > > > > > > > > > > > > > > > Geeta
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > > >
> > > >
> >
> >
> >
>
> ------------------------------------------------
> Subject: combining nc files together
> From: John Halley Gotway
> Time: Thu Feb 19 07:38:56 2015
>
> Geeta,
>
> No, it does not.  It is in our list of tasks for future development,
> but
> isn't in there yet.  You can only get neighborhood output from grid-
> stat,
> not point-stat.
>
> Thanks
> John
>
> On Thursday, February 19, 2015, Geeta Geeta via RT
<met_help at ucar.edu>
> wrote:
>
> >
> > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453 >
> >
> > Hi Tressa and John.
> > I want to know if MET5.0 has neighborhood methods defined for
point
> > observations???.
> > If Yes, Pls guide me with this.
> > Geeta
> >
> >
> > > Subject: [rt.rap.ucar.edu #70453] combining nc files together
> > > From: met_help at ucar.edu <javascript:;>
> > > To: geeta124 at hotmail.com <javascript:;>
> > > Date: Tue, 17 Feb 2015 13:47:07 -0700
> > >
> > > Hi Geeta,
> > >
> > > The paper we sent was not A reference, it was THE reference, the
> > original published work on the FSS. Of course, algebra allows
> equations to
> > be expressed in many equivalent formats. Feel free to use
whichever
> form
> > you like.
> > >
> > > The Spatial Vx package has many verification methods, but it is
> > relatively new and untested. I'm sure you can reference that
> package's
> > documentation for full details of the available methods.
> > >
> > > Happy verifying,
> > >
> > > Tressa
> > >
> > > On Mon Feb 16 04:32:17 2015, geeta124 at hotmail.com <javascript:;>
> wrote:
> > > > Hi John.
> > > > In Your article, FSS is defined as the
> > > > FSS (n) = 1 - (MSE(n)/MSE(n) ref).
> > > >
> > > > In another paper's I found it to be little different. It was
> related
> > > >    to the FBS Fractional Brier Score.
> > > >
> > > > Can U pls explain be the differences???.
> > > > Also I came across SpatialVx package.
> > > > Does that also provide all the verification procedures???
> > > > Geeta
> > > >
> > > >
> > > > From: geeta124 at hotmail.com <javascript:;>
> > > > To: met_help at ucar.edu <javascript:;>
> > > > Subject: RE: [rt.rap.ucar.edu #70453] combining nc files
> together
> > > > Date: Thu, 12 Feb 2015 11:14:17 +0530
> > > >
> > > >
> > > >
> > > >
> > > > hi John.
> > > > I had read ur article that U have sent reg the FSS and the
MODE
> tools.
> > > >    I could not understand the meaning of FORECAST SKILL
> associated
> > > >    with Uniform FOrECAST. This is what is mentioed in the FSS
> section
> > > >    of Ur article.
> > > > I didnt understand the concept/idea. if U could just explain a
> little
> > > >    more I can build/read some articles that you would suggest.
> > > > Thanks for ur help.
> > > > Geeta
> > > >
> > > > > Subject: Re: [rt.rap.ucar.edu #70453] combining nc files
> together
> > > > > From: met_help at ucar.edu <javascript:;>
> > > > > To: geeta124 at hotmail.com <javascript:;>
> > > > > Date: Wed, 11 Feb 2015 10:17:33 -0700
> > > > >
> > > > > Geeta,
> > > > >
> > > > > I think your reference to an article must be from a
different
> email
> > > >    chain.
> > > > >
> > > > > I see that you're asking about "FORECAST skill associated
with
> the
> > > >    Uniform
> > > > > forecast".  Are you looking for more references related to
> > > >    neighborhood
> > > > > verification statistics, like Fractions Skill Score?
> > > > >
> > > > > Thanks,
> > > > > John
> > > > >
> > > > > On Mon, Feb 9, 2015 at 1:53 AM, Geeta Geeta via RT
> > > >    <met_help at ucar.edu <javascript:;>>
> > > > > wrote:
> > > > >
> > > > > >
> > > > > > <URL:
> https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453 >
> > > > > >
> > > > > > Hi John.
> > > > > > Thanks for the article. It is very informative.
> > > > > > I dont know if i should be asking at this forum, the
meaning
> of
> > > >    the
> > > > > > "FORECAST skill associated with the Uniform forecast" as
you
> have
> > > >    mentioned
> > > > > > in your paper.
> > > > > > If U give me some references, it would be great.
> > > > > > Geeta
> > > > > >
> > > > > > > Subject: Re: [rt.rap.ucar.edu #70453] combining nc files
> > > >    together
> > > > > > > From: met_help at ucar.edu <javascript:;>
> > > > > > > To: geeta124 at hotmail.com <javascript:;>
> > > > > > > Date: Thu, 5 Feb 2015 10:33:59 -0700
> > > > > > >
> > > > > > > Geeta,
> > > > > > >
> > > > > > > You're correct, you can only use the "sum" command of
> > > >    pcp_combine for
> > > > > > GRIB1
> > > > > > > or GRIB2 files...
> > > > > > >
> > > > > > > But, you can use the "add" command on any gridded data
> file
> > > >    format that
> > > > > > MET
> > > > > > > supports.  Adding together 8 NetCDF files with
pcp_combine
> would
> > > >    look
> > > > > > > something like this:
> > > > > > >
> > > > > > > pcp_combine -add \
> > > > > > > file1.nc 'name="APCP_03"; level="(*,*)";' \
> > > > > > > file2.nc 'name="APCP_03"; level="(*,*)";' \
> > > > > > > ...
> > > > > > > file8.nc 'name="APCP_03"; level="(*,*)";' \
> > > > > > > APCP_24.nc
> > > > > > >
> > > > > > > It makes for a longer command line, but it is possible
to
> do
> > > >    with
> > > > > > > pcp_combine.
> > > > > > >
> > > > > > > John
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > On Thu, Feb 5, 2015 at 2:02 AM, Geeta Geeta via RT
> > > >    <met_help at ucar.edu <javascript:;>>
> > > > > > > wrote:
> > > > > > >
> > > > > > > >
> > > > > > > > <URL:
> https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453
> > > >    >
> > > > > > > >
> > > > > > > > Hi John.
> > > > > > > > Thanks for wonderful ideas.
> > > > > > > > The first one is working. but I have yet to run
> grid_stat to
> > > >    see if
> > > > > > > > everything is working finally. I ll try the ncatted.
> > > > > > > >
> > > > > > > > To sum up all the nc files (for the times that I
want),
> I did
> > > >    try the
> > > > > > > > pcp_combine. But I guess It only works for the GRIB
> files.
> > > > > > > > I have sent to u the error before. I tried to use
MET3.0
> for
> > > >    that
> > > > > > which is
> > > > > > > > installed in my HPC.
> > > > > > > > I have 5.0 on my personal system. Will try that
exercise
> in
> > > >    this
> > > > > > system.
> > > > > > > > Thanks again for your help.
> > > > > > > > Geeta
> > > > > > > >
> > > > > > > >
> > > > > > > > > Subject: Re: [rt.rap.ucar.edu #70453] combining nc
> files
> > > >    together
> > > > > > > > > From: met_help at ucar.edu <javascript:;>
> > > > > > > > > To: geeta124 at hotmail.com <javascript:;>
> > > > > > > > > Date: Wed, 4 Feb 2015 11:21:19 -0700
> > > > > > > > >
> > > > > > > > > Geeta,
> > > > > > > > >
> > > > > > > > > The trmmbin2nc.R script is set up to only handle the
> TRMM
> > > >    binary data
> > > > > > > > > exactly from that website.  The timing information
for
> that
> > > >    binary
> > > > > > data
> > > > > > > > is
> > > > > > > > > only contained in the file name, and you've renamed
> those
> > > >    files.  So
> > > > > > the
> > > > > > > > > script doesn't know how to parse them.
> > > > > > > > >
> > > > > > > > > Here's 2 options:
> > > > > > > > > (1) Rename that file using the "daily" file naming
> > > >    conventions:
> > > > > > > > >    cp Obs22apr2011.bin 3B42_daily.2011.04.22.7.bin
> > > > > > > > >    Rscript 3B42_daily.2011.04.22.7.bin
> > > >    3B42_daily.2011.04.22.7.nc
> > > > > > > > >
> > > > > > > > > That will produce output but it'll assume the
> precipitation
> > > >    is
> > > > > > > > accumulated
> > > > > > > > > for 24-hours from 20110422 00Z to 20110423 00Z.  If
> the
> > > >    times should
> > > > > > be
> > > > > > > > > something different you could... edit the Rscript to
> use the
> > > >    times
> > > > > > you
> > > > > > > > > want... or use the "ncatted" tool to modify the
timing
> > > >    information
> > > > > > listed
> > > > > > > > > in the output NetCDF file.
> > > > > > > > >
> > > > > > > > > (2) Or, as we've discussed in the past, you could
run
> each
> > > >    of the
> > > > > > 3-hour
> > > > > > > > > files through the trmmbin2nc.R script and write out
> NetCDF
> > > >    files.
> > > > > > Then
> > > > > > > > run
> > > > > > > > > those 3-hourly NetCDF files through pcp_combine to
add
> them
> > > >    up.
> > > > > > > > >
> > > > > > > > > Thanks,
> > > > > > > > > John
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > On Sun, Feb 1, 2015 at 11:27 PM, Geeta Geeta via RT
<
> > > > > > met_help at ucar.edu <javascript:;>>
> > > > > > > > > wrote:
> > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > <URL:
> > > >    https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453 >
> > > > > > > > > >
> > > > > > > > > > Hi John.
> > > > > > > > > > This is an old Ticket. Kindly sort this issue too.
> > > > > > > > > > I was able to sum up all the 3 hourly TRMM files
and
> then
> > > >    convert
> > > > > > the
> > > > > > > > > > final file into One called Obs22apr2011.bin.
> > > > > > > > > > I had used Grads for summing up all the 8 files.
and
> now I
> > > >    am using
> > > > > > > > the R
> > > > > > > > > > script for
> > > > > > > > > > converting into NC.
> > > > > > > > > > But I got the error.
> > > > > > > > > > aditya at agniilap:~/geeta/installs/met/RUN_MET-
> 22apr2011$
> > > >    Rscript
> > > > > > > > > > ../trmm_to_nc/trmmbin2nc_mod.R Obs22apr2011.bin
> > > >    Obs22apr2011.nc
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > ERROR: Can't figure out the accumulation
interval!I
> am
> > > >    sending you
> > > > > > the
> > > > > > > > > > data that I converted using Grads.
> > > > > > > > > > Geeta
> > > > > > > > > >
> > > > > > > > > > > Subject: Re: [rt.rap.ucar.edu #70453] combining
nc
> files
> > > > > > together
> > > > > > > > > > > From: met_help at ucar.edu <javascript:;>
> > > > > > > > > > > To: geeta124 at hotmail.com <javascript:;>
> > > > > > > > > > > Date: Fri, 30 Jan 2015 11:04:18 -0700
> > > > > > > > > > >
> > > > > > > > > > > Geeta,
> > > > > > > > > > >
> > > > > > > > > > > I don't have time to adapt that Rscript for your
> use
> > > >    with
> > > > > > Grid-Stat.
> > > > > > > > > > > However, we did do something very similar for a
> previous
> > > > > > project.  I
> > > > > > > > have
> > > > > > > > > > > attached an Rscript named "fss_quilt_plot.R" you
> could
> > > >    easily
> > > > > > adapt
> > > > > > > > to
> > > > > > > > > > > create a quilt plot for your data.  I've also
> attached a
> > > >    copy of
> > > > > > the
> > > > > > > > > > paper
> > > > > > > > > > > for which this script was used.  Please look at
> figure
> > > >    7.
> > > > > > > > > > >
> > > > > > > > > > > Thanks,
> > > > > > > > > > > John
> > > > > > > > > > >
> > > > > > > > > > > On Fri, Jan 30, 2015 at 1:03 AM, Geeta Geeta via
> RT <
> > > > > > > > met_help at ucar.edu <javascript:;>>
> > > > > > > > > > > wrote:
> > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > <URL:
> > > >    https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453
> > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > Hi John.
> > > > > > > > > > > > I changed different widths in the
configuration
> file.
> > > > > > > > (Width=1,3,5,,7
> > > > > > > > > > etc).
> > > > > > > > > > > >
> > > > > > > > > > > > // Neighborhood methods
> > > > > > > > > > > > //
> > > > > > > > > > > > nbrhd = {
> > > > > > > > > > > >    vld_thresh = 1.0;
> > > > > > > > > > > >    width      = [ 7 ];
> > > > > > > > > > > >    cov_thresh = [ >=0.5 ];
> > > > > > > > > > > > }
> > > > > > > > > > > > and got various outputs (for different widths)
> which
> > > >    are in
> > > > > > > > different
> > > > > > > > > > > > directories.
> > > > > > > > > > > > Now I saw the R script on the website which is
> > > >    probably
> > > > > > > > exclusively for
> > > > > > > > > > > > the MODE TOOL only.
> > > > > > > > > > > > Now my question is how to make the quilt plot
> for the
> > > >    GRid stat
> > > > > > > > > > tool???.
> > > > > > > > > > > > Sorry I m not familiar with R  now.
> > > > > > > > > > > > Pls help.
> > > > > > > > > > > > Geeta.
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > From: geeta124 at hotmail.com <javascript:;>
> > > > > > > > > > > > To: met_help at ucar.edu <javascript:;>
> > > > > > > > > > > > Subject: RE: [rt.rap.ucar.edu #70453]
combining
> nc
> > > >    files
> > > > > > together
> > > > > > > > > > > > Date: Thu, 29 Jan 2015 17:05:25 +0530
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > Hi John.
> > > > > > > > > > > > So I was able to sum up all the 3 hourly TRMM
> files
> > > >    and then
> > > > > > > > convert
> > > > > > > > > > the
> > > > > > > > > > > > final file into One called Obs22apr2011.bin.
> > > > > > > > > > > > I have done that using Grads and now I am
using
> the R
> > > >    script
> > > > > > for
> > > > > > > > > > > > converting into NC.
> > > > > > > > > > > > But I got the error.
> > > > > > > > > > > > aditya at agniilap:~/geeta/installs/met/RUN_MET-
> > > >    22apr2011$
> > > > > > Rscript
> > > > > > > > > > > > ../trmm_to_nc/trmmbin2nc_mod.R
Obs22apr2011.bin
> > > >    Obs22apr2011.nc
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > ERROR: Can't figure out the accumulation
> interval!
> > > > > > > > > > > >
> > > > > > > > > > > > I am sending you the data files and the R
script
> (I
> > > >    changed the
> > > > > > > > > > domain).
> > > > > > > > > > > > The data is plotted fine. Also pls tell me
about
> the
> > > >    ncview
> > > > > > > > questions
> > > > > > > > > > that
> > > > > > > > > > > > I was asking. reg the plotting of MPR's
> > > > > > > > > > > > Kindly suggest.
> > > > > > > > > > > > Geeta
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > > Subject: Re: [rt.rap.ucar.edu #70453]
> combining nc
> > > >    files
> > > > > > > > together
> > > > > > > > > > > > > From: met_help at ucar.edu <javascript:;>
> > > > > > > > > > > > > To: geeta124 at hotmail.com <javascript:;>
> > > > > > > > > > > > > Date: Mon, 26 Jan 2015 09:58:32 -0700
> > > > > > > > > > > > >
> > > > > > > > > > > > > Geeta,
> > > > > > > > > > > > >
> > > > > > > > > > > > > On that webpage (
> > > > > > > > > > > > >
> > > > > >
> http://www.dtcenter.org/met/users/downloads/analysis_scripts.php
> > > > > > > > ),
> > > > > > > > > > > > please
> > > > > > > > > > > > > look specifically at the script named
> > > >    "mode_quilt_plot.R".
> > > > > > > > Here's
> > > > > > > > > > the
> > > > > > > > > > > > > direct link to that script:
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > >
> > > >
> >
>
http://www.dtcenter.org/met/users/downloads/Rscripts/mode_quilt_plot.R
> > > > > > > > > > > > >
> > > > > > > > > > > > > And here's a direct link to the sample
output
> that
> > > >    script
> > > > > > > > creates:
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > >
> > > > > > > >
> > > > > >
> > > >
> >
>
http://www.dtcenter.org/met/users/downloads/Rscripts/SAMPLE_mode_quilts.pdf
> > > > > > > > > > > > >
> > > > > > > > > > > > > This is an example of using R to make a
quilt
> plot
> > > >    for the
> > > > > > > > output of
> > > > > > > > > > the
> > > > > > > > > > > > > MODE tool.  You might also use a quilt plot
to
> > > >    display
> > > > > > fractions
> > > > > > > > > > skill
> > > > > > > > > > > > > score from the Grid-Stat tool, if you've run
> FSS for
> > > >    multiple
> > > > > > > > > > thresholds
> > > > > > > > > > > > > and neighborhood sizes.
> > > > > > > > > > > > >
> > > > > > > > > > > > > John
> > > > > > > > > > > > >
> > > > > > > > > > > > > On Mon, Jan 26, 2015 at 7:28 AM, Geeta Geeta
> via RT
> > > >    <
> > > > > > > > > > met_help at ucar.edu <javascript:;>>
> > > > > > > > > > > > > wrote:
> > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > <URL:
> > > > > > https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453
> > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Hi John.
> > > > > > > > > > > > > > the link
> > > > > > > > > > > >
> > > > > >
> http://www.dtcenter.org/met/users/downloads/analysis_scripts.php
> > > > > > > > > > > > > > has the plots for the cnt statistics.
> > > > > > > > > > > > > > I am not familiar with R. I am going thru
> the
> > > >    plot_cnt.R
> > > > > > > > script.
> > > > > > > > > > > > > > but I want to know what will be the data
> format
> > > >    for the
> > > > > > Quilt
> > > > > > > > plot.
> > > > > > > > > > > > > > Do I have to write my own script???.
> > > > > > > > > > > > > > Kindly let me know about the data format
and
> how I
> > > >    have to
> > > > > > > > modify
> > > > > > > > > > the
> > > > > > > > > > > > > > above script in order to make the quilt
> plot.
> > > > > > > > > > > > > > Regards
> > > > > > > > > > > > > > Geeta
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > > Subject: Re: [rt.rap.ucar.edu #70453]
> combining
> > > >    nc files
> > > > > > > > > > together
> > > > > > > > > > > > > > > From: met_help at ucar.edu <javascript:;>
> > > > > > > > > > > > > > > To: geeta124 at hotmail.com <javascript:;>
> > > > > > > > > > > > > > > Date: Fri, 23 Jan 2015 11:09:23 -0700
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > Geeta,
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > Regarding 3-hourly RF accumulations, if
> MET is
> > > >    able to
> > > > > > read
> > > > > > > > those
> > > > > > > > > > > > NetCDF
> > > > > > > > > > > > > > > files, you can run them through PCP-
> Combine to
> > > >    "add"
> > > > > > them all
> > > > > > > > > > > > together.
> > > > > > > > > > > > > > > Just use the example PCP_Combine command
I
> > > >    already sent
> > > > > > you
> > > > > > > > but
> > > > > > > > > > > > modify
> > > > > > > > > > > > > > the
> > > > > > > > > > > > > > > "name" entry to list the name of the
> NetCDF
> > > >    variable you
> > > > > > > > want to
> > > > > > > > > > > > use.  If
> > > > > > > > > > > > > > > MET is not able to read them, then it's
up
> to
> > > >    you to
> > > > > > figure
> > > > > > > > out
> > > > > > > > > > how
> > > > > > > > > > > > to
> > > > > > > > > > > > > > > accumulate them.
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > If you're familiar with R, you could use
> the
> > > >    "ncdf"
> > > > > > library
> > > > > > > > in R
> > > > > > > > > > to
> > > > > > > > > > > > read
> > > > > > > > > > > > > > > data from one or more NetCDF files, add
> them up,
> > > >    and
> > > > > > write it
> > > > > > > > > > out to
> > > > > > > > > > > > a
> > > > > > > > > > > > > > new
> > > > > > > > > > > > > > > file.  Alternatively, "nco" (NetCDF
> Operators)
> > > >    provide
> > > > > > some
> > > > > > > > > > > > capability of
> > > > > > > > > > > > > > > doing simple operations on NetCDF files.
> You
> > > >    might be
> > > > > > able
> > > > > > > > to
> > > > > > > > > > use
> > > > > > > > > > > > them.
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > Regarding quilt plots, I've only used R
to
> make
> > > >    them in
> > > > > > the
> > > > > > > > past.
> > > > > > > > > > > > > > > Specifically, the "quilt.plot" function
in
> the R
> > > >    package
> > > > > > > > named
> > > > > > > > > > > > "fields".
> > > > > > > > > > > > > > > Please take a look at this website:
> > > > > > > > > > > > > > >
> > > > > > > > > >
> > > >
> http://www.dtcenter.org/met/users/downloads/analysis_scripts.php
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > The Rscript named "mode_quilt_plot.R"
> provides
> > > >    an
> > > > > > example of
> > > > > > > > > > using R
> > > > > > > > > > > > to
> > > > > > > > > > > > > > > make quilt plots.  Example output from
> that
> > > >    script is
> > > > > > also
> > > > > > > > > > included
> > > > > > > > > > > > on
> > > > > > > > > > > > > > that
> > > > > > > > > > > > > > > page.
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > Thanks,
> > > > > > > > > > > > > > > John
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > On Fri, Jan 23, 2015 at 4:06 AM, Geeta
> Geeta via
> > > >    RT <
> > > > > > > > > > > > met_help at ucar.edu <javascript:;>>
> > > > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > <URL:
> > > > > > > >
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453
> > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > Hi John. Your help is needed at every
> step.
> > > >    Now I want
> > > > > > to
> > > > > > > > know
> > > > > > > > > > > > which
> > > > > > > > > > > > > > > > software can be used for making the
> QUILT plot
> > > > > > (intensity
> > > > > > > > and
> > > > > > > > > > > > spatial
> > > > > > > > > > > > > > > > distribution) plot. Can It be done in
> using
> > > >    MET5.0. How
> > > > > > > > Can I
> > > > > > > > > > plot
> > > > > > > > > > > > the
> > > > > > > > > > > > > > > > point data that I used in
> MET5.0???KIndly
> > > >    guide me.
> > > > > > Also
> > > > > > > > pls
> > > > > > > > > > tell
> > > > > > > > > > > > me
> > > > > > > > > > > > > > if u
> > > > > > > > > > > > > > > > can figure out the issue of 3hrly RF
> > > >    accumulations if
> > > > > > the
> > > > > > > > files
> > > > > > > > > > > > are in
> > > > > > > > > > > > > > the
> > > > > > > > > > > > > > > > NETCDF format. Geeta
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > From: geeta124 at hotmail.com
> <javascript:;>
> > > > > > > > > > > > > > > > To: met_help at ucar.edu <javascript:;>
> > > > > > > > > > > > > > > > Subject: RE: [rt.rap.ucar.edu #70453]
> > > >    combining nc
> > > > > > files
> > > > > > > > > > together
> > > > > > > > > > > > > > > > Date: Thu, 22 Jan 2015 16:30:34 +0530
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > thanks John.  the pcp combine tool
uses
> only
> > > >    GRIB1
> > > > > > files.
> > > > > > > > these
> > > > > > > > > > > > were
> > > > > > > > > > > > > > > > netcdf files (attaching one).I had
> downloaded
> > > >    the NC
> > > > > > files
> > > > > > > > from
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > >
> > > > > > > >
> > > > > > http://mirador.gsfc.nasa.gov/cgi-
> > > >    bin/mirador/granlist.pl?page=1&location=(-90,-
> > > >
> >
>
180),(90,180)&dataSet=TRMM_3B42&version=007&allversion=007&startTime=2011-
> > > >    04-22T00:00:01Z&endTime=2011-04-
> > > >    22T23:59:59Z&keyword=TRMM_3B42&longname=TRMM%203-
> > > >
> >
>
Hourly%200.25%20deg.%20TRMM%20and%20Others%20Rainfall%20Estimate%20Data&CGISESSID=02499c2107ddfb60a3e46d6b99df3d79&prodpg=
> > http://mirador.gsfc.nasa.gov/collections/TRMM_3B42__007.shtmlI
> > > > > > > > > > > > > > > > got following error. bash-3.2$
> > > >    ./run_pcptool.sh
> > > > > > Running PCP
> > > > > > > > > > > > > > toolPerforming
> > > > > > > > > > > > > > > > addition command for 2 files.Reading
> input
> > > >    file:
> > > > > > > > > > > > 3B42.20110422.12.7.nc
> > > > > > > > > > > > > > > > GribFile::skip_header() -> can't find
> "GRIB"
> > > >    magic
> > > > > > cookie
> > > > > > > > > >  ERROR:
> > > > > > > > > > > > > > > > get_field() -> can't open grib file:
> > > > > > 3B42.20110422.12.7.nc
> > > > > > > > > > > > > > > > Following is my script--------!/bin/sh
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >              echo " Running PCP
> > > > > > > > > > > > > > > >
> tool"~/wrf3/utils/met/METv3.0/bin/pcp_combine
> > > >    -add
> > > > > > > > > > > > > > 3B42.20110422.12.7.nc
> > > > > > > > > > > > > > > > 03 3B42.20110422.15.7.nc 03
myoutput.nc
> > > > > > > > > > > > > > > > Kindly suggest.
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > the second thing I was thinking to
> download
> > > >    the TRMM
> > > > > > data
> > > > > > > > from
> > > > > > > > > > > > thelink
> > > > > > > > > > > > > > at
> > > > > > > > > > > > > > > > DTC website and then converying the 3
> hourly
> > > >    bins to
> > > > > > NC.
> > > > > > > > > > > > > > > > 2.2 MBftp://
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > >
> > > > > > > >
> > > > > >
> > > >
> >
>
disc2.nascom.nasa.gov/data/TRMM/Gridded/3B42_V7/201104/3B42.110422.15z.7.precipitation.bin
> > > > > > > > > > > > > > > > But my problem will be to ACCUMULATE
> them. I
> > > >    need to
> > > > > > > > verify the
> > > > > > > > > > > > model
> > > > > > > > > > > > > > data
> > > > > > > > > > > > > > > > starting 06 UTC of day1 to 03UTC of
> DAY2. I
> > > >    mean how
> > > > > > do I
> > > > > > > > > > combine
> > > > > > > > > > > > all
> > > > > > > > > > > > > > the
> > > > > > > > > > > > > > > > NC  files together. Kindly suggest
> > > > > > > > > > > > > > > > > Subject: Re: [rt.rap.ucar.edu
#70453]
> > > >    combining nc
> > > > > > files
> > > > > > > > > > > > together
> > > > > > > > > > > > > > > > > From: met_help at ucar.edu
<javascript:;>
> > > > > > > > > > > > > > > > > To: geeta124 at hotmail.com
> <javascript:;>
> > > > > > > > > > > > > > > > > Date: Wed, 21 Jan 2015 10:45:12
-0700
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > Geeta,
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > I'm assuming the variable in the
> NetCDF
> > > >    files is
> > > > > > named
> > > > > > > > > > > > "APCP_03".  If
> > > > > > > > > > > > > > > > not,
> > > > > > > > > > > > > > > > > just switch in the actual name.  You
> can run
> > > >    the
> > > > > > > > following
> > > > > > > > > > > > > > pcp_combine
> > > > > > > > > > > > > > > > -add
> > > > > > > > > > > > > > > > > command:
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > pcp_combine -add \
> > > > > > > > > > > > > > > > >    3B42.20110422.09.7.nc
> 'name="APCP_03";
> > > > > > > > level="(*,*)";' \
> > > > > > > > > > > > > > > > >    3B42.20110422.12.7.nc
> 'name="APCP_03";
> > > > > > > > level="(*,*)";' \
> > > > > > > > > > > > > > > > >    3B42.20110422.15.7.nc
> 'name="APCP_03";
> > > > > > > > level="(*,*)";' \
> > > > > > > > > > > > > > > > >    3B42.20110422.18.7.nc
> 'name="APCP_03";
> > > > > > > > level="(*,*)";' \
> > > > > > > > > > > > > > > > >    3B42.20110422.21.7.nc
> 'name="APCP_03";
> > > > > > > > level="(*,*)";' \
> > > > > > > > > > > > > > > > >    3B42.20110423.00.7.nc
> 'name="APCP_03";
> > > > > > > > level="(*,*)";' \
> > > > > > > > > > > > > > > > >    3B42.20110423.03.7.nc
> 'name="APCP_03";
> > > > > > > > level="(*,*)";' \
> > > > > > > > > > > > > > > > >    3B42.20110423.06.7.nc
> 'name="APCP_03";
> > > > > > > > level="(*,*)";' \
> > > > > > > > > > > > > > > > >    3B42.20110423.06.7_APCP_24.nc
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > The last file listed is just the
> output file
> > > >    name I
> > > > > > > > chose.
> > > > > > > > > > But
> > > > > > > > > > > > you
> > > > > > > > > > > > > > can
> > > > > > > > > > > > > > > > > name it whatever you'd like.
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > John
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > On Wed, Jan 21, 2015 at 4:02 AM,
Geeta
> Geeta
> > > >    via RT <
> > > > > > > > > > > > > > met_help at ucar.edu <javascript:;>>
> > > > > > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > Wed Jan 21 04:02:41 2015: Request
> 70453
> > > >    was acted
> > > > > > upon.
> > > > > > > > > > > > > > > > > > Transaction: Ticket created by
> > > > > > geeta124 at hotmail.com <javascript:;>
> > > > > > > > > > > > > > > > > >        Queue: met_help
> > > > > > > > > > > > > > > > > >      Subject: combining nc files
> together
> > > > > > > > > > > > > > > > > >        Owner: Nobody
> > > > > > > > > > > > > > > > > >   Requestors: geeta124 at hotmail.com
> > <javascript:;>
> > > > > > > > > > > > > > > > > >       Status: new
> > > > > > > > > > > > > > > > > >  Ticket <URL:
> > > > > > > > > > > > > >
> > > >    https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > Hi John.
> > > > > > > > > > > > > > > > > > Sorry to bother you again n again.
> But I
> > > >    have no
> > > > > > > > choice. I
> > > > > > > > > > > > want to
> > > > > > > > > > > > > > know
> > > > > > > > > > > > > > > > > > the followingI have 8 nc files.
> bash-3.2$
> > > >    ls
> > > > > > -ltotal
> > > > > > > > > > > > > > 216336-rw-r--r--
> > > > > > > > > > > > > > > >   1
> > > > > > > > > > > > > > > > > > model    staff      13841488 Jan
21
> 11:24
> > > > > > > > > > > > > > > > 3B42.20110422.06.7.nc-rw-r--r--
> > > > > > > > > > > > > > > > > >   1 model    staff      13841488
Jan
> 21
> > > >    11:27
> > > > > > > > > > > > > > > > > > 3B42.20110422.09.7.nc-rw-r--r--
1
> model
> > > >    staff
> > > > > > > > > > > > 13841492
> > > > > > > > > > > > > > Jan
> > > > > > > > > > > > > > > > 21
> > > > > > > > > > > > > > > > > > 14:01 3B42.20110422.12.7.nc-rw-r--
> r--    1
> > > >    model
> > > > > > > > staff
> > > > > > > > > > > > > > > > 13841492 Jan
> > > > > > > > > > > > > > > > > > 21 13:16 3B42.20110422.15.7.nc-rw-
> r--r--
> > > >    1 model
> > > > > > > > > > staff
> > > > > > > > > > > > > > > > 13841492
> > > > > > > > > > > > > > > > > > Jan 21 14:51
3B42.20110422.18.7.nc-
> rw-r--
> > > >    r--    1
> > > > > > model
> > > > > > > > > > > > staff
> > > > > > > > > > > > > > > > > > 13841492 Jan 21 13:21
> > > > > > 3B42.20110422.21.7.nc-rw-r--r--
> > > > > > > >   1
> > > > > > > > > > > > model
> > > > > > > > > > > > > > > > staff
> > > > > > > > > > > > > > > > > >     13841488 Jan 21 13:22
> > > > > > > > 3B42.20110423.00.7.nc-rw-r--r--
> > > > > > > > > >   1
> > > > > > > > > > > > > > model
> > > > > > > > > > > > > > > > > > staff      13841488 Jan 21 13:50
> > > > > > > > > > > > 3B42.20110423.03.7.ncbash-3.2$ pwd
> > > > > > > > > > > > > > > > > > I need to make ONE 24 hour RF
> accumulated
> > > >    file
> > > > > > starting
> > > > > > > > > > 06UTC
> > > > > > > > > > > > of
> > > > > > > > > > > > > > > > > > 22.04.2011 - 03UTC of 23.04.2011.
> How do I
> > > >    do
> > > > > > that???
> > > > > > > > > > > > > > > > > > Geeta
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > >
> > > > > >
> > > > >
> > >
> > >
> > >
> >
> >
>
> ------------------------------------------------
> Subject: combining nc files together
> From: Geeta Geeta
> Time: Thu Feb 19 08:26:26 2015
>
> Hi John. I want to know, Can I make the Figure 6 that is there in
Your
> paper. I mean the Forecast Grids or the OBSERVATION grids where the
> thresholds increases a specified value.
> I wish to calculate the FSS manuually so that I absorb the idea.
>
>
> Geeta
>
> > Subject: Re: [rt.rap.ucar.edu #70453] combining nc files together
> > From: met_help at ucar.edu
> > To: geeta124 at hotmail.com
> > Date: Thu, 19 Feb 2015 07:38:56 -0700
> >
> > Geeta,
> >
> > No, it does not.  It is in our list of tasks for future
development,
> but
> > isn't in there yet.  You can only get neighborhood output from
grid-
> stat,
> > not point-stat.
> >
> > Thanks
> > John
> >
> > On Thursday, February 19, 2015, Geeta Geeta via RT
> <met_help at ucar.edu>
> > wrote:
> >
> > >
> > > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453 >
> > >
> > > Hi Tressa and John.
> > > I want to know if MET5.0 has neighborhood methods defined for
> point
> > > observations???.
> > > If Yes, Pls guide me with this.
> > > Geeta
> > >
> > >
> > > > Subject: [rt.rap.ucar.edu #70453] combining nc files together
> > > > From: met_help at ucar.edu <javascript:;>
> > > > To: geeta124 at hotmail.com <javascript:;>
> > > > Date: Tue, 17 Feb 2015 13:47:07 -0700
> > > >
> > > > Hi Geeta,
> > > >
> > > > The paper we sent was not A reference, it was THE reference,
the
> > > original published work on the FSS. Of course, algebra allows
> equations to
> > > be expressed in many equivalent formats. Feel free to use
> whichever form
> > > you like.
> > > >
> > > > The Spatial Vx package has many verification methods, but it
is
> > > relatively new and untested. I'm sure you can reference that
> package's
> > > documentation for full details of the available methods.
> > > >
> > > > Happy verifying,
> > > >
> > > > Tressa
> > > >
> > > > On Mon Feb 16 04:32:17 2015, geeta124 at hotmail.com
<javascript:;>
> wrote:
> > > > > Hi John.
> > > > > In Your article, FSS is defined as the
> > > > > FSS (n) = 1 - (MSE(n)/MSE(n) ref).
> > > > >
> > > > > In another paper's I found it to be little different. It was
> related
> > > > >    to the FBS Fractional Brier Score.
> > > > >
> > > > > Can U pls explain be the differences???.
> > > > > Also I came across SpatialVx package.
> > > > > Does that also provide all the verification procedures???
> > > > > Geeta
> > > > >
> > > > >
> > > > > From: geeta124 at hotmail.com <javascript:;>
> > > > > To: met_help at ucar.edu <javascript:;>
> > > > > Subject: RE: [rt.rap.ucar.edu #70453] combining nc files
> together
> > > > > Date: Thu, 12 Feb 2015 11:14:17 +0530
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > hi John.
> > > > > I had read ur article that U have sent reg the FSS and the
> MODE tools.
> > > > >    I could not understand the meaning of FORECAST SKILL
> associated
> > > > >    with Uniform FOrECAST. This is what is mentioed in the
FSS
> section
> > > > >    of Ur article.
> > > > > I didnt understand the concept/idea. if U could just explain
a
> little
> > > > >    more I can build/read some articles that you would
suggest.
> > > > > Thanks for ur help.
> > > > > Geeta
> > > > >
> > > > > > Subject: Re: [rt.rap.ucar.edu #70453] combining nc files
> together
> > > > > > From: met_help at ucar.edu <javascript:;>
> > > > > > To: geeta124 at hotmail.com <javascript:;>
> > > > > > Date: Wed, 11 Feb 2015 10:17:33 -0700
> > > > > >
> > > > > > Geeta,
> > > > > >
> > > > > > I think your reference to an article must be from a
> different email
> > > > >    chain.
> > > > > >
> > > > > > I see that you're asking about "FORECAST skill associated
> with the
> > > > >    Uniform
> > > > > > forecast".  Are you looking for more references related to
> > > > >    neighborhood
> > > > > > verification statistics, like Fractions Skill Score?
> > > > > >
> > > > > > Thanks,
> > > > > > John
> > > > > >
> > > > > > On Mon, Feb 9, 2015 at 1:53 AM, Geeta Geeta via RT
> > > > >    <met_help at ucar.edu <javascript:;>>
> > > > > > wrote:
> > > > > >
> > > > > > >
> > > > > > > <URL:
> https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453 >
> > > > > > >
> > > > > > > Hi John.
> > > > > > > Thanks for the article. It is very informative.
> > > > > > > I dont know if i should be asking at this forum, the
> meaning of
> > > > >    the
> > > > > > > "FORECAST skill associated with the Uniform forecast" as
> you have
> > > > >    mentioned
> > > > > > > in your paper.
> > > > > > > If U give me some references, it would be great.
> > > > > > > Geeta
> > > > > > >
> > > > > > > > Subject: Re: [rt.rap.ucar.edu #70453] combining nc
files
> > > > >    together
> > > > > > > > From: met_help at ucar.edu <javascript:;>
> > > > > > > > To: geeta124 at hotmail.com <javascript:;>
> > > > > > > > Date: Thu, 5 Feb 2015 10:33:59 -0700
> > > > > > > >
> > > > > > > > Geeta,
> > > > > > > >
> > > > > > > > You're correct, you can only use the "sum" command of
> > > > >    pcp_combine for
> > > > > > > GRIB1
> > > > > > > > or GRIB2 files...
> > > > > > > >
> > > > > > > > But, you can use the "add" command on any gridded data
> file
> > > > >    format that
> > > > > > > MET
> > > > > > > > supports.  Adding together 8 NetCDF files with
> pcp_combine would
> > > > >    look
> > > > > > > > something like this:
> > > > > > > >
> > > > > > > > pcp_combine -add \
> > > > > > > > file1.nc 'name="APCP_03"; level="(*,*)";' \
> > > > > > > > file2.nc 'name="APCP_03"; level="(*,*)";' \
> > > > > > > > ...
> > > > > > > > file8.nc 'name="APCP_03"; level="(*,*)";' \
> > > > > > > > APCP_24.nc
> > > > > > > >
> > > > > > > > It makes for a longer command line, but it is possible
> to do
> > > > >    with
> > > > > > > > pcp_combine.
> > > > > > > >
> > > > > > > > John
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > On Thu, Feb 5, 2015 at 2:02 AM, Geeta Geeta via RT
> > > > >    <met_help at ucar.edu <javascript:;>>
> > > > > > > > wrote:
> > > > > > > >
> > > > > > > > >
> > > > > > > > > <URL:
> https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453
> > > > >    >
> > > > > > > > >
> > > > > > > > > Hi John.
> > > > > > > > > Thanks for wonderful ideas.
> > > > > > > > > The first one is working. but I have yet to run
> grid_stat to
> > > > >    see if
> > > > > > > > > everything is working finally. I ll try the ncatted.
> > > > > > > > >
> > > > > > > > > To sum up all the nc files (for the times that I
> want), I did
> > > > >    try the
> > > > > > > > > pcp_combine. But I guess It only works for the GRIB
> files.
> > > > > > > > > I have sent to u the error before. I tried to use
> MET3.0 for
> > > > >    that
> > > > > > > which is
> > > > > > > > > installed in my HPC.
> > > > > > > > > I have 5.0 on my personal system. Will try that
> exercise in
> > > > >    this
> > > > > > > system.
> > > > > > > > > Thanks again for your help.
> > > > > > > > > Geeta
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > > Subject: Re: [rt.rap.ucar.edu #70453] combining nc
> files
> > > > >    together
> > > > > > > > > > From: met_help at ucar.edu <javascript:;>
> > > > > > > > > > To: geeta124 at hotmail.com <javascript:;>
> > > > > > > > > > Date: Wed, 4 Feb 2015 11:21:19 -0700
> > > > > > > > > >
> > > > > > > > > > Geeta,
> > > > > > > > > >
> > > > > > > > > > The trmmbin2nc.R script is set up to only handle
the
> TRMM
> > > > >    binary data
> > > > > > > > > > exactly from that website.  The timing information
> for that
> > > > >    binary
> > > > > > > data
> > > > > > > > > is
> > > > > > > > > > only contained in the file name, and you've
renamed
> those
> > > > >    files.  So
> > > > > > > the
> > > > > > > > > > script doesn't know how to parse them.
> > > > > > > > > >
> > > > > > > > > > Here's 2 options:
> > > > > > > > > > (1) Rename that file using the "daily" file naming
> > > > >    conventions:
> > > > > > > > > >    cp Obs22apr2011.bin 3B42_daily.2011.04.22.7.bin
> > > > > > > > > >    Rscript 3B42_daily.2011.04.22.7.bin
> > > > >    3B42_daily.2011.04.22.7.nc
> > > > > > > > > >
> > > > > > > > > > That will produce output but it'll assume the
> precipitation
> > > > >    is
> > > > > > > > > accumulated
> > > > > > > > > > for 24-hours from 20110422 00Z to 20110423 00Z.
If
> the
> > > > >    times should
> > > > > > > be
> > > > > > > > > > something different you could... edit the Rscript
to
> use the
> > > > >    times
> > > > > > > you
> > > > > > > > > > want... or use the "ncatted" tool to modify the
> timing
> > > > >    information
> > > > > > > listed
> > > > > > > > > > in the output NetCDF file.
> > > > > > > > > >
> > > > > > > > > > (2) Or, as we've discussed in the past, you could
> run each
> > > > >    of the
> > > > > > > 3-hour
> > > > > > > > > > files through the trmmbin2nc.R script and write
out
> NetCDF
> > > > >    files.
> > > > > > > Then
> > > > > > > > > run
> > > > > > > > > > those 3-hourly NetCDF files through pcp_combine to
> add them
> > > > >    up.
> > > > > > > > > >
> > > > > > > > > > Thanks,
> > > > > > > > > > John
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > On Sun, Feb 1, 2015 at 11:27 PM, Geeta Geeta via
RT
> <
> > > > > > > met_help at ucar.edu <javascript:;>>
> > > > > > > > > > wrote:
> > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > <URL:
> > > > >    https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453 >
> > > > > > > > > > >
> > > > > > > > > > > Hi John.
> > > > > > > > > > > This is an old Ticket. Kindly sort this issue
too.
> > > > > > > > > > > I was able to sum up all the 3 hourly TRMM files
> and then
> > > > >    convert
> > > > > > > the
> > > > > > > > > > > final file into One called Obs22apr2011.bin.
> > > > > > > > > > > I had used Grads for summing up all the 8 files.
> and now I
> > > > >    am using
> > > > > > > > > the R
> > > > > > > > > > > script for
> > > > > > > > > > > converting into NC.
> > > > > > > > > > > But I got the error.
> > > > > > > > > > > aditya at agniilap:~/geeta/installs/met/RUN_MET-
> 22apr2011$
> > > > >    Rscript
> > > > > > > > > > > ../trmm_to_nc/trmmbin2nc_mod.R Obs22apr2011.bin
> > > > >    Obs22apr2011.nc
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > ERROR: Can't figure out the accumulation
> interval!I am
> > > > >    sending you
> > > > > > > the
> > > > > > > > > > > data that I converted using Grads.
> > > > > > > > > > > Geeta
> > > > > > > > > > >
> > > > > > > > > > > > Subject: Re: [rt.rap.ucar.edu #70453]
combining
> nc files
> > > > > > > together
> > > > > > > > > > > > From: met_help at ucar.edu <javascript:;>
> > > > > > > > > > > > To: geeta124 at hotmail.com <javascript:;>
> > > > > > > > > > > > Date: Fri, 30 Jan 2015 11:04:18 -0700
> > > > > > > > > > > >
> > > > > > > > > > > > Geeta,
> > > > > > > > > > > >
> > > > > > > > > > > > I don't have time to adapt that Rscript for
your
> use
> > > > >    with
> > > > > > > Grid-Stat.
> > > > > > > > > > > > However, we did do something very similar for
a
> previous
> > > > > > > project.  I
> > > > > > > > > have
> > > > > > > > > > > > attached an Rscript named "fss_quilt_plot.R"
you
> could
> > > > >    easily
> > > > > > > adapt
> > > > > > > > > to
> > > > > > > > > > > > create a quilt plot for your data.  I've also
> attached a
> > > > >    copy of
> > > > > > > the
> > > > > > > > > > > paper
> > > > > > > > > > > > for which this script was used.  Please look
at
> figure
> > > > >    7.
> > > > > > > > > > > >
> > > > > > > > > > > > Thanks,
> > > > > > > > > > > > John
> > > > > > > > > > > >
> > > > > > > > > > > > On Fri, Jan 30, 2015 at 1:03 AM, Geeta Geeta
via
> RT <
> > > > > > > > > met_help at ucar.edu <javascript:;>>
> > > > > > > > > > > > wrote:
> > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > <URL:
> > > > >    https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453
> > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > Hi John.
> > > > > > > > > > > > > I changed different widths in the
> configuration file.
> > > > > > > > > (Width=1,3,5,,7
> > > > > > > > > > > etc).
> > > > > > > > > > > > >
> > > > > > > > > > > > > // Neighborhood methods
> > > > > > > > > > > > > //
> > > > > > > > > > > > > nbrhd = {
> > > > > > > > > > > > >    vld_thresh = 1.0;
> > > > > > > > > > > > >    width      = [ 7 ];
> > > > > > > > > > > > >    cov_thresh = [ >=0.5 ];
> > > > > > > > > > > > > }
> > > > > > > > > > > > > and got various outputs (for different
widths)
> which
> > > > >    are in
> > > > > > > > > different
> > > > > > > > > > > > > directories.
> > > > > > > > > > > > > Now I saw the R script on the website which
is
> > > > >    probably
> > > > > > > > > exclusively for
> > > > > > > > > > > > > the MODE TOOL only.
> > > > > > > > > > > > > Now my question is how to make the quilt
plot
> for the
> > > > >    GRid stat
> > > > > > > > > > > tool???.
> > > > > > > > > > > > > Sorry I m not familiar with R  now.
> > > > > > > > > > > > > Pls help.
> > > > > > > > > > > > > Geeta.
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > From: geeta124 at hotmail.com <javascript:;>
> > > > > > > > > > > > > To: met_help at ucar.edu <javascript:;>
> > > > > > > > > > > > > Subject: RE: [rt.rap.ucar.edu #70453]
> combining nc
> > > > >    files
> > > > > > > together
> > > > > > > > > > > > > Date: Thu, 29 Jan 2015 17:05:25 +0530
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > Hi John.
> > > > > > > > > > > > > So I was able to sum up all the 3 hourly
TRMM
> files
> > > > >    and then
> > > > > > > > > convert
> > > > > > > > > > > the
> > > > > > > > > > > > > final file into One called Obs22apr2011.bin.
> > > > > > > > > > > > > I have done that using Grads and now I am
> using the R
> > > > >    script
> > > > > > > for
> > > > > > > > > > > > > converting into NC.
> > > > > > > > > > > > > But I got the error.
> > > > > > > > > > > > >
aditya at agniilap:~/geeta/installs/met/RUN_MET-
> > > > >    22apr2011$
> > > > > > > Rscript
> > > > > > > > > > > > > ../trmm_to_nc/trmmbin2nc_mod.R
> Obs22apr2011.bin
> > > > >    Obs22apr2011.nc
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > ERROR: Can't figure out the accumulation
> interval!
> > > > > > > > > > > > >
> > > > > > > > > > > > > I am sending you the data files and the R
> script (I
> > > > >    changed the
> > > > > > > > > > > domain).
> > > > > > > > > > > > > The data is plotted fine. Also pls tell me
> about the
> > > > >    ncview
> > > > > > > > > questions
> > > > > > > > > > > that
> > > > > > > > > > > > > I was asking. reg the plotting of MPR's
> > > > > > > > > > > > > Kindly suggest.
> > > > > > > > > > > > > Geeta
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > > Subject: Re: [rt.rap.ucar.edu #70453]
> combining nc
> > > > >    files
> > > > > > > > > together
> > > > > > > > > > > > > > From: met_help at ucar.edu <javascript:;>
> > > > > > > > > > > > > > To: geeta124 at hotmail.com <javascript:;>
> > > > > > > > > > > > > > Date: Mon, 26 Jan 2015 09:58:32 -0700
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Geeta,
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > On that webpage (
> > > > > > > > > > > > > >
> > > > > > >
> http://www.dtcenter.org/met/users/downloads/analysis_scripts.php
> > > > > > > > > ),
> > > > > > > > > > > > > please
> > > > > > > > > > > > > > look specifically at the script named
> > > > >    "mode_quilt_plot.R".
> > > > > > > > > Here's
> > > > > > > > > > > the
> > > > > > > > > > > > > > direct link to that script:
> > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > >
> > > > >
> > >
>
http://www.dtcenter.org/met/users/downloads/Rscripts/mode_quilt_plot.R
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > And here's a direct link to the sample
> output that
> > > > >    script
> > > > > > > > > creates:
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > >
> > > > > > >
> > > > >
> > >
>
http://www.dtcenter.org/met/users/downloads/Rscripts/SAMPLE_mode_quilts.pdf
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > This is an example of using R to make a
> quilt plot
> > > > >    for the
> > > > > > > > > output of
> > > > > > > > > > > the
> > > > > > > > > > > > > > MODE tool.  You might also use a quilt
plot
> to
> > > > >    display
> > > > > > > fractions
> > > > > > > > > > > skill
> > > > > > > > > > > > > > score from the Grid-Stat tool, if you've
run
> FSS for
> > > > >    multiple
> > > > > > > > > > > thresholds
> > > > > > > > > > > > > > and neighborhood sizes.
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > John
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > On Mon, Jan 26, 2015 at 7:28 AM, Geeta
Geeta
> via RT
> > > > >    <
> > > > > > > > > > > met_help at ucar.edu <javascript:;>>
> > > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > <URL:
> > > > > > > https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453
> > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > Hi John.
> > > > > > > > > > > > > > > the link
> > > > > > > > > > > > >
> > > > > > >
> http://www.dtcenter.org/met/users/downloads/analysis_scripts.php
> > > > > > > > > > > > > > > has the plots for the cnt statistics.
> > > > > > > > > > > > > > > I am not familiar with R. I am going
thru
> the
> > > > >    plot_cnt.R
> > > > > > > > > script.
> > > > > > > > > > > > > > > but I want to know what will be the data
> format
> > > > >    for the
> > > > > > > Quilt
> > > > > > > > > plot.
> > > > > > > > > > > > > > > Do I have to write my own script???.
> > > > > > > > > > > > > > > Kindly let me know about the data format
> and how I
> > > > >    have to
> > > > > > > > > modify
> > > > > > > > > > > the
> > > > > > > > > > > > > > > above script in order to make the quilt
> plot.
> > > > > > > > > > > > > > > Regards
> > > > > > > > > > > > > > > Geeta
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > Subject: Re: [rt.rap.ucar.edu #70453]
> combining
> > > > >    nc files
> > > > > > > > > > > together
> > > > > > > > > > > > > > > > From: met_help at ucar.edu <javascript:;>
> > > > > > > > > > > > > > > > To: geeta124 at hotmail.com
<javascript:;>
> > > > > > > > > > > > > > > > Date: Fri, 23 Jan 2015 11:09:23 -0700
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > Geeta,
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > Regarding 3-hourly RF accumulations,
if
> MET is
> > > > >    able to
> > > > > > > read
> > > > > > > > > those
> > > > > > > > > > > > > NetCDF
> > > > > > > > > > > > > > > > files, you can run them through PCP-
> Combine to
> > > > >    "add"
> > > > > > > them all
> > > > > > > > > > > > > together.
> > > > > > > > > > > > > > > > Just use the example PCP_Combine
command
> I
> > > > >    already sent
> > > > > > > you
> > > > > > > > > but
> > > > > > > > > > > > > modify
> > > > > > > > > > > > > > > the
> > > > > > > > > > > > > > > > "name" entry to list the name of the
> NetCDF
> > > > >    variable you
> > > > > > > > > want to
> > > > > > > > > > > > > use.  If
> > > > > > > > > > > > > > > > MET is not able to read them, then
it's
> up to
> > > > >    you to
> > > > > > > figure
> > > > > > > > > out
> > > > > > > > > > > how
> > > > > > > > > > > > > to
> > > > > > > > > > > > > > > > accumulate them.
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > If you're familiar with R, you could
use
> the
> > > > >    "ncdf"
> > > > > > > library
> > > > > > > > > in R
> > > > > > > > > > > to
> > > > > > > > > > > > > read
> > > > > > > > > > > > > > > > data from one or more NetCDF files,
add
> them up,
> > > > >    and
> > > > > > > write it
> > > > > > > > > > > out to
> > > > > > > > > > > > > a
> > > > > > > > > > > > > > > new
> > > > > > > > > > > > > > > > file.  Alternatively, "nco" (NetCDF
> Operators)
> > > > >    provide
> > > > > > > some
> > > > > > > > > > > > > capability of
> > > > > > > > > > > > > > > > doing simple operations on NetCDF
files.
> You
> > > > >    might be
> > > > > > > able
> > > > > > > > > to
> > > > > > > > > > > use
> > > > > > > > > > > > > them.
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > Regarding quilt plots, I've only used
R
> to make
> > > > >    them in
> > > > > > > the
> > > > > > > > > past.
> > > > > > > > > > > > > > > > Specifically, the "quilt.plot"
function
> in the R
> > > > >    package
> > > > > > > > > named
> > > > > > > > > > > > > "fields".
> > > > > > > > > > > > > > > > Please take a look at this website:
> > > > > > > > > > > > > > > >
> > > > > > > > > > >
> > > > >
> http://www.dtcenter.org/met/users/downloads/analysis_scripts.php
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > The Rscript named "mode_quilt_plot.R"
> provides
> > > > >    an
> > > > > > > example of
> > > > > > > > > > > using R
> > > > > > > > > > > > > to
> > > > > > > > > > > > > > > > make quilt plots.  Example output from
> that
> > > > >    script is
> > > > > > > also
> > > > > > > > > > > included
> > > > > > > > > > > > > on
> > > > > > > > > > > > > > > that
> > > > > > > > > > > > > > > > page.
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > Thanks,
> > > > > > > > > > > > > > > > John
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > On Fri, Jan 23, 2015 at 4:06 AM, Geeta
> Geeta via
> > > > >    RT <
> > > > > > > > > > > > > met_help at ucar.edu <javascript:;>>
> > > > > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > <URL:
> > > > > > > > >
> https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453
> > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > Hi John. Your help is needed at
every
> step.
> > > > >    Now I want
> > > > > > > to
> > > > > > > > > know
> > > > > > > > > > > > > which
> > > > > > > > > > > > > > > > > software can be used for making the
> QUILT plot
> > > > > > > (intensity
> > > > > > > > > and
> > > > > > > > > > > > > spatial
> > > > > > > > > > > > > > > > > distribution) plot. Can It be done
in
> using
> > > > >    MET5.0. How
> > > > > > > > > Can I
> > > > > > > > > > > plot
> > > > > > > > > > > > > the
> > > > > > > > > > > > > > > > > point data that I used in
> MET5.0???KIndly
> > > > >    guide me.
> > > > > > > Also
> > > > > > > > > pls
> > > > > > > > > > > tell
> > > > > > > > > > > > > me
> > > > > > > > > > > > > > > if u
> > > > > > > > > > > > > > > > > can figure out the issue of 3hrly RF
> > > > >    accumulations if
> > > > > > > the
> > > > > > > > > files
> > > > > > > > > > > > > are in
> > > > > > > > > > > > > > > the
> > > > > > > > > > > > > > > > > NETCDF format. Geeta
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > From: geeta124 at hotmail.com
> <javascript:;>
> > > > > > > > > > > > > > > > > To: met_help at ucar.edu <javascript:;>
> > > > > > > > > > > > > > > > > Subject: RE: [rt.rap.ucar.edu
#70453]
> > > > >    combining nc
> > > > > > > files
> > > > > > > > > > > together
> > > > > > > > > > > > > > > > > Date: Thu, 22 Jan 2015 16:30:34
+0530
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > thanks John.  the pcp combine tool
> uses only
> > > > >    GRIB1
> > > > > > > files.
> > > > > > > > > these
> > > > > > > > > > > > > were
> > > > > > > > > > > > > > > > > netcdf files (attaching one).I had
> downloaded
> > > > >    the NC
> > > > > > > files
> > > > > > > > > from
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > >
> > > > > > > http://mirador.gsfc.nasa.gov/cgi-
> > > > >    bin/mirador/granlist.pl?page=1&location=(-90,-
> > > > >
> > >
>
180),(90,180)&dataSet=TRMM_3B42&version=007&allversion=007&startTime=2011-
> > > > >    04-22T00:00:01Z&endTime=2011-04-
> > > > >    22T23:59:59Z&keyword=TRMM_3B42&longname=TRMM%203-
> > > > >
> > >
>
Hourly%200.25%20deg.%20TRMM%20and%20Others%20Rainfall%20Estimate%20Data&CGISESSID=02499c2107ddfb60a3e46d6b99df3d79&prodpg=
> > > http://mirador.gsfc.nasa.gov/collections/TRMM_3B42__007.shtmlI
> > > > > > > > > > > > > > > > > got following error. bash-3.2$
> > > > >    ./run_pcptool.sh
> > > > > > > Running PCP
> > > > > > > > > > > > > > > toolPerforming
> > > > > > > > > > > > > > > > > addition command for 2 files.Reading
> input
> > > > >    file:
> > > > > > > > > > > > > 3B42.20110422.12.7.nc
> > > > > > > > > > > > > > > > > GribFile::skip_header() -> can't
find
> "GRIB"
> > > > >    magic
> > > > > > > cookie
> > > > > > > > > > >  ERROR:
> > > > > > > > > > > > > > > > > get_field() -> can't open grib file:
> > > > > > > 3B42.20110422.12.7.nc
> > > > > > > > > > > > > > > > > Following is my script--------
!/bin/sh
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >              echo " Running PCP
> > > > > > > > > > > > > > > > >
> tool"~/wrf3/utils/met/METv3.0/bin/pcp_combine
> > > > >    -add
> > > > > > > > > > > > > > > 3B42.20110422.12.7.nc
> > > > > > > > > > > > > > > > > 03 3B42.20110422.15.7.nc 03
> myoutput.nc
> > > > > > > > > > > > > > > > > Kindly suggest.
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > the second thing I was thinking to
> download
> > > > >    the TRMM
> > > > > > > data
> > > > > > > > > from
> > > > > > > > > > > > > thelink
> > > > > > > > > > > > > > > at
> > > > > > > > > > > > > > > > > DTC website and then converying the
3
> hourly
> > > > >    bins to
> > > > > > > NC.
> > > > > > > > > > > > > > > > > 2.2 MBftp://
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > >
> > > > > > >
> > > > >
> > >
>
disc2.nascom.nasa.gov/data/TRMM/Gridded/3B42_V7/201104/3B42.110422.15z.7.precipitation.bin
> > > > > > > > > > > > > > > > > But my problem will be to ACCUMULATE
> them. I
> > > > >    need to
> > > > > > > > > verify the
> > > > > > > > > > > > > model
> > > > > > > > > > > > > > > data
> > > > > > > > > > > > > > > > > starting 06 UTC of day1 to 03UTC of
> DAY2. I
> > > > >    mean how
> > > > > > > do I
> > > > > > > > > > > combine
> > > > > > > > > > > > > all
> > > > > > > > > > > > > > > the
> > > > > > > > > > > > > > > > > NC  files together. Kindly suggest
> > > > > > > > > > > > > > > > > > Subject: Re: [rt.rap.ucar.edu
> #70453]
> > > > >    combining nc
> > > > > > > files
> > > > > > > > > > > > > together
> > > > > > > > > > > > > > > > > > From: met_help at ucar.edu
> <javascript:;>
> > > > > > > > > > > > > > > > > > To: geeta124 at hotmail.com
> <javascript:;>
> > > > > > > > > > > > > > > > > > Date: Wed, 21 Jan 2015 10:45:12
> -0700
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > Geeta,
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > I'm assuming the variable in the
> NetCDF
> > > > >    files is
> > > > > > > named
> > > > > > > > > > > > > "APCP_03".  If
> > > > > > > > > > > > > > > > > not,
> > > > > > > > > > > > > > > > > > just switch in the actual name.
You
> can run
> > > > >    the
> > > > > > > > > following
> > > > > > > > > > > > > > > pcp_combine
> > > > > > > > > > > > > > > > > -add
> > > > > > > > > > > > > > > > > > command:
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > pcp_combine -add \
> > > > > > > > > > > > > > > > > >    3B42.20110422.09.7.nc
> 'name="APCP_03";
> > > > > > > > > level="(*,*)";' \
> > > > > > > > > > > > > > > > > >    3B42.20110422.12.7.nc
> 'name="APCP_03";
> > > > > > > > > level="(*,*)";' \
> > > > > > > > > > > > > > > > > >    3B42.20110422.15.7.nc
> 'name="APCP_03";
> > > > > > > > > level="(*,*)";' \
> > > > > > > > > > > > > > > > > >    3B42.20110422.18.7.nc
> 'name="APCP_03";
> > > > > > > > > level="(*,*)";' \
> > > > > > > > > > > > > > > > > >    3B42.20110422.21.7.nc
> 'name="APCP_03";
> > > > > > > > > level="(*,*)";' \
> > > > > > > > > > > > > > > > > >    3B42.20110423.00.7.nc
> 'name="APCP_03";
> > > > > > > > > level="(*,*)";' \
> > > > > > > > > > > > > > > > > >    3B42.20110423.03.7.nc
> 'name="APCP_03";
> > > > > > > > > level="(*,*)";' \
> > > > > > > > > > > > > > > > > >    3B42.20110423.06.7.nc
> 'name="APCP_03";
> > > > > > > > > level="(*,*)";' \
> > > > > > > > > > > > > > > > > >    3B42.20110423.06.7_APCP_24.nc
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > The last file listed is just the
> output file
> > > > >    name I
> > > > > > > > > chose.
> > > > > > > > > > > But
> > > > > > > > > > > > > you
> > > > > > > > > > > > > > > can
> > > > > > > > > > > > > > > > > > name it whatever you'd like.
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > John
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > On Wed, Jan 21, 2015 at 4:02 AM,
> Geeta Geeta
> > > > >    via RT <
> > > > > > > > > > > > > > > met_help at ucar.edu <javascript:;>>
> > > > > > > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > Wed Jan 21 04:02:41 2015:
Request
> 70453
> > > > >    was acted
> > > > > > > upon.
> > > > > > > > > > > > > > > > > > > Transaction: Ticket created by
> > > > > > > geeta124 at hotmail.com <javascript:;>
> > > > > > > > > > > > > > > > > > >        Queue: met_help
> > > > > > > > > > > > > > > > > > >      Subject: combining nc files
> together
> > > > > > > > > > > > > > > > > > >        Owner: Nobody
> > > > > > > > > > > > > > > > > > >   Requestors:
geeta124 at hotmail.com
> > > <javascript:;>
> > > > > > > > > > > > > > > > > > >       Status: new
> > > > > > > > > > > > > > > > > > >  Ticket <URL:
> > > > > > > > > > > > > > >
> > > > >    https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > Hi John.
> > > > > > > > > > > > > > > > > > > Sorry to bother you again n
again.
> But I
> > > > >    have no
> > > > > > > > > choice. I
> > > > > > > > > > > > > want to
> > > > > > > > > > > > > > > know
> > > > > > > > > > > > > > > > > > > the followingI have 8 nc files.
> bash-3.2$
> > > > >    ls
> > > > > > > -ltotal
> > > > > > > > > > > > > > > 216336-rw-r--r--
> > > > > > > > > > > > > > > > >   1
> > > > > > > > > > > > > > > > > > > model    staff      13841488 Jan
> 21 11:24
> > > > > > > > > > > > > > > > > 3B42.20110422.06.7.nc-rw-r--r--
> > > > > > > > > > > > > > > > > > >   1 model    staff      13841488
> Jan 21
> > > > >    11:27
> > > > > > > > > > > > > > > > > > > 3B42.20110422.09.7.nc-rw-r--r--
> 1 model
> > > > >    staff
> > > > > > > > > > > > > 13841492
> > > > > > > > > > > > > > > Jan
> > > > > > > > > > > > > > > > > 21
> > > > > > > > > > > > > > > > > > > 14:01 3B42.20110422.12.7.nc-rw-
r--
> r--    1
> > > > >    model
> > > > > > > > > staff
> > > > > > > > > > > > > > > > > 13841492 Jan
> > > > > > > > > > > > > > > > > > > 21 13:16 3B42.20110422.15.7.nc-
rw-
> r--r--
> > > > >    1 model
> > > > > > > > > > > staff
> > > > > > > > > > > > > > > > > 13841492
> > > > > > > > > > > > > > > > > > > Jan 21 14:51
> 3B42.20110422.18.7.nc-rw-r--
> > > > >    r--    1
> > > > > > > model
> > > > > > > > > > > > > staff
> > > > > > > > > > > > > > > > > > > 13841492 Jan 21 13:21
> > > > > > > 3B42.20110422.21.7.nc-rw-r--r--
> > > > > > > > >   1
> > > > > > > > > > > > > model
> > > > > > > > > > > > > > > > > staff
> > > > > > > > > > > > > > > > > > >     13841488 Jan 21 13:22
> > > > > > > > > 3B42.20110423.00.7.nc-rw-r--r--
> > > > > > > > > > >   1
> > > > > > > > > > > > > > > model
> > > > > > > > > > > > > > > > > > > staff      13841488 Jan 21 13:50
> > > > > > > > > > > > > 3B42.20110423.03.7.ncbash-3.2$ pwd
> > > > > > > > > > > > > > > > > > > I need to make ONE 24 hour RF
> accumulated
> > > > >    file
> > > > > > > starting
> > > > > > > > > > > 06UTC
> > > > > > > > > > > > > of
> > > > > > > > > > > > > > > > > > > 22.04.2011 - 03UTC of
23.04.2011.
> How do I
> > > > >    do
> > > > > > > that???
> > > > > > > > > > > > > > > > > > > Geeta
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > > >
> > > > > >
> > > >
> > > >
> > > >
> > >
> > >
> >
>
> ------------------------------------------------
> Subject: combining nc files together
> From: John Halley Gotway
> Time: Thu Feb 19 10:59:15 2015
>
> Geeta,
>
> I think that's a great idea for you to work through the details by
> hand to
> understand how the score is being computed.  Figure 6 is just a
little
> cartoon done in powerpoint to demonstrate the computation logic.  It
> wasn't
> computed using any real data.
>
> John
>
> On Thu, Feb 19, 2015 at 8:26 AM, Geeta Geeta via RT
> <met_help at ucar.edu>
> wrote:
>
> >
> > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453 >
> >
> > Hi John. I want to know, Can I make the Figure 6 that is there in
> Your
> > paper. I mean the Forecast Grids or the OBSERVATION grids where
the
> > thresholds increases a specified value.
> > I wish to calculate the FSS manuually so that I absorb the idea.
> >
> >
> > Geeta
> >
> > > Subject: Re: [rt.rap.ucar.edu #70453] combining nc files
together
> > > From: met_help at ucar.edu
> > > To: geeta124 at hotmail.com
> > > Date: Thu, 19 Feb 2015 07:38:56 -0700
> > >
> > > Geeta,
> > >
> > > No, it does not.  It is in our list of tasks for future
> development, but
> > > isn't in there yet.  You can only get neighborhood output from
> grid-stat,
> > > not point-stat.
> > >
> > > Thanks
> > > John
> > >
> > > On Thursday, February 19, 2015, Geeta Geeta via RT
> <met_help at ucar.edu>
> > > wrote:
> > >
> > > >
> > > > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453
>
> > > >
> > > > Hi Tressa and John.
> > > > I want to know if MET5.0 has neighborhood methods defined for
> point
> > > > observations???.
> > > > If Yes, Pls guide me with this.
> > > > Geeta
> > > >
> > > >
> > > > > Subject: [rt.rap.ucar.edu #70453] combining nc files
together
> > > > > From: met_help at ucar.edu <javascript:;>
> > > > > To: geeta124 at hotmail.com <javascript:;>
> > > > > Date: Tue, 17 Feb 2015 13:47:07 -0700
> > > > >
> > > > > Hi Geeta,
> > > > >
> > > > > The paper we sent was not A reference, it was THE reference,
> the
> > > > original published work on the FSS. Of course, algebra allows
> > equations to
> > > > be expressed in many equivalent formats. Feel free to use
> whichever
> > form
> > > > you like.
> > > > >
> > > > > The Spatial Vx package has many verification methods, but it
> is
> > > > relatively new and untested. I'm sure you can reference that
> package's
> > > > documentation for full details of the available methods.
> > > > >
> > > > > Happy verifying,
> > > > >
> > > > > Tressa
> > > > >
> > > > > On Mon Feb 16 04:32:17 2015, geeta124 at hotmail.com
> <javascript:;>
> > wrote:
> > > > > > Hi John.
> > > > > > In Your article, FSS is defined as the
> > > > > > FSS (n) = 1 - (MSE(n)/MSE(n) ref).
> > > > > >
> > > > > > In another paper's I found it to be little different. It
was
> > related
> > > > > >    to the FBS Fractional Brier Score.
> > > > > >
> > > > > > Can U pls explain be the differences???.
> > > > > > Also I came across SpatialVx package.
> > > > > > Does that also provide all the verification procedures???
> > > > > > Geeta
> > > > > >
> > > > > >
> > > > > > From: geeta124 at hotmail.com <javascript:;>
> > > > > > To: met_help at ucar.edu <javascript:;>
> > > > > > Subject: RE: [rt.rap.ucar.edu #70453] combining nc files
> together
> > > > > > Date: Thu, 12 Feb 2015 11:14:17 +0530
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > > hi John.
> > > > > > I had read ur article that U have sent reg the FSS and the
> MODE
> > tools.
> > > > > >    I could not understand the meaning of FORECAST SKILL
> associated
> > > > > >    with Uniform FOrECAST. This is what is mentioed in the
> FSS
> > section
> > > > > >    of Ur article.
> > > > > > I didnt understand the concept/idea. if U could just
explain
> a
> > little
> > > > > >    more I can build/read some articles that you would
> suggest.
> > > > > > Thanks for ur help.
> > > > > > Geeta
> > > > > >
> > > > > > > Subject: Re: [rt.rap.ucar.edu #70453] combining nc files
> > together
> > > > > > > From: met_help at ucar.edu <javascript:;>
> > > > > > > To: geeta124 at hotmail.com <javascript:;>
> > > > > > > Date: Wed, 11 Feb 2015 10:17:33 -0700
> > > > > > >
> > > > > > > Geeta,
> > > > > > >
> > > > > > > I think your reference to an article must be from a
> different
> > email
> > > > > >    chain.
> > > > > > >
> > > > > > > I see that you're asking about "FORECAST skill
associated
> with
> > the
> > > > > >    Uniform
> > > > > > > forecast".  Are you looking for more references related
to
> > > > > >    neighborhood
> > > > > > > verification statistics, like Fractions Skill Score?
> > > > > > >
> > > > > > > Thanks,
> > > > > > > John
> > > > > > >
> > > > > > > On Mon, Feb 9, 2015 at 1:53 AM, Geeta Geeta via RT
> > > > > >    <met_help at ucar.edu <javascript:;>>
> > > > > > > wrote:
> > > > > > >
> > > > > > > >
> > > > > > > > <URL:
> https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453
> > >
> > > > > > > >
> > > > > > > > Hi John.
> > > > > > > > Thanks for the article. It is very informative.
> > > > > > > > I dont know if i should be asking at this forum, the
> meaning of
> > > > > >    the
> > > > > > > > "FORECAST skill associated with the Uniform forecast"
as
> you
> > have
> > > > > >    mentioned
> > > > > > > > in your paper.
> > > > > > > > If U give me some references, it would be great.
> > > > > > > > Geeta
> > > > > > > >
> > > > > > > > > Subject: Re: [rt.rap.ucar.edu #70453] combining nc
> files
> > > > > >    together
> > > > > > > > > From: met_help at ucar.edu <javascript:;>
> > > > > > > > > To: geeta124 at hotmail.com <javascript:;>
> > > > > > > > > Date: Thu, 5 Feb 2015 10:33:59 -0700
> > > > > > > > >
> > > > > > > > > Geeta,
> > > > > > > > >
> > > > > > > > > You're correct, you can only use the "sum" command
of
> > > > > >    pcp_combine for
> > > > > > > > GRIB1
> > > > > > > > > or GRIB2 files...
> > > > > > > > >
> > > > > > > > > But, you can use the "add" command on any gridded
data
> file
> > > > > >    format that
> > > > > > > > MET
> > > > > > > > > supports.  Adding together 8 NetCDF files with
> pcp_combine
> > would
> > > > > >    look
> > > > > > > > > something like this:
> > > > > > > > >
> > > > > > > > > pcp_combine -add \
> > > > > > > > > file1.nc 'name="APCP_03"; level="(*,*)";' \
> > > > > > > > > file2.nc 'name="APCP_03"; level="(*,*)";' \
> > > > > > > > > ...
> > > > > > > > > file8.nc 'name="APCP_03"; level="(*,*)";' \
> > > > > > > > > APCP_24.nc
> > > > > > > > >
> > > > > > > > > It makes for a longer command line, but it is
possible
> to do
> > > > > >    with
> > > > > > > > > pcp_combine.
> > > > > > > > >
> > > > > > > > > John
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > On Thu, Feb 5, 2015 at 2:02 AM, Geeta Geeta via RT
> > > > > >    <met_help at ucar.edu <javascript:;>>
> > > > > > > > > wrote:
> > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > <URL:
> > https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453
> > > > > >    >
> > > > > > > > > >
> > > > > > > > > > Hi John.
> > > > > > > > > > Thanks for wonderful ideas.
> > > > > > > > > > The first one is working. but I have yet to run
> grid_stat
> > to
> > > > > >    see if
> > > > > > > > > > everything is working finally. I ll try the
ncatted.
> > > > > > > > > >
> > > > > > > > > > To sum up all the nc files (for the times that I
> want), I
> > did
> > > > > >    try the
> > > > > > > > > > pcp_combine. But I guess It only works for the
GRIB
> files.
> > > > > > > > > > I have sent to u the error before. I tried to use
> MET3.0
> > for
> > > > > >    that
> > > > > > > > which is
> > > > > > > > > > installed in my HPC.
> > > > > > > > > > I have 5.0 on my personal system. Will try that
> exercise in
> > > > > >    this
> > > > > > > > system.
> > > > > > > > > > Thanks again for your help.
> > > > > > > > > > Geeta
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > > Subject: Re: [rt.rap.ucar.edu #70453] combining
nc
> files
> > > > > >    together
> > > > > > > > > > > From: met_help at ucar.edu <javascript:;>
> > > > > > > > > > > To: geeta124 at hotmail.com <javascript:;>
> > > > > > > > > > > Date: Wed, 4 Feb 2015 11:21:19 -0700
> > > > > > > > > > >
> > > > > > > > > > > Geeta,
> > > > > > > > > > >
> > > > > > > > > > > The trmmbin2nc.R script is set up to only handle
> the TRMM
> > > > > >    binary data
> > > > > > > > > > > exactly from that website.  The timing
information
> for
> > that
> > > > > >    binary
> > > > > > > > data
> > > > > > > > > > is
> > > > > > > > > > > only contained in the file name, and you've
> renamed those
> > > > > >    files.  So
> > > > > > > > the
> > > > > > > > > > > script doesn't know how to parse them.
> > > > > > > > > > >
> > > > > > > > > > > Here's 2 options:
> > > > > > > > > > > (1) Rename that file using the "daily" file
naming
> > > > > >    conventions:
> > > > > > > > > > >    cp Obs22apr2011.bin
3B42_daily.2011.04.22.7.bin
> > > > > > > > > > >    Rscript 3B42_daily.2011.04.22.7.bin
> > > > > >    3B42_daily.2011.04.22.7.nc
> > > > > > > > > > >
> > > > > > > > > > > That will produce output but it'll assume the
> > precipitation
> > > > > >    is
> > > > > > > > > > accumulated
> > > > > > > > > > > for 24-hours from 20110422 00Z to 20110423 00Z.
> If the
> > > > > >    times should
> > > > > > > > be
> > > > > > > > > > > something different you could... edit the
Rscript
> to use
> > the
> > > > > >    times
> > > > > > > > you
> > > > > > > > > > > want... or use the "ncatted" tool to modify the
> timing
> > > > > >    information
> > > > > > > > listed
> > > > > > > > > > > in the output NetCDF file.
> > > > > > > > > > >
> > > > > > > > > > > (2) Or, as we've discussed in the past, you
could
> run
> > each
> > > > > >    of the
> > > > > > > > 3-hour
> > > > > > > > > > > files through the trmmbin2nc.R script and write
> out
> > NetCDF
> > > > > >    files.
> > > > > > > > Then
> > > > > > > > > > run
> > > > > > > > > > > those 3-hourly NetCDF files through pcp_combine
to
> add
> > them
> > > > > >    up.
> > > > > > > > > > >
> > > > > > > > > > > Thanks,
> > > > > > > > > > > John
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > On Sun, Feb 1, 2015 at 11:27 PM, Geeta Geeta via
> RT <
> > > > > > > > met_help at ucar.edu <javascript:;>>
> > > > > > > > > > > wrote:
> > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > <URL:
> > > > > >    https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453
>
> > > > > > > > > > > >
> > > > > > > > > > > > Hi John.
> > > > > > > > > > > > This is an old Ticket. Kindly sort this issue
> too.
> > > > > > > > > > > > I was able to sum up all the 3 hourly TRMM
files
> and
> > then
> > > > > >    convert
> > > > > > > > the
> > > > > > > > > > > > final file into One called Obs22apr2011.bin.
> > > > > > > > > > > > I had used Grads for summing up all the 8
files.
> and
> > now I
> > > > > >    am using
> > > > > > > > > > the R
> > > > > > > > > > > > script for
> > > > > > > > > > > > converting into NC.
> > > > > > > > > > > > But I got the error.
> > > > > > > > > > > > aditya at agniilap
> > :~/geeta/installs/met/RUN_MET-22apr2011$
> > > > > >    Rscript
> > > > > > > > > > > > ../trmm_to_nc/trmmbin2nc_mod.R
Obs22apr2011.bin
> > > > > >    Obs22apr2011.nc
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > ERROR: Can't figure out the accumulation
> interval!I am
> > > > > >    sending you
> > > > > > > > the
> > > > > > > > > > > > data that I converted using Grads.
> > > > > > > > > > > > Geeta
> > > > > > > > > > > >
> > > > > > > > > > > > > Subject: Re: [rt.rap.ucar.edu #70453]
> combining nc
> > files
> > > > > > > > together
> > > > > > > > > > > > > From: met_help at ucar.edu <javascript:;>
> > > > > > > > > > > > > To: geeta124 at hotmail.com <javascript:;>
> > > > > > > > > > > > > Date: Fri, 30 Jan 2015 11:04:18 -0700
> > > > > > > > > > > > >
> > > > > > > > > > > > > Geeta,
> > > > > > > > > > > > >
> > > > > > > > > > > > > I don't have time to adapt that Rscript for
> your use
> > > > > >    with
> > > > > > > > Grid-Stat.
> > > > > > > > > > > > > However, we did do something very similar
for
> a
> > previous
> > > > > > > > project.  I
> > > > > > > > > > have
> > > > > > > > > > > > > attached an Rscript named "fss_quilt_plot.R"
> you
> > could
> > > > > >    easily
> > > > > > > > adapt
> > > > > > > > > > to
> > > > > > > > > > > > > create a quilt plot for your data.  I've
also
> > attached a
> > > > > >    copy of
> > > > > > > > the
> > > > > > > > > > > > paper
> > > > > > > > > > > > > for which this script was used.  Please look
> at
> > figure
> > > > > >    7.
> > > > > > > > > > > > >
> > > > > > > > > > > > > Thanks,
> > > > > > > > > > > > > John
> > > > > > > > > > > > >
> > > > > > > > > > > > > On Fri, Jan 30, 2015 at 1:03 AM, Geeta Geeta
> via RT <
> > > > > > > > > > met_help at ucar.edu <javascript:;>>
> > > > > > > > > > > > > wrote:
> > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > <URL:
> > > > > >    https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453
> > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Hi John.
> > > > > > > > > > > > > > I changed different widths in the
> configuration
> > file.
> > > > > > > > > > (Width=1,3,5,,7
> > > > > > > > > > > > etc).
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > // Neighborhood methods
> > > > > > > > > > > > > > //
> > > > > > > > > > > > > > nbrhd = {
> > > > > > > > > > > > > >    vld_thresh = 1.0;
> > > > > > > > > > > > > >    width      = [ 7 ];
> > > > > > > > > > > > > >    cov_thresh = [ >=0.5 ];
> > > > > > > > > > > > > > }
> > > > > > > > > > > > > > and got various outputs (for different
> widths)
> > which
> > > > > >    are in
> > > > > > > > > > different
> > > > > > > > > > > > > > directories.
> > > > > > > > > > > > > > Now I saw the R script on the website
which
> is
> > > > > >    probably
> > > > > > > > > > exclusively for
> > > > > > > > > > > > > > the MODE TOOL only.
> > > > > > > > > > > > > > Now my question is how to make the quilt
> plot for
> > the
> > > > > >    GRid stat
> > > > > > > > > > > > tool???.
> > > > > > > > > > > > > > Sorry I m not familiar with R  now.
> > > > > > > > > > > > > > Pls help.
> > > > > > > > > > > > > > Geeta.
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > From: geeta124 at hotmail.com <javascript:;>
> > > > > > > > > > > > > > To: met_help at ucar.edu <javascript:;>
> > > > > > > > > > > > > > Subject: RE: [rt.rap.ucar.edu #70453]
> combining nc
> > > > > >    files
> > > > > > > > together
> > > > > > > > > > > > > > Date: Thu, 29 Jan 2015 17:05:25 +0530
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Hi John.
> > > > > > > > > > > > > > So I was able to sum up all the 3 hourly
> TRMM files
> > > > > >    and then
> > > > > > > > > > convert
> > > > > > > > > > > > the
> > > > > > > > > > > > > > final file into One called
Obs22apr2011.bin.
> > > > > > > > > > > > > > I have done that using Grads and now I am
> using
> > the R
> > > > > >    script
> > > > > > > > for
> > > > > > > > > > > > > > converting into NC.
> > > > > > > > > > > > > > But I got the error.
> > > > > > > > > > > > > >
> aditya at agniilap:~/geeta/installs/met/RUN_MET-
> > > > > >    22apr2011$
> > > > > > > > Rscript
> > > > > > > > > > > > > > ../trmm_to_nc/trmmbin2nc_mod.R
> Obs22apr2011.bin
> > > > > >    Obs22apr2011.nc
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > ERROR: Can't figure out the accumulation
> interval!
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > I am sending you the data files and the R
> script (I
> > > > > >    changed the
> > > > > > > > > > > > domain).
> > > > > > > > > > > > > > The data is plotted fine. Also pls tell me
> about
> > the
> > > > > >    ncview
> > > > > > > > > > questions
> > > > > > > > > > > > that
> > > > > > > > > > > > > > I was asking. reg the plotting of MPR's
> > > > > > > > > > > > > > Kindly suggest.
> > > > > > > > > > > > > > Geeta
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > > Subject: Re: [rt.rap.ucar.edu #70453]
> combining
> > nc
> > > > > >    files
> > > > > > > > > > together
> > > > > > > > > > > > > > > From: met_help at ucar.edu <javascript:;>
> > > > > > > > > > > > > > > To: geeta124 at hotmail.com <javascript:;>
> > > > > > > > > > > > > > > Date: Mon, 26 Jan 2015 09:58:32 -0700
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > Geeta,
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > On that webpage (
> > > > > > > > > > > > > > >
> > > > > > > >
> > http://www.dtcenter.org/met/users/downloads/analysis_scripts.php
> > > > > > > > > > ),
> > > > > > > > > > > > > > please
> > > > > > > > > > > > > > > look specifically at the script named
> > > > > >    "mode_quilt_plot.R".
> > > > > > > > > > Here's
> > > > > > > > > > > > the
> > > > > > > > > > > > > > > direct link to that script:
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > >
> > > > > >
> > > >
>
http://www.dtcenter.org/met/users/downloads/Rscripts/mode_quilt_plot.R
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > And here's a direct link to the sample
> output
> > that
> > > > > >    script
> > > > > > > > > > creates:
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > >
> > > > > > > >
> > > > > >
> > > >
> >
>
http://www.dtcenter.org/met/users/downloads/Rscripts/SAMPLE_mode_quilts.pdf
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > This is an example of using R to make a
> quilt
> > plot
> > > > > >    for the
> > > > > > > > > > output of
> > > > > > > > > > > > the
> > > > > > > > > > > > > > > MODE tool.  You might also use a quilt
> plot to
> > > > > >    display
> > > > > > > > fractions
> > > > > > > > > > > > skill
> > > > > > > > > > > > > > > score from the Grid-Stat tool, if you've
> run FSS
> > for
> > > > > >    multiple
> > > > > > > > > > > > thresholds
> > > > > > > > > > > > > > > and neighborhood sizes.
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > John
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > On Mon, Jan 26, 2015 at 7:28 AM, Geeta
> Geeta via
> > RT
> > > > > >    <
> > > > > > > > > > > > met_help at ucar.edu <javascript:;>>
> > > > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > <URL:
> > > > > > > >
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453
> > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > Hi John.
> > > > > > > > > > > > > > > > the link
> > > > > > > > > > > > > >
> > > > > > > >
> > http://www.dtcenter.org/met/users/downloads/analysis_scripts.php
> > > > > > > > > > > > > > > > has the plots for the cnt statistics.
> > > > > > > > > > > > > > > > I am not familiar with R. I am going
> thru the
> > > > > >    plot_cnt.R
> > > > > > > > > > script.
> > > > > > > > > > > > > > > > but I want to know what will be the
data
> format
> > > > > >    for the
> > > > > > > > Quilt
> > > > > > > > > > plot.
> > > > > > > > > > > > > > > > Do I have to write my own script???.
> > > > > > > > > > > > > > > > Kindly let me know about the data
format
> and
> > how I
> > > > > >    have to
> > > > > > > > > > modify
> > > > > > > > > > > > the
> > > > > > > > > > > > > > > > above script in order to make the
quilt
> plot.
> > > > > > > > > > > > > > > > Regards
> > > > > > > > > > > > > > > > Geeta
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > Subject: Re: [rt.rap.ucar.edu
#70453]
> > combining
> > > > > >    nc files
> > > > > > > > > > > > together
> > > > > > > > > > > > > > > > > From: met_help at ucar.edu
<javascript:;>
> > > > > > > > > > > > > > > > > To: geeta124 at hotmail.com
> <javascript:;>
> > > > > > > > > > > > > > > > > Date: Fri, 23 Jan 2015 11:09:23
-0700
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > Geeta,
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > Regarding 3-hourly RF accumulations,
> if MET
> > is
> > > > > >    able to
> > > > > > > > read
> > > > > > > > > > those
> > > > > > > > > > > > > > NetCDF
> > > > > > > > > > > > > > > > > files, you can run them through PCP-
> Combine
> > to
> > > > > >    "add"
> > > > > > > > them all
> > > > > > > > > > > > > > together.
> > > > > > > > > > > > > > > > > Just use the example PCP_Combine
> command I
> > > > > >    already sent
> > > > > > > > you
> > > > > > > > > > but
> > > > > > > > > > > > > > modify
> > > > > > > > > > > > > > > > the
> > > > > > > > > > > > > > > > > "name" entry to list the name of the
> NetCDF
> > > > > >    variable you
> > > > > > > > > > want to
> > > > > > > > > > > > > > use.  If
> > > > > > > > > > > > > > > > > MET is not able to read them, then
> it's up to
> > > > > >    you to
> > > > > > > > figure
> > > > > > > > > > out
> > > > > > > > > > > > how
> > > > > > > > > > > > > > to
> > > > > > > > > > > > > > > > > accumulate them.
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > If you're familiar with R, you could
> use the
> > > > > >    "ncdf"
> > > > > > > > library
> > > > > > > > > > in R
> > > > > > > > > > > > to
> > > > > > > > > > > > > > read
> > > > > > > > > > > > > > > > > data from one or more NetCDF files,
> add them
> > up,
> > > > > >    and
> > > > > > > > write it
> > > > > > > > > > > > out to
> > > > > > > > > > > > > > a
> > > > > > > > > > > > > > > > new
> > > > > > > > > > > > > > > > > file.  Alternatively, "nco" (NetCDF
> > Operators)
> > > > > >    provide
> > > > > > > > some
> > > > > > > > > > > > > > capability of
> > > > > > > > > > > > > > > > > doing simple operations on NetCDF
> files.  You
> > > > > >    might be
> > > > > > > > able
> > > > > > > > > > to
> > > > > > > > > > > > use
> > > > > > > > > > > > > > them.
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > Regarding quilt plots, I've only
used
> R to
> > make
> > > > > >    them in
> > > > > > > > the
> > > > > > > > > > past.
> > > > > > > > > > > > > > > > > Specifically, the "quilt.plot"
> function in
> > the R
> > > > > >    package
> > > > > > > > > > named
> > > > > > > > > > > > > > "fields".
> > > > > > > > > > > > > > > > > Please take a look at this website:
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > >
> > http://www.dtcenter.org/met/users/downloads/analysis_scripts.php
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > The Rscript named
"mode_quilt_plot.R"
> > provides
> > > > > >    an
> > > > > > > > example of
> > > > > > > > > > > > using R
> > > > > > > > > > > > > > to
> > > > > > > > > > > > > > > > > make quilt plots.  Example output
from
> that
> > > > > >    script is
> > > > > > > > also
> > > > > > > > > > > > included
> > > > > > > > > > > > > > on
> > > > > > > > > > > > > > > > that
> > > > > > > > > > > > > > > > > page.
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > Thanks,
> > > > > > > > > > > > > > > > > John
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > On Fri, Jan 23, 2015 at 4:06 AM,
Geeta
> Geeta
> > via
> > > > > >    RT <
> > > > > > > > > > > > > > met_help at ucar.edu <javascript:;>>
> > > > > > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > <URL:
> > > > > > > > > >
> https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453
> > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > Hi John. Your help is needed at
> every step.
> > > > > >    Now I want
> > > > > > > > to
> > > > > > > > > > know
> > > > > > > > > > > > > > which
> > > > > > > > > > > > > > > > > > software can be used for making
the
> QUILT
> > plot
> > > > > > > > (intensity
> > > > > > > > > > and
> > > > > > > > > > > > > > spatial
> > > > > > > > > > > > > > > > > > distribution) plot. Can It be done
> in using
> > > > > >    MET5.0. How
> > > > > > > > > > Can I
> > > > > > > > > > > > plot
> > > > > > > > > > > > > > the
> > > > > > > > > > > > > > > > > > point data that I used in
> MET5.0???KIndly
> > > > > >    guide me.
> > > > > > > > Also
> > > > > > > > > > pls
> > > > > > > > > > > > tell
> > > > > > > > > > > > > > me
> > > > > > > > > > > > > > > > if u
> > > > > > > > > > > > > > > > > > can figure out the issue of 3hrly
RF
> > > > > >    accumulations if
> > > > > > > > the
> > > > > > > > > > files
> > > > > > > > > > > > > > are in
> > > > > > > > > > > > > > > > the
> > > > > > > > > > > > > > > > > > NETCDF format. Geeta
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > From: geeta124 at hotmail.com
> <javascript:;>
> > > > > > > > > > > > > > > > > > To: met_help at ucar.edu
<javascript:;>
> > > > > > > > > > > > > > > > > > Subject: RE: [rt.rap.ucar.edu
> #70453]
> > > > > >    combining nc
> > > > > > > > files
> > > > > > > > > > > > together
> > > > > > > > > > > > > > > > > > Date: Thu, 22 Jan 2015 16:30:34
> +0530
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > thanks John.  the pcp combine tool
> uses
> > only
> > > > > >    GRIB1
> > > > > > > > files.
> > > > > > > > > > these
> > > > > > > > > > > > > > were
> > > > > > > > > > > > > > > > > > netcdf files (attaching one).I had
> > downloaded
> > > > > >    the NC
> > > > > > > > files
> > > > > > > > > > from
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > http://mirador.gsfc.nasa.gov/cgi-
> > > > > >    bin/mirador/granlist.pl?page=1&location=(-90,-
> > > > > >
> > > >
> >
>
180),(90,180)&dataSet=TRMM_3B42&version=007&allversion=007&startTime=2011-
> > > > > >    04-22T00:00:01Z&endTime=2011-04-
> > > > > >    22T23:59:59Z&keyword=TRMM_3B42&longname=TRMM%203-
> > > > > >
> > > >
> >
>
Hourly%200.25%20deg.%20TRMM%20and%20Others%20Rainfall%20Estimate%20Data&CGISESSID=02499c2107ddfb60a3e46d6b99df3d79&prodpg=
> > > > http://mirador.gsfc.nasa.gov/collections/TRMM_3B42__007.shtmlI
> > > > > > > > > > > > > > > > > > got following error. bash-3.2$
> > > > > >    ./run_pcptool.sh
> > > > > > > > Running PCP
> > > > > > > > > > > > > > > > toolPerforming
> > > > > > > > > > > > > > > > > > addition command for 2
files.Reading
> input
> > > > > >    file:
> > > > > > > > > > > > > > 3B42.20110422.12.7.nc
> > > > > > > > > > > > > > > > > > GribFile::skip_header() -> can't
> find
> > "GRIB"
> > > > > >    magic
> > > > > > > > cookie
> > > > > > > > > > > >  ERROR:
> > > > > > > > > > > > > > > > > > get_field() -> can't open grib
file:
> > > > > > > > 3B42.20110422.12.7.nc
> > > > > > > > > > > > > > > > > > Following is my script--------
> !/bin/sh
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >              echo " Running PCP
> > > > > > > > > > > > > > > > > >
> > tool"~/wrf3/utils/met/METv3.0/bin/pcp_combine
> > > > > >    -add
> > > > > > > > > > > > > > > > 3B42.20110422.12.7.nc
> > > > > > > > > > > > > > > > > > 03 3B42.20110422.15.7.nc 03
> myoutput.nc
> > > > > > > > > > > > > > > > > > Kindly suggest.
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > the second thing I was thinking to
> download
> > > > > >    the TRMM
> > > > > > > > data
> > > > > > > > > > from
> > > > > > > > > > > > > > thelink
> > > > > > > > > > > > > > > > at
> > > > > > > > > > > > > > > > > > DTC website and then converying
the
> 3
> > hourly
> > > > > >    bins to
> > > > > > > > NC.
> > > > > > > > > > > > > > > > > > 2.2 MBftp://
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > >
> > > > > > > >
> > > > > >
> > > >
> >
>
disc2.nascom.nasa.gov/data/TRMM/Gridded/3B42_V7/201104/3B42.110422.15z.7.precipitation.bin
> > > > > > > > > > > > > > > > > > But my problem will be to
ACCUMULATE
> them.
> > I
> > > > > >    need to
> > > > > > > > > > verify the
> > > > > > > > > > > > > > model
> > > > > > > > > > > > > > > > data
> > > > > > > > > > > > > > > > > > starting 06 UTC of day1 to 03UTC
of
> DAY2. I
> > > > > >    mean how
> > > > > > > > do I
> > > > > > > > > > > > combine
> > > > > > > > > > > > > > all
> > > > > > > > > > > > > > > > the
> > > > > > > > > > > > > > > > > > NC  files together. Kindly suggest
> > > > > > > > > > > > > > > > > > > Subject: Re: [rt.rap.ucar.edu
> #70453]
> > > > > >    combining nc
> > > > > > > > files
> > > > > > > > > > > > > > together
> > > > > > > > > > > > > > > > > > > From: met_help at ucar.edu
> <javascript:;>
> > > > > > > > > > > > > > > > > > > To: geeta124 at hotmail.com
> <javascript:;>
> > > > > > > > > > > > > > > > > > > Date: Wed, 21 Jan 2015 10:45:12
> -0700
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > Geeta,
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > I'm assuming the variable in the
> NetCDF
> > > > > >    files is
> > > > > > > > named
> > > > > > > > > > > > > > "APCP_03".  If
> > > > > > > > > > > > > > > > > > not,
> > > > > > > > > > > > > > > > > > > just switch in the actual name.
> You can
> > run
> > > > > >    the
> > > > > > > > > > following
> > > > > > > > > > > > > > > > pcp_combine
> > > > > > > > > > > > > > > > > > -add
> > > > > > > > > > > > > > > > > > > command:
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > pcp_combine -add \
> > > > > > > > > > > > > > > > > > >    3B42.20110422.09.7.nc
> > 'name="APCP_03";
> > > > > > > > > > level="(*,*)";' \
> > > > > > > > > > > > > > > > > > >    3B42.20110422.12.7.nc
> > 'name="APCP_03";
> > > > > > > > > > level="(*,*)";' \
> > > > > > > > > > > > > > > > > > >    3B42.20110422.15.7.nc
> > 'name="APCP_03";
> > > > > > > > > > level="(*,*)";' \
> > > > > > > > > > > > > > > > > > >    3B42.20110422.18.7.nc
> > 'name="APCP_03";
> > > > > > > > > > level="(*,*)";' \
> > > > > > > > > > > > > > > > > > >    3B42.20110422.21.7.nc
> > 'name="APCP_03";
> > > > > > > > > > level="(*,*)";' \
> > > > > > > > > > > > > > > > > > >    3B42.20110423.00.7.nc
> > 'name="APCP_03";
> > > > > > > > > > level="(*,*)";' \
> > > > > > > > > > > > > > > > > > >    3B42.20110423.03.7.nc
> > 'name="APCP_03";
> > > > > > > > > > level="(*,*)";' \
> > > > > > > > > > > > > > > > > > >    3B42.20110423.06.7.nc
> > 'name="APCP_03";
> > > > > > > > > > level="(*,*)";' \
> > > > > > > > > > > > > > > > > > >    3B42.20110423.06.7_APCP_24.nc
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > The last file listed is just the
> output
> > file
> > > > > >    name I
> > > > > > > > > > chose.
> > > > > > > > > > > > But
> > > > > > > > > > > > > > you
> > > > > > > > > > > > > > > > can
> > > > > > > > > > > > > > > > > > > name it whatever you'd like.
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > John
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > On Wed, Jan 21, 2015 at 4:02 AM,
> Geeta
> > Geeta
> > > > > >    via RT <
> > > > > > > > > > > > > > > > met_help at ucar.edu <javascript:;>>
> > > > > > > > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > Wed Jan 21 04:02:41 2015:
> Request 70453
> > > > > >    was acted
> > > > > > > > upon.
> > > > > > > > > > > > > > > > > > > > Transaction: Ticket created by
> > > > > > > > geeta124 at hotmail.com <javascript:;>
> > > > > > > > > > > > > > > > > > > >        Queue: met_help
> > > > > > > > > > > > > > > > > > > >      Subject: combining nc
files
> > together
> > > > > > > > > > > > > > > > > > > >        Owner: Nobody
> > > > > > > > > > > > > > > > > > > >   Requestors:
> geeta124 at hotmail.com
> > > > <javascript:;>
> > > > > > > > > > > > > > > > > > > >       Status: new
> > > > > > > > > > > > > > > > > > > >  Ticket <URL:
> > > > > > > > > > > > > > > >
> > > > > >    https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > Hi John.
> > > > > > > > > > > > > > > > > > > > Sorry to bother you again n
> again. But
> > I
> > > > > >    have no
> > > > > > > > > > choice. I
> > > > > > > > > > > > > > want to
> > > > > > > > > > > > > > > > know
> > > > > > > > > > > > > > > > > > > > the followingI have 8 nc
files.
> > bash-3.2$
> > > > > >    ls
> > > > > > > > -ltotal
> > > > > > > > > > > > > > > > 216336-rw-r--r--
> > > > > > > > > > > > > > > > > >   1
> > > > > > > > > > > > > > > > > > > > model    staff      13841488
Jan
> 21
> > 11:24
> > > > > > > > > > > > > > > > > > 3B42.20110422.06.7.nc-rw-r--r--
> > > > > > > > > > > > > > > > > > > >   1 model    staff
13841488
> Jan 21
> > > > > >    11:27
> > > > > > > > > > > > > > > > > > > > 3B42.20110422.09.7.nc-rw-r--
r--
> 1
> > model
> > > > > >    staff
> > > > > > > > > > > > > > 13841492
> > > > > > > > > > > > > > > > Jan
> > > > > > > > > > > > > > > > > > 21
> > > > > > > > > > > > > > > > > > > > 14:01 3B42.20110422.12.7.nc-
rw-
> r--r--
> >   1
> > > > > >    model
> > > > > > > > > > staff
> > > > > > > > > > > > > > > > > > 13841492 Jan
> > > > > > > > > > > > > > > > > > > > 21 13:16
> > 3B42.20110422.15.7.nc-rw-r--r--
> > > > > >    1 model
> > > > > > > > > > > > staff
> > > > > > > > > > > > > > > > > > 13841492
> > > > > > > > > > > > > > > > > > > > Jan 21 14:51
> > 3B42.20110422.18.7.nc-rw-r--
> > > > > >    r--    1
> > > > > > > > model
> > > > > > > > > > > > > > staff
> > > > > > > > > > > > > > > > > > > > 13841492 Jan 21 13:21
> > > > > > > > 3B42.20110422.21.7.nc-rw-r--r--
> > > > > > > > > >   1
> > > > > > > > > > > > > > model
> > > > > > > > > > > > > > > > > > staff
> > > > > > > > > > > > > > > > > > > >     13841488 Jan 21 13:22
> > > > > > > > > > 3B42.20110423.00.7.nc-rw-r--r--
> > > > > > > > > > > >   1
> > > > > > > > > > > > > > > > model
> > > > > > > > > > > > > > > > > > > > staff      13841488 Jan 21
13:50
> > > > > > > > > > > > > > 3B42.20110423.03.7.ncbash-3.2$ pwd
> > > > > > > > > > > > > > > > > > > > I need to make ONE 24 hour RF
> > accumulated
> > > > > >    file
> > > > > > > > starting
> > > > > > > > > > > > 06UTC
> > > > > > > > > > > > > > of
> > > > > > > > > > > > > > > > > > > > 22.04.2011 - 03UTC of
> 23.04.2011. How
> > do I
> > > > > >    do
> > > > > > > > that???
> > > > > > > > > > > > > > > > > > > > Geeta
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > >
> > > > >
> > > > >
> > > >
> > > >
> > >
> >
> >
>
> ------------------------------------------------
> Subject: combining nc files together
> From: Geeta Geeta
> Time: Fri Feb 20 03:15:49 2015
>
> Hi John. I was trying to mask my entire domain except 9x9 points in
> the CENTRE using the following entry in the GridStatConfig file.  MY
> purpose was to retain only 9x9 points both in FCST and OBSERVATION
so
> that I can calculate the FBS and FSS for these mannually. I
> used--------------
>
////////////////////////////////////////////////////////////////////////////////
> //// Verification masking regions//mask = {   grid = [ "FULL" ];
> poly = ["mydom.poly"];};
> I have put the file mydom.ploy in the directory.
> .................................... and my working dir. So grid
stat
> run fine.
> ditya at agniilap:~/geeta/MET5.0/met-5.0/data/poly$
> pwd/home/aditya/geeta/MET5.0/met-
> 5.0/data/polyaditya at agniilap:~/geeta/MET5.0/met-5.0/data/poly$
> lsAPL.poly    EAST.poly  HMT_masks    Makefile.in       NAK.poly
> NPL.poly  SAK.poly  SPO.polyATC.poly    ECA.poly   HWI.poly
> MDW.poly          NAO.poly             NPO.poly  SAO.poly
> SWC.polyCAM.poly    GLF.poly   LMV.poly     MEX.poly
> ncep_vx_regions.pdf  NSA.poly  SEC.poly  SWD.polyCAR.poly
GMC.poly
> Makefile     MLB_Stadiums.txt  NEC.poly             NWC.poly
SMT.poly
> WCA.polyCONUS.poly  GRB.poly   Makefile.am  mydom.poly
NMT.poly
> PRI.poly  SPL.poly  WEST.polyaditya at agniilap:~/geeta/MET5.0/met-
> 5.0/data/poly$ it Looks like......................APL9.0
> 74.018.25     74.018.25     78.09.0       78.018.25     78.014.25
> 78.2514.25     78.7518.25     78.7513.25     78.2509.0
78.2509.0
> 78.7513.25     78.7518.25     79.009.00     79.018.25     83.2509.00
> 83.25~
> ~  Grid_stat was run perfectly but when I look at the
> the O/P. vi  ./out-
> 19jun2006_w7/grid_stat_270000L_20060620_030000V_nbrcnt.txt
> I get again 870 and 554 TOTAL MPRS. What is meant by these
numbers???.
> I am sending you the O/P. Pls tell me what's happening????
>
> I am sending you 3 files. CONFIG file, mydom.poly and O/P file.
> According to me, there should be 9 MPRS???.
> Also, Some more background information. My Domain starts from 9/74E
> and 37x37 points in the X and Y directions, Final grid point would
be
> 18.25/83.25.  @ rate of 25kmx25km. (TRMM data). So I have masked the
> entire domain (by using poly file) except these 4 points, extremes
of
> those are given below.
> 13.5/78.25 to 14.0/78.75 . (lat will vary like 13.5,13.75,14 and lon
> will vary 78.25,78.5,78.75).
> Pls tell me about the MPRS that got generated. ?????ie. 870 and
> 554???. Geeta
> > Subject: Re: [rt.rap.ucar.edu #70453] combining nc files together
> > From: met_help at ucar.edu
> > To: geeta124 at hotmail.com
> > Date: Thu, 19 Feb 2015 10:59:15 -0700
> >
> > Geeta,
> >
> > I think that's a great idea for you to work through the details by
> hand to
> > understand how the score is being computed.  Figure 6 is just a
> little
> > cartoon done in powerpoint to demonstrate the computation logic.
It
> wasn't
> > computed using any real data.
> >
> > John
> >
> > On Thu, Feb 19, 2015 at 8:26 AM, Geeta Geeta via RT
> <met_help at ucar.edu>
> > wrote:
> >
> > >
> > > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453 >
> > >
> > > Hi John. I want to know, Can I make the Figure 6 that is there
in
> Your
> > > paper. I mean the Forecast Grids or the OBSERVATION grids where
> the
> > > thresholds increases a specified value.
> > > I wish to calculate the FSS manuually so that I absorb the idea.
> > >
> > >
> > > Geeta
> > >
> > > > Subject: Re: [rt.rap.ucar.edu #70453] combining nc files
> together
> > > > From: met_help at ucar.edu
> > > > To: geeta124 at hotmail.com
> > > > Date: Thu, 19 Feb 2015 07:38:56 -0700
> > > >
> > > > Geeta,
> > > >
> > > > No, it does not.  It is in our list of tasks for future
> development, but
> > > > isn't in there yet.  You can only get neighborhood output from
> grid-stat,
> > > > not point-stat.
> > > >
> > > > Thanks
> > > > John
> > > >
> > > > On Thursday, February 19, 2015, Geeta Geeta via RT
> <met_help at ucar.edu>
> > > > wrote:
> > > >
> > > > >
> > > > > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453
> >
> > > > >
> > > > > Hi Tressa and John.
> > > > > I want to know if MET5.0 has neighborhood methods defined
for
> point
> > > > > observations???.
> > > > > If Yes, Pls guide me with this.
> > > > > Geeta
> > > > >
> > > > >
> > > > > > Subject: [rt.rap.ucar.edu #70453] combining nc files
> together
> > > > > > From: met_help at ucar.edu <javascript:;>
> > > > > > To: geeta124 at hotmail.com <javascript:;>
> > > > > > Date: Tue, 17 Feb 2015 13:47:07 -0700
> > > > > >
> > > > > > Hi Geeta,
> > > > > >
> > > > > > The paper we sent was not A reference, it was THE
reference,
> the
> > > > > original published work on the FSS. Of course, algebra
allows
> > > equations to
> > > > > be expressed in many equivalent formats. Feel free to use
> whichever
> > > form
> > > > > you like.
> > > > > >
> > > > > > The Spatial Vx package has many verification methods, but
it
> is
> > > > > relatively new and untested. I'm sure you can reference that
> package's
> > > > > documentation for full details of the available methods.
> > > > > >
> > > > > > Happy verifying,
> > > > > >
> > > > > > Tressa
> > > > > >
> > > > > > On Mon Feb 16 04:32:17 2015, geeta124 at hotmail.com
> <javascript:;>
> > > wrote:
> > > > > > > Hi John.
> > > > > > > In Your article, FSS is defined as the
> > > > > > > FSS (n) = 1 - (MSE(n)/MSE(n) ref).
> > > > > > >
> > > > > > > In another paper's I found it to be little different. It
> was
> > > related
> > > > > > >    to the FBS Fractional Brier Score.
> > > > > > >
> > > > > > > Can U pls explain be the differences???.
> > > > > > > Also I came across SpatialVx package.
> > > > > > > Does that also provide all the verification
procedures???
> > > > > > > Geeta
> > > > > > >
> > > > > > >
> > > > > > > From: geeta124 at hotmail.com <javascript:;>
> > > > > > > To: met_help at ucar.edu <javascript:;>
> > > > > > > Subject: RE: [rt.rap.ucar.edu #70453] combining nc files
> together
> > > > > > > Date: Thu, 12 Feb 2015 11:14:17 +0530
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > hi John.
> > > > > > > I had read ur article that U have sent reg the FSS and
the
> MODE
> > > tools.
> > > > > > >    I could not understand the meaning of FORECAST SKILL
> associated
> > > > > > >    with Uniform FOrECAST. This is what is mentioed in
the
> FSS
> > > section
> > > > > > >    of Ur article.
> > > > > > > I didnt understand the concept/idea. if U could just
> explain a
> > > little
> > > > > > >    more I can build/read some articles that you would
> suggest.
> > > > > > > Thanks for ur help.
> > > > > > > Geeta
> > > > > > >
> > > > > > > > Subject: Re: [rt.rap.ucar.edu #70453] combining nc
files
> > > together
> > > > > > > > From: met_help at ucar.edu <javascript:;>
> > > > > > > > To: geeta124 at hotmail.com <javascript:;>
> > > > > > > > Date: Wed, 11 Feb 2015 10:17:33 -0700
> > > > > > > >
> > > > > > > > Geeta,
> > > > > > > >
> > > > > > > > I think your reference to an article must be from a
> different
> > > email
> > > > > > >    chain.
> > > > > > > >
> > > > > > > > I see that you're asking about "FORECAST skill
> associated with
> > > the
> > > > > > >    Uniform
> > > > > > > > forecast".  Are you looking for more references
related
> to
> > > > > > >    neighborhood
> > > > > > > > verification statistics, like Fractions Skill Score?
> > > > > > > >
> > > > > > > > Thanks,
> > > > > > > > John
> > > > > > > >
> > > > > > > > On Mon, Feb 9, 2015 at 1:53 AM, Geeta Geeta via RT
> > > > > > >    <met_help at ucar.edu <javascript:;>>
> > > > > > > > wrote:
> > > > > > > >
> > > > > > > > >
> > > > > > > > > <URL:
> https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453
> > > >
> > > > > > > > >
> > > > > > > > > Hi John.
> > > > > > > > > Thanks for the article. It is very informative.
> > > > > > > > > I dont know if i should be asking at this forum, the
> meaning of
> > > > > > >    the
> > > > > > > > > "FORECAST skill associated with the Uniform
forecast"
> as you
> > > have
> > > > > > >    mentioned
> > > > > > > > > in your paper.
> > > > > > > > > If U give me some references, it would be great.
> > > > > > > > > Geeta
> > > > > > > > >
> > > > > > > > > > Subject: Re: [rt.rap.ucar.edu #70453] combining nc
> files
> > > > > > >    together
> > > > > > > > > > From: met_help at ucar.edu <javascript:;>
> > > > > > > > > > To: geeta124 at hotmail.com <javascript:;>
> > > > > > > > > > Date: Thu, 5 Feb 2015 10:33:59 -0700
> > > > > > > > > >
> > > > > > > > > > Geeta,
> > > > > > > > > >
> > > > > > > > > > You're correct, you can only use the "sum" command
> of
> > > > > > >    pcp_combine for
> > > > > > > > > GRIB1
> > > > > > > > > > or GRIB2 files...
> > > > > > > > > >
> > > > > > > > > > But, you can use the "add" command on any gridded
> data file
> > > > > > >    format that
> > > > > > > > > MET
> > > > > > > > > > supports.  Adding together 8 NetCDF files with
> pcp_combine
> > > would
> > > > > > >    look
> > > > > > > > > > something like this:
> > > > > > > > > >
> > > > > > > > > > pcp_combine -add \
> > > > > > > > > > file1.nc 'name="APCP_03"; level="(*,*)";' \
> > > > > > > > > > file2.nc 'name="APCP_03"; level="(*,*)";' \
> > > > > > > > > > ...
> > > > > > > > > > file8.nc 'name="APCP_03"; level="(*,*)";' \
> > > > > > > > > > APCP_24.nc
> > > > > > > > > >
> > > > > > > > > > It makes for a longer command line, but it is
> possible to do
> > > > > > >    with
> > > > > > > > > > pcp_combine.
> > > > > > > > > >
> > > > > > > > > > John
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > On Thu, Feb 5, 2015 at 2:02 AM, Geeta Geeta via RT
> > > > > > >    <met_help at ucar.edu <javascript:;>>
> > > > > > > > > > wrote:
> > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > <URL:
> > > https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453
> > > > > > >    >
> > > > > > > > > > >
> > > > > > > > > > > Hi John.
> > > > > > > > > > > Thanks for wonderful ideas.
> > > > > > > > > > > The first one is working. but I have yet to run
> grid_stat
> > > to
> > > > > > >    see if
> > > > > > > > > > > everything is working finally. I ll try the
> ncatted.
> > > > > > > > > > >
> > > > > > > > > > > To sum up all the nc files (for the times that I
> want), I
> > > did
> > > > > > >    try the
> > > > > > > > > > > pcp_combine. But I guess It only works for the
> GRIB files.
> > > > > > > > > > > I have sent to u the error before. I tried to
use
> MET3.0
> > > for
> > > > > > >    that
> > > > > > > > > which is
> > > > > > > > > > > installed in my HPC.
> > > > > > > > > > > I have 5.0 on my personal system. Will try that
> exercise in
> > > > > > >    this
> > > > > > > > > system.
> > > > > > > > > > > Thanks again for your help.
> > > > > > > > > > > Geeta
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > > Subject: Re: [rt.rap.ucar.edu #70453]
combining
> nc files
> > > > > > >    together
> > > > > > > > > > > > From: met_help at ucar.edu <javascript:;>
> > > > > > > > > > > > To: geeta124 at hotmail.com <javascript:;>
> > > > > > > > > > > > Date: Wed, 4 Feb 2015 11:21:19 -0700
> > > > > > > > > > > >
> > > > > > > > > > > > Geeta,
> > > > > > > > > > > >
> > > > > > > > > > > > The trmmbin2nc.R script is set up to only
handle
> the TRMM
> > > > > > >    binary data
> > > > > > > > > > > > exactly from that website.  The timing
> information for
> > > that
> > > > > > >    binary
> > > > > > > > > data
> > > > > > > > > > > is
> > > > > > > > > > > > only contained in the file name, and you've
> renamed those
> > > > > > >    files.  So
> > > > > > > > > the
> > > > > > > > > > > > script doesn't know how to parse them.
> > > > > > > > > > > >
> > > > > > > > > > > > Here's 2 options:
> > > > > > > > > > > > (1) Rename that file using the "daily" file
> naming
> > > > > > >    conventions:
> > > > > > > > > > > >    cp Obs22apr2011.bin
> 3B42_daily.2011.04.22.7.bin
> > > > > > > > > > > >    Rscript 3B42_daily.2011.04.22.7.bin
> > > > > > >    3B42_daily.2011.04.22.7.nc
> > > > > > > > > > > >
> > > > > > > > > > > > That will produce output but it'll assume the
> > > precipitation
> > > > > > >    is
> > > > > > > > > > > accumulated
> > > > > > > > > > > > for 24-hours from 20110422 00Z to 20110423
00Z.
> If the
> > > > > > >    times should
> > > > > > > > > be
> > > > > > > > > > > > something different you could... edit the
> Rscript to use
> > > the
> > > > > > >    times
> > > > > > > > > you
> > > > > > > > > > > > want... or use the "ncatted" tool to modify
the
> timing
> > > > > > >    information
> > > > > > > > > listed
> > > > > > > > > > > > in the output NetCDF file.
> > > > > > > > > > > >
> > > > > > > > > > > > (2) Or, as we've discussed in the past, you
> could run
> > > each
> > > > > > >    of the
> > > > > > > > > 3-hour
> > > > > > > > > > > > files through the trmmbin2nc.R script and
write
> out
> > > NetCDF
> > > > > > >    files.
> > > > > > > > > Then
> > > > > > > > > > > run
> > > > > > > > > > > > those 3-hourly NetCDF files through
pcp_combine
> to add
> > > them
> > > > > > >    up.
> > > > > > > > > > > >
> > > > > > > > > > > > Thanks,
> > > > > > > > > > > > John
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > On Sun, Feb 1, 2015 at 11:27 PM, Geeta Geeta
via
> RT <
> > > > > > > > > met_help at ucar.edu <javascript:;>>
> > > > > > > > > > > > wrote:
> > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > <URL:
> > > > > > >
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453
> >
> > > > > > > > > > > > >
> > > > > > > > > > > > > Hi John.
> > > > > > > > > > > > > This is an old Ticket. Kindly sort this
issue
> too.
> > > > > > > > > > > > > I was able to sum up all the 3 hourly TRMM
> files and
> > > then
> > > > > > >    convert
> > > > > > > > > the
> > > > > > > > > > > > > final file into One called Obs22apr2011.bin.
> > > > > > > > > > > > > I had used Grads for summing up all the 8
> files. and
> > > now I
> > > > > > >    am using
> > > > > > > > > > > the R
> > > > > > > > > > > > > script for
> > > > > > > > > > > > > converting into NC.
> > > > > > > > > > > > > But I got the error.
> > > > > > > > > > > > > aditya at agniilap
> > > :~/geeta/installs/met/RUN_MET-22apr2011$
> > > > > > >    Rscript
> > > > > > > > > > > > > ../trmm_to_nc/trmmbin2nc_mod.R
> Obs22apr2011.bin
> > > > > > >    Obs22apr2011.nc
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > ERROR: Can't figure out the accumulation
> interval!I am
> > > > > > >    sending you
> > > > > > > > > the
> > > > > > > > > > > > > data that I converted using Grads.
> > > > > > > > > > > > > Geeta
> > > > > > > > > > > > >
> > > > > > > > > > > > > > Subject: Re: [rt.rap.ucar.edu #70453]
> combining nc
> > > files
> > > > > > > > > together
> > > > > > > > > > > > > > From: met_help at ucar.edu <javascript:;>
> > > > > > > > > > > > > > To: geeta124 at hotmail.com <javascript:;>
> > > > > > > > > > > > > > Date: Fri, 30 Jan 2015 11:04:18 -0700
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Geeta,
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > I don't have time to adapt that Rscript
for
> your use
> > > > > > >    with
> > > > > > > > > Grid-Stat.
> > > > > > > > > > > > > > However, we did do something very similar
> for a
> > > previous
> > > > > > > > > project.  I
> > > > > > > > > > > have
> > > > > > > > > > > > > > attached an Rscript named
"fss_quilt_plot.R"
> you
> > > could
> > > > > > >    easily
> > > > > > > > > adapt
> > > > > > > > > > > to
> > > > > > > > > > > > > > create a quilt plot for your data.  I've
> also
> > > attached a
> > > > > > >    copy of
> > > > > > > > > the
> > > > > > > > > > > > > paper
> > > > > > > > > > > > > > for which this script was used.  Please
look
> at
> > > figure
> > > > > > >    7.
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Thanks,
> > > > > > > > > > > > > > John
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > On Fri, Jan 30, 2015 at 1:03 AM, Geeta
Geeta
> via RT <
> > > > > > > > > > > met_help at ucar.edu <javascript:;>>
> > > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > <URL:
> > > > > > >
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453
> > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > Hi John.
> > > > > > > > > > > > > > > I changed different widths in the
> configuration
> > > file.
> > > > > > > > > > > (Width=1,3,5,,7
> > > > > > > > > > > > > etc).
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > // Neighborhood methods
> > > > > > > > > > > > > > > //
> > > > > > > > > > > > > > > nbrhd = {
> > > > > > > > > > > > > > >    vld_thresh = 1.0;
> > > > > > > > > > > > > > >    width      = [ 7 ];
> > > > > > > > > > > > > > >    cov_thresh = [ >=0.5 ];
> > > > > > > > > > > > > > > }
> > > > > > > > > > > > > > > and got various outputs (for different
> widths)
> > > which
> > > > > > >    are in
> > > > > > > > > > > different
> > > > > > > > > > > > > > > directories.
> > > > > > > > > > > > > > > Now I saw the R script on the website
> which is
> > > > > > >    probably
> > > > > > > > > > > exclusively for
> > > > > > > > > > > > > > > the MODE TOOL only.
> > > > > > > > > > > > > > > Now my question is how to make the quilt
> plot for
> > > the
> > > > > > >    GRid stat
> > > > > > > > > > > > > tool???.
> > > > > > > > > > > > > > > Sorry I m not familiar with R  now.
> > > > > > > > > > > > > > > Pls help.
> > > > > > > > > > > > > > > Geeta.
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > From: geeta124 at hotmail.com
<javascript:;>
> > > > > > > > > > > > > > > To: met_help at ucar.edu <javascript:;>
> > > > > > > > > > > > > > > Subject: RE: [rt.rap.ucar.edu #70453]
> combining nc
> > > > > > >    files
> > > > > > > > > together
> > > > > > > > > > > > > > > Date: Thu, 29 Jan 2015 17:05:25 +0530
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > Hi John.
> > > > > > > > > > > > > > > So I was able to sum up all the 3 hourly
> TRMM files
> > > > > > >    and then
> > > > > > > > > > > convert
> > > > > > > > > > > > > the
> > > > > > > > > > > > > > > final file into One called
> Obs22apr2011.bin.
> > > > > > > > > > > > > > > I have done that using Grads and now I
am
> using
> > > the R
> > > > > > >    script
> > > > > > > > > for
> > > > > > > > > > > > > > > converting into NC.
> > > > > > > > > > > > > > > But I got the error.
> > > > > > > > > > > > > > >
> aditya at agniilap:~/geeta/installs/met/RUN_MET-
> > > > > > >    22apr2011$
> > > > > > > > > Rscript
> > > > > > > > > > > > > > > ../trmm_to_nc/trmmbin2nc_mod.R
> Obs22apr2011.bin
> > > > > > >    Obs22apr2011.nc
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > ERROR: Can't figure out the accumulation
> interval!
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > I am sending you the data files and the
R
> script (I
> > > > > > >    changed the
> > > > > > > > > > > > > domain).
> > > > > > > > > > > > > > > The data is plotted fine. Also pls tell
me
> about
> > > the
> > > > > > >    ncview
> > > > > > > > > > > questions
> > > > > > > > > > > > > that
> > > > > > > > > > > > > > > I was asking. reg the plotting of MPR's
> > > > > > > > > > > > > > > Kindly suggest.
> > > > > > > > > > > > > > > Geeta
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > Subject: Re: [rt.rap.ucar.edu #70453]
> combining
> > > nc
> > > > > > >    files
> > > > > > > > > > > together
> > > > > > > > > > > > > > > > From: met_help at ucar.edu <javascript:;>
> > > > > > > > > > > > > > > > To: geeta124 at hotmail.com
<javascript:;>
> > > > > > > > > > > > > > > > Date: Mon, 26 Jan 2015 09:58:32 -0700
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > Geeta,
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > On that webpage (
> > > > > > > > > > > > > > > >
> > > > > > > > >
> > > http://www.dtcenter.org/met/users/downloads/analysis_scripts.php
> > > > > > > > > > > ),
> > > > > > > > > > > > > > > please
> > > > > > > > > > > > > > > > look specifically at the script named
> > > > > > >    "mode_quilt_plot.R".
> > > > > > > > > > > Here's
> > > > > > > > > > > > > the
> > > > > > > > > > > > > > > > direct link to that script:
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > >
> > > > >
>
http://www.dtcenter.org/met/users/downloads/Rscripts/mode_quilt_plot.R
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > And here's a direct link to the sample
> output
> > > that
> > > > > > >    script
> > > > > > > > > > > creates:
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > >
> > > > > > >
> > > > >
> > >
>
http://www.dtcenter.org/met/users/downloads/Rscripts/SAMPLE_mode_quilts.pdf
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > This is an example of using R to make
a
> quilt
> > > plot
> > > > > > >    for the
> > > > > > > > > > > output of
> > > > > > > > > > > > > the
> > > > > > > > > > > > > > > > MODE tool.  You might also use a quilt
> plot to
> > > > > > >    display
> > > > > > > > > fractions
> > > > > > > > > > > > > skill
> > > > > > > > > > > > > > > > score from the Grid-Stat tool, if
you've
> run FSS
> > > for
> > > > > > >    multiple
> > > > > > > > > > > > > thresholds
> > > > > > > > > > > > > > > > and neighborhood sizes.
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > John
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > On Mon, Jan 26, 2015 at 7:28 AM, Geeta
> Geeta via
> > > RT
> > > > > > >    <
> > > > > > > > > > > > > met_help at ucar.edu <javascript:;>>
> > > > > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > <URL:
> > > > > > > > >
> https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453
> > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > Hi John.
> > > > > > > > > > > > > > > > > the link
> > > > > > > > > > > > > > >
> > > > > > > > >
> > > http://www.dtcenter.org/met/users/downloads/analysis_scripts.php
> > > > > > > > > > > > > > > > > has the plots for the cnt
statistics.
> > > > > > > > > > > > > > > > > I am not familiar with R. I am going
> thru the
> > > > > > >    plot_cnt.R
> > > > > > > > > > > script.
> > > > > > > > > > > > > > > > > but I want to know what will be the
> data format
> > > > > > >    for the
> > > > > > > > > Quilt
> > > > > > > > > > > plot.
> > > > > > > > > > > > > > > > > Do I have to write my own script???.
> > > > > > > > > > > > > > > > > Kindly let me know about the data
> format and
> > > how I
> > > > > > >    have to
> > > > > > > > > > > modify
> > > > > > > > > > > > > the
> > > > > > > > > > > > > > > > > above script in order to make the
> quilt plot.
> > > > > > > > > > > > > > > > > Regards
> > > > > > > > > > > > > > > > > Geeta
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > Subject: Re: [rt.rap.ucar.edu
> #70453]
> > > combining
> > > > > > >    nc files
> > > > > > > > > > > > > together
> > > > > > > > > > > > > > > > > > From: met_help at ucar.edu
> <javascript:;>
> > > > > > > > > > > > > > > > > > To: geeta124 at hotmail.com
> <javascript:;>
> > > > > > > > > > > > > > > > > > Date: Fri, 23 Jan 2015 11:09:23
> -0700
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > Geeta,
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > Regarding 3-hourly RF
accumulations,
> if MET
> > > is
> > > > > > >    able to
> > > > > > > > > read
> > > > > > > > > > > those
> > > > > > > > > > > > > > > NetCDF
> > > > > > > > > > > > > > > > > > files, you can run them through
PCP-
> Combine
> > > to
> > > > > > >    "add"
> > > > > > > > > them all
> > > > > > > > > > > > > > > together.
> > > > > > > > > > > > > > > > > > Just use the example PCP_Combine
> command I
> > > > > > >    already sent
> > > > > > > > > you
> > > > > > > > > > > but
> > > > > > > > > > > > > > > modify
> > > > > > > > > > > > > > > > > the
> > > > > > > > > > > > > > > > > > "name" entry to list the name of
the
> NetCDF
> > > > > > >    variable you
> > > > > > > > > > > want to
> > > > > > > > > > > > > > > use.  If
> > > > > > > > > > > > > > > > > > MET is not able to read them, then
> it's up to
> > > > > > >    you to
> > > > > > > > > figure
> > > > > > > > > > > out
> > > > > > > > > > > > > how
> > > > > > > > > > > > > > > to
> > > > > > > > > > > > > > > > > > accumulate them.
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > If you're familiar with R, you
could
> use the
> > > > > > >    "ncdf"
> > > > > > > > > library
> > > > > > > > > > > in R
> > > > > > > > > > > > > to
> > > > > > > > > > > > > > > read
> > > > > > > > > > > > > > > > > > data from one or more NetCDF
files,
> add them
> > > up,
> > > > > > >    and
> > > > > > > > > write it
> > > > > > > > > > > > > out to
> > > > > > > > > > > > > > > a
> > > > > > > > > > > > > > > > > new
> > > > > > > > > > > > > > > > > > file.  Alternatively, "nco"
(NetCDF
> > > Operators)
> > > > > > >    provide
> > > > > > > > > some
> > > > > > > > > > > > > > > capability of
> > > > > > > > > > > > > > > > > > doing simple operations on NetCDF
> files.  You
> > > > > > >    might be
> > > > > > > > > able
> > > > > > > > > > > to
> > > > > > > > > > > > > use
> > > > > > > > > > > > > > > them.
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > Regarding quilt plots, I've only
> used R to
> > > make
> > > > > > >    them in
> > > > > > > > > the
> > > > > > > > > > > past.
> > > > > > > > > > > > > > > > > > Specifically, the "quilt.plot"
> function in
> > > the R
> > > > > > >    package
> > > > > > > > > > > named
> > > > > > > > > > > > > > > "fields".
> > > > > > > > > > > > > > > > > > Please take a look at this
website:
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > >
> > > http://www.dtcenter.org/met/users/downloads/analysis_scripts.php
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > The Rscript named
> "mode_quilt_plot.R"
> > > provides
> > > > > > >    an
> > > > > > > > > example of
> > > > > > > > > > > > > using R
> > > > > > > > > > > > > > > to
> > > > > > > > > > > > > > > > > > make quilt plots.  Example output
> from that
> > > > > > >    script is
> > > > > > > > > also
> > > > > > > > > > > > > included
> > > > > > > > > > > > > > > on
> > > > > > > > > > > > > > > > > that
> > > > > > > > > > > > > > > > > > page.
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > Thanks,
> > > > > > > > > > > > > > > > > > John
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > On Fri, Jan 23, 2015 at 4:06 AM,
> Geeta Geeta
> > > via
> > > > > > >    RT <
> > > > > > > > > > > > > > > met_help at ucar.edu <javascript:;>>
> > > > > > > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > <URL:
> > > > > > > > > > >
> https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > Hi John. Your help is needed at
> every step.
> > > > > > >    Now I want
> > > > > > > > > to
> > > > > > > > > > > know
> > > > > > > > > > > > > > > which
> > > > > > > > > > > > > > > > > > > software can be used for making
> the QUILT
> > > plot
> > > > > > > > > (intensity
> > > > > > > > > > > and
> > > > > > > > > > > > > > > spatial
> > > > > > > > > > > > > > > > > > > distribution) plot. Can It be
done
> in using
> > > > > > >    MET5.0. How
> > > > > > > > > > > Can I
> > > > > > > > > > > > > plot
> > > > > > > > > > > > > > > the
> > > > > > > > > > > > > > > > > > > point data that I used in
> MET5.0???KIndly
> > > > > > >    guide me.
> > > > > > > > > Also
> > > > > > > > > > > pls
> > > > > > > > > > > > > tell
> > > > > > > > > > > > > > > me
> > > > > > > > > > > > > > > > > if u
> > > > > > > > > > > > > > > > > > > can figure out the issue of
3hrly
> RF
> > > > > > >    accumulations if
> > > > > > > > > the
> > > > > > > > > > > files
> > > > > > > > > > > > > > > are in
> > > > > > > > > > > > > > > > > the
> > > > > > > > > > > > > > > > > > > NETCDF format. Geeta
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > From: geeta124 at hotmail.com
> <javascript:;>
> > > > > > > > > > > > > > > > > > > To: met_help at ucar.edu
> <javascript:;>
> > > > > > > > > > > > > > > > > > > Subject: RE: [rt.rap.ucar.edu
> #70453]
> > > > > > >    combining nc
> > > > > > > > > files
> > > > > > > > > > > > > together
> > > > > > > > > > > > > > > > > > > Date: Thu, 22 Jan 2015 16:30:34
> +0530
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > thanks John.  the pcp combine
tool
> uses
> > > only
> > > > > > >    GRIB1
> > > > > > > > > files.
> > > > > > > > > > > these
> > > > > > > > > > > > > > > were
> > > > > > > > > > > > > > > > > > > netcdf files (attaching one).I
had
> > > downloaded
> > > > > > >    the NC
> > > > > > > > > files
> > > > > > > > > > > from
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > http://mirador.gsfc.nasa.gov/cgi-
> > > > > > >    bin/mirador/granlist.pl?page=1&location=(-90,-
> > > > > > >
> > > > >
> > >
>
180),(90,180)&dataSet=TRMM_3B42&version=007&allversion=007&startTime=2011-
> > > > > > >    04-22T00:00:01Z&endTime=2011-04-
> > > > > > >    22T23:59:59Z&keyword=TRMM_3B42&longname=TRMM%203-
> > > > > > >
> > > > >
> > >
>
Hourly%200.25%20deg.%20TRMM%20and%20Others%20Rainfall%20Estimate%20Data&CGISESSID=02499c2107ddfb60a3e46d6b99df3d79&prodpg=
> > > > >
http://mirador.gsfc.nasa.gov/collections/TRMM_3B42__007.shtmlI
> > > > > > > > > > > > > > > > > > > got following error. bash-3.2$
> > > > > > >    ./run_pcptool.sh
> > > > > > > > > Running PCP
> > > > > > > > > > > > > > > > > toolPerforming
> > > > > > > > > > > > > > > > > > > addition command for 2
> files.Reading input
> > > > > > >    file:
> > > > > > > > > > > > > > > 3B42.20110422.12.7.nc
> > > > > > > > > > > > > > > > > > > GribFile::skip_header() -> can't
> find
> > > "GRIB"
> > > > > > >    magic
> > > > > > > > > cookie
> > > > > > > > > > > > >  ERROR:
> > > > > > > > > > > > > > > > > > > get_field() -> can't open grib
> file:
> > > > > > > > > 3B42.20110422.12.7.nc
> > > > > > > > > > > > > > > > > > > Following is my script--------
> !/bin/sh
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >              echo " Running PCP
> > > > > > > > > > > > > > > > > > >
> > > tool"~/wrf3/utils/met/METv3.0/bin/pcp_combine
> > > > > > >    -add
> > > > > > > > > > > > > > > > > 3B42.20110422.12.7.nc
> > > > > > > > > > > > > > > > > > > 03 3B42.20110422.15.7.nc 03
> myoutput.nc
> > > > > > > > > > > > > > > > > > > Kindly suggest.
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > the second thing I was thinking
to
> download
> > > > > > >    the TRMM
> > > > > > > > > data
> > > > > > > > > > > from
> > > > > > > > > > > > > > > thelink
> > > > > > > > > > > > > > > > > at
> > > > > > > > > > > > > > > > > > > DTC website and then converying
> the 3
> > > hourly
> > > > > > >    bins to
> > > > > > > > > NC.
> > > > > > > > > > > > > > > > > > > 2.2 MBftp://
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > >
> > > > > > >
> > > > >
> > >
>
disc2.nascom.nasa.gov/data/TRMM/Gridded/3B42_V7/201104/3B42.110422.15z.7.precipitation.bin
> > > > > > > > > > > > > > > > > > > But my problem will be to
> ACCUMULATE them.
> > > I
> > > > > > >    need to
> > > > > > > > > > > verify the
> > > > > > > > > > > > > > > model
> > > > > > > > > > > > > > > > > data
> > > > > > > > > > > > > > > > > > > starting 06 UTC of day1 to 03UTC
> of DAY2. I
> > > > > > >    mean how
> > > > > > > > > do I
> > > > > > > > > > > > > combine
> > > > > > > > > > > > > > > all
> > > > > > > > > > > > > > > > > the
> > > > > > > > > > > > > > > > > > > NC  files together. Kindly
suggest
> > > > > > > > > > > > > > > > > > > > Subject: Re: [rt.rap.ucar.edu
> #70453]
> > > > > > >    combining nc
> > > > > > > > > files
> > > > > > > > > > > > > > > together
> > > > > > > > > > > > > > > > > > > > From: met_help at ucar.edu
> <javascript:;>
> > > > > > > > > > > > > > > > > > > > To: geeta124 at hotmail.com
> <javascript:;>
> > > > > > > > > > > > > > > > > > > > Date: Wed, 21 Jan 2015
10:45:12
> -0700
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > Geeta,
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > I'm assuming the variable in
the
> NetCDF
> > > > > > >    files is
> > > > > > > > > named
> > > > > > > > > > > > > > > "APCP_03".  If
> > > > > > > > > > > > > > > > > > > not,
> > > > > > > > > > > > > > > > > > > > just switch in the actual
name.
> You can
> > > run
> > > > > > >    the
> > > > > > > > > > > following
> > > > > > > > > > > > > > > > > pcp_combine
> > > > > > > > > > > > > > > > > > > -add
> > > > > > > > > > > > > > > > > > > > command:
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > pcp_combine -add \
> > > > > > > > > > > > > > > > > > > >    3B42.20110422.09.7.nc
> > > 'name="APCP_03";
> > > > > > > > > > > level="(*,*)";' \
> > > > > > > > > > > > > > > > > > > >    3B42.20110422.12.7.nc
> > > 'name="APCP_03";
> > > > > > > > > > > level="(*,*)";' \
> > > > > > > > > > > > > > > > > > > >    3B42.20110422.15.7.nc
> > > 'name="APCP_03";
> > > > > > > > > > > level="(*,*)";' \
> > > > > > > > > > > > > > > > > > > >    3B42.20110422.18.7.nc
> > > 'name="APCP_03";
> > > > > > > > > > > level="(*,*)";' \
> > > > > > > > > > > > > > > > > > > >    3B42.20110422.21.7.nc
> > > 'name="APCP_03";
> > > > > > > > > > > level="(*,*)";' \
> > > > > > > > > > > > > > > > > > > >    3B42.20110423.00.7.nc
> > > 'name="APCP_03";
> > > > > > > > > > > level="(*,*)";' \
> > > > > > > > > > > > > > > > > > > >    3B42.20110423.03.7.nc
> > > 'name="APCP_03";
> > > > > > > > > > > level="(*,*)";' \
> > > > > > > > > > > > > > > > > > > >    3B42.20110423.06.7.nc
> > > 'name="APCP_03";
> > > > > > > > > > > level="(*,*)";' \
> > > > > > > > > > > > > > > > > > > >
3B42.20110423.06.7_APCP_24.nc
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > The last file listed is just
the
> output
> > > file
> > > > > > >    name I
> > > > > > > > > > > chose.
> > > > > > > > > > > > > But
> > > > > > > > > > > > > > > you
> > > > > > > > > > > > > > > > > can
> > > > > > > > > > > > > > > > > > > > name it whatever you'd like.
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > John
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > On Wed, Jan 21, 2015 at 4:02
AM,
> Geeta
> > > Geeta
> > > > > > >    via RT <
> > > > > > > > > > > > > > > > > met_help at ucar.edu <javascript:;>>
> > > > > > > > > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > Wed Jan 21 04:02:41 2015:
> Request 70453
> > > > > > >    was acted
> > > > > > > > > upon.
> > > > > > > > > > > > > > > > > > > > > Transaction: Ticket created
by
> > > > > > > > > geeta124 at hotmail.com <javascript:;>
> > > > > > > > > > > > > > > > > > > > >        Queue: met_help
> > > > > > > > > > > > > > > > > > > > >      Subject: combining nc
> files
> > > together
> > > > > > > > > > > > > > > > > > > > >        Owner: Nobody
> > > > > > > > > > > > > > > > > > > > >   Requestors:
> geeta124 at hotmail.com
> > > > > <javascript:;>
> > > > > > > > > > > > > > > > > > > > >       Status: new
> > > > > > > > > > > > > > > > > > > > >  Ticket <URL:
> > > > > > > > > > > > > > > > >
> > > > > > >
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > Hi John.
> > > > > > > > > > > > > > > > > > > > > Sorry to bother you again n
> again. But
> > > I
> > > > > > >    have no
> > > > > > > > > > > choice. I
> > > > > > > > > > > > > > > want to
> > > > > > > > > > > > > > > > > know
> > > > > > > > > > > > > > > > > > > > > the followingI have 8 nc
> files.
> > > bash-3.2$
> > > > > > >    ls
> > > > > > > > > -ltotal
> > > > > > > > > > > > > > > > > 216336-rw-r--r--
> > > > > > > > > > > > > > > > > > >   1
> > > > > > > > > > > > > > > > > > > > > model    staff      13841488
> Jan 21
> > > 11:24
> > > > > > > > > > > > > > > > > > > 3B42.20110422.06.7.nc-rw-r--r--
> > > > > > > > > > > > > > > > > > > > >   1 model    staff
> 13841488 Jan 21
> > > > > > >    11:27
> > > > > > > > > > > > > > > > > > > > > 3B42.20110422.09.7.nc-rw-r--
> r--    1
> > > model
> > > > > > >    staff
> > > > > > > > > > > > > > > 13841492
> > > > > > > > > > > > > > > > > Jan
> > > > > > > > > > > > > > > > > > > 21
> > > > > > > > > > > > > > > > > > > > > 14:01 3B42.20110422.12.7.nc-
> rw-r--r--
> > >   1
> > > > > > >    model
> > > > > > > > > > > staff
> > > > > > > > > > > > > > > > > > > 13841492 Jan
> > > > > > > > > > > > > > > > > > > > > 21 13:16
> > > 3B42.20110422.15.7.nc-rw-r--r--
> > > > > > >    1 model
> > > > > > > > > > > > > staff
> > > > > > > > > > > > > > > > > > > 13841492
> > > > > > > > > > > > > > > > > > > > > Jan 21 14:51
> > > 3B42.20110422.18.7.nc-rw-r--
> > > > > > >    r--    1
> > > > > > > > > model
> > > > > > > > > > > > > > > staff
> > > > > > > > > > > > > > > > > > > > > 13841492 Jan 21 13:21
> > > > > > > > > 3B42.20110422.21.7.nc-rw-r--r--
> > > > > > > > > > >   1
> > > > > > > > > > > > > > > model
> > > > > > > > > > > > > > > > > > > staff
> > > > > > > > > > > > > > > > > > > > >     13841488 Jan 21 13:22
> > > > > > > > > > > 3B42.20110423.00.7.nc-rw-r--r--
> > > > > > > > > > > > >   1
> > > > > > > > > > > > > > > > > model
> > > > > > > > > > > > > > > > > > > > > staff      13841488 Jan 21
> 13:50
> > > > > > > > > > > > > > > 3B42.20110423.03.7.ncbash-3.2$ pwd
> > > > > > > > > > > > > > > > > > > > > I need to make ONE 24 hour
RF
> > > accumulated
> > > > > > >    file
> > > > > > > > > starting
> > > > > > > > > > > > > 06UTC
> > > > > > > > > > > > > > > of
> > > > > > > > > > > > > > > > > > > > > 22.04.2011 - 03UTC of
> 23.04.2011. How
> > > do I
> > > > > > >    do
> > > > > > > > > that???
> > > > > > > > > > > > > > > > > > > > > Geeta
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > >
> > > > >
> > > >
> > >
> > >
> >
>
> ------------------------------------------------
> Subject: combining nc files together
> From: Geeta Geeta
> Time: Fri Feb 20 03:15:49 2015
>
> VERSION MODEL FCST_LEAD FCST_VALID_BEG  FCST_VALID_END  OBS_LEAD
> OBS_VALID_BEG   OBS_VALID_END   FCST_VAR FCST_LEV OBS_VAR OBS_LEV
> OBTYPE VX_MASK INTERP_MTHD INTERP_PNTS FCST_THRESH OBS_THRESH
> COV_THRESH   ALPHA LINE_TYPE TOTAL     FBS FBS_BCL FBS_BCU     FSS
> FSS_BCL FSS_BCU    AFSS AFSS_BCL AFSS_BCU    UFSS UFSS_BCL UFSS_BCU
> F_RATE F_RATE_BCL F_RATE_BCU  O_RATE O_RATE_BCL O_RATE_BCU
> V5.0    WRF   270000    20060620_030000 20060620_030000 240000
> 20060620_000000 20060620_000000 APCP     A24      APCP    A24
> MC_PCP FULL    NBRHD                 9     >=0.100    >=0.100
> NA 0.05000 NBRCNT      870 0.09852      NA      NA 0.91075      NA
> NA 0.98789       NA       NA 0.78851       NA       NA 0.67471
> NA         NA 0.57701         NA         NA
> V5.0    WRF   270000    20060620_030000 20060620_030000 240000
> 20060620_000000 20060620_000000 APCP     A24      APCP    A24
> MC_PCP APL     NBRHD                 9     >=0.100    >=0.100
> NA 0.05000 NBRCNT      554 0.08154      NA      NA 0.93194      NA
> NA 0.98720       NA       NA 0.80505       NA       NA 0.71661
> NA         NA 0.61011         NA         NA
>
> ------------------------------------------------
> Subject: combining nc files together
> From: Geeta Geeta
> Time: Fri Feb 20 03:24:20 2015
>
> John another thing. for my data, 37x37=1309. Some points will have 0
> values too. Why am I getting 870???. What grid points have been left
> out???
> In my experiment case I should get 9x9=81 MPRS?.
> Correct??????????????MPRS in this context is the Number of grids in
> FCST and Observations. But the CO-LOCATED OBS and FCST grid point
may
> have different values (say 0 for OBS but 1 in FCST) after we convert
> that into Binary???
> Also U have not explained me about the calculation of F0 (Random
> FCST). How to calculate that or does GRID_STAT will calculate for
> me????. Pls tell me these 3 things/questions!!!!!!!!!ThanksGeeta
>
> From: geeta124 at hotmail.com
> To: met_help at ucar.edu
> Subject: RE: [rt.rap.ucar.edu #70453] combining nc files together
> Date: Fri, 20 Feb 2015 15:45:43 +0530
>
>
>
>
> Hi John. I was trying to mask my entire domain except 9x9 points in
> the CENTRE using the following entry in the GridStatConfig file.  MY
> purpose was to retain only 9x9 points both in FCST and OBSERVATION
so
> that I can calculate the FBS and FSS for these mannually. I
> used--------------
>
////////////////////////////////////////////////////////////////////////////////
> //// Verification masking regions//mask = {   grid = [ "FULL" ];
> poly = ["mydom.poly"];};
> I have put the file mydom.ploy in the directory.
> .................................... and my working dir. So grid
stat
> run fine.
> ditya at agniilap:~/geeta/MET5.0/met-5.0/data/poly$
> pwd/home/aditya/geeta/MET5.0/met-
> 5.0/data/polyaditya at agniilap:~/geeta/MET5.0/met-5.0/data/poly$
> lsAPL.poly    EAST.poly  HMT_masks    Makefile.in       NAK.poly
> NPL.poly  SAK.poly  SPO.polyATC.poly    ECA.poly   HWI.poly
> MDW.poly          NAO.poly             NPO.poly  SAO.poly
> SWC.polyCAM.poly    GLF.poly   LMV.poly     MEX.poly
> ncep_vx_regions.pdf  NSA.poly  SEC.poly  SWD.polyCAR.poly
GMC.poly
> Makefile     MLB_Stadiums.txt  NEC.poly             NWC.poly
SMT.poly
> WCA.polyCONUS.poly  GRB.poly   Makefile.am  mydom.poly
NMT.poly
> PRI.poly  SPL.poly  WEST.polyaditya at agniilap:~/geeta/MET5.0/met-
> 5.0/data/poly$ it Looks like......................APL9.0
> 74.018.25     74.018.25     78.09.0       78.018.25     78.014.25
> 78.2514.25     78.7518.25     78.7513.25     78.2509.0
78.2509.0
> 78.7513.25     78.7518.25     79.009.00     79.018.25     83.2509.00
> 83.25~
> ~  Grid_stat was run perfectly but when I look at the
> the O/P. vi  ./out-
> 19jun2006_w7/grid_stat_270000L_20060620_030000V_nbrcnt.txt
> I get again 870 and 554 TOTAL MPRS. What is meant by these
numbers???.
> I am sending you the O/P. Pls tell me what's happening????
>
> I am sending you 3 files. CONFIG file, mydom.poly and O/P file.
> According to me, there should be 9 MPRS???.
> Also, Some more background information. My Domain starts from 9/74E
> and 37x37 points in the X and Y directions, Final grid point would
be
> 18.25/83.25.  @ rate of 25kmx25km. (TRMM data). So I have masked the
> entire domain (by using poly file) except these 4 points, extremes
of
> those are given below.
> 13.5/78.25 to 14.0/78.75 . (lat will vary like 13.5,13.75,14 and lon
> will vary 78.25,78.5,78.75).
> Pls tell me about the MPRS that got generated. ?????ie. 870 and
> 554???. Geeta
> > Subject: Re: [rt.rap.ucar.edu #70453] combining nc files together
> > From: met_help at ucar.edu
> > To: geeta124 at hotmail.com
> > Date: Thu, 19 Feb 2015 10:59:15 -0700
> >
> > Geeta,
> >
> > I think that's a great idea for you to work through the details by
> hand to
> > understand how the score is being computed.  Figure 6 is just a
> little
> > cartoon done in powerpoint to demonstrate the computation logic.
It
> wasn't
> > computed using any real data.
> >
> > John
> >
> > On Thu, Feb 19, 2015 at 8:26 AM, Geeta Geeta via RT
> <met_help at ucar.edu>
> > wrote:
> >
> > >
> > > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453 >
> > >
> > > Hi John. I want to know, Can I make the Figure 6 that is there
in
> Your
> > > paper. I mean the Forecast Grids or the OBSERVATION grids where
> the
> > > thresholds increases a specified value.
> > > I wish to calculate the FSS manuually so that I absorb the idea.
> > >
> > >
> > > Geeta
> > >
> > > > Subject: Re: [rt.rap.ucar.edu #70453] combining nc files
> together
> > > > From: met_help at ucar.edu
> > > > To: geeta124 at hotmail.com
> > > > Date: Thu, 19 Feb 2015 07:38:56 -0700
> > > >
> > > > Geeta,
> > > >
> > > > No, it does not.  It is in our list of tasks for future
> development, but
> > > > isn't in there yet.  You can only get neighborhood output from
> grid-stat,
> > > > not point-stat.
> > > >
> > > > Thanks
> > > > John
> > > >
> > > > On Thursday, February 19, 2015, Geeta Geeta via RT
> <met_help at ucar.edu>
> > > > wrote:
> > > >
> > > > >
> > > > > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453
> >
> > > > >
> > > > > Hi Tressa and John.
> > > > > I want to know if MET5.0 has neighborhood methods defined
for
> point
> > > > > observations???.
> > > > > If Yes, Pls guide me with this.
> > > > > Geeta
> > > > >
> > > > >
> > > > > > Subject: [rt.rap.ucar.edu #70453] combining nc files
> together
> > > > > > From: met_help at ucar.edu <javascript:;>
> > > > > > To: geeta124 at hotmail.com <javascript:;>
> > > > > > Date: Tue, 17 Feb 2015 13:47:07 -0700
> > > > > >
> > > > > > Hi Geeta,
> > > > > >
> > > > > > The paper we sent was not A reference, it was THE
reference,
> the
> > > > > original published work on the FSS. Of course, algebra
allows
> > > equations to
> > > > > be expressed in many equivalent formats. Feel free to use
> whichever
> > > form
> > > > > you like.
> > > > > >
> > > > > > The Spatial Vx package has many verification methods, but
it
> is
> > > > > relatively new and untested. I'm sure you can reference that
> package's
> > > > > documentation for full details of the available methods.
> > > > > >
> > > > > > Happy verifying,
> > > > > >
> > > > > > Tressa
> > > > > >
> > > > > > On Mon Feb 16 04:32:17 2015, geeta124 at hotmail.com
> <javascript:;>
> > > wrote:
> > > > > > > Hi John.
> > > > > > > In Your article, FSS is defined as the
> > > > > > > FSS (n) = 1 - (MSE(n)/MSE(n) ref).
> > > > > > >
> > > > > > > In another paper's I found it to be little different. It
> was
> > > related
> > > > > > >    to the FBS Fractional Brier Score.
> > > > > > >
> > > > > > > Can U pls explain be the differences???.
> > > > > > > Also I came across SpatialVx package.
> > > > > > > Does that also provide all the verification
procedures???
> > > > > > > Geeta
> > > > > > >
> > > > > > >
> > > > > > > From: geeta124 at hotmail.com <javascript:;>
> > > > > > > To: met_help at ucar.edu <javascript:;>
> > > > > > > Subject: RE: [rt.rap.ucar.edu #70453] combining nc files
> together
> > > > > > > Date: Thu, 12 Feb 2015 11:14:17 +0530
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > hi John.
> > > > > > > I had read ur article that U have sent reg the FSS and
the
> MODE
> > > tools.
> > > > > > >    I could not understand the meaning of FORECAST SKILL
> associated
> > > > > > >    with Uniform FOrECAST. This is what is mentioed in
the
> FSS
> > > section
> > > > > > >    of Ur article.
> > > > > > > I didnt understand the concept/idea. if U could just
> explain a
> > > little
> > > > > > >    more I can build/read some articles that you would
> suggest.
> > > > > > > Thanks for ur help.
> > > > > > > Geeta
> > > > > > >
> > > > > > > > Subject: Re: [rt.rap.ucar.edu #70453] combining nc
files
> > > together
> > > > > > > > From: met_help at ucar.edu <javascript:;>
> > > > > > > > To: geeta124 at hotmail.com <javascript:;>
> > > > > > > > Date: Wed, 11 Feb 2015 10:17:33 -0700
> > > > > > > >
> > > > > > > > Geeta,
> > > > > > > >
> > > > > > > > I think your reference to an article must be from a
> different
> > > email
> > > > > > >    chain.
> > > > > > > >
> > > > > > > > I see that you're asking about "FORECAST skill
> associated with
> > > the
> > > > > > >    Uniform
> > > > > > > > forecast".  Are you looking for more references
related
> to
> > > > > > >    neighborhood
> > > > > > > > verification statistics, like Fractions Skill Score?
> > > > > > > >
> > > > > > > > Thanks,
> > > > > > > > John
> > > > > > > >
> > > > > > > > On Mon, Feb 9, 2015 at 1:53 AM, Geeta Geeta via RT
> > > > > > >    <met_help at ucar.edu <javascript:;>>
> > > > > > > > wrote:
> > > > > > > >
> > > > > > > > >
> > > > > > > > > <URL:
> https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453
> > > >
> > > > > > > > >
> > > > > > > > > Hi John.
> > > > > > > > > Thanks for the article. It is very informative.
> > > > > > > > > I dont know if i should be asking at this forum, the
> meaning of
> > > > > > >    the
> > > > > > > > > "FORECAST skill associated with the Uniform
forecast"
> as you
> > > have
> > > > > > >    mentioned
> > > > > > > > > in your paper.
> > > > > > > > > If U give me some references, it would be great.
> > > > > > > > > Geeta
> > > > > > > > >
> > > > > > > > > > Subject: Re: [rt.rap.ucar.edu #70453] combining nc
> files
> > > > > > >    together
> > > > > > > > > > From: met_help at ucar.edu <javascript:;>
> > > > > > > > > > To: geeta124 at hotmail.com <javascript:;>
> > > > > > > > > > Date: Thu, 5 Feb 2015 10:33:59 -0700
> > > > > > > > > >
> > > > > > > > > > Geeta,
> > > > > > > > > >
> > > > > > > > > > You're correct, you can only use the "sum" command
> of
> > > > > > >    pcp_combine for
> > > > > > > > > GRIB1
> > > > > > > > > > or GRIB2 files...
> > > > > > > > > >
> > > > > > > > > > But, you can use the "add" command on any gridded
> data file
> > > > > > >    format that
> > > > > > > > > MET
> > > > > > > > > > supports.  Adding together 8 NetCDF files with
> pcp_combine
> > > would
> > > > > > >    look
> > > > > > > > > > something like this:
> > > > > > > > > >
> > > > > > > > > > pcp_combine -add \
> > > > > > > > > > file1.nc 'name="APCP_03"; level="(*,*)";' \
> > > > > > > > > > file2.nc 'name="APCP_03"; level="(*,*)";' \
> > > > > > > > > > ...
> > > > > > > > > > file8.nc 'name="APCP_03"; level="(*,*)";' \
> > > > > > > > > > APCP_24.nc
> > > > > > > > > >
> > > > > > > > > > It makes for a longer command line, but it is
> possible to do
> > > > > > >    with
> > > > > > > > > > pcp_combine.
> > > > > > > > > >
> > > > > > > > > > John
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > On Thu, Feb 5, 2015 at 2:02 AM, Geeta Geeta via RT
> > > > > > >    <met_help at ucar.edu <javascript:;>>
> > > > > > > > > > wrote:
> > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > <URL:
> > > https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453
> > > > > > >    >
> > > > > > > > > > >
> > > > > > > > > > > Hi John.
> > > > > > > > > > > Thanks for wonderful ideas.
> > > > > > > > > > > The first one is working. but I have yet to run
> grid_stat
> > > to
> > > > > > >    see if
> > > > > > > > > > > everything is working finally. I ll try the
> ncatted.
> > > > > > > > > > >
> > > > > > > > > > > To sum up all the nc files (for the times that I
> want), I
> > > did
> > > > > > >    try the
> > > > > > > > > > > pcp_combine. But I guess It only works for the
> GRIB files.
> > > > > > > > > > > I have sent to u the error before. I tried to
use
> MET3.0
> > > for
> > > > > > >    that
> > > > > > > > > which is
> > > > > > > > > > > installed in my HPC.
> > > > > > > > > > > I have 5.0 on my personal system. Will try that
> exercise in
> > > > > > >    this
> > > > > > > > > system.
> > > > > > > > > > > Thanks again for your help.
> > > > > > > > > > > Geeta
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > > Subject: Re: [rt.rap.ucar.edu #70453]
combining
> nc files
> > > > > > >    together
> > > > > > > > > > > > From: met_help at ucar.edu <javascript:;>
> > > > > > > > > > > > To: geeta124 at hotmail.com <javascript:;>
> > > > > > > > > > > > Date: Wed, 4 Feb 2015 11:21:19 -0700
> > > > > > > > > > > >
> > > > > > > > > > > > Geeta,
> > > > > > > > > > > >
> > > > > > > > > > > > The trmmbin2nc.R script is set up to only
handle
> the TRMM
> > > > > > >    binary data
> > > > > > > > > > > > exactly from that website.  The timing
> information for
> > > that
> > > > > > >    binary
> > > > > > > > > data
> > > > > > > > > > > is
> > > > > > > > > > > > only contained in the file name, and you've
> renamed those
> > > > > > >    files.  So
> > > > > > > > > the
> > > > > > > > > > > > script doesn't know how to parse them.
> > > > > > > > > > > >
> > > > > > > > > > > > Here's 2 options:
> > > > > > > > > > > > (1) Rename that file using the "daily" file
> naming
> > > > > > >    conventions:
> > > > > > > > > > > >    cp Obs22apr2011.bin
> 3B42_daily.2011.04.22.7.bin
> > > > > > > > > > > >    Rscript 3B42_daily.2011.04.22.7.bin
> > > > > > >    3B42_daily.2011.04.22.7.nc
> > > > > > > > > > > >
> > > > > > > > > > > > That will produce output but it'll assume the
> > > precipitation
> > > > > > >    is
> > > > > > > > > > > accumulated
> > > > > > > > > > > > for 24-hours from 20110422 00Z to 20110423
00Z.
> If the
> > > > > > >    times should
> > > > > > > > > be
> > > > > > > > > > > > something different you could... edit the
> Rscript to use
> > > the
> > > > > > >    times
> > > > > > > > > you
> > > > > > > > > > > > want... or use the "ncatted" tool to modify
the
> timing
> > > > > > >    information
> > > > > > > > > listed
> > > > > > > > > > > > in the output NetCDF file.
> > > > > > > > > > > >
> > > > > > > > > > > > (2) Or, as we've discussed in the past, you
> could run
> > > each
> > > > > > >    of the
> > > > > > > > > 3-hour
> > > > > > > > > > > > files through the trmmbin2nc.R script and
write
> out
> > > NetCDF
> > > > > > >    files.
> > > > > > > > > Then
> > > > > > > > > > > run
> > > > > > > > > > > > those 3-hourly NetCDF files through
pcp_combine
> to add
> > > them
> > > > > > >    up.
> > > > > > > > > > > >
> > > > > > > > > > > > Thanks,
> > > > > > > > > > > > John
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > On Sun, Feb 1, 2015 at 11:27 PM, Geeta Geeta
via
> RT <
> > > > > > > > > met_help at ucar.edu <javascript:;>>
> > > > > > > > > > > > wrote:
> > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > <URL:
> > > > > > >
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453
> >
> > > > > > > > > > > > >
> > > > > > > > > > > > > Hi John.
> > > > > > > > > > > > > This is an old Ticket. Kindly sort this
issue
> too.
> > > > > > > > > > > > > I was able to sum up all the 3 hourly TRMM
> files and
> > > then
> > > > > > >    convert
> > > > > > > > > the
> > > > > > > > > > > > > final file into One called Obs22apr2011.bin.
> > > > > > > > > > > > > I had used Grads for summing up all the 8
> files. and
> > > now I
> > > > > > >    am using
> > > > > > > > > > > the R
> > > > > > > > > > > > > script for
> > > > > > > > > > > > > converting into NC.
> > > > > > > > > > > > > But I got the error.
> > > > > > > > > > > > > aditya at agniilap
> > > :~/geeta/installs/met/RUN_MET-22apr2011$
> > > > > > >    Rscript
> > > > > > > > > > > > > ../trmm_to_nc/trmmbin2nc_mod.R
> Obs22apr2011.bin
> > > > > > >    Obs22apr2011.nc
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > ERROR: Can't figure out the accumulation
> interval!I am
> > > > > > >    sending you
> > > > > > > > > the
> > > > > > > > > > > > > data that I converted using Grads.
> > > > > > > > > > > > > Geeta
> > > > > > > > > > > > >
> > > > > > > > > > > > > > Subject: Re: [rt.rap.ucar.edu #70453]
> combining nc
> > > files
> > > > > > > > > together
> > > > > > > > > > > > > > From: met_help at ucar.edu <javascript:;>
> > > > > > > > > > > > > > To: geeta124 at hotmail.com <javascript:;>
> > > > > > > > > > > > > > Date: Fri, 30 Jan 2015 11:04:18 -0700
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Geeta,
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > I don't have time to adapt that Rscript
for
> your use
> > > > > > >    with
> > > > > > > > > Grid-Stat.
> > > > > > > > > > > > > > However, we did do something very similar
> for a
> > > previous
> > > > > > > > > project.  I
> > > > > > > > > > > have
> > > > > > > > > > > > > > attached an Rscript named
"fss_quilt_plot.R"
> you
> > > could
> > > > > > >    easily
> > > > > > > > > adapt
> > > > > > > > > > > to
> > > > > > > > > > > > > > create a quilt plot for your data.  I've
> also
> > > attached a
> > > > > > >    copy of
> > > > > > > > > the
> > > > > > > > > > > > > paper
> > > > > > > > > > > > > > for which this script was used.  Please
look
> at
> > > figure
> > > > > > >    7.
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Thanks,
> > > > > > > > > > > > > > John
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > On Fri, Jan 30, 2015 at 1:03 AM, Geeta
Geeta
> via RT <
> > > > > > > > > > > met_help at ucar.edu <javascript:;>>
> > > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > <URL:
> > > > > > >
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453
> > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > Hi John.
> > > > > > > > > > > > > > > I changed different widths in the
> configuration
> > > file.
> > > > > > > > > > > (Width=1,3,5,,7
> > > > > > > > > > > > > etc).
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > // Neighborhood methods
> > > > > > > > > > > > > > > //
> > > > > > > > > > > > > > > nbrhd = {
> > > > > > > > > > > > > > >    vld_thresh = 1.0;
> > > > > > > > > > > > > > >    width      = [ 7 ];
> > > > > > > > > > > > > > >    cov_thresh = [ >=0.5 ];
> > > > > > > > > > > > > > > }
> > > > > > > > > > > > > > > and got various outputs (for different
> widths)
> > > which
> > > > > > >    are in
> > > > > > > > > > > different
> > > > > > > > > > > > > > > directories.
> > > > > > > > > > > > > > > Now I saw the R script on the website
> which is
> > > > > > >    probably
> > > > > > > > > > > exclusively for
> > > > > > > > > > > > > > > the MODE TOOL only.
> > > > > > > > > > > > > > > Now my question is how to make the quilt
> plot for
> > > the
> > > > > > >    GRid stat
> > > > > > > > > > > > > tool???.
> > > > > > > > > > > > > > > Sorry I m not familiar with R  now.
> > > > > > > > > > > > > > > Pls help.
> > > > > > > > > > > > > > > Geeta.
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > From: geeta124 at hotmail.com
<javascript:;>
> > > > > > > > > > > > > > > To: met_help at ucar.edu <javascript:;>
> > > > > > > > > > > > > > > Subject: RE: [rt.rap.ucar.edu #70453]
> combining nc
> > > > > > >    files
> > > > > > > > > together
> > > > > > > > > > > > > > > Date: Thu, 29 Jan 2015 17:05:25 +0530
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > Hi John.
> > > > > > > > > > > > > > > So I was able to sum up all the 3 hourly
> TRMM files
> > > > > > >    and then
> > > > > > > > > > > convert
> > > > > > > > > > > > > the
> > > > > > > > > > > > > > > final file into One called
> Obs22apr2011.bin.
> > > > > > > > > > > > > > > I have done that using Grads and now I
am
> using
> > > the R
> > > > > > >    script
> > > > > > > > > for
> > > > > > > > > > > > > > > converting into NC.
> > > > > > > > > > > > > > > But I got the error.
> > > > > > > > > > > > > > >
> aditya at agniilap:~/geeta/installs/met/RUN_MET-
> > > > > > >    22apr2011$
> > > > > > > > > Rscript
> > > > > > > > > > > > > > > ../trmm_to_nc/trmmbin2nc_mod.R
> Obs22apr2011.bin
> > > > > > >    Obs22apr2011.nc
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > ERROR: Can't figure out the accumulation
> interval!
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > I am sending you the data files and the
R
> script (I
> > > > > > >    changed the
> > > > > > > > > > > > > domain).
> > > > > > > > > > > > > > > The data is plotted fine. Also pls tell
me
> about
> > > the
> > > > > > >    ncview
> > > > > > > > > > > questions
> > > > > > > > > > > > > that
> > > > > > > > > > > > > > > I was asking. reg the plotting of MPR's
> > > > > > > > > > > > > > > Kindly suggest.
> > > > > > > > > > > > > > > Geeta
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > Subject: Re: [rt.rap.ucar.edu #70453]
> combining
> > > nc
> > > > > > >    files
> > > > > > > > > > > together
> > > > > > > > > > > > > > > > From: met_help at ucar.edu <javascript:;>
> > > > > > > > > > > > > > > > To: geeta124 at hotmail.com
<javascript:;>
> > > > > > > > > > > > > > > > Date: Mon, 26 Jan 2015 09:58:32 -0700
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > Geeta,
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > On that webpage (
> > > > > > > > > > > > > > > >
> > > > > > > > >
> > > http://www.dtcenter.org/met/users/downloads/analysis_scripts.php
> > > > > > > > > > > ),
> > > > > > > > > > > > > > > please
> > > > > > > > > > > > > > > > look specifically at the script named
> > > > > > >    "mode_quilt_plot.R".
> > > > > > > > > > > Here's
> > > > > > > > > > > > > the
> > > > > > > > > > > > > > > > direct link to that script:
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > >
> > > > >
>
http://www.dtcenter.org/met/users/downloads/Rscripts/mode_quilt_plot.R
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > And here's a direct link to the sample
> output
> > > that
> > > > > > >    script
> > > > > > > > > > > creates:
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > >
> > > > > > >
> > > > >
> > >
>
http://www.dtcenter.org/met/users/downloads/Rscripts/SAMPLE_mode_quilts.pdf
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > This is an example of using R to make
a
> quilt
> > > plot
> > > > > > >    for the
> > > > > > > > > > > output of
> > > > > > > > > > > > > the
> > > > > > > > > > > > > > > > MODE tool.  You might also use a quilt
> plot to
> > > > > > >    display
> > > > > > > > > fractions
> > > > > > > > > > > > > skill
> > > > > > > > > > > > > > > > score from the Grid-Stat tool, if
you've
> run FSS
> > > for
> > > > > > >    multiple
> > > > > > > > > > > > > thresholds
> > > > > > > > > > > > > > > > and neighborhood sizes.
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > John
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > On Mon, Jan 26, 2015 at 7:28 AM, Geeta
> Geeta via
> > > RT
> > > > > > >    <
> > > > > > > > > > > > > met_help at ucar.edu <javascript:;>>
> > > > > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > <URL:
> > > > > > > > >
> https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453
> > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > Hi John.
> > > > > > > > > > > > > > > > > the link
> > > > > > > > > > > > > > >
> > > > > > > > >
> > > http://www.dtcenter.org/met/users/downloads/analysis_scripts.php
> > > > > > > > > > > > > > > > > has the plots for the cnt
statistics.
> > > > > > > > > > > > > > > > > I am not familiar with R. I am going
> thru the
> > > > > > >    plot_cnt.R
> > > > > > > > > > > script.
> > > > > > > > > > > > > > > > > but I want to know what will be the
> data format
> > > > > > >    for the
> > > > > > > > > Quilt
> > > > > > > > > > > plot.
> > > > > > > > > > > > > > > > > Do I have to write my own script???.
> > > > > > > > > > > > > > > > > Kindly let me know about the data
> format and
> > > how I
> > > > > > >    have to
> > > > > > > > > > > modify
> > > > > > > > > > > > > the
> > > > > > > > > > > > > > > > > above script in order to make the
> quilt plot.
> > > > > > > > > > > > > > > > > Regards
> > > > > > > > > > > > > > > > > Geeta
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > Subject: Re: [rt.rap.ucar.edu
> #70453]
> > > combining
> > > > > > >    nc files
> > > > > > > > > > > > > together
> > > > > > > > > > > > > > > > > > From: met_help at ucar.edu
> <javascript:;>
> > > > > > > > > > > > > > > > > > To: geeta124 at hotmail.com
> <javascript:;>
> > > > > > > > > > > > > > > > > > Date: Fri, 23 Jan 2015 11:09:23
> -0700
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > Geeta,
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > Regarding 3-hourly RF
accumulations,
> if MET
> > > is
> > > > > > >    able to
> > > > > > > > > read
> > > > > > > > > > > those
> > > > > > > > > > > > > > > NetCDF
> > > > > > > > > > > > > > > > > > files, you can run them through
PCP-
> Combine
> > > to
> > > > > > >    "add"
> > > > > > > > > them all
> > > > > > > > > > > > > > > together.
> > > > > > > > > > > > > > > > > > Just use the example PCP_Combine
> command I
> > > > > > >    already sent
> > > > > > > > > you
> > > > > > > > > > > but
> > > > > > > > > > > > > > > modify
> > > > > > > > > > > > > > > > > the
> > > > > > > > > > > > > > > > > > "name" entry to list the name of
the
> NetCDF
> > > > > > >    variable you
> > > > > > > > > > > want to
> > > > > > > > > > > > > > > use.  If
> > > > > > > > > > > > > > > > > > MET is not able to read them, then
> it's up to
> > > > > > >    you to
> > > > > > > > > figure
> > > > > > > > > > > out
> > > > > > > > > > > > > how
> > > > > > > > > > > > > > > to
> > > > > > > > > > > > > > > > > > accumulate them.
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > If you're familiar with R, you
could
> use the
> > > > > > >    "ncdf"
> > > > > > > > > library
> > > > > > > > > > > in R
> > > > > > > > > > > > > to
> > > > > > > > > > > > > > > read
> > > > > > > > > > > > > > > > > > data from one or more NetCDF
files,
> add them
> > > up,
> > > > > > >    and
> > > > > > > > > write it
> > > > > > > > > > > > > out to
> > > > > > > > > > > > > > > a
> > > > > > > > > > > > > > > > > new
> > > > > > > > > > > > > > > > > > file.  Alternatively, "nco"
(NetCDF
> > > Operators)
> > > > > > >    provide
> > > > > > > > > some
> > > > > > > > > > > > > > > capability of
> > > > > > > > > > > > > > > > > > doing simple operations on NetCDF
> files.  You
> > > > > > >    might be
> > > > > > > > > able
> > > > > > > > > > > to
> > > > > > > > > > > > > use
> > > > > > > > > > > > > > > them.
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > Regarding quilt plots, I've only
> used R to
> > > make
> > > > > > >    them in
> > > > > > > > > the
> > > > > > > > > > > past.
> > > > > > > > > > > > > > > > > > Specifically, the "quilt.plot"
> function in
> > > the R
> > > > > > >    package
> > > > > > > > > > > named
> > > > > > > > > > > > > > > "fields".
> > > > > > > > > > > > > > > > > > Please take a look at this
website:
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > >
> > > http://www.dtcenter.org/met/users/downloads/analysis_scripts.php
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > The Rscript named
> "mode_quilt_plot.R"
> > > provides
> > > > > > >    an
> > > > > > > > > example of
> > > > > > > > > > > > > using R
> > > > > > > > > > > > > > > to
> > > > > > > > > > > > > > > > > > make quilt plots.  Example output
> from that
> > > > > > >    script is
> > > > > > > > > also
> > > > > > > > > > > > > included
> > > > > > > > > > > > > > > on
> > > > > > > > > > > > > > > > > that
> > > > > > > > > > > > > > > > > > page.
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > Thanks,
> > > > > > > > > > > > > > > > > > John
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > On Fri, Jan 23, 2015 at 4:06 AM,
> Geeta Geeta
> > > via
> > > > > > >    RT <
> > > > > > > > > > > > > > > met_help at ucar.edu <javascript:;>>
> > > > > > > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > <URL:
> > > > > > > > > > >
> https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > Hi John. Your help is needed at
> every step.
> > > > > > >    Now I want
> > > > > > > > > to
> > > > > > > > > > > know
> > > > > > > > > > > > > > > which
> > > > > > > > > > > > > > > > > > > software can be used for making
> the QUILT
> > > plot
> > > > > > > > > (intensity
> > > > > > > > > > > and
> > > > > > > > > > > > > > > spatial
> > > > > > > > > > > > > > > > > > > distribution) plot. Can It be
done
> in using
> > > > > > >    MET5.0. How
> > > > > > > > > > > Can I
> > > > > > > > > > > > > plot
> > > > > > > > > > > > > > > the
> > > > > > > > > > > > > > > > > > > point data that I used in
> MET5.0???KIndly
> > > > > > >    guide me.
> > > > > > > > > Also
> > > > > > > > > > > pls
> > > > > > > > > > > > > tell
> > > > > > > > > > > > > > > me
> > > > > > > > > > > > > > > > > if u
> > > > > > > > > > > > > > > > > > > can figure out the issue of
3hrly
> RF
> > > > > > >    accumulations if
> > > > > > > > > the
> > > > > > > > > > > files
> > > > > > > > > > > > > > > are in
> > > > > > > > > > > > > > > > > the
> > > > > > > > > > > > > > > > > > > NETCDF format. Geeta
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > From: geeta124 at hotmail.com
> <javascript:;>
> > > > > > > > > > > > > > > > > > > To: met_help at ucar.edu
> <javascript:;>
> > > > > > > > > > > > > > > > > > > Subject: RE: [rt.rap.ucar.edu
> #70453]
> > > > > > >    combining nc
> > > > > > > > > files
> > > > > > > > > > > > > together
> > > > > > > > > > > > > > > > > > > Date: Thu, 22 Jan 2015 16:30:34
> +0530
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > thanks John.  the pcp combine
tool
> uses
> > > only
> > > > > > >    GRIB1
> > > > > > > > > files.
> > > > > > > > > > > these
> > > > > > > > > > > > > > > were
> > > > > > > > > > > > > > > > > > > netcdf files (attaching one).I
had
> > > downloaded
> > > > > > >    the NC
> > > > > > > > > files
> > > > > > > > > > > from
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > http://mirador.gsfc.nasa.gov/cgi-
> > > > > > >    bin/mirador/granlist.pl?page=1&location=(-90,-
> > > > > > >
> > > > >
> > >
>
180),(90,180)&dataSet=TRMM_3B42&version=007&allversion=007&startTime=2011-
> > > > > > >    04-22T00:00:01Z&endTime=2011-04-
> > > > > > >    22T23:59:59Z&keyword=TRMM_3B42&longname=TRMM%203-
> > > > > > >
> > > > >
> > >
>
Hourly%200.25%20deg.%20TRMM%20and%20Others%20Rainfall%20Estimate%20Data&CGISESSID=02499c2107ddfb60a3e46d6b99df3d79&prodpg=
> > > > >
http://mirador.gsfc.nasa.gov/collections/TRMM_3B42__007.shtmlI
> > > > > > > > > > > > > > > > > > > got following error. bash-3.2$
> > > > > > >    ./run_pcptool.sh
> > > > > > > > > Running PCP
> > > > > > > > > > > > > > > > > toolPerforming
> > > > > > > > > > > > > > > > > > > addition command for 2
> files.Reading input
> > > > > > >    file:
> > > > > > > > > > > > > > > 3B42.20110422.12.7.nc
> > > > > > > > > > > > > > > > > > > GribFile::skip_header() -> can't
> find
> > > "GRIB"
> > > > > > >    magic
> > > > > > > > > cookie
> > > > > > > > > > > > >  ERROR:
> > > > > > > > > > > > > > > > > > > get_field() -> can't open grib
> file:
> > > > > > > > > 3B42.20110422.12.7.nc
> > > > > > > > > > > > > > > > > > > Following is my script--------
> !/bin/sh
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >              echo " Running PCP
> > > > > > > > > > > > > > > > > > >
> > > tool"~/wrf3/utils/met/METv3.0/bin/pcp_combine
> > > > > > >    -add
> > > > > > > > > > > > > > > > > 3B42.20110422.12.7.nc
> > > > > > > > > > > > > > > > > > > 03 3B42.20110422.15.7.nc 03
> myoutput.nc
> > > > > > > > > > > > > > > > > > > Kindly suggest.
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > the second thing I was thinking
to
> download
> > > > > > >    the TRMM
> > > > > > > > > data
> > > > > > > > > > > from
> > > > > > > > > > > > > > > thelink
> > > > > > > > > > > > > > > > > at
> > > > > > > > > > > > > > > > > > > DTC website and then converying
> the 3
> > > hourly
> > > > > > >    bins to
> > > > > > > > > NC.
> > > > > > > > > > > > > > > > > > > 2.2 MBftp://
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > >
> > > > > > >
> > > > >
> > >
>
disc2.nascom.nasa.gov/data/TRMM/Gridded/3B42_V7/201104/3B42.110422.15z.7.precipitation.bin
> > > > > > > > > > > > > > > > > > > But my problem will be to
> ACCUMULATE them.
> > > I
> > > > > > >    need to
> > > > > > > > > > > verify the
> > > > > > > > > > > > > > > model
> > > > > > > > > > > > > > > > > data
> > > > > > > > > > > > > > > > > > > starting 06 UTC of day1 to 03UTC
> of DAY2. I
> > > > > > >    mean how
> > > > > > > > > do I
> > > > > > > > > > > > > combine
> > > > > > > > > > > > > > > all
> > > > > > > > > > > > > > > > > the
> > > > > > > > > > > > > > > > > > > NC  files together. Kindly
suggest
> > > > > > > > > > > > > > > > > > > > Subject: Re: [rt.rap.ucar.edu
> #70453]
> > > > > > >    combining nc
> > > > > > > > > files
> > > > > > > > > > > > > > > together
> > > > > > > > > > > > > > > > > > > > From: met_help at ucar.edu
> <javascript:;>
> > > > > > > > > > > > > > > > > > > > To: geeta124 at hotmail.com
> <javascript:;>
> > > > > > > > > > > > > > > > > > > > Date: Wed, 21 Jan 2015
10:45:12
> -0700
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > Geeta,
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > I'm assuming the variable in
the
> NetCDF
> > > > > > >    files is
> > > > > > > > > named
> > > > > > > > > > > > > > > "APCP_03".  If
> > > > > > > > > > > > > > > > > > > not,
> > > > > > > > > > > > > > > > > > > > just switch in the actual
name.
> You can
> > > run
> > > > > > >    the
> > > > > > > > > > > following
> > > > > > > > > > > > > > > > > pcp_combine
> > > > > > > > > > > > > > > > > > > -add
> > > > > > > > > > > > > > > > > > > > command:
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > pcp_combine -add \
> > > > > > > > > > > > > > > > > > > >    3B42.20110422.09.7.nc
> > > 'name="APCP_03";
> > > > > > > > > > > level="(*,*)";' \
> > > > > > > > > > > > > > > > > > > >    3B42.20110422.12.7.nc
> > > 'name="APCP_03";
> > > > > > > > > > > level="(*,*)";' \
> > > > > > > > > > > > > > > > > > > >    3B42.20110422.15.7.nc
> > > 'name="APCP_03";
> > > > > > > > > > > level="(*,*)";' \
> > > > > > > > > > > > > > > > > > > >    3B42.20110422.18.7.nc
> > > 'name="APCP_03";
> > > > > > > > > > > level="(*,*)";' \
> > > > > > > > > > > > > > > > > > > >    3B42.20110422.21.7.nc
> > > 'name="APCP_03";
> > > > > > > > > > > level="(*,*)";' \
> > > > > > > > > > > > > > > > > > > >    3B42.20110423.00.7.nc
> > > 'name="APCP_03";
> > > > > > > > > > > level="(*,*)";' \
> > > > > > > > > > > > > > > > > > > >    3B42.20110423.03.7.nc
> > > 'name="APCP_03";
> > > > > > > > > > > level="(*,*)";' \
> > > > > > > > > > > > > > > > > > > >    3B42.20110423.06.7.nc
> > > 'name="APCP_03";
> > > > > > > > > > > level="(*,*)";' \
> > > > > > > > > > > > > > > > > > > >
3B42.20110423.06.7_APCP_24.nc
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > The last file listed is just
the
> output
> > > file
> > > > > > >    name I
> > > > > > > > > > > chose.
> > > > > > > > > > > > > But
> > > > > > > > > > > > > > > you
> > > > > > > > > > > > > > > > > can
> > > > > > > > > > > > > > > > > > > > name it whatever you'd like.
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > John
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > On Wed, Jan 21, 2015 at 4:02
AM,
> Geeta
> > > Geeta
> > > > > > >    via RT <
> > > > > > > > > > > > > > > > > met_help at ucar.edu <javascript:;>>
> > > > > > > > > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > Wed Jan 21 04:02:41 2015:
> Request 70453
> > > > > > >    was acted
> > > > > > > > > upon.
> > > > > > > > > > > > > > > > > > > > > Transaction: Ticket created
by
> > > > > > > > > geeta124 at hotmail.com <javascript:;>
> > > > > > > > > > > > > > > > > > > > >        Queue: met_help
> > > > > > > > > > > > > > > > > > > > >      Subject: combining nc
> files
> > > together
> > > > > > > > > > > > > > > > > > > > >        Owner: Nobody
> > > > > > > > > > > > > > > > > > > > >   Requestors:
> geeta124 at hotmail.com
> > > > > <javascript:;>
> > > > > > > > > > > > > > > > > > > > >       Status: new
> > > > > > > > > > > > > > > > > > > > >  Ticket <URL:
> > > > > > > > > > > > > > > > >
> > > > > > >
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > Hi John.
> > > > > > > > > > > > > > > > > > > > > Sorry to bother you again n
> again. But
> > > I
> > > > > > >    have no
> > > > > > > > > > > choice. I
> > > > > > > > > > > > > > > want to
> > > > > > > > > > > > > > > > > know
> > > > > > > > > > > > > > > > > > > > > the followingI have 8 nc
> files.
> > > bash-3.2$
> > > > > > >    ls
> > > > > > > > > -ltotal
> > > > > > > > > > > > > > > > > 216336-rw-r--r--
> > > > > > > > > > > > > > > > > > >   1
> > > > > > > > > > > > > > > > > > > > > model    staff      13841488
> Jan 21
> > > 11:24
> > > > > > > > > > > > > > > > > > > 3B42.20110422.06.7.nc-rw-r--r--
> > > > > > > > > > > > > > > > > > > > >   1 model    staff
> 13841488 Jan 21
> > > > > > >    11:27
> > > > > > > > > > > > > > > > > > > > > 3B42.20110422.09.7.nc-rw-r--
> r--    1
> > > model
> > > > > > >    staff
> > > > > > > > > > > > > > > 13841492
> > > > > > > > > > > > > > > > > Jan
> > > > > > > > > > > > > > > > > > > 21
> > > > > > > > > > > > > > > > > > > > > 14:01 3B42.20110422.12.7.nc-
> rw-r--r--
> > >   1
> > > > > > >    model
> > > > > > > > > > > staff
> > > > > > > > > > > > > > > > > > > 13841492 Jan
> > > > > > > > > > > > > > > > > > > > > 21 13:16
> > > 3B42.20110422.15.7.nc-rw-r--r--
> > > > > > >    1 model
> > > > > > > > > > > > > staff
> > > > > > > > > > > > > > > > > > > 13841492
> > > > > > > > > > > > > > > > > > > > > Jan 21 14:51
> > > 3B42.20110422.18.7.nc-rw-r--
> > > > > > >    r--    1
> > > > > > > > > model
> > > > > > > > > > > > > > > staff
> > > > > > > > > > > > > > > > > > > > > 13841492 Jan 21 13:21
> > > > > > > > > 3B42.20110422.21.7.nc-rw-r--r--
> > > > > > > > > > >   1
> > > > > > > > > > > > > > > model
> > > > > > > > > > > > > > > > > > > staff
> > > > > > > > > > > > > > > > > > > > >     13841488 Jan 21 13:22
> > > > > > > > > > > 3B42.20110423.00.7.nc-rw-r--r--
> > > > > > > > > > > > >   1
> > > > > > > > > > > > > > > > > model
> > > > > > > > > > > > > > > > > > > > > staff      13841488 Jan 21
> 13:50
> > > > > > > > > > > > > > > 3B42.20110423.03.7.ncbash-3.2$ pwd
> > > > > > > > > > > > > > > > > > > > > I need to make ONE 24 hour
RF
> > > accumulated
> > > > > > >    file
> > > > > > > > > starting
> > > > > > > > > > > > > 06UTC
> > > > > > > > > > > > > > > of
> > > > > > > > > > > > > > > > > > > > > 22.04.2011 - 03UTC of
> 23.04.2011. How
> > > do I
> > > > > > >    do
> > > > > > > > > that???
> > > > > > > > > > > > > > > > > > > > > Geeta
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > >
> > > > >
> > > >
> > >
> > >
> >
>
> ------------------------------------------------
> Subject: combining nc files together
> From: Geeta Geeta
> Time: Fri Feb 20 03:31:03 2015
>
> JohnI am also sending you the NC file. I can view this file but
Unable
> to interpret to be able to proceed further.May be If U can suggest
> some other tool for viewing, it would be nice.
> Geeta
>
> From: geeta124 at hotmail.com
> To: met_help at ucar.edu
> Subject: RE: [rt.rap.ucar.edu #70453] combining nc files together
> Date: Fri, 20 Feb 2015 15:54:14 +0530
>
>
>
>
> John another thing. for my data, 37x37=1309. Some points will have 0
> values too. Why am I getting 870???. What grid points have been left
> out???
> In my experiment case I should get 9x9=81 MPRS?.
> Correct??????????????MPRS in this context is the Number of grids in
> FCST and Observations. But the CO-LOCATED OBS and FCST grid point
may
> have different values (say 0 for OBS but 1 in FCST) after we convert
> that into Binary???
> Also U have not explained me about the calculation of F0 (Random
> FCST). How to calculate that or does GRID_STAT will calculate for
> me????. Pls tell me these 3 things/questions!!!!!!!!!ThanksGeeta
>
> From: geeta124 at hotmail.com
> To: met_help at ucar.edu
> Subject: RE: [rt.rap.ucar.edu #70453] combining nc files together
> Date: Fri, 20 Feb 2015 15:45:43 +0530
>
>
>
>
> Hi John. I was trying to mask my entire domain except 9x9 points in
> the CENTRE using the following entry in the GridStatConfig file.  MY
> purpose was to retain only 9x9 points both in FCST and OBSERVATION
so
> that I can calculate the FBS and FSS for these mannually. I
> used--------------
>
////////////////////////////////////////////////////////////////////////////////
> //// Verification masking regions//mask = {   grid = [ "FULL" ];
> poly = ["mydom.poly"];};
> I have put the file mydom.ploy in the directory.
> .................................... and my working dir. So grid
stat
> run fine.
> ditya at agniilap:~/geeta/MET5.0/met-5.0/data/poly$
> pwd/home/aditya/geeta/MET5.0/met-
> 5.0/data/polyaditya at agniilap:~/geeta/MET5.0/met-5.0/data/poly$
> lsAPL.poly    EAST.poly  HMT_masks    Makefile.in       NAK.poly
> NPL.poly  SAK.poly  SPO.polyATC.poly    ECA.poly   HWI.poly
> MDW.poly          NAO.poly             NPO.poly  SAO.poly
> SWC.polyCAM.poly    GLF.poly   LMV.poly     MEX.poly
> ncep_vx_regions.pdf  NSA.poly  SEC.poly  SWD.polyCAR.poly
GMC.poly
> Makefile     MLB_Stadiums.txt  NEC.poly             NWC.poly
SMT.poly
> WCA.polyCONUS.poly  GRB.poly   Makefile.am  mydom.poly
NMT.poly
> PRI.poly  SPL.poly  WEST.polyaditya at agniilap:~/geeta/MET5.0/met-
> 5.0/data/poly$ it Looks like......................APL9.0
> 74.018.25     74.018.25     78.09.0       78.018.25     78.014.25
> 78.2514.25     78.7518.25     78.7513.25     78.2509.0
78.2509.0
> 78.7513.25     78.7518.25     79.009.00     79.018.25     83.2509.00
> 83.25~
> ~  Grid_stat was run perfectly but when I look at the
> the O/P. vi  ./out-
> 19jun2006_w7/grid_stat_270000L_20060620_030000V_nbrcnt.txt
> I get again 870 and 554 TOTAL MPRS. What is meant by these
numbers???.
> I am sending you the O/P. Pls tell me what's happening????
>
> I am sending you 3 files. CONFIG file, mydom.poly and O/P file.
> According to me, there should be 9 MPRS???.
> Also, Some more background information. My Domain starts from 9/74E
> and 37x37 points in the X and Y directions, Final grid point would
be
> 18.25/83.25.  @ rate of 25kmx25km. (TRMM data). So I have masked the
> entire domain (by using poly file) except these 4 points, extremes
of
> those are given below.
> 13.5/78.25 to 14.0/78.75 . (lat will vary like 13.5,13.75,14 and lon
> will vary 78.25,78.5,78.75).
> Pls tell me about the MPRS that got generated. ?????ie. 870 and
> 554???. Geeta
> > Subject: Re: [rt.rap.ucar.edu #70453] combining nc files together
> > From: met_help at ucar.edu
> > To: geeta124 at hotmail.com
> > Date: Thu, 19 Feb 2015 10:59:15 -0700
> >
> > Geeta,
> >
> > I think that's a great idea for you to work through the details by
> hand to
> > understand how the score is being computed.  Figure 6 is just a
> little
> > cartoon done in powerpoint to demonstrate the computation logic.
It
> wasn't
> > computed using any real data.
> >
> > John
> >
> > On Thu, Feb 19, 2015 at 8:26 AM, Geeta Geeta via RT
> <met_help at ucar.edu>
> > wrote:
> >
> > >
> > > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453 >
> > >
> > > Hi John. I want to know, Can I make the Figure 6 that is there
in
> Your
> > > paper. I mean the Forecast Grids or the OBSERVATION grids where
> the
> > > thresholds increases a specified value.
> > > I wish to calculate the FSS manuually so that I absorb the idea.
> > >
> > >
> > > Geeta
> > >
> > > > Subject: Re: [rt.rap.ucar.edu #70453] combining nc files
> together
> > > > From: met_help at ucar.edu
> > > > To: geeta124 at hotmail.com
> > > > Date: Thu, 19 Feb 2015 07:38:56 -0700
> > > >
> > > > Geeta,
> > > >
> > > > No, it does not.  It is in our list of tasks for future
> development, but
> > > > isn't in there yet.  You can only get neighborhood output from
> grid-stat,
> > > > not point-stat.
> > > >
> > > > Thanks
> > > > John
> > > >
> > > > On Thursday, February 19, 2015, Geeta Geeta via RT
> <met_help at ucar.edu>
> > > > wrote:
> > > >
> > > > >
> > > > > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453
> >
> > > > >
> > > > > Hi Tressa and John.
> > > > > I want to know if MET5.0 has neighborhood methods defined
for
> point
> > > > > observations???.
> > > > > If Yes, Pls guide me with this.
> > > > > Geeta
> > > > >
> > > > >
> > > > > > Subject: [rt.rap.ucar.edu #70453] combining nc files
> together
> > > > > > From: met_help at ucar.edu <javascript:;>
> > > > > > To: geeta124 at hotmail.com <javascript:;>
> > > > > > Date: Tue, 17 Feb 2015 13:47:07 -0700
> > > > > >
> > > > > > Hi Geeta,
> > > > > >
> > > > > > The paper we sent was not A reference, it was THE
reference,
> the
> > > > > original published work on the FSS. Of course, algebra
allows
> > > equations to
> > > > > be expressed in many equivalent formats. Feel free to use
> whichever
> > > form
> > > > > you like.
> > > > > >
> > > > > > The Spatial Vx package has many verification methods, but
it
> is
> > > > > relatively new and untested. I'm sure you can reference that
> package's
> > > > > documentation for full details of the available methods.
> > > > > >
> > > > > > Happy verifying,
> > > > > >
> > > > > > Tressa
> > > > > >
> > > > > > On Mon Feb 16 04:32:17 2015, geeta124 at hotmail.com
> <javascript:;>
> > > wrote:
> > > > > > > Hi John.
> > > > > > > In Your article, FSS is defined as the
> > > > > > > FSS (n) = 1 - (MSE(n)/MSE(n) ref).
> > > > > > >
> > > > > > > In another paper's I found it to be little different. It
> was
> > > related
> > > > > > >    to the FBS Fractional Brier Score.
> > > > > > >
> > > > > > > Can U pls explain be the differences???.
> > > > > > > Also I came across SpatialVx package.
> > > > > > > Does that also provide all the verification
procedures???
> > > > > > > Geeta
> > > > > > >
> > > > > > >
> > > > > > > From: geeta124 at hotmail.com <javascript:;>
> > > > > > > To: met_help at ucar.edu <javascript:;>
> > > > > > > Subject: RE: [rt.rap.ucar.edu #70453] combining nc files
> together
> > > > > > > Date: Thu, 12 Feb 2015 11:14:17 +0530
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > hi John.
> > > > > > > I had read ur article that U have sent reg the FSS and
the
> MODE
> > > tools.
> > > > > > >    I could not understand the meaning of FORECAST SKILL
> associated
> > > > > > >    with Uniform FOrECAST. This is what is mentioed in
the
> FSS
> > > section
> > > > > > >    of Ur article.
> > > > > > > I didnt understand the concept/idea. if U could just
> explain a
> > > little
> > > > > > >    more I can build/read some articles that you would
> suggest.
> > > > > > > Thanks for ur help.
> > > > > > > Geeta
> > > > > > >
> > > > > > > > Subject: Re: [rt.rap.ucar.edu #70453] combining nc
files
> > > together
> > > > > > > > From: met_help at ucar.edu <javascript:;>
> > > > > > > > To: geeta124 at hotmail.com <javascript:;>
> > > > > > > > Date: Wed, 11 Feb 2015 10:17:33 -0700
> > > > > > > >
> > > > > > > > Geeta,
> > > > > > > >
> > > > > > > > I think your reference to an article must be from a
> different
> > > email
> > > > > > >    chain.
> > > > > > > >
> > > > > > > > I see that you're asking about "FORECAST skill
> associated with
> > > the
> > > > > > >    Uniform
> > > > > > > > forecast".  Are you looking for more references
related
> to
> > > > > > >    neighborhood
> > > > > > > > verification statistics, like Fractions Skill Score?
> > > > > > > >
> > > > > > > > Thanks,
> > > > > > > > John
> > > > > > > >
> > > > > > > > On Mon, Feb 9, 2015 at 1:53 AM, Geeta Geeta via RT
> > > > > > >    <met_help at ucar.edu <javascript:;>>
> > > > > > > > wrote:
> > > > > > > >
> > > > > > > > >
> > > > > > > > > <URL:
> https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453
> > > >
> > > > > > > > >
> > > > > > > > > Hi John.
> > > > > > > > > Thanks for the article. It is very informative.
> > > > > > > > > I dont know if i should be asking at this forum, the
> meaning of
> > > > > > >    the
> > > > > > > > > "FORECAST skill associated with the Uniform
forecast"
> as you
> > > have
> > > > > > >    mentioned
> > > > > > > > > in your paper.
> > > > > > > > > If U give me some references, it would be great.
> > > > > > > > > Geeta
> > > > > > > > >
> > > > > > > > > > Subject: Re: [rt.rap.ucar.edu #70453] combining nc
> files
> > > > > > >    together
> > > > > > > > > > From: met_help at ucar.edu <javascript:;>
> > > > > > > > > > To: geeta124 at hotmail.com <javascript:;>
> > > > > > > > > > Date: Thu, 5 Feb 2015 10:33:59 -0700
> > > > > > > > > >
> > > > > > > > > > Geeta,
> > > > > > > > > >
> > > > > > > > > > You're correct, you can only use the "sum" command
> of
> > > > > > >    pcp_combine for
> > > > > > > > > GRIB1
> > > > > > > > > > or GRIB2 files...
> > > > > > > > > >
> > > > > > > > > > But, you can use the "add" command on any gridded
> data file
> > > > > > >    format that
> > > > > > > > > MET
> > > > > > > > > > supports.  Adding together 8 NetCDF files with
> pcp_combine
> > > would
> > > > > > >    look
> > > > > > > > > > something like this:
> > > > > > > > > >
> > > > > > > > > > pcp_combine -add \
> > > > > > > > > > file1.nc 'name="APCP_03"; level="(*,*)";' \
> > > > > > > > > > file2.nc 'name="APCP_03"; level="(*,*)";' \
> > > > > > > > > > ...
> > > > > > > > > > file8.nc 'name="APCP_03"; level="(*,*)";' \
> > > > > > > > > > APCP_24.nc
> > > > > > > > > >
> > > > > > > > > > It makes for a longer command line, but it is
> possible to do
> > > > > > >    with
> > > > > > > > > > pcp_combine.
> > > > > > > > > >
> > > > > > > > > > John
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > On Thu, Feb 5, 2015 at 2:02 AM, Geeta Geeta via RT
> > > > > > >    <met_help at ucar.edu <javascript:;>>
> > > > > > > > > > wrote:
> > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > <URL:
> > > https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453
> > > > > > >    >
> > > > > > > > > > >
> > > > > > > > > > > Hi John.
> > > > > > > > > > > Thanks for wonderful ideas.
> > > > > > > > > > > The first one is working. but I have yet to run
> grid_stat
> > > to
> > > > > > >    see if
> > > > > > > > > > > everything is working finally. I ll try the
> ncatted.
> > > > > > > > > > >
> > > > > > > > > > > To sum up all the nc files (for the times that I
> want), I
> > > did
> > > > > > >    try the
> > > > > > > > > > > pcp_combine. But I guess It only works for the
> GRIB files.
> > > > > > > > > > > I have sent to u the error before. I tried to
use
> MET3.0
> > > for
> > > > > > >    that
> > > > > > > > > which is
> > > > > > > > > > > installed in my HPC.
> > > > > > > > > > > I have 5.0 on my personal system. Will try that
> exercise in
> > > > > > >    this
> > > > > > > > > system.
> > > > > > > > > > > Thanks again for your help.
> > > > > > > > > > > Geeta
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > > Subject: Re: [rt.rap.ucar.edu #70453]
combining
> nc files
> > > > > > >    together
> > > > > > > > > > > > From: met_help at ucar.edu <javascript:;>
> > > > > > > > > > > > To: geeta124 at hotmail.com <javascript:;>
> > > > > > > > > > > > Date: Wed, 4 Feb 2015 11:21:19 -0700
> > > > > > > > > > > >
> > > > > > > > > > > > Geeta,
> > > > > > > > > > > >
> > > > > > > > > > > > The trmmbin2nc.R script is set up to only
handle
> the TRMM
> > > > > > >    binary data
> > > > > > > > > > > > exactly from that website.  The timing
> information for
> > > that
> > > > > > >    binary
> > > > > > > > > data
> > > > > > > > > > > is
> > > > > > > > > > > > only contained in the file name, and you've
> renamed those
> > > > > > >    files.  So
> > > > > > > > > the
> > > > > > > > > > > > script doesn't know how to parse them.
> > > > > > > > > > > >
> > > > > > > > > > > > Here's 2 options:
> > > > > > > > > > > > (1) Rename that file using the "daily" file
> naming
> > > > > > >    conventions:
> > > > > > > > > > > >    cp Obs22apr2011.bin
> 3B42_daily.2011.04.22.7.bin
> > > > > > > > > > > >    Rscript 3B42_daily.2011.04.22.7.bin
> > > > > > >    3B42_daily.2011.04.22.7.nc
> > > > > > > > > > > >
> > > > > > > > > > > > That will produce output but it'll assume the
> > > precipitation
> > > > > > >    is
> > > > > > > > > > > accumulated
> > > > > > > > > > > > for 24-hours from 20110422 00Z to 20110423
00Z.
> If the
> > > > > > >    times should
> > > > > > > > > be
> > > > > > > > > > > > something different you could... edit the
> Rscript to use
> > > the
> > > > > > >    times
> > > > > > > > > you
> > > > > > > > > > > > want... or use the "ncatted" tool to modify
the
> timing
> > > > > > >    information
> > > > > > > > > listed
> > > > > > > > > > > > in the output NetCDF file.
> > > > > > > > > > > >
> > > > > > > > > > > > (2) Or, as we've discussed in the past, you
> could run
> > > each
> > > > > > >    of the
> > > > > > > > > 3-hour
> > > > > > > > > > > > files through the trmmbin2nc.R script and
write
> out
> > > NetCDF
> > > > > > >    files.
> > > > > > > > > Then
> > > > > > > > > > > run
> > > > > > > > > > > > those 3-hourly NetCDF files through
pcp_combine
> to add
> > > them
> > > > > > >    up.
> > > > > > > > > > > >
> > > > > > > > > > > > Thanks,
> > > > > > > > > > > > John
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > On Sun, Feb 1, 2015 at 11:27 PM, Geeta Geeta
via
> RT <
> > > > > > > > > met_help at ucar.edu <javascript:;>>
> > > > > > > > > > > > wrote:
> > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > <URL:
> > > > > > >
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453
> >
> > > > > > > > > > > > >
> > > > > > > > > > > > > Hi John.
> > > > > > > > > > > > > This is an old Ticket. Kindly sort this
issue
> too.
> > > > > > > > > > > > > I was able to sum up all the 3 hourly TRMM
> files and
> > > then
> > > > > > >    convert
> > > > > > > > > the
> > > > > > > > > > > > > final file into One called Obs22apr2011.bin.
> > > > > > > > > > > > > I had used Grads for summing up all the 8
> files. and
> > > now I
> > > > > > >    am using
> > > > > > > > > > > the R
> > > > > > > > > > > > > script for
> > > > > > > > > > > > > converting into NC.
> > > > > > > > > > > > > But I got the error.
> > > > > > > > > > > > > aditya at agniilap
> > > :~/geeta/installs/met/RUN_MET-22apr2011$
> > > > > > >    Rscript
> > > > > > > > > > > > > ../trmm_to_nc/trmmbin2nc_mod.R
> Obs22apr2011.bin
> > > > > > >    Obs22apr2011.nc
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > ERROR: Can't figure out the accumulation
> interval!I am
> > > > > > >    sending you
> > > > > > > > > the
> > > > > > > > > > > > > data that I converted using Grads.
> > > > > > > > > > > > > Geeta
> > > > > > > > > > > > >
> > > > > > > > > > > > > > Subject: Re: [rt.rap.ucar.edu #70453]
> combining nc
> > > files
> > > > > > > > > together
> > > > > > > > > > > > > > From: met_help at ucar.edu <javascript:;>
> > > > > > > > > > > > > > To: geeta124 at hotmail.com <javascript:;>
> > > > > > > > > > > > > > Date: Fri, 30 Jan 2015 11:04:18 -0700
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Geeta,
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > I don't have time to adapt that Rscript
for
> your use
> > > > > > >    with
> > > > > > > > > Grid-Stat.
> > > > > > > > > > > > > > However, we did do something very similar
> for a
> > > previous
> > > > > > > > > project.  I
> > > > > > > > > > > have
> > > > > > > > > > > > > > attached an Rscript named
"fss_quilt_plot.R"
> you
> > > could
> > > > > > >    easily
> > > > > > > > > adapt
> > > > > > > > > > > to
> > > > > > > > > > > > > > create a quilt plot for your data.  I've
> also
> > > attached a
> > > > > > >    copy of
> > > > > > > > > the
> > > > > > > > > > > > > paper
> > > > > > > > > > > > > > for which this script was used.  Please
look
> at
> > > figure
> > > > > > >    7.
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Thanks,
> > > > > > > > > > > > > > John
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > On Fri, Jan 30, 2015 at 1:03 AM, Geeta
Geeta
> via RT <
> > > > > > > > > > > met_help at ucar.edu <javascript:;>>
> > > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > <URL:
> > > > > > >
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453
> > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > Hi John.
> > > > > > > > > > > > > > > I changed different widths in the
> configuration
> > > file.
> > > > > > > > > > > (Width=1,3,5,,7
> > > > > > > > > > > > > etc).
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > // Neighborhood methods
> > > > > > > > > > > > > > > //
> > > > > > > > > > > > > > > nbrhd = {
> > > > > > > > > > > > > > >    vld_thresh = 1.0;
> > > > > > > > > > > > > > >    width      = [ 7 ];
> > > > > > > > > > > > > > >    cov_thresh = [ >=0.5 ];
> > > > > > > > > > > > > > > }
> > > > > > > > > > > > > > > and got various outputs (for different
> widths)
> > > which
> > > > > > >    are in
> > > > > > > > > > > different
> > > > > > > > > > > > > > > directories.
> > > > > > > > > > > > > > > Now I saw the R script on the website
> which is
> > > > > > >    probably
> > > > > > > > > > > exclusively for
> > > > > > > > > > > > > > > the MODE TOOL only.
> > > > > > > > > > > > > > > Now my question is how to make the quilt
> plot for
> > > the
> > > > > > >    GRid stat
> > > > > > > > > > > > > tool???.
> > > > > > > > > > > > > > > Sorry I m not familiar with R  now.
> > > > > > > > > > > > > > > Pls help.
> > > > > > > > > > > > > > > Geeta.
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > From: geeta124 at hotmail.com
<javascript:;>
> > > > > > > > > > > > > > > To: met_help at ucar.edu <javascript:;>
> > > > > > > > > > > > > > > Subject: RE: [rt.rap.ucar.edu #70453]
> combining nc
> > > > > > >    files
> > > > > > > > > together
> > > > > > > > > > > > > > > Date: Thu, 29 Jan 2015 17:05:25 +0530
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > Hi John.
> > > > > > > > > > > > > > > So I was able to sum up all the 3 hourly
> TRMM files
> > > > > > >    and then
> > > > > > > > > > > convert
> > > > > > > > > > > > > the
> > > > > > > > > > > > > > > final file into One called
> Obs22apr2011.bin.
> > > > > > > > > > > > > > > I have done that using Grads and now I
am
> using
> > > the R
> > > > > > >    script
> > > > > > > > > for
> > > > > > > > > > > > > > > converting into NC.
> > > > > > > > > > > > > > > But I got the error.
> > > > > > > > > > > > > > >
> aditya at agniilap:~/geeta/installs/met/RUN_MET-
> > > > > > >    22apr2011$
> > > > > > > > > Rscript
> > > > > > > > > > > > > > > ../trmm_to_nc/trmmbin2nc_mod.R
> Obs22apr2011.bin
> > > > > > >    Obs22apr2011.nc
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > ERROR: Can't figure out the accumulation
> interval!
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > I am sending you the data files and the
R
> script (I
> > > > > > >    changed the
> > > > > > > > > > > > > domain).
> > > > > > > > > > > > > > > The data is plotted fine. Also pls tell
me
> about
> > > the
> > > > > > >    ncview
> > > > > > > > > > > questions
> > > > > > > > > > > > > that
> > > > > > > > > > > > > > > I was asking. reg the plotting of MPR's
> > > > > > > > > > > > > > > Kindly suggest.
> > > > > > > > > > > > > > > Geeta
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > Subject: Re: [rt.rap.ucar.edu #70453]
> combining
> > > nc
> > > > > > >    files
> > > > > > > > > > > together
> > > > > > > > > > > > > > > > From: met_help at ucar.edu <javascript:;>
> > > > > > > > > > > > > > > > To: geeta124 at hotmail.com
<javascript:;>
> > > > > > > > > > > > > > > > Date: Mon, 26 Jan 2015 09:58:32 -0700
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > Geeta,
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > On that webpage (
> > > > > > > > > > > > > > > >
> > > > > > > > >
> > > http://www.dtcenter.org/met/users/downloads/analysis_scripts.php
> > > > > > > > > > > ),
> > > > > > > > > > > > > > > please
> > > > > > > > > > > > > > > > look specifically at the script named
> > > > > > >    "mode_quilt_plot.R".
> > > > > > > > > > > Here's
> > > > > > > > > > > > > the
> > > > > > > > > > > > > > > > direct link to that script:
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > >
> > > > >
>
http://www.dtcenter.org/met/users/downloads/Rscripts/mode_quilt_plot.R
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > And here's a direct link to the sample
> output
> > > that
> > > > > > >    script
> > > > > > > > > > > creates:
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > >
> > > > > > >
> > > > >
> > >
>
http://www.dtcenter.org/met/users/downloads/Rscripts/SAMPLE_mode_quilts.pdf
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > This is an example of using R to make
a
> quilt
> > > plot
> > > > > > >    for the
> > > > > > > > > > > output of
> > > > > > > > > > > > > the
> > > > > > > > > > > > > > > > MODE tool.  You might also use a quilt
> plot to
> > > > > > >    display
> > > > > > > > > fractions
> > > > > > > > > > > > > skill
> > > > > > > > > > > > > > > > score from the Grid-Stat tool, if
you've
> run FSS
> > > for
> > > > > > >    multiple
> > > > > > > > > > > > > thresholds
> > > > > > > > > > > > > > > > and neighborhood sizes.
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > John
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > On Mon, Jan 26, 2015 at 7:28 AM, Geeta
> Geeta via
> > > RT
> > > > > > >    <
> > > > > > > > > > > > > met_help at ucar.edu <javascript:;>>
> > > > > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > <URL:
> > > > > > > > >
> https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453
> > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > Hi John.
> > > > > > > > > > > > > > > > > the link
> > > > > > > > > > > > > > >
> > > > > > > > >
> > > http://www.dtcenter.org/met/users/downloads/analysis_scripts.php
> > > > > > > > > > > > > > > > > has the plots for the cnt
statistics.
> > > > > > > > > > > > > > > > > I am not familiar with R. I am going
> thru the
> > > > > > >    plot_cnt.R
> > > > > > > > > > > script.
> > > > > > > > > > > > > > > > > but I want to know what will be the
> data format
> > > > > > >    for the
> > > > > > > > > Quilt
> > > > > > > > > > > plot.
> > > > > > > > > > > > > > > > > Do I have to write my own script???.
> > > > > > > > > > > > > > > > > Kindly let me know about the data
> format and
> > > how I
> > > > > > >    have to
> > > > > > > > > > > modify
> > > > > > > > > > > > > the
> > > > > > > > > > > > > > > > > above script in order to make the
> quilt plot.
> > > > > > > > > > > > > > > > > Regards
> > > > > > > > > > > > > > > > > Geeta
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > Subject: Re: [rt.rap.ucar.edu
> #70453]
> > > combining
> > > > > > >    nc files
> > > > > > > > > > > > > together
> > > > > > > > > > > > > > > > > > From: met_help at ucar.edu
> <javascript:;>
> > > > > > > > > > > > > > > > > > To: geeta124 at hotmail.com
> <javascript:;>
> > > > > > > > > > > > > > > > > > Date: Fri, 23 Jan 2015 11:09:23
> -0700
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > Geeta,
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > Regarding 3-hourly RF
accumulations,
> if MET
> > > is
> > > > > > >    able to
> > > > > > > > > read
> > > > > > > > > > > those
> > > > > > > > > > > > > > > NetCDF
> > > > > > > > > > > > > > > > > > files, you can run them through
PCP-
> Combine
> > > to
> > > > > > >    "add"
> > > > > > > > > them all
> > > > > > > > > > > > > > > together.
> > > > > > > > > > > > > > > > > > Just use the example PCP_Combine
> command I
> > > > > > >    already sent
> > > > > > > > > you
> > > > > > > > > > > but
> > > > > > > > > > > > > > > modify
> > > > > > > > > > > > > > > > > the
> > > > > > > > > > > > > > > > > > "name" entry to list the name of
the
> NetCDF
> > > > > > >    variable you
> > > > > > > > > > > want to
> > > > > > > > > > > > > > > use.  If
> > > > > > > > > > > > > > > > > > MET is not able to read them, then
> it's up to
> > > > > > >    you to
> > > > > > > > > figure
> > > > > > > > > > > out
> > > > > > > > > > > > > how
> > > > > > > > > > > > > > > to
> > > > > > > > > > > > > > > > > > accumulate them.
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > If you're familiar with R, you
could
> use the
> > > > > > >    "ncdf"
> > > > > > > > > library
> > > > > > > > > > > in R
> > > > > > > > > > > > > to
> > > > > > > > > > > > > > > read
> > > > > > > > > > > > > > > > > > data from one or more NetCDF
files,
> add them
> > > up,
> > > > > > >    and
> > > > > > > > > write it
> > > > > > > > > > > > > out to
> > > > > > > > > > > > > > > a
> > > > > > > > > > > > > > > > > new
> > > > > > > > > > > > > > > > > > file.  Alternatively, "nco"
(NetCDF
> > > Operators)
> > > > > > >    provide
> > > > > > > > > some
> > > > > > > > > > > > > > > capability of
> > > > > > > > > > > > > > > > > > doing simple operations on NetCDF
> files.  You
> > > > > > >    might be
> > > > > > > > > able
> > > > > > > > > > > to
> > > > > > > > > > > > > use
> > > > > > > > > > > > > > > them.
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > Regarding quilt plots, I've only
> used R to
> > > make
> > > > > > >    them in
> > > > > > > > > the
> > > > > > > > > > > past.
> > > > > > > > > > > > > > > > > > Specifically, the "quilt.plot"
> function in
> > > the R
> > > > > > >    package
> > > > > > > > > > > named
> > > > > > > > > > > > > > > "fields".
> > > > > > > > > > > > > > > > > > Please take a look at this
website:
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > >
> > > http://www.dtcenter.org/met/users/downloads/analysis_scripts.php
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > The Rscript named
> "mode_quilt_plot.R"
> > > provides
> > > > > > >    an
> > > > > > > > > example of
> > > > > > > > > > > > > using R
> > > > > > > > > > > > > > > to
> > > > > > > > > > > > > > > > > > make quilt plots.  Example output
> from that
> > > > > > >    script is
> > > > > > > > > also
> > > > > > > > > > > > > included
> > > > > > > > > > > > > > > on
> > > > > > > > > > > > > > > > > that
> > > > > > > > > > > > > > > > > > page.
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > Thanks,
> > > > > > > > > > > > > > > > > > John
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > On Fri, Jan 23, 2015 at 4:06 AM,
> Geeta Geeta
> > > via
> > > > > > >    RT <
> > > > > > > > > > > > > > > met_help at ucar.edu <javascript:;>>
> > > > > > > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > <URL:
> > > > > > > > > > >
> https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > Hi John. Your help is needed at
> every step.
> > > > > > >    Now I want
> > > > > > > > > to
> > > > > > > > > > > know
> > > > > > > > > > > > > > > which
> > > > > > > > > > > > > > > > > > > software can be used for making
> the QUILT
> > > plot
> > > > > > > > > (intensity
> > > > > > > > > > > and
> > > > > > > > > > > > > > > spatial
> > > > > > > > > > > > > > > > > > > distribution) plot. Can It be
done
> in using
> > > > > > >    MET5.0. How
> > > > > > > > > > > Can I
> > > > > > > > > > > > > plot
> > > > > > > > > > > > > > > the
> > > > > > > > > > > > > > > > > > > point data that I used in
> MET5.0???KIndly
> > > > > > >    guide me.
> > > > > > > > > Also
> > > > > > > > > > > pls
> > > > > > > > > > > > > tell
> > > > > > > > > > > > > > > me
> > > > > > > > > > > > > > > > > if u
> > > > > > > > > > > > > > > > > > > can figure out the issue of
3hrly
> RF
> > > > > > >    accumulations if
> > > > > > > > > the
> > > > > > > > > > > files
> > > > > > > > > > > > > > > are in
> > > > > > > > > > > > > > > > > the
> > > > > > > > > > > > > > > > > > > NETCDF format. Geeta
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > From: geeta124 at hotmail.com
> <javascript:;>
> > > > > > > > > > > > > > > > > > > To: met_help at ucar.edu
> <javascript:;>
> > > > > > > > > > > > > > > > > > > Subject: RE: [rt.rap.ucar.edu
> #70453]
> > > > > > >    combining nc
> > > > > > > > > files
> > > > > > > > > > > > > together
> > > > > > > > > > > > > > > > > > > Date: Thu, 22 Jan 2015 16:30:34
> +0530
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > thanks John.  the pcp combine
tool
> uses
> > > only
> > > > > > >    GRIB1
> > > > > > > > > files.
> > > > > > > > > > > these
> > > > > > > > > > > > > > > were
> > > > > > > > > > > > > > > > > > > netcdf files (attaching one).I
had
> > > downloaded
> > > > > > >    the NC
> > > > > > > > > files
> > > > > > > > > > > from
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > http://mirador.gsfc.nasa.gov/cgi-
> > > > > > >    bin/mirador/granlist.pl?page=1&location=(-90,-
> > > > > > >
> > > > >
> > >
>
180),(90,180)&dataSet=TRMM_3B42&version=007&allversion=007&startTime=2011-
> > > > > > >    04-22T00:00:01Z&endTime=2011-04-
> > > > > > >    22T23:59:59Z&keyword=TRMM_3B42&longname=TRMM%203-
> > > > > > >
> > > > >
> > >
>
Hourly%200.25%20deg.%20TRMM%20and%20Others%20Rainfall%20Estimate%20Data&CGISESSID=02499c2107ddfb60a3e46d6b99df3d79&prodpg=
> > > > >
http://mirador.gsfc.nasa.gov/collections/TRMM_3B42__007.shtmlI
> > > > > > > > > > > > > > > > > > > got following error. bash-3.2$
> > > > > > >    ./run_pcptool.sh
> > > > > > > > > Running PCP
> > > > > > > > > > > > > > > > > toolPerforming
> > > > > > > > > > > > > > > > > > > addition command for 2
> files.Reading input
> > > > > > >    file:
> > > > > > > > > > > > > > > 3B42.20110422.12.7.nc
> > > > > > > > > > > > > > > > > > > GribFile::skip_header() -> can't
> find
> > > "GRIB"
> > > > > > >    magic
> > > > > > > > > cookie
> > > > > > > > > > > > >  ERROR:
> > > > > > > > > > > > > > > > > > > get_field() -> can't open grib
> file:
> > > > > > > > > 3B42.20110422.12.7.nc
> > > > > > > > > > > > > > > > > > > Following is my script--------
> !/bin/sh
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >              echo " Running PCP
> > > > > > > > > > > > > > > > > > >
> > > tool"~/wrf3/utils/met/METv3.0/bin/pcp_combine
> > > > > > >    -add
> > > > > > > > > > > > > > > > > 3B42.20110422.12.7.nc
> > > > > > > > > > > > > > > > > > > 03 3B42.20110422.15.7.nc 03
> myoutput.nc
> > > > > > > > > > > > > > > > > > > Kindly suggest.
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > the second thing I was thinking
to
> download
> > > > > > >    the TRMM
> > > > > > > > > data
> > > > > > > > > > > from
> > > > > > > > > > > > > > > thelink
> > > > > > > > > > > > > > > > > at
> > > > > > > > > > > > > > > > > > > DTC website and then converying
> the 3
> > > hourly
> > > > > > >    bins to
> > > > > > > > > NC.
> > > > > > > > > > > > > > > > > > > 2.2 MBftp://
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > >
> > > > > > >
> > > > >
> > >
>
disc2.nascom.nasa.gov/data/TRMM/Gridded/3B42_V7/201104/3B42.110422.15z.7.precipitation.bin
> > > > > > > > > > > > > > > > > > > But my problem will be to
> ACCUMULATE them.
> > > I
> > > > > > >    need to
> > > > > > > > > > > verify the
> > > > > > > > > > > > > > > model
> > > > > > > > > > > > > > > > > data
> > > > > > > > > > > > > > > > > > > starting 06 UTC of day1 to 03UTC
> of DAY2. I
> > > > > > >    mean how
> > > > > > > > > do I
> > > > > > > > > > > > > combine
> > > > > > > > > > > > > > > all
> > > > > > > > > > > > > > > > > the
> > > > > > > > > > > > > > > > > > > NC  files together. Kindly
suggest
> > > > > > > > > > > > > > > > > > > > Subject: Re: [rt.rap.ucar.edu
> #70453]
> > > > > > >    combining nc
> > > > > > > > > files
> > > > > > > > > > > > > > > together
> > > > > > > > > > > > > > > > > > > > From: met_help at ucar.edu
> <javascript:;>
> > > > > > > > > > > > > > > > > > > > To: geeta124 at hotmail.com
> <javascript:;>
> > > > > > > > > > > > > > > > > > > > Date: Wed, 21 Jan 2015
10:45:12
> -0700
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > Geeta,
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > I'm assuming the variable in
the
> NetCDF
> > > > > > >    files is
> > > > > > > > > named
> > > > > > > > > > > > > > > "APCP_03".  If
> > > > > > > > > > > > > > > > > > > not,
> > > > > > > > > > > > > > > > > > > > just switch in the actual
name.
> You can
> > > run
> > > > > > >    the
> > > > > > > > > > > following
> > > > > > > > > > > > > > > > > pcp_combine
> > > > > > > > > > > > > > > > > > > -add
> > > > > > > > > > > > > > > > > > > > command:
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > pcp_combine -add \
> > > > > > > > > > > > > > > > > > > >    3B42.20110422.09.7.nc
> > > 'name="APCP_03";
> > > > > > > > > > > level="(*,*)";' \
> > > > > > > > > > > > > > > > > > > >    3B42.20110422.12.7.nc
> > > 'name="APCP_03";
> > > > > > > > > > > level="(*,*)";' \
> > > > > > > > > > > > > > > > > > > >    3B42.20110422.15.7.nc
> > > 'name="APCP_03";
> > > > > > > > > > > level="(*,*)";' \
> > > > > > > > > > > > > > > > > > > >    3B42.20110422.18.7.nc
> > > 'name="APCP_03";
> > > > > > > > > > > level="(*,*)";' \
> > > > > > > > > > > > > > > > > > > >    3B42.20110422.21.7.nc
> > > 'name="APCP_03";
> > > > > > > > > > > level="(*,*)";' \
> > > > > > > > > > > > > > > > > > > >    3B42.20110423.00.7.nc
> > > 'name="APCP_03";
> > > > > > > > > > > level="(*,*)";' \
> > > > > > > > > > > > > > > > > > > >    3B42.20110423.03.7.nc
> > > 'name="APCP_03";
> > > > > > > > > > > level="(*,*)";' \
> > > > > > > > > > > > > > > > > > > >    3B42.20110423.06.7.nc
> > > 'name="APCP_03";
> > > > > > > > > > > level="(*,*)";' \
> > > > > > > > > > > > > > > > > > > >
3B42.20110423.06.7_APCP_24.nc
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > The last file listed is just
the
> output
> > > file
> > > > > > >    name I
> > > > > > > > > > > chose.
> > > > > > > > > > > > > But
> > > > > > > > > > > > > > > you
> > > > > > > > > > > > > > > > > can
> > > > > > > > > > > > > > > > > > > > name it whatever you'd like.
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > John
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > On Wed, Jan 21, 2015 at 4:02
AM,
> Geeta
> > > Geeta
> > > > > > >    via RT <
> > > > > > > > > > > > > > > > > met_help at ucar.edu <javascript:;>>
> > > > > > > > > > > > > > > > > > > > wrote:
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > Wed Jan 21 04:02:41 2015:
> Request 70453
> > > > > > >    was acted
> > > > > > > > > upon.
> > > > > > > > > > > > > > > > > > > > > Transaction: Ticket created
by
> > > > > > > > > geeta124 at hotmail.com <javascript:;>
> > > > > > > > > > > > > > > > > > > > >        Queue: met_help
> > > > > > > > > > > > > > > > > > > > >      Subject: combining nc
> files
> > > together
> > > > > > > > > > > > > > > > > > > > >        Owner: Nobody
> > > > > > > > > > > > > > > > > > > > >   Requestors:
> geeta124 at hotmail.com
> > > > > <javascript:;>
> > > > > > > > > > > > > > > > > > > > >       Status: new
> > > > > > > > > > > > > > > > > > > > >  Ticket <URL:
> > > > > > > > > > > > > > > > >
> > > > > > >
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70453
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > > Hi John.
> > > > > > > > > > > > > > > > > > > > > Sorry to bother you again n
> again. But
> > > I
> > > > > > >    have no
> > > > > > > > > > > choice. I
> > > > > > > > > > > > > > > want to
> > > > > > > > > > > > > > > > > know
> > > > > > > > > > > > > > > > > > > > > the followingI have 8 nc
> files.
> > > bash-3.2$
> > > > > > >    ls
> > > > > > > > > -ltotal
> > > > > > > > > > > > > > > > > 216336-rw-r--r--
> > > > > > > > > > > > > > > > > > >   1
> > > > > > > > > > > > > > > > > > > > > model    staff      13841488
> Jan 21
> > > 11:24
> > > > > > > > > > > > > > > > > > > 3B42.20110422.06.7.nc-rw-r--r--
> > > > > > > > > > > > > > > > > > > > >   1 model    staff
> 13841488 Jan 21
> > > > > > >    11:27
> > > > > > > > > > > > > > > > > > > > > 3B42.20110422.09.7.nc-rw-r--
> r--    1
> > > model
> > > > > > >    staff
> > > > > > > > > > > > > > > 13841492
> > > > > > > > > > > > > > > > > Jan
> > > > > > > > > > > > > > > > > > > 21
> > > > > > > > > > > > > > > > > > > > > 14:01 3B42.20110422.12.7.nc-
> rw-r--r--
> > >   1
> > > > > > >    model
> > > > > > > > > > > staff
> > > > > > > > > > > > > > > > > > > 13841492 Jan
> > > > > > > > > > > > > > > > > > > > > 21 13:16
> > > 3B42.20110422.15.7.nc-rw-r--r--
> > > > > > >    1 model
> > > > > > > > > > > > > staff
> > > > > > > > > > > > > > > > > > > 13841492
> > > > > > > > > > > > > > > > > > > > > Jan 21 14:51
> > > 3B42.20110422.18.7.nc-rw-r--
> > > > > > >    r--    1
> > > > > > > > > model
> > > > > > > > > > > > > > > staff
> > > > > > > > > > > > > > > > > > > > > 13841492 Jan 21 13:21
> > > > > > > > > 3B42.20110422.21.7.nc-rw-r--r--
> > > > > > > > > > >   1
> > > > > > > > > > > > > > > model
> > > > > > > > > > > > > > > > > > > staff
> > > > > > > > > > > > > > > > > > > > >     13841488 Jan 21 13:22
> > > > > > > > > > > 3B42.20110423.00.7.nc-rw-r--r--
> > > > > > > > > > > > >   1
> > > > > > > > > > > > > > > > > model
> > > > > > > > > > > > > > > > > > > > > staff      13841488 Jan 21
> 13:50
> > > > > > > > > > > > > > > 3B42.20110423.03.7.ncbash-3.2$ pwd
> > > > > > > > > > > > > > > > > > > > > I need to make ONE 24 hour
RF
> > > accumulated
> > > > > > >    file
> > > > > > > > > starting
> > > > > > > > > > > > > 06UTC
> > > > > > > > > > > > > > > of
> > > > > > > > > > > > > > > > > > > > > 22.04.2011 - 03UTC of
> 23.04.2011. How
> > > do I
> > > > > > >    do
> > > > > > > > > that???
> > > > > > > > > > > > > > > > > > > > > Geeta
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > >
> > > > >
> > > >
> > >
> > >
> >
>
> ------------------------------------------------
> Subject: combining nc files together
> From: John Halley Gotway
> Time: Fri Feb 20 09:51:17 2015
>
> Geeta,
>
> I have several comments...
>
> (1) First, you are getting two output lines because you chose two
> different
> masking regions: the FULL model domain and the polyline name
> "mydom.poly".
>
> (2) I used the plot_data_plane tool to plot the difference field for
> the
> mydom.poly and attached the resulting image (mydom.png):
>    met-5.0/bin/plot_data_plane
> grid_stat_270000L_20060620_030000V_pairs.nc \
>       mydom.ps 'name="DIFF_APCP_A24_APCP_A24_APL"; level="(*,*)";'
>
> That sure looks like an odd masking region.  Is that really what you
> intended?  Also, you've chosen to name that masking region "APL".  I
> assume
> you just copied over an modified the file named "APL.poly" and chose
> not to
> provide a different name.  I'd suggest choosing a more descriptive
> name for
> that region.
>
> (3) Your model domain is 37x37 = 1309.  So you could have a maximum
of
> 1309
> matched pairs.  Any grid points that contain missing data in the
> forecast
> or observation field will make the number of matched pairs smaller.
> Looking at the NetCDF matched pairs file you sent me with ncview at
> the
> variables named FCST_APCP_A24_FULL, I see that approximately 3
> rows/columns
> of data contain missing values in the forecast field.  Looking
> closely, I
> believe you only have 991 forecast grid points with valid data
values.
> So
> you could really only have a maximum of 991 matched pairs.
>
> (4) Your actual number of matched pairs for the NBRCNT line for the
> FULL
> domain is 854, not 991.  And you're wondering why.  You're computing
> neighborhood statistics using a 9x9 box centered on each grid point.
> For
> points near the edge of that domain, some of that 9x9 box will fall
> off the
> grid.  Handling these cases is controlled by the configuration file
> setting
> "nbrhd.vld_thresh":
>    nbrhd = {
>       vld_thresh = 1.0;
>       width      = [ 3 ];
>       cov_thresh = [ >=0.5 ];
>    }
>
> You have it set to 1.0.  When computing fractional coverage at a
grid
> point, grid_stat first computes the fraction of that 9x9 box (= 81
> points)
> that contains valid data.  If that fraction is less than vld_thresh,
> no
> fractional coverage will be computed for that point.  Setting
> vld_thresh =
> 1.0 requires that all 81 points in the 9x9 box contain valid data
for
> that
> point to be used.  Basically, grid_stat is skipping several points
> along
> the edge because of this setting.
>
> If you reduce vld_thresh down to 0.5 or 0.0, the number of matched
> pairs
> will increase.
>
> Make sense?
>
> Thanks,
> John
>
> ------------------------------------------------
> _______________________________________________
> Met_help mailing list
> Met_help at mailman.ucar.edu
> http://mailman.ucar.edu/mailman/listinfo/met_help

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


More information about the Met_help mailing list