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
d3c4158a
Commit
d3c4158a
authored
Nov 09, 2018
by
brunner
Browse files
No commit message
No commit message
parent
6a119a80
Changes
2
Hide whitespace changes
Inline
Side-by-side
da/rc/carbontracker_random.rc
View file @
d3c4158a
...
...
@@ -36,7 +36,7 @@ obs.sites.rc : ${obspack.input.dir}/summary/sites_weights_ctdas.rc
nparameters : 11
!random.seed : 4385
regionsfile : /store/empa/em05/parsenov/CTDAS/ctdas-py3/da/analysis/regions_ok.nc
extendedregionsfile : /store/empa/em05/parsenov/CTDAS/ctdas-py3/da/analysis/regions_ok.nc
!
extendedregionsfile : /store/empa/em05/parsenov/CTDAS/ctdas-py3/da/analysis/regions_ok.nc
!regionsfile : ${datadir}/covariances/gridded_NH/griddedNHparameters.nc
!random.seed.init: ${datadir}/randomseedinit.pickle
...
...
da/tools/initexit.py
View file @
d3c4158a
...
...
@@ -338,7 +338,7 @@ class CycleControl(dict):
# 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'
))
#
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'))
logging
.
info
(
'Copied extended regions within the analysis directory: %s'
%
os
.
path
.
join
(
self
[
'dir.exec'
],
'da'
,
'analysis'
,
'olson_extended.nc'
))
for
filename
in
glob
.
glob
(
os
.
path
.
join
(
self
[
'dir.exec'
],
'da'
,
'analysis'
,
'*.pickle'
)):
logging
.
info
(
'Deleting pickle file %s to make sure the correct regions are used'
%
os
.
path
.
split
(
filename
)[
1
])
...
...
Write
Preview
Supports
Markdown
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