[Met_help] [rt.rap.ucar.edu #70245] History for Grid Stat

Julie Prestopnik via RT met_help at ucar.edu
Wed Jan 14 11:26:13 MST 2015


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

Hi John. 

I sent U an error in the previous mail too. 
I realised that I was using the config file of MET3.0. 
Now I retried to run MET5.0 with config file given. I got this error. 

aditya at agniilap:~/geeta/installs/met/myrun-2jan2015$ ./grid_stat1.sh 

*** Running Grid-Stat on APCP using netCDF input for both forecast and observation ***
DEBUG 1: Default Config File: /home/aditya/geeta/installs/met/share/met/config/GridStatConfig_default
DEBUG 1: User Config File: ./GridStatConfig_APCP24
ERROR  : 
ERROR  : get_att_int(const NcVarInfo &, const ConcatString &, int &) -> attribute "accum_time_sec" should be an integer.
ERROR  : 
 I checked the config file. I donot know where the acumulation interval is to be specified. 

Hoping to hear from you soon
Geeta
 		 	   		  

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

Subject: Grid Stat
From: Julie Prestopnik
Time: Mon Jan 05 10:04:36 2015

Hi Geeta.

The error you are getting indicates that "accum_time_sec" should be an
integer.  Looking in the file test.nc, I see that

APCP_03:accum_time_sec = 10800.f ;


The ".f" indicates that accum_time_sec is a float, not an integer.
Try
changing that value to an integer and see if that fixes the problem.

Thanks,
Julie

On Sun, Jan 4, 2015 at 6:04 AM, Geeta Geeta via RT <met_help at ucar.edu>
wrote:

>
> Sun Jan 04 06:04:26 2015: Request 70245 was acted upon.
> Transaction: Ticket created by geeta124 at hotmail.com
>        Queue: met_help
>      Subject: Grid Stat
>        Owner: Nobody
>   Requestors: geeta124 at hotmail.com
>       Status: new
>  Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70245 >
>
>
> Hi John.
>
> I sent U an error in the previous mail too.
> I realised that I was using the config file of MET3.0.
> Now I retried to run MET5.0 with config file given. I got this
error.
>
> aditya at agniilap:~/geeta/installs/met/myrun-2jan2015$ ./grid_stat1.sh
>
> *** Running Grid-Stat on APCP using netCDF input for both forecast
and
> observation ***
> DEBUG 1: Default Config File:
>
/home/aditya/geeta/installs/met/share/met/config/GridStatConfig_default
> DEBUG 1: User Config File: ./GridStatConfig_APCP24
> ERROR  :
> ERROR  : get_att_int(const NcVarInfo &, const ConcatString &, int &)
->
> attribute "accum_time_sec" should be an integer.
> ERROR  :
>  I checked the config file. I donot know where the acumulation
interval is
> to be specified.
>
> Hoping to hear from you soon
> Geeta
>
>


--
Julie Prestopnik
National Center for Atmospheric Research
Research Applications Laboratory
Phone: 303.497.8399
Email: jpresto at ucar.edu

------------------------------------------------
Subject: Grid Stat
From: Geeta Geeta
Time: Mon Jan 05 21:46:07 2015

thanks Julie. But how will I edit the nc file. What U saw was the
header which is seen by running the command ncdump -h tet_fcst.nc. Pls
tell me how will I EDIT the HEADER and the DATA which is float ONLY
and not Integer.
Also I have some 122 files. and may be more in future. Kindly let me
know how I have to proceed.
I have a number of other queries for which i want to get the reply.
Kindly send me the answers to those. Geeta


> Subject: Re: [rt.rap.ucar.edu #70245] Grid Stat
> From: met_help at ucar.edu
> To: geeta124 at hotmail.com
> Date: Mon, 5 Jan 2015 10:04:36 -0700
>
> Hi Geeta.
>
> The error you are getting indicates that "accum_time_sec" should be
an
> integer.  Looking in the file test.nc, I see that
>
> APCP_03:accum_time_sec = 10800.f ;
>
>
> The ".f" indicates that accum_time_sec is a float, not an integer.
Try
> changing that value to an integer and see if that fixes the problem.
>
> Thanks,
> Julie
>
> On Sun, Jan 4, 2015 at 6:04 AM, Geeta Geeta via RT
<met_help at ucar.edu>
> wrote:
>
> >
> > Sun Jan 04 06:04:26 2015: Request 70245 was acted upon.
> > Transaction: Ticket created by geeta124 at hotmail.com
> >        Queue: met_help
> >      Subject: Grid Stat
> >        Owner: Nobody
> >   Requestors: geeta124 at hotmail.com
> >       Status: new
> >  Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70245 >
> >
> >
> > Hi John.
> >
> > I sent U an error in the previous mail too.
> > I realised that I was using the config file of MET3.0.
> > Now I retried to run MET5.0 with config file given. I got this
error.
> >
> > aditya at agniilap:~/geeta/installs/met/myrun-2jan2015$
./grid_stat1.sh
> >
> > *** Running Grid-Stat on APCP using netCDF input for both forecast
and
> > observation ***
> > DEBUG 1: Default Config File:
> >
/home/aditya/geeta/installs/met/share/met/config/GridStatConfig_default
> > DEBUG 1: User Config File: ./GridStatConfig_APCP24
> > ERROR  :
> > ERROR  : get_att_int(const NcVarInfo &, const ConcatString &, int
&) ->
> > attribute "accum_time_sec" should be an integer.
> > ERROR  :
> >  I checked the config file. I donot know where the acumulation
interval is
> > to be specified.
> >
> > Hoping to hear from you soon
> > Geeta
> >
> >
>
>
> --
> Julie Prestopnik
> National Center for Atmospheric Research
> Research Applications Laboratory
> Phone: 303.497.8399
> Email: jpresto at ucar.edu
>

------------------------------------------------
Subject: Grid Stat
From: Geeta Geeta
Time: Mon Jan 05 22:13:31 2015

Julie I want to know if I can look through the archives of the
Tickets/problems. where i can get to see these.

From: geeta124 at hotmail.com
To: met_help at ucar.edu
Subject: RE: [rt.rap.ucar.edu #70245] Grid Stat
Date: Tue, 6 Jan 2015 10:16:04 +0530




thanks Julie. But how will I edit the nc file. What U saw was the
header which is seen by running the command ncdump -h tet_fcst.nc. Pls
tell me how will I EDIT the HEADER and the DATA which is float ONLY
and not Integer.
Also I have some 122 files. and may be more in future. Kindly let me
know how I have to proceed.
I have a number of other queries for which i want to get the reply.
Kindly send me the answers to those. Geeta


> Subject: Re: [rt.rap.ucar.edu #70245] Grid Stat
> From: met_help at ucar.edu
> To: geeta124 at hotmail.com
> Date: Mon, 5 Jan 2015 10:04:36 -0700
>
> Hi Geeta.
>
> The error you are getting indicates that "accum_time_sec" should be
an
> integer.  Looking in the file test.nc, I see that
>
> APCP_03:accum_time_sec = 10800.f ;
>
>
> The ".f" indicates that accum_time_sec is a float, not an integer.
Try
> changing that value to an integer and see if that fixes the problem.
>
> Thanks,
> Julie
>
> On Sun, Jan 4, 2015 at 6:04 AM, Geeta Geeta via RT
<met_help at ucar.edu>
> wrote:
>
> >
> > Sun Jan 04 06:04:26 2015: Request 70245 was acted upon.
> > Transaction: Ticket created by geeta124 at hotmail.com
> >        Queue: met_help
> >      Subject: Grid Stat
> >        Owner: Nobody
> >   Requestors: geeta124 at hotmail.com
> >       Status: new
> >  Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70245 >
> >
> >
> > Hi John.
> >
> > I sent U an error in the previous mail too.
> > I realised that I was using the config file of MET3.0.
> > Now I retried to run MET5.0 with config file given. I got this
error.
> >
> > aditya at agniilap:~/geeta/installs/met/myrun-2jan2015$
./grid_stat1.sh
> >
> > *** Running Grid-Stat on APCP using netCDF input for both forecast
and
> > observation ***
> > DEBUG 1: Default Config File:
> >
/home/aditya/geeta/installs/met/share/met/config/GridStatConfig_default
> > DEBUG 1: User Config File: ./GridStatConfig_APCP24
> > ERROR  :
> > ERROR  : get_att_int(const NcVarInfo &, const ConcatString &, int
&) ->
> > attribute "accum_time_sec" should be an integer.
> > ERROR  :
> >  I checked the config file. I donot know where the acumulation
interval is
> > to be specified.
> >
> > Hoping to hear from you soon
> > Geeta
> >
> >
>
>
> --
> Julie Prestopnik
> National Center for Atmospheric Research
> Research Applications Laboratory
> Phone: 303.497.8399
> Email: jpresto at ucar.edu
>

------------------------------------------------
Subject: Grid Stat
From: Julie Prestopnik
Time: Tue Jan 06 08:54:17 2015

Hi Geeta.  Since the name of the file was test.nc, I had assumed that
you
had created the file to test with.  If you have some 122 files, I
would
suggest talking with the person who created the files and ask them to
change the accum_time_sec fields to be an integer field.  There may be
another different way to handle this, but I do not know, but John may.

Julie

On Mon, Jan 5, 2015 at 9:46 PM, Geeta Geeta via RT <met_help at ucar.edu>
wrote:

>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70245 >
>
> thanks Julie. But how will I edit the nc file. What U saw was the
header
> which is seen by running the command ncdump -h tet_fcst.nc. Pls tell
me
> how will I EDIT the HEADER and the DATA which is float ONLY and not
Integer.
> Also I have some 122 files. and may be more in future. Kindly let me
know
> how I have to proceed.
> I have a number of other queries for which i want to get the reply.
Kindly
> send me the answers to those. Geeta
>
>
> > Subject: Re: [rt.rap.ucar.edu #70245] Grid Stat
> > From: met_help at ucar.edu
> > To: geeta124 at hotmail.com
> > Date: Mon, 5 Jan 2015 10:04:36 -0700
> >
> > Hi Geeta.
> >
> > The error you are getting indicates that "accum_time_sec" should
be an
> > integer.  Looking in the file test.nc, I see that
> >
> > APCP_03:accum_time_sec = 10800.f ;
> >
> >
> > The ".f" indicates that accum_time_sec is a float, not an integer.
Try
> > changing that value to an integer and see if that fixes the
problem.
> >
> > Thanks,
> > Julie
> >
> > On Sun, Jan 4, 2015 at 6:04 AM, Geeta Geeta via RT
<met_help at ucar.edu>
> > wrote:
> >
> > >
> > > Sun Jan 04 06:04:26 2015: Request 70245 was acted upon.
> > > Transaction: Ticket created by geeta124 at hotmail.com
> > >        Queue: met_help
> > >      Subject: Grid Stat
> > >        Owner: Nobody
> > >   Requestors: geeta124 at hotmail.com
> > >       Status: new
> > >  Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70245
> >
> > >
> > >
> > > Hi John.
> > >
> > > I sent U an error in the previous mail too.
> > > I realised that I was using the config file of MET3.0.
> > > Now I retried to run MET5.0 with config file given. I got this
error.
> > >
> > > aditya at agniilap:~/geeta/installs/met/myrun-2jan2015$
./grid_stat1.sh
> > >
> > > *** Running Grid-Stat on APCP using netCDF input for both
forecast and
> > > observation ***
> > > DEBUG 1: Default Config File:
> > >
/home/aditya/geeta/installs/met/share/met/config/GridStatConfig_default
> > > DEBUG 1: User Config File: ./GridStatConfig_APCP24
> > > ERROR  :
> > > ERROR  : get_att_int(const NcVarInfo &, const ConcatString &,
int &) ->
> > > attribute "accum_time_sec" should be an integer.
> > > ERROR  :
> > >  I checked the config file. I donot know where the acumulation
> interval is
> > > to be specified.
> > >
> > > Hoping to hear from you soon
> > > Geeta
> > >
> > >
> >
> >
> > --
> > Julie Prestopnik
> > National Center for Atmospheric Research
> > Research Applications Laboratory
> > Phone: 303.497.8399
> > Email: jpresto at ucar.edu
> >
>
>


--
Julie Prestopnik
National Center for Atmospheric Research
Research Applications Laboratory
Phone: 303.497.8399
Email: jpresto at ucar.edu

------------------------------------------------
Subject: Grid Stat
From: Julie Prestopnik
Time: Tue Jan 06 08:55:23 2015

You can search the met help tickets using google.  For example, say
you
would like to search for "GridStat", you can put the following search
into
google:

"GridStat" site::http://mailman.ucar.edu/pipermail/met_help/

I hope that helps.

Julie

On Mon, Jan 5, 2015 at 10:13 PM, Geeta Geeta via RT
<met_help at ucar.edu>
wrote:

>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70245 >
>
> Julie I want to know if I can look through the archives of the
> Tickets/problems. where i can get to see these.
>
> From: geeta124 at hotmail.com
> To: met_help at ucar.edu
> Subject: RE: [rt.rap.ucar.edu #70245] Grid Stat
> Date: Tue, 6 Jan 2015 10:16:04 +0530
>
>
>
>
> thanks Julie. But how will I edit the nc file. What U saw was the
header
> which is seen by running the command ncdump -h tet_fcst.nc. Pls tell
me
> how will I EDIT the HEADER and the DATA which is float ONLY and not
Integer.
> Also I have some 122 files. and may be more in future. Kindly let me
know
> how I have to proceed.
> I have a number of other queries for which i want to get the reply.
Kindly
> send me the answers to those. Geeta
>
>
> > Subject: Re: [rt.rap.ucar.edu #70245] Grid Stat
> > From: met_help at ucar.edu
> > To: geeta124 at hotmail.com
> > Date: Mon, 5 Jan 2015 10:04:36 -0700
> >
> > Hi Geeta.
> >
> > The error you are getting indicates that "accum_time_sec" should
be an
> > integer.  Looking in the file test.nc, I see that
> >
> > APCP_03:accum_time_sec = 10800.f ;
> >
> >
> > The ".f" indicates that accum_time_sec is a float, not an integer.
Try
> > changing that value to an integer and see if that fixes the
problem.
> >
> > Thanks,
> > Julie
> >
> > On Sun, Jan 4, 2015 at 6:04 AM, Geeta Geeta via RT
<met_help at ucar.edu>
> > wrote:
> >
> > >
> > > Sun Jan 04 06:04:26 2015: Request 70245 was acted upon.
> > > Transaction: Ticket created by geeta124 at hotmail.com
> > >        Queue: met_help
> > >      Subject: Grid Stat
> > >        Owner: Nobody
> > >   Requestors: geeta124 at hotmail.com
> > >       Status: new
> > >  Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70245
> >
> > >
> > >
> > > Hi John.
> > >
> > > I sent U an error in the previous mail too.
> > > I realised that I was using the config file of MET3.0.
> > > Now I retried to run MET5.0 with config file given. I got this
error.
> > >
> > > aditya at agniilap:~/geeta/installs/met/myrun-2jan2015$
./grid_stat1.sh
> > >
> > > *** Running Grid-Stat on APCP using netCDF input for both
forecast and
> > > observation ***
> > > DEBUG 1: Default Config File:
> > >
/home/aditya/geeta/installs/met/share/met/config/GridStatConfig_default
> > > DEBUG 1: User Config File: ./GridStatConfig_APCP24
> > > ERROR  :
> > > ERROR  : get_att_int(const NcVarInfo &, const ConcatString &,
int &) ->
> > > attribute "accum_time_sec" should be an integer.
> > > ERROR  :
> > >  I checked the config file. I donot know where the acumulation
> interval is
> > > to be specified.
> > >
> > > Hoping to hear from you soon
> > > Geeta
> > >
> > >
> >
> >
> > --
> > Julie Prestopnik
> > National Center for Atmospheric Research
> > Research Applications Laboratory
> > Phone: 303.497.8399
> > Email: jpresto at ucar.edu
> >
>
>


--
Julie Prestopnik
National Center for Atmospheric Research
Research Applications Laboratory
Phone: 303.497.8399
Email: jpresto at ucar.edu

------------------------------------------------
Subject: Grid Stat
From: Geeta Geeta
Time: Tue Jan 06 09:00:57 2015

Hi Julie.
I have made the fcst file using MET3.0 and the observations in netcdf
using the R script.
Pls tell me how to edit the header file so that i do not get error
with the FLOAT thing.
Geeta

> Subject: Re: [rt.rap.ucar.edu #70245] Grid Stat
> From: met_help at ucar.edu
> To: geeta124 at hotmail.com
> Date: Tue, 6 Jan 2015 08:55:23 -0700
>
> You can search the met help tickets using google.  For example, say
you
> would like to search for "GridStat", you can put the following
search into
> google:
>
> "GridStat" site::http://mailman.ucar.edu/pipermail/met_help/
>
> I hope that helps.
>
> Julie
>
> On Mon, Jan 5, 2015 at 10:13 PM, Geeta Geeta via RT
<met_help at ucar.edu>
> wrote:
>
> >
> > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70245 >
> >
> > Julie I want to know if I can look through the archives of the
> > Tickets/problems. where i can get to see these.
> >
> > From: geeta124 at hotmail.com
> > To: met_help at ucar.edu
> > Subject: RE: [rt.rap.ucar.edu #70245] Grid Stat
> > Date: Tue, 6 Jan 2015 10:16:04 +0530
> >
> >
> >
> >
> > thanks Julie. But how will I edit the nc file. What U saw was the
header
> > which is seen by running the command ncdump -h tet_fcst.nc. Pls
tell me
> > how will I EDIT the HEADER and the DATA which is float ONLY and
not Integer.
> > Also I have some 122 files. and may be more in future. Kindly let
me know
> > how I have to proceed.
> > I have a number of other queries for which i want to get the
reply. Kindly
> > send me the answers to those. Geeta
> >
> >
> > > Subject: Re: [rt.rap.ucar.edu #70245] Grid Stat
> > > From: met_help at ucar.edu
> > > To: geeta124 at hotmail.com
> > > Date: Mon, 5 Jan 2015 10:04:36 -0700
> > >
> > > Hi Geeta.
> > >
> > > The error you are getting indicates that "accum_time_sec" should
be an
> > > integer.  Looking in the file test.nc, I see that
> > >
> > > APCP_03:accum_time_sec = 10800.f ;
> > >
> > >
> > > The ".f" indicates that accum_time_sec is a float, not an
integer.  Try
> > > changing that value to an integer and see if that fixes the
problem.
> > >
> > > Thanks,
> > > Julie
> > >
> > > On Sun, Jan 4, 2015 at 6:04 AM, Geeta Geeta via RT
<met_help at ucar.edu>
> > > wrote:
> > >
> > > >
> > > > Sun Jan 04 06:04:26 2015: Request 70245 was acted upon.
> > > > Transaction: Ticket created by geeta124 at hotmail.com
> > > >        Queue: met_help
> > > >      Subject: Grid Stat
> > > >        Owner: Nobody
> > > >   Requestors: geeta124 at hotmail.com
> > > >       Status: new
> > > >  Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70245
> > >
> > > >
> > > >
> > > > Hi John.
> > > >
> > > > I sent U an error in the previous mail too.
> > > > I realised that I was using the config file of MET3.0.
> > > > Now I retried to run MET5.0 with config file given. I got this
error.
> > > >
> > > > aditya at agniilap:~/geeta/installs/met/myrun-2jan2015$
./grid_stat1.sh
> > > >
> > > > *** Running Grid-Stat on APCP using netCDF input for both
forecast and
> > > > observation ***
> > > > DEBUG 1: Default Config File:
> > > >
/home/aditya/geeta/installs/met/share/met/config/GridStatConfig_default
> > > > DEBUG 1: User Config File: ./GridStatConfig_APCP24
> > > > ERROR  :
> > > > ERROR  : get_att_int(const NcVarInfo &, const ConcatString &,
int &) ->
> > > > attribute "accum_time_sec" should be an integer.
> > > > ERROR  :
> > > >  I checked the config file. I donot know where the acumulation
> > interval is
> > > > to be specified.
> > > >
> > > > Hoping to hear from you soon
> > > > Geeta
> > > >
> > > >
> > >
> > >
> > > --
> > > Julie Prestopnik
> > > National Center for Atmospheric Research
> > > Research Applications Laboratory
> > > Phone: 303.497.8399
> > > Email: jpresto at ucar.edu
> > >
> >
> >
>
>
> --
> Julie Prestopnik
> National Center for Atmospheric Research
> Research Applications Laboratory
> Phone: 303.497.8399
> Email: jpresto at ucar.edu
>

------------------------------------------------
Subject: Grid Stat
From: Julie Prestopnik
Time: Tue Jan 06 09:12:05 2015

One way you can edit a NetCDF file is by using the tools "ncdump" and
"ncgen".  For example, you could do something like this:

ncdump test.nc > test.txt

This creates an editable file called test.txt.  You could open that
with
the editor of your choice, remove the ".f" from:
APCP_03:accum_time_sec = 10800.f ;
and change the floating point values of APCP_03 to integer values.

Then, to create your new NetCDF file you could do something like this:

ncgen -b -o test2.nc test.txt

This creates a new NetCDF file called test2.nc using the file
test.txt.
This is not a good solution for 122 files though, which is why I
suggested
discussing this with the person who created the files.

I hope this helps.

Julie

On Tue, Jan 6, 2015 at 9:00 AM, Geeta Geeta via RT <met_help at ucar.edu>
wrote:

>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70245 >
>
> Hi Julie.
> I have made the fcst file using MET3.0 and the observations in
netcdf
> using the R script.
> Pls tell me how to edit the header file so that i do not get error
with
> the FLOAT thing.
> Geeta
>
> > Subject: Re: [rt.rap.ucar.edu #70245] Grid Stat
> > From: met_help at ucar.edu
> > To: geeta124 at hotmail.com
> > Date: Tue, 6 Jan 2015 08:55:23 -0700
> >
> > You can search the met help tickets using google.  For example,
say you
> > would like to search for "GridStat", you can put the following
search
> into
> > google:
> >
> > "GridStat" site::http://mailman.ucar.edu/pipermail/met_help/
> >
> > I hope that helps.
> >
> > Julie
> >
> > On Mon, Jan 5, 2015 at 10:13 PM, Geeta Geeta via RT
<met_help at ucar.edu>
> > wrote:
> >
> > >
> > > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70245 >
> > >
> > > Julie I want to know if I can look through the archives of the
> > > Tickets/problems. where i can get to see these.
> > >
> > > From: geeta124 at hotmail.com
> > > To: met_help at ucar.edu
> > > Subject: RE: [rt.rap.ucar.edu #70245] Grid Stat
> > > Date: Tue, 6 Jan 2015 10:16:04 +0530
> > >
> > >
> > >
> > >
> > > thanks Julie. But how will I edit the nc file. What U saw was
the
> header
> > > which is seen by running the command ncdump -h tet_fcst.nc. Pls
tell
> me
> > > how will I EDIT the HEADER and the DATA which is float ONLY and
not
> Integer.
> > > Also I have some 122 files. and may be more in future. Kindly
let me
> know
> > > how I have to proceed.
> > > I have a number of other queries for which i want to get the
reply.
> Kindly
> > > send me the answers to those. Geeta
> > >
> > >
> > > > Subject: Re: [rt.rap.ucar.edu #70245] Grid Stat
> > > > From: met_help at ucar.edu
> > > > To: geeta124 at hotmail.com
> > > > Date: Mon, 5 Jan 2015 10:04:36 -0700
> > > >
> > > > Hi Geeta.
> > > >
> > > > The error you are getting indicates that "accum_time_sec"
should be
> an
> > > > integer.  Looking in the file test.nc, I see that
> > > >
> > > > APCP_03:accum_time_sec = 10800.f ;
> > > >
> > > >
> > > > The ".f" indicates that accum_time_sec is a float, not an
integer.
> Try
> > > > changing that value to an integer and see if that fixes the
problem.
> > > >
> > > > Thanks,
> > > > Julie
> > > >
> > > > On Sun, Jan 4, 2015 at 6:04 AM, Geeta Geeta via RT <
> met_help at ucar.edu>
> > > > wrote:
> > > >
> > > > >
> > > > > Sun Jan 04 06:04:26 2015: Request 70245 was acted upon.
> > > > > Transaction: Ticket created by geeta124 at hotmail.com
> > > > >        Queue: met_help
> > > > >      Subject: Grid Stat
> > > > >        Owner: Nobody
> > > > >   Requestors: geeta124 at hotmail.com
> > > > >       Status: new
> > > > >  Ticket <URL:
> https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70245
> > > >
> > > > >
> > > > >
> > > > > Hi John.
> > > > >
> > > > > I sent U an error in the previous mail too.
> > > > > I realised that I was using the config file of MET3.0.
> > > > > Now I retried to run MET5.0 with config file given. I got
this
> error.
> > > > >
> > > > > aditya at agniilap:~/geeta/installs/met/myrun-2jan2015$
> ./grid_stat1.sh
> > > > >
> > > > > *** Running Grid-Stat on APCP using netCDF input for both
forecast
> and
> > > > > observation ***
> > > > > DEBUG 1: Default Config File:
> > > > >
>
/home/aditya/geeta/installs/met/share/met/config/GridStatConfig_default
> > > > > DEBUG 1: User Config File: ./GridStatConfig_APCP24
> > > > > ERROR  :
> > > > > ERROR  : get_att_int(const NcVarInfo &, const ConcatString
&, int
> &) ->
> > > > > attribute "accum_time_sec" should be an integer.
> > > > > ERROR  :
> > > > >  I checked the config file. I donot know where the
acumulation
> > > interval is
> > > > > to be specified.
> > > > >
> > > > > Hoping to hear from you soon
> > > > > Geeta
> > > > >
> > > > >
> > > >
> > > >
> > > > --
> > > > Julie Prestopnik
> > > > National Center for Atmospheric Research
> > > > Research Applications Laboratory
> > > > Phone: 303.497.8399
> > > > Email: jpresto at ucar.edu
> > > >
> > >
> > >
> >
> >
> > --
> > Julie Prestopnik
> > National Center for Atmospheric Research
> > Research Applications Laboratory
> > Phone: 303.497.8399
> > Email: jpresto at ucar.edu
> >
>
>


--
Julie Prestopnik
National Center for Atmospheric Research
Research Applications Laboratory
Phone: 303.497.8399
Email: jpresto at ucar.edu

------------------------------------------------
Subject: Grid Stat
From: Geeta Geeta
Time: Tue Jan 06 09:25:29 2015

thanks Julie.
I had basically TRMM data files which were converted to NETCDF by R
script by some one else.

Now at my end, I plan to do download the TRMM (3B42 ) in netcdf only.
But this is Global data.
Pls tell me what I need to do next so that the model and OBSN (TRMM)
are in same format and I can run GRID_STAT.
Pls suggest what best I can Do????
Geeta


> Subject: Re: [rt.rap.ucar.edu #70245] Grid Stat
> From: met_help at ucar.edu
> To: geeta124 at hotmail.com
> Date: Tue, 6 Jan 2015 09:12:05 -0700
>
> One way you can edit a NetCDF file is by using the tools "ncdump"
and
> "ncgen".  For example, you could do something like this:
>
> ncdump test.nc > test.txt
>
> This creates an editable file called test.txt.  You could open that
with
> the editor of your choice, remove the ".f" from:
> APCP_03:accum_time_sec = 10800.f ;
> and change the floating point values of APCP_03 to integer values.
>
> Then, to create your new NetCDF file you could do something like
this:
>
> ncgen -b -o test2.nc test.txt
>
> This creates a new NetCDF file called test2.nc using the file
test.txt.
> This is not a good solution for 122 files though, which is why I
suggested
> discussing this with the person who created the files.
>
> I hope this helps.
>
> Julie
>
> On Tue, Jan 6, 2015 at 9:00 AM, Geeta Geeta via RT
<met_help at ucar.edu>
> wrote:
>
> >
> > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70245 >
> >
> > Hi Julie.
> > I have made the fcst file using MET3.0 and the observations in
netcdf
> > using the R script.
> > Pls tell me how to edit the header file so that i do not get error
with
> > the FLOAT thing.
> > Geeta
> >
> > > Subject: Re: [rt.rap.ucar.edu #70245] Grid Stat
> > > From: met_help at ucar.edu
> > > To: geeta124 at hotmail.com
> > > Date: Tue, 6 Jan 2015 08:55:23 -0700
> > >
> > > You can search the met help tickets using google.  For example,
say you
> > > would like to search for "GridStat", you can put the following
search
> > into
> > > google:
> > >
> > > "GridStat" site::http://mailman.ucar.edu/pipermail/met_help/
> > >
> > > I hope that helps.
> > >
> > > Julie
> > >
> > > On Mon, Jan 5, 2015 at 10:13 PM, Geeta Geeta via RT
<met_help at ucar.edu>
> > > wrote:
> > >
> > > >
> > > > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70245
>
> > > >
> > > > Julie I want to know if I can look through the archives of the
> > > > Tickets/problems. where i can get to see these.
> > > >
> > > > From: geeta124 at hotmail.com
> > > > To: met_help at ucar.edu
> > > > Subject: RE: [rt.rap.ucar.edu #70245] Grid Stat
> > > > Date: Tue, 6 Jan 2015 10:16:04 +0530
> > > >
> > > >
> > > >
> > > >
> > > > thanks Julie. But how will I edit the nc file. What U saw was
the
> > header
> > > > which is seen by running the command ncdump -h tet_fcst.nc.
Pls tell
> > me
> > > > how will I EDIT the HEADER and the DATA which is float ONLY
and not
> > Integer.
> > > > Also I have some 122 files. and may be more in future. Kindly
let me
> > know
> > > > how I have to proceed.
> > > > I have a number of other queries for which i want to get the
reply.
> > Kindly
> > > > send me the answers to those. Geeta
> > > >
> > > >
> > > > > Subject: Re: [rt.rap.ucar.edu #70245] Grid Stat
> > > > > From: met_help at ucar.edu
> > > > > To: geeta124 at hotmail.com
> > > > > Date: Mon, 5 Jan 2015 10:04:36 -0700
> > > > >
> > > > > Hi Geeta.
> > > > >
> > > > > The error you are getting indicates that "accum_time_sec"
should be
> > an
> > > > > integer.  Looking in the file test.nc, I see that
> > > > >
> > > > > APCP_03:accum_time_sec = 10800.f ;
> > > > >
> > > > >
> > > > > The ".f" indicates that accum_time_sec is a float, not an
integer.
> > Try
> > > > > changing that value to an integer and see if that fixes the
problem.
> > > > >
> > > > > Thanks,
> > > > > Julie
> > > > >
> > > > > On Sun, Jan 4, 2015 at 6:04 AM, Geeta Geeta via RT <
> > met_help at ucar.edu>
> > > > > wrote:
> > > > >
> > > > > >
> > > > > > Sun Jan 04 06:04:26 2015: Request 70245 was acted upon.
> > > > > > Transaction: Ticket created by geeta124 at hotmail.com
> > > > > >        Queue: met_help
> > > > > >      Subject: Grid Stat
> > > > > >        Owner: Nobody
> > > > > >   Requestors: geeta124 at hotmail.com
> > > > > >       Status: new
> > > > > >  Ticket <URL:
> > https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70245
> > > > >
> > > > > >
> > > > > >
> > > > > > Hi John.
> > > > > >
> > > > > > I sent U an error in the previous mail too.
> > > > > > I realised that I was using the config file of MET3.0.
> > > > > > Now I retried to run MET5.0 with config file given. I got
this
> > error.
> > > > > >
> > > > > > aditya at agniilap:~/geeta/installs/met/myrun-2jan2015$
> > ./grid_stat1.sh
> > > > > >
> > > > > > *** Running Grid-Stat on APCP using netCDF input for both
forecast
> > and
> > > > > > observation ***
> > > > > > DEBUG 1: Default Config File:
> > > > > >
> >
/home/aditya/geeta/installs/met/share/met/config/GridStatConfig_default
> > > > > > DEBUG 1: User Config File: ./GridStatConfig_APCP24
> > > > > > ERROR  :
> > > > > > ERROR  : get_att_int(const NcVarInfo &, const ConcatString
&, int
> > &) ->
> > > > > > attribute "accum_time_sec" should be an integer.
> > > > > > ERROR  :
> > > > > >  I checked the config file. I donot know where the
acumulation
> > > > interval is
> > > > > > to be specified.
> > > > > >
> > > > > > Hoping to hear from you soon
> > > > > > Geeta
> > > > > >
> > > > > >
> > > > >
> > > > >
> > > > > --
> > > > > Julie Prestopnik
> > > > > National Center for Atmospheric Research
> > > > > Research Applications Laboratory
> > > > > Phone: 303.497.8399
> > > > > Email: jpresto at ucar.edu
> > > > >
> > > >
> > > >
> > >
> > >
> > > --
> > > Julie Prestopnik
> > > National Center for Atmospheric Research
> > > Research Applications Laboratory
> > > Phone: 303.497.8399
> > > Email: jpresto at ucar.edu
> > >
> >
> >
>
>
> --
> Julie Prestopnik
> National Center for Atmospheric Research
> Research Applications Laboratory
> Phone: 303.497.8399
> Email: jpresto at ucar.edu
>

------------------------------------------------
Subject: Grid Stat
From: Julie Prestopnik
Time: Tue Jan 06 10:08:01 2015

Hi Geeta.

It sounds like you're looking for a source of TRMM global data in a
format
that MET can handle.  We do have a page of the MET website with links
to
observation datasets:

And there is a source for TRMM data listed there, as well as an
Rscript
that can be used to convert the ASCII TRMM data into a NetCDF format
that
MET can read.  So I'd suggest doing the following:
(1) Select one of the TRMM data sources
(2) Retrieve the ASCII version of that TRMM data, being sure to select
a
geographic area similar to your model's domain.
(3) Run that data through trmm2nc.R script.
(4) I don't know what model you are using, but you may be able to use
copygb to regrid it to the same domain as the TRMM data.

I hope that helps.

Julie


On Tue, Jan 6, 2015 at 9:25 AM, Geeta Geeta via RT <met_help at ucar.edu>
wrote:

>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70245 >
>
> thanks Julie.
> I had basically TRMM data files which were converted to NETCDF by R
script
> by some one else.
>
> Now at my end, I plan to do download the TRMM (3B42 ) in netcdf
only. But
> this is Global data.
> Pls tell me what I need to do next so that the model and OBSN (TRMM)
are
> in same format and I can run GRID_STAT.
> Pls suggest what best I can Do????
> Geeta
>
>
> > Subject: Re: [rt.rap.ucar.edu #70245] Grid Stat
> > From: met_help at ucar.edu
> > To: geeta124 at hotmail.com
> > Date: Tue, 6 Jan 2015 09:12:05 -0700
> >
> > One way you can edit a NetCDF file is by using the tools "ncdump"
and
> > "ncgen".  For example, you could do something like this:
> >
> > ncdump test.nc > test.txt
> >
> > This creates an editable file called test.txt.  You could open
that with
> > the editor of your choice, remove the ".f" from:
> > APCP_03:accum_time_sec = 10800.f ;
> > and change the floating point values of APCP_03 to integer values.
> >
> > Then, to create your new NetCDF file you could do something like
this:
> >
> > ncgen -b -o test2.nc test.txt
> >
> > This creates a new NetCDF file called test2.nc using the file
test.txt.
> > This is not a good solution for 122 files though, which is why I
> suggested
> > discussing this with the person who created the files.
> >
> > I hope this helps.
> >
> > Julie
> >
> > On Tue, Jan 6, 2015 at 9:00 AM, Geeta Geeta via RT
<met_help at ucar.edu>
> > wrote:
> >
> > >
> > > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70245 >
> > >
> > > Hi Julie.
> > > I have made the fcst file using MET3.0 and the observations in
netcdf
> > > using the R script.
> > > Pls tell me how to edit the header file so that i do not get
error with
> > > the FLOAT thing.
> > > Geeta
> > >
> > > > Subject: Re: [rt.rap.ucar.edu #70245] Grid Stat
> > > > From: met_help at ucar.edu
> > > > To: geeta124 at hotmail.com
> > > > Date: Tue, 6 Jan 2015 08:55:23 -0700
> > > >
> > > > You can search the met help tickets using google.  For
example, say
> you
> > > > would like to search for "GridStat", you can put the following
search
> > > into
> > > > google:
> > > >
> > > > "GridStat" site::http://mailman.ucar.edu/pipermail/met_help/
> > > >
> > > > I hope that helps.
> > > >
> > > > Julie
> > > >
> > > > On Mon, Jan 5, 2015 at 10:13 PM, Geeta Geeta via RT <
> met_help at ucar.edu>
> > > > wrote:
> > > >
> > > > >
> > > > > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70245 >
> > > > >
> > > > > Julie I want to know if I can look through the archives of
the
> > > > > Tickets/problems. where i can get to see these.
> > > > >
> > > > > From: geeta124 at hotmail.com
> > > > > To: met_help at ucar.edu
> > > > > Subject: RE: [rt.rap.ucar.edu #70245] Grid Stat
> > > > > Date: Tue, 6 Jan 2015 10:16:04 +0530
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > thanks Julie. But how will I edit the nc file. What U saw
was the
> > > header
> > > > > which is seen by running the command ncdump -h tet_fcst.nc.
Pls
> tell
> > > me
> > > > > how will I EDIT the HEADER and the DATA which is float ONLY
and not
> > > Integer.
> > > > > Also I have some 122 files. and may be more in future.
Kindly let
> me
> > > know
> > > > > how I have to proceed.
> > > > > I have a number of other queries for which i want to get the
reply.
> > > Kindly
> > > > > send me the answers to those. Geeta
> > > > >
> > > > >
> > > > > > Subject: Re: [rt.rap.ucar.edu #70245] Grid Stat
> > > > > > From: met_help at ucar.edu
> > > > > > To: geeta124 at hotmail.com
> > > > > > Date: Mon, 5 Jan 2015 10:04:36 -0700
> > > > > >
> > > > > > Hi Geeta.
> > > > > >
> > > > > > The error you are getting indicates that "accum_time_sec"
should
> be
> > > an
> > > > > > integer.  Looking in the file test.nc, I see that
> > > > > >
> > > > > > APCP_03:accum_time_sec = 10800.f ;
> > > > > >
> > > > > >
> > > > > > The ".f" indicates that accum_time_sec is a float, not an
> integer.
> > > Try
> > > > > > changing that value to an integer and see if that fixes
the
> problem.
> > > > > >
> > > > > > Thanks,
> > > > > > Julie
> > > > > >
> > > > > > On Sun, Jan 4, 2015 at 6:04 AM, Geeta Geeta via RT <
> > > met_help at ucar.edu>
> > > > > > wrote:
> > > > > >
> > > > > > >
> > > > > > > Sun Jan 04 06:04:26 2015: Request 70245 was acted upon.
> > > > > > > Transaction: Ticket created by geeta124 at hotmail.com
> > > > > > >        Queue: met_help
> > > > > > >      Subject: Grid Stat
> > > > > > >        Owner: Nobody
> > > > > > >   Requestors: geeta124 at hotmail.com
> > > > > > >       Status: new
> > > > > > >  Ticket <URL:
> > > https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70245
> > > > > >
> > > > > > >
> > > > > > >
> > > > > > > Hi John.
> > > > > > >
> > > > > > > I sent U an error in the previous mail too.
> > > > > > > I realised that I was using the config file of MET3.0.
> > > > > > > Now I retried to run MET5.0 with config file given. I
got this
> > > error.
> > > > > > >
> > > > > > > aditya at agniilap:~/geeta/installs/met/myrun-2jan2015$
> > > ./grid_stat1.sh
> > > > > > >
> > > > > > > *** Running Grid-Stat on APCP using netCDF input for
both
> forecast
> > > and
> > > > > > > observation ***
> > > > > > > DEBUG 1: Default Config File:
> > > > > > >
> > >
/home/aditya/geeta/installs/met/share/met/config/GridStatConfig_default
> > > > > > > DEBUG 1: User Config File: ./GridStatConfig_APCP24
> > > > > > > ERROR  :
> > > > > > > ERROR  : get_att_int(const NcVarInfo &, const
ConcatString &,
> int
> > > &) ->
> > > > > > > attribute "accum_time_sec" should be an integer.
> > > > > > > ERROR  :
> > > > > > >  I checked the config file. I donot know where the
acumulation
> > > > > interval is
> > > > > > > to be specified.
> > > > > > >
> > > > > > > Hoping to hear from you soon
> > > > > > > Geeta
> > > > > > >
> > > > > > >
> > > > > >
> > > > > >
> > > > > > --
> > > > > > Julie Prestopnik
> > > > > > National Center for Atmospheric Research
> > > > > > Research Applications Laboratory
> > > > > > Phone: 303.497.8399
> > > > > > Email: jpresto at ucar.edu
> > > > > >
> > > > >
> > > > >
> > > >
> > > >
> > > > --
> > > > Julie Prestopnik
> > > > National Center for Atmospheric Research
> > > > Research Applications Laboratory
> > > > Phone: 303.497.8399
> > > > Email: jpresto at ucar.edu
> > > >
> > >
> > >
> >
> >
> > --
> > Julie Prestopnik
> > National Center for Atmospheric Research
> > Research Applications Laboratory
> > Phone: 303.497.8399
> > Email: jpresto at ucar.edu
> >
>
>


--
Julie Prestopnik
National Center for Atmospheric Research
Research Applications Laboratory
Phone: 303.497.8399
Email: jpresto at ucar.edu

------------------------------------------------
Subject: Grid Stat
From: Geeta Geeta
Time: Tue Jan 06 10:39:22 2015

thanks Julie I know of the links to get the data.
But unfortunately, I am unable to run R on my system .
I have never used it.
let me show u the screenshot that opened when I said R on my shell.

aditya at agniilap:~/geeta/MET5.0/met-5.0/data/config$ R

R version 3.1.1 (2014-07-10) -- "Sock it to Me"
Copyright (C) 2014 The R Foundation for Statistical Computing
Platform: i686-pc-linux-gnu (32-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

  Natural language support but running in an English locale

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

> trmmbin2nc.R


Can U guide me further?????????????
Geeta

> Subject: Re: [rt.rap.ucar.edu #70245] Grid Stat
> From: met_help at ucar.edu
> To: geeta124 at hotmail.com
> Date: Tue, 6 Jan 2015 10:08:01 -0700
>
> Hi Geeta.
>
> It sounds like you're looking for a source of TRMM global data in a
format
> that MET can handle.  We do have a page of the MET website with
links to
> observation datasets:
>
> And there is a source for TRMM data listed there, as well as an
Rscript
> that can be used to convert the ASCII TRMM data into a NetCDF format
that
> MET can read.  So I'd suggest doing the following:
> (1) Select one of the TRMM data sources
> (2) Retrieve the ASCII version of that TRMM data, being sure to
select a
> geographic area similar to your model's domain.
> (3) Run that data through trmm2nc.R script.
> (4) I don't know what model you are using, but you may be able to
use
> copygb to regrid it to the same domain as the TRMM data.
>
> I hope that helps.
>
> Julie
>
>
> On Tue, Jan 6, 2015 at 9:25 AM, Geeta Geeta via RT
<met_help at ucar.edu>
> wrote:
>
> >
> > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70245 >
> >
> > thanks Julie.
> > I had basically TRMM data files which were converted to NETCDF by
R script
> > by some one else.
> >
> > Now at my end, I plan to do download the TRMM (3B42 ) in netcdf
only. But
> > this is Global data.
> > Pls tell me what I need to do next so that the model and OBSN
(TRMM) are
> > in same format and I can run GRID_STAT.
> > Pls suggest what best I can Do????
> > Geeta
> >
> >
> > > Subject: Re: [rt.rap.ucar.edu #70245] Grid Stat
> > > From: met_help at ucar.edu
> > > To: geeta124 at hotmail.com
> > > Date: Tue, 6 Jan 2015 09:12:05 -0700
> > >
> > > One way you can edit a NetCDF file is by using the tools
"ncdump" and
> > > "ncgen".  For example, you could do something like this:
> > >
> > > ncdump test.nc > test.txt
> > >
> > > This creates an editable file called test.txt.  You could open
that with
> > > the editor of your choice, remove the ".f" from:
> > > APCP_03:accum_time_sec = 10800.f ;
> > > and change the floating point values of APCP_03 to integer
values.
> > >
> > > Then, to create your new NetCDF file you could do something like
this:
> > >
> > > ncgen -b -o test2.nc test.txt
> > >
> > > This creates a new NetCDF file called test2.nc using the file
test.txt.
> > > This is not a good solution for 122 files though, which is why I
> > suggested
> > > discussing this with the person who created the files.
> > >
> > > I hope this helps.
> > >
> > > Julie
> > >
> > > On Tue, Jan 6, 2015 at 9:00 AM, Geeta Geeta via RT
<met_help at ucar.edu>
> > > wrote:
> > >
> > > >
> > > > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70245
>
> > > >
> > > > Hi Julie.
> > > > I have made the fcst file using MET3.0 and the observations in
netcdf
> > > > using the R script.
> > > > Pls tell me how to edit the header file so that i do not get
error with
> > > > the FLOAT thing.
> > > > Geeta
> > > >
> > > > > Subject: Re: [rt.rap.ucar.edu #70245] Grid Stat
> > > > > From: met_help at ucar.edu
> > > > > To: geeta124 at hotmail.com
> > > > > Date: Tue, 6 Jan 2015 08:55:23 -0700
> > > > >
> > > > > You can search the met help tickets using google.  For
example, say
> > you
> > > > > would like to search for "GridStat", you can put the
following search
> > > > into
> > > > > google:
> > > > >
> > > > > "GridStat" site::http://mailman.ucar.edu/pipermail/met_help/
> > > > >
> > > > > I hope that helps.
> > > > >
> > > > > Julie
> > > > >
> > > > > On Mon, Jan 5, 2015 at 10:13 PM, Geeta Geeta via RT <
> > met_help at ucar.edu>
> > > > > wrote:
> > > > >
> > > > > >
> > > > > > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70245 >
> > > > > >
> > > > > > Julie I want to know if I can look through the archives of
the
> > > > > > Tickets/problems. where i can get to see these.
> > > > > >
> > > > > > From: geeta124 at hotmail.com
> > > > > > To: met_help at ucar.edu
> > > > > > Subject: RE: [rt.rap.ucar.edu #70245] Grid Stat
> > > > > > Date: Tue, 6 Jan 2015 10:16:04 +0530
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > > thanks Julie. But how will I edit the nc file. What U saw
was the
> > > > header
> > > > > > which is seen by running the command ncdump -h
tet_fcst.nc. Pls
> > tell
> > > > me
> > > > > > how will I EDIT the HEADER and the DATA which is float
ONLY and not
> > > > Integer.
> > > > > > Also I have some 122 files. and may be more in future.
Kindly let
> > me
> > > > know
> > > > > > how I have to proceed.
> > > > > > I have a number of other queries for which i want to get
the reply.
> > > > Kindly
> > > > > > send me the answers to those. Geeta
> > > > > >
> > > > > >
> > > > > > > Subject: Re: [rt.rap.ucar.edu #70245] Grid Stat
> > > > > > > From: met_help at ucar.edu
> > > > > > > To: geeta124 at hotmail.com
> > > > > > > Date: Mon, 5 Jan 2015 10:04:36 -0700
> > > > > > >
> > > > > > > Hi Geeta.
> > > > > > >
> > > > > > > The error you are getting indicates that
"accum_time_sec" should
> > be
> > > > an
> > > > > > > integer.  Looking in the file test.nc, I see that
> > > > > > >
> > > > > > > APCP_03:accum_time_sec = 10800.f ;
> > > > > > >
> > > > > > >
> > > > > > > The ".f" indicates that accum_time_sec is a float, not
an
> > integer.
> > > > Try
> > > > > > > changing that value to an integer and see if that fixes
the
> > problem.
> > > > > > >
> > > > > > > Thanks,
> > > > > > > Julie
> > > > > > >
> > > > > > > On Sun, Jan 4, 2015 at 6:04 AM, Geeta Geeta via RT <
> > > > met_help at ucar.edu>
> > > > > > > wrote:
> > > > > > >
> > > > > > > >
> > > > > > > > Sun Jan 04 06:04:26 2015: Request 70245 was acted
upon.
> > > > > > > > Transaction: Ticket created by geeta124 at hotmail.com
> > > > > > > >        Queue: met_help
> > > > > > > >      Subject: Grid Stat
> > > > > > > >        Owner: Nobody
> > > > > > > >   Requestors: geeta124 at hotmail.com
> > > > > > > >       Status: new
> > > > > > > >  Ticket <URL:
> > > > https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70245
> > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > Hi John.
> > > > > > > >
> > > > > > > > I sent U an error in the previous mail too.
> > > > > > > > I realised that I was using the config file of MET3.0.
> > > > > > > > Now I retried to run MET5.0 with config file given. I
got this
> > > > error.
> > > > > > > >
> > > > > > > > aditya at agniilap:~/geeta/installs/met/myrun-2jan2015$
> > > > ./grid_stat1.sh
> > > > > > > >
> > > > > > > > *** Running Grid-Stat on APCP using netCDF input for
both
> > forecast
> > > > and
> > > > > > > > observation ***
> > > > > > > > DEBUG 1: Default Config File:
> > > > > > > >
> > > >
/home/aditya/geeta/installs/met/share/met/config/GridStatConfig_default
> > > > > > > > DEBUG 1: User Config File: ./GridStatConfig_APCP24
> > > > > > > > ERROR  :
> > > > > > > > ERROR  : get_att_int(const NcVarInfo &, const
ConcatString &,
> > int
> > > > &) ->
> > > > > > > > attribute "accum_time_sec" should be an integer.
> > > > > > > > ERROR  :
> > > > > > > >  I checked the config file. I donot know where the
acumulation
> > > > > > interval is
> > > > > > > > to be specified.
> > > > > > > >
> > > > > > > > Hoping to hear from you soon
> > > > > > > > Geeta
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > --
> > > > > > > Julie Prestopnik
> > > > > > > National Center for Atmospheric Research
> > > > > > > Research Applications Laboratory
> > > > > > > Phone: 303.497.8399
> > > > > > > Email: jpresto at ucar.edu
> > > > > > >
> > > > > >
> > > > > >
> > > > >
> > > > >
> > > > > --
> > > > > Julie Prestopnik
> > > > > National Center for Atmospheric Research
> > > > > Research Applications Laboratory
> > > > > Phone: 303.497.8399
> > > > > Email: jpresto at ucar.edu
> > > > >
> > > >
> > > >
> > >
> > >
> > > --
> > > Julie Prestopnik
> > > National Center for Atmospheric Research
> > > Research Applications Laboratory
> > > Phone: 303.497.8399
> > > Email: jpresto at ucar.edu
> > >
> >
> >
>
>
> --
> Julie Prestopnik
> National Center for Atmospheric Research
> Research Applications Laboratory
> Phone: 303.497.8399
> Email: jpresto at ucar.edu
>

------------------------------------------------
Subject: Grid Stat
From: Geeta Geeta
Time: Tue Jan 06 10:47:33 2015

Julie this is how i tried to run trmmbin2nc.R script.

aditya at agniilap:~/geeta/installs/met/trmm_to_nc$ R

R version 3.1.1 (2014-07-10) -- "Sock it to Me"
Copyright (C) 2014 The R Foundation for Statistical Computing
Platform: i686-pc-linux-gnu (32-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

  Natural language support but running in an English locale

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

> Rscript trmmbin2nc.R 3B42.20110602.00.7.nc mync.nc
Error: unexpected symbol in "Rscript trmmbin2nc.R"
>

Donot know what's happening???????. Stuck again
Geeta

From: geeta124 at hotmail.com
To: met_help at ucar.edu
Subject: RE: [rt.rap.ucar.edu #70245] Grid Stat
Date: Tue, 6 Jan 2015 23:09:18 +0530




thanks Julie I know of the links to get the data.
But unfortunately, I am unable to run R on my system .
I have never used it.
let me show u the screenshot that opened when I said R on my shell.

aditya at agniilap:~/geeta/MET5.0/met-5.0/data/config$ R

R version 3.1.1 (2014-07-10) -- "Sock it to Me"
Copyright (C) 2014 The R Foundation for Statistical Computing
Platform: i686-pc-linux-gnu (32-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

  Natural language support but running in an English locale

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

> trmmbin2nc.R


Can U guide me further?????????????
Geeta

> Subject: Re: [rt.rap.ucar.edu #70245] Grid Stat
> From: met_help at ucar.edu
> To: geeta124 at hotmail.com
> Date: Tue, 6 Jan 2015 10:08:01 -0700
>
> Hi Geeta.
>
> It sounds like you're looking for a source of TRMM global data in a
format
> that MET can handle.  We do have a page of the MET website with
links to
> observation datasets:
>
> And there is a source for TRMM data listed there, as well as an
Rscript
> that can be used to convert the ASCII TRMM data into a NetCDF format
that
> MET can read.  So I'd suggest doing the following:
> (1) Select one of the TRMM data sources
> (2) Retrieve the ASCII version of that TRMM data, being sure to
select a
> geographic area similar to your model's domain.
> (3) Run that data through trmm2nc.R script.
> (4) I don't know what model you are using, but you may be able to
use
> copygb to regrid it to the same domain as the TRMM data.
>
> I hope that helps.
>
> Julie
>
>
> On Tue, Jan 6, 2015 at 9:25 AM, Geeta Geeta via RT
<met_help at ucar.edu>
> wrote:
>
> >
> > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70245 >
> >
> > thanks Julie.
> > I had basically TRMM data files which were converted to NETCDF by
R script
> > by some one else.
> >
> > Now at my end, I plan to do download the TRMM (3B42 ) in netcdf
only. But
> > this is Global data.
> > Pls tell me what I need to do next so that the model and OBSN
(TRMM) are
> > in same format and I can run GRID_STAT.
> > Pls suggest what best I can Do????
> > Geeta
> >
> >
> > > Subject: Re: [rt.rap.ucar.edu #70245] Grid Stat
> > > From: met_help at ucar.edu
> > > To: geeta124 at hotmail.com
> > > Date: Tue, 6 Jan 2015 09:12:05 -0700
> > >
> > > One way you can edit a NetCDF file is by using the tools
"ncdump" and
> > > "ncgen".  For example, you could do something like this:
> > >
> > > ncdump test.nc > test.txt
> > >
> > > This creates an editable file called test.txt.  You could open
that with
> > > the editor of your choice, remove the ".f" from:
> > > APCP_03:accum_time_sec = 10800.f ;
> > > and change the floating point values of APCP_03 to integer
values.
> > >
> > > Then, to create your new NetCDF file you could do something like
this:
> > >
> > > ncgen -b -o test2.nc test.txt
> > >
> > > This creates a new NetCDF file called test2.nc using the file
test.txt.
> > > This is not a good solution for 122 files though, which is why I
> > suggested
> > > discussing this with the person who created the files.
> > >
> > > I hope this helps.
> > >
> > > Julie
> > >
> > > On Tue, Jan 6, 2015 at 9:00 AM, Geeta Geeta via RT
<met_help at ucar.edu>
> > > wrote:
> > >
> > > >
> > > > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70245
>
> > > >
> > > > Hi Julie.
> > > > I have made the fcst file using MET3.0 and the observations in
netcdf
> > > > using the R script.
> > > > Pls tell me how to edit the header file so that i do not get
error with
> > > > the FLOAT thing.
> > > > Geeta
> > > >
> > > > > Subject: Re: [rt.rap.ucar.edu #70245] Grid Stat
> > > > > From: met_help at ucar.edu
> > > > > To: geeta124 at hotmail.com
> > > > > Date: Tue, 6 Jan 2015 08:55:23 -0700
> > > > >
> > > > > You can search the met help tickets using google.  For
example, say
> > you
> > > > > would like to search for "GridStat", you can put the
following search
> > > > into
> > > > > google:
> > > > >
> > > > > "GridStat" site::http://mailman.ucar.edu/pipermail/met_help/
> > > > >
> > > > > I hope that helps.
> > > > >
> > > > > Julie
> > > > >
> > > > > On Mon, Jan 5, 2015 at 10:13 PM, Geeta Geeta via RT <
> > met_help at ucar.edu>
> > > > > wrote:
> > > > >
> > > > > >
> > > > > > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70245 >
> > > > > >
> > > > > > Julie I want to know if I can look through the archives of
the
> > > > > > Tickets/problems. where i can get to see these.
> > > > > >
> > > > > > From: geeta124 at hotmail.com
> > > > > > To: met_help at ucar.edu
> > > > > > Subject: RE: [rt.rap.ucar.edu #70245] Grid Stat
> > > > > > Date: Tue, 6 Jan 2015 10:16:04 +0530
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > > thanks Julie. But how will I edit the nc file. What U saw
was the
> > > > header
> > > > > > which is seen by running the command ncdump -h
tet_fcst.nc. Pls
> > tell
> > > > me
> > > > > > how will I EDIT the HEADER and the DATA which is float
ONLY and not
> > > > Integer.
> > > > > > Also I have some 122 files. and may be more in future.
Kindly let
> > me
> > > > know
> > > > > > how I have to proceed.
> > > > > > I have a number of other queries for which i want to get
the reply.
> > > > Kindly
> > > > > > send me the answers to those. Geeta
> > > > > >
> > > > > >
> > > > > > > Subject: Re: [rt.rap.ucar.edu #70245] Grid Stat
> > > > > > > From: met_help at ucar.edu
> > > > > > > To: geeta124 at hotmail.com
> > > > > > > Date: Mon, 5 Jan 2015 10:04:36 -0700
> > > > > > >
> > > > > > > Hi Geeta.
> > > > > > >
> > > > > > > The error you are getting indicates that
"accum_time_sec" should
> > be
> > > > an
> > > > > > > integer.  Looking in the file test.nc, I see that
> > > > > > >
> > > > > > > APCP_03:accum_time_sec = 10800.f ;
> > > > > > >
> > > > > > >
> > > > > > > The ".f" indicates that accum_time_sec is a float, not
an
> > integer.
> > > > Try
> > > > > > > changing that value to an integer and see if that fixes
the
> > problem.
> > > > > > >
> > > > > > > Thanks,
> > > > > > > Julie
> > > > > > >
> > > > > > > On Sun, Jan 4, 2015 at 6:04 AM, Geeta Geeta via RT <
> > > > met_help at ucar.edu>
> > > > > > > wrote:
> > > > > > >
> > > > > > > >
> > > > > > > > Sun Jan 04 06:04:26 2015: Request 70245 was acted
upon.
> > > > > > > > Transaction: Ticket created by geeta124 at hotmail.com
> > > > > > > >        Queue: met_help
> > > > > > > >      Subject: Grid Stat
> > > > > > > >        Owner: Nobody
> > > > > > > >   Requestors: geeta124 at hotmail.com
> > > > > > > >       Status: new
> > > > > > > >  Ticket <URL:
> > > > https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70245
> > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > Hi John.
> > > > > > > >
> > > > > > > > I sent U an error in the previous mail too.
> > > > > > > > I realised that I was using the config file of MET3.0.
> > > > > > > > Now I retried to run MET5.0 with config file given. I
got this
> > > > error.
> > > > > > > >
> > > > > > > > aditya at agniilap:~/geeta/installs/met/myrun-2jan2015$
> > > > ./grid_stat1.sh
> > > > > > > >
> > > > > > > > *** Running Grid-Stat on APCP using netCDF input for
both
> > forecast
> > > > and
> > > > > > > > observation ***
> > > > > > > > DEBUG 1: Default Config File:
> > > > > > > >
> > > >
/home/aditya/geeta/installs/met/share/met/config/GridStatConfig_default
> > > > > > > > DEBUG 1: User Config File: ./GridStatConfig_APCP24
> > > > > > > > ERROR  :
> > > > > > > > ERROR  : get_att_int(const NcVarInfo &, const
ConcatString &,
> > int
> > > > &) ->
> > > > > > > > attribute "accum_time_sec" should be an integer.
> > > > > > > > ERROR  :
> > > > > > > >  I checked the config file. I donot know where the
acumulation
> > > > > > interval is
> > > > > > > > to be specified.
> > > > > > > >
> > > > > > > > Hoping to hear from you soon
> > > > > > > > Geeta
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > --
> > > > > > > Julie Prestopnik
> > > > > > > National Center for Atmospheric Research
> > > > > > > Research Applications Laboratory
> > > > > > > Phone: 303.497.8399
> > > > > > > Email: jpresto at ucar.edu
> > > > > > >
> > > > > >
> > > > > >
> > > > >
> > > > >
> > > > > --
> > > > > Julie Prestopnik
> > > > > National Center for Atmospheric Research
> > > > > Research Applications Laboratory
> > > > > Phone: 303.497.8399
> > > > > Email: jpresto at ucar.edu
> > > > >
> > > >
> > > >
> > >
> > >
> > > --
> > > Julie Prestopnik
> > > National Center for Atmospheric Research
> > > Research Applications Laboratory
> > > Phone: 303.497.8399
> > > Email: jpresto at ucar.edu
> > >
> >
> >
>
>
> --
> Julie Prestopnik
> National Center for Atmospheric Research
> Research Applications Laboratory
> Phone: 303.497.8399
> Email: jpresto at ucar.edu
>

------------------------------------------------
Subject: Grid Stat
From: Geeta Geeta
Time: Tue Jan 06 10:49:32 2015

Hi Julie. this is just to give u a little more info.

aditya at agniilap:~/geeta/installs/met$ cd trmm_to_nc/
aditya at agniilap:~/geeta/installs/met/trmm_to_nc$ ls -l
total 13528
-rw-rw-r-- 1 aditya aditya 13841488 Jan  6 23:12 3B42.20110602.00.7.nc
-rw-rw-r-- 1 aditya aditya     8103 Jan  6 23:12 trmmbin2nc.R
aditya at agniilap:~/geeta/installs/met/trmm_to_nc$ pwd
/home/aditya/geeta/installs/met/trmm_to_nc

Kindly Guide???


From: geeta124 at hotmail.com
To: met_help at ucar.edu
Subject: RE: [rt.rap.ucar.edu #70245] Grid Stat
Date: Tue, 6 Jan 2015 23:16:04 +0530




Julie this is how i tried to run trmmbin2nc.R script.

aditya at agniilap:~/geeta/installs/met/trmm_to_nc$ R

R version 3.1.1 (2014-07-10) -- "Sock it to Me"
Copyright (C) 2014 The R Foundation for Statistical Computing
Platform: i686-pc-linux-gnu (32-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

  Natural language support but running in an English locale

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

> Rscript trmmbin2nc.R 3B42.20110602.00.7.nc mync.nc
Error: unexpected symbol in "Rscript trmmbin2nc.R"
>

Donot know what's happening???????. Stuck again
Geeta

From: geeta124 at hotmail.com
To: met_help at ucar.edu
Subject: RE: [rt.rap.ucar.edu #70245] Grid Stat
Date: Tue, 6 Jan 2015 23:09:18 +0530




thanks Julie I know of the links to get the data.
But unfortunately, I am unable to run R on my system .
I have never used it.
let me show u the screenshot that opened when I said R on my shell.

aditya at agniilap:~/geeta/MET5.0/met-5.0/data/config$ R

R version 3.1.1 (2014-07-10) -- "Sock it to Me"
Copyright (C) 2014 The R Foundation for Statistical Computing
Platform: i686-pc-linux-gnu (32-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

  Natural language support but running in an English locale

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

> trmmbin2nc.R


Can U guide me further?????????????
Geeta

> Subject: Re: [rt.rap.ucar.edu #70245] Grid Stat
> From: met_help at ucar.edu
> To: geeta124 at hotmail.com
> Date: Tue, 6 Jan 2015 10:08:01 -0700
>
> Hi Geeta.
>
> It sounds like you're looking for a source of TRMM global data in a
format
> that MET can handle.  We do have a page of the MET website with
links to
> observation datasets:
>
> And there is a source for TRMM data listed there, as well as an
Rscript
> that can be used to convert the ASCII TRMM data into a NetCDF format
that
> MET can read.  So I'd suggest doing the following:
> (1) Select one of the TRMM data sources
> (2) Retrieve the ASCII version of that TRMM data, being sure to
select a
> geographic area similar to your model's domain.
> (3) Run that data through trmm2nc.R script.
> (4) I don't know what model you are using, but you may be able to
use
> copygb to regrid it to the same domain as the TRMM data.
>
> I hope that helps.
>
> Julie
>
>
> On Tue, Jan 6, 2015 at 9:25 AM, Geeta Geeta via RT
<met_help at ucar.edu>
> wrote:
>
> >
> > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70245 >
> >
> > thanks Julie.
> > I had basically TRMM data files which were converted to NETCDF by
R script
> > by some one else.
> >
> > Now at my end, I plan to do download the TRMM (3B42 ) in netcdf
only. But
> > this is Global data.
> > Pls tell me what I need to do next so that the model and OBSN
(TRMM) are
> > in same format and I can run GRID_STAT.
> > Pls suggest what best I can Do????
> > Geeta
> >
> >
> > > Subject: Re: [rt.rap.ucar.edu #70245] Grid Stat
> > > From: met_help at ucar.edu
> > > To: geeta124 at hotmail.com
> > > Date: Tue, 6 Jan 2015 09:12:05 -0700
> > >
> > > One way you can edit a NetCDF file is by using the tools
"ncdump" and
> > > "ncgen".  For example, you could do something like this:
> > >
> > > ncdump test.nc > test.txt
> > >
> > > This creates an editable file called test.txt.  You could open
that with
> > > the editor of your choice, remove the ".f" from:
> > > APCP_03:accum_time_sec = 10800.f ;
> > > and change the floating point values of APCP_03 to integer
values.
> > >
> > > Then, to create your new NetCDF file you could do something like
this:
> > >
> > > ncgen -b -o test2.nc test.txt
> > >
> > > This creates a new NetCDF file called test2.nc using the file
test.txt.
> > > This is not a good solution for 122 files though, which is why I
> > suggested
> > > discussing this with the person who created the files.
> > >
> > > I hope this helps.
> > >
> > > Julie
> > >
> > > On Tue, Jan 6, 2015 at 9:00 AM, Geeta Geeta via RT
<met_help at ucar.edu>
> > > wrote:
> > >
> > > >
> > > > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70245
>
> > > >
> > > > Hi Julie.
> > > > I have made the fcst file using MET3.0 and the observations in
netcdf
> > > > using the R script.
> > > > Pls tell me how to edit the header file so that i do not get
error with
> > > > the FLOAT thing.
> > > > Geeta
> > > >
> > > > > Subject: Re: [rt.rap.ucar.edu #70245] Grid Stat
> > > > > From: met_help at ucar.edu
> > > > > To: geeta124 at hotmail.com
> > > > > Date: Tue, 6 Jan 2015 08:55:23 -0700
> > > > >
> > > > > You can search the met help tickets using google.  For
example, say
> > you
> > > > > would like to search for "GridStat", you can put the
following search
> > > > into
> > > > > google:
> > > > >
> > > > > "GridStat" site::http://mailman.ucar.edu/pipermail/met_help/
> > > > >
> > > > > I hope that helps.
> > > > >
> > > > > Julie
> > > > >
> > > > > On Mon, Jan 5, 2015 at 10:13 PM, Geeta Geeta via RT <
> > met_help at ucar.edu>
> > > > > wrote:
> > > > >
> > > > > >
> > > > > > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70245 >
> > > > > >
> > > > > > Julie I want to know if I can look through the archives of
the
> > > > > > Tickets/problems. where i can get to see these.
> > > > > >
> > > > > > From: geeta124 at hotmail.com
> > > > > > To: met_help at ucar.edu
> > > > > > Subject: RE: [rt.rap.ucar.edu #70245] Grid Stat
> > > > > > Date: Tue, 6 Jan 2015 10:16:04 +0530
> > > > > >
> > > > > >
> > > > > >
> > > > > >
> > > > > > thanks Julie. But how will I edit the nc file. What U saw
was the
> > > > header
> > > > > > which is seen by running the command ncdump -h
tet_fcst.nc. Pls
> > tell
> > > > me
> > > > > > how will I EDIT the HEADER and the DATA which is float
ONLY and not
> > > > Integer.
> > > > > > Also I have some 122 files. and may be more in future.
Kindly let
> > me
> > > > know
> > > > > > how I have to proceed.
> > > > > > I have a number of other queries for which i want to get
the reply.
> > > > Kindly
> > > > > > send me the answers to those. Geeta
> > > > > >
> > > > > >
> > > > > > > Subject: Re: [rt.rap.ucar.edu #70245] Grid Stat
> > > > > > > From: met_help at ucar.edu
> > > > > > > To: geeta124 at hotmail.com
> > > > > > > Date: Mon, 5 Jan 2015 10:04:36 -0700
> > > > > > >
> > > > > > > Hi Geeta.
> > > > > > >
> > > > > > > The error you are getting indicates that
"accum_time_sec" should
> > be
> > > > an
> > > > > > > integer.  Looking in the file test.nc, I see that
> > > > > > >
> > > > > > > APCP_03:accum_time_sec = 10800.f ;
> > > > > > >
> > > > > > >
> > > > > > > The ".f" indicates that accum_time_sec is a float, not
an
> > integer.
> > > > Try
> > > > > > > changing that value to an integer and see if that fixes
the
> > problem.
> > > > > > >
> > > > > > > Thanks,
> > > > > > > Julie
> > > > > > >
> > > > > > > On Sun, Jan 4, 2015 at 6:04 AM, Geeta Geeta via RT <
> > > > met_help at ucar.edu>
> > > > > > > wrote:
> > > > > > >
> > > > > > > >
> > > > > > > > Sun Jan 04 06:04:26 2015: Request 70245 was acted
upon.
> > > > > > > > Transaction: Ticket created by geeta124 at hotmail.com
> > > > > > > >        Queue: met_help
> > > > > > > >      Subject: Grid Stat
> > > > > > > >        Owner: Nobody
> > > > > > > >   Requestors: geeta124 at hotmail.com
> > > > > > > >       Status: new
> > > > > > > >  Ticket <URL:
> > > > https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70245
> > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > Hi John.
> > > > > > > >
> > > > > > > > I sent U an error in the previous mail too.
> > > > > > > > I realised that I was using the config file of MET3.0.
> > > > > > > > Now I retried to run MET5.0 with config file given. I
got this
> > > > error.
> > > > > > > >
> > > > > > > > aditya at agniilap:~/geeta/installs/met/myrun-2jan2015$
> > > > ./grid_stat1.sh
> > > > > > > >
> > > > > > > > *** Running Grid-Stat on APCP using netCDF input for
both
> > forecast
> > > > and
> > > > > > > > observation ***
> > > > > > > > DEBUG 1: Default Config File:
> > > > > > > >
> > > >
/home/aditya/geeta/installs/met/share/met/config/GridStatConfig_default
> > > > > > > > DEBUG 1: User Config File: ./GridStatConfig_APCP24
> > > > > > > > ERROR  :
> > > > > > > > ERROR  : get_att_int(const NcVarInfo &, const
ConcatString &,
> > int
> > > > &) ->
> > > > > > > > attribute "accum_time_sec" should be an integer.
> > > > > > > > ERROR  :
> > > > > > > >  I checked the config file. I donot know where the
acumulation
> > > > > > interval is
> > > > > > > > to be specified.
> > > > > > > >
> > > > > > > > Hoping to hear from you soon
> > > > > > > > Geeta
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > --
> > > > > > > Julie Prestopnik
> > > > > > > National Center for Atmospheric Research
> > > > > > > Research Applications Laboratory
> > > > > > > Phone: 303.497.8399
> > > > > > > Email: jpresto at ucar.edu
> > > > > > >
> > > > > >
> > > > > >
> > > > >
> > > > >
> > > > > --
> > > > > Julie Prestopnik
> > > > > National Center for Atmospheric Research
> > > > > Research Applications Laboratory
> > > > > Phone: 303.497.8399
> > > > > Email: jpresto at ucar.edu
> > > > >
> > > >
> > > >
> > >
> > >
> > > --
> > > Julie Prestopnik
> > > National Center for Atmospheric Research
> > > Research Applications Laboratory
> > > Phone: 303.497.8399
> > > Email: jpresto at ucar.edu
> > >
> >
> >
>
>
> --
> Julie Prestopnik
> National Center for Atmospheric Research
> Research Applications Laboratory
> Phone: 303.497.8399
> Email: jpresto at ucar.edu
>

------------------------------------------------
Subject: Grid Stat
From: Julie Prestopnik
Time: Tue Jan 06 10:50:13 2015

Hi Geeta.  I meant to include a link (
http://www.dtcenter.org/met/users/downloads/observation_data.php) in
my
last message to you, but I see I neglected to do that so I am glad you
were
familiar with the links.

Unfortunately, I am also not familiar with R, however, looking at the
comments in the file trmmbin2nc.R, I see a usage statement with a
description of arguments and an example:

##   Usage:
##      Rscript trmm2nc.R
##         trmm_file
##         nc_file
##         [-save]
##
##   Arguments:
##      "trmm_file" is an ASCII file containing TRMM accumulated
precipitation pcp.
##      "nc_file"   is the out NetCDF file to be written.
##      "-save"     to call save.image().
##
##   Details:
##
##   Examples:
##      Rscript trmm2nc.R \
##        trmm_sample.txt \
##        trmm_sample.nc

Please follow those directions and see if that works for you.

Thanks,
Julie





On Tue, Jan 6, 2015 at 10:39 AM, Geeta Geeta via RT
<met_help at ucar.edu>
wrote:

>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70245 >
>
> thanks Julie I know of the links to get the data.
> But unfortunately, I am unable to run R on my system .
> I have never used it.
> let me show u the screenshot that opened when I said R on my shell.
>
> aditya at agniilap:~/geeta/MET5.0/met-5.0/data/config$ R
>
> R version 3.1.1 (2014-07-10) -- "Sock it to Me"
> Copyright (C) 2014 The R Foundation for Statistical Computing
> Platform: i686-pc-linux-gnu (32-bit)
>
> R is free software and comes with ABSOLUTELY NO WARRANTY.
> You are welcome to redistribute it under certain conditions.
> Type 'license()' or 'licence()' for distribution details.
>
>   Natural language support but running in an English locale
>
> R is a collaborative project with many contributors.
> Type 'contributors()' for more information and
> 'citation()' on how to cite R or R packages in publications.
>
> Type 'demo()' for some demos, 'help()' for on-line help, or
> 'help.start()' for an HTML browser interface to help.
> Type 'q()' to quit R.
>
> > trmmbin2nc.R
>
>
> Can U guide me further?????????????
> Geeta
>
> > Subject: Re: [rt.rap.ucar.edu #70245] Grid Stat
> > From: met_help at ucar.edu
> > To: geeta124 at hotmail.com
> > Date: Tue, 6 Jan 2015 10:08:01 -0700
> >
> > Hi Geeta.
> >
> > It sounds like you're looking for a source of TRMM global data in
a
> format
> > that MET can handle.  We do have a page of the MET website with
links to
> > observation datasets:
> >
> > And there is a source for TRMM data listed there, as well as an
Rscript
> > that can be used to convert the ASCII TRMM data into a NetCDF
format that
> > MET can read.  So I'd suggest doing the following:
> > (1) Select one of the TRMM data sources
> > (2) Retrieve the ASCII version of that TRMM data, being sure to
select a
> > geographic area similar to your model's domain.
> > (3) Run that data through trmm2nc.R script.
> > (4) I don't know what model you are using, but you may be able to
use
> > copygb to regrid it to the same domain as the TRMM data.
> >
> > I hope that helps.
> >
> > Julie
> >
> >
> > On Tue, Jan 6, 2015 at 9:25 AM, Geeta Geeta via RT
<met_help at ucar.edu>
> > wrote:
> >
> > >
> > > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70245 >
> > >
> > > thanks Julie.
> > > I had basically TRMM data files which were converted to NETCDF
by R
> script
> > > by some one else.
> > >
> > > Now at my end, I plan to do download the TRMM (3B42 ) in netcdf
only.
> But
> > > this is Global data.
> > > Pls tell me what I need to do next so that the model and OBSN
(TRMM)
> are
> > > in same format and I can run GRID_STAT.
> > > Pls suggest what best I can Do????
> > > Geeta
> > >
> > >
> > > > Subject: Re: [rt.rap.ucar.edu #70245] Grid Stat
> > > > From: met_help at ucar.edu
> > > > To: geeta124 at hotmail.com
> > > > Date: Tue, 6 Jan 2015 09:12:05 -0700
> > > >
> > > > One way you can edit a NetCDF file is by using the tools
"ncdump" and
> > > > "ncgen".  For example, you could do something like this:
> > > >
> > > > ncdump test.nc > test.txt
> > > >
> > > > This creates an editable file called test.txt.  You could open
that
> with
> > > > the editor of your choice, remove the ".f" from:
> > > > APCP_03:accum_time_sec = 10800.f ;
> > > > and change the floating point values of APCP_03 to integer
values.
> > > >
> > > > Then, to create your new NetCDF file you could do something
like
> this:
> > > >
> > > > ncgen -b -o test2.nc test.txt
> > > >
> > > > This creates a new NetCDF file called test2.nc using the file
> test.txt.
> > > > This is not a good solution for 122 files though, which is why
I
> > > suggested
> > > > discussing this with the person who created the files.
> > > >
> > > > I hope this helps.
> > > >
> > > > Julie
> > > >
> > > > On Tue, Jan 6, 2015 at 9:00 AM, Geeta Geeta via RT <
> met_help at ucar.edu>
> > > > wrote:
> > > >
> > > > >
> > > > > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70245 >
> > > > >
> > > > > Hi Julie.
> > > > > I have made the fcst file using MET3.0 and the observations
in
> netcdf
> > > > > using the R script.
> > > > > Pls tell me how to edit the header file so that i do not get
error
> with
> > > > > the FLOAT thing.
> > > > > Geeta
> > > > >
> > > > > > Subject: Re: [rt.rap.ucar.edu #70245] Grid Stat
> > > > > > From: met_help at ucar.edu
> > > > > > To: geeta124 at hotmail.com
> > > > > > Date: Tue, 6 Jan 2015 08:55:23 -0700
> > > > > >
> > > > > > You can search the met help tickets using google.  For
example,
> say
> > > you
> > > > > > would like to search for "GridStat", you can put the
following
> search
> > > > > into
> > > > > > google:
> > > > > >
> > > > > > "GridStat"
site::http://mailman.ucar.edu/pipermail/met_help/
> > > > > >
> > > > > > I hope that helps.
> > > > > >
> > > > > > Julie
> > > > > >
> > > > > > On Mon, Jan 5, 2015 at 10:13 PM, Geeta Geeta via RT <
> > > met_help at ucar.edu>
> > > > > > wrote:
> > > > > >
> > > > > > >
> > > > > > > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70245
> >
> > > > > > >
> > > > > > > Julie I want to know if I can look through the archives
of the
> > > > > > > Tickets/problems. where i can get to see these.
> > > > > > >
> > > > > > > From: geeta124 at hotmail.com
> > > > > > > To: met_help at ucar.edu
> > > > > > > Subject: RE: [rt.rap.ucar.edu #70245] Grid Stat
> > > > > > > Date: Tue, 6 Jan 2015 10:16:04 +0530
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > thanks Julie. But how will I edit the nc file. What U
saw was
> the
> > > > > header
> > > > > > > which is seen by running the command ncdump -h
tet_fcst.nc.
> Pls
> > > tell
> > > > > me
> > > > > > > how will I EDIT the HEADER and the DATA which is float
ONLY
> and not
> > > > > Integer.
> > > > > > > Also I have some 122 files. and may be more in future.
Kindly
> let
> > > me
> > > > > know
> > > > > > > how I have to proceed.
> > > > > > > I have a number of other queries for which i want to get
the
> reply.
> > > > > Kindly
> > > > > > > send me the answers to those. Geeta
> > > > > > >
> > > > > > >
> > > > > > > > Subject: Re: [rt.rap.ucar.edu #70245] Grid Stat
> > > > > > > > From: met_help at ucar.edu
> > > > > > > > To: geeta124 at hotmail.com
> > > > > > > > Date: Mon, 5 Jan 2015 10:04:36 -0700
> > > > > > > >
> > > > > > > > Hi Geeta.
> > > > > > > >
> > > > > > > > The error you are getting indicates that
"accum_time_sec"
> should
> > > be
> > > > > an
> > > > > > > > integer.  Looking in the file test.nc, I see that
> > > > > > > >
> > > > > > > > APCP_03:accum_time_sec = 10800.f ;
> > > > > > > >
> > > > > > > >
> > > > > > > > The ".f" indicates that accum_time_sec is a float, not
an
> > > integer.
> > > > > Try
> > > > > > > > changing that value to an integer and see if that
fixes the
> > > problem.
> > > > > > > >
> > > > > > > > Thanks,
> > > > > > > > Julie
> > > > > > > >
> > > > > > > > On Sun, Jan 4, 2015 at 6:04 AM, Geeta Geeta via RT <
> > > > > met_help at ucar.edu>
> > > > > > > > wrote:
> > > > > > > >
> > > > > > > > >
> > > > > > > > > Sun Jan 04 06:04:26 2015: Request 70245 was acted
upon.
> > > > > > > > > Transaction: Ticket created by geeta124 at hotmail.com
> > > > > > > > >        Queue: met_help
> > > > > > > > >      Subject: Grid Stat
> > > > > > > > >        Owner: Nobody
> > > > > > > > >   Requestors: geeta124 at hotmail.com
> > > > > > > > >       Status: new
> > > > > > > > >  Ticket <URL:
> > > > > https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70245
> > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > Hi John.
> > > > > > > > >
> > > > > > > > > I sent U an error in the previous mail too.
> > > > > > > > > I realised that I was using the config file of
MET3.0.
> > > > > > > > > Now I retried to run MET5.0 with config file given.
I got
> this
> > > > > error.
> > > > > > > > >
> > > > > > > > > aditya at agniilap:~/geeta/installs/met/myrun-2jan2015$
> > > > > ./grid_stat1.sh
> > > > > > > > >
> > > > > > > > > *** Running Grid-Stat on APCP using netCDF input for
both
> > > forecast
> > > > > and
> > > > > > > > > observation ***
> > > > > > > > > DEBUG 1: Default Config File:
> > > > > > > > >
> > > > >
>
/home/aditya/geeta/installs/met/share/met/config/GridStatConfig_default
> > > > > > > > > DEBUG 1: User Config File: ./GridStatConfig_APCP24
> > > > > > > > > ERROR  :
> > > > > > > > > ERROR  : get_att_int(const NcVarInfo &, const
ConcatString
> &,
> > > int
> > > > > &) ->
> > > > > > > > > attribute "accum_time_sec" should be an integer.
> > > > > > > > > ERROR  :
> > > > > > > > >  I checked the config file. I donot know where the
> acumulation
> > > > > > > interval is
> > > > > > > > > to be specified.
> > > > > > > > >
> > > > > > > > > Hoping to hear from you soon
> > > > > > > > > Geeta
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > --
> > > > > > > > Julie Prestopnik
> > > > > > > > National Center for Atmospheric Research
> > > > > > > > Research Applications Laboratory
> > > > > > > > Phone: 303.497.8399
> > > > > > > > Email: jpresto at ucar.edu
> > > > > > > >
> > > > > > >
> > > > > > >
> > > > > >
> > > > > >
> > > > > > --
> > > > > > Julie Prestopnik
> > > > > > National Center for Atmospheric Research
> > > > > > Research Applications Laboratory
> > > > > > Phone: 303.497.8399
> > > > > > Email: jpresto at ucar.edu
> > > > > >
> > > > >
> > > > >
> > > >
> > > >
> > > > --
> > > > Julie Prestopnik
> > > > National Center for Atmospheric Research
> > > > Research Applications Laboratory
> > > > Phone: 303.497.8399
> > > > Email: jpresto at ucar.edu
> > > >
> > >
> > >
> >
> >
> > --
> > Julie Prestopnik
> > National Center for Atmospheric Research
> > Research Applications Laboratory
> > Phone: 303.497.8399
> > Email: jpresto at ucar.edu
> >
>
>


--
Julie Prestopnik
National Center for Atmospheric Research
Research Applications Laboratory
Phone: 303.497.8399
Email: jpresto at ucar.edu

------------------------------------------------
Subject: Grid Stat
From: Julie Prestopnik
Time: Tue Jan 06 10:53:21 2015

Hi Geeta.  I hope you'll find the information in my last message
useful.  I
see in your directory that you have the R script and a netcdf file.
As I
indicated previously, you will need to obtain the ASCII version of
that
TRMM data (being sure to select a geographic area similar to your
model's
domain).

Julie

On Tue, Jan 6, 2015 at 10:49 AM, Geeta Geeta via RT
<met_help at ucar.edu>
wrote:

>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70245 >
>
> Hi Julie. this is just to give u a little more info.
>
> aditya at agniilap:~/geeta/installs/met$ cd trmm_to_nc/
> aditya at agniilap:~/geeta/installs/met/trmm_to_nc$ ls -l
> total 13528
> -rw-rw-r-- 1 aditya aditya 13841488 Jan  6 23:12
3B42.20110602.00.7.nc
> -rw-rw-r-- 1 aditya aditya     8103 Jan  6 23:12 trmmbin2nc.R
> aditya at agniilap:~/geeta/installs/met/trmm_to_nc$ pwd
> /home/aditya/geeta/installs/met/trmm_to_nc
>
> Kindly Guide???
>
>
> From: geeta124 at hotmail.com
> To: met_help at ucar.edu
> Subject: RE: [rt.rap.ucar.edu #70245] Grid Stat
> Date: Tue, 6 Jan 2015 23:16:04 +0530
>
>
>
>
> Julie this is how i tried to run trmmbin2nc.R script.
>
> aditya at agniilap:~/geeta/installs/met/trmm_to_nc$ R
>
> R version 3.1.1 (2014-07-10) -- "Sock it to Me"
> Copyright (C) 2014 The R Foundation for Statistical Computing
> Platform: i686-pc-linux-gnu (32-bit)
>
> R is free software and comes with ABSOLUTELY NO WARRANTY.
> You are welcome to redistribute it under certain conditions.
> Type 'license()' or 'licence()' for distribution details.
>
>   Natural language support but running in an English locale
>
> R is a collaborative project with many contributors.
> Type 'contributors()' for more information and
> 'citation()' on how to cite R or R packages in publications.
>
> Type 'demo()' for some demos, 'help()' for on-line help, or
> 'help.start()' for an HTML browser interface to help.
> Type 'q()' to quit R.
>
> > Rscript trmmbin2nc.R 3B42.20110602.00.7.nc mync.nc
> Error: unexpected symbol in "Rscript trmmbin2nc.R"
> >
>
> Donot know what's happening???????. Stuck again
> Geeta
>
> From: geeta124 at hotmail.com
> To: met_help at ucar.edu
> Subject: RE: [rt.rap.ucar.edu #70245] Grid Stat
> Date: Tue, 6 Jan 2015 23:09:18 +0530
>
>
>
>
> thanks Julie I know of the links to get the data.
> But unfortunately, I am unable to run R on my system .
> I have never used it.
> let me show u the screenshot that opened when I said R on my shell.
>
> aditya at agniilap:~/geeta/MET5.0/met-5.0/data/config$ R
>
> R version 3.1.1 (2014-07-10) -- "Sock it to Me"
> Copyright (C) 2014 The R Foundation for Statistical Computing
> Platform: i686-pc-linux-gnu (32-bit)
>
> R is free software and comes with ABSOLUTELY NO WARRANTY.
> You are welcome to redistribute it under certain conditions.
> Type 'license()' or 'licence()' for distribution details.
>
>   Natural language support but running in an English locale
>
> R is a collaborative project with many contributors.
> Type 'contributors()' for more information and
> 'citation()' on how to cite R or R packages in publications.
>
> Type 'demo()' for some demos, 'help()' for on-line help, or
> 'help.start()' for an HTML browser interface to help.
> Type 'q()' to quit R.
>
> > trmmbin2nc.R
>
>
> Can U guide me further?????????????
> Geeta
>
> > Subject: Re: [rt.rap.ucar.edu #70245] Grid Stat
> > From: met_help at ucar.edu
> > To: geeta124 at hotmail.com
> > Date: Tue, 6 Jan 2015 10:08:01 -0700
> >
> > Hi Geeta.
> >
> > It sounds like you're looking for a source of TRMM global data in
a
> format
> > that MET can handle.  We do have a page of the MET website with
links to
> > observation datasets:
> >
> > And there is a source for TRMM data listed there, as well as an
Rscript
> > that can be used to convert the ASCII TRMM data into a NetCDF
format that
> > MET can read.  So I'd suggest doing the following:
> > (1) Select one of the TRMM data sources
> > (2) Retrieve the ASCII version of that TRMM data, being sure to
select a
> > geographic area similar to your model's domain.
> > (3) Run that data through trmm2nc.R script.
> > (4) I don't know what model you are using, but you may be able to
use
> > copygb to regrid it to the same domain as the TRMM data.
> >
> > I hope that helps.
> >
> > Julie
> >
> >
> > On Tue, Jan 6, 2015 at 9:25 AM, Geeta Geeta via RT
<met_help at ucar.edu>
> > wrote:
> >
> > >
> > > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70245 >
> > >
> > > thanks Julie.
> > > I had basically TRMM data files which were converted to NETCDF
by R
> script
> > > by some one else.
> > >
> > > Now at my end, I plan to do download the TRMM (3B42 ) in netcdf
only.
> But
> > > this is Global data.
> > > Pls tell me what I need to do next so that the model and OBSN
(TRMM)
> are
> > > in same format and I can run GRID_STAT.
> > > Pls suggest what best I can Do????
> > > Geeta
> > >
> > >
> > > > Subject: Re: [rt.rap.ucar.edu #70245] Grid Stat
> > > > From: met_help at ucar.edu
> > > > To: geeta124 at hotmail.com
> > > > Date: Tue, 6 Jan 2015 09:12:05 -0700
> > > >
> > > > One way you can edit a NetCDF file is by using the tools
"ncdump" and
> > > > "ncgen".  For example, you could do something like this:
> > > >
> > > > ncdump test.nc > test.txt
> > > >
> > > > This creates an editable file called test.txt.  You could open
that
> with
> > > > the editor of your choice, remove the ".f" from:
> > > > APCP_03:accum_time_sec = 10800.f ;
> > > > and change the floating point values of APCP_03 to integer
values.
> > > >
> > > > Then, to create your new NetCDF file you could do something
like
> this:
> > > >
> > > > ncgen -b -o test2.nc test.txt
> > > >
> > > > This creates a new NetCDF file called test2.nc using the file
> test.txt.
> > > > This is not a good solution for 122 files though, which is why
I
> > > suggested
> > > > discussing this with the person who created the files.
> > > >
> > > > I hope this helps.
> > > >
> > > > Julie
> > > >
> > > > On Tue, Jan 6, 2015 at 9:00 AM, Geeta Geeta via RT <
> met_help at ucar.edu>
> > > > wrote:
> > > >
> > > > >
> > > > > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70245 >
> > > > >
> > > > > Hi Julie.
> > > > > I have made the fcst file using MET3.0 and the observations
in
> netcdf
> > > > > using the R script.
> > > > > Pls tell me how to edit the header file so that i do not get
error
> with
> > > > > the FLOAT thing.
> > > > > Geeta
> > > > >
> > > > > > Subject: Re: [rt.rap.ucar.edu #70245] Grid Stat
> > > > > > From: met_help at ucar.edu
> > > > > > To: geeta124 at hotmail.com
> > > > > > Date: Tue, 6 Jan 2015 08:55:23 -0700
> > > > > >
> > > > > > You can search the met help tickets using google.  For
example,
> say
> > > you
> > > > > > would like to search for "GridStat", you can put the
following
> search
> > > > > into
> > > > > > google:
> > > > > >
> > > > > > "GridStat"
site::http://mailman.ucar.edu/pipermail/met_help/
> > > > > >
> > > > > > I hope that helps.
> > > > > >
> > > > > > Julie
> > > > > >
> > > > > > On Mon, Jan 5, 2015 at 10:13 PM, Geeta Geeta via RT <
> > > met_help at ucar.edu>
> > > > > > wrote:
> > > > > >
> > > > > > >
> > > > > > > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70245
> >
> > > > > > >
> > > > > > > Julie I want to know if I can look through the archives
of the
> > > > > > > Tickets/problems. where i can get to see these.
> > > > > > >
> > > > > > > From: geeta124 at hotmail.com
> > > > > > > To: met_help at ucar.edu
> > > > > > > Subject: RE: [rt.rap.ucar.edu #70245] Grid Stat
> > > > > > > Date: Tue, 6 Jan 2015 10:16:04 +0530
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > thanks Julie. But how will I edit the nc file. What U
saw was
> the
> > > > > header
> > > > > > > which is seen by running the command ncdump -h
tet_fcst.nc.
> Pls
> > > tell
> > > > > me
> > > > > > > how will I EDIT the HEADER and the DATA which is float
ONLY
> and not
> > > > > Integer.
> > > > > > > Also I have some 122 files. and may be more in future.
Kindly
> let
> > > me
> > > > > know
> > > > > > > how I have to proceed.
> > > > > > > I have a number of other queries for which i want to get
the
> reply.
> > > > > Kindly
> > > > > > > send me the answers to those. Geeta
> > > > > > >
> > > > > > >
> > > > > > > > Subject: Re: [rt.rap.ucar.edu #70245] Grid Stat
> > > > > > > > From: met_help at ucar.edu
> > > > > > > > To: geeta124 at hotmail.com
> > > > > > > > Date: Mon, 5 Jan 2015 10:04:36 -0700
> > > > > > > >
> > > > > > > > Hi Geeta.
> > > > > > > >
> > > > > > > > The error you are getting indicates that
"accum_time_sec"
> should
> > > be
> > > > > an
> > > > > > > > integer.  Looking in the file test.nc, I see that
> > > > > > > >
> > > > > > > > APCP_03:accum_time_sec = 10800.f ;
> > > > > > > >
> > > > > > > >
> > > > > > > > The ".f" indicates that accum_time_sec is a float, not
an
> > > integer.
> > > > > Try
> > > > > > > > changing that value to an integer and see if that
fixes the
> > > problem.
> > > > > > > >
> > > > > > > > Thanks,
> > > > > > > > Julie
> > > > > > > >
> > > > > > > > On Sun, Jan 4, 2015 at 6:04 AM, Geeta Geeta via RT <
> > > > > met_help at ucar.edu>
> > > > > > > > wrote:
> > > > > > > >
> > > > > > > > >
> > > > > > > > > Sun Jan 04 06:04:26 2015: Request 70245 was acted
upon.
> > > > > > > > > Transaction: Ticket created by geeta124 at hotmail.com
> > > > > > > > >        Queue: met_help
> > > > > > > > >      Subject: Grid Stat
> > > > > > > > >        Owner: Nobody
> > > > > > > > >   Requestors: geeta124 at hotmail.com
> > > > > > > > >       Status: new
> > > > > > > > >  Ticket <URL:
> > > > > https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70245
> > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > Hi John.
> > > > > > > > >
> > > > > > > > > I sent U an error in the previous mail too.
> > > > > > > > > I realised that I was using the config file of
MET3.0.
> > > > > > > > > Now I retried to run MET5.0 with config file given.
I got
> this
> > > > > error.
> > > > > > > > >
> > > > > > > > > aditya at agniilap:~/geeta/installs/met/myrun-2jan2015$
> > > > > ./grid_stat1.sh
> > > > > > > > >
> > > > > > > > > *** Running Grid-Stat on APCP using netCDF input for
both
> > > forecast
> > > > > and
> > > > > > > > > observation ***
> > > > > > > > > DEBUG 1: Default Config File:
> > > > > > > > >
> > > > >
>
/home/aditya/geeta/installs/met/share/met/config/GridStatConfig_default
> > > > > > > > > DEBUG 1: User Config File: ./GridStatConfig_APCP24
> > > > > > > > > ERROR  :
> > > > > > > > > ERROR  : get_att_int(const NcVarInfo &, const
ConcatString
> &,
> > > int
> > > > > &) ->
> > > > > > > > > attribute "accum_time_sec" should be an integer.
> > > > > > > > > ERROR  :
> > > > > > > > >  I checked the config file. I donot know where the
> acumulation
> > > > > > > interval is
> > > > > > > > > to be specified.
> > > > > > > > >
> > > > > > > > > Hoping to hear from you soon
> > > > > > > > > Geeta
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > --
> > > > > > > > Julie Prestopnik
> > > > > > > > National Center for Atmospheric Research
> > > > > > > > Research Applications Laboratory
> > > > > > > > Phone: 303.497.8399
> > > > > > > > Email: jpresto at ucar.edu
> > > > > > > >
> > > > > > >
> > > > > > >
> > > > > >
> > > > > >
> > > > > > --
> > > > > > Julie Prestopnik
> > > > > > National Center for Atmospheric Research
> > > > > > Research Applications Laboratory
> > > > > > Phone: 303.497.8399
> > > > > > Email: jpresto at ucar.edu
> > > > > >
> > > > >
> > > > >
> > > >
> > > >
> > > > --
> > > > Julie Prestopnik
> > > > National Center for Atmospheric Research
> > > > Research Applications Laboratory
> > > > Phone: 303.497.8399
> > > > Email: jpresto at ucar.edu
> > > >
> > >
> > >
> >
> >
> > --
> > Julie Prestopnik
> > National Center for Atmospheric Research
> > Research Applications Laboratory
> > Phone: 303.497.8399
> > Email: jpresto at ucar.edu
> >
>
>


--
Julie Prestopnik
National Center for Atmospheric Research
Research Applications Laboratory
Phone: 303.497.8399
Email: jpresto at ucar.edu

------------------------------------------------
Subject: Grid Stat
From: Geeta Geeta
Time: Tue Jan 06 10:53:23 2015

Y I did the same thing. But it didnt work.
Can U transfer my query to someone else who can guide me further?




> Subject: Re: [rt.rap.ucar.edu #70245] Grid Stat
> From: met_help at ucar.edu
> To: geeta124 at hotmail.com
> Date: Tue, 6 Jan 2015 10:50:13 -0700
>
> Hi Geeta.  I meant to include a link (
> http://www.dtcenter.org/met/users/downloads/observation_data.php) in
my
> last message to you, but I see I neglected to do that so I am glad
you were
> familiar with the links.
>
> Unfortunately, I am also not familiar with R, however, looking at
the
> comments in the file trmmbin2nc.R, I see a usage statement with a
> description of arguments and an example:
>
> ##   Usage:
> ##      Rscript trmm2nc.R
> ##         trmm_file
> ##         nc_file
> ##         [-save]
> ##
> ##   Arguments:
> ##      "trmm_file" is an ASCII file containing TRMM accumulated
> precipitation pcp.
> ##      "nc_file"   is the out NetCDF file to be written.
> ##      "-save"     to call save.image().
> ##
> ##   Details:
> ##
> ##   Examples:
> ##      Rscript trmm2nc.R \
> ##        trmm_sample.txt \
> ##        trmm_sample.nc
>
> Please follow those directions and see if that works for you.
>
> Thanks,
> Julie
>
>
>
>
>
> On Tue, Jan 6, 2015 at 10:39 AM, Geeta Geeta via RT
<met_help at ucar.edu>
> wrote:
>
> >
> > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70245 >
> >
> > thanks Julie I know of the links to get the data.
> > But unfortunately, I am unable to run R on my system .
> > I have never used it.
> > let me show u the screenshot that opened when I said R on my
shell.
> >
> > aditya at agniilap:~/geeta/MET5.0/met-5.0/data/config$ R
> >
> > R version 3.1.1 (2014-07-10) -- "Sock it to Me"
> > Copyright (C) 2014 The R Foundation for Statistical Computing
> > Platform: i686-pc-linux-gnu (32-bit)
> >
> > R is free software and comes with ABSOLUTELY NO WARRANTY.
> > You are welcome to redistribute it under certain conditions.
> > Type 'license()' or 'licence()' for distribution details.
> >
> >   Natural language support but running in an English locale
> >
> > R is a collaborative project with many contributors.
> > Type 'contributors()' for more information and
> > 'citation()' on how to cite R or R packages in publications.
> >
> > Type 'demo()' for some demos, 'help()' for on-line help, or
> > 'help.start()' for an HTML browser interface to help.
> > Type 'q()' to quit R.
> >
> > > trmmbin2nc.R
> >
> >
> > Can U guide me further?????????????
> > Geeta
> >
> > > Subject: Re: [rt.rap.ucar.edu #70245] Grid Stat
> > > From: met_help at ucar.edu
> > > To: geeta124 at hotmail.com
> > > Date: Tue, 6 Jan 2015 10:08:01 -0700
> > >
> > > Hi Geeta.
> > >
> > > It sounds like you're looking for a source of TRMM global data
in a
> > format
> > > that MET can handle.  We do have a page of the MET website with
links to
> > > observation datasets:
> > >
> > > And there is a source for TRMM data listed there, as well as an
Rscript
> > > that can be used to convert the ASCII TRMM data into a NetCDF
format that
> > > MET can read.  So I'd suggest doing the following:
> > > (1) Select one of the TRMM data sources
> > > (2) Retrieve the ASCII version of that TRMM data, being sure to
select a
> > > geographic area similar to your model's domain.
> > > (3) Run that data through trmm2nc.R script.
> > > (4) I don't know what model you are using, but you may be able
to use
> > > copygb to regrid it to the same domain as the TRMM data.
> > >
> > > I hope that helps.
> > >
> > > Julie
> > >
> > >
> > > On Tue, Jan 6, 2015 at 9:25 AM, Geeta Geeta via RT
<met_help at ucar.edu>
> > > wrote:
> > >
> > > >
> > > > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70245
>
> > > >
> > > > thanks Julie.
> > > > I had basically TRMM data files which were converted to NETCDF
by R
> > script
> > > > by some one else.
> > > >
> > > > Now at my end, I plan to do download the TRMM (3B42 ) in
netcdf only.
> > But
> > > > this is Global data.
> > > > Pls tell me what I need to do next so that the model and OBSN
(TRMM)
> > are
> > > > in same format and I can run GRID_STAT.
> > > > Pls suggest what best I can Do????
> > > > Geeta
> > > >
> > > >
> > > > > Subject: Re: [rt.rap.ucar.edu #70245] Grid Stat
> > > > > From: met_help at ucar.edu
> > > > > To: geeta124 at hotmail.com
> > > > > Date: Tue, 6 Jan 2015 09:12:05 -0700
> > > > >
> > > > > One way you can edit a NetCDF file is by using the tools
"ncdump" and
> > > > > "ncgen".  For example, you could do something like this:
> > > > >
> > > > > ncdump test.nc > test.txt
> > > > >
> > > > > This creates an editable file called test.txt.  You could
open that
> > with
> > > > > the editor of your choice, remove the ".f" from:
> > > > > APCP_03:accum_time_sec = 10800.f ;
> > > > > and change the floating point values of APCP_03 to integer
values.
> > > > >
> > > > > Then, to create your new NetCDF file you could do something
like
> > this:
> > > > >
> > > > > ncgen -b -o test2.nc test.txt
> > > > >
> > > > > This creates a new NetCDF file called test2.nc using the
file
> > test.txt.
> > > > > This is not a good solution for 122 files though, which is
why I
> > > > suggested
> > > > > discussing this with the person who created the files.
> > > > >
> > > > > I hope this helps.
> > > > >
> > > > > Julie
> > > > >
> > > > > On Tue, Jan 6, 2015 at 9:00 AM, Geeta Geeta via RT <
> > met_help at ucar.edu>
> > > > > wrote:
> > > > >
> > > > > >
> > > > > > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70245 >
> > > > > >
> > > > > > Hi Julie.
> > > > > > I have made the fcst file using MET3.0 and the
observations in
> > netcdf
> > > > > > using the R script.
> > > > > > Pls tell me how to edit the header file so that i do not
get error
> > with
> > > > > > the FLOAT thing.
> > > > > > Geeta
> > > > > >
> > > > > > > Subject: Re: [rt.rap.ucar.edu #70245] Grid Stat
> > > > > > > From: met_help at ucar.edu
> > > > > > > To: geeta124 at hotmail.com
> > > > > > > Date: Tue, 6 Jan 2015 08:55:23 -0700
> > > > > > >
> > > > > > > You can search the met help tickets using google.  For
example,
> > say
> > > > you
> > > > > > > would like to search for "GridStat", you can put the
following
> > search
> > > > > > into
> > > > > > > google:
> > > > > > >
> > > > > > > "GridStat"
site::http://mailman.ucar.edu/pipermail/met_help/
> > > > > > >
> > > > > > > I hope that helps.
> > > > > > >
> > > > > > > Julie
> > > > > > >
> > > > > > > On Mon, Jan 5, 2015 at 10:13 PM, Geeta Geeta via RT <
> > > > met_help at ucar.edu>
> > > > > > > wrote:
> > > > > > >
> > > > > > > >
> > > > > > > > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70245
> > >
> > > > > > > >
> > > > > > > > Julie I want to know if I can look through the
archives of the
> > > > > > > > Tickets/problems. where i can get to see these.
> > > > > > > >
> > > > > > > > From: geeta124 at hotmail.com
> > > > > > > > To: met_help at ucar.edu
> > > > > > > > Subject: RE: [rt.rap.ucar.edu #70245] Grid Stat
> > > > > > > > Date: Tue, 6 Jan 2015 10:16:04 +0530
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > thanks Julie. But how will I edit the nc file. What U
saw was
> > the
> > > > > > header
> > > > > > > > which is seen by running the command ncdump -h
tet_fcst.nc.
> > Pls
> > > > tell
> > > > > > me
> > > > > > > > how will I EDIT the HEADER and the DATA which is float
ONLY
> > and not
> > > > > > Integer.
> > > > > > > > Also I have some 122 files. and may be more in future.
Kindly
> > let
> > > > me
> > > > > > know
> > > > > > > > how I have to proceed.
> > > > > > > > I have a number of other queries for which i want to
get the
> > reply.
> > > > > > Kindly
> > > > > > > > send me the answers to those. Geeta
> > > > > > > >
> > > > > > > >
> > > > > > > > > Subject: Re: [rt.rap.ucar.edu #70245] Grid Stat
> > > > > > > > > From: met_help at ucar.edu
> > > > > > > > > To: geeta124 at hotmail.com
> > > > > > > > > Date: Mon, 5 Jan 2015 10:04:36 -0700
> > > > > > > > >
> > > > > > > > > Hi Geeta.
> > > > > > > > >
> > > > > > > > > The error you are getting indicates that
"accum_time_sec"
> > should
> > > > be
> > > > > > an
> > > > > > > > > integer.  Looking in the file test.nc, I see that
> > > > > > > > >
> > > > > > > > > APCP_03:accum_time_sec = 10800.f ;
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > The ".f" indicates that accum_time_sec is a float,
not an
> > > > integer.
> > > > > > Try
> > > > > > > > > changing that value to an integer and see if that
fixes the
> > > > problem.
> > > > > > > > >
> > > > > > > > > Thanks,
> > > > > > > > > Julie
> > > > > > > > >
> > > > > > > > > On Sun, Jan 4, 2015 at 6:04 AM, Geeta Geeta via RT <
> > > > > > met_help at ucar.edu>
> > > > > > > > > wrote:
> > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > Sun Jan 04 06:04:26 2015: Request 70245 was acted
upon.
> > > > > > > > > > Transaction: Ticket created by
geeta124 at hotmail.com
> > > > > > > > > >        Queue: met_help
> > > > > > > > > >      Subject: Grid Stat
> > > > > > > > > >        Owner: Nobody
> > > > > > > > > >   Requestors: geeta124 at hotmail.com
> > > > > > > > > >       Status: new
> > > > > > > > > >  Ticket <URL:
> > > > > > https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70245
> > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > Hi John.
> > > > > > > > > >
> > > > > > > > > > I sent U an error in the previous mail too.
> > > > > > > > > > I realised that I was using the config file of
MET3.0.
> > > > > > > > > > Now I retried to run MET5.0 with config file
given. I got
> > this
> > > > > > error.
> > > > > > > > > >
> > > > > > > > > > aditya at agniilap:~/geeta/installs/met/myrun-
2jan2015$
> > > > > > ./grid_stat1.sh
> > > > > > > > > >
> > > > > > > > > > *** Running Grid-Stat on APCP using netCDF input
for both
> > > > forecast
> > > > > > and
> > > > > > > > > > observation ***
> > > > > > > > > > DEBUG 1: Default Config File:
> > > > > > > > > >
> > > > > >
> >
/home/aditya/geeta/installs/met/share/met/config/GridStatConfig_default
> > > > > > > > > > DEBUG 1: User Config File: ./GridStatConfig_APCP24
> > > > > > > > > > ERROR  :
> > > > > > > > > > ERROR  : get_att_int(const NcVarInfo &, const
ConcatString
> > &,
> > > > int
> > > > > > &) ->
> > > > > > > > > > attribute "accum_time_sec" should be an integer.
> > > > > > > > > > ERROR  :
> > > > > > > > > >  I checked the config file. I donot know where the
> > acumulation
> > > > > > > > interval is
> > > > > > > > > > to be specified.
> > > > > > > > > >
> > > > > > > > > > Hoping to hear from you soon
> > > > > > > > > > Geeta
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > --
> > > > > > > > > Julie Prestopnik
> > > > > > > > > National Center for Atmospheric Research
> > > > > > > > > Research Applications Laboratory
> > > > > > > > > Phone: 303.497.8399
> > > > > > > > > Email: jpresto at ucar.edu
> > > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > --
> > > > > > > Julie Prestopnik
> > > > > > > National Center for Atmospheric Research
> > > > > > > Research Applications Laboratory
> > > > > > > Phone: 303.497.8399
> > > > > > > Email: jpresto at ucar.edu
> > > > > > >
> > > > > >
> > > > > >
> > > > >
> > > > >
> > > > > --
> > > > > Julie Prestopnik
> > > > > National Center for Atmospheric Research
> > > > > Research Applications Laboratory
> > > > > Phone: 303.497.8399
> > > > > Email: jpresto at ucar.edu
> > > > >
> > > >
> > > >
> > >
> > >
> > > --
> > > Julie Prestopnik
> > > National Center for Atmospheric Research
> > > Research Applications Laboratory
> > > Phone: 303.497.8399
> > > Email: jpresto at ucar.edu
> > >
> >
> >
>
>
> --
> Julie Prestopnik
> National Center for Atmospheric Research
> Research Applications Laboratory
> Phone: 303.497.8399
> Email: jpresto at ucar.edu
>

------------------------------------------------
Subject: Grid Stat
From: Geeta Geeta
Time: Tue Jan 06 10:57:44 2015

ok I agree that I need the Acsii version for my model domain. But
running it is another Big Challange!!!!!!!



> Subject: Re: [rt.rap.ucar.edu #70245] Grid Stat
> From: met_help at ucar.edu
> To: geeta124 at hotmail.com
> Date: Tue, 6 Jan 2015 10:53:21 -0700
>
> Hi Geeta.  I hope you'll find the information in my last message
useful.  I
> see in your directory that you have the R script and a netcdf file.
As I
> indicated previously, you will need to obtain the ASCII version of
that
> TRMM data (being sure to select a geographic area similar to your
model's
> domain).
>
> Julie
>
> On Tue, Jan 6, 2015 at 10:49 AM, Geeta Geeta via RT
<met_help at ucar.edu>
> wrote:
>
> >
> > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70245 >
> >
> > Hi Julie. this is just to give u a little more info.
> >
> > aditya at agniilap:~/geeta/installs/met$ cd trmm_to_nc/
> > aditya at agniilap:~/geeta/installs/met/trmm_to_nc$ ls -l
> > total 13528
> > -rw-rw-r-- 1 aditya aditya 13841488 Jan  6 23:12
3B42.20110602.00.7.nc
> > -rw-rw-r-- 1 aditya aditya     8103 Jan  6 23:12 trmmbin2nc.R
> > aditya at agniilap:~/geeta/installs/met/trmm_to_nc$ pwd
> > /home/aditya/geeta/installs/met/trmm_to_nc
> >
> > Kindly Guide???
> >
> >
> > From: geeta124 at hotmail.com
> > To: met_help at ucar.edu
> > Subject: RE: [rt.rap.ucar.edu #70245] Grid Stat
> > Date: Tue, 6 Jan 2015 23:16:04 +0530
> >
> >
> >
> >
> > Julie this is how i tried to run trmmbin2nc.R script.
> >
> > aditya at agniilap:~/geeta/installs/met/trmm_to_nc$ R
> >
> > R version 3.1.1 (2014-07-10) -- "Sock it to Me"
> > Copyright (C) 2014 The R Foundation for Statistical Computing
> > Platform: i686-pc-linux-gnu (32-bit)
> >
> > R is free software and comes with ABSOLUTELY NO WARRANTY.
> > You are welcome to redistribute it under certain conditions.
> > Type 'license()' or 'licence()' for distribution details.
> >
> >   Natural language support but running in an English locale
> >
> > R is a collaborative project with many contributors.
> > Type 'contributors()' for more information and
> > 'citation()' on how to cite R or R packages in publications.
> >
> > Type 'demo()' for some demos, 'help()' for on-line help, or
> > 'help.start()' for an HTML browser interface to help.
> > Type 'q()' to quit R.
> >
> > > Rscript trmmbin2nc.R 3B42.20110602.00.7.nc mync.nc
> > Error: unexpected symbol in "Rscript trmmbin2nc.R"
> > >
> >
> > Donot know what's happening???????. Stuck again
> > Geeta
> >
> > From: geeta124 at hotmail.com
> > To: met_help at ucar.edu
> > Subject: RE: [rt.rap.ucar.edu #70245] Grid Stat
> > Date: Tue, 6 Jan 2015 23:09:18 +0530
> >
> >
> >
> >
> > thanks Julie I know of the links to get the data.
> > But unfortunately, I am unable to run R on my system .
> > I have never used it.
> > let me show u the screenshot that opened when I said R on my
shell.
> >
> > aditya at agniilap:~/geeta/MET5.0/met-5.0/data/config$ R
> >
> > R version 3.1.1 (2014-07-10) -- "Sock it to Me"
> > Copyright (C) 2014 The R Foundation for Statistical Computing
> > Platform: i686-pc-linux-gnu (32-bit)
> >
> > R is free software and comes with ABSOLUTELY NO WARRANTY.
> > You are welcome to redistribute it under certain conditions.
> > Type 'license()' or 'licence()' for distribution details.
> >
> >   Natural language support but running in an English locale
> >
> > R is a collaborative project with many contributors.
> > Type 'contributors()' for more information and
> > 'citation()' on how to cite R or R packages in publications.
> >
> > Type 'demo()' for some demos, 'help()' for on-line help, or
> > 'help.start()' for an HTML browser interface to help.
> > Type 'q()' to quit R.
> >
> > > trmmbin2nc.R
> >
> >
> > Can U guide me further?????????????
> > Geeta
> >
> > > Subject: Re: [rt.rap.ucar.edu #70245] Grid Stat
> > > From: met_help at ucar.edu
> > > To: geeta124 at hotmail.com
> > > Date: Tue, 6 Jan 2015 10:08:01 -0700
> > >
> > > Hi Geeta.
> > >
> > > It sounds like you're looking for a source of TRMM global data
in a
> > format
> > > that MET can handle.  We do have a page of the MET website with
links to
> > > observation datasets:
> > >
> > > And there is a source for TRMM data listed there, as well as an
Rscript
> > > that can be used to convert the ASCII TRMM data into a NetCDF
format that
> > > MET can read.  So I'd suggest doing the following:
> > > (1) Select one of the TRMM data sources
> > > (2) Retrieve the ASCII version of that TRMM data, being sure to
select a
> > > geographic area similar to your model's domain.
> > > (3) Run that data through trmm2nc.R script.
> > > (4) I don't know what model you are using, but you may be able
to use
> > > copygb to regrid it to the same domain as the TRMM data.
> > >
> > > I hope that helps.
> > >
> > > Julie
> > >
> > >
> > > On Tue, Jan 6, 2015 at 9:25 AM, Geeta Geeta via RT
<met_help at ucar.edu>
> > > wrote:
> > >
> > > >
> > > > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70245
>
> > > >
> > > > thanks Julie.
> > > > I had basically TRMM data files which were converted to NETCDF
by R
> > script
> > > > by some one else.
> > > >
> > > > Now at my end, I plan to do download the TRMM (3B42 ) in
netcdf only.
> > But
> > > > this is Global data.
> > > > Pls tell me what I need to do next so that the model and OBSN
(TRMM)
> > are
> > > > in same format and I can run GRID_STAT.
> > > > Pls suggest what best I can Do????
> > > > Geeta
> > > >
> > > >
> > > > > Subject: Re: [rt.rap.ucar.edu #70245] Grid Stat
> > > > > From: met_help at ucar.edu
> > > > > To: geeta124 at hotmail.com
> > > > > Date: Tue, 6 Jan 2015 09:12:05 -0700
> > > > >
> > > > > One way you can edit a NetCDF file is by using the tools
"ncdump" and
> > > > > "ncgen".  For example, you could do something like this:
> > > > >
> > > > > ncdump test.nc > test.txt
> > > > >
> > > > > This creates an editable file called test.txt.  You could
open that
> > with
> > > > > the editor of your choice, remove the ".f" from:
> > > > > APCP_03:accum_time_sec = 10800.f ;
> > > > > and change the floating point values of APCP_03 to integer
values.
> > > > >
> > > > > Then, to create your new NetCDF file you could do something
like
> > this:
> > > > >
> > > > > ncgen -b -o test2.nc test.txt
> > > > >
> > > > > This creates a new NetCDF file called test2.nc using the
file
> > test.txt.
> > > > > This is not a good solution for 122 files though, which is
why I
> > > > suggested
> > > > > discussing this with the person who created the files.
> > > > >
> > > > > I hope this helps.
> > > > >
> > > > > Julie
> > > > >
> > > > > On Tue, Jan 6, 2015 at 9:00 AM, Geeta Geeta via RT <
> > met_help at ucar.edu>
> > > > > wrote:
> > > > >
> > > > > >
> > > > > > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70245 >
> > > > > >
> > > > > > Hi Julie.
> > > > > > I have made the fcst file using MET3.0 and the
observations in
> > netcdf
> > > > > > using the R script.
> > > > > > Pls tell me how to edit the header file so that i do not
get error
> > with
> > > > > > the FLOAT thing.
> > > > > > Geeta
> > > > > >
> > > > > > > Subject: Re: [rt.rap.ucar.edu #70245] Grid Stat
> > > > > > > From: met_help at ucar.edu
> > > > > > > To: geeta124 at hotmail.com
> > > > > > > Date: Tue, 6 Jan 2015 08:55:23 -0700
> > > > > > >
> > > > > > > You can search the met help tickets using google.  For
example,
> > say
> > > > you
> > > > > > > would like to search for "GridStat", you can put the
following
> > search
> > > > > > into
> > > > > > > google:
> > > > > > >
> > > > > > > "GridStat"
site::http://mailman.ucar.edu/pipermail/met_help/
> > > > > > >
> > > > > > > I hope that helps.
> > > > > > >
> > > > > > > Julie
> > > > > > >
> > > > > > > On Mon, Jan 5, 2015 at 10:13 PM, Geeta Geeta via RT <
> > > > met_help at ucar.edu>
> > > > > > > wrote:
> > > > > > >
> > > > > > > >
> > > > > > > > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70245
> > >
> > > > > > > >
> > > > > > > > Julie I want to know if I can look through the
archives of the
> > > > > > > > Tickets/problems. where i can get to see these.
> > > > > > > >
> > > > > > > > From: geeta124 at hotmail.com
> > > > > > > > To: met_help at ucar.edu
> > > > > > > > Subject: RE: [rt.rap.ucar.edu #70245] Grid Stat
> > > > > > > > Date: Tue, 6 Jan 2015 10:16:04 +0530
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > thanks Julie. But how will I edit the nc file. What U
saw was
> > the
> > > > > > header
> > > > > > > > which is seen by running the command ncdump -h
tet_fcst.nc.
> > Pls
> > > > tell
> > > > > > me
> > > > > > > > how will I EDIT the HEADER and the DATA which is float
ONLY
> > and not
> > > > > > Integer.
> > > > > > > > Also I have some 122 files. and may be more in future.
Kindly
> > let
> > > > me
> > > > > > know
> > > > > > > > how I have to proceed.
> > > > > > > > I have a number of other queries for which i want to
get the
> > reply.
> > > > > > Kindly
> > > > > > > > send me the answers to those. Geeta
> > > > > > > >
> > > > > > > >
> > > > > > > > > Subject: Re: [rt.rap.ucar.edu #70245] Grid Stat
> > > > > > > > > From: met_help at ucar.edu
> > > > > > > > > To: geeta124 at hotmail.com
> > > > > > > > > Date: Mon, 5 Jan 2015 10:04:36 -0700
> > > > > > > > >
> > > > > > > > > Hi Geeta.
> > > > > > > > >
> > > > > > > > > The error you are getting indicates that
"accum_time_sec"
> > should
> > > > be
> > > > > > an
> > > > > > > > > integer.  Looking in the file test.nc, I see that
> > > > > > > > >
> > > > > > > > > APCP_03:accum_time_sec = 10800.f ;
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > The ".f" indicates that accum_time_sec is a float,
not an
> > > > integer.
> > > > > > Try
> > > > > > > > > changing that value to an integer and see if that
fixes the
> > > > problem.
> > > > > > > > >
> > > > > > > > > Thanks,
> > > > > > > > > Julie
> > > > > > > > >
> > > > > > > > > On Sun, Jan 4, 2015 at 6:04 AM, Geeta Geeta via RT <
> > > > > > met_help at ucar.edu>
> > > > > > > > > wrote:
> > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > Sun Jan 04 06:04:26 2015: Request 70245 was acted
upon.
> > > > > > > > > > Transaction: Ticket created by
geeta124 at hotmail.com
> > > > > > > > > >        Queue: met_help
> > > > > > > > > >      Subject: Grid Stat
> > > > > > > > > >        Owner: Nobody
> > > > > > > > > >   Requestors: geeta124 at hotmail.com
> > > > > > > > > >       Status: new
> > > > > > > > > >  Ticket <URL:
> > > > > > https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70245
> > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > Hi John.
> > > > > > > > > >
> > > > > > > > > > I sent U an error in the previous mail too.
> > > > > > > > > > I realised that I was using the config file of
MET3.0.
> > > > > > > > > > Now I retried to run MET5.0 with config file
given. I got
> > this
> > > > > > error.
> > > > > > > > > >
> > > > > > > > > > aditya at agniilap:~/geeta/installs/met/myrun-
2jan2015$
> > > > > > ./grid_stat1.sh
> > > > > > > > > >
> > > > > > > > > > *** Running Grid-Stat on APCP using netCDF input
for both
> > > > forecast
> > > > > > and
> > > > > > > > > > observation ***
> > > > > > > > > > DEBUG 1: Default Config File:
> > > > > > > > > >
> > > > > >
> >
/home/aditya/geeta/installs/met/share/met/config/GridStatConfig_default
> > > > > > > > > > DEBUG 1: User Config File: ./GridStatConfig_APCP24
> > > > > > > > > > ERROR  :
> > > > > > > > > > ERROR  : get_att_int(const NcVarInfo &, const
ConcatString
> > &,
> > > > int
> > > > > > &) ->
> > > > > > > > > > attribute "accum_time_sec" should be an integer.
> > > > > > > > > > ERROR  :
> > > > > > > > > >  I checked the config file. I donot know where the
> > acumulation
> > > > > > > > interval is
> > > > > > > > > > to be specified.
> > > > > > > > > >
> > > > > > > > > > Hoping to hear from you soon
> > > > > > > > > > Geeta
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > --
> > > > > > > > > Julie Prestopnik
> > > > > > > > > National Center for Atmospheric Research
> > > > > > > > > Research Applications Laboratory
> > > > > > > > > Phone: 303.497.8399
> > > > > > > > > Email: jpresto at ucar.edu
> > > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > --
> > > > > > > Julie Prestopnik
> > > > > > > National Center for Atmospheric Research
> > > > > > > Research Applications Laboratory
> > > > > > > Phone: 303.497.8399
> > > > > > > Email: jpresto at ucar.edu
> > > > > > >
> > > > > >
> > > > > >
> > > > >
> > > > >
> > > > > --
> > > > > Julie Prestopnik
> > > > > National Center for Atmospheric Research
> > > > > Research Applications Laboratory
> > > > > Phone: 303.497.8399
> > > > > Email: jpresto at ucar.edu
> > > > >
> > > >
> > > >
> > >
> > >
> > > --
> > > Julie Prestopnik
> > > National Center for Atmospheric Research
> > > Research Applications Laboratory
> > > Phone: 303.497.8399
> > > Email: jpresto at ucar.edu
> > >
> >
> >
>
>
> --
> Julie Prestopnik
> National Center for Atmospheric Research
> Research Applications Laboratory
> Phone: 303.497.8399
> Email: jpresto at ucar.edu
>

------------------------------------------------
Subject: Grid Stat
From: Julie Prestopnik
Time: Tue Jan 06 10:59:04 2015

Hi Geeta.  I'm not sure what you mean when you say you did the same
thing.

Please try running the following:

Rscript trmm2nc.R <ASCII_trmm_file> <output_netcdf_file> -save

replacing <ASCII_trmm_file> with the name of your ASCII trmm file and
replacing <output_netcdf_file> with the what you would like your
output netcdf file to be called.

Thanks,
Julie



On Tue, Jan 6, 2015 at 10:53 AM, Geeta Geeta via RT
<met_help at ucar.edu>
wrote:

>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70245 >
>
> Y I did the same thing. But it didnt work.
> Can U transfer my query to someone else who can guide me further?
>
>
>
>
> > Subject: Re: [rt.rap.ucar.edu #70245] Grid Stat
> > From: met_help at ucar.edu
> > To: geeta124 at hotmail.com
> > Date: Tue, 6 Jan 2015 10:50:13 -0700
> >
> > Hi Geeta.  I meant to include a link (
> > http://www.dtcenter.org/met/users/downloads/observation_data.php)
in my
> > last message to you, but I see I neglected to do that so I am glad
you
> were
> > familiar with the links.
> >
> > Unfortunately, I am also not familiar with R, however, looking at
the
> > comments in the file trmmbin2nc.R, I see a usage statement with a
> > description of arguments and an example:
> >
> > ##   Usage:
> > ##      Rscript trmm2nc.R
> > ##         trmm_file
> > ##         nc_file
> > ##         [-save]
> > ##
> > ##   Arguments:
> > ##      "trmm_file" is an ASCII file containing TRMM accumulated
> > precipitation pcp.
> > ##      "nc_file"   is the out NetCDF file to be written.
> > ##      "-save"     to call save.image().
> > ##
> > ##   Details:
> > ##
> > ##   Examples:
> > ##      Rscript trmm2nc.R \
> > ##        trmm_sample.txt \
> > ##        trmm_sample.nc
> >
> > Please follow those directions and see if that works for you.
> >
> > Thanks,
> > Julie
> >
> >
> >
> >
> >
> > On Tue, Jan 6, 2015 at 10:39 AM, Geeta Geeta via RT
<met_help at ucar.edu>
> > wrote:
> >
> > >
> > > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70245 >
> > >
> > > thanks Julie I know of the links to get the data.
> > > But unfortunately, I am unable to run R on my system .
> > > I have never used it.
> > > let me show u the screenshot that opened when I said R on my
shell.
> > >
> > > aditya at agniilap:~/geeta/MET5.0/met-5.0/data/config$ R
> > >
> > > R version 3.1.1 (2014-07-10) -- "Sock it to Me"
> > > Copyright (C) 2014 The R Foundation for Statistical Computing
> > > Platform: i686-pc-linux-gnu (32-bit)
> > >
> > > R is free software and comes with ABSOLUTELY NO WARRANTY.
> > > You are welcome to redistribute it under certain conditions.
> > > Type 'license()' or 'licence()' for distribution details.
> > >
> > >   Natural language support but running in an English locale
> > >
> > > R is a collaborative project with many contributors.
> > > Type 'contributors()' for more information and
> > > 'citation()' on how to cite R or R packages in publications.
> > >
> > > Type 'demo()' for some demos, 'help()' for on-line help, or
> > > 'help.start()' for an HTML browser interface to help.
> > > Type 'q()' to quit R.
> > >
> > > > trmmbin2nc.R
> > >
> > >
> > > Can U guide me further?????????????
> > > Geeta
> > >
> > > > Subject: Re: [rt.rap.ucar.edu #70245] Grid Stat
> > > > From: met_help at ucar.edu
> > > > To: geeta124 at hotmail.com
> > > > Date: Tue, 6 Jan 2015 10:08:01 -0700
> > > >
> > > > Hi Geeta.
> > > >
> > > > It sounds like you're looking for a source of TRMM global data
in a
> > > format
> > > > that MET can handle.  We do have a page of the MET website
with
> links to
> > > > observation datasets:
> > > >
> > > > And there is a source for TRMM data listed there, as well as
an
> Rscript
> > > > that can be used to convert the ASCII TRMM data into a NetCDF
format
> that
> > > > MET can read.  So I'd suggest doing the following:
> > > > (1) Select one of the TRMM data sources
> > > > (2) Retrieve the ASCII version of that TRMM data, being sure
to
> select a
> > > > geographic area similar to your model's domain.
> > > > (3) Run that data through trmm2nc.R script.
> > > > (4) I don't know what model you are using, but you may be able
to use
> > > > copygb to regrid it to the same domain as the TRMM data.
> > > >
> > > > I hope that helps.
> > > >
> > > > Julie
> > > >
> > > >
> > > > On Tue, Jan 6, 2015 at 9:25 AM, Geeta Geeta via RT <
> met_help at ucar.edu>
> > > > wrote:
> > > >
> > > > >
> > > > > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70245 >
> > > > >
> > > > > thanks Julie.
> > > > > I had basically TRMM data files which were converted to
NETCDF by R
> > > script
> > > > > by some one else.
> > > > >
> > > > > Now at my end, I plan to do download the TRMM (3B42 ) in
netcdf
> only.
> > > But
> > > > > this is Global data.
> > > > > Pls tell me what I need to do next so that the model and
OBSN
> (TRMM)
> > > are
> > > > > in same format and I can run GRID_STAT.
> > > > > Pls suggest what best I can Do????
> > > > > Geeta
> > > > >
> > > > >
> > > > > > Subject: Re: [rt.rap.ucar.edu #70245] Grid Stat
> > > > > > From: met_help at ucar.edu
> > > > > > To: geeta124 at hotmail.com
> > > > > > Date: Tue, 6 Jan 2015 09:12:05 -0700
> > > > > >
> > > > > > One way you can edit a NetCDF file is by using the tools
> "ncdump" and
> > > > > > "ncgen".  For example, you could do something like this:
> > > > > >
> > > > > > ncdump test.nc > test.txt
> > > > > >
> > > > > > This creates an editable file called test.txt.  You could
open
> that
> > > with
> > > > > > the editor of your choice, remove the ".f" from:
> > > > > > APCP_03:accum_time_sec = 10800.f ;
> > > > > > and change the floating point values of APCP_03 to integer
> values.
> > > > > >
> > > > > > Then, to create your new NetCDF file you could do
something like
> > > this:
> > > > > >
> > > > > > ncgen -b -o test2.nc test.txt
> > > > > >
> > > > > > This creates a new NetCDF file called test2.nc using the
file
> > > test.txt.
> > > > > > This is not a good solution for 122 files though, which is
why I
> > > > > suggested
> > > > > > discussing this with the person who created the files.
> > > > > >
> > > > > > I hope this helps.
> > > > > >
> > > > > > Julie
> > > > > >
> > > > > > On Tue, Jan 6, 2015 at 9:00 AM, Geeta Geeta via RT <
> > > met_help at ucar.edu>
> > > > > > wrote:
> > > > > >
> > > > > > >
> > > > > > > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70245
> >
> > > > > > >
> > > > > > > Hi Julie.
> > > > > > > I have made the fcst file using MET3.0 and the
observations in
> > > netcdf
> > > > > > > using the R script.
> > > > > > > Pls tell me how to edit the header file so that i do not
get
> error
> > > with
> > > > > > > the FLOAT thing.
> > > > > > > Geeta
> > > > > > >
> > > > > > > > Subject: Re: [rt.rap.ucar.edu #70245] Grid Stat
> > > > > > > > From: met_help at ucar.edu
> > > > > > > > To: geeta124 at hotmail.com
> > > > > > > > Date: Tue, 6 Jan 2015 08:55:23 -0700
> > > > > > > >
> > > > > > > > You can search the met help tickets using google.  For
> example,
> > > say
> > > > > you
> > > > > > > > would like to search for "GridStat", you can put the
> following
> > > search
> > > > > > > into
> > > > > > > > google:
> > > > > > > >
> > > > > > > > "GridStat"
site::http://mailman.ucar.edu/pipermail/met_help/
> > > > > > > >
> > > > > > > > I hope that helps.
> > > > > > > >
> > > > > > > > Julie
> > > > > > > >
> > > > > > > > On Mon, Jan 5, 2015 at 10:13 PM, Geeta Geeta via RT <
> > > > > met_help at ucar.edu>
> > > > > > > > wrote:
> > > > > > > >
> > > > > > > > >
> > > > > > > > > <URL:
> https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70245
> > > >
> > > > > > > > >
> > > > > > > > > Julie I want to know if I can look through the
archives of
> the
> > > > > > > > > Tickets/problems. where i can get to see these.
> > > > > > > > >
> > > > > > > > > From: geeta124 at hotmail.com
> > > > > > > > > To: met_help at ucar.edu
> > > > > > > > > Subject: RE: [rt.rap.ucar.edu #70245] Grid Stat
> > > > > > > > > Date: Tue, 6 Jan 2015 10:16:04 +0530
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > thanks Julie. But how will I edit the nc file. What
U saw
> was
> > > the
> > > > > > > header
> > > > > > > > > which is seen by running the command ncdump -h
tet_fcst.nc
> .
> > > Pls
> > > > > tell
> > > > > > > me
> > > > > > > > > how will I EDIT the HEADER and the DATA which is
float ONLY
> > > and not
> > > > > > > Integer.
> > > > > > > > > Also I have some 122 files. and may be more in
future.
> Kindly
> > > let
> > > > > me
> > > > > > > know
> > > > > > > > > how I have to proceed.
> > > > > > > > > I have a number of other queries for which i want to
get
> the
> > > reply.
> > > > > > > Kindly
> > > > > > > > > send me the answers to those. Geeta
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > > Subject: Re: [rt.rap.ucar.edu #70245] Grid Stat
> > > > > > > > > > From: met_help at ucar.edu
> > > > > > > > > > To: geeta124 at hotmail.com
> > > > > > > > > > Date: Mon, 5 Jan 2015 10:04:36 -0700
> > > > > > > > > >
> > > > > > > > > > Hi Geeta.
> > > > > > > > > >
> > > > > > > > > > The error you are getting indicates that
"accum_time_sec"
> > > should
> > > > > be
> > > > > > > an
> > > > > > > > > > integer.  Looking in the file test.nc, I see that
> > > > > > > > > >
> > > > > > > > > > APCP_03:accum_time_sec = 10800.f ;
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > The ".f" indicates that accum_time_sec is a float,
not an
> > > > > integer.
> > > > > > > Try
> > > > > > > > > > changing that value to an integer and see if that
fixes
> the
> > > > > problem.
> > > > > > > > > >
> > > > > > > > > > Thanks,
> > > > > > > > > > Julie
> > > > > > > > > >
> > > > > > > > > > On Sun, Jan 4, 2015 at 6:04 AM, Geeta Geeta via RT
<
> > > > > > > met_help at ucar.edu>
> > > > > > > > > > wrote:
> > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > Sun Jan 04 06:04:26 2015: Request 70245 was
acted upon.
> > > > > > > > > > > Transaction: Ticket created by
geeta124 at hotmail.com
> > > > > > > > > > >        Queue: met_help
> > > > > > > > > > >      Subject: Grid Stat
> > > > > > > > > > >        Owner: Nobody
> > > > > > > > > > >   Requestors: geeta124 at hotmail.com
> > > > > > > > > > >       Status: new
> > > > > > > > > > >  Ticket <URL:
> > > > > > > https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70245
> > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > Hi John.
> > > > > > > > > > >
> > > > > > > > > > > I sent U an error in the previous mail too.
> > > > > > > > > > > I realised that I was using the config file of
MET3.0.
> > > > > > > > > > > Now I retried to run MET5.0 with config file
given. I
> got
> > > this
> > > > > > > error.
> > > > > > > > > > >
> > > > > > > > > > > aditya at agniilap:~/geeta/installs/met/myrun-
2jan2015$
> > > > > > > ./grid_stat1.sh
> > > > > > > > > > >
> > > > > > > > > > > *** Running Grid-Stat on APCP using netCDF input
for
> both
> > > > > forecast
> > > > > > > and
> > > > > > > > > > > observation ***
> > > > > > > > > > > DEBUG 1: Default Config File:
> > > > > > > > > > >
> > > > > > >
> > >
/home/aditya/geeta/installs/met/share/met/config/GridStatConfig_default
> > > > > > > > > > > DEBUG 1: User Config File:
./GridStatConfig_APCP24
> > > > > > > > > > > ERROR  :
> > > > > > > > > > > ERROR  : get_att_int(const NcVarInfo &, const
> ConcatString
> > > &,
> > > > > int
> > > > > > > &) ->
> > > > > > > > > > > attribute "accum_time_sec" should be an integer.
> > > > > > > > > > > ERROR  :
> > > > > > > > > > >  I checked the config file. I donot know where
the
> > > acumulation
> > > > > > > > > interval is
> > > > > > > > > > > to be specified.
> > > > > > > > > > >
> > > > > > > > > > > Hoping to hear from you soon
> > > > > > > > > > > Geeta
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > --
> > > > > > > > > > Julie Prestopnik
> > > > > > > > > > National Center for Atmospheric Research
> > > > > > > > > > Research Applications Laboratory
> > > > > > > > > > Phone: 303.497.8399
> > > > > > > > > > Email: jpresto at ucar.edu
> > > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > --
> > > > > > > > Julie Prestopnik
> > > > > > > > National Center for Atmospheric Research
> > > > > > > > Research Applications Laboratory
> > > > > > > > Phone: 303.497.8399
> > > > > > > > Email: jpresto at ucar.edu
> > > > > > > >
> > > > > > >
> > > > > > >
> > > > > >
> > > > > >
> > > > > > --
> > > > > > Julie Prestopnik
> > > > > > National Center for Atmospheric Research
> > > > > > Research Applications Laboratory
> > > > > > Phone: 303.497.8399
> > > > > > Email: jpresto at ucar.edu
> > > > > >
> > > > >
> > > > >
> > > >
> > > >
> > > > --
> > > > Julie Prestopnik
> > > > National Center for Atmospheric Research
> > > > Research Applications Laboratory
> > > > Phone: 303.497.8399
> > > > Email: jpresto at ucar.edu
> > > >
> > >
> > >
> >
> >
> > --
> > Julie Prestopnik
> > National Center for Atmospheric Research
> > Research Applications Laboratory
> > Phone: 303.497.8399
> > Email: jpresto at ucar.edu
> >
>
>


--
Julie Prestopnik
National Center for Atmospheric Research
Research Applications Laboratory
Phone: 303.497.8399
Email: jpresto at ucar.edu

------------------------------------------------
Subject: Grid Stat
From: Geeta Geeta
Time: Tue Jan 06 11:10:05 2015

Hi Julie I did what U have told me to.

aditya at agniilap:~/geeta/installs/met/trmm_to_nc$ R

R version 3.1.1 (2014-07-10) -- "Sock it to Me"
Copyright (C) 2014 The R Foundation for Statistical Computing
Platform: i686-pc-linux-gnu (32-bit)

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

  Natural language support but running in an English locale

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

> Rscript
Error: object 'Rscript' not found
> Rscript trmmbin2nc.R 3B42.20110602.00.7.nc mync.nc
Error: unexpected symbol in "Rscript trmmbin2nc.R"
> Rscript trmm2nc.R
TRMM_3B42_daily.007.precipitation.02Jun2011.G3.output.txt mync.nc
Error: unexpected symbol in "Rscript trmm2nc.R"
>


> Subject: Re: [rt.rap.ucar.edu #70245] Grid Stat
> From: met_help at ucar.edu
> To: geeta124 at hotmail.com
> Date: Tue, 6 Jan 2015 10:59:04 -0700
>
> Hi Geeta.  I'm not sure what you mean when you say you did the same
thing.
>
> Please try running the following:
>
> Rscript trmm2nc.R <ASCII_trmm_file> <output_netcdf_file> -save
>
> replacing <ASCII_trmm_file> with the name of your ASCII trmm file
and
> replacing <output_netcdf_file> with the what you would like your
> output netcdf file to be called.
>
> Thanks,
> Julie
>
>
>
> On Tue, Jan 6, 2015 at 10:53 AM, Geeta Geeta via RT
<met_help at ucar.edu>
> wrote:
>
> >
> > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70245 >
> >
> > Y I did the same thing. But it didnt work.
> > Can U transfer my query to someone else who can guide me further?
> >
> >
> >
> >
> > > Subject: Re: [rt.rap.ucar.edu #70245] Grid Stat
> > > From: met_help at ucar.edu
> > > To: geeta124 at hotmail.com
> > > Date: Tue, 6 Jan 2015 10:50:13 -0700
> > >
> > > Hi Geeta.  I meant to include a link (
> > >
http://www.dtcenter.org/met/users/downloads/observation_data.php) in
my
> > > last message to you, but I see I neglected to do that so I am
glad you
> > were
> > > familiar with the links.
> > >
> > > Unfortunately, I am also not familiar with R, however, looking
at the
> > > comments in the file trmmbin2nc.R, I see a usage statement with
a
> > > description of arguments and an example:
> > >
> > > ##   Usage:
> > > ##      Rscript trmm2nc.R
> > > ##         trmm_file
> > > ##         nc_file
> > > ##         [-save]
> > > ##
> > > ##   Arguments:
> > > ##      "trmm_file" is an ASCII file containing TRMM accumulated
> > > precipitation pcp.
> > > ##      "nc_file"   is the out NetCDF file to be written.
> > > ##      "-save"     to call save.image().
> > > ##
> > > ##   Details:
> > > ##
> > > ##   Examples:
> > > ##      Rscript trmm2nc.R \
> > > ##        trmm_sample.txt \
> > > ##        trmm_sample.nc
> > >
> > > Please follow those directions and see if that works for you.
> > >
> > > Thanks,
> > > Julie
> > >
> > >
> > >
> > >
> > >
> > > On Tue, Jan 6, 2015 at 10:39 AM, Geeta Geeta via RT
<met_help at ucar.edu>
> > > wrote:
> > >
> > > >
> > > > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70245
>
> > > >
> > > > thanks Julie I know of the links to get the data.
> > > > But unfortunately, I am unable to run R on my system .
> > > > I have never used it.
> > > > let me show u the screenshot that opened when I said R on my
shell.
> > > >
> > > > aditya at agniilap:~/geeta/MET5.0/met-5.0/data/config$ R
> > > >
> > > > R version 3.1.1 (2014-07-10) -- "Sock it to Me"
> > > > Copyright (C) 2014 The R Foundation for Statistical Computing
> > > > Platform: i686-pc-linux-gnu (32-bit)
> > > >
> > > > R is free software and comes with ABSOLUTELY NO WARRANTY.
> > > > You are welcome to redistribute it under certain conditions.
> > > > Type 'license()' or 'licence()' for distribution details.
> > > >
> > > >   Natural language support but running in an English locale
> > > >
> > > > R is a collaborative project with many contributors.
> > > > Type 'contributors()' for more information and
> > > > 'citation()' on how to cite R or R packages in publications.
> > > >
> > > > Type 'demo()' for some demos, 'help()' for on-line help, or
> > > > 'help.start()' for an HTML browser interface to help.
> > > > Type 'q()' to quit R.
> > > >
> > > > > trmmbin2nc.R
> > > >
> > > >
> > > > Can U guide me further?????????????
> > > > Geeta
> > > >
> > > > > Subject: Re: [rt.rap.ucar.edu #70245] Grid Stat
> > > > > From: met_help at ucar.edu
> > > > > To: geeta124 at hotmail.com
> > > > > Date: Tue, 6 Jan 2015 10:08:01 -0700
> > > > >
> > > > > Hi Geeta.
> > > > >
> > > > > It sounds like you're looking for a source of TRMM global
data in a
> > > > format
> > > > > that MET can handle.  We do have a page of the MET website
with
> > links to
> > > > > observation datasets:
> > > > >
> > > > > And there is a source for TRMM data listed there, as well as
an
> > Rscript
> > > > > that can be used to convert the ASCII TRMM data into a
NetCDF format
> > that
> > > > > MET can read.  So I'd suggest doing the following:
> > > > > (1) Select one of the TRMM data sources
> > > > > (2) Retrieve the ASCII version of that TRMM data, being sure
to
> > select a
> > > > > geographic area similar to your model's domain.
> > > > > (3) Run that data through trmm2nc.R script.
> > > > > (4) I don't know what model you are using, but you may be
able to use
> > > > > copygb to regrid it to the same domain as the TRMM data.
> > > > >
> > > > > I hope that helps.
> > > > >
> > > > > Julie
> > > > >
> > > > >
> > > > > On Tue, Jan 6, 2015 at 9:25 AM, Geeta Geeta via RT <
> > met_help at ucar.edu>
> > > > > wrote:
> > > > >
> > > > > >
> > > > > > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70245 >
> > > > > >
> > > > > > thanks Julie.
> > > > > > I had basically TRMM data files which were converted to
NETCDF by R
> > > > script
> > > > > > by some one else.
> > > > > >
> > > > > > Now at my end, I plan to do download the TRMM (3B42 ) in
netcdf
> > only.
> > > > But
> > > > > > this is Global data.
> > > > > > Pls tell me what I need to do next so that the model and
OBSN
> > (TRMM)
> > > > are
> > > > > > in same format and I can run GRID_STAT.
> > > > > > Pls suggest what best I can Do????
> > > > > > Geeta
> > > > > >
> > > > > >
> > > > > > > Subject: Re: [rt.rap.ucar.edu #70245] Grid Stat
> > > > > > > From: met_help at ucar.edu
> > > > > > > To: geeta124 at hotmail.com
> > > > > > > Date: Tue, 6 Jan 2015 09:12:05 -0700
> > > > > > >
> > > > > > > One way you can edit a NetCDF file is by using the tools
> > "ncdump" and
> > > > > > > "ncgen".  For example, you could do something like this:
> > > > > > >
> > > > > > > ncdump test.nc > test.txt
> > > > > > >
> > > > > > > This creates an editable file called test.txt.  You
could open
> > that
> > > > with
> > > > > > > the editor of your choice, remove the ".f" from:
> > > > > > > APCP_03:accum_time_sec = 10800.f ;
> > > > > > > and change the floating point values of APCP_03 to
integer
> > values.
> > > > > > >
> > > > > > > Then, to create your new NetCDF file you could do
something like
> > > > this:
> > > > > > >
> > > > > > > ncgen -b -o test2.nc test.txt
> > > > > > >
> > > > > > > This creates a new NetCDF file called test2.nc using the
file
> > > > test.txt.
> > > > > > > This is not a good solution for 122 files though, which
is why I
> > > > > > suggested
> > > > > > > discussing this with the person who created the files.
> > > > > > >
> > > > > > > I hope this helps.
> > > > > > >
> > > > > > > Julie
> > > > > > >
> > > > > > > On Tue, Jan 6, 2015 at 9:00 AM, Geeta Geeta via RT <
> > > > met_help at ucar.edu>
> > > > > > > wrote:
> > > > > > >
> > > > > > > >
> > > > > > > > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70245
> > >
> > > > > > > >
> > > > > > > > Hi Julie.
> > > > > > > > I have made the fcst file using MET3.0 and the
observations in
> > > > netcdf
> > > > > > > > using the R script.
> > > > > > > > Pls tell me how to edit the header file so that i do
not get
> > error
> > > > with
> > > > > > > > the FLOAT thing.
> > > > > > > > Geeta
> > > > > > > >
> > > > > > > > > Subject: Re: [rt.rap.ucar.edu #70245] Grid Stat
> > > > > > > > > From: met_help at ucar.edu
> > > > > > > > > To: geeta124 at hotmail.com
> > > > > > > > > Date: Tue, 6 Jan 2015 08:55:23 -0700
> > > > > > > > >
> > > > > > > > > You can search the met help tickets using google.
For
> > example,
> > > > say
> > > > > > you
> > > > > > > > > would like to search for "GridStat", you can put the
> > following
> > > > search
> > > > > > > > into
> > > > > > > > > google:
> > > > > > > > >
> > > > > > > > > "GridStat"
site::http://mailman.ucar.edu/pipermail/met_help/
> > > > > > > > >
> > > > > > > > > I hope that helps.
> > > > > > > > >
> > > > > > > > > Julie
> > > > > > > > >
> > > > > > > > > On Mon, Jan 5, 2015 at 10:13 PM, Geeta Geeta via RT
<
> > > > > > met_help at ucar.edu>
> > > > > > > > > wrote:
> > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > <URL:
> > https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70245
> > > > >
> > > > > > > > > >
> > > > > > > > > > Julie I want to know if I can look through the
archives of
> > the
> > > > > > > > > > Tickets/problems. where i can get to see these.
> > > > > > > > > >
> > > > > > > > > > From: geeta124 at hotmail.com
> > > > > > > > > > To: met_help at ucar.edu
> > > > > > > > > > Subject: RE: [rt.rap.ucar.edu #70245] Grid Stat
> > > > > > > > > > Date: Tue, 6 Jan 2015 10:16:04 +0530
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > thanks Julie. But how will I edit the nc file.
What U saw
> > was
> > > > the
> > > > > > > > header
> > > > > > > > > > which is seen by running the command ncdump -h
tet_fcst.nc
> > .
> > > > Pls
> > > > > > tell
> > > > > > > > me
> > > > > > > > > > how will I EDIT the HEADER and the DATA which is
float ONLY
> > > > and not
> > > > > > > > Integer.
> > > > > > > > > > Also I have some 122 files. and may be more in
future.
> > Kindly
> > > > let
> > > > > > me
> > > > > > > > know
> > > > > > > > > > how I have to proceed.
> > > > > > > > > > I have a number of other queries for which i want
to get
> > the
> > > > reply.
> > > > > > > > Kindly
> > > > > > > > > > send me the answers to those. Geeta
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > > Subject: Re: [rt.rap.ucar.edu #70245] Grid Stat
> > > > > > > > > > > From: met_help at ucar.edu
> > > > > > > > > > > To: geeta124 at hotmail.com
> > > > > > > > > > > Date: Mon, 5 Jan 2015 10:04:36 -0700
> > > > > > > > > > >
> > > > > > > > > > > Hi Geeta.
> > > > > > > > > > >
> > > > > > > > > > > The error you are getting indicates that
"accum_time_sec"
> > > > should
> > > > > > be
> > > > > > > > an
> > > > > > > > > > > integer.  Looking in the file test.nc, I see
that
> > > > > > > > > > >
> > > > > > > > > > > APCP_03:accum_time_sec = 10800.f ;
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > The ".f" indicates that accum_time_sec is a
float, not an
> > > > > > integer.
> > > > > > > > Try
> > > > > > > > > > > changing that value to an integer and see if
that fixes
> > the
> > > > > > problem.
> > > > > > > > > > >
> > > > > > > > > > > Thanks,
> > > > > > > > > > > Julie
> > > > > > > > > > >
> > > > > > > > > > > On Sun, Jan 4, 2015 at 6:04 AM, Geeta Geeta via
RT <
> > > > > > > > met_help at ucar.edu>
> > > > > > > > > > > wrote:
> > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > Sun Jan 04 06:04:26 2015: Request 70245 was
acted upon.
> > > > > > > > > > > > Transaction: Ticket created by
geeta124 at hotmail.com
> > > > > > > > > > > >        Queue: met_help
> > > > > > > > > > > >      Subject: Grid Stat
> > > > > > > > > > > >        Owner: Nobody
> > > > > > > > > > > >   Requestors: geeta124 at hotmail.com
> > > > > > > > > > > >       Status: new
> > > > > > > > > > > >  Ticket <URL:
> > > > > > > >
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70245
> > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > Hi John.
> > > > > > > > > > > >
> > > > > > > > > > > > I sent U an error in the previous mail too.
> > > > > > > > > > > > I realised that I was using the config file of
MET3.0.
> > > > > > > > > > > > Now I retried to run MET5.0 with config file
given. I
> > got
> > > > this
> > > > > > > > error.
> > > > > > > > > > > >
> > > > > > > > > > > > aditya at agniilap:~/geeta/installs/met/myrun-
2jan2015$
> > > > > > > > ./grid_stat1.sh
> > > > > > > > > > > >
> > > > > > > > > > > > *** Running Grid-Stat on APCP using netCDF
input for
> > both
> > > > > > forecast
> > > > > > > > and
> > > > > > > > > > > > observation ***
> > > > > > > > > > > > DEBUG 1: Default Config File:
> > > > > > > > > > > >
> > > > > > > >
> > > >
/home/aditya/geeta/installs/met/share/met/config/GridStatConfig_default
> > > > > > > > > > > > DEBUG 1: User Config File:
./GridStatConfig_APCP24
> > > > > > > > > > > > ERROR  :
> > > > > > > > > > > > ERROR  : get_att_int(const NcVarInfo &, const
> > ConcatString
> > > > &,
> > > > > > int
> > > > > > > > &) ->
> > > > > > > > > > > > attribute "accum_time_sec" should be an
integer.
> > > > > > > > > > > > ERROR  :
> > > > > > > > > > > >  I checked the config file. I donot know where
the
> > > > acumulation
> > > > > > > > > > interval is
> > > > > > > > > > > > to be specified.
> > > > > > > > > > > >
> > > > > > > > > > > > Hoping to hear from you soon
> > > > > > > > > > > > Geeta
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > --
> > > > > > > > > > > Julie Prestopnik
> > > > > > > > > > > National Center for Atmospheric Research
> > > > > > > > > > > Research Applications Laboratory
> > > > > > > > > > > Phone: 303.497.8399
> > > > > > > > > > > Email: jpresto at ucar.edu
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > --
> > > > > > > > > Julie Prestopnik
> > > > > > > > > National Center for Atmospheric Research
> > > > > > > > > Research Applications Laboratory
> > > > > > > > > Phone: 303.497.8399
> > > > > > > > > Email: jpresto at ucar.edu
> > > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > --
> > > > > > > Julie Prestopnik
> > > > > > > National Center for Atmospheric Research
> > > > > > > Research Applications Laboratory
> > > > > > > Phone: 303.497.8399
> > > > > > > Email: jpresto at ucar.edu
> > > > > > >
> > > > > >
> > > > > >
> > > > >
> > > > >
> > > > > --
> > > > > Julie Prestopnik
> > > > > National Center for Atmospheric Research
> > > > > Research Applications Laboratory
> > > > > Phone: 303.497.8399
> > > > > Email: jpresto at ucar.edu
> > > > >
> > > >
> > > >
> > >
> > >
> > > --
> > > Julie Prestopnik
> > > National Center for Atmospheric Research
> > > Research Applications Laboratory
> > > Phone: 303.497.8399
> > > Email: jpresto at ucar.edu
> > >
> >
> >
>
>
> --
> Julie Prestopnik
> National Center for Atmospheric Research
> Research Applications Laboratory
> Phone: 303.497.8399
> Email: jpresto at ucar.edu
>

------------------------------------------------
Subject: Grid Stat
From: Julie Prestopnik
Time: Tue Jan 06 11:18:36 2015

Hi Geeta.  I think you don't want to run "R" first.  You simply want
to run
the following from the command line:

Rscript trmm2nc.R
TRMM_3B42_daily.007.precipitation.02Jun2011.G3.output.txt
mync.nc

Give that a try and please let me know how it goes.

Thanks,
Julie

On Tue, Jan 6, 2015 at 11:10 AM, Geeta Geeta via RT
<met_help at ucar.edu>
wrote:

>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70245 >
>
> Hi Julie I did what U have told me to.
>
> aditya at agniilap:~/geeta/installs/met/trmm_to_nc$ R
>
> R version 3.1.1 (2014-07-10) -- "Sock it to Me"
> Copyright (C) 2014 The R Foundation for Statistical Computing
> Platform: i686-pc-linux-gnu (32-bit)
>
> R is free software and comes with ABSOLUTELY NO WARRANTY.
> You are welcome to redistribute it under certain conditions.
> Type 'license()' or 'licence()' for distribution details.
>
>   Natural language support but running in an English locale
>
> R is a collaborative project with many contributors.
> Type 'contributors()' for more information and
> 'citation()' on how to cite R or R packages in publications.
>
> Type 'demo()' for some demos, 'help()' for on-line help, or
> 'help.start()' for an HTML browser interface to help.
> Type 'q()' to quit R.
>
> > Rscript
> Error: object 'Rscript' not found
> > Rscript trmmbin2nc.R 3B42.20110602.00.7.nc mync.nc
> Error: unexpected symbol in "Rscript trmmbin2nc.R"
> > Rscript trmm2nc.R
> TRMM_3B42_daily.007.precipitation.02Jun2011.G3.output.txt mync.nc
> Error: unexpected symbol in "Rscript trmm2nc.R"
> >
>
>
> > Subject: Re: [rt.rap.ucar.edu #70245] Grid Stat
> > From: met_help at ucar.edu
> > To: geeta124 at hotmail.com
> > Date: Tue, 6 Jan 2015 10:59:04 -0700
> >
> > Hi Geeta.  I'm not sure what you mean when you say you did the
same
> thing.
> >
> > Please try running the following:
> >
> > Rscript trmm2nc.R <ASCII_trmm_file> <output_netcdf_file> -save
> >
> > replacing <ASCII_trmm_file> with the name of your ASCII trmm file
and
> > replacing <output_netcdf_file> with the what you would like your
> > output netcdf file to be called.
> >
> > Thanks,
> > Julie
> >
> >
> >
> > On Tue, Jan 6, 2015 at 10:53 AM, Geeta Geeta via RT
<met_help at ucar.edu>
> > wrote:
> >
> > >
> > > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70245 >
> > >
> > > Y I did the same thing. But it didnt work.
> > > Can U transfer my query to someone else who can guide me
further?
> > >
> > >
> > >
> > >
> > > > Subject: Re: [rt.rap.ucar.edu #70245] Grid Stat
> > > > From: met_help at ucar.edu
> > > > To: geeta124 at hotmail.com
> > > > Date: Tue, 6 Jan 2015 10:50:13 -0700
> > > >
> > > > Hi Geeta.  I meant to include a link (
> > > >
http://www.dtcenter.org/met/users/downloads/observation_data.php)
> in my
> > > > last message to you, but I see I neglected to do that so I am
glad
> you
> > > were
> > > > familiar with the links.
> > > >
> > > > Unfortunately, I am also not familiar with R, however, looking
at the
> > > > comments in the file trmmbin2nc.R, I see a usage statement
with a
> > > > description of arguments and an example:
> > > >
> > > > ##   Usage:
> > > > ##      Rscript trmm2nc.R
> > > > ##         trmm_file
> > > > ##         nc_file
> > > > ##         [-save]
> > > > ##
> > > > ##   Arguments:
> > > > ##      "trmm_file" is an ASCII file containing TRMM
accumulated
> > > > precipitation pcp.
> > > > ##      "nc_file"   is the out NetCDF file to be written.
> > > > ##      "-save"     to call save.image().
> > > > ##
> > > > ##   Details:
> > > > ##
> > > > ##   Examples:
> > > > ##      Rscript trmm2nc.R \
> > > > ##        trmm_sample.txt \
> > > > ##        trmm_sample.nc
> > > >
> > > > Please follow those directions and see if that works for you.
> > > >
> > > > Thanks,
> > > > Julie
> > > >
> > > >
> > > >
> > > >
> > > >
> > > > On Tue, Jan 6, 2015 at 10:39 AM, Geeta Geeta via RT <
> met_help at ucar.edu>
> > > > wrote:
> > > >
> > > > >
> > > > > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70245 >
> > > > >
> > > > > thanks Julie I know of the links to get the data.
> > > > > But unfortunately, I am unable to run R on my system .
> > > > > I have never used it.
> > > > > let me show u the screenshot that opened when I said R on my
shell.
> > > > >
> > > > > aditya at agniilap:~/geeta/MET5.0/met-5.0/data/config$ R
> > > > >
> > > > > R version 3.1.1 (2014-07-10) -- "Sock it to Me"
> > > > > Copyright (C) 2014 The R Foundation for Statistical
Computing
> > > > > Platform: i686-pc-linux-gnu (32-bit)
> > > > >
> > > > > R is free software and comes with ABSOLUTELY NO WARRANTY.
> > > > > You are welcome to redistribute it under certain conditions.
> > > > > Type 'license()' or 'licence()' for distribution details.
> > > > >
> > > > >   Natural language support but running in an English locale
> > > > >
> > > > > R is a collaborative project with many contributors.
> > > > > Type 'contributors()' for more information and
> > > > > 'citation()' on how to cite R or R packages in publications.
> > > > >
> > > > > Type 'demo()' for some demos, 'help()' for on-line help, or
> > > > > 'help.start()' for an HTML browser interface to help.
> > > > > Type 'q()' to quit R.
> > > > >
> > > > > > trmmbin2nc.R
> > > > >
> > > > >
> > > > > Can U guide me further?????????????
> > > > > Geeta
> > > > >
> > > > > > Subject: Re: [rt.rap.ucar.edu #70245] Grid Stat
> > > > > > From: met_help at ucar.edu
> > > > > > To: geeta124 at hotmail.com
> > > > > > Date: Tue, 6 Jan 2015 10:08:01 -0700
> > > > > >
> > > > > > Hi Geeta.
> > > > > >
> > > > > > It sounds like you're looking for a source of TRMM global
data
> in a
> > > > > format
> > > > > > that MET can handle.  We do have a page of the MET website
with
> > > links to
> > > > > > observation datasets:
> > > > > >
> > > > > > And there is a source for TRMM data listed there, as well
as an
> > > Rscript
> > > > > > that can be used to convert the ASCII TRMM data into a
NetCDF
> format
> > > that
> > > > > > MET can read.  So I'd suggest doing the following:
> > > > > > (1) Select one of the TRMM data sources
> > > > > > (2) Retrieve the ASCII version of that TRMM data, being
sure to
> > > select a
> > > > > > geographic area similar to your model's domain.
> > > > > > (3) Run that data through trmm2nc.R script.
> > > > > > (4) I don't know what model you are using, but you may be
able
> to use
> > > > > > copygb to regrid it to the same domain as the TRMM data.
> > > > > >
> > > > > > I hope that helps.
> > > > > >
> > > > > > Julie
> > > > > >
> > > > > >
> > > > > > On Tue, Jan 6, 2015 at 9:25 AM, Geeta Geeta via RT <
> > > met_help at ucar.edu>
> > > > > > wrote:
> > > > > >
> > > > > > >
> > > > > > > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70245
> >
> > > > > > >
> > > > > > > thanks Julie.
> > > > > > > I had basically TRMM data files which were converted to
NETCDF
> by R
> > > > > script
> > > > > > > by some one else.
> > > > > > >
> > > > > > > Now at my end, I plan to do download the TRMM (3B42 ) in
netcdf
> > > only.
> > > > > But
> > > > > > > this is Global data.
> > > > > > > Pls tell me what I need to do next so that the model and
OBSN
> > > (TRMM)
> > > > > are
> > > > > > > in same format and I can run GRID_STAT.
> > > > > > > Pls suggest what best I can Do????
> > > > > > > Geeta
> > > > > > >
> > > > > > >
> > > > > > > > Subject: Re: [rt.rap.ucar.edu #70245] Grid Stat
> > > > > > > > From: met_help at ucar.edu
> > > > > > > > To: geeta124 at hotmail.com
> > > > > > > > Date: Tue, 6 Jan 2015 09:12:05 -0700
> > > > > > > >
> > > > > > > > One way you can edit a NetCDF file is by using the
tools
> > > "ncdump" and
> > > > > > > > "ncgen".  For example, you could do something like
this:
> > > > > > > >
> > > > > > > > ncdump test.nc > test.txt
> > > > > > > >
> > > > > > > > This creates an editable file called test.txt.  You
could
> open
> > > that
> > > > > with
> > > > > > > > the editor of your choice, remove the ".f" from:
> > > > > > > > APCP_03:accum_time_sec = 10800.f ;
> > > > > > > > and change the floating point values of APCP_03 to
integer
> > > values.
> > > > > > > >
> > > > > > > > Then, to create your new NetCDF file you could do
something
> like
> > > > > this:
> > > > > > > >
> > > > > > > > ncgen -b -o test2.nc test.txt
> > > > > > > >
> > > > > > > > This creates a new NetCDF file called test2.nc using
the
> file
> > > > > test.txt.
> > > > > > > > This is not a good solution for 122 files though,
which is
> why I
> > > > > > > suggested
> > > > > > > > discussing this with the person who created the files.
> > > > > > > >
> > > > > > > > I hope this helps.
> > > > > > > >
> > > > > > > > Julie
> > > > > > > >
> > > > > > > > On Tue, Jan 6, 2015 at 9:00 AM, Geeta Geeta via RT <
> > > > > met_help at ucar.edu>
> > > > > > > > wrote:
> > > > > > > >
> > > > > > > > >
> > > > > > > > > <URL:
> https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70245
> > > >
> > > > > > > > >
> > > > > > > > > Hi Julie.
> > > > > > > > > I have made the fcst file using MET3.0 and the
> observations in
> > > > > netcdf
> > > > > > > > > using the R script.
> > > > > > > > > Pls tell me how to edit the header file so that i do
not
> get
> > > error
> > > > > with
> > > > > > > > > the FLOAT thing.
> > > > > > > > > Geeta
> > > > > > > > >
> > > > > > > > > > Subject: Re: [rt.rap.ucar.edu #70245] Grid Stat
> > > > > > > > > > From: met_help at ucar.edu
> > > > > > > > > > To: geeta124 at hotmail.com
> > > > > > > > > > Date: Tue, 6 Jan 2015 08:55:23 -0700
> > > > > > > > > >
> > > > > > > > > > You can search the met help tickets using google.
For
> > > example,
> > > > > say
> > > > > > > you
> > > > > > > > > > would like to search for "GridStat", you can put
the
> > > following
> > > > > search
> > > > > > > > > into
> > > > > > > > > > google:
> > > > > > > > > >
> > > > > > > > > > "GridStat" site::
> http://mailman.ucar.edu/pipermail/met_help/
> > > > > > > > > >
> > > > > > > > > > I hope that helps.
> > > > > > > > > >
> > > > > > > > > > Julie
> > > > > > > > > >
> > > > > > > > > > On Mon, Jan 5, 2015 at 10:13 PM, Geeta Geeta via
RT <
> > > > > > > met_help at ucar.edu>
> > > > > > > > > > wrote:
> > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > <URL:
> > > https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70245
> > > > > >
> > > > > > > > > > >
> > > > > > > > > > > Julie I want to know if I can look through the
> archives of
> > > the
> > > > > > > > > > > Tickets/problems. where i can get to see these.
> > > > > > > > > > >
> > > > > > > > > > > From: geeta124 at hotmail.com
> > > > > > > > > > > To: met_help at ucar.edu
> > > > > > > > > > > Subject: RE: [rt.rap.ucar.edu #70245] Grid Stat
> > > > > > > > > > > Date: Tue, 6 Jan 2015 10:16:04 +0530
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > thanks Julie. But how will I edit the nc file.
What U
> saw
> > > was
> > > > > the
> > > > > > > > > header
> > > > > > > > > > > which is seen by running the command ncdump -h
> tet_fcst.nc
> > > .
> > > > > Pls
> > > > > > > tell
> > > > > > > > > me
> > > > > > > > > > > how will I EDIT the HEADER and the DATA which is
float
> ONLY
> > > > > and not
> > > > > > > > > Integer.
> > > > > > > > > > > Also I have some 122 files. and may be more in
future.
> > > Kindly
> > > > > let
> > > > > > > me
> > > > > > > > > know
> > > > > > > > > > > how I have to proceed.
> > > > > > > > > > > I have a number of other queries for which i
want to
> get
> > > the
> > > > > reply.
> > > > > > > > > Kindly
> > > > > > > > > > > send me the answers to those. Geeta
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > > Subject: Re: [rt.rap.ucar.edu #70245] Grid
Stat
> > > > > > > > > > > > From: met_help at ucar.edu
> > > > > > > > > > > > To: geeta124 at hotmail.com
> > > > > > > > > > > > Date: Mon, 5 Jan 2015 10:04:36 -0700
> > > > > > > > > > > >
> > > > > > > > > > > > Hi Geeta.
> > > > > > > > > > > >
> > > > > > > > > > > > The error you are getting indicates that
> "accum_time_sec"
> > > > > should
> > > > > > > be
> > > > > > > > > an
> > > > > > > > > > > > integer.  Looking in the file test.nc, I see
that
> > > > > > > > > > > >
> > > > > > > > > > > > APCP_03:accum_time_sec = 10800.f ;
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > The ".f" indicates that accum_time_sec is a
float,
> not an
> > > > > > > integer.
> > > > > > > > > Try
> > > > > > > > > > > > changing that value to an integer and see if
that
> fixes
> > > the
> > > > > > > problem.
> > > > > > > > > > > >
> > > > > > > > > > > > Thanks,
> > > > > > > > > > > > Julie
> > > > > > > > > > > >
> > > > > > > > > > > > On Sun, Jan 4, 2015 at 6:04 AM, Geeta Geeta
via RT <
> > > > > > > > > met_help at ucar.edu>
> > > > > > > > > > > > wrote:
> > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > Sun Jan 04 06:04:26 2015: Request 70245 was
acted
> upon.
> > > > > > > > > > > > > Transaction: Ticket created by
> geeta124 at hotmail.com
> > > > > > > > > > > > >        Queue: met_help
> > > > > > > > > > > > >      Subject: Grid Stat
> > > > > > > > > > > > >        Owner: Nobody
> > > > > > > > > > > > >   Requestors: geeta124 at hotmail.com
> > > > > > > > > > > > >       Status: new
> > > > > > > > > > > > >  Ticket <URL:
> > > > > > > > >
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70245
> > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > Hi John.
> > > > > > > > > > > > >
> > > > > > > > > > > > > I sent U an error in the previous mail too.
> > > > > > > > > > > > > I realised that I was using the config file
of
> MET3.0.
> > > > > > > > > > > > > Now I retried to run MET5.0 with config file
> given. I
> > > got
> > > > > this
> > > > > > > > > error.
> > > > > > > > > > > > >
> > > > > > > > > > > > > aditya at agniilap
> :~/geeta/installs/met/myrun-2jan2015$
> > > > > > > > > ./grid_stat1.sh
> > > > > > > > > > > > >
> > > > > > > > > > > > > *** Running Grid-Stat on APCP using netCDF
input
> for
> > > both
> > > > > > > forecast
> > > > > > > > > and
> > > > > > > > > > > > > observation ***
> > > > > > > > > > > > > DEBUG 1: Default Config File:
> > > > > > > > > > > > >
> > > > > > > > >
> > > > >
>
/home/aditya/geeta/installs/met/share/met/config/GridStatConfig_default
> > > > > > > > > > > > > DEBUG 1: User Config File:
./GridStatConfig_APCP24
> > > > > > > > > > > > > ERROR  :
> > > > > > > > > > > > > ERROR  : get_att_int(const NcVarInfo &,
const
> > > ConcatString
> > > > > &,
> > > > > > > int
> > > > > > > > > &) ->
> > > > > > > > > > > > > attribute "accum_time_sec" should be an
integer.
> > > > > > > > > > > > > ERROR  :
> > > > > > > > > > > > >  I checked the config file. I donot know
where the
> > > > > acumulation
> > > > > > > > > > > interval is
> > > > > > > > > > > > > to be specified.
> > > > > > > > > > > > >
> > > > > > > > > > > > > Hoping to hear from you soon
> > > > > > > > > > > > > Geeta
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > --
> > > > > > > > > > > > Julie Prestopnik
> > > > > > > > > > > > National Center for Atmospheric Research
> > > > > > > > > > > > Research Applications Laboratory
> > > > > > > > > > > > Phone: 303.497.8399
> > > > > > > > > > > > Email: jpresto at ucar.edu
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > --
> > > > > > > > > > Julie Prestopnik
> > > > > > > > > > National Center for Atmospheric Research
> > > > > > > > > > Research Applications Laboratory
> > > > > > > > > > Phone: 303.497.8399
> > > > > > > > > > Email: jpresto at ucar.edu
> > > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > > > --
> > > > > > > > Julie Prestopnik
> > > > > > > > National Center for Atmospheric Research
> > > > > > > > Research Applications Laboratory
> > > > > > > > Phone: 303.497.8399
> > > > > > > > Email: jpresto at ucar.edu
> > > > > > > >
> > > > > > >
> > > > > > >
> > > > > >
> > > > > >
> > > > > > --
> > > > > > Julie Prestopnik
> > > > > > National Center for Atmospheric Research
> > > > > > Research Applications Laboratory
> > > > > > Phone: 303.497.8399
> > > > > > Email: jpresto at ucar.edu
> > > > > >
> > > > >
> > > > >
> > > >
> > > >
> > > > --
> > > > Julie Prestopnik
> > > > National Center for Atmospheric Research
> > > > Research Applications Laboratory
> > > > Phone: 303.497.8399
> > > > Email: jpresto at ucar.edu
> > > >
> > >
> > >
> >
> >
> > --
> > Julie Prestopnik
> > National Center for Atmospheric Research
> > Research Applications Laboratory
> > Phone: 303.497.8399
> > Email: jpresto at ucar.edu
> >
>
>


--
Julie Prestopnik
National Center for Atmospheric Research
Research Applications Laboratory
Phone: 303.497.8399
Email: jpresto at ucar.edu

------------------------------------------------
Subject: Grid Stat
From: John Halley Gotway
Time: Tue Jan 06 13:39:27 2015

Geeta,

Did Julie's suggestion work ok for you?  She's right, you run Rscript
on
the command line, not inside R itself.

Thanks,
John

On Tue, Jan 6, 2015 at 11:18 AM, Julie Prestopnik via RT
<met_help at ucar.edu>
wrote:

>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70245 >
>
> Hi Geeta.  I think you don't want to run "R" first.  You simply want
to run
> the following from the command line:
>
> Rscript trmm2nc.R
TRMM_3B42_daily.007.precipitation.02Jun2011.G3.output.txt
> mync.nc
>
> Give that a try and please let me know how it goes.
>
> Thanks,
> Julie
>
> On Tue, Jan 6, 2015 at 11:10 AM, Geeta Geeta via RT
<met_help at ucar.edu>
> wrote:
>
> >
> > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70245 >
> >
> > Hi Julie I did what U have told me to.
> >
> > aditya at agniilap:~/geeta/installs/met/trmm_to_nc$ R
> >
> > R version 3.1.1 (2014-07-10) -- "Sock it to Me"
> > Copyright (C) 2014 The R Foundation for Statistical Computing
> > Platform: i686-pc-linux-gnu (32-bit)
> >
> > R is free software and comes with ABSOLUTELY NO WARRANTY.
> > You are welcome to redistribute it under certain conditions.
> > Type 'license()' or 'licence()' for distribution details.
> >
> >   Natural language support but running in an English locale
> >
> > R is a collaborative project with many contributors.
> > Type 'contributors()' for more information and
> > 'citation()' on how to cite R or R packages in publications.
> >
> > Type 'demo()' for some demos, 'help()' for on-line help, or
> > 'help.start()' for an HTML browser interface to help.
> > Type 'q()' to quit R.
> >
> > > Rscript
> > Error: object 'Rscript' not found
> > > Rscript trmmbin2nc.R 3B42.20110602.00.7.nc mync.nc
> > Error: unexpected symbol in "Rscript trmmbin2nc.R"
> > > Rscript trmm2nc.R
> > TRMM_3B42_daily.007.precipitation.02Jun2011.G3.output.txt mync.nc
> > Error: unexpected symbol in "Rscript trmm2nc.R"
> > >
> >
> >
> > > Subject: Re: [rt.rap.ucar.edu #70245] Grid Stat
> > > From: met_help at ucar.edu
> > > To: geeta124 at hotmail.com
> > > Date: Tue, 6 Jan 2015 10:59:04 -0700
> > >
> > > Hi Geeta.  I'm not sure what you mean when you say you did the
same
> > thing.
> > >
> > > Please try running the following:
> > >
> > > Rscript trmm2nc.R <ASCII_trmm_file> <output_netcdf_file> -save
> > >
> > > replacing <ASCII_trmm_file> with the name of your ASCII trmm
file and
> > > replacing <output_netcdf_file> with the what you would like your
> > > output netcdf file to be called.
> > >
> > > Thanks,
> > > Julie
> > >
> > >
> > >
> > > On Tue, Jan 6, 2015 at 10:53 AM, Geeta Geeta via RT
<met_help at ucar.edu
> >
> > > wrote:
> > >
> > > >
> > > > <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70245
>
> > > >
> > > > Y I did the same thing. But it didnt work.
> > > > Can U transfer my query to someone else who can guide me
further?
> > > >
> > > >
> > > >
> > > >
> > > > > Subject: Re: [rt.rap.ucar.edu #70245] Grid Stat
> > > > > From: met_help at ucar.edu
> > > > > To: geeta124 at hotmail.com
> > > > > Date: Tue, 6 Jan 2015 10:50:13 -0700
> > > > >
> > > > > Hi Geeta.  I meant to include a link (
> > > > >
http://www.dtcenter.org/met/users/downloads/observation_data.php)
> > in my
> > > > > last message to you, but I see I neglected to do that so I
am glad
> > you
> > > > were
> > > > > familiar with the links.
> > > > >
> > > > > Unfortunately, I am also not familiar with R, however,
looking at
> the
> > > > > comments in the file trmmbin2nc.R, I see a usage statement
with a
> > > > > description of arguments and an example:
> > > > >
> > > > > ##   Usage:
> > > > > ##      Rscript trmm2nc.R
> > > > > ##         trmm_file
> > > > > ##         nc_file
> > > > > ##         [-save]
> > > > > ##
> > > > > ##   Arguments:
> > > > > ##      "trmm_file" is an ASCII file containing TRMM
accumulated
> > > > > precipitation pcp.
> > > > > ##      "nc_file"   is the out NetCDF file to be written.
> > > > > ##      "-save"     to call save.image().
> > > > > ##
> > > > > ##   Details:
> > > > > ##
> > > > > ##   Examples:
> > > > > ##      Rscript trmm2nc.R \
> > > > > ##        trmm_sample.txt \
> > > > > ##        trmm_sample.nc
> > > > >
> > > > > Please follow those directions and see if that works for
you.
> > > > >
> > > > > Thanks,
> > > > > Julie
> > > > >
> > > > >
> > > > >
> > > > >
> > > > >
> > > > > On Tue, Jan 6, 2015 at 10:39 AM, Geeta Geeta via RT <
> > met_help at ucar.edu>
> > > > > wrote:
> > > > >
> > > > > >
> > > > > > <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70245 >
> > > > > >
> > > > > > thanks Julie I know of the links to get the data.
> > > > > > But unfortunately, I am unable to run R on my system .
> > > > > > I have never used it.
> > > > > > let me show u the screenshot that opened when I said R on
my
> shell.
> > > > > >
> > > > > > aditya at agniilap:~/geeta/MET5.0/met-5.0/data/config$ R
> > > > > >
> > > > > > R version 3.1.1 (2014-07-10) -- "Sock it to Me"
> > > > > > Copyright (C) 2014 The R Foundation for Statistical
Computing
> > > > > > Platform: i686-pc-linux-gnu (32-bit)
> > > > > >
> > > > > > R is free software and comes with ABSOLUTELY NO WARRANTY.
> > > > > > You are welcome to redistribute it under certain
conditions.
> > > > > > Type 'license()' or 'licence()' for distribution details.
> > > > > >
> > > > > >   Natural language support but running in an English
locale
> > > > > >
> > > > > > R is a collaborative project with many contributors.
> > > > > > Type 'contributors()' for more information and
> > > > > > 'citation()' on how to cite R or R packages in
publications.
> > > > > >
> > > > > > Type 'demo()' for some demos, 'help()' for on-line help,
or
> > > > > > 'help.start()' for an HTML browser interface to help.
> > > > > > Type 'q()' to quit R.
> > > > > >
> > > > > > > trmmbin2nc.R
> > > > > >
> > > > > >
> > > > > > Can U guide me further?????????????
> > > > > > Geeta
> > > > > >
> > > > > > > Subject: Re: [rt.rap.ucar.edu #70245] Grid Stat
> > > > > > > From: met_help at ucar.edu
> > > > > > > To: geeta124 at hotmail.com
> > > > > > > Date: Tue, 6 Jan 2015 10:08:01 -0700
> > > > > > >
> > > > > > > Hi Geeta.
> > > > > > >
> > > > > > > It sounds like you're looking for a source of TRMM
global data
> > in a
> > > > > > format
> > > > > > > that MET can handle.  We do have a page of the MET
website with
> > > > links to
> > > > > > > observation datasets:
> > > > > > >
> > > > > > > And there is a source for TRMM data listed there, as
well as an
> > > > Rscript
> > > > > > > that can be used to convert the ASCII TRMM data into a
NetCDF
> > format
> > > > that
> > > > > > > MET can read.  So I'd suggest doing the following:
> > > > > > > (1) Select one of the TRMM data sources
> > > > > > > (2) Retrieve the ASCII version of that TRMM data, being
sure to
> > > > select a
> > > > > > > geographic area similar to your model's domain.
> > > > > > > (3) Run that data through trmm2nc.R script.
> > > > > > > (4) I don't know what model you are using, but you may
be able
> > to use
> > > > > > > copygb to regrid it to the same domain as the TRMM data.
> > > > > > >
> > > > > > > I hope that helps.
> > > > > > >
> > > > > > > Julie
> > > > > > >
> > > > > > >
> > > > > > > On Tue, Jan 6, 2015 at 9:25 AM, Geeta Geeta via RT <
> > > > met_help at ucar.edu>
> > > > > > > wrote:
> > > > > > >
> > > > > > > >
> > > > > > > > <URL:
> https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70245
> > >
> > > > > > > >
> > > > > > > > thanks Julie.
> > > > > > > > I had basically TRMM data files which were converted
to
> NETCDF
> > by R
> > > > > > script
> > > > > > > > by some one else.
> > > > > > > >
> > > > > > > > Now at my end, I plan to do download the TRMM (3B42 )
in
> netcdf
> > > > only.
> > > > > > But
> > > > > > > > this is Global data.
> > > > > > > > Pls tell me what I need to do next so that the model
and OBSN
> > > > (TRMM)
> > > > > > are
> > > > > > > > in same format and I can run GRID_STAT.
> > > > > > > > Pls suggest what best I can Do????
> > > > > > > > Geeta
> > > > > > > >
> > > > > > > >
> > > > > > > > > Subject: Re: [rt.rap.ucar.edu #70245] Grid Stat
> > > > > > > > > From: met_help at ucar.edu
> > > > > > > > > To: geeta124 at hotmail.com
> > > > > > > > > Date: Tue, 6 Jan 2015 09:12:05 -0700
> > > > > > > > >
> > > > > > > > > One way you can edit a NetCDF file is by using the
tools
> > > > "ncdump" and
> > > > > > > > > "ncgen".  For example, you could do something like
this:
> > > > > > > > >
> > > > > > > > > ncdump test.nc > test.txt
> > > > > > > > >
> > > > > > > > > This creates an editable file called test.txt.  You
could
> > open
> > > > that
> > > > > > with
> > > > > > > > > the editor of your choice, remove the ".f" from:
> > > > > > > > > APCP_03:accum_time_sec = 10800.f ;
> > > > > > > > > and change the floating point values of APCP_03 to
integer
> > > > values.
> > > > > > > > >
> > > > > > > > > Then, to create your new NetCDF file you could do
something
> > like
> > > > > > this:
> > > > > > > > >
> > > > > > > > > ncgen -b -o test2.nc test.txt
> > > > > > > > >
> > > > > > > > > This creates a new NetCDF file called test2.nc using
the
> > file
> > > > > > test.txt.
> > > > > > > > > This is not a good solution for 122 files though,
which is
> > why I
> > > > > > > > suggested
> > > > > > > > > discussing this with the person who created the
files.
> > > > > > > > >
> > > > > > > > > I hope this helps.
> > > > > > > > >
> > > > > > > > > Julie
> > > > > > > > >
> > > > > > > > > On Tue, Jan 6, 2015 at 9:00 AM, Geeta Geeta via RT <
> > > > > > met_help at ucar.edu>
> > > > > > > > > wrote:
> > > > > > > > >
> > > > > > > > > >
> > > > > > > > > > <URL:
> > https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70245
> > > > >
> > > > > > > > > >
> > > > > > > > > > Hi Julie.
> > > > > > > > > > I have made the fcst file using MET3.0 and the
> > observations in
> > > > > > netcdf
> > > > > > > > > > using the R script.
> > > > > > > > > > Pls tell me how to edit the header file so that i
do not
> > get
> > > > error
> > > > > > with
> > > > > > > > > > the FLOAT thing.
> > > > > > > > > > Geeta
> > > > > > > > > >
> > > > > > > > > > > Subject: Re: [rt.rap.ucar.edu #70245] Grid Stat
> > > > > > > > > > > From: met_help at ucar.edu
> > > > > > > > > > > To: geeta124 at hotmail.com
> > > > > > > > > > > Date: Tue, 6 Jan 2015 08:55:23 -0700
> > > > > > > > > > >
> > > > > > > > > > > You can search the met help tickets using
google.  For
> > > > example,
> > > > > > say
> > > > > > > > you
> > > > > > > > > > > would like to search for "GridStat", you can put
the
> > > > following
> > > > > > search
> > > > > > > > > > into
> > > > > > > > > > > google:
> > > > > > > > > > >
> > > > > > > > > > > "GridStat" site::
> > http://mailman.ucar.edu/pipermail/met_help/
> > > > > > > > > > >
> > > > > > > > > > > I hope that helps.
> > > > > > > > > > >
> > > > > > > > > > > Julie
> > > > > > > > > > >
> > > > > > > > > > > On Mon, Jan 5, 2015 at 10:13 PM, Geeta Geeta via
RT <
> > > > > > > > met_help at ucar.edu>
> > > > > > > > > > > wrote:
> > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > <URL:
> > > > https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70245
> > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > Julie I want to know if I can look through the
> > archives of
> > > > the
> > > > > > > > > > > > Tickets/problems. where i can get to see
these.
> > > > > > > > > > > >
> > > > > > > > > > > > From: geeta124 at hotmail.com
> > > > > > > > > > > > To: met_help at ucar.edu
> > > > > > > > > > > > Subject: RE: [rt.rap.ucar.edu #70245] Grid
Stat
> > > > > > > > > > > > Date: Tue, 6 Jan 2015 10:16:04 +0530
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > thanks Julie. But how will I edit the nc file.
What U
> > saw
> > > > was
> > > > > > the
> > > > > > > > > > header
> > > > > > > > > > > > which is seen by running the command ncdump -h
> > tet_fcst.nc
> > > > .
> > > > > > Pls
> > > > > > > > tell
> > > > > > > > > > me
> > > > > > > > > > > > how will I EDIT the HEADER and the DATA which
is
> float
> > ONLY
> > > > > > and not
> > > > > > > > > > Integer.
> > > > > > > > > > > > Also I have some 122 files. and may be more in
> future.
> > > > Kindly
> > > > > > let
> > > > > > > > me
> > > > > > > > > > know
> > > > > > > > > > > > how I have to proceed.
> > > > > > > > > > > > I have a number of other queries for which i
want to
> > get
> > > > the
> > > > > > reply.
> > > > > > > > > > Kindly
> > > > > > > > > > > > send me the answers to those. Geeta
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > > > Subject: Re: [rt.rap.ucar.edu #70245] Grid
Stat
> > > > > > > > > > > > > From: met_help at ucar.edu
> > > > > > > > > > > > > To: geeta124 at hotmail.com
> > > > > > > > > > > > > Date: Mon, 5 Jan 2015 10:04:36 -0700
> > > > > > > > > > > > >
> > > > > > > > > > > > > Hi Geeta.
> > > > > > > > > > > > >
> > > > > > > > > > > > > The error you are getting indicates that
> > "accum_time_sec"
> > > > > > should
> > > > > > > > be
> > > > > > > > > > an
> > > > > > > > > > > > > integer.  Looking in the file test.nc, I see
that
> > > > > > > > > > > > >
> > > > > > > > > > > > > APCP_03:accum_time_sec = 10800.f ;
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > The ".f" indicates that accum_time_sec is a
float,
> > not an
> > > > > > > > integer.
> > > > > > > > > > Try
> > > > > > > > > > > > > changing that value to an integer and see if
that
> > fixes
> > > > the
> > > > > > > > problem.
> > > > > > > > > > > > >
> > > > > > > > > > > > > Thanks,
> > > > > > > > > > > > > Julie
> > > > > > > > > > > > >
> > > > > > > > > > > > > On Sun, Jan 4, 2015 at 6:04 AM, Geeta Geeta
via RT
> <
> > > > > > > > > > met_help at ucar.edu>
> > > > > > > > > > > > > wrote:
> > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Sun Jan 04 06:04:26 2015: Request 70245
was acted
> > upon.
> > > > > > > > > > > > > > Transaction: Ticket created by
> > geeta124 at hotmail.com
> > > > > > > > > > > > > >        Queue: met_help
> > > > > > > > > > > > > >      Subject: Grid Stat
> > > > > > > > > > > > > >        Owner: Nobody
> > > > > > > > > > > > > >   Requestors: geeta124 at hotmail.com
> > > > > > > > > > > > > >       Status: new
> > > > > > > > > > > > > >  Ticket <URL:
> > > > > > > > > >
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=70245
> > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Hi John.
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > I sent U an error in the previous mail
too.
> > > > > > > > > > > > > > I realised that I was using the config
file of
> > MET3.0.
> > > > > > > > > > > > > > Now I retried to run MET5.0 with config
file
> > given. I
> > > > got
> > > > > > this
> > > > > > > > > > error.
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > aditya at agniilap
> > :~/geeta/installs/met/myrun-2jan2015$
> > > > > > > > > > ./grid_stat1.sh
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > *** Running Grid-Stat on APCP using netCDF
input
> > for
> > > > both
> > > > > > > > forecast
> > > > > > > > > > and
> > > > > > > > > > > > > > observation ***
> > > > > > > > > > > > > > DEBUG 1: Default Config File:
> > > > > > > > > > > > > >
> > > > > > > > > >
> > > > > >
> >
/home/aditya/geeta/installs/met/share/met/config/GridStatConfig_default
> > > > > > > > > > > > > > DEBUG 1: User Config File:
> ./GridStatConfig_APCP24
> > > > > > > > > > > > > > ERROR  :
> > > > > > > > > > > > > > ERROR  : get_att_int(const NcVarInfo &,
const
> > > > ConcatString
> > > > > > &,
> > > > > > > > int
> > > > > > > > > > &) ->
> > > > > > > > > > > > > > attribute "accum_time_sec" should be an
integer.
> > > > > > > > > > > > > > ERROR  :
> > > > > > > > > > > > > >  I checked the config file. I donot know
where
> the
> > > > > > acumulation
> > > > > > > > > > > > interval is
> > > > > > > > > > > > > > to be specified.
> > > > > > > > > > > > > >
> > > > > > > > > > > > > > Hoping to hear from you soon
> > > > > > > > > > > > > > Geeta
> > > > > > > > > > > > > >
> > > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > >
> > > > > > > > > > > > > --
> > > > > > > > > > > > > Julie Prestopnik
> > > > > > > > > > > > > National Center for Atmospheric Research
> > > > > > > > > > > > > Research Applications Laboratory
> > > > > > > > > > > > > Phone: 303.497.8399
> > > > > > > > > > > > > Email: jpresto at ucar.edu
> > > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > >
> > > > > > > > > > > --
> > > > > > > > > > > Julie Prestopnik
> > > > > > > > > > > National Center for Atmospheric Research
> > > > > > > > > > > Research Applications Laboratory
> > > > > > > > > > > Phone: 303.497.8399
> > > > > > > > > > > Email: jpresto at ucar.edu
> > > > > > > > > > >
> > > > > > > > > >
> > > > > > > > > >
> > > > > > > > >
> > > > > > > > >
> > > > > > > > > --
> > > > > > > > > Julie Prestopnik
> > > > > > > > > National Center for Atmospheric Research
> > > > > > > > > Research Applications Laboratory
> > > > > > > > > Phone: 303.497.8399
> > > > > > > > > Email: jpresto at ucar.edu
> > > > > > > > >
> > > > > > > >
> > > > > > > >
> > > > > > >
> > > > > > >
> > > > > > > --
> > > > > > > Julie Prestopnik
> > > > > > > National Center for Atmospheric Research
> > > > > > > Research Applications Laboratory
> > > > > > > Phone: 303.497.8399
> > > > > > > Email: jpresto at ucar.edu
> > > > > > >
> > > > > >
> > > > > >
> > > > >
> > > > >
> > > > > --
> > > > > Julie Prestopnik
> > > > > National Center for Atmospheric Research
> > > > > Research Applications Laboratory
> > > > > Phone: 303.497.8399
> > > > > Email: jpresto at ucar.edu
> > > > >
> > > >
> > > >
> > >
> > >
> > > --
> > > Julie Prestopnik
> > > National Center for Atmospheric Research
> > > Research Applications Laboratory
> > > Phone: 303.497.8399
> > > Email: jpresto at ucar.edu
> > >
> >
> >
>
>
> --
> Julie Prestopnik
> National Center for Atmospheric Research
> Research Applications Laboratory
> Phone: 303.497.8399
> Email: jpresto at ucar.edu
>
>

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


More information about the Met_help mailing list