Loading matlab/src/classes/@MatMust/MatMust.m +1 −1 Original line number Diff line number Diff line Loading @@ -24,7 +24,7 @@ classdef MatMust < handle % Initialize the values obj.POSToptions = weboptions('RequestMethod', 'POST', 'ArrayFormat', 'json', 'Timeout',180, 'MediaType','application/json'); obj.GEToptions = weboptions('RequestMethod', 'GET', 'ArrayFormat', 'repeating', 'Timeout',180, 'MediaType','application/x-www-form-urlencoded'); obj.url = 'https://bepicolombo.esac.esa.int/webclient-must/'; obj.url = 'https://bepicolombo.esac.esa.int/ng-webmust/'; obj.urlsub = 'mustlink/'; obj.tockenfilename = 'auth.json'; obj.loginstatus = false; Loading matlab/test/classes/@MatMust/MatMust.m +1 −1 Original line number Diff line number Diff line Loading @@ -24,7 +24,7 @@ classdef MatMust < handle % Initialize the values obj.POSToptions = weboptions('RequestMethod', 'POST', 'ArrayFormat', 'json', 'Timeout',180, 'MediaType','application/json'); obj.GEToptions = weboptions('RequestMethod', 'GET', 'ArrayFormat', 'repeating', 'Timeout',180, 'MediaType','application/x-www-form-urlencoded'); obj.url = 'https://bepicolombo.esac.esa.int/webclient-must/'; obj.url = 'https://bepicolombo.esac.esa.int/ng-webmust/'; obj.urlsub = 'mustlink/'; obj.tockenfilename = 'auth.json'; obj.loginstatus = false; Loading matlab/test/test.m +19 −11 Original line number Diff line number Diff line Loading @@ -29,18 +29,26 @@ proj_list = M.MatMust_getUserLinkedProjects('dump'); %%% % with output: % +++++++++++++ PROJECTS LIST +++++++++++++ % name: BEPITEST % description: Test Database for Instruments Team % id: 8 % name: Profiles % description: Profiles Project % id: 5 % +++++++++++++++++ % name: BEPIMAGNETIC % description: Magnetic Test Project % id: 1 % +++++++++++++++++ % name: BEPICOMM % description: LEOP and Commissioning Phase % id: 7 % +++++++++++++++++ % [...] % +++++++++++++++++ % name: BEPICRUISE % description: BepiColombo Cruise Phase % id: 9 % name: BEPI % description: Test % id: 10 % +++++++++++++++++ act_proj = 'BEPICRUISE'; act_proj = 'BEPI'; dataStart = '2018-11-26 13:00:00'; dataStop = '2018-11-26 13:40:00'; Loading @@ -48,16 +56,16 @@ dataStop = '2018-11-26 13:40:00'; % for info type "help MatMust_getDataFromName" % MatMust_getDataFromName(obj, ds, parname, dateStart, dateStop, options ) data = M.MatMust_getDataFromName('BEPICRUISE', 'NSA03016', dataStart, dataStop); data = M.MatMust_getDataFromName(act_proj, 'NSA03016', dataStart, dataStop); % or if you want to plot data = M.MatMust_getDataFromName('BEPICRUISE', 'NSA03016', dataStart, dataStop, 'plot'); data = M.MatMust_getDataFromName(act_proj, 'NSA03016', dataStart, dataStop, 'plot'); %search a mnemonic in data = M.MatMust_searchTMparFromName('Est sc ang rate', act_proj,'dump','Description'); %you can get more than a variable a time data = M.MatMust_getDataFromName('BEPICRUISE', {'NCAD09A1','NCAD09A2','NCAD09A3'}, dataStart , dataStop, 'plot'); data = M.MatMust_getDataFromName(act_proj, {'NCAD09A1','NCAD09A2','NCAD09A3'}, dataStart , dataStop, 'plot'); Loading
matlab/src/classes/@MatMust/MatMust.m +1 −1 Original line number Diff line number Diff line Loading @@ -24,7 +24,7 @@ classdef MatMust < handle % Initialize the values obj.POSToptions = weboptions('RequestMethod', 'POST', 'ArrayFormat', 'json', 'Timeout',180, 'MediaType','application/json'); obj.GEToptions = weboptions('RequestMethod', 'GET', 'ArrayFormat', 'repeating', 'Timeout',180, 'MediaType','application/x-www-form-urlencoded'); obj.url = 'https://bepicolombo.esac.esa.int/webclient-must/'; obj.url = 'https://bepicolombo.esac.esa.int/ng-webmust/'; obj.urlsub = 'mustlink/'; obj.tockenfilename = 'auth.json'; obj.loginstatus = false; Loading
matlab/test/classes/@MatMust/MatMust.m +1 −1 Original line number Diff line number Diff line Loading @@ -24,7 +24,7 @@ classdef MatMust < handle % Initialize the values obj.POSToptions = weboptions('RequestMethod', 'POST', 'ArrayFormat', 'json', 'Timeout',180, 'MediaType','application/json'); obj.GEToptions = weboptions('RequestMethod', 'GET', 'ArrayFormat', 'repeating', 'Timeout',180, 'MediaType','application/x-www-form-urlencoded'); obj.url = 'https://bepicolombo.esac.esa.int/webclient-must/'; obj.url = 'https://bepicolombo.esac.esa.int/ng-webmust/'; obj.urlsub = 'mustlink/'; obj.tockenfilename = 'auth.json'; obj.loginstatus = false; Loading
matlab/test/test.m +19 −11 Original line number Diff line number Diff line Loading @@ -29,18 +29,26 @@ proj_list = M.MatMust_getUserLinkedProjects('dump'); %%% % with output: % +++++++++++++ PROJECTS LIST +++++++++++++ % name: BEPITEST % description: Test Database for Instruments Team % id: 8 % name: Profiles % description: Profiles Project % id: 5 % +++++++++++++++++ % name: BEPIMAGNETIC % description: Magnetic Test Project % id: 1 % +++++++++++++++++ % name: BEPICOMM % description: LEOP and Commissioning Phase % id: 7 % +++++++++++++++++ % [...] % +++++++++++++++++ % name: BEPICRUISE % description: BepiColombo Cruise Phase % id: 9 % name: BEPI % description: Test % id: 10 % +++++++++++++++++ act_proj = 'BEPICRUISE'; act_proj = 'BEPI'; dataStart = '2018-11-26 13:00:00'; dataStop = '2018-11-26 13:40:00'; Loading @@ -48,16 +56,16 @@ dataStop = '2018-11-26 13:40:00'; % for info type "help MatMust_getDataFromName" % MatMust_getDataFromName(obj, ds, parname, dateStart, dateStop, options ) data = M.MatMust_getDataFromName('BEPICRUISE', 'NSA03016', dataStart, dataStop); data = M.MatMust_getDataFromName(act_proj, 'NSA03016', dataStart, dataStop); % or if you want to plot data = M.MatMust_getDataFromName('BEPICRUISE', 'NSA03016', dataStart, dataStop, 'plot'); data = M.MatMust_getDataFromName(act_proj, 'NSA03016', dataStart, dataStop, 'plot'); %search a mnemonic in data = M.MatMust_searchTMparFromName('Est sc ang rate', act_proj,'dump','Description'); %you can get more than a variable a time data = M.MatMust_getDataFromName('BEPICRUISE', {'NCAD09A1','NCAD09A2','NCAD09A3'}, dataStart , dataStop, 'plot'); data = M.MatMust_getDataFromName(act_proj, {'NCAD09A1','NCAD09A2','NCAD09A3'}, dataStart , dataStop, 'plot');