[Met_help] PCP Combine Issue

John Halley Gotway johnhg at rap.ucar.edu
Mon Mar 8 10:55:55 MST 2010


Bob,

Thanks for sending the example - I can see what's going on here.

So it looks like you're summing up 1-hour observation files into a 3-hr
accumulation valid at 20100301 03:00:00.  PCP-Combine parses the arguments
you pass it and computes a list of times to look for.  It reads through
EVERY file in the directory your pass it with the "-pcpdir" option for
those GRIB files.

PCP-Combine doesn't recognize that zipped file as a GRIB file, and that's
why it's printing that warning message.

I'd suggest using the "-pcprx" command line option as well.  With that you
can give PCP-Combine a regular expression to use in filtering on the file
names themselves.  It'll only open up and check the files in that
directory that match the regular expression you supply.  For example:
"-pcprx ST4.20100301" would only match the files from March 1st

Hope that helps.

John


> John, I am running the following command and getting unexpected results.
> What I am doing wrong?
>
>
>
> /sphome/qcteam/METv2.0/bin/pcp_combine -sum 00000000_000000 1
> 20100301_030000 3 /sphome/qcteam/METv2.0/out/pcp_combine/ST4_20100301_03
> -pcpdir /h/data/global/WXQC/data/webpage_code/ncep_precip
>
>
>
> The following is the output.  The question is why is it looking for
> files from 5 Mar when I have requested 1 Mar, 3 hr accum valid at 03Z?
>
>
>
> Performing sum command: init_time/in_accum/valid_time/out_accum Times =
> 0/3600/1267412400/10800
>
> Searching for 3 files with accumulation times of 1 hours to sum to a
> total accumulation time of 3 hours in /h/data/global/WXQC/data/we
>
> age_code/ncep_precip
>
>
>
>
>
>   GribFile::skip_header() -> can't find "GRIB" magic cookie
>
>
>
> ***WARNING*** check_file_time() -> can't open precipitation grib file:
> /h/data/global/WXQC/data/webpage_code/ncep_precip/ST4.201003051
>
> 01h.Z
>
>
>
> The 5 March files are compressed since I didn't plan on using them yet.
>
>
>
> Thanks
>
>
>
> Bob Craig
>
>




More information about the Met_help mailing list