wintermute wrote:Hi SMinBright,
since more or less one year passed from your question, probably this answer isn't useful anymore, but anyway:
once you have compiled the calwrf.f source code file, you should end up with an executable (named calwrf). The .inp file is what this executable file will read to access the WRF netCDF files and transform them (you can set all the "options" in the .inp file).
Once you have the .inp file set, you just need to run the calwrf executable (in a bash terminal, cd to the directory of the executable and then simply write ./calwrf) and it should generate your output.
Cheers!
I am sorry to disturb you after 4 years,perhaps you will not find this.in fact I have difficulty in running CALWRF.I have a series of wrf-output files. One day has 2 files,but I would like to get calwrf's results of a MONTH's wrf-output files.
===========================================================================================
Create 3D.DAT file for WRF output
calwrf.lst !Log file name
calwrf.em.m3d !Output file name
-1,-1,-1,-1,-1,-1 !Beg/End I/J/K ("-" for all)
-1 !Start datetime ( UTC yyyymmddhh, "-" for all )
-1 !End datetime ( UTC yyyymmddhh, "-" for all )
3 !Number of WRF output files
./wrfout_d03_2015-10-27_00:00:00
./wrfout_d03_2015-10-27_12:00:00
./wrfout_d03_2015-10-28_00:00:00 !File name of wrf output (Loop over files)
===========================================================================================
AND the RUNNING process were like this
===========================================================================================
Control inp file:calwrf.inp
2D.DAT flag input not exist, set to one
Set 2D.DAT flag to 1: 1
Default 2D.DAT filename:calwrf.em.m2d
Open WRF netcdf file 1 : ./wrfout_d03_2015-10-27_00:00:00
N_TIMES: 12
Processing GLOBAL ATTRIBUTES:
Warning: Attribute not exist: 3 DYN_OPT -43
Check whether this att. is critical
Reset I/J/K ranges to: 1 153 1 117
1 20
Process: 1 2015-10-27_00:00:00 2015102700
Warning - 2D Outrange: RAIN 100 18 2 0.0000E+00 0.5000E+03 -0.5644E-34
Change to: RAIN 100 18 2 0.0000E+00
Warning - 2D Outrange: RAIN 41 46 2 0.0000E+00 0.5000E+03 -0.1108E-20
Change to: RAIN 41 46 2 0.0000E+00
Process: 2 2015-10-27_01:00:00 2015102701
Process: 3 2015-10-27_02:00:00 2015102702
Warning - 2D Outrange: RAIN 109 16 2 0.0000E+00 0.5000E+03 -0.8081E-30
Change to: RAIN 109 16 2 0.0000E+00
Process: 4 2015-10-27_03:00:00 2015102703
Warning - 3D Outrange: WCLD 1 105 8 8 0.0000E+00 0.5000E-01 -0.1703E-12
In interph
0.0000000E+00 0.0000000E+00 0.0000000E+00 4.1810930E-04
Change to: WCLD 1 105 8 8 0.1045E-03
Warning - 3D Outrange: WCLD 1 106 8 8 0.0000E+00 0.5000E-01 -0.1701E-12
In interph
1.0452732E-04 1.3067626E-06 0.0000000E+00 4.1810930E-04
Change to: WCLD 1 106 8 8 0.1310E-03
Warning - 3D Outrange: WCLD 1 107 8 8 0.0000E+00 0.5000E-01 -0.1697E-12
In interph
1.3098585E-04 1.6205579E-06 0.0000000E+00 4.1810930E-04
Change to: WCLD 1 107 8 8 0.1377E-03
Warning - 3D Outrange: WCLD 34 117 8 8 0.0000E+00 0.5000E-01 -0.2631E-20
In interph
0.0000000E+00 4.7597164E-04 0.0000000E+00 0.0000000E+00
Change to: WCLD 34 117 8 8 0.1190E-03
Warning - 3D Outrange: WCLD 42 117 8 8 0.0000E+00 0.5000E-01 -0.5145E-17
In interph
0.0000000E+00 4.7597164E-04 0.0000000E+00 0.0000000E+00
Change to: WCLD 42 117 8 8 0.1190E-03
Process: 5 2015-10-27_04:00:00 2015102704
Warning - 3D Outrange: QQ 38 108 16 7 0.0000E+00 0.5000E-01 -0.9010E-14
In interph
2.1208159E-04 1.5180898E-03 7.3778728E-04 9.1854820E-04
Change to: QQ 38 108 16 7 0.8466E-03
Process: 6 2015-10-27_05:00:00 2015102705
Warning - 2D Outrange: RAIN 125 16 2 0.0000E+00 0.5000E+03 -0.2132E-28
Change to: RAIN 125 16 2 0.7004E+00
Process: 7 2015-10-27_06:00:00 2015102706
Process: 8 2015-10-27_07:00:00 2015102707
Warning - 3D Outrange: QQ 116 101 17 7 0.0000E+00 0.5000E-01 -0.1384E-14
In interph
6.3360400E-05 8.4499698E-05 2.2182470E-04 3.1352978E-05
Change to: QQ 116 101 17 7 0.1003E-03
Process: 9 2015-10-27_08:00:00 2015102708
Warning - 3D Outrange: QQ 119 109 17 7 0.0000E+00 0.5000E-01 -0.4598E-13
In interph
8.5420195E-09 2.3873588E-04 2.6094308E-04 1.5142849E-06
Change to: QQ 119 109 17 7 0.1253E-03
Process: 10 2015-10-27_09:00:00 2015102709
Process: 11 2015-10-27_10:00:00 2015102710
Process: 12 2015-10-27_11:00:00 2015102711
Completed WRF file: 1 ./wrfout_d03_2015-10-27_00:00:00
Open WRF netcdf file 2 : ./wrfout_d03_2015-10-27_12:00:00
N_TIMES: 12
Processing GLOBAL ATTRIBUTES:
Warning: Attribute not exist: 3 DYN_OPT -43
Check whether this att. is critical
Completed WRF file: 2 ./wrfout_d03_2015-10-27_12:00:00
Open WRF netcdf file 3 : ./wrfout_d03_2015-10-28_00:00:00
N_TIMES: 12
Processing GLOBAL ATTRIBUTES:
Warning: Attribute not exist: 3 DYN_OPT -43
Check whether this att. is critical
Completed WRF file: 3 ./wrfout_d03_2015-10-28_00:00:00
CALWRF succeeded
99999
===========================================================================================
MAYBE you have experiences if you have seen this situation, CAN you give me some advices about it?
thank you very much !