CN113790822B - Method and device for detecting abnormity of ground measured temperature data and readable storage medium - Google Patents

Method and device for detecting abnormity of ground measured temperature data and readable storage medium Download PDF

Info

Publication number
CN113790822B
CN113790822B CN202111082993.8A CN202111082993A CN113790822B CN 113790822 B CN113790822 B CN 113790822B CN 202111082993 A CN202111082993 A CN 202111082993A CN 113790822 B CN113790822 B CN 113790822B
Authority
CN
China
Prior art keywords
temperature
value
difference
values
depth
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202111082993.8A
Other languages
Chinese (zh)
Other versions
CN113790822A (en
Inventor
李家国
赵利民
马秀秀
陈兴峰
赵茂帆
丁月圆
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Aerospace Information Research Institute of CAS
Original Assignee
Aerospace Information Research Institute of CAS
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Aerospace Information Research Institute of CAS filed Critical Aerospace Information Research Institute of CAS
Priority to CN202111082993.8A priority Critical patent/CN113790822B/en
Publication of CN113790822A publication Critical patent/CN113790822A/en
Application granted granted Critical
Publication of CN113790822B publication Critical patent/CN113790822B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01KMEASURING TEMPERATURE; MEASURING QUANTITY OF HEAT; THERMALLY-SENSITIVE ELEMENTS NOT OTHERWISE PROVIDED FOR
    • G01K13/00Thermometers specially adapted for specific purposes

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Testing Or Calibration Of Command Recording Devices (AREA)

Abstract

The invention relates to the technical field of abnormal value detection, and provides a method and a device for detecting the abnormality of ground measurement temperature data, a computer readable storage medium and electronic equipment, wherein the method comprises the following steps: acquiring water body section temperature data of a plurality of waypoints of a target water body area; the water body section temperature data comprises respective temperature values of a plurality of layers of depth layers; acquiring a plurality of temperature value difference values; the plurality of temperature value difference values comprise a difference value of temperature values of bottom layers or top layers of two depth layers of each navigation point of the plurality of navigation points or a difference value of temperature values of the plurality of navigation points corresponding to the same two adjacent depth layers; determining an abnormal difference value of a plurality of temperature value difference values based on the plurality of temperature value difference values; and determining an abnormal temperature value according to the temperature value of the target waypoint corresponding to the abnormal difference value. Through the technical scheme of the embodiment of the invention, the accuracy and objectivity of on-site monitoring temperature data can be improved, and accurate and effective data support is provided for water body thermal pollution management, water environment supervision and the like.

Description

Method and device for detecting abnormity of ground measured temperature data and readable storage medium
Technical Field
The invention relates to the technical field of abnormal value detection, in particular to a method and a device for detecting abnormal temperature data of ground measurement and a readable storage medium.
Background
With the increasing demand of electricity in China, the development conditions of power plants in coastal areas gradually attract public general attention, and the problem of water body thermal pollution caused by the power plants in the working process inevitably becomes one of hot spots. The temperature is a basic index and an important representation of the water quality condition of the seawater, and the water body temperature of a local water area can be rapidly increased due to the thermal pollution of the water body, the dissolved oxygen in the water is reduced, and the density and the viscosity of the water body are reduced, so that the variety, the quantity and the community structure of aquatic organisms in a sea area are influenced, and the biodiversity and the ecological balance of the sea area near a power plant are damaged. Therefore, the regular and accurate investigation of the thermal pollution of the water body has important significance on the diffusion condition and the protection of the water quality and the ecological environment of the water body in the sea area.
The commonly used water temperature thermal pollution monitoring method at present comprises the following steps: and (5) measuring and monitoring the ground. The ground measurement and monitoring is the most direct and visual means for monitoring the thermal pollution, and mainly adopts a manual measurement mode to carry out the live field survey of the water area. The method can directly obtain objective and real relevant data such as sea surface temperature, sea water temperature-depth profile and the like. A Temperature-salinity-Depth meter CTD (Conductivity-Temperature-Depth) or a Temperature-Depth meter TD (Temperature-Depth) is an important tool for measuring the physical characteristics of the ocean and can be used for measuring accurate parameters such as the Temperature, the salinity and the like of the seawater at different depths. However, due to the influence of various factors such as solar illumination, artificial disturbance, environmental change, sea depth and the like, abnormal values are easily generated in the monitoring data, so that the quality of the monitoring data is reduced, the real objectivity of the data is questioned, and the accuracy of the subsequent analysis result is influenced. Therefore, the identification and elimination of the abnormal values have important application value and practical significance for effectively improving the data quality, objectively reflecting the water temperature condition and accurately guiding the ecological environment protection, and are the basis for evaluating the influence of the water body thermal pollution of the power plant on the environment of the nearby sea area.
Therefore, how to identify the abnormal value in the ground measurement temperature data is called an urgent problem to be solved.
Disclosure of Invention
The invention provides a method and a device for detecting the abnormity of ground measured temperature data, a computer readable storage medium and electronic equipment, which can improve the accuracy and objectivity of on-site monitoring of the temperature data and provide accurate and effective data support for water body thermal pollution management, water environment supervision and the like.
In a first aspect, the present invention provides a method for detecting an anomaly of ground measurement temperature data, including:
acquiring water body section temperature data of a plurality of waypoints of a target water body area; the water body profile temperature data comprise respective temperature values of multiple depth layers, and the multiple depth layers are obtained by layering the measured water depths of corresponding waypoints based on layered water depths;
acquiring a plurality of temperature value difference values; the plurality of temperature value difference values comprise a difference value of temperature values of two depth layers at the bottom layer of each waypoint of the plurality of waypoints, a difference value of temperature values of two depth layers at the top layer of each waypoint of the plurality of waypoints, or a difference value of temperature values of a plurality of target waypoints corresponding to the same two adjacent depth layers, wherein the target waypoint is a waypoint of the plurality of waypoints at which the temperature values corresponding to the two adjacent depth layers exist;
determining an abnormal difference value among the plurality of temperature value difference values based on the plurality of temperature value difference values;
and determining an abnormal temperature value according to the temperature value of the waypoint corresponding to the abnormal difference value.
In a second aspect, the present invention provides an anomaly detection device for ground temperature measurement data, comprising:
the temperature data acquisition module is used for acquiring water body section temperature data of a plurality of waypoints of the target water body area; the water body profile temperature data comprise respective temperature values of multiple depth layers, and the multiple depth layers are obtained by layering the measured water depths of corresponding waypoints based on layered water depths;
the difference value acquisition module is used for acquiring a plurality of temperature value difference values; the plurality of temperature value difference values comprise a difference value of temperature values of two depth layers at the bottom layer of each waypoint of the plurality of waypoints, a difference value of temperature values of two depth layers at the top layer of each waypoint of the plurality of waypoints, or a difference value of temperature values of a plurality of target waypoints corresponding to the same two adjacent depth layers, wherein the target waypoint is a waypoint of the plurality of waypoints at which the temperature values corresponding to the two adjacent depth layers exist;
an abnormal value detection module for determining an abnormal difference value among the plurality of temperature value difference values based on the plurality of temperature value difference values;
and the abnormal value determining module is used for determining an abnormal temperature value according to the temperature value of the navigation point corresponding to the abnormal difference value.
In a third aspect, the invention provides a computer-readable storage medium comprising executable instructions which, when executed by a processor of an electronic device, cause the processor to perform the method according to any one of the first aspect.
In a fourth aspect, the present invention provides an electronic device, comprising a processor and a memory storing execution instructions, wherein when the processor executes the execution instructions stored in the memory, the processor performs the method according to any one of the first aspect.
The invention provides a method and a device for detecting the abnormality of ground measurement temperature data, a computer readable storage medium and electronic equipment, wherein the method comprises the steps of acquiring the water section temperature data of a plurality of waypoints of a target water body area; the water body profile temperature data comprise respective temperature values of multiple depth layers, and the multiple depth layers are obtained by dividing the measured water depth of corresponding waypoints based on the layered water depth; acquiring a plurality of temperature value difference values; the plurality of temperature value difference values comprise a difference value of temperature values of two depth layers at the bottom layer of each waypoint of the plurality of waypoints, or a difference value of temperature values of a plurality of target waypoints respectively corresponding to the same two adjacent depth layers, wherein the target waypoint is a waypoint of the plurality of waypoints with temperature values corresponding to the two adjacent depth layers; determining an abnormal difference value of a plurality of temperature value difference values based on the plurality of temperature value difference values; and determining an abnormal temperature value according to the temperature value of the target waypoint corresponding to the abnormal difference value. In conclusion, the technical scheme of the invention can improve the accuracy and objectivity of on-site monitoring temperature data and provide accurate and effective data support for water body thermal pollution management, water environment supervision and the like.
Further effects of the above-described unconventional preferred modes will be described below in conjunction with the detailed description.
Drawings
In order to more clearly illustrate the embodiments or the prior art solutions of the present invention, the drawings used in the embodiments or the prior art descriptions will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments described in the present invention, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a schematic diagram of temperature measurement data provided by an embodiment of the present invention;
FIG. 2 is a schematic diagram of temperature gradient data for adjacent depth layers provided by an embodiment of the present invention;
FIG. 3 is a schematic diagram of an abnormal temperature value provided by an embodiment of the present invention;
fig. 4 is a schematic flow chart of a method for detecting an anomaly in ground measurement temperature data according to an embodiment of the present invention;
fig. 5 is a schematic structural diagram of an anomaly detection device for ground measurement temperature data according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the technical solutions of the present invention will be described in detail and completely with reference to the following embodiments and accompanying drawings. It is to be understood that the described embodiments are merely exemplary of the invention, and not restrictive of the full scope of the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
First, a practical application of the method provided by the embodiment of the present invention is described.
(I) Experimental design and seawater temperature data acquisition
Firstly, selecting a research area (sea area near a power plant); secondly, designing test waypoints in the research area range, wherein the design waypoints are distributed gradually from dense to sparse outwards by taking the nuclear power station as a center, and land and islands need to be avoided so as not to influence the measured temperature value; finally, a Temperature acquisition instrument, such as a Temperature-Depth meter CTD (Conductivity-Temperature-Depth) or a Temperature-Depth meter TD (Temperature-Depth) is used for acquiring seawater Temperature data.
(II) time-series temperature treatment
As the instrument firstly discharges water after discharging water in the measuring process, the depth data at each navigation point shows a periodic phenomenon from shallow to deep and then from deep to shallow. As shown in fig. 1, in the measurement process, the temperature and the depth are changed in 5 periods along with time, and the temperature and the depth respectively correspond to 5 measured waypoints, so that the depth is increased from 0.02m and then returns to 0.02m again to be the period of measuring one waypoint by the instrument, and the corresponding temperature value in each period is the measured temperature sequence at the corresponding waypoint.
Through regular analysis in the graph, the measurement depth of the instrument when the instrument just enters water and just leaves water is sea level height, the recorded value of the instrument can be known as 0.02m, the true value is 0m, the error is corrected to obtain the true depth of the instrument when the actual atmospheric pressure and the standard atmospheric pressure are different, and the actual depth of the instrument enters water, wherein the 0.02m is caused by the difference between the actual atmospheric pressure and the standard atmospheric pressure.
The correction of the depth of entry is carried out by the following formula (1):
h ar =h br -h sea (1)
in the formula, h ar Indicating the depth of penetration of the calibrated instrument, h br Indicating the depth of penetration, h, of the instrument before calibration sea Representing the depth values recorded when the instrument is placed at sea level.
Further, setting the layered water depth to be 0.5, namely setting the layered water depth to be a layer of depth layer every 0.5m, and extracting and calculating the temperature value of the depth layer of each waypoint. Specifically, the depth layer h of the waypoint can be calculated by the following formula (2) i Temperature value of (c):
Figure BDA0003264663150000051
wherein,
Figure BDA0003264663150000052
representing depth layer h i The temperature value of (a); h is i (i =0.5,1.0,1.5, \ 8230;) represents a depth layer, such as h 0.5 Representing a stratified water depth of 0-0.5m, h 1 Representing the stratified water depth of 0.5-1.0 m;
Figure BDA0003264663150000053
indicating that it is in depth layer h i The jth temperature measurement of (a); n denotes a depth layer h i The number of temperature measurements.
And taking the respective temperature values of the multiple layers of depth layers of the waypoints as water body section temperature data.
Secondly, the difference value of the temperature values of the two adjacent depth layers is calculated to obtain a temperature gradient map of the two adjacent depth layers as shown in fig. 2 (4 waypoints are corresponded, so that each depth layer has 4 points, and each point corresponds to one waypoint). Specifically, the difference between the temperature values can be calculated by the following formula (3):
ΔT (i,i+0.5) =T h(i+0.5) -T hi (3)
wherein, delta T (i,i+0.5) Representing the temperature value difference of two adjacent depth layers; t is h(i+0.5) Representing temperature values of the next depth layer, i.e. depth layer h i+0.5 The temperature value of (a); t is a unit of hi Representing the temperature value of the previous depth layer, i.e. depth layer h i The temperature value of (2).
Selecting representative water temperature profile data, taking the layered water depth as a vertical axis and the temperature as a horizontal axis to make a temperature vertical profile, analyzing the change characteristics of the water temperature profile data by combining the calculated temperature value difference of adjacent depth layers as shown in fig. 2, and summarizing abnormal data values into 2 types, wherein the types are respectively as follows:
type 1: the data of the top layer are abnormal, and the temperature of the top layer measured when the instrument enters water is higher due to the irradiation of the sun, so that the top layer is abnormal;
type 2: the bottom data is abnormal, and the measured bottom data is higher due to the bottom contact of the instrument, so that the abnormality occurs.
(II) respectively counting the temperature value difference between the top layer and the bottom layer
Calculating the average value of the temperature value difference of the two depth layers of the top layer of each of the plurality of waypoints
Figure BDA0003264663150000061
Figure BDA0003264663150000062
Wherein m represents the number of waypoints; delta T ai The difference in temperature values for the two depth layers of the top layer representing the ith waypoint (i =1,2,3 \8230;, m).
Computing two depth layers of a top layer for each of a plurality of waypointsStandard deviation T of temperature value difference of
Figure BDA0003264663150000063
Calculating the average value of the temperature value difference of two depth layers of the bottom layer of each of the multiple waypoints
Figure BDA0003264663150000064
Figure BDA0003264663150000065
Wherein m represents the number of waypoints; delta T i The difference in temperature values for the two depth layers of the bottom layer representing the ith waypoint (i =1,2,3 \8230;, m).
Calculating the standard deviation T of the temperature value difference of two depth layers of the bottom layer of each of the plurality of waypoints
Figure BDA0003264663150000071
Assuming that the waypoints are y layers of depth, h 1 、h 2 、、、、h y-1 、h y . Then h is 1 、h 2 Two depth layers which are top layers; h is y-1 、h y Two depth layers of the bottom layer.
(III) identifying and eliminating abnormal values of the temperature of the top layer and the bottom layer
Calculating the temperature difference Delta T of the top layer i Is measured by the Grabbs statistic g ai
Figure BDA0003264663150000072
Calculating temperature value difference Delta T of bottom layer bi Is measured by the Grabbs statistic g bi
Figure BDA0003264663150000073
Then search the Grabbs table to obtain the critical value G (1-α) (m) of the following. Where α is the probability of causing a test error and 1- α is the confidence probability P. The critical value G is (1-α) (m) is related to two parameters: α and the number of measurements m. For α: if the requirement is strict, α can be set smaller, for example, α =0.01, then the confidence probability P is 0.99; if the requirement is not strict, α can be determined to be larger, for example, α =0.10, i.e. the confidence probability P is 0.90; in the embodiment of the invention, alpha =0.01 and P is 0.99. And (3) checking a Grabbs table to obtain a critical value: according to the selected confidence probability P (here 0.99) and the measurement times m (determined by combining actual requirements), looking up a Grabbs table, and obtaining a critical value G by intersecting the horizontal axis and the vertical axis (1-α) (m)。
Abnormal value judgment:
when g is ai ≥G (1-α) (m), then Δ T ai Is an abnormal value, in other words, the temperature value T of the depth layer of the top layer h1 Is an abnormal temperature value.
When g is bi ≥G (1-α) (m), then Δ T bi Is an abnormal value, in other words, the temperature value T of the underlying depth layer hy Is an abnormal temperature value.
In fig. 2, gray dots are difference values of adjacent layered temperature values of a ground test, white triangular dots are extracted abnormal difference values of a top layer, black triangular dots are extracted abnormal difference values of a bottom layer, and an abnormal temperature value can be extracted by combining a temperature vertical profile in fig. 3, the white triangular dots are top layer temperature abnormalities caused by exposure of an instrument, and the black triangular dots are bottom layer temperature abnormalities caused by bottom contact of the instrument.
It should be understood that the abnormal temperature value identification may also be performed in the above manner for other adjacent two depth layers. Considering that the water depths of different waypoints are different, not every waypoint has the same temperature value of two adjacent depth layers, and in practical application, only the waypoint with the temperature value is considered.
As shown in fig. 4, a method for detecting an abnormality of ground measurement temperature data according to an embodiment of the present invention is provided. The method provided by the embodiment of the invention can be applied to electronic equipment, particularly a server or a general computer, and the electronic equipment is taken as an execution subject to be described below. In this embodiment, the method specifically includes the following steps:
as shown in fig. 4, an embodiment of the present invention provides a method for detecting an anomaly of ground temperature measurement data, including the following steps:
step 401, acquiring water section temperature data of a plurality of waypoints of a target water area; the water body profile temperature data comprise respective temperature values of multiple depth layers, and the multiple depth layers are obtained by layering the measured water depths of the corresponding waypoints based on the layered water depths.
As a feasible implementation manner, a target water body area, for example, the sea area near the power plant, is selected, and waypoints are designed in the target water body area, and the designed waypoints need to avoid lands and islands so as not to influence temperature measurement. In one example, the designed waypoints are distributed from dense to sparse outward from the center point of the target water body region. In one example, where the target water body area comprises a nuclear power plant, the designed waypoints are distributed from dense to sparse outwardly centered on the nuclear power plant.
As a possible implementation, the water profile temperature data of the waypoint includes respective temperature values of the plurality of depth layers. The water section temperature data of the waypoints can be determined by the following implementation mode:
acquiring water body temperature measurement data obtained by measuring the water body temperature of the navigation point, wherein the water body temperature measurement data comprises temperature measurement values corresponding to a plurality of entry depth values, the entry depth values are corrected entry depth values, and the maximum value of the entry depth values is the measured water depth; layering the measured water depth based on the preset layered water depth to determine a multi-layer depth layer; for each of the plurality of depth layers, a weighted average of the respective temperature measurements of the plurality of ingress depth values belonging to the depth layer is performed to determine a temperature value for the depth layer.
Firstly, for each of a plurality of waypoints, a temperature acquisition instrument is adopted to acquire water section temperature data of the waypoint so as to determine original water temperature measurement data acquired by the instrument. Wherein the raw water temperature measurement data comprises respective temperature measurements for a plurality of water entry depth values.
In practical application, a user inputs the original water body section temperature data into the electronic equipment, so that the electronic equipment acquires the original water body section temperature data of a waypoint.
The electronic device corrects the entry depth value. And (4) correcting the depth value of the entering water through the formula (1).
The electronics then acquire a set stratified water depth, such as 0.5m, which is described below as 0.5 m. It should be understood that 0.5m is merely exemplary and not limiting.
The electronic device divides the measured water depth of each of the waypoints (the maximum value of the corrected water entry depths of the waypoints) based on the layered water depth for each of the waypoints to obtain a multi-layer depth layer. Illustratively, the stratified water depth is 0.5, i.e., one depth layer is set every 0.5m, multiple depth layers are set based on the measured depth of the waypoint, i.e., the corrected maximum water entry depth measured by the instrument, and the temperature value of each depth layer is extracted and calculated. Specifically, the temperature value of the depth layer hi is calculated by the above formula (2). Illustratively, if the maximum underwater penetration depth is an integer multiple of 0.5, e.g., 5 meters, the depth layers are 0.5,1, 1.5, \8230;, 5; if the maximum water entry depth is not an integral multiple of 0.5, the depth layer ends with the depth layer where the maximum water entry depth is located, for example, if the maximum water entry depth is 4.2, the depth layers are 0.5,1, 1.5, \ 8230 \ 8230;, 4.5.
It should be understood that the stratified water depths of the multiple depth layers at the same waypoint are the same, as are the stratified water depths of the depth layers at different waypoints.
Step 402, obtaining a plurality of temperature value differences; the plurality of temperature value difference values comprise a difference value of temperature values of two depth layers at the bottom layer of each waypoint of the plurality of waypoints, a difference value of temperature values of two depth layers at the top layer of each waypoint of the plurality of waypoints, or a difference value of temperature values of two adjacent depth layers corresponding to each of the plurality of target waypoints, wherein the target waypoint is a waypoint with temperature values corresponding to the two adjacent depth layers in the plurality of waypoints.
In one example, the plurality of temperature value differences consists of differences in temperature values for two depth layers at a top layer of each of all waypoints. Correspondingly, the electronic equipment obtains the difference value of the temperature values of the two depth layers of the top layers of all the waypoints so as to obtain a plurality of temperature value difference values. Illustratively, each waypoint corresponds to a temperature value difference.
In one example, the plurality of temperature value differences consists of differences in temperature values for two depth layers of the bottom layer for each of all waypoints. Correspondingly, the electronic equipment obtains the difference value of the temperature values of the two depth layers of the bottom layers of all the waypoints so as to obtain a plurality of temperature value difference values. Illustratively, each waypoint corresponds to a temperature value difference.
In one example, the plurality of temperature value differences includes a difference between temperature values of a plurality of target waypoints respectively corresponding to the same two adjacent depth layers. Wherein, the multiple depth layers of the target waypoint comprise the two adjacent depth layers. Correspondingly, the electronic equipment obtains the difference value of the temperature values of the two adjacent depth layers corresponding to each target waypoint to obtain a plurality of temperature value difference values. It should be understood that two adjacent depth layers may be [ T ] h(i-Δh) ,T hi ]. The Δ h represents the layered water depth corresponding to the depth layer, and the layered water depth corresponding to each depth layer is the same, for example, Δ h may be 0.5 m. It should be noted that, since the water depth of each waypoint may be different, not all waypoints are necessarily target waypoints, in other words, the number of target waypoints of different adjacent two depth layers may be different. In some possible cases, the layered water depths of the multiple depth layers at the same waypoint are the same, and the layered water depths of the depth layers at different waypoints are also the same, so that the two adjacent depth layers can be the two depth layers at the top layer.
Step 403, determining an abnormal difference value in the plurality of temperature value difference values based on the plurality of temperature value difference values.
The electronic equipment calculates the average value and the standard deviation of a plurality of temperature value difference values; then, aiming at each value of the temperature value differences, determining the Grabbs number of the temperature value differences based on the average value of the temperature value differences, the standard deviation of the temperature value differences and the temperature value differences; and when the Grabbs number is larger than the Grabbs critical value, taking the temperature value difference as an abnormal difference. The glabbus critical value is determined by looking up the glabbus table based on the number of the difference values of the plurality of temperature values and the confidence probability P, and the details are referred to above and are not described in detail here.
And step 404, determining an abnormal temperature value according to the temperature value of the target waypoint corresponding to the abnormal difference value.
In one example, the abnormal difference is not a temperature value difference of two depth layers of the bottom layer of the corresponding waypoint, and the electronic device takes a temperature value of a front depth layer of two adjacent depth layers of the waypoint corresponding to the abnormal difference as the abnormal temperature value. For example, two adjacent depth layers are [ T ] h(i-Δh) ,T hi ]Then T is h(i-Δh) The corresponding temperature value is abnormal.
It should be noted that the abnormal difference is a temperature value difference between two depth layers at the top layer of the corresponding waypoint, and the electronic device takes the temperature value of the depth layer at the top layer of the waypoint corresponding to the abnormal difference as an abnormal temperature value. It should be understood that the abnormal temperature value is the abnormal condition caused by the high temperature of the top layer when the temperature acquisition instrument is exposed to the sun. The top layer here is the uppermost layer.
In one example, the anomaly difference value is a temperature value difference value of two depth layers of the bottom layer of the corresponding waypoint, and the electronic device takes the temperature value of the depth layer of the bottom layer of the corresponding waypoint as the anomaly temperature value. It should be noted that the abnormal temperature value is caused by bottoming of the temperature acquisition instrument, which results in higher measured bottom layer data and abnormal conditions. The bottom layer here is the lowermost layer.
And further, deleting abnormal temperature values in the water body section temperature data.
In practical application, after detecting abnormal difference values of a plurality of temperature value difference values of two depth layers at the top layer and two depth layers at the bottom layer, finding corresponding abnormal temperature values (data abnormality caused by exposure or bottom contact of a measuring instrument) and deleting the abnormal temperature values, and then determining the difference values of the temperature values of a plurality of target waypoints corresponding to the same two adjacent depth layers based on the water body section temperature data of the plurality of waypoints with the abnormal temperature values (data abnormality caused by exposure or bottom contact of the measuring instrument) deleted. Therefore, for any one target waypoint, when the two adjacent depth layers are the two depth layers of the bottom layer of the target waypoint, the temperature value difference value corresponding to the target waypoint is not an abnormal difference value in the temperature value difference values of the two depth layers of the bottom layer.
According to the technical scheme, the beneficial effects of the embodiment are as follows:
by considering a plurality of temperature value difference values of different waypoints on the same two adjacent depth layers, abnormal data can be accurately identified, the accuracy and objectivity of temperature data monitored on site are improved, and accurate and effective data support is provided for water body thermal pollution management, water environment supervision and the like.
Based on the same concept as the method embodiment of the present invention, referring to fig. 5, an embodiment of the present invention further provides a device for detecting an anomaly of ground measurement temperature data, including:
a temperature data obtaining module 501, configured to obtain water profile temperature data of each of multiple waypoints in a target water region; the water body profile temperature data comprise respective temperature values of multiple depth layers, and the multiple depth layers are obtained by layering the measured water depths of corresponding waypoints based on layered water depths;
a difference obtaining module 502, configured to obtain a plurality of temperature value differences; the plurality of temperature value difference values comprise a difference value of temperature values of two depth layers at the bottom layer of each waypoint of the plurality of waypoints, a difference value of temperature values of two depth layers at the top layer of each waypoint of the plurality of waypoints, or a difference value of temperature values of a plurality of target waypoints corresponding to the same two adjacent depth layers, wherein the target waypoint is a waypoint of the plurality of waypoints at which the temperature values corresponding to the two adjacent depth layers exist;
an abnormal value detection module 503, configured to determine an abnormal difference value of the plurality of temperature value difference values based on the plurality of temperature value difference values;
and an abnormal value determining module 504, configured to determine an abnormal temperature value according to the temperature value of the waypoint corresponding to the abnormal difference value.
As a possible implementation manner, the outlier detecting module 503 includes: a calculation unit and an abnormality detection unit; wherein,
the calculation unit is used for calculating the average value of the temperature value differences and calculating the standard deviation of the temperature value differences according to the average value of the temperature value differences;
the abnormality detection unit is configured to determine a grassbs number based on an average value of the temperature value differences, a standard deviation of the temperature value differences, and the temperature value difference for each of the temperature value differences; and when the Grabbs number is larger than the Grabbs critical value, taking the temperature value difference value as an abnormal difference value.
As a possible implementation manner, the grassbs critical value is determined based on the number and confidence degrees of the temperature value differences by looking up a grassbs table.
As a possible implementation manner, the plurality of temperature value differences include a difference between temperature values of two depth layers at a top layer of each waypoint of the plurality of waypoints, and the abnormal temperature value is a temperature value of a depth layer at the top layer of the waypoint corresponding to the abnormal difference.
As a feasible implementation manner, the plurality of temperature value difference values include a difference value of temperature values of two depth layers of a bottom layer of each waypoint of the plurality of waypoints, and the abnormal temperature value is a temperature value of a depth layer of the bottom layer of the waypoint corresponding to the abnormal difference value.
As a possible implementation manner, the plurality of temperature value difference values include a difference value of temperature values of a plurality of target waypoints respectively corresponding to the same two adjacent depth layers; for any one of the target waypoints, when the same two adjacent depth layers are the two depth layers of the bottom layer of the target waypoint, the difference of the temperature values of the target waypoint corresponding to the same two adjacent depth layers is not an abnormal difference in the difference of the temperature values of the two depth layers of the bottom layer of each waypoint of the plurality of waypoints.
Fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present invention. On the hardware level, the electronic device includes a processor 601 and a memory 602 storing executable instructions, and optionally further includes an internal bus 603 and a network interface 604. The Memory 602 may include a Memory 6021, such as a Random-Access Memory (RAM), and may further include a non-volatile Memory 6022 (non-volatile Memory), such as at least 1 disk Memory, etc.; the processor 601, the network interface 604, and the memory 602 may be connected to each other by an internal bus 603, and the internal bus 603 may be an ISA (Industry Standard Architecture) bus, a PCI (Peripheral Component Interconnect) bus, an EISA (Extended Industry Standard Architecture) bus, or the like; the internal bus 603 may be divided into an address bus, a data bus, a control bus, etc., which is indicated by only one double-headed arrow in fig. 6 for convenience of illustration, but does not indicate only one bus or one type of bus. Of course, the electronic device may also include hardware required for other services. When the processor 601 executes execution instructions stored by the memory 602, the processor 601 performs a method in any of the embodiments of the present invention and at least for performing the method as shown in fig. 4.
In a possible implementation manner, the processor reads the corresponding execution instruction from the nonvolatile memory to the memory and then runs the corresponding execution instruction, and the corresponding execution instruction can also be obtained from other equipment, so that the anomaly detection device for the ground measurement temperature data is formed on a logic level. The processor executes the execution instruction stored in the memory, so that the anomaly detection method for the ground measurement temperature data provided by any embodiment of the invention is realized through the executed execution instruction.
The processor may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware in a processor or by instructions in the form of software. The Processor may be a general-purpose Processor, including a Central Processing Unit (CPU), a Network Processor (NP), and the like; but also Digital Signal Processors (DSPs), application Specific Integrated Circuits (ASICs), field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components. The various methods, steps and logic blocks disclosed in the embodiments of the present invention may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
Embodiments of the present invention further provide a computer-readable storage medium, which includes an execution instruction, and when a processor of an electronic device executes the execution instruction, the processor executes a method provided in any one of the embodiments of the present invention. The electronic device may specifically be the electronic device shown in fig. 6; the execution command is a computer program corresponding to the ground temperature data anomaly detection device.
It should be appreciated by those skilled in the art that embodiments of the present invention may be provided as a method or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects.
All the embodiments in the invention are described in a progressive manner, and the same and similar parts among the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, as for the apparatus embodiment, since it is substantially similar to the method embodiment, the description is relatively simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrases "comprising one of 8230; \8230;" 8230; "does not exclude the presence of additional like elements in a process, method, article, or apparatus that comprises that element.
The above description is only an example of the present invention, and is not intended to limit the present invention. Various modifications and alterations to this invention will become apparent to those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the scope of the claims of the present invention.

Claims (9)

1. A method for detecting abnormality of ground measurement temperature data is characterized by comprising the following steps:
acquiring water body section temperature data of a plurality of waypoints which are distributed from dense to sparse gradually from the center of a target water body area; the water body section temperature data comprises respective temperature values of multiple layers of depth layers, the temperature values are obtained by extracting and calculating the multiple layers of depth layers, and the multiple layers of depth layers are obtained by layering the measured water depths of the corresponding waypoints based on the layered water depths after being corrected by the water depths;
obtaining a plurality of temperature values, and calculating difference values to obtain temperature value difference values; the plurality of temperature value difference values comprise a difference value of temperature values of two depth layers at the bottom layer of each waypoint of the plurality of waypoints, a difference value of temperature values of two depth layers at the top layer of each waypoint of the plurality of waypoints, or a difference value of temperature values of a plurality of target waypoints corresponding to the same two adjacent depth layers, wherein the target waypoint is a waypoint of the plurality of waypoints at which the temperature values corresponding to the two adjacent depth layers exist;
calculating a Grubbs statistic and a Grubbs critical value based on the temperature value difference values to determine an abnormal difference value in the temperature value difference values;
and determining an abnormal temperature value according to the temperature value of the waypoint corresponding to the abnormal difference value.
2. The method of claim 1, wherein determining an abnormal difference value in the plurality of temperature value difference values based on the plurality of temperature value difference values comprises:
calculating the average value of the temperature value differences, and calculating the standard deviation of the temperature value differences according to the average value of the temperature value differences;
determining a Grabbs number for each of the plurality of temperature value differences based on an average of the plurality of temperature value differences, a standard deviation of the plurality of temperature value differences, and the temperature value difference; and when the Grabbs number is larger than the Grabbs critical value, taking the temperature value difference value as an abnormal difference value.
3. The method of claim 2, wherein the grassbs threshold is determined based on a table of grassbs of number and confidence levels of the plurality of temperature value differences.
4. The method of claim 1, wherein the plurality of temperature value differences comprises a difference between temperature values of two depth layers of a top layer of each waypoint of the plurality of waypoints, and the abnormal temperature value is a temperature value of a depth layer of the top layer of the waypoint corresponding to the abnormal difference.
5. The method of claim 1, wherein the plurality of temperature value differences comprises a difference between temperature values for two depth layers of a bottom layer of each waypoint of the plurality of waypoints, and the anomalous temperature value is the temperature value for the depth layer of the bottom layer of the waypoint corresponding to the anomalous difference.
6. The method of claim 1, wherein the plurality of temperature value differences comprises differences in temperature values for a plurality of target waypoints each corresponding to a same two adjacent depth layers;
for any one of the target waypoints, when the same two adjacent depth layers are the two depth layers of the bottom layer of the target waypoint, the difference of the temperature values of the target waypoint corresponding to the same two adjacent depth layers is not an abnormal difference in the difference of the temperature values of the two depth layers of the bottom layer of each waypoint of the plurality of waypoints.
7. An abnormality detection device for ground measured temperature data, characterized by comprising:
the temperature data acquisition module is used for acquiring water body section temperature data of a plurality of waypoints which are distributed from dense to sparse gradually from the center of the target water body area to the outside; the water body section temperature data comprises respective temperature values of multiple layers of depth layers, the temperature values are obtained by extracting and calculating the multiple layers of depth layers, and the measured water depths of corresponding waypoints are obtained by layering the multiple layers of depth layers based on layered water depths after the multiple layers of depth layers are subjected to water entry depth correction;
the difference value acquisition module is used for calculating the difference value of the acquired temperature values to obtain a temperature value difference value; the plurality of temperature value difference values comprise a difference value of temperature values of two depth layers at the bottom layer of each waypoint of the plurality of waypoints, a difference value of temperature values of two depth layers at the top layer of each waypoint of the plurality of waypoints, or a difference value of temperature values of a plurality of target waypoints corresponding to the same two adjacent depth layers, wherein the target waypoint is a waypoint of the plurality of waypoints at which the temperature values corresponding to the two adjacent depth layers exist;
the abnormal value detection module is used for calculating the Grubbs statistic and the Grubbs critical value based on the temperature value difference values to determine the abnormal difference value in the temperature value difference values;
and the abnormal value determining module is used for determining an abnormal temperature value according to the temperature value of the navigation point corresponding to the abnormal difference value.
8. A computer-readable storage medium comprising executable instructions that, when executed by a processor of an electronic device, cause the processor to perform the method of any of claims 1-6.
9. An electronic device comprising a processor and a memory storing execution instructions, the processor performing the method of any of claims 1-6 when the processor executes the execution instructions stored by the memory.
CN202111082993.8A 2021-09-15 2021-09-15 Method and device for detecting abnormity of ground measured temperature data and readable storage medium Active CN113790822B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111082993.8A CN113790822B (en) 2021-09-15 2021-09-15 Method and device for detecting abnormity of ground measured temperature data and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111082993.8A CN113790822B (en) 2021-09-15 2021-09-15 Method and device for detecting abnormity of ground measured temperature data and readable storage medium

Publications (2)

Publication Number Publication Date
CN113790822A CN113790822A (en) 2021-12-14
CN113790822B true CN113790822B (en) 2022-10-04

Family

ID=78878494

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111082993.8A Active CN113790822B (en) 2021-09-15 2021-09-15 Method and device for detecting abnormity of ground measured temperature data and readable storage medium

Country Status (1)

Country Link
CN (1) CN113790822B (en)

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5685115A (en) * 1979-12-14 1981-07-11 Toshiba Corp Open/close control method for dam water gate
CN107255349B (en) * 2017-06-26 2019-11-22 广东美的暖通设备有限公司 Sensor temperature modification method, device and computer readable storage medium
CN109255158B (en) * 2018-08-15 2019-09-17 中国水利水电科学研究院 Warm water discharge prototype measurement waters background water temperature calculation method, device and storage medium
CN110083965B (en) * 2019-05-07 2023-04-18 洛阳众智软件科技股份有限公司 Thermal environment analysis method, device, equipment and storage medium
CN111027520A (en) * 2019-12-27 2020-04-17 广东电网有限责任公司电力科学研究院 Method, device and equipment for judging and identifying mountain fire points
CN112883564B (en) * 2021-02-01 2022-11-18 中国海洋大学 Water body temperature prediction method and prediction system based on random forest

Also Published As

Publication number Publication date
CN113790822A (en) 2021-12-14

Similar Documents

Publication Publication Date Title
Gaillard et al. Quality control of large Argo datasets
Chatterjee et al. A new atlas of temperature and salinity for the North Indian Ocean
CN109543356A (en) Consider the ocean interior temperature-salinity structure remote sensing inversion method of Space atmosphere
CN110597873A (en) Precipitation data estimation method, precipitation data estimation device, precipitation data estimation equipment and storage medium
CN110516856B (en) Method for estimating ocean subsurface temperature based on convolutional neural network
JP6370525B1 (en) Inundation prediction system, prediction method, program
CN114490622A (en) Automatic ocean temperature and salinity observation data quality control method and system based on climate state range threshold
CN114266796B (en) Method, device and medium for automatically acquiring natural shoreline based on laser point cloud data and average large-tide high-tide surface
CN110163287A (en) A kind of mesoscale eddy detection method and device
CN113358582B (en) Method, equipment and medium for detecting concrete structure defects
CN113807562A (en) Prediction method of ocean surface temperature
CN114494826A (en) Multi-water-gauge water level identification method and system, electronic equipment and storable medium
CN105241429B (en) A kind of offshore industry warm water discharge extracting method based on air remote sensing
CN117928625A (en) Method, medium and system for analyzing tendency error of sea water temperature and salt depth meter
CN113790822B (en) Method and device for detecting abnormity of ground measured temperature data and readable storage medium
CN113740371B (en) Method, device and computer readable storage medium for determining water body thermal pollution
CN113486295A (en) Fourier series-based total ozone change prediction method
Solbrekke et al. Norwegian hindcast archive (NORA3)–A validation of offshore wind resources in the North Sea and Norwegian Sea
CN112945298A (en) Online real-time monitoring method and cloud monitoring platform for river course slope protection safety based on Internet of things and image analysis technology
CN110907984A (en) Method for detecting earthquake front infrared long-wave radiation abnormal information based on autoregressive moving average model
Zhu et al. Ocean surface current retrieval at Hangzhou Bay from Himawari-8 sequential satellite images
CN108332722A (en) A kind of sea water advanced detection method and device
CN115901870A (en) Modeling method and system for soil structure of ocean direct current grounding electrode area
CN114396976A (en) Marine environment monitoring method, system, equipment and medium
CN116796517B (en) Method, system, equipment and medium for calculating tidal volume of section of gulf mouth

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant