DOI: 10.57760/sciencedb.space.01790
title: The code for analysis of data indicating wind and sea state features in wind scatterometer observations
title: The code for analysis of data indicating wind and sea state features in wind scatterometer observations

description: This code file set contains the four key code files for analyzing the data set indicating wind and sea state features in wind scatterometer observations. In the four files, one loads the data set and act as the main data stream control. Two are for the function for the analyzing results figure generating the Ku-band and C-band data from OSCAT-2, ASCAT-A and ASCAT-B, against wave information from buoy respectively. And the last one is a function for getting the wind speed binned parameter mean values in the set bin size. The specific function descriptions are as below: 1.    File name: “sea_state_vs_normalized_sig_diff.m”Specific processing: 1)   Load the data set;2)   Control the data processing flow include:a)     Analysis of gust wind in different form;b)     Analysis of gust wind in ratio form; c)     Analysis of wave age; d)     Analysis of significant wave;e)     Analysis of wave slope parameter.Inputs: The data set include scatterometer information and wave information.Outputs: The figures of the manuscript for scatterometer and wave information information.   2.      File name:“check_sea_state_para_KU_1.m”Specific processing:  The function analyzing of the Ku-band normalized NRCS with wave parameterand collocated rains.Inputs: 1) para: the wave parameter.2)nor_diff_sig_vv1Ku0_n: the differences of NRCS from observations and model values, normalized by the model values. This is for one of the two vv polarizations.3) nor_diff_sig_vv2Ku0_n: the differences of NRCS from observations and model values, normalized by the model values. This is for one of the two vv polarizations.4) nor_diff_sig_hh1Ku0_n: the differences of NRCS from observations and model values, normalized by the model values. This is for one of the two hh polarizations.5) nor_diff_sig_hh2Ku0_n: the differences of NRCS from observations and model values, normalized by the model values. This is for one of the two hh polarizations.6) obs_spd_para: the scatterometer wind speed with wave parameter collocations.7) rain_rate_para: the rain rate collocations.8) title_para: the title of the output figures for Ku-band observation inputs.9) para_name: the name of the parameter to label for the output figure.10) unit: the unit of the parameter to label for the output figure.11) min_vv_nor_x: the minimum of x-axis for the vv measurement figures.12) max_vv_nor_x: the maximum of x-axis for the vv measurement figures.13) min_vv_nor_y: the minimum of y-axis for the vv measurement figures.14) max_vv_nor_y: the maximum of y-axis for the vv measurement figures.15) min_hh_nor_x: the minimum of x-axis for the hh measurement figures.16) max_hh_nor_x: the maximum of x-axis for the hh measurement figures.17) min_hh_nor_y: the minimum of y-axis for the hh measurement figures.18) max_hh_nor_y: the maximum of y-axis for the hh measurement figures. Outputs: The resulting figures with color indicate wind speed and rain rate respectively.  File name: “check_sea_state_para_C_1.m”Specific processing: The function analyzing of the C-band normalized NRCS with wave parameterand collocated rains. Inputs:1)   para: the wave parameter.nor_diff_sig_vv1C0_n: the differences of NRCS from observations and model values, normalized by the model values. This is for one of the three C-band scatterometer observations.2)   nor_diff_sig_vv2C0_n: the differences of NRCS from observations and model values, normalized by the model values. This is for one of the three C-band scatterometer observations.3)   nor_diff_sig_vv3C0_n: the differences of NRCS from observations and model values, normalized by the model values. This is for one of the three C-band scatterometer observations.4)   obs_spd_para: the name of the parameter to label for the output figure.5)   rain_rate_para: the rain rate collocations.6)   title_para: the title of the output figures for Ku-band observation inputs.7)   para_name: the name of the parameter to label for the output figure.8)   Unit: the unit of the parameter to label for the output figure.9)   min_vv_nor_x: the minimum of x-axis of the measurement figures.10) max_vv_nor_x: the maximum of x-axis of the measurement figures.11) min_vv_nor_y: the minimum of y-axis of the measurement figures.12) max_vv_nor_y: the maximum of y-axis of the measurement figures. Outputs: The resulting figures with color indicate wind speed and rain rate respectively.  File name: “substract_mean_y_in_bin_x.m”Specific processing: substract mean value of y in bin of collocated x values.Inputs: 1) x: the x group of data2) y: the y group of data, collocated with x3) bin_size: the bin size of x data to obtain y means in each bin. Outputs: 1) y_new: the resulted y group minus the mean values of y binned by collocated x.2) mean_y_in_bin: the mean value of y in each bin determined by x values. 3) num_bin: number of elements of y in each bin.
description: This code file set contains the four key code files for analyzing the data set indicating wind and sea state features in wind scatterometer observations. In the four files, one loads the data set and act as the main data stream control. Two are for the function for the analyzing results figure generating the Ku-band and C-band data from OSCAT-2, ASCAT-A and ASCAT-B, against wave information from buoy respectively. And the last one is a function for getting the wind speed binned parameter mean values in the set bin size. The specific function descriptions are as below: 1.    File name: “sea_state_vs_normalized_sig_diff.m”Specific processing: 1)   Load the data set;2)   Control the data processing flow include:a)     Analysis of gust wind in different form;b)     Analysis of gust wind in ratio form; c)     Analysis of wave age; d)     Analysis of significant wave;e)     Analysis of wave slope parameter.Inputs: The data set include scatterometer information and wave information.Outputs: The figures of the manuscript for scatterometer and wave information information.   2.      File name:“check_sea_state_para_KU_1.m”Specific processing:  The function analyzing of the Ku-band normalized NRCS with wave parameterand collocated rains.Inputs: 1) para: the wave parameter.2)nor_diff_sig_vv1Ku0_n: the differences of NRCS from observations and model values, normalized by the model values. This is for one of the two vv polarizations.3) nor_diff_sig_vv2Ku0_n: the differences of NRCS from observations and model values, normalized by the model values. This is for one of the two vv polarizations.4) nor_diff_sig_hh1Ku0_n: the differences of NRCS from observations and model values, normalized by the model values. This is for one of the two hh polarizations.5) nor_diff_sig_hh2Ku0_n: the differences of NRCS from observations and model values, normalized by the model values. This is for one of the two hh polarizations.6) obs_spd_para: the scatterometer wind speed with wave parameter collocations.7) rain_rate_para: the rain rate collocations.8) title_para: the title of the output figures for Ku-band observation inputs.9) para_name: the name of the parameter to label for the output figure.10) unit: the unit of the parameter to label for the output figure.11) min_vv_nor_x: the minimum of x-axis for the vv measurement figures.12) max_vv_nor_x: the maximum of x-axis for the vv measurement figures.13) min_vv_nor_y: the minimum of y-axis for the vv measurement figures.14) max_vv_nor_y: the maximum of y-axis for the vv measurement figures.15) min_hh_nor_x: the minimum of x-axis for the hh measurement figures.16) max_hh_nor_x: the maximum of x-axis for the hh measurement figures.17) min_hh_nor_y: the minimum of y-axis for the hh measurement figures.18) max_hh_nor_y: the maximum of y-axis for the hh measurement figures. Outputs: The resulting figures with color indicate wind speed and rain rate respectively.  File name: “check_sea_state_para_C_1.m”Specific processing: The function analyzing of the C-band normalized NRCS with wave parameterand collocated rains. Inputs:1)   para: the wave parameter.nor_diff_sig_vv1C0_n: the differences of NRCS from observations and model values, normalized by the model values. This is for one of the three C-band scatterometer observations.2)   nor_diff_sig_vv2C0_n: the differences of NRCS from observations and model values, normalized by the model values. This is for one of the three C-band scatterometer observations.3)   nor_diff_sig_vv3C0_n: the differences of NRCS from observations and model values, normalized by the model values. This is for one of the three C-band scatterometer observations.4)   obs_spd_para: the name of the parameter to label for the output figure.5)   rain_rate_para: the rain rate collocations.6)   title_para: the title of the output figures for Ku-band observation inputs.7)   para_name: the name of the parameter to label for the output figure.8)   Unit: the unit of the parameter to label for the output figure.9)   min_vv_nor_x: the minimum of x-axis of the measurement figures.10) max_vv_nor_x: the maximum of x-axis of the measurement figures.11) min_vv_nor_y: the minimum of y-axis of the measurement figures.12) max_vv_nor_y: the maximum of y-axis of the measurement figures. Outputs: The resulting figures with color indicate wind speed and rain rate respectively.  File name: “substract_mean_y_in_bin_x.m”Specific processing: substract mean value of y in bin of collocated x values.Inputs: 1) x: the x group of data2) y: the y group of data, collocated with x3) bin_size: the bin size of x data to obtain y means in each bin. Outputs: 1) y_new: the resulted y group minus the mean values of y binned by collocated x.2) mean_y_in_bin: the mean value of y in each bin determined by x values. 3) num_bin: number of elements of y in each bin.