CN117609706A - Method for interpolating data of carbon water flux - Google Patents

Method for interpolating data of carbon water flux Download PDF

Info

Publication number
CN117609706A
CN117609706A CN202311368619.3A CN202311368619A CN117609706A CN 117609706 A CN117609706 A CN 117609706A CN 202311368619 A CN202311368619 A CN 202311368619A CN 117609706 A CN117609706 A CN 117609706A
Authority
CN
China
Prior art keywords
data
flux
missing
interpolation
value
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.)
Granted
Application number
CN202311368619.3A
Other languages
Chinese (zh)
Other versions
CN117609706B (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.)
Beijing Normal University
Original Assignee
Beijing Normal University
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 Beijing Normal University filed Critical Beijing Normal University
Priority to CN202311368619.3A priority Critical patent/CN117609706B/en
Publication of CN117609706A publication Critical patent/CN117609706A/en
Application granted granted Critical
Publication of CN117609706B publication Critical patent/CN117609706B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/10Pre-processing; Data cleansing
    • G06F18/15Statistical pre-processing, e.g. techniques for normalisation or restoring missing data
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/10Pre-processing; Data cleansing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F18/00Pattern recognition
    • G06F18/20Analysing
    • G06F18/21Design or setup of recognition systems or techniques; Extraction of features in feature space; Blind source separation
    • G06F18/213Feature extraction, e.g. by transforming the feature space; Summarisation; Mappings, e.g. subspace methods
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q50/00Information and communication technology [ICT] specially adapted for implementation of business processes of specific business sectors, e.g. utilities or tourism
    • G06Q50/10Services
    • G06Q50/26Government or public services
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2123/00Data types
    • G06F2123/02Data types in the time domain, e.g. time-series data

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Computer Vision & Pattern Recognition (AREA)
  • Business, Economics & Management (AREA)
  • General Physics & Mathematics (AREA)
  • Data Mining & Analysis (AREA)
  • Bioinformatics & Computational Biology (AREA)
  • Bioinformatics & Cheminformatics (AREA)
  • Evolutionary Biology (AREA)
  • Evolutionary Computation (AREA)
  • General Engineering & Computer Science (AREA)
  • Artificial Intelligence (AREA)
  • Life Sciences & Earth Sciences (AREA)
  • Tourism & Hospitality (AREA)
  • Educational Administration (AREA)
  • Development Economics (AREA)
  • Probability & Statistics with Applications (AREA)
  • Health & Medical Sciences (AREA)
  • Economics (AREA)
  • General Health & Medical Sciences (AREA)
  • Human Resources & Organizations (AREA)
  • Marketing (AREA)
  • Primary Health Care (AREA)
  • Strategic Management (AREA)
  • General Business, Economics & Management (AREA)
  • Complex Calculations (AREA)

Abstract

The invention relates to a method for interpolating data of water flux, which comprises the following steps: s1, acquiring flux data and meteorological data in a specified time period; wherein the flux data in the designated time period comprises a plurality of pieces of water flux data which are sequentially arranged according to the sequence of the corresponding time stamps; each piece of carbohydrate flux data corresponds to a timestamp for collecting the carbohydrate flux data; s2, carrying out abnormal value elimination processing on the flux data to obtain flux data subjected to abnormal value elimination processing corresponding to a specified time period; s3, correcting the meteorological data to obtain corrected meteorological data; s4, extracting missing features of any section of missing data in the flux data after the abnormal value elimination processing corresponding to the designated time period; s5, interpolating the missing data of any segment based on the missing features of the missing data and the meteorological data after correction processing to obtain an interpolation result.

Description

一种碳水通量数据插补的方法A method for interpolating carbohydrate flux data

技术领域Technical field

本发明涉及数据处理技术领域,尤其涉及一种碳水通量数据插补的方法。The invention relates to the technical field of data processing, and in particular to a method of interpolating carbohydrate flux data.

背景技术Background technique

在碳水通量数据插补的现有技术中,经常使用线性插值来填充缺失的数据点。然而,线性插值假设数据在缺失区域内是连续变化的,这可能并不符合实际情况。数据的非线性特点可能导致插值结果不准确或产生不可靠的预测。另外,现有的插补方法往往无法直接处理数据质量差、异常值或噪声的情况。这些问题可能导致插值结果的失真和误导性。In existing techniques for carbohydrate flux data imputation, linear interpolation is often used to fill in missing data points. However, linear interpolation assumes that the data changes continuously within the missing region, which may not be consistent with the actual situation. Nonlinear characteristics of the data can cause interpolation results to be inaccurate or produce unreliable predictions. In addition, existing interpolation methods often cannot directly handle cases of poor data quality, outliers, or noise. These issues can lead to distorted and misleading interpolation results.

发明内容Contents of the invention

鉴于现有技术的上述缺点、不足,本发明提供一种碳水通量数据插补的方法,解决了碳水通量数据插补的现有技术中插值结果不准确或者插值结果的失真的技术问题。In view of the above shortcomings and deficiencies of the prior art, the present invention provides a method for interpolating carbohydrate flux data, which solves the technical problem of inaccurate interpolation results or distortion of the interpolation results in the prior art of carbohydrate flux data interpolation.

为了达到上述目的,本发明采用的主要技术方案包括:In order to achieve the above objectives, the main technical solutions adopted by the present invention include:

本发明实施例提供一种碳水通量数据插补的方法,包括:Embodiments of the present invention provide a method for interpolating carbohydrate flux data, including:

S1、获取指定时间段内的通量数据和气象数据;S1. Obtain flux data and meteorological data within a specified time period;

其中,指定时间段内的通量数据包括按照所对应的时间戳的顺序依次排列的多个碳水通量数据;每一碳水通量数据分别与采集该碳水通量数据的时间戳对应;The flux data within the specified time period includes multiple carbohydrate flux data arranged in sequence according to the corresponding timestamps; each carbohydrate flux data corresponds to the timestamp at which the carbohydrate flux data was collected;

所述气象数据包括:指定时间段内每一分钟的饱和水汽压差VPD值和辐射数据;所述辐射数据包括:总辐射TR、入射短波辐射SRIN、光合有效辐射PAR;The meteorological data includes: the saturated water vapor pressure difference VPD value and radiation data for each minute within the specified time period; the radiation data includes: total radiation TR, incident shortwave radiation SRIN, and photosynthetically active radiation PAR;

S2、针对所述通量数据进行异常值剔除处理,得到与指定时间段对应的异常值剔除处理后的通量数据;S2. Perform outlier elimination processing on the flux data to obtain flux data after outlier elimination processing corresponding to the specified time period;

S3、针对所述气象数据进行修正处理,得到修正处理后的气象数据;S3. Perform correction processing on the meteorological data to obtain corrected meteorological data;

S4、提取与指定时间段对应的异常值剔除处理后的通量数据中任一段缺失的数据的缺失特征;S4. Extract the missing features of any period of missing data in the flux data after outlier removal processing corresponding to the specified time period;

S5、基于所述任一段缺失的数据的缺失特征和所述修正处理后的气象数据,对该段缺失的数据进行插补,得到插补结果。S5. Based on the missing characteristics of the missing data in any section and the corrected meteorological data, interpolate the missing data in this section to obtain an interpolation result.

优选地,所述S2具体包括:Preferably, the S2 specifically includes:

S21、将指定时间段内的通量数据中,符合任一异常值条件的碳水通量数据剔除,得到初始通量数据;S21. Eliminate the carbohydrate flux data that meets any outlier condition from the flux data within the specified time period to obtain the initial flux data;

所述异常值条件包括:The outlier conditions include:

碳水通量数据中的二氧化碳通量值大于或等于100μmol/m2/s;The carbon dioxide flux value in the carbon water flux data is greater than or equal to 100 μmol/m 2 /s;

碳水通量数据中的二氧化碳通量值小于或等于-50μmol/m2/s;The carbon dioxide flux value in the carbon water flux data is less than or equal to -50 μmol/m 2 /s;

S22、判断所述初始通量数据中的质量等级是否存在大于2的情况,若存在,则将初始通量数据中所有质量等级为7或8或9的碳水通量数据剔除,得到异常值剔除处理后的通量数据;S22. Determine whether the quality level in the initial flux data is greater than 2. If so, remove all carbohydrate flux data with a quality level of 7, 8, or 9 in the initial flux data to obtain outlier removal. Processed flux data;

若不存在,则将初始通量数据中所有质量等级为2的碳水通量数据剔除,得到异常值剔除处理后的通量数据。If it does not exist, all carbohydrate flux data with quality level 2 in the initial flux data will be eliminated to obtain the flux data after outlier elimination processing.

优选地,所述S3中针对所述气象数据进行修正处理,具体包括:Preferably, correction processing is performed on the meteorological data in S3, which specifically includes:

S31、判断所述指定时间段内气象数据中每一分钟的饱和水汽压差VPD值是否满足预先设定范围,若不满足,则采用公式一获取该分钟所对应的新的饱和水汽压差VPD值;S31. Determine whether the saturated water vapor pressure difference VPD value of each minute in the meteorological data within the specified time period meets the preset range. If not, use Formula 1 to obtain the new saturated water vapor pressure difference VPD corresponding to that minute. value;

所述公式一为:The formula one is:

其中, in,

其中,P为该分钟气象数据中的气压值;Among them, P is the air pressure value in the meteorological data for this minute;

T0为该分钟气象数据中的气温值;T 0 is the temperature value in the meteorological data for this minute;

RH为该分钟气象数据所对应的相对湿度;RH is the relative humidity corresponding to the meteorological data for this minute;

S32、根据站点位置信息,计算日出日落时刻,从而提取所述辐射数据中夜间的辐射数据Rg,并判断夜间的辐射数据Rg是否满足预设条件,若夜间的辐射数据Rg不满足,则对所述夜间的辐射数据Rg按照预先设定更新方式进行更新,得到更新后的夜间的辐射数据Rg;S32. Calculate the sunrise and sunset times based on the site location information, thereby extracting the nighttime radiation data Rg from the radiation data, and determining whether the nighttime radiation data Rg meets the preset conditions. If the nighttime radiation data Rg does not meet the preset conditions, then The nighttime radiation data Rg is updated according to a preset update method to obtain the updated nighttime radiation data Rg;

所述夜间的辐射数据Rg包括:夜间的总辐射TR、夜间的入射短波辐射SRIN、夜间的光合有效辐射PAR;The radiation data Rg at night includes: total radiation TR at night, incident shortwave radiation SRIN at night, and photosynthetically active radiation PAR at night;

所述预设条件为所述夜间的辐射数据Rg中的夜间的总辐射TR、夜间的入射短波辐射SRIN、夜间的光合有效辐射PAR均大于等于0。The preset condition is that in the nighttime radiation data Rg, the total radiation TR at night, the incident shortwave radiation SRIN at night, and the photosynthetically active radiation PAR at night are all greater than or equal to 0.

优选的,所述预先设定范围为0-50。Preferably, the preset range is 0-50.

优选的,若所述夜间的辐射数据Rg不满足,则对所述夜间的辐射数据Rg按照预先设定更新方式进行更新,具体包括:Preferably, if the radiation data Rg at night is not satisfactory, the radiation data Rg at night is updated according to a preset update method, which specifically includes:

若所述夜间的辐射数据Rg不满足,则对所述夜间的辐射数据Rg中小于0的夜间的总辐射TR和/或夜间的入射短波辐射SRIN和/或夜间的光合有效辐射PAR的值,设定为0,得到更新后的夜间的辐射数据Rg。If the radiation data Rg at night is not satisfied, then for the total radiation TR at night and/or the incident shortwave radiation SRIN at night and/or the photosynthetically active radiation PAR at night that is less than 0 in the radiation data Rg at night, Set to 0 to obtain the updated nighttime radiation data Rg.

优选地,所述S4具体包括:Preferably, the S4 specifically includes:

S41、提取第一数据集中第一个通量数据、最后一个通量数据以及第一通量数据所对应的时间戳,并组成第一时间戳序列;S41. Extract the timestamps corresponding to the first flux data, the last flux data and the first flux data in the first data set, and form a first timestamp sequence;

所述第一通量数据为二氧化碳通量值为空值的碳水通量数据;The first flux data is carbon water flux data in which the carbon dioxide flux value is a null value;

所述第一数据集为与指定时间段对应的异常值剔除处理后的通量数据;The first data set is the flux data after outlier removal processing corresponding to the specified time period;

S42、基于所述第一时间戳序列,获取该第一时间戳序列中任意相邻的两个时间戳中后一个时间戳减去前一个时间戳的差值;S42. Based on the first timestamp sequence, obtain the difference between the latter timestamp and the previous timestamp of any two adjacent timestamps in the first timestamp sequence;

S43、基于该第一时间戳序列中任意相邻的两个时间戳中后一个时间戳减去前一个时间戳的差值,获取第一时间差序列ΔTstpS43. Obtain the first time difference sequence ΔT stp based on the difference between the latter timestamp and the previous timestamp of any two adjacent timestamps in the first timestamp sequence;

其中,ΔTstp c-(c-1)为第一时间差序列中的第c-1个元素;Among them, ΔT stp c-(c-1) is the c-1th element in the first time difference sequence;

其中,Tc为第一时间戳序列中总计n个时间戳中的第c个时间戳;Among them, T c is the c-th timestamp among the total n timestamps in the first timestamp sequence;

S44、基于第一时间差序列,获取任一段缺失的数据的缺失特征。S44. Based on the first time difference sequence, obtain the missing features of any segment of missing data.

优选地,所述S44具体包括:Preferably, the S44 specifically includes:

S441、将第一时间差序列中连续相邻的且数值等于1的元素的长度相加,得到总计N段缺失的数据的长度;S441. Add the lengths of consecutive adjacent elements with a value equal to 1 in the first time difference sequence to obtain a total length of N pieces of missing data;

其中,第一时间差序列中每一元素的长度均为1;Among them, the length of each element in the first time difference sequence is 1;

S442、将第一时间差序列中连续相邻的且数值不等于1的元素的长度相加,得到总计N+1段连续长度;S442. Add the lengths of consecutive adjacent elements with values not equal to 1 in the first time difference sequence to obtain a total of N+1 consecutive lengths;

S443、将N+1段连续长度中第i段连续长度作为N段缺失的数据的长度中第i段缺失的数据的长度的前向连续长度TsfiS443. Use the continuous length of the i-th segment among the N+1 continuous lengths as the forward continuous length Ts fi of the length of the i-th segment of missing data among the lengths of the N segments of missing data;

将N+1段连续长度中第i+1段连续长度作为N段缺失的数据的长度中第i段缺失的数据的长度的后向连续长度TsbiThe backward continuous length Ts bi of the length of the i-th piece of missing data among the lengths of N pieces of missing data is used as the i+1th piece of continuous length among the N+1 pieces of continuous length;

其中,缺失特征包括缺失的数据的长度、前向连续长度、后向连续长度。Among them, missing features include the length of missing data, forward continuous length, and backward continuous length.

优选地,所述S5具体包括:Preferably, the S5 specifically includes:

若Tmi/T的比值大于0.06时,则判断所述第一数值是否小于F值,若所述第一数值大于等于F值,则根据修正处理后的气象数据,采用大尺度插补方式对第i段缺失数据进行插补,得到大尺度插补结果,并将大尺度插补结果作为插补结果;If the ratio of Tm i /T is greater than 0.06, then determine whether the first value is less than the F value. If the first value is greater than or equal to the F value, use a large-scale interpolation method based on the corrected meteorological data. The missing data in segment i is interpolated to obtain the large-scale interpolation result, and the large-scale interpolation result is used as the interpolation result;

Tmi为N段缺失的数据的长度中第i段缺失的数据的长度;Tm i is the length of the i-th segment of missing data among the lengths of N segments of missing data;

Tst为指定时间段的起点,Ted为指定时间段的终点;T st is the starting point of the specified time period, and T ed is the end point of the specified time period;

其中,所述第一数值为W;Wherein, the first numerical value is W;

W=Tmi/(Tsfi+Tsbi);W=Tm i /(Ts fi +Ts bi );

F=4.17×(Tsfi+Tsbi)/0.06T。F=4.17×(Ts fi +Ts bi )/0.06T.

优选地,所述S5还具体包括:Preferably, the S5 also specifically includes:

S51、若Tmi/T的比值小于等于0.06时,基于修正处理后的气象数据,采用小尺度插补方式,对第i段缺失数据进行插补,得到小尺度插补结果;或,若Tmi/T的比值大于等于0.06时,且第一数值小于F值,则修正处理后的气象数据,采用小尺度插补方式,对第i段缺失数据进行插补,得到小尺度插补结果;S51. If the ratio of Tm i /T is less than or equal to 0.06, based on the corrected meteorological data, use the small-scale interpolation method to interpolate the missing data in the i-th section to obtain the small-scale interpolation result; or, if Tm When the ratio of i /T is greater than or equal to 0.06, and the first value is less than the F value, the meteorological data after correction will be corrected, and the small-scale interpolation method will be used to interpolate the missing data in the i-th section to obtain the small-scale interpolation result;

S52、将所述小尺度插补结果和与指定时间段对应的异常值剔除处理后的通量数据进行合并,形成过程插补通量数据集,并提取过程插补通量数据集中任一段缺失的数据的缺失特征;S52. Merge the small-scale interpolation results and the flux data after outlier removal processing corresponding to the specified time period to form a process interpolation flux data set, and extract any missing segment in the process interpolation flux data set. missing features of the data;

S53、基于过程插补通量数据集中任一段缺失的数据的缺失特征,和所述修正处理后的气象数据,对该段缺失的数据进行插补,得到插补结果。S53. Based on the missing characteristics of any segment of missing data in the process interpolation flux data set and the corrected meteorological data, interpolate the missing data of the segment to obtain an interpolation result.

优选地,所述S53具体包括:Preferably, the S53 specifically includes:

S531、判断过程插补通量数据集中任一段缺失的数据的长度与T的比值是否大于0.06,若过程插补通量数据集中该段缺失的数据的长度大于0.06,则判断第二数值是否小于Q值,若第二数值大于等于Q值,则根据修正处理后的气象数据,采用大尺度插补方式对过程插补通量数据集中该段缺失的数据进行插补,得到大尺度插补结果,并将大尺度插补结果作为插补结果;S531. Determine whether the ratio of the length of any missing data segment in the process interpolation flux data set to T is greater than 0.06. If the length of the missing data segment in the process interpolation flux data set is greater than 0.06, determine whether the second value is less than Q value, if the second value is greater than or equal to the Q value, use the large-scale interpolation method to interpolate the missing data in this section of the process interpolation flux data set based on the corrected meteorological data to obtain the large-scale interpolation result. , and use the large-scale interpolation results as the interpolation results;

其中,所述第二数值为E;Wherein, the second numerical value is E;

E=插补通量数据集中任一段缺失的数据的长度/(插补通量数据集中该段缺失的数据的前向连续长度+插补通量数据集中该段缺失的数据的后向连续长度);E=The length of any segment of missing data in the interpolation flux data set/(The forward continuous length of the missing data in the interpolation flux data set + The backward continuous length of the missing data in the interpolation flux data set );

Q=4.17×(插补通量数据集中该段缺失的数据的前向连续长度+插补通量数据集中该段缺失的数据的后向连续长度)/0.06T;Q=4.17×(forward continuous length of the missing data in the interpolation flux data set + backward continuous length of the missing data in the interpolation flux data set)/0.06T;

S532、若过程插补通量数据集中任一段缺失的数据的长度与T的比值小于等于0.06时,基于修正处理后的气象数据,采用小尺度插补方式,对过程插补通量数据集中该段缺失的数据进行插补,得到小尺度插补结果;或,当过程插补通量数据集中任一段缺失的数据的长度与T的比值大于等于0.06时,且第二数值小于Q值,则基于修正处理后的气象数据,采用小尺度插补方式,对过程插补通量数据集中该段缺失的数据进行插补,得到小尺度插补结果;S532. If the ratio of the length of any segment of missing data in the process interpolation flux data set to T is less than or equal to 0.06, use the small-scale interpolation method based on the corrected meteorological data to calculate the length of the missing data in the process interpolation flux data set. Interpolate the missing data in a segment to obtain a small-scale interpolation result; or, when the ratio of the length of any segment of missing data in the process interpolation flux data set to T is greater than or equal to 0.06, and the second value is less than the Q value, then Based on the corrected meteorological data, the small-scale interpolation method is used to interpolate the missing data in this section of the process interpolation flux data set to obtain the small-scale interpolation results;

S533、将小尺度插补结果和与过程插补通量数据集进行合并,形成新的过程插补通量数据集;S533. Merge the small-scale interpolation results and the process interpolation flux data set to form a new process interpolation flux data set;

S534、重复步骤S531-S533直至新的过程插补通量数据集中任一段缺失的数据的长度与T的比值大于0.06,且第二数值大于等于Q值,并根据修正处理后的气象数据,采用大尺度插补方式对新的过程插补通量数据集中该段缺失的数据进行插补,得到大尺度插补结果,并将大尺度插补结果作为插补结果。S534. Repeat steps S531-S533 until the ratio of the length of any segment of missing data in the new process interpolation flux data set to T is greater than 0.06, and the second value is greater than or equal to the Q value, and based on the corrected meteorological data, use The large-scale interpolation method interpolates the missing data in this section of the new process interpolation flux data set to obtain the large-scale interpolation result, and uses the large-scale interpolation result as the interpolation result.

本发明的有益效果是:本发明的一种碳水通量数据插补的方法,由于提取与指定时间段对应的异常值剔除处理后的通量数据中任一段缺失的数据的缺失特征,并基于任一段缺失的数据的缺失特征和所述修正处理后的气象数据,对该段缺失的数据进行插补,得到插补结果,因此,采用本发明的一种碳水通量数据插补的方法提高插补结果的准确性。The beneficial effects of the present invention are: the method of interpolating carbohydrate flux data of the present invention extracts the missing characteristics of any missing data in any section of the flux data after the outlier elimination process corresponding to the specified time period, and based on According to the missing characteristics of any section of missing data and the corrected meteorological data, the missing data of this section is interpolated to obtain the interpolation result. Therefore, the carbon water flux data interpolation method of the present invention is used to improve Accuracy of interpolation results.

附图说明Description of drawings

图1为本发明的一种碳水通量数据插补的方法流程图;Figure 1 is a flow chart of a method for interpolating carbohydrate flux data according to the present invention;

图2为本发明实施例中的一种碳水通量数据插补装置结构示意图。Figure 2 is a schematic structural diagram of a carbohydrate flux data interpolation device in an embodiment of the present invention.

具体实施方式Detailed ways

为了更好地解释本发明,以便于理解,下面结合附图,通过具体实施方式,对本发明作详细描述。In order to better explain the present invention and facilitate understanding, the present invention will be described in detail below through specific embodiments in conjunction with the accompanying drawings.

为了更好地理解上述技术方案,下面将参照附图更详细地描述本发明的示例性实施例。虽然附图中显示了本发明的示例性实施例,然而应当理解,可以以各种形式实现本发明而不应被这里阐述的实施例所限制。相反,提供这些实施例是为了能够更清楚、透彻地理解本发明,并且能够将本发明的范围完整地传达给本领域的技术人员。In order to better understand the above technical solutions, exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the invention are shown in the drawings, it should be understood that the invention may be embodied in various forms and should not be limited to the embodiments set forth herein. Rather, these embodiments are provided to enable a clearer and thorough understanding of the invention, and to fully convey the scope of the invention to those skilled in the art.

参见图1,本实施例提供一种碳水通量数据插补的方法,包括:Referring to Figure 1, this embodiment provides a method for interpolating carbohydrate flux data, including:

S1、获取指定时间段内的通量数据和气象数据。S1. Obtain flux data and meteorological data within a specified time period.

其中,指定时间段内的通量数据包括按照所对应的时间戳的顺序依次排列的多个碳水通量数据;每一碳水通量数据分别与采集该碳水通量数据的时间戳对应;所述气象数据包括:指定时间段内每一分钟的饱和水汽压差VPD值和辐射数据;所述辐射数据包括:总辐射TR、入射短波辐射SRIN、光合有效辐射PAR。Wherein, the flux data within the specified time period includes a plurality of carbohydrate flux data arranged in sequence according to the corresponding timestamp; each carbohydrate flux data corresponds to the timestamp at which the carbohydrate flux data was collected; said Meteorological data includes: saturated water vapor pressure difference VPD value and radiation data for each minute within the specified time period; the radiation data includes: total radiation TR, incident shortwave radiation SRIN, and photosynthetically active radiation PAR.

S2、针对所述通量数据进行异常值剔除处理,得到与指定时间段对应的异常值剔除处理后的通量数据。S2. Perform outlier elimination processing on the flux data to obtain flux data after outlier elimination processing corresponding to the specified time period.

在本实施例中,所述S2具体包括:In this embodiment, the S2 specifically includes:

S21、将指定时间段内的通量数据中,符合任一异常值条件的碳水通量数据剔除,得到初始通量数据;所述异常值条件包括:碳水通量数据中的二氧化碳通量值大于或等于100μmol/m2/s;碳水通量数据中的二氧化碳通量值小于或等于-50μmol/m2/s。S21. Eliminate the carbon water flux data that meets any abnormal value condition from the flux data within the specified time period to obtain initial flux data; the abnormal value conditions include: the carbon dioxide flux value in the carbon water flux data is greater than or equal to 100 μmol/m 2 /s; the carbon dioxide flux value in the carbohydrate flux data is less than or equal to -50 μmol/m 2 /s.

S22、判断所述初始通量数据中的质量等级是否存在大于2的情况,若存在,则将初始通量数据中所有质量等级为7或8或9的碳水通量数据剔除,得到异常值剔除处理后的通量数据。S22. Determine whether the quality level in the initial flux data is greater than 2. If so, remove all carbohydrate flux data with a quality level of 7, 8, or 9 in the initial flux data to obtain outlier removal. Processed flux data.

若不存在大于2的情况,则将初始通量数据中所有质量等级为2的碳水通量数据剔除,得到异常值剔除处理后的通量数据。If there is no case greater than 2, all carbohydrate flux data with a quality level of 2 in the initial flux data will be eliminated, and the flux data after outlier elimination processing will be obtained.

在实际应用中,符合任一异常值条件的碳水通量数据和质量等级不符合条件的碳水通量数据如果参与插补,很可能会导致插补结果起伏异常、误差变大,剔除指定时间段内的通量数据中的符合任一异常值条件的碳水通量数据和质量等级不符合条件(存在大于2的情况,初始通量数据中所有质量评分为7或8或9的碳水通量数据;不存在2的情况,则将初始通量数据中所有质量等级为2的碳水通量数据)的碳水通量数据,可以提高插补结果的准确性和稳定性。In practical applications, if the carbohydrate flux data that meets any outlier conditions and the carbohydrate flux data that does not meet the quality level are involved in the interpolation, it is likely to cause the interpolation results to fluctuate abnormally and the error will become larger, and the specified time period will be eliminated. The carbohydrate flux data and quality grade in the flux data that meet any outlier conditions do not meet the conditions (there are cases greater than 2, and all carbohydrate flux data in the initial flux data with a quality score of 7 or 8 or 9 ; If 2 does not exist, the carbohydrate flux data of all carbohydrate flux data with quality level 2 in the initial flux data can improve the accuracy and stability of the interpolation results.

S3、对所述气象数据进行修正处理,得到修正处理后的气象数据。S3. Perform correction processing on the meteorological data to obtain corrected meteorological data.

所述S3中针对所述气象数据进行修正处理,具体包括:The S3 performs correction processing on the meteorological data, specifically including:

S31、判断所述指定时间段内气象数据中每一分钟的饱和水汽压差VPD值是否满足预先设定范围,若不满足,则采用公式一获取该分钟所对应的新的饱和水汽压差VPD值。本实施例中,所述预先设定范围为0-50。S31. Determine whether the saturated water vapor pressure difference VPD value of each minute in the meteorological data within the specified time period meets the preset range. If not, use Formula 1 to obtain the new saturated water vapor pressure difference VPD corresponding to that minute. value. In this embodiment, the preset range is 0-50.

所述公式一为:The formula one is:

其中, in,

其中,P为该分钟气象数据中的气压值;T0为该分钟气象数据中的气温值;RH为该分钟气象数据所对应的相对湿度。Among them, P is the air pressure value in the minute weather data; T 0 is the temperature value in the minute weather data; RH is the relative humidity corresponding to the minute weather data.

S32、根据站点位置信息,计算日出日落时刻,从而提取所述辐射数据中夜间的辐射数据Rg,并判断夜间的辐射数据Rg是否满足预设条件,若夜间的辐射数据Rg不满足,则对所述夜间的辐射数据Rg按照预先设定更新方式进行更新,得到更新后的夜间的辐射数据Rg。S32. Calculate the sunrise and sunset times based on the site location information, thereby extracting the nighttime radiation data Rg from the radiation data, and determining whether the nighttime radiation data Rg meets the preset conditions. If the nighttime radiation data Rg does not meet the preset conditions, then The nighttime radiation data Rg is updated according to a preset update method to obtain updated nighttime radiation data Rg.

所述夜间的辐射数据Rg包括:夜间的总辐射TR、夜间的入射短波辐射SRIN、夜间的光合有效辐射PAR。The radiation data Rg at night includes: total radiation TR at night, incident shortwave radiation SRIN at night, and photosynthetically active radiation PAR at night.

所述预设条件为所述夜间的辐射数据Rg中的夜间的总辐射TR、夜间的入射短波辐射SRIN、夜间的光合有效辐射PAR均大于等于0。The preset condition is that in the nighttime radiation data Rg, the total radiation TR at night, the incident shortwave radiation SRIN at night, and the photosynthetically active radiation PAR at night are all greater than or equal to 0.

若所述夜间的辐射数据Rg不满足,则对所述夜间的辐射数据Rg按照预先设定更新方式进行更新,具体包括:If the radiation data Rg at night is not satisfactory, the radiation data Rg at night will be updated according to a preset update method, which specifically includes:

若所述夜间的辐射数据Rg不满足,则对所述夜间的辐射数据Rg中小于0的夜间的总辐射TR和/或夜间的入射短波辐射SRIN和/或夜间的光合有效辐射PAR的值,设定为0,得到更新后的夜间的辐射数据Rg。If the radiation data Rg at night is not satisfied, then for the total radiation TR at night and/or the incident shortwave radiation SRIN at night and/or the photosynthetically active radiation PAR at night that is less than 0 in the radiation data Rg at night, Set to 0 to obtain the updated nighttime radiation data Rg.

在实际应用中,若气象数据本身存在异常,会在插补结果中引入极大不确定性,对气象数据进行修正处理,可以极大地提高插补结果的准确性、降低插补难度、提高计算效率。In practical applications, if there are abnormalities in the meteorological data themselves, great uncertainty will be introduced into the interpolation results. Correcting the meteorological data can greatly improve the accuracy of the interpolation results, reduce the difficulty of interpolation, and improve calculations. efficiency.

S4、提取与指定时间段对应的异常值剔除处理后的通量数据中任一段缺失的数据的缺失特征。S4. Extract the missing features of any period of missing data in the flux data after outlier removal processing corresponding to the specified time period.

具体地,所述S4具体包括:Specifically, the S4 specifically includes:

S41、提取第一数据集中第一个通量数据、最后一个通量数据以及第一通量数据所对应的时间戳,并组成第一时间戳序列。S41. Extract the timestamps corresponding to the first flux data, the last flux data and the first flux data in the first data set, and form a first timestamp sequence.

所述第一通量数据为二氧化碳通量值为空值的碳水通量数据。The first flux data is carbon water flux data in which the carbon dioxide flux value is a null value.

所述第一数据集为与指定时间段对应的异常值剔除处理后的通量数据。The first data set is the flux data after outlier removal processing corresponding to the specified time period.

S42、基于所述第一时间戳序列,获取该第一时间戳序列中任意相邻的两个时间戳中后一个时间戳减去前一个时间戳的差值。S42. Based on the first timestamp sequence, obtain the difference between the latter timestamp and the previous timestamp of any two adjacent timestamps in the first timestamp sequence.

S43、基于该第一时间戳序列中任意相邻的两个时间戳中后一个时间戳减去前一个时间戳的差值,获取第一时间差序列ΔTstpS43. Obtain the first time difference sequence ΔT stp based on the difference between the latter timestamp and the previous timestamp of any two adjacent timestamps in the first timestamp sequence;

其中,ΔTstp c-(c-1)为第一时间差序列中的第c-1个元素;Among them, ΔT stp c-(c-1) is the c-1th element in the first time difference sequence;

其中,Tc为第一时间戳序列中总计n个时间戳中的第c个时间戳;Among them, T c is the c-th timestamp among the total n timestamps in the first timestamp sequence;

S44、基于第一时间差序列,获取任一段缺失的数据的缺失特征,其中,所述S44具体包括:S44. Based on the first time difference sequence, obtain the missing characteristics of any segment of missing data, where the S44 specifically includes:

S441、将第一时间差序列中连续相邻的且数值等于1的元素的长度相加,得到总计N段缺失的数据的长度;其中,第一时间差序列中每一元素的长度均为1。S441. Add the lengths of consecutive adjacent elements with a value equal to 1 in the first time difference sequence to obtain a total length of N pieces of missing data; where the length of each element in the first time difference sequence is 1.

S442、将第一时间差序列中连续相邻的且数值不等于1的元素的长度相加,得到总计N+1段连续长度。S442. Add the lengths of consecutive adjacent elements in the first time difference sequence whose values are not equal to 1 to obtain a total of N+1 consecutive lengths.

S443、将N+1段连续长度中第i段连续长度作为N段缺失的数据的长度中第i段缺失的数据的长度的前向连续长度TsfiS443. Use the i-th continuous length among the N+1 continuous lengths as the forward continuous length Ts fi of the i-th missing data length among the N missing data lengths.

将N+1段连续长度中第i+1段连续长度作为N段缺失的数据的长度中第i段缺失的数据的长度的后向连续长度TSbiThe i+1th continuous length among the N+1 continuous lengths is taken as the backward continuous length TS bi of the length of the i-th missing data among the lengths of the N missing data.

其中,缺失特征包括缺失的数据的长度、前向连续长度、后向连续长度。Among them, missing features include the length of missing data, forward continuous length, and backward continuous length.

S5、基于所述任一段缺失的数据的缺失特征和所述修正处理后的气象数据,对该段缺失的数据进行插补,得到插补结果。所述S5具体包括:S5. Based on the missing characteristics of the missing data in any section and the corrected meteorological data, interpolate the missing data in this section to obtain an interpolation result. The S5 specifically includes:

若Tmi/T的比值大于0.06时,则判断所述第一数值是否小于F值,若所述第一数值大于等于F值,则根据修正处理后的气象数据,采用大尺度插补方式对第i段缺失数据进行插补,得到大尺度插补结果,并将大尺度插补结果作为插补结果。If the ratio of Tm i /T is greater than 0.06, then determine whether the first value is less than the F value. If the first value is greater than or equal to the F value, use a large-scale interpolation method based on the corrected meteorological data. The missing data in segment i is interpolated to obtain the large-scale interpolation result, and the large-scale interpolation result is used as the interpolation result.

Tmi为N段缺失的数据的长度中第i段缺失的数据的长度;Tm i is the length of the i-th segment of missing data among the lengths of N segments of missing data;

Tst为指定时间段的起点,Ted为指定时间段的终点;T st is the starting point of the specified time period, and T ed is the end point of the specified time period;

其中,所述第一数值为W。Wherein, the first numerical value is W.

W=Tmi/(Tsfi+Tsbi);W=Tm i /(Ts fi +Ts bi );

F=4.17×(Tsfi+Tsbi)/0.06T。F=4.17×(Ts fi +Ts bi )/0.06T.

本实施例的实际应用中,所述S5还具体包括:In the actual application of this embodiment, the S5 also specifically includes:

S51、若Tmi/T的比值小于等于0.06时,基于修正处理后的气象数据,采用小尺度插补方式,对第i段缺失数据进行插补,得到小尺度插补结果;或,若Tmi/T的比值大于等于0.06时,且第一数值小于F值,则修正处理后的气象数据,采用小尺度插补方式,对第i段缺失数据进行插补,得到小尺度插补结果。S51. If the ratio of Tm i /T is less than or equal to 0.06, based on the corrected meteorological data, use the small-scale interpolation method to interpolate the missing data in the i-th section to obtain the small-scale interpolation result; or, if Tm When the ratio of i /T is greater than or equal to 0.06, and the first value is less than the F value, the processed meteorological data will be corrected and the small-scale interpolation method will be used to interpolate the missing data in the i-th section to obtain the small-scale interpolation result.

S52、将所述小尺度插补结果和与指定时间段对应的异常值剔除处理后的通量数据进行合并,形成过程插补通量数据集,并提取过程插补通量数据集中任一段缺失的数据的缺失特征。S52. Merge the small-scale interpolation results and the flux data after outlier removal processing corresponding to the specified time period to form a process interpolation flux data set, and extract any missing segment in the process interpolation flux data set. missing features of the data.

S53、基于过程插补通量数据集中任一段缺失的数据的缺失特征,和所述修正处理后的气象数据,对该段缺失的数据进行插补,得到插补结果。S53. Based on the missing characteristics of any segment of missing data in the process interpolation flux data set and the corrected meteorological data, interpolate the missing data of the segment to obtain an interpolation result.

在实际应用中,所述S53具体包括:In practical applications, the S53 specifically includes:

S531、判断过程插补通量数据集中任一段缺失的数据的长度与T的比值是否大于0.06,若过程插补通量数据集中该段缺失的数据的长度大于0.06,则判断第二数值是否小于Q值,若第二数值大于等于Q值,则根据修正处理后的气象数据,采用大尺度插补方式对过程插补通量数据集中该段缺失的数据进行插补,得到大尺度插补结果,并将大尺度插补结果作为插补结果。S531. Determine whether the ratio of the length of any missing data segment in the process interpolation flux data set to T is greater than 0.06. If the length of the missing data segment in the process interpolation flux data set is greater than 0.06, determine whether the second value is less than Q value, if the second value is greater than or equal to the Q value, use the large-scale interpolation method to interpolate the missing data in this section of the process interpolation flux data set based on the corrected meteorological data to obtain the large-scale interpolation result. , and use the large-scale interpolation results as the interpolation results.

其中,所述第二数值为E;Wherein, the second numerical value is E;

E=插补通量数据集中任一段缺失的数据的长度/(插补通量数据集中该段缺失的数据的前向连续长度+插补通量数据集中该段缺失的数据的后向连续长度)。E=The length of any segment of missing data in the interpolation flux data set/(The forward continuous length of the missing data in the interpolation flux data set + The backward continuous length of the missing data in the interpolation flux data set ).

Q=4.17×(插补通量数据集中该段缺失的数据的前向连续长度+插补通量数据集中该段缺失的数据的后向连续长度)/0.06T。Q=4.17×(forward continuous length of the missing data in the interpolation flux data set + backward continuous length of the missing data in the interpolation flux data set)/0.06T.

碳水通量数据插补的方式可以分为大尺度插补方式和小尺度插补方式,具体而言,小尺度插补方式主要是对短时间缺失数据的插补方式,由于其占总数长度比重小,插补结果较为可信,小尺度插补结果会参与到后续迭代进行的小尺度插补以及最终的大尺度插补中去。大尺度插补方式主要针对较长时间缺失数据的插补,其插补可信度低于小尺度插补,故不能作为其他数据插补的依据。通过选择性使用大尺度插补方式和小尺度插补方式,可以提高插补结果整体的准确度和可信度。The methods of interpolating carbon and water flux data can be divided into large-scale interpolation methods and small-scale interpolation methods. Specifically, the small-scale interpolation method is mainly an interpolation method for short-term missing data. Due to its proportion in the total length Small, the interpolation results are more credible, and the small-scale interpolation results will participate in the subsequent iterations of small-scale interpolation and the final large-scale interpolation. The large-scale interpolation method is mainly aimed at the interpolation of missing data for a long time. Its imputation reliability is lower than that of small-scale interpolation, so it cannot be used as the basis for other data interpolation. By selectively using large-scale interpolation methods and small-scale interpolation methods, the overall accuracy and credibility of the interpolation results can be improved.

S532、若过程插补通量数据集中任一段缺失的数据的长度与T的比值小于等于0.06时,基于修正处理后的气象数据,采用小尺度插补方式,对过程插补通量数据集中该段缺失的数据进行插补,得到小尺度插补结果;或,当过程插补通量数据集中任一段缺失的数据的长度与T的比值大于等于0.06时,且第二数值小于Q值,则基于修正处理后的气象数据,采用小尺度插补方式,对过程插补通量数据集中该段缺失的数据进行插补,得到小尺度插补结果。S532. If the ratio of the length of any segment of missing data in the process interpolation flux data set to T is less than or equal to 0.06, use the small-scale interpolation method based on the corrected meteorological data to calculate the length of the missing data in the process interpolation flux data set. Interpolate the missing data in a segment to obtain a small-scale interpolation result; or, when the ratio of the length of any segment of missing data in the process interpolation flux data set to T is greater than or equal to 0.06, and the second value is less than the Q value, then Based on the corrected meteorological data, the small-scale interpolation method is used to interpolate the missing data in this section of the process interpolation flux data set, and the small-scale interpolation results are obtained.

S533、将小尺度插补结果和与过程插补通量数据集进行合并,形成新的过程插补通量数据集。S533. Merge the small-scale interpolation results with the process interpolation flux data set to form a new process interpolation flux data set.

S534、重复步骤S531-S533直至新的过程插补通量数据集中任一段缺失的数据的长度与T的比值大于0.06,且第二数值大于等于Q值,并根据修正处理后的气象数据,采用大尺度插补方式对新的过程插补通量数据集中该段缺失的数据进行插补,得到大尺度插补结果,并将大尺度插补结果作为插补结果。S534. Repeat steps S531-S533 until the ratio of the length of any segment of missing data in the new process interpolation flux data set to T is greater than 0.06, and the second value is greater than or equal to the Q value, and based on the corrected meteorological data, use The large-scale interpolation method interpolates the missing data in this section of the new process interpolation flux data set to obtain the large-scale interpolation result, and uses the large-scale interpolation result as the interpolation result.

本实施例中得到的插补结果用于评估生态系统或区域的碳收支状态,具体包括:The interpolation results obtained in this example are used to evaluate the carbon budget status of ecosystems or regions, specifically including:

利用插补结果,计算生态系统或区域的碳收支。通常采用碳通量平衡方法,通过计算单位面积固碳量和排碳量的差异来确定生态系统或区域的碳收支状态。单位面积固碳量和排碳量可以根据测定的通量数据进行计算,也可以使用模型和估算方法进行预测。Use the interpolation results to calculate the carbon budget of an ecosystem or region. The carbon flux balance method is usually used to determine the carbon budget status of an ecosystem or region by calculating the difference between carbon sequestration and carbon emissions per unit area. Carbon sequestration and carbon emissions per unit area can be calculated based on measured flux data, or predicted using models and estimation methods.

通过比较单位面积固碳量和排碳量的大小并考虑时间尺度,可以判断生态系统或区域的碳汇源强度。若单位面积固碳量大于排碳量,即表明生态系统或区域是一个碳汇,具有吸收和固定碳的能力,表示负碳汇。若单位面积排碳量大于固碳量,即表明生态系统或区域是一个碳源,具有排放碳的能力,表示正碳源。碳汇源强度的值可以用来衡量生态系统或区域的碳吸收或排放能力的强弱。By comparing the amount of carbon sequestered and emitted per unit area and considering the time scale, the intensity of the carbon sink source of an ecosystem or region can be judged. If the amount of carbon sequestered per unit area is greater than the amount of carbon emitted, it means that the ecosystem or region is a carbon sink and has the ability to absorb and fix carbon, indicating a negative carbon sink. If the amount of carbon emitted per unit area is greater than the amount of carbon sequestered, it means that the ecosystem or region is a carbon source and has the ability to emit carbon, indicating a positive carbon source. The value of carbon sink source intensity can be used to measure the carbon absorption or emission capacity of an ecosystem or region.

本实施例中的一种碳水通量数据插补的方法,由于提取与指定时间段对应的异常值剔除处理后的通量数据中任一段缺失的数据的缺失特征,并基于任一段缺失的数据的缺失特征和所述修正处理后的气象数据,对该段缺失的数据进行插补,得到插补结果,因此,采用本实施例中的一种碳水通量数据插补的方法提高插补结果的准确性。A carbohydrate flux data interpolation method in this embodiment extracts outliers corresponding to the specified time period and removes the missing characteristics of any missing data in any section of the processed flux data, and based on any section of missing data The missing features and the corrected meteorological data are used to interpolate the missing data of this section to obtain the interpolation result. Therefore, a carbon water flux data interpolation method in this embodiment is used to improve the interpolation result. accuracy.

参见图2,本实施例中,还提供一种碳水通量数据插补的装置,包括:至少一个处理器;以及与所述处理器通信连接的至少一个存储器,其中,所述存储器存储有可被所述处理器执行的程序指令,所述处理器调用所述程序指令能够执行如上述实施例中的一种碳水通量数据插补的方法。Referring to Figure 2, in this embodiment, a device for carbohydrate flux data interpolation is also provided, including: at least one processor; and at least one memory communicatively connected to the processor, wherein the memory stores information that can be The program instructions executed by the processor can execute a carbohydrate flux data interpolation method as in the above embodiment by calling the program instructions.

在本发明的描述中,需要理解的是,术语“第一”、“第二”仅用于描述目的,而不能理解为指示或暗示相对重要性或者隐含指明所指示的技术特征的数量。由此,限定有“第一”、“第二”的特征可以明示或者隐含地包括一个或者更多个该特征。在本发明的描述中,“多个”的含义是两个或两个以上,除非另有明确具体的限定。In the description of the present invention, it should be understood that the terms "first" and "second" are only used for descriptive purposes and cannot be understood as indicating or implying relative importance or implicitly indicating the number of indicated technical features. Therefore, features defined as "first" and "second" may explicitly or implicitly include one or more of these features. In the description of the present invention, "plurality" means two or more than two, unless otherwise explicitly and specifically limited.

在本发明中,除非另有明确的规定和限定,术语“安装”、“相连”、“连接”、“固定”等术语应做广义理解,例如,可以是固定连接,也可以是可拆卸连接,或成一体;可以是机械连接,也可以是电连接;可以是直接相连,也可以通过中间媒介间接相连;可以是两个元件内部的连通或两个元件的相互作用关系。对于本领域的普通技术人员而言,可以根据具体情况理解上述术语在本发明中的具体含义。In the present invention, unless otherwise clearly stated and limited, the terms "installation", "connection", "connection", "fixing" and other terms should be understood in a broad sense. For example, it can be a fixed connection or a detachable connection. , or integrated; it can be a mechanical connection or an electrical connection; it can be a direct connection or an indirect connection through an intermediate medium; it can be an internal connection between two elements or an interaction between two elements. For those of ordinary skill in the art, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

在本发明中,除非另有明确的规定和限定,第一特征在第二特征“上”或“下”,可以是第一和第二特征直接接触,或第一和第二特征通过中间媒介间接接触。而且,第一特征在第二特征“之上”、“上方”和“上面”,可以是第一特征在第二特征正上方或斜上方,或仅仅表示第一特征水平高度高于第二特征。第一特征在第二特征“之下”、“下方”和“下面”,可以是第一特征在第二特征正下方或斜下方,或仅仅表示第一特征水平高度低于第二特征。In the present invention, unless otherwise expressly stated and limited, a first feature is "on" or "below" a second feature, which may mean that the first and second features are in direct contact, or the first and second features are in direct contact through an intermediary. indirect contact. Furthermore, the terms "above", "above" and "above" the second feature may mean that the first feature is directly above or diagonally above the second feature, or simply means that the first feature is higher in level than the second feature. . The first feature being "below", "below" and "under" the second feature may mean that the first feature is directly below or diagonally below the second feature, or simply means that the first feature is lower in level than the second feature.

在本说明书的描述中,术语“一个实施例”、“一些实施例”、“实施例”、“示例”、“具体示例”或“一些示例”等的描述,是指结合该实施例或示例描述的具体特征、结构、材料或者特点包含于本发明的至少一个实施例或示例中。在本说明书中,对上述术语的示意性表述不必须针对的是相同的实施例或示例。而且,描述的具体特征、结构、材料或者特点可以在任一个或多个实施例或示例中以合适的方式结合。此外,在不相互矛盾的情况下,本领域的技术人员可以将本说明书中描述的不同实施例或示例以及不同实施例或示例的特征进行结合和组合。In the description of this specification, the terms "one embodiment", "some embodiments", "embodiments", "examples", "specific examples" or "some examples", etc., refer to the description in conjunction with the embodiment or example. A specific feature, structure, material, or characteristic described is included in at least one embodiment or example of the invention. In this specification, the schematic expressions of the above terms are not necessarily directed to the same embodiment or example. Furthermore, the specific features, structures, materials or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, those skilled in the art may combine and combine different embodiments or examples and features of different embodiments or examples described in this specification unless they are inconsistent with each other.

尽管上面已经示出和描述了本发明的实施例,可以理解的是,上述实施例是示例性的,不能理解为对本发明的限制,本领域的普通技术人员在本发明的范围内可以对上述实施例进行改动、修改、替换和变型。Although the embodiments of the present invention have been shown and described above, it can be understood that the above-mentioned embodiments are illustrative and should not be construed as limitations of the present invention. Those of ordinary skill in the art can make modifications to the above-mentioned embodiments within the scope of the present invention. The embodiments are subject to alterations, modifications, substitutions and variations.

Claims (10)

1. A method of interpolating a carbon flux data, comprising:
s1, acquiring flux data and meteorological data in a specified time period;
wherein the flux data in the designated time period comprises a plurality of pieces of water flux data which are sequentially arranged according to the sequence of the corresponding time stamps; each piece of carbohydrate flux data corresponds to a timestamp for collecting the carbohydrate flux data;
the meteorological data includes: saturated vapor pressure difference VPD value and radiation data of each minute in a specified time period; the radiation data includes: total radiation TR, incident short wave radiation SRIN, photosynthetically active radiation PAR;
s2, carrying out abnormal value elimination processing on the flux data to obtain flux data subjected to abnormal value elimination processing corresponding to a specified time period;
s3, correcting the meteorological data to obtain corrected meteorological data;
s4, extracting missing features of any section of missing data in the flux data after the abnormal value elimination processing corresponding to the designated time period;
s5, interpolating the missing data of any segment based on the missing features of the missing data and the meteorological data after correction processing to obtain an interpolation result.
2. The method of interpolating a carbohydrate flux data according to claim 1, wherein S2 specifically comprises:
s21, eliminating the carbon water flux data meeting any abnormal value condition in flux data in a specified time period to obtain initial flux data;
the outlier condition includes:
carbon dioxide flux values in the carbon water flux data are greater than or equal to 100 μmol/m 2 /s;
Carbon dioxide flux values in the carbon water flux data are less than or equal to-50 μmol/m 2 /s;
S22, judging whether the quality grade in the initial flux data is greater than 2, if so, eliminating all the water flux data with the quality grade of 7, 8 or 9 in the initial flux data to obtain flux data subjected to abnormal value elimination processing;
if the abnormal value is not found, eliminating all the water flux data with the quality score of 2 in the initial flux data to obtain flux data after abnormal value elimination treatment.
3. The method of interpolating carbohydrate flux data according to claim 2, wherein the correcting process for the meteorological data in S3 specifically includes:
s31, judging whether the saturated vapor pressure difference VPD value of each minute in the meteorological data in the specified time period meets a preset range, and if not, acquiring a new saturated vapor pressure difference VPD value corresponding to the minute by adopting a formula I;
the first formula is:
wherein,
wherein P is the air pressure value in the minute meteorological data;
T 0 air temperature values in the minute weather data;
RH is the relative humidity corresponding to the minute meteorological data;
s32, calculating sunrise and sunset time according to site position information, so as to extract night radiation data Rg in the radiation data, judging whether the night radiation data Rg meet preset conditions, and if the night radiation data Rg do not meet the preset conditions, updating the night radiation data Rg according to a preset updating mode to obtain updated night radiation data Rg;
the night radiation data Rg includes: total radiation TR at night, incident short wave radiation SRIN at night, photosynthetically active radiation PAR at night;
the preset condition is that the total night radiation TR, the incident short wave radiation SRIN at night and the photosynthetically active radiation PAR at night in the night radiation data Rg are all more than or equal to 0.
4. A method of interpolating a carbon water flux data as claimed in claim 3, wherein the predetermined range is 0-50.
5. The method for interpolating carbohydrate flux data according to claim 4, wherein if said nocturnal radiation data Rg is not satisfied, updating said nocturnal radiation data Rg according to a predetermined updating manner, comprising:
if the night radiation data Rg is not satisfied, setting the value of the total night radiation TR and/or the incident short wave radiation SRIN and/or the photosynthetic active radiation PAR to be 0, and obtaining updated night radiation data Rg.
6. The method of interpolating a carbohydrate flux data according to claim 5, wherein S4 specifically comprises:
s41, extracting first flux data, last flux data and time stamps corresponding to the first flux data in the first data set, and forming a first time stamp sequence;
the first flux data is the carbon water flux data with the carbon dioxide flux value being null;
the first data set is flux data after abnormal value elimination processing corresponding to a specified time period;
s42, based on the first time stamp sequence, obtaining the difference value of subtracting the previous time stamp from the next time stamp in any two adjacent time stamps in the first time stamp sequence;
s43, obtaining a first time difference sequence delta T based on the difference value of subtracting the previous time stamp from the next time stamp in any two adjacent time stamps in the first time stamp sequence stp
ΔT stp ={ΔT stp 2-1 ,ΔT stp 3-2 ,…,ΔT stp c-(c-1) ,...,ΔT stp n-(n-1) };
Wherein DeltaT stp c-(c-1) C-1 th element in the first time difference sequence;
wherein T is c C-th timestamp of n total timestamps in the first sequence of timestamps;
s44, acquiring missing features of any section of missing data based on the first time difference sequence.
7. The method of interpolating a carbohydrate flux data according to claim 6, wherein S44 specifically includes:
s441, adding lengths of elements which are continuously adjacent in the first time difference sequence and have the value equal to 1 to obtain the length of N segments of missing data;
wherein the length of each element in the first time difference sequence is 1;
s442, adding lengths of elements which are continuously adjacent in the first time difference sequence and have the numerical value not equal to 1 to obtain total continuous lengths of N+1 sections;
s443, regarding the i-th continuous length of the N+1 continuous lengths as the forward continuous length Ts of the length of the i-th missing data of the length of the N missing data fi
A backward continuous length Ts of the length of the ith section missing data in the length of the N section missing data, which is the (i+1) th section continuous length in the N+1 section continuous lengths bi
Wherein the missing features include a length of missing data, a forward continuous length, a backward continuous length.
8. The method of interpolating a carbohydrate flux data according to claim 7, wherein S5 specifically comprises:
if Tm i When the ratio of the ratio to the T is greater than 0.06, judging whether the first value is smaller than the F value, if the first value is greater than or equal to the F valueAccording to the modified meteorological data, interpolation is carried out on the i-th missing data in a large-scale interpolation mode to obtain a large-scale interpolation result, and the large-scale interpolation result is used as an interpolation result;
Tm i the length of the data missing in the ith section in the length of the data missing in the N sections;
T st to specify the start of the time period, T ed For the end of a specified time period;
wherein the first value is W;
W=Tm i /(Ts fi +Ts bi );
F=4.17×(Ts fi +Ts bi )/0.06T。
9. the method of interpolating a carbohydrate flux data according to claim 8, wherein S5 further specifically comprises:
s51, if Tm i When the ratio of/T is less than or equal to 0.06, interpolating the i-th missing data by adopting a small-scale interpolation mode based on the meteorological data after correction processing to obtain a small-scale interpolation result; or, if Tm i When the ratio of/T is greater than or equal to 0.06 and the first value is smaller than the F value, correcting the processed meteorological data, and performing interpolation on the i-th missing data by adopting a small-scale interpolation mode to obtain a small-scale interpolation result;
s52, combining the small-scale interpolation result and the flux data subjected to outlier rejection processing corresponding to the specified time period to form a process interpolation flux data set, and extracting missing features of any section of missing data in the process interpolation flux data set;
s53, interpolating the missing data of any segment in the flux data set based on the missing feature of the missing data of the segment and the modified meteorological data to obtain an interpolation result.
10. The method of interpolating a carbohydrate flux data according to claim 8, wherein S53 specifically includes:
s531, judging whether the ratio of the length of any section of missing data in the process interpolation flux data set to T is greater than 0.06, if the length of the section of missing data in the process interpolation flux data set is greater than 0.06, judging whether the second value is smaller than the Q value, if the second value is greater than or equal to the Q value, interpolating the section of missing data in the process interpolation flux data set in a large-scale interpolation mode according to the modified meteorological data to obtain a large-scale interpolation result, and taking the large-scale interpolation result as the interpolation result;
wherein the second value is E;
e = length of any segment of missing data in the interpolated flux data/(forward continuous length of the segment of missing data in the interpolated flux data + backward continuous length of the segment of missing data in the interpolated flux data);
q=4.17× (forward continuous length of the segment of missing data in the interpolation flux data set+backward continuous length of the segment of missing data in the interpolation flux data set)/0.06T;
s532, if the ratio of the length of any section of missing data in the process interpolation flux data set to T is smaller than or equal to 0.06, based on the modified meteorological data, performing interpolation on the section of missing data in the process interpolation flux data set in a small-scale interpolation mode to obtain a small-scale interpolation result; or when the ratio of the length of any section of missing data in the process interpolation flux data set to T is more than or equal to 0.06 and the second value is less than the Q value, interpolating the section of missing data in the process interpolation flux data set by adopting a small-scale interpolation mode based on the modified meteorological data to obtain a small-scale interpolation result;
s533, combining the small-scale interpolation result with the process interpolation flux data set to form a new process interpolation flux data set;
s534, repeating the steps S531-S533 until the ratio of the length of any section of missing data in the new process interpolation flux data set to T is greater than 0.06, and the second value is greater than or equal to the Q value, and interpolating the section of missing data in the new process interpolation flux data set by adopting a large-scale interpolation mode according to the modified meteorological data to obtain a large-scale interpolation result, wherein the large-scale interpolation result is used as the interpolation result.
CN202311368619.3A 2023-10-20 2023-10-20 A method for interpolation of carbon and water flux data Active CN117609706B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311368619.3A CN117609706B (en) 2023-10-20 2023-10-20 A method for interpolation of carbon and water flux data

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311368619.3A CN117609706B (en) 2023-10-20 2023-10-20 A method for interpolation of carbon and water flux data

Publications (2)

Publication Number Publication Date
CN117609706A true CN117609706A (en) 2024-02-27
CN117609706B CN117609706B (en) 2024-06-04

Family

ID=89950442

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311368619.3A Active CN117609706B (en) 2023-10-20 2023-10-20 A method for interpolation of carbon and water flux data

Country Status (1)

Country Link
CN (1) CN117609706B (en)

Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010044618A (en) * 2008-08-13 2010-02-25 Hitachi Ltd Method for interpolating missing data, execution program therefor, and data collecting device
CN103513290A (en) * 2013-10-24 2014-01-15 环境保护部卫星环境应用中心 Regional terrestrial ecosystem respiratory monitoring method based on remote sensing
CN108984792A (en) * 2018-08-02 2018-12-11 中国科学院地理科学与资源研究所 Utilize the method for the eddy flux observation data of the not political reform interpolation ground ALPHA missing
CN109492708A (en) * 2018-11-30 2019-03-19 东北大学 Missing data interpolating method is detected in a kind of pipe leakage based on LS-KNN
CN109636069A (en) * 2019-01-29 2019-04-16 平安科技(深圳)有限公司 Data processing method, device, equipment and storage medium
WO2021179742A1 (en) * 2020-03-10 2021-09-16 中国科学院深圳先进技术研究院 Ozone missing data interpolation method, apparatus and device
CN113569972A (en) * 2021-08-03 2021-10-29 中国科学院地理科学与资源研究所 Meteorological data interpolation method, device, electronic device and storage medium
CN113658292A (en) * 2021-08-23 2021-11-16 平安国际智慧城市科技股份有限公司 Method, device and equipment for generating meteorological data color spot pattern and storage medium
CN115374091A (en) * 2021-05-20 2022-11-22 中国电力科学研究院有限公司 Distributed new energy output data quality improving method and system
CN115878603A (en) * 2022-12-27 2023-03-31 大连大学 Water quality missing data interpolation algorithm based on K nearest neighbor algorithm and GAN network
CN116502050A (en) * 2023-06-25 2023-07-28 中国农业科学院农业资源与农业区划研究所 Dynamic interpolation method and system for missing evapotranspiration observations at global flux sites
CN116541667A (en) * 2023-06-29 2023-08-04 厦门大学 A method and system for interpolating missing values of buoy time series data
CN116756495A (en) * 2023-05-18 2023-09-15 中山大学 A new eddy covariance net ecosystem exchange volume data interpolation method
CN116756494A (en) * 2023-08-22 2023-09-15 之江实验室 Data outlier processing method, apparatus, computer device, and readable storage medium

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2010044618A (en) * 2008-08-13 2010-02-25 Hitachi Ltd Method for interpolating missing data, execution program therefor, and data collecting device
CN103513290A (en) * 2013-10-24 2014-01-15 环境保护部卫星环境应用中心 Regional terrestrial ecosystem respiratory monitoring method based on remote sensing
CN108984792A (en) * 2018-08-02 2018-12-11 中国科学院地理科学与资源研究所 Utilize the method for the eddy flux observation data of the not political reform interpolation ground ALPHA missing
CN109492708A (en) * 2018-11-30 2019-03-19 东北大学 Missing data interpolating method is detected in a kind of pipe leakage based on LS-KNN
CN109636069A (en) * 2019-01-29 2019-04-16 平安科技(深圳)有限公司 Data processing method, device, equipment and storage medium
WO2021179742A1 (en) * 2020-03-10 2021-09-16 中国科学院深圳先进技术研究院 Ozone missing data interpolation method, apparatus and device
CN115374091A (en) * 2021-05-20 2022-11-22 中国电力科学研究院有限公司 Distributed new energy output data quality improving method and system
CN113569972A (en) * 2021-08-03 2021-10-29 中国科学院地理科学与资源研究所 Meteorological data interpolation method, device, electronic device and storage medium
CN113658292A (en) * 2021-08-23 2021-11-16 平安国际智慧城市科技股份有限公司 Method, device and equipment for generating meteorological data color spot pattern and storage medium
CN115878603A (en) * 2022-12-27 2023-03-31 大连大学 Water quality missing data interpolation algorithm based on K nearest neighbor algorithm and GAN network
CN116756495A (en) * 2023-05-18 2023-09-15 中山大学 A new eddy covariance net ecosystem exchange volume data interpolation method
CN116502050A (en) * 2023-06-25 2023-07-28 中国农业科学院农业资源与农业区划研究所 Dynamic interpolation method and system for missing evapotranspiration observations at global flux sites
CN116541667A (en) * 2023-06-29 2023-08-04 厦门大学 A method and system for interpolating missing values of buoy time series data
CN116756494A (en) * 2023-08-22 2023-09-15 之江实验室 Data outlier processing method, apparatus, computer device, and readable storage medium

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
N. A. WAHIR 等: "Treatment of Outliers via Interpolation Method with Neural Network Forecast Performances", 123 IOP CONF. SERIES: JOURNAL OF PHYSICS: CONF. SERIES, 31 December 2018 (2018-12-31), pages 1 - 7 *
徐小军;周国模;杜华强;施拥军;周宇峰;: "缺失数据插补方法及其参数估计窗口大小对毛竹林CO_2通量估算的影响", 林业科学, vol. 51, no. 09, 15 September 2015 (2015-09-15), pages 141 - 149 *
胡宇科: "会同杉木林蒸散特征及不同估算方法不确定性研究", 中国优秀硕士学位论文全文数据库 农业科技辑, 15 February 2023 (2023-02-15), pages 049 - 303 *

Also Published As

Publication number Publication date
CN117609706B (en) 2024-06-04

Similar Documents

Publication Publication Date Title
CN111401686A (en) Method and device for monitoring dust condition of air-cooled cooling fins
CN113431667B (en) SCR robustness control method and device
CN117609706A (en) Method for interpolating data of carbon water flux
CN111931132B (en) Flue gas NOX concentration abnormal value processing method based on standard deviation and median absolute deviation
CN109858638B (en) Method and device for constructing equipment energy efficiency curve, readable medium and electronic equipment
CN116306026A (en) Wind energy resource assessment method, device and storage medium for complex terrain
CN107238442B (en) Without the detector thermometric method for regulating temperature of temperature stabilizer
CN111047083B (en) Processing method of stepping type vorticity covariance observation data
CN106153198A (en) A kind of interframe registration asymmetric correction method based on temporal high pass filter
CN108984792B (en) A method of interpolating missing eddy flux observation data on the ground by using ALPHA invariant method
CN117313014B (en) Real-time monitoring and early warning method for abnormal energy consumption data of kiln operation
Nygård et al. Combined degradation and soiling with validation against independent soiling station measurements
JP5814761B2 (en) CO2 concentration baseline correction apparatus and method
CN114707101B (en) Evapotranspiration estimation method, device and electronic equipment
CN116186560B (en) Temperature similarity characterization method based on effective thermodynamic temperature value
CN105701360A (en) Arid region carbon flux estimation method based on box type method and taking precipitation influence into consideration
CN109145258B (en) Confidence Interval Estimation Method for Weibull Distribution Parameters Based on Nonlinear Fitting
CN104331495B (en) A kind of data compression method
CN115734089B (en) Method and system for correcting dark current of semiconductor photoelectric sensor
WO2024066883A1 (en) Battery capacity estimation method, electronic device and storage medium
CN113390436A (en) Verification system, method and medium for video ranging device of wind generating set
CN118758354A (en) A method and system for correcting deviation of observation data of a discardable temperature and depth instrument
CN118739439B (en) Method, system and device for determining output performance of wind turbine generator
CN118395354B (en) Seasonal frozen soil monitoring method based on sensing technology
CN119149981B (en) Aquaculture environment monitoring method based on Internet of Things technology

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