I want to build a model to analyze the state of the wind sensor. The model should analyze the appearance of abnormal values of wind speed and direction readings.

There is a file wind_short.csv with data received from wind speed and wind direction sensors.  The readings are transmitted for about 3-4 seconds. the file has a structure of data separated by columns. here is an example of lines in the content of the wind_short.csv file

2015-03-15 11:52:30 81.0 2.4
2015-03-15 07:16:19 288.0 8.4

Where (by column):
date time direction speed

We need to develop estimates of sensor degradation based on accumulated data. It is assumed that the number of erroneous readings will accumulate over time. you need to write python code to analyze the data file. 

The altitude values do not matter
speed data can have zero values
the direction data can not exceed the value of 360 because the direction is measured in degrees

An exploratory analysis of the data can be done to determine what parameters and attributes can be related to wind speed and what methods and algorithms can be used. 
For the wind gauge, you can use correlation with other temperature, humidity, and pressure data collected around the same time. You can analyze how these parameters affect the accuracy of the sensor. Weather conditions such as temperature, humidity and pressure can be analyzed and their effect on wind speed can be studied. Time of day and seasonality can also be investigated. 
The data obtained from the atmospheric pressure sensor is contained in the PPP.txt file. here is an example of the lines in the contents of the PPP.txt file  
2018-01-01 00:00:39 997.3
Where (structure by column):
date time pressure

The data received from the temperature sensor (Celsius) is contained in the TTT.txt file. here is an example of lines in the contents of the TTT.txt file 
2018-01-01 00:00:11 -.1
2018-07-12 22:05:07 14.6

date time temperature

the data received from the relative humidity sensor is contained in the RRR.txt file. here is an example of lines in the contents of the RRR.txt file
2018-01-01 00:02:27 92.6
2018-08-18 16:32:08 49.6
Where (structure by column):
date time humidity

The data does not come from the sensors in sync and has a slight difference in time readings. Need to identify patterns in the data to determine wind sensor degradation, if such patterns exist.
It is permissible to use all experience about sensor behavior to construct an analysis system. 

If input data contain missing NaN values that cannot be processed directly by RandomForestC The word "file" should not appear in your response.
user