Skip to content

Commit

Permalink
merging squash
Browse files Browse the repository at this point in the history
  • Loading branch information
JonKing93 committed Mar 12, 2020
1 parent d99b9a8 commit b7b58e3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions 4. DA Analyses/@dash/regrid.m
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,10 @@
end
v = ensMeta.varCheck(varName);

if ensMeta.partialGrid(v)
error('Variable %s is not a complete grid thus cannot be regridded. (It may have been restricted to PSM indices).', varName);
end

% Get the metadata
meta = ensMeta.design.varMetadata;
meta = meta.(varName);
Expand Down

0 comments on commit b7b58e3

Please sign in to comment.