[Met_help] [rt.rap.ucar.edu #79271] History for Using several grib files
Julie Prestopnik via RT
met_help at ucar.edu
Mon Jan 30 10:33:41 MST 2017
----------------------------------------------------------------
Initial Request
----------------------------------------------------------------
Hello,
I am trying to compare observations and forecast
with grib files from different global models.
The problem is that different variables are included
in different grib files for each forecast hour (one file contains
UGRD, another VGRD, TEMP, etc).
I see there is an "obs_file" option for giving more than one observation
file in the point_stat command, but is it also possible
to use different forecast files (ie, more than one grib file)?
I thought about doing point_stat for each file separately,
but wouldn't that overwrite the result files every time I run
point_stat?
Could you please suggest how I should proceed in this case?
Thank you in advance for any help.
Carlos
----------------------------------------------------------------
Complete Ticket History
----------------------------------------------------------------
Subject: Using several grib files
From: Julie Prestopnik
Time: Fri Jan 27 10:23:37 2017
Hi Carlos.
Unfortunately, this is isn't a way to use more than one grib file to
point
stat. However, you could proceed by creating one grib file that
combines
the variables. Fortunately, you can simply use the "cat" command to
concatenate the grib files. So, for example you could run something
like:
cat 20170127_i12_f000_WRF-RR.grb2 20170127_i12_f001_WRF-RR.grb2
20170127_i12_f002_WRF-RR.grb2 > 20170127_i12_f0-2_combined_WRF-RR.grb2
I hope that helps!
Julie
On Fri, Jan 27, 2017 at 7:09 AM, Carlos Peralta via RT
<met_help at ucar.edu>
wrote:
>
> Fri Jan 27 07:09:52 2017: Request 79271 was acted upon.
> Transaction: Ticket created by carlos9917 at gmail.com
> Queue: met_help
> Subject: Using several grib files
> Owner: Nobody
> Requestors: carlos9917 at gmail.com
> Status: new
> Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79271 >
>
>
> Hello,
>
> I am trying to compare observations and forecast
> with grib files from different global models.
>
> The problem is that different variables are included
> in different grib files for each forecast hour (one file contains
> UGRD, another VGRD, TEMP, etc).
>
> I see there is an "obs_file" option for giving more than one
observation
> file in the point_stat command, but is it also possible
> to use different forecast files (ie, more than one grib file)?
>
> I thought about doing point_stat for each file separately,
> but wouldn't that overwrite the result files every time I run
> point_stat?
> Could you please suggest how I should proceed in this case?
>
> Thank you in advance for any help.
>
> Carlos
>
>
--
Julie Prestopnik
National Center for Atmospheric Research
Research Applications Laboratory
Phone: 303.497.8399
Email: jpresto at ucar.edu
------------------------------------------------
Subject: Using several grib files
From: Carlos Peralta
Time: Sat Jan 28 01:58:17 2017
Dear Julie,
thank you! That's an easy solution.
Best wishes
Carlos
On Fri, Jan 27, 2017 at 6:23 PM, Julie Prestopnik via RT
<met_help at ucar.edu>
wrote:
> Hi Carlos.
>
> Unfortunately, this is isn't a way to use more than one grib file to
point
> stat. However, you could proceed by creating one grib file that
combines
> the variables. Fortunately, you can simply use the "cat" command to
> concatenate the grib files. So, for example you could run something
like:
>
> cat 20170127_i12_f000_WRF-RR.grb2 20170127_i12_f001_WRF-RR.grb2
> 20170127_i12_f002_WRF-RR.grb2 > 20170127_i12_f0-2_combined_WRF-
RR.grb2
>
> I hope that helps!
>
> Julie
>
> On Fri, Jan 27, 2017 at 7:09 AM, Carlos Peralta via RT
<met_help at ucar.edu>
> wrote:
>
> >
> > Fri Jan 27 07:09:52 2017: Request 79271 was acted upon.
> > Transaction: Ticket created by carlos9917 at gmail.com
> > Queue: met_help
> > Subject: Using several grib files
> > Owner: Nobody
> > Requestors: carlos9917 at gmail.com
> > Status: new
> > Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=79271 >
> >
> >
> > Hello,
> >
> > I am trying to compare observations and forecast
> > with grib files from different global models.
> >
> > The problem is that different variables are included
> > in different grib files for each forecast hour (one file contains
> > UGRD, another VGRD, TEMP, etc).
> >
> > I see there is an "obs_file" option for giving more than one
observation
> > file in the point_stat command, but is it also possible
> > to use different forecast files (ie, more than one grib file)?
> >
> > I thought about doing point_stat for each file separately,
> > but wouldn't that overwrite the result files every time I run
> > point_stat?
> > Could you please suggest how I should proceed in this case?
> >
> > Thank you in advance for any help.
> >
> > Carlos
> >
> >
>
>
> --
> 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