Main class of filter_option4.py
This method returns a dictionary of those values of dict_input, which don’t exceed the minValue-maxValue bound
Parameters: |
|
---|---|
Returns: | dictionary of those values of dict_input, which don’t exceed the minValue-maxValue bound, format dict[“station”][“YYYY-MM-DD hh:mm”] = float |
Return type: | dict |
This method returns a dictionary with statistical values in interval of 15 minutes
Parameters: |
|
---|---|
Returns: | dictionary with statistical values for one day, format dict[“station”][minute_of_day] = float |
Return type: | dict |
This method calculates a STD factor for all days between the dates specified in config.py and all times in dict_std STD factor is chosen from config.py depending on hourly Kp values and daily F10.7 values read with reader_ionodata.py
Parameters: |
|
---|---|
Returns: | dictionary with std factors, format dict[“station”][“YYYY-MM-DD hh:mm”] = float |
Return type: | dict |
This method calculates the bounds from median, std and std factors for all days specified in config.py
Parameters: |
|
---|---|
Returns: | dictionary with lower or upper bounds, format dict[“station”][“YYYY-MM-DD hh:mm”] = float |
Return type: | dict |
This method returns a dictionary of SciPy interpolation objects for each station
Parameters: | dict_input (dict) – dictionary, format dict[“station”][“YYYY-MM-DD hh:mm”] = float |
---|---|
Returns: | dictionary, format dict[“station”] = SciPy interpolation function with minute_of_year as input parameter |
Return type: | dict |
This method converts datetime string (“2014-12-31 23:59”) to minute of year
Parameters: | value_datetime (string) – datetime string, format “YYYY-MM-DD hh:mm” |
---|---|
Returns: | minute_of_year |
Return type: | int |
This method creates a file containing all outliers
Parameters: |
|
---|
This method creates png plots of hmF2/NmF2 values, median, lower and upper bounds
Parameters: |
|
---|
Main class of filter_scikit.py
This method returns a dictionary of those values of dict_input, which don’t exceed the minValue-maxValue bound
Parameters: |
|
---|---|
Returns: | dictionary of those values of dict_input, which don’t exceed the minValue-maxValue bound, format dict[“station”][“YYYY-MM-DD hh:mm”] = float |
Return type: | dict |
This method reshapes dictionaries to work with calc_filter_mcd_simple() and calc_filter_mcd_correlation()
Parameters: | dict_IS (dict) – dictionary of ionosonde data, format dict[“station”][“YYYY-MM-DD hh:mm”] = float |
---|---|
Returns: | dictionary of ionosonde data, format dict[“station”][minute_of_day (interval of 15 minutes)] = [“YYYY-MM-DD hh:mm”, float] |
Return type: | dict |
This method filters ionosonde data with sklearn.covariance, using only one ionosonde parameter
Parameters: | dict_fit (dict) – dictionary of ionosonde data, format dict[“station”][minute_of_day (interval of 15 minutes)] = [“YYYY-MM-DD hh:mm”, float] (output of fit_dict()) |
---|---|
Returns: | dictionary containing ionosonde data and boolean value (“Is this value an outlier?”), format dict[“station”][“YYYY-MM-DD hh:mm”] = [float, bool_outlier] |
Return type: | dict |
This method filters ionosonde data with sklearn.covariance, using both ionosonde parameters (NmF2 and hmF2)
Parameters: |
|
---|---|
Returns: | dictionary containing NmF2 and hmF2 and boolean value (“Is this value an outlier?”), format dict[“station”][“YYYY-MM-DD hh:mm”] = [float, float, bool_outlier] |
Return type: | dict |
This method returns the intersection of two objects and logs those elements, which are not in the intersection, meaning that they are no longer used
Parameters: |
|
---|---|
Returns: | set of the intersection of data_NmF2 and data_hmF2 |
Return type: | set |
This method extract NmF2/hmF2 values from the dictionary returned with calc_filter_mcd_correlation()
Parameters: |
|
---|---|
Returns: | dictionary containing NmF2 or hmF2 values and boolean values, format dict[“station”][“YYYY-MM-DD hh:mm”] = [float, bool_outlier] |
Return type: | dict |
This method creates a file containing all outliers
Parameters: |
|
---|
This method creates png plots of hmF2/NmF2 values and outliers
Parameters: |
|
---|
Main class of reader_ionodata.py
This method creates a dictionary of the files in config.path_input and returns it
The files should be in the format used with the DownloadClient:
# URSIC Station Name
# Lat:0.0 Lon:0.0
YYYY-MM-DD hh:mm value
Parameters: | param (string) – ionospheric parameter |
---|---|
Returns: | dictionary of ionosonde data, format dict[“station”][“YYYY-MM-DD hh:mm”] = float |
Return type: | dict |
This method reads foF2 files (using read_iono_data()), converts all values to NmF2 * 10^-12 and returns a dictionary of NmF2 data
Returns: | dictionary of NmF2 data, format dict[“station”][“YYYY-MM-DD hh:mm”] = float |
---|---|
Return type: | dict |
This method returns a dictionary of F10.7 values read from a file with the format:
YYYY-MM-DD hh:mm value
Returns: | dictionary of F10.7 data, format dict[“YYYY-MM-DD”] = float |
---|---|
Return type: | dict |