Read-only mirror of https://github.com/MeteoSwiss/overlap_corr — MeteoSwiss. Issues & pull requests at the source.
  • MATLAB 75.2%
  • HTML 24.8%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
2022-05-06 09:43:37 +02:00
html Modif Scatter for Paper 2015-12-14 18:19:00 +01:00
.gitattributes :octocat: Added .gitattributes & .gitignore files 2015-12-02 15:18:02 +01:00
.gitignore Update .gitignore 2021-05-06 16:20:27 +02:00
all_correction.mat Modif Scatter for Paper 2015-12-14 18:19:00 +01:00
all_correction_0-20000-0-06784_TUB120011.mat add description on untilisation to README 2021-12-10 09:40:00 +01:00
all_correction_0-20008-0-BRN_TUB150046.mat Added Bern and Davos stations 2021-10-21 13:39:19 +02:00
all_correction_kse.mat Add sirta and New TUB for KSE 2018-01-22 14:47:51 +01:00
all_correction_kse_TUB120011.mat Add sirta and New TUB for KSE 2018-01-22 14:47:51 +01:00
all_correction_lindenberg.mat Add sirta and New TUB for KSE 2018-01-22 14:47:51 +01:00
all_correction_lindenberg2.mat Add sirta and New TUB for KSE 2018-01-22 14:47:51 +01:00
all_correction_pay.mat Add sirta and New TUB for KSE 2018-01-22 14:47:51 +01:00
all_correction_pay_TUB120011.mat Add sirta and New TUB for KSE 2018-01-22 14:47:51 +01:00
all_correction_pay_TUB140016.mat Add sirta and New TUB for KSE 2018-01-22 14:47:51 +01:00
all_correction_pay_TUB200009.mat Added Payerne correction TUB200009 and replaced in read_overlap_cor_v6_eprofile.m fit function by polyfit function. Polyfit doesn't need the curve fitting ToolBox. 2021-07-29 11:39:28 +02:00
all_correction_SIRTA_TUB140013.mat Add sirta and New TUB for KSE 2018-01-22 14:47:51 +01:00
AUTHORS enhance description and add license for making repo public 2022-02-18 14:59:34 +01:00
calculate_overlap_automatic_structured.m overlap correction routine added, as well as first version of analysis routine for kse 2015-12-16 10:39:15 +01:00
calculate_overlap_automatic_structured_2.m Update including E-PROF 2021-04-27 10:53:52 +02:00
correct_overlap.m Add sirta and New TUB for KSE 2018-01-22 14:47:51 +01:00
invariant_probability_distribution_silagadze.m A 3rd optional argument, "evenly_extend", has been added to the function 2016-03-18 13:42:52 +01:00
LICENSE enhance description and add license for making repo public 2022-02-18 14:59:34 +01:00
load_ceilo_and_overlap_data.m Update including E-PROF 2021-04-27 10:53:52 +02:00
local_maxima.m Add homogeneous layers on plots 2015-12-02 17:22:13 +01:00
patcher.m First modifs 2015-12-02 15:40:51 +01:00
plot_overlap_routine_ov_fct.m Update including E-PROF 2021-04-27 10:53:52 +02:00
plot_overlap_routine_RCS_GRADRCS.m Update including E-PROF 2021-04-27 10:53:52 +02:00
prefix_data_pay.m overlap correction routine added, as well as first version of analysis routine for kse 2015-12-16 10:39:15 +01:00
read_gradients.m Change date for fig 8 2018-01-22 14:47:51 +01:00
read_L1_EPROFILE_v4.m add reader for E-PROFILE level1 files 2022-03-02 11:58:00 +01:00
read_overlap_cor_v3.m Merge branch 'master' of bitbucket.org:hervo/overlap-correction 2016-03-10 15:01:19 +01:00
read_overlap_cor_v3_kse.m removed unnecessary code 2016-03-10 15:45:19 +01:00
read_overlap_cor_v4.m Update including E-PROF 2021-04-27 10:53:52 +02:00
read_overlap_cor_v5.m Update including E-PROF 2021-04-27 10:53:52 +02:00
read_overlap_cor_v6_eprofile.m add assistant for flagging outlier overlap functions (and Melpitz station) 2021-12-10 15:50:19 +01:00
readcorrectlyncfile3.m Update including E-PROF 2021-04-27 10:53:52 +02:00
README.md enhance description and add license for making repo public 2022-02-18 14:59:34 +01:00
script_overlap_routine.m Update including E-PROF 2021-04-27 10:53:52 +02:00
script_overlap_routine_v2.m Update including E-PROF 2021-04-27 10:53:52 +02:00
script_overlap_routine_v3_EPROF.m add assistant for flagging outlier overlap functions (and Melpitz station) 2021-12-10 15:50:19 +01:00
sgolay_smooth.m Original Commit 2015-12-02 15:20:15 +01:00
simplePBLdetection.m Add sirta and New TUB for KSE 2018-01-22 14:47:51 +01:00
TUB120011_20121112_1024.cfg overlap correction routine added, as well as first version of analysis routine for kse 2015-12-16 10:39:15 +01:00
ypcmap2.mat overlap correction routine added, as well as first version of analysis routine for kse 2015-12-16 10:39:15 +01:00

Overlap correction algorithm

Algorithms for inferring overlap correction for (CHM15k) ceilometers from atmospheric observations under well-mixed boundary layer conditions. Based on Hervo et al. 2016 (https://doi.org/10.5194/amt-9-2947-2016)

Content

  • Calculate overlap correction funtion ( script_overlap_routine_v2.m calling calculate_overlap_automatic_structured_2.m)
  • plot all results (read_overlap_cor_v5). Including:
  1. All daily overlap functions
  2. temperature model
  3. Impact on gradient and temperature model simple PBL detection
  • Gradient Analysis (read_gradient)

Detailed description of standard way of using

1. script_overlap_routine_v3_EPROF.m
	a. fill variables : 
		* stn: wigos-id
		* start_time/end_time: time period for which to calculate overlap correction
		* folder_data : location of E-PROFILE netCDF level 1 files   (NOTE: you'll prefer to transfer ncdf files directly on your machine to improve execution speed (locally ~12hours/1year of data))
		* folder_out :  output directory   (NOTE: prefer a local directory on your machine for speed)
	b. run script                              
2. read_overlap_cor_v6_eprofile.m
	a. fill variables:
		* station: wigos-id
		* folder_ncdata:  location of E-PROFILE netCDF level 1 files
		* folder_correction:  File path of the output created by script_overlap_routine_v3_EPROF.m in step 2)
		* folder_output: output directory  (NOTE: prefer a local directory for speed)
	b. If you are configuring a new station add a case in the station inputs switch. Then specify:
		* timerange of the correction files (in info.xxx) + timerange of daily correction visualization for actually testing the correction on measured profiles (in info_test.xxx).
		* optical module id (info.tub) and instrument serial number (info.chm). You'll find this information in daily netcdf files attributes.
	c. run script             
	d. filter bad quality overlap estimates
		* identify in plots bad quality dates by using the overlap function vs range plot (Figure 2: fig 4) and the dates indicated in the command line output
		* add these bad days to list_dates_bad_quality in the station switch
	e. run script again

Examples

Raw

![Raw](https://bitbucket.org/repo/zb4zbB/images/1504515377-PR2_grad_20140715_all_raw.png =50x50)

Corrected with model

![Model](https://bitbucket.org/repo/zb4zbB/images/3933804104-PR2_grad_20140715_all_model%20correction.png =50x50)