Skip to content

Commit b0b7da3

Browse files
authored
Merge pull request #8 from JamieMBright/v2.0-alpha-1
V2.0 alpha 1
2 parents 7778edd + 044ec8a commit b0b7da3

1 file changed

Lines changed: 10 additions & 0 deletions

File tree

SDSIG-spatio-temporal/utility/UserDefinedVariablesSafetyCheck.m

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,3 +72,13 @@
7272
if time_cloud_amount ~= time_pressure
7373
error('the pressure and cloud amount must align')
7474
end
75+
76+
% check that the temporay_files directory exists; if not, make it.
77+
if ~exist([home_dir,'supportingfiles',filesep,'temporary_files',filesep],'dir')
78+
mkdir([home_dir,'supportingfiles',filesep,'temporary_files',filesep]);
79+
end
80+
81+
% check that the output directory exists; if not, make it.
82+
if ~exist(['outputs',filesep],'dir')
83+
mkdir(['outputs',filesep]);
84+
end

0 commit comments

Comments
 (0)