Skip to content

Commit

Permalink
extend list of tests to cover the grid_cs32.face00*.bin case
Browse files Browse the repository at this point in the history
  • Loading branch information
gaelforget committed Jan 11, 2017
1 parent b7720fb commit 77c5fe5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion gcmfaces_IO/grid_load_native.m
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,8 @@
tmp1=files(iFile).name;
%get face dimensions
if ~isempty(strfind(mygrid.dirGrid,'cs32_tutorial_held_suarez_cs'))|...
~isempty(strfind(mygrid.dirGrid,'GRIDcube'));%special case of cs32
~isempty(strfind(mygrid.dirGrid,'GRIDcube'))|...
~isempty(strfind(tmp1,'cs32'));%special case of cs32
ni=32; nj=32;
elseif strcmp(tmp1(end-2:end),'bin');%get face dimension from file name
tmp2=strfind(tmp1,'_');
Expand Down

0 comments on commit 77c5fe5

Please sign in to comment.