Skip to content

Instantly share code, notes, and snippets.

@vaivads
Last active December 17, 2015 09:49
Show Gist options
  • Save vaivads/5590198 to your computer and use it in GitHub Desktop.
Save vaivads/5590198 to your computer and use it in GitHub Desktop.
Find time intervals when there are EFW internal burst and WBD data
for ic=1:4,
% construct Cluster label: C1,C2...
Clab =['C' num2str(ic)];
% obtain time table of WBD data
TTWBD=caa_download(['listdata:' Clab '_CE_WBD_WAVEFORM_CDF']);
% obtain time table of EFW internal burst data
TTIB =caa_download( ['listdata:' Clab '_CP_EFW_L1_IB']);
% intersect time tables, do whatever needed with this time table
TT = intersect(TTWBD,TTIB);
% to save time list to IRF, uncomment next lines
%ttId = [Clab '_WBD_and_EFW_internal_burst'];
%irf.tt(TT,'write_IRF',ttId)
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment