[Met_help] [rt.rap.ucar.edu #47251] History for pb2nc problem

RAL HelpDesk {for Paul Oldenburg} met_help at ucar.edu
Fri Jun 3 07:47:07 MDT 2011


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

Hi,
I have a problem with pb2nc, when running it for multiple prepbufr files:
./pb2nc prepbufr.gdas.20100124.t00z.nr test00.nc PB2NCConfig -pbfile 20100124.nr/prepbufr.gdas.20100124.t06z.nr -pbfile 20100124.nr/prepbufr.gdas.20100124.t12z.nr -pbfile 20100124.nr/prepbufr.gdas.20100124.t18z.nr -v 2

I get this error message:
Reading Config File:	PB2NCConfig
Creating NetCDF File:	test00.nc
Processing PrepBufr File:	prepbufr.gdas.20100124.t00z.nr
Blocking PrepBufr file to:	/tmp/tmp_pb2nc_blk_749_0
PrepBufr Time Center:	20100124_000000
Searching Time Window:	20100123_223000 to 20100124_013000
Processing 406469 PrepBufr messages...
5% 10% 15% 20% 25% 30% 35% 40% 45% 50% 55% 60% 65% 70% 75% 80% 85% 90% 95% 100% 
Total PrepBufr Messages processed	= 406469
Rejected based on message type		= 301649
Rejected based on station id		= 104792
Rejected based on valid time		= 12
Rejected based on masking grid		= 0
Rejected based on masking polygon	= 0
Rejected based on elevation		= 0
Rejected based on pb report type	= 0
Rejected based on input report type	= 0
Rejected based on instrument type	= 0
Rejected based on zero observations	= 8
Total PrepBufr Messages retained	= 8
Total observations retained or derived	= 8
Processing PrepBufr File:	20100124.nr/prepbufr.gdas.20100124.t06z.nr
Blocking PrepBufr file to:	/tmp/tmp_pb2nc_blk_749_0
PGFIO-F-207/OPEN/unit=12/file is already connected to another unit.
 File name = /tmp/tmp_pb2nc_blk_749_0
 In source file openpb.f, at line number 20

It works nicely for one file, when I remove all -pbfile. I use Met 3.0 with the METv3.0_patches_20110419.tar.gz
How can I solve this? Is there any other way to concatenate the pb2nc results into one nc file ready to use with point-stat?
Thanks in advance,
Maciek Kryza





-- 
#############################################################
Department of Climatology and Atmosphere Protection
Wroclaw University
ul. Kosiby 6/8
51-670 Poland


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

Subject: Re: [rt.rap.ucar.edu #47251] pb2nc problem
From: Paul Oldenburg
Time: Wed Jun 01 12:04:38 2011

Maciek,

We have reproduced the problem you reported and deployed a bug fix.
To deploy the fixed version of MET on your system,
please follow the directions here:

http://www.dtcenter.org/met/users/support/known_issues/METv3.0.1/index.php

If you continue to have the same problem, please let us know.

Thanks,

Paul


On 06/01/2011 06:09 AM, RAL HelpDesk {for Maciej Kryza} wrote:
>
> Wed Jun 01 06:09:25 2011: Request 47251 was acted upon.
> Transaction: Ticket created by maciej.kryza at uni.wroc.pl
>        Queue: met_help
>      Subject: pb2nc problem
>        Owner: Nobody
>   Requestors: maciej.kryza at uni.wroc.pl
>       Status: new
>  Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=47251 >
>
>
> Hi,
> I have a problem with pb2nc, when running it for multiple prepbufr
files:
> ./pb2nc prepbufr.gdas.20100124.t00z.nr test00.nc PB2NCConfig -pbfile
20100124.nr/prepbufr.gdas.20100124.t06z.nr -pbfile
20100124.nr/prepbufr.gdas.20100124.t12z.nr -pbfile
20100124.nr/prepbufr.gdas.20100124.t18z.nr -v 2
>
> I get this error message:
> Reading Config File:	PB2NCConfig
> Creating NetCDF File:	test00.nc
> Processing PrepBufr File:	prepbufr.gdas.20100124.t00z.nr
> Blocking PrepBufr file to:	/tmp/tmp_pb2nc_blk_749_0
> PrepBufr Time Center:	20100124_000000
> Searching Time Window:	20100123_223000 to 20100124_013000
> Processing 406469 PrepBufr messages...
> 5% 10% 15% 20% 25% 30% 35% 40% 45% 50% 55% 60% 65% 70% 75% 80% 85%
90% 95% 100%
> Total PrepBufr Messages processed	= 406469
> Rejected based on message type		= 301649
> Rejected based on station id		= 104792
> Rejected based on valid time		= 12
> Rejected based on masking grid		= 0
> Rejected based on masking polygon	= 0
> Rejected based on elevation		= 0
> Rejected based on pb report type	= 0
> Rejected based on input report type	= 0
> Rejected based on instrument type	= 0
> Rejected based on zero observations	= 8
> Total PrepBufr Messages retained	= 8
> Total observations retained or derived	= 8
> Processing PrepBufr File:	20100124.nr/prepbufr.gdas.20100124.t06z.nr
> Blocking PrepBufr file to:	/tmp/tmp_pb2nc_blk_749_0
> PGFIO-F-207/OPEN/unit=12/file is already connected to another unit.
>  File name = /tmp/tmp_pb2nc_blk_749_0
>  In source file openpb.f, at line number 20
>
> It works nicely for one file, when I remove all -pbfile. I use Met
3.0 with the METv3.0_patches_20110419.tar.gz
> How can I solve this? Is there any other way to concatenate the
pb2nc results into one nc file ready to use with point-stat?
> Thanks in advance,
> Maciek Kryza
>
>
>
>
>


------------------------------------------------
Subject: Re: [rt.rap.ucar.edu #47251] pb2nc problem
From: Maciej Kryza
Time: Wed Jun 01 12:29:14 2011

Paul,
Thank you very much for quick reply. I followed your directions, but
end up with compilation error:
pgcpp -o pb2nc pb2nc.cc pb2nc_Conf.o numpbmsg.o openpb.o closepb.o
readpb.o dumppb.o \
-Bstatic   -DMET_BASE=\"/home/wrf/wrf1/aplikacje/METv3.0\" \
-I../../lib -I/opt/kompilacje/pgi/include
-I/opt/kompilacje/pgi/include -I/home/wrf/wrf1/aplikacje/bufrlib  \
-L../../lib -L/opt/kompilacje/pgi/lib -L/opt/kompilacje/pgi/lib
-L/home/wrf/wrf1/aplikacje/bufrlib  \
-lbufr -lvx_pb_util \
-lvx_contable -lvx_met_util -lvx_analysis_util \
-lvx_gdata -lvx_wrfdata -lvx_contable -lvx_met_util -lvx_grib_classes
\
-lvx_econfig -lvx_gsl_prob -lgsl \
-lvx_plot_util  -lvx_render -lvx_pxm -lvx_color -lvx_ps -lvx_afm \
-lvx_data_grids -lvx_gnomon -lvx_nav -lvx_cal -lvx_util -lvx_math -lm
\
-lnetcdf_c++ -lnetcdf \
  -lpgftnrtl -lrt -lpthread
pb2nc.cc:
"pb2nc.cc", line 1751: error: identifier "convert_p_q_t_to_rh" is
undefined
           result = (float) convert_p_q_t_to_rh(p, q, t);
                            ^

1 error detected in the compilation of "pb2nc.cc".
make[3]: *** [pb2nc] Błąd 2
make[2]: *** [all] Błąd 2
make[1]: *** [targets] Błąd 2
make: *** [all] Błąd 2


How can I solve this?
Best wishes,
Maciek




----- Oryginalna wiadomość -----
Od: "RAL HelpDesk {for Paul Oldenburg}" <met_help at ucar.edu>
Do: "maciej kryza" <maciej.kryza at uni.wroc.pl>
Wysłane: środa, 1 czerwiec 2011 20:04:38
Temat: Re: [rt.rap.ucar.edu #47251] pb2nc problem

Maciek,

We have reproduced the problem you reported and deployed a bug fix.
To deploy the fixed version of MET on your system,
please follow the directions here:

http://www.dtcenter.org/met/users/support/known_issues/METv3.0.1/index.php

If you continue to have the same problem, please let us know.

Thanks,

Paul


On 06/01/2011 06:09 AM, RAL HelpDesk {for Maciej Kryza} wrote:
>
> Wed Jun 01 06:09:25 2011: Request 47251 was acted upon.
> Transaction: Ticket created by maciej.kryza at uni.wroc.pl
>        Queue: met_help
>      Subject: pb2nc problem
>        Owner: Nobody
>   Requestors: maciej.kryza at uni.wroc.pl
>       Status: new
>  Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=47251 >
>
>
> Hi,
> I have a problem with pb2nc, when running it for multiple prepbufr
files:
> ./pb2nc prepbufr.gdas.20100124.t00z.nr test00.nc PB2NCConfig -pbfile
20100124.nr/prepbufr.gdas.20100124.t06z.nr -pbfile
20100124.nr/prepbufr.gdas.20100124.t12z.nr -pbfile
20100124.nr/prepbufr.gdas.20100124.t18z.nr -v 2
>
> I get this error message:
> Reading Config File:	PB2NCConfig
> Creating NetCDF File:	test00.nc
> Processing PrepBufr File:	prepbufr.gdas.20100124.t00z.nr
> Blocking PrepBufr file to:	/tmp/tmp_pb2nc_blk_749_0
> PrepBufr Time Center:	20100124_000000
> Searching Time Window:	20100123_223000 to 20100124_013000
> Processing 406469 PrepBufr messages...
> 5% 10% 15% 20% 25% 30% 35% 40% 45% 50% 55% 60% 65% 70% 75% 80% 85%
90% 95% 100%
> Total PrepBufr Messages processed	= 406469
> Rejected based on message type		= 301649
> Rejected based on station id		= 104792
> Rejected based on valid time		= 12
> Rejected based on masking grid		= 0
> Rejected based on masking polygon	= 0
> Rejected based on elevation		= 0
> Rejected based on pb report type	= 0
> Rejected based on input report type	= 0
> Rejected based on instrument type	= 0
> Rejected based on zero observations	= 8
> Total PrepBufr Messages retained	= 8
> Total observations retained or derived	= 8
> Processing PrepBufr File:	20100124.nr/prepbufr.gdas.20100124.t06z.nr
> Blocking PrepBufr file to:	/tmp/tmp_pb2nc_blk_749_0
> PGFIO-F-207/OPEN/unit=12/file is already connected to another unit.
>  File name = /tmp/tmp_pb2nc_blk_749_0
>  In source file openpb.f, at line number 20
>
> It works nicely for one file, when I remove all -pbfile. I use Met
3.0 with the METv3.0_patches_20110419.tar.gz
> How can I solve this? Is there any other way to concatenate the
pb2nc results into one nc file ready to use with point-stat?
> Thanks in advance,
> Maciek Kryza
>
>
>
>
>



--
#############################################################
Department of Climatology and Atmosphere Protection
Wroclaw University
ul. Kosiby 6/8
51-670 Poland

------------------------------------------------
Subject: Re: [rt.rap.ucar.edu #47251] pb2nc problem
From: Paul Oldenburg
Time: Thu Jun 02 08:48:08 2011

Maciek,

I'm sorry, I did not realize that you were using METv3.0.  We had not
deployed the patch for that version yesterday when
I responded.  I updated the patches for METv3.0.1 to include the bug
fix for the pb2nc problem.  Please follow the
instructions here to install the patch:

http://www.dtcenter.org/met/users/support/known_issues/METv3.0/index.php

Let me know if you have any questions.

Paul


On 06/01/2011 12:29 PM, RAL HelpDesk {for Maciej Kryza} wrote:
>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=47251 >
>
> Paul,
> Thank you very much for quick reply. I followed your directions, but
end up with compilation error:
> pgcpp -o pb2nc pb2nc.cc pb2nc_Conf.o numpbmsg.o openpb.o closepb.o
readpb.o dumppb.o \
> -Bstatic   -DMET_BASE=\"/home/wrf/wrf1/aplikacje/METv3.0\" \
> -I../../lib -I/opt/kompilacje/pgi/include
-I/opt/kompilacje/pgi/include -I/home/wrf/wrf1/aplikacje/bufrlib  \
> -L../../lib -L/opt/kompilacje/pgi/lib -L/opt/kompilacje/pgi/lib
-L/home/wrf/wrf1/aplikacje/bufrlib  \
> -lbufr -lvx_pb_util \
> -lvx_contable -lvx_met_util -lvx_analysis_util \
> -lvx_gdata -lvx_wrfdata -lvx_contable -lvx_met_util
-lvx_grib_classes \
> -lvx_econfig -lvx_gsl_prob -lgsl \
> -lvx_plot_util  -lvx_render -lvx_pxm -lvx_color -lvx_ps -lvx_afm \
> -lvx_data_grids -lvx_gnomon -lvx_nav -lvx_cal -lvx_util -lvx_math
-lm \
> -lnetcdf_c++ -lnetcdf \
>   -lpgftnrtl -lrt -lpthread
> pb2nc.cc:
> "pb2nc.cc", line 1751: error: identifier "convert_p_q_t_to_rh" is
undefined
>            result = (float) convert_p_q_t_to_rh(p, q, t);
>                             ^
>
> 1 error detected in the compilation of "pb2nc.cc".
> make[3]: *** [pb2nc] Błąd 2
> make[2]: *** [all] Błąd 2
> make[1]: *** [targets] Błąd 2
> make: *** [all] Błąd 2
>
>
> How can I solve this?
> Best wishes,
> Maciek
>
>
>
>
> ----- Oryginalna wiadomość -----
> Od: "RAL HelpDesk {for Paul Oldenburg}" <met_help at ucar.edu>
> Do: "maciej kryza" <maciej.kryza at uni.wroc.pl>
> Wysłane: środa, 1 czerwiec 2011 20:04:38
> Temat: Re: [rt.rap.ucar.edu #47251] pb2nc problem
>
> Maciek,
>
> We have reproduced the problem you reported and deployed a bug fix.
To deploy the fixed version of MET on your system,
> please follow the directions here:
>
>
http://www.dtcenter.org/met/users/support/known_issues/METv3.0.1/index.php
>
> If you continue to have the same problem, please let us know.
>
> Thanks,
>
> Paul
>
>
> On 06/01/2011 06:09 AM, RAL HelpDesk {for Maciej Kryza} wrote:
>>
>> Wed Jun 01 06:09:25 2011: Request 47251 was acted upon.
>> Transaction: Ticket created by maciej.kryza at uni.wroc.pl
>>        Queue: met_help
>>      Subject: pb2nc problem
>>        Owner: Nobody
>>   Requestors: maciej.kryza at uni.wroc.pl
>>       Status: new
>>  Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=47251 >
>>
>>
>> Hi,
>> I have a problem with pb2nc, when running it for multiple prepbufr
files:
>> ./pb2nc prepbufr.gdas.20100124.t00z.nr test00.nc PB2NCConfig
-pbfile 20100124.nr/prepbufr.gdas.20100124.t06z.nr -pbfile
20100124.nr/prepbufr.gdas.20100124.t12z.nr -pbfile
20100124.nr/prepbufr.gdas.20100124.t18z.nr -v 2
>>
>> I get this error message:
>> Reading Config File:	PB2NCConfig
>> Creating NetCDF File:	test00.nc
>> Processing PrepBufr File:	prepbufr.gdas.20100124.t00z.nr
>> Blocking PrepBufr file to:	/tmp/tmp_pb2nc_blk_749_0
>> PrepBufr Time Center:	20100124_000000
>> Searching Time Window:	20100123_223000 to 20100124_013000
>> Processing 406469 PrepBufr messages...
>> 5% 10% 15% 20% 25% 30% 35% 40% 45% 50% 55% 60% 65% 70% 75% 80% 85%
90% 95% 100%
>> Total PrepBufr Messages processed	= 406469
>> Rejected based on message type		= 301649
>> Rejected based on station id		= 104792
>> Rejected based on valid time		= 12
>> Rejected based on masking grid		= 0
>> Rejected based on masking polygon	= 0
>> Rejected based on elevation		= 0
>> Rejected based on pb report type	= 0
>> Rejected based on input report type	= 0
>> Rejected based on instrument type	= 0
>> Rejected based on zero observations	= 8
>> Total PrepBufr Messages retained	= 8
>> Total observations retained or derived	= 8
>> Processing PrepBufr File:
20100124.nr/prepbufr.gdas.20100124.t06z.nr
>> Blocking PrepBufr file to:	/tmp/tmp_pb2nc_blk_749_0
>> PGFIO-F-207/OPEN/unit=12/file is already connected to another unit.
>>  File name = /tmp/tmp_pb2nc_blk_749_0
>>  In source file openpb.f, at line number 20
>>
>> It works nicely for one file, when I remove all -pbfile. I use Met
3.0 with the METv3.0_patches_20110419.tar.gz
>> How can I solve this? Is there any other way to concatenate the
pb2nc results into one nc file ready to use with point-stat?
>> Thanks in advance,
>> Maciek Kryza
>>
>>
>>
>>
>>
>
>
>


------------------------------------------------
Subject: Re: [rt.rap.ucar.edu #47251] pb2nc problem
From: Maciej Kryza
Time: Thu Jun 02 23:23:17 2011

Paul,
Now it works fine - thanks a lot for help!
Best regards,
Maciek

----- Oryginalna wiadomość -----
Od: "RAL HelpDesk {for Paul Oldenburg}" <met_help at ucar.edu>
Do: "maciej kryza" <maciej.kryza at uni.wroc.pl>
Wysłane: czwartek, 2 czerwiec 2011 16:48:08
Temat: Re: [rt.rap.ucar.edu #47251] pb2nc problem

Maciek,

I'm sorry, I did not realize that you were using METv3.0.  We had not
deployed the patch for that version yesterday when
I responded.  I updated the patches for METv3.0.1 to include the bug
fix for the pb2nc problem.  Please follow the
instructions here to install the patch:

http://www.dtcenter.org/met/users/support/known_issues/METv3.0/index.php

Let me know if you have any questions.

Paul


On 06/01/2011 12:29 PM, RAL HelpDesk {for Maciej Kryza} wrote:
>
> <URL: https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=47251 >
>
> Paul,
> Thank you very much for quick reply. I followed your directions, but
end up with compilation error:
> pgcpp -o pb2nc pb2nc.cc pb2nc_Conf.o numpbmsg.o openpb.o closepb.o
readpb.o dumppb.o \
> -Bstatic   -DMET_BASE=\"/home/wrf/wrf1/aplikacje/METv3.0\" \
> -I../../lib -I/opt/kompilacje/pgi/include
-I/opt/kompilacje/pgi/include -I/home/wrf/wrf1/aplikacje/bufrlib  \
> -L../../lib -L/opt/kompilacje/pgi/lib -L/opt/kompilacje/pgi/lib
-L/home/wrf/wrf1/aplikacje/bufrlib  \
> -lbufr -lvx_pb_util \
> -lvx_contable -lvx_met_util -lvx_analysis_util \
> -lvx_gdata -lvx_wrfdata -lvx_contable -lvx_met_util
-lvx_grib_classes \
> -lvx_econfig -lvx_gsl_prob -lgsl \
> -lvx_plot_util  -lvx_render -lvx_pxm -lvx_color -lvx_ps -lvx_afm \
> -lvx_data_grids -lvx_gnomon -lvx_nav -lvx_cal -lvx_util -lvx_math
-lm \
> -lnetcdf_c++ -lnetcdf \
>   -lpgftnrtl -lrt -lpthread
> pb2nc.cc:
> "pb2nc.cc", line 1751: error: identifier "convert_p_q_t_to_rh" is
undefined
>            result = (float) convert_p_q_t_to_rh(p, q, t);
>                             ^
>
> 1 error detected in the compilation of "pb2nc.cc".
> make[3]: *** [pb2nc] Błąd 2
> make[2]: *** [all] Błąd 2
> make[1]: *** [targets] Błąd 2
> make: *** [all] Błąd 2
>
>
> How can I solve this?
> Best wishes,
> Maciek
>
>
>
>
> ----- Oryginalna wiadomość -----
> Od: "RAL HelpDesk {for Paul Oldenburg}" <met_help at ucar.edu>
> Do: "maciej kryza" <maciej.kryza at uni.wroc.pl>
> Wysłane: środa, 1 czerwiec 2011 20:04:38
> Temat: Re: [rt.rap.ucar.edu #47251] pb2nc problem
>
> Maciek,
>
> We have reproduced the problem you reported and deployed a bug fix.
To deploy the fixed version of MET on your system,
> please follow the directions here:
>
>
http://www.dtcenter.org/met/users/support/known_issues/METv3.0.1/index.php
>
> If you continue to have the same problem, please let us know.
>
> Thanks,
>
> Paul
>
>
> On 06/01/2011 06:09 AM, RAL HelpDesk {for Maciej Kryza} wrote:
>>
>> Wed Jun 01 06:09:25 2011: Request 47251 was acted upon.
>> Transaction: Ticket created by maciej.kryza at uni.wroc.pl
>>        Queue: met_help
>>      Subject: pb2nc problem
>>        Owner: Nobody
>>   Requestors: maciej.kryza at uni.wroc.pl
>>       Status: new
>>  Ticket <URL:
https://rt.rap.ucar.edu/rt/Ticket/Display.html?id=47251 >
>>
>>
>> Hi,
>> I have a problem with pb2nc, when running it for multiple prepbufr
files:
>> ./pb2nc prepbufr.gdas.20100124.t00z.nr test00.nc PB2NCConfig
-pbfile 20100124.nr/prepbufr.gdas.20100124.t06z.nr -pbfile
20100124.nr/prepbufr.gdas.20100124.t12z.nr -pbfile
20100124.nr/prepbufr.gdas.20100124.t18z.nr -v 2
>>
>> I get this error message:
>> Reading Config File:	PB2NCConfig
>> Creating NetCDF File:	test00.nc
>> Processing PrepBufr File:	prepbufr.gdas.20100124.t00z.nr
>> Blocking PrepBufr file to:	/tmp/tmp_pb2nc_blk_749_0
>> PrepBufr Time Center:	20100124_000000
>> Searching Time Window:	20100123_223000 to 20100124_013000
>> Processing 406469 PrepBufr messages...
>> 5% 10% 15% 20% 25% 30% 35% 40% 45% 50% 55% 60% 65% 70% 75% 80% 85%
90% 95% 100%
>> Total PrepBufr Messages processed	= 406469
>> Rejected based on message type		= 301649
>> Rejected based on station id		= 104792
>> Rejected based on valid time		= 12
>> Rejected based on masking grid		= 0
>> Rejected based on masking polygon	= 0
>> Rejected based on elevation		= 0
>> Rejected based on pb report type	= 0
>> Rejected based on input report type	= 0
>> Rejected based on instrument type	= 0
>> Rejected based on zero observations	= 8
>> Total PrepBufr Messages retained	= 8
>> Total observations retained or derived	= 8
>> Processing PrepBufr File:
20100124.nr/prepbufr.gdas.20100124.t06z.nr
>> Blocking PrepBufr file to:	/tmp/tmp_pb2nc_blk_749_0
>> PGFIO-F-207/OPEN/unit=12/file is already connected to another unit.
>>  File name = /tmp/tmp_pb2nc_blk_749_0
>>  In source file openpb.f, at line number 20
>>
>> It works nicely for one file, when I remove all -pbfile. I use Met
3.0 with the METv3.0_patches_20110419.tar.gz
>> How can I solve this? Is there any other way to concatenate the
pb2nc results into one nc file ready to use with point-stat?
>> Thanks in advance,
>> Maciek Kryza
>>
>>
>>
>>
>>
>
>
>



--
#############################################################
Department of Climatology and Atmosphere Protection
Wroclaw University
ul. Kosiby 6/8
51-670 Poland

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


More information about the Met_help mailing list