Filter file (include stations in WMO block 01 with temperature between -10 and 0.5 only):

D: 001001 I2.2
01
TA >= -10
TA < 0.5

Output:

wmonr=01167
TA=-7.7
RR_12=0.0
wmonr=01245
TA=-6.8
RR_12=3.2
wmonr=01121
TA=-3.0
wmonr=01360
TA=-6.2
RR_12=0.0
...