Scheduled Downtime
On Friday 21 April 2023 @ 5pm MT, this website will be down for maintenance and expected to return online the morning of 24 April 2023 at the latest

WRFDA RADAR 3Dvar doesn't work; statistics all 0;

gsj

New member
I've already stuck on this for a while, pls help me...
The screen shots are my problems.

The necessary files to replicate my work has been uploaded.


1736085666575.png1736085699418.png1736085707348.png
 

Attachments

  • namelist.input
    3.3 KB · Views: 3
  • ob.radar.txt
    994.2 KB · Views: 3
I've solved my problem.
In ob.radar file, the "Total Number = 1" consists of 18 character。
But in write-in code provided by WRFDA web, the wrfda want total 17(14s+3i). Therefore the 1 in "Total number= 1" isn't read in because it is at position 18.

The stupid error is because in my python code, i set the format control code(14 str) as wanted by wrfda, but the str part "TOTAL NUMBER = " consists of 15 character, so the format control part code just let the 15 character go...
######## my stupid python ################
fmt = "%14s%3i"
self.f.write(fmt % ("TOTAL NUMBER = ", nrad))
########## ############################
1736256170398.png
 
I am stuck in a similar problem. I want to understand this: Doesn't obsproc.exe throw an error if ob file has problems?
 
I am not sure. The tutorial of WRFDA 3Dvar Radar doesn't mention that it is necessary to obsproc.exe the ob.radar.
In my parctice, i find obsproc.exe not necessary too, it worked well without it.

The way i solve my problem is to debug it by gdb, executing source code line by line.
 
Top