Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
NearRealTimeCTDAS
CTDAS
Commits
b63b4a9a
Commit
b63b4a9a
authored
Nov 09, 2018
by
brunner
Browse files
No commit message
No commit message
parent
3bd7249d
Changes
1
Show whitespace changes
Inline
Side-by-side
da/tools/initexit.py
View file @
b63b4a9a
...
...
@@ -335,7 +335,7 @@ class CycleControl(dict):
# shutil.copy(os.path.join(self.dasystem['regionsfile']),os.path.join(self['dir.exec'],'da','analysis','copied_regions.nc'))
logging
.
info
(
'Copied regions file to the analysis directory: %s'
%
os
.
path
.
join
(
self
.
dasystem
[
'regionsfile'
]))
if
'extendedregionsfile'
in
self
.
dasystem
:
shutil
.
copy
(
os
.
path
.
join
(
self
.
dasystem
[
'extendedregionsfile'
]),
os
.
path
.
join
(
self
[
'dir.exec'
],
'da'
,
'analysis'
,
'copied_regions_extended.nc'
))
#
shutil.copy(os.path.join(self.dasystem['extendedregionsfile']),os.path.join(self['dir.exec'],'da','analysis','copied_regions_extended.nc'))
logging
.
info
(
'Copied extended regions file to the analysis directory: %s'
%
os
.
path
.
join
(
self
.
dasystem
[
'extendedregionsfile'
]))
else
:
shutil
.
copy
(
os
.
path
.
join
(
self
[
'dir.exec'
],
'da'
,
'analysis'
,
'olson_extended.nc'
),
os
.
path
.
join
(
self
[
'dir.exec'
],
'da'
,
'analysis'
,
'copied_regions_extended.nc'
))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment