Page 1 of 1

gen_be utility

PostPosted: Tue Feb 03, 2009 1:41 pm
by delfida2003
Hi, I'm trying to generate my own BE matrix using gen_be utility as WRF manual v.3 suggest.
I set the following variables in the "gen_be_wrapper.ksh" file

export WRFVAR_DIR=/home/model/IDA/WRFDA
export START_DATE=2008052200
export END_DATE=2008052312
export NUM_LEVELS=28
export REGION=aniene1
export EXPT=expt1
export EXP_DIR=/home/model/IDA/$REGION/$EXPT

and I obtain:

Tue Feb 3 19:40:46 CET 2009 Start
WRFVAR_DIR is /home/model/IDA/WRFDA exported
---------------------------------------------------------------
Run Stage 0: Calculate ensemble perturbations from model forecasts.
---------------------------------------------------------------
Beginning CPU time: Tue Feb 3 19:40:46 CET 2009
gen_be_stage0_wrf: Calculating standard perturbation fields valid at time 2008052200
mv: cannot stat `pert.2008052200*': No such file or directory
2008052100 /home/model/IDA/aniene1/expt1/fc/2008052100/wrfout_d01_2008-05-22_00:00:00 /home/model/IDA/aniene1/expt1/fc/2008052112/wrfout_d01_2008-05-22_00:00:00
gen_be_stage0_wrf: Calculating standard perturbation fields valid at time 2008052212
mv: cannot stat `pert.2008052212*': No such file or directory
2008052112 /home/model/IDA/aniene1/expt1/fc/2008052112/wrfout_d01_2008-05-22_12:00:00 /home/model/IDA/aniene1/expt1/fc/2008052200/wrfout_d01_2008-05-22_12:00:00
gen_be_stage0_wrf: Calculating standard perturbation fields valid at time 2008052300
mv: cannot stat `pert.2008052300*': No such file or directory
2008052200 /home/model/IDA/aniene1/expt1/fc/2008052200/wrfout_d01_2008-05-23_00:00:00 /home/model/IDA/aniene1/expt1/fc/2008052212/wrfout_d01_2008-05-23_00:00:00
gen_be_stage0_wrf: Calculating standard perturbation fields valid at time 2008052312
mv: cannot stat `pert.2008052312*': No such file or directory
2008052212 /home/model/IDA/aniene1/expt1/fc/2008052212/wrfout_d01_2008-05-23_12:00:00 /home/model/IDA/aniene1/expt1/fc/2008052300/wrfout_d01_2008-05-23_12:00:00
Ending CPU time: Tue Feb 3 19:40:52 CET 2009
---------------------------------------------------------------
Run Stage 1: Read standard fields, and remove time/ensemble/area mean.
---------------------------------------------------------------
Beginning CPU time: Tue Feb 3 19:40:52 CET 2009
Stage 1 failed with error 127

Therefore I thought to set some variables in "gen_be_set_defaults.ksh", but I obtain the same error 127 in the stage 1.

Someone can help me?

Thank you

Re: gen_be utility

PostPosted: Tue Feb 03, 2009 7:23 pm
by wrfda
please carefully check the availability of the dataset under /home/model/IDA/aniene1/expt1/fc/, make sure every wrfout is there.

or you can try the START_DATE, 12h later.

Re: gen_be utility

PostPosted: Wed Feb 04, 2009 6:55 am
by delfida2003
I create directory "aniene1" and subdirectories "expt1" and "fc" and then I put my wrfout in "fc" as a directory/files structure:

2008052100/wrfout_d01_2008-05-21_00:00:00
2008052100/wrfout_d01_2008-05-21_12:01:47
2008052100/wrfout_d01_2008-05-21_00:00:00
2008052112/wrfout_d01_2008-05-21_12:00:00
2008052112/wrfout_d01_2008-05-22_00:01:47
2008052112/wrfout_d01_2008-05-22_12:01:27
etc.....

In "gen_be_wrapper.ksh" I also added "export FC_DIR=$EXP_DIR/fc "... without good results!

Re: gen_be utility

PostPosted: Thu Feb 05, 2009 4:18 pm
by wrfda
Based on the log file, you should carefully check the availability of the files, such as:

/home/model/IDA/aniene1/expt1/fc/2008052100/wrfout_d01_2008-05-22_00:00:00
/home/model/IDA/aniene1/expt1/fc/2008052112/wrfout_d01_2008-05-22_00:00:00
/home/model/IDA/aniene1/expt1/fc/2008052112/wrfout_d01_2008-05-22_12:00:00
....

wrfhelp
.............
eginning CPU time: Tue Feb 3 19:40:46 CET 2009
gen_be_stage0_wrf: Calculating standard perturbation fields valid at time 2008052200
mv: cannot stat `pert.2008052200*': No such file or directory
2008052100 /home/model/IDA/aniene1/expt1/fc/2008052100/wrfout_d01_2008-05-22_00:00:00 /home/model/IDA/aniene1/expt1/fc/2008052112/wrfout_d01_2008-05-22_00:00:00
gen_be_stage0_wrf: Calculating standard perturbation fields valid at time 2008052212
mv: cannot stat `pert.2008052212*': No such file or directory
2008052112 /home/model/IDA/aniene1/expt1/fc/2008052112/wrfout_d01_2008-05-22_12:00:00 /home/model/IDA/aniene1/expt1/fc/2008052200/wrfout_d01_2008-05-22_12:00:00
gen_be_stage0_wrf: Calculating standard perturbation fields valid at time 2008052300
mv: cannot stat `pert.2008052300*': No such file or directory
2008052200 /home/model/IDA/aniene1/expt1/fc/2008052200/wrfout_d01_2008-05-23_00:00:00 /home/model/IDA/aniene1/expt1/fc/2008052212/wrfout_d01_2008-05-23_00:00:00
gen_be_stage0_wrf: Calculating standard perturbation fields valid at time 2008052312
mv: cannot stat `pert.2008052312*': No such file or directory
2008052212 /home/model/IDA/aniene1/expt1/fc/2008052212/wrfout_d01_2008-05-23_12:00:00 /home/model/IDA/aniene1/expt1/fc/2008052300/wrfout_d01_2008-05-23_12:00:00

Re: gen_be utility

PostPosted: Mon Feb 09, 2009 2:10 pm
by delfida2003
Thank you for your help
I solved my problems!!!

Re: gen_be utility

PostPosted: Fri Oct 30, 2009 6:51 am
by gl8192367
excuse me ,i have got the same error as i run the test case of WRFDA3.1.1, gen_be_wrapper.ksh is like this:
export WRFVAR_DIR=/home/name/Program/WRFDA_V3.1.1
export FC_DIR=/home/name/Program/WRFDA_V3.1.1/var/scripts/gen_be/fc # where wrf forecasts are
export RUN_DIR=/home/name/Program/WRFDA_V3.1.1/var/scripts/gen_be${BIN_TYPE}


that i make a directoy in /home/name/Program/WRFDA_V3.1.1/var/scripts/gen_be,named fc,and it is empty,i donnot know if i should put some file in it.however,i donot have wrfout_d01 in my directory.what should i put in my /fc?
and the error is just like this:





2009.10.30 Sat 02:23:14 CST Start
WRFVAR_DIR is /home/name/Program/WRFDA_V3.1.1 exported
---------------------------------------------------------------
Run Stage 0: Calculate ensemble perturbations from model forecasts.

---------------------------------------------------------------
Beginning CPU time: 2009.10.31 sat 02:23:14 CST
gen_be_stage0_wrf: Calculating standard perturbation fields valid at time 2008020612
mv: cannot stat “pert.2008020612*”: No such file or directory
2008020512 /home/name/Program/WRFDA_V3.1.1/var/scripts/gen_be/fc/2008020512/wrfout_d01_2008-02-06_12:00:00 /home/name/Program/WRFDA_V3.1.1/var/scripts/gen_be/fc/2008020600/wrfout_d01_2008-02-06_12:00:00
gen_be_stage0_wrf: Calculating standard perturbation fields valid at time 2008020700
mv: cannot stat “pert.“pert.2008020700*”: No such file or directory
2008020600 /home/name/Program/WRFDA_V3.1.1/var/scripts/gen_be/fc/2008020600/wrfout_d01_2008-02-07_00:00:00 /home/name/Program/WRFDA_V3.1.1/var/scripts/gen_be/fc/2008020612/wrfout_d01_2008-02-07_00:00:00
Ending CPU time: 2009.10.30 sat 02:23:14 CST
---------------------------------------------------------------
Run Stage 1: Read standard fields, and remove time/ensemble/area mean.
---------------------------------------------------------------
Beginning CPU time: 2009.10.30 sat 02:23:14 CST
Stage 1 failed with error 127

Re: gen_be utility

PostPosted: Fri Oct 30, 2009 9:56 pm
by gl8192367
be.dat is background error ,so forcast background should be in my FC directory,and in my directory ,and it has been solved. thanks ,every one!!!good luck!

Re: gen_be utility

PostPosted: Sun May 06, 2018 2:42 am
by Shim
gl8192367 wrote:be.dat is background error ,so forcast background should be in my FC directory,and in my directory ,and it has been solved. thanks ,every one!!!good luck!



I'm sorry.What's the meaning of your" forcast background"?
I'm appreciated for your answer.