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

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

Output:

wmonr=01431
TA=7.2
RR_12=0.0
wmonr=01417
TA=8.7
RR_12=0.4
wmonr=01167
TA=9.1
RR_12=0.0
wmonr=01047
TA=5.8
RR_12=0.0
wmonr=01350
TA=7.7
RR_12=0.0
...