Skip to content
Snippets Groups Projects
Commit e98dbc0b authored by jacques.grelet_ird.fr's avatar jacques.grelet_ird.fr
Browse files

test de mise a dispo des variables et attributs NetCDF dans le workspace

parent 7b4b0326
No related branches found
No related tags found
No related merge requests found
...@@ -166,6 +166,15 @@ tsg.SSPS_WS_QC = nc{'SSPS_WS_QC'}(:); ...@@ -166,6 +166,15 @@ tsg.SSPS_WS_QC = nc{'SSPS_WS_QC'}(:);
tsg.SSPS_WS_ANALDATE = nc{'SSPS_WS_ANALDATE'}(:,:); tsg.SSPS_WS_ANALDATE = nc{'SSPS_WS_ANALDATE'}(:,:);
tsg.SSPS_WS_BOTTLE = nc{'SSPS_WS_BOTTLE'}(:,:); tsg.SSPS_WS_BOTTLE = nc{'SSPS_WS_BOTTLE'}(:,:);
v=var(nc);
for i=1:length(v)
assignin('base',char(ncnames(v{i})),nc{char(ncnames(v{i}))}(:));
end
a=att(nc);
for i=1:length(a)
assignin('base',char(ncnames(a{i})),nc{char(ncnames(a{i}))}(:));
end
% Save the data in the application GUI % Save the data in the application GUI
% ------------------------------------ % ------------------------------------
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment